@abgov/web-components 1.7.0 → 1.9.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.
@@ -1,165 +1,181 @@
1
1
  var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:var(--goa-font-family-sans);font-weight:400;font-size:var(--goa-font-size-4);color:var(--goa-color-text-default)}body{margin:0;scroll-behavior:smooth;line-height:var(--goa-line-height-2)}*,*:before,*:after{box-sizing:border-box}p{margin:0;margin-bottom:1rem}hr{border-width:0;border-top:1px solid #ccc;height:0;padding:0;margin:2rem 0}ul,ol{padding-left:0;padding-left:1rem}li>ul,li>ol,li>ul,li>ol{padding-left:0;margin-top:0}dl{margin-top:0}dd{margin-left:.5rem}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}::placeholder{color:#999;opacity:1}:-ms-input-placeholder{color:#999}::-ms-input-placeholder{color:#999}h1{font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}h2{font-size:var(--goa-font-size-9);line-height:var(--goa-line-height-6);font-weight:var(--goa-font-weight-regular)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4);font-weight:var(--goa-font-weight-regular)}h4,h5,h6{font-size:var(--goa-font-size-4);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-bold)}h3+h1{margin-top:-1rem}p{margin-bottom:1rem;font-size:var(--goa-font-size-4)}em{font-size:var(--goa-font-size-1);line-height:var(--goa-line-height-1);color:var(--goa-color-greyscale-200)}small{font-size:var(--goa-font-size-1);font-style:normal;color:var(--goa-color-greyscale-200)}goa-two-column-layout h1:first-of-type,goa-two-column-layout h2:first-of-type,goa-two-column-layout h3:first-of-type,goa-container h1:first-of-type,goa-container h2:first-of-type,goa-container h3:first-of-type{margin-top:0}goa-two-column-layout [slot=nav] a{display:block;padding:.5rem 0}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/l?subset_id=1&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/d?subset_id=1&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/a?subset_id=1&fvd=n4&v=3) format("opentype");font-style:normal;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/l?subset_id=1&fvd=i4&v=3) format("woff2"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/d?subset_id=1&fvd=i4&v=3) format("woff"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/a?subset_id=1&fvd=i4&v=3) format("opentype");font-style:italic;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/l?subset_id=1&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/d?subset_id=1&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/a?subset_id=1&fvd=n7&v=3) format("opentype");font-style:normal;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/l?subset_id=1&fvd=i7&v=3) format("woff2"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/d?subset_id=1&fvd=i7&v=3) format("woff"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/a?subset_id=1&fvd=i7&v=3) format("opentype");font-style:italic;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/l?subset_id=1&fvd=n6&v=3) format("woff2"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/d?subset_id=1&fvd=n6&v=3) format("woff"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/a?subset_id=1&fvd=n6&v=3) format("opentype");font-style:normal;font-weight:600}@font-face{font-family:roboto-mono;src:url(https://fonts.gstatic.com/s/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format("woff2");font-style:normal;font-weight:400}:root{--font-valign-fix: .1rem;--shadow-0: 0 0 rgba(0, 0, 0, 0);--shadow-1: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24);--shadow-2: 0 3px 6px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .12);--shadow-3: 0 10px 20px rgba(0, 0, 0, .15), 0 3px 6px rgba(0, 0, 0, .1);--shadow-4: 0 15px 25px rgba(0, 0, 0, .15), 0 5px 10px rgba(0, 0, 0, .05);--shadow-5: 0 20px 40px rgba(0, 0, 0, .2)}ol.goa-ordered-list li,ul.goa-unordered-list li{padding:var(--goa-space-xs)}ol.goa-ordered-list ol,ol.goa-ordered-list ul,ul.goa-unordered-list ol,ul.goa-unordered-list ul{margin-left:var(--goa-space-l)}ul.goa-unordered-list li::marker{color:var(--goa-color-brand-default)}:root{--goa-color-brand-default: #0081a2;--goa-color-brand-dark: #005072;--goa-color-brand-light: #c8eefa;--goa-color-interactive-default: #0070c4;--goa-color-interactive-hover: #004f84;--goa-color-interactive-error: #ec040b;--goa-color-interactive-focus: #feba35;--goa-color-interactive-disabled: #80b7e1;--goa-color-text-default: #333333;--goa-color-text-secondary: #666666;--goa-color-text-light: #ffffff;--goa-color-text-disabled: #666666;--goa-color-info-default: #005daa;--goa-color-info-light: #b2d4ed;--goa-color-info-dark: #00347a;--goa-color-info-background: #eff8ff;--goa-color-warning-default: #feba35;--goa-color-warning-light: #fcefd0;--goa-color-warning-dark: #c68a00;--goa-color-warning-background: #fff6e5;--goa-color-emergency-default: #ec040b;--goa-color-emergency-light: #ffcecf;--goa-color-emergency-dark: #b00000;--goa-color-emergency-background: #fff1f2;--goa-color-success-default: #00853f;--goa-color-success-light: #c6e0d0;--goa-color-success-dark: #005715;--goa-color-success-background: #eef9f3;--goa-color-greyscale-100: #f1f1f1;--goa-color-greyscale-200: #dcdcdc;--goa-color-greyscale-400: #adadad;--goa-color-greyscale-500: #949494;--goa-color-greyscale-600: #858585;--goa-color-greyscale-700: #666666;--goa-color-greyscale-black: #333333;--goa-color-greyscale-white: #ffffff;--goa-font-weight-regular: 400;--goa-font-weight-medium: 500;--goa-font-weight-bold: 700;--goa-font-size-1: .75rem;--goa-font-size-2: .875rem;--goa-font-size-3: 1rem;--goa-font-size-4: 1.125rem;--goa-font-size-5: 1.25rem;--goa-font-size-6: 1.375rem;--goa-font-size-7: 1.5rem;--goa-font-size-8: 2rem;--goa-font-size-9: 2.25rem;--goa-font-size-10: 3rem;--goa-space-none: 0rem;--goa-space-3xs: .125rem;--goa-space-2xs: .25rem;--goa-space-xs: .5rem;--goa-space-s: .75rem;--goa-space-m: 1rem;--goa-space-l: 1.5rem;--goa-space-xl: 2rem;--goa-space-2xl: 3rem;--goa-space-3xl: 4rem;--goa-space-4xl: 8rem;--goa-border-radius-none: 0rem;--goa-border-radius-m: .25rem;--goa-opacity-background-modal: 50%;--goa-opacity-background-loading: 90%;--goa-line-height-1: 1.25rem;--goa-line-height-2: 1.5rem;--goa-line-height-3: 1.75rem;--goa-line-height-4: 2rem;--goa-line-height-5: 2.5rem;--goa-line-height-6: 2.75rem;--goa-line-height-7: 3.5rem;--goa-line-height-05: 1.125rem;--goa-font-family-sans: acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-font-family-number: roboto-mono, monospace;--goa-typography-heading-xs: 700 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-s: 700 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-m: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-l: 400 2.25rem/2.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-xl: 700 3rem/3.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-xs: 400 .875rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-s: 400 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-m: 400 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-l: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-button-default: 400 1.125rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-number-m: 500 1.125rem/1.75rem roboto-mono, monospace;--goa-border-width-s: 1px;--goa-border-width-m: 2px;--goa-border-width-l: 3px;--goa-letter-spacing-button: .0125rem;--goa-icon-size-s: 1rem;--goa-icon-size-m: 1.25rem;--goa-icon-size-l: 1.5rem;--goa-shadow-modal: 6px 6px 6px 0px rgba(0,0,0,.16)}
2
- `;document.head.appendChild(__vite_style__);(function(me,x){typeof exports=="object"&&typeof module!="undefined"?x(exports):typeof define=="function"&&define.amd?define(["exports"],x):(me=typeof globalThis!="undefined"?globalThis:me||self,x(me["web-components"]={}))})(this,function(me){"use strict";function x(){}const De=i=>i;function ut(i,e){for(const t in e)i[t]=e[t];return i}function nt(i){return i()}function ft(){return Object.create(null)}function le(i){i.forEach(nt)}function ye(i){return typeof i=="function"}function O(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ge;function Ee(i,e){return Ge||(Ge=document.createElement("a")),Ge.href=e,i===Ge.href}function Ni(i){return Object.keys(i).length===0}function Di(i,...e){if(i==null)return x;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Hi(i,e,t){i.$$.on_destroy.push(Di(e,t))}function gt(i){return i&&ye(i.destroy)?i.destroy:x}const ht=typeof window!="undefined";let Ze=ht?()=>window.performance.now():()=>Date.now(),at=ht?i=>requestAnimationFrame(i):x;const ze=new Set;function mt(i){ze.forEach(e=>{e.c(i)||(ze.delete(e),e.f())}),ze.size!==0&&at(mt)}function Ye(i){let e;return ze.size===0&&at(mt),{promise:new Promise(t=>{ze.add(e={c:i,f:t})}),abort(){ze.delete(e)}}}function m(i,e){i.appendChild(e)}function bt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function ji(i){const e=b("style");return Ri(bt(i),e),e.sheet}function Ri(i,e){return m(i.head||i,e),e.sheet}function k(i,e,t){i.insertBefore(e,t||null)}function M(i){i.parentNode.removeChild(i)}function Ve(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function b(i){return document.createElement(i)}function we(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function V(i){return document.createTextNode(i)}function D(){return V(" ")}function _e(){return V("")}function Q(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function E(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function Si(i){return Array.from(i.childNodes)}function W(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function $(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function Z(i,e,t){i.classList[t?"add":"remove"](e)}function Oi(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}class Bi{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,r=null){this.e||(this.is_svg?this.e=we(t.nodeName):this.e=b(t.nodeName),this.t=t,this.c(e)),this.i(r)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)k(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(M)}}function P(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Fe=new Map;let qe=0;function Pi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Gi(i,e){const t={stylesheet:ji(e),rules:{}};return Fe.set(i,t),t}function Qe(i,e,t,r,n,l,a,o=0){const s=16.666/r;let c=`{
3
- `;for(let v=0;v<=1;v+=s){const w=e+(t-e)*l(v);c+=v*100+`%{${a(w,1-w)}}
4
- `}const d=c+`100% {${a(t,1-t)}}
5
- }`,f=`__svelte_${Pi(d)}_${o}`,h=bt(i),{stylesheet:p,rules:y}=Fe.get(h)||Gi(h,i);y[f]||(y[f]=!0,p.insertRule(`@keyframes ${f} ${d}`,p.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,qe+=1,f}function Ue(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),qe-=n,qe||Zi())}function Zi(){at(()=>{qe||(Fe.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&M(e)}),Fe.clear())})}let He;function je(i){He=i}function vt(){if(!He)throw new Error("Function called outside component initialization");return He}function q(i){vt().$$.on_mount.push(i)}function yt(i){vt().$$.on_destroy.push(i)}const Re=[],J=[],We=[],wt=[],_t=Promise.resolve();let ot=!1;function pt(){ot||(ot=!0,_t.then(g))}function fe(){return pt(),_t}function be(i){We.push(i)}const lt=new Set;let Ke=0;function g(){const i=He;do{for(;Ke<Re.length;){const e=Re[Ke];Ke++,je(e),Yi(e.$$)}for(je(null),Re.length=0,Ke=0;J.length;)J.pop()();for(let e=0;e<We.length;e+=1){const t=We[e];lt.has(t)||(lt.add(t),t())}We.length=0}while(Re.length);for(;wt.length;)wt.pop()();ot=!1,lt.clear(),je(i)}function Yi(i){if(i.fragment!==null){i.update(),le(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(be)}}let Se;function st(){return Se||(Se=Promise.resolve(),Se.then(()=>{Se=null})),Se}function ke(i,e,t){i.dispatchEvent(Oi(`${e?"intro":"outro"}${t}`))}const Xe=new Set;let ve;function Ce(){ve={r:0,c:[],p:ve}}function Me(){ve.r||le(ve.c),ve=ve.p}function K(i,e){i&&i.i&&(Xe.delete(i),i.i(e))}function te(i,e,t,r){if(i&&i.o){if(Xe.has(i))return;Xe.add(i),ve.c.push(()=>{Xe.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const ct={duration:0};function kt(i,e,t){let r=e(i,t),n=!1,l,a,o=0;function s(){l&&Ue(i,l)}function c(){const{delay:f=0,duration:h=300,easing:p=De,tick:y=x,css:_}=r||ct;_&&(l=Qe(i,0,1,h,f,p,_,o++)),y(0,1);const v=Ze()+f,w=v+h;a&&a.abort(),n=!0,be(()=>ke(i,!0,"start")),a=Ye(C=>{if(n){if(C>=w)return y(1,0),ke(i,!0,"end"),s(),n=!1;if(C>=v){const L=p((C-v)/h);y(L,1-L)}}return n})}let d=!1;return{start(){d||(d=!0,Ue(i),ye(r)?(r=r(),st().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function xt(i,e,t){let r=e(i,t),n=!0,l;const a=ve;a.r+=1;function o(){const{delay:s=0,duration:c=300,easing:d=De,tick:f=x,css:h}=r||ct;h&&(l=Qe(i,1,0,c,s,d,h));const p=Ze()+s,y=p+c;be(()=>ke(i,!1,"start")),Ye(_=>{if(n){if(_>=y)return f(0,1),ke(i,!1,"end"),--a.r||le(a.c),!1;if(_>=p){const v=d((_-p)/c);f(1-v,v)}}return n})}return ye(r)?st().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&Ue(i,l),n=!1)}}}function Je(i,e,t,r){let n=e(i,t),l=r?0:1,a=null,o=null,s=null;function c(){s&&Ue(i,s)}function d(h,p){const y=h.b-l;return p*=Math.abs(y),{a:l,b:h.b,d:y,duration:p,start:h.start,end:h.start+p,group:h.group}}function f(h){const{delay:p=0,duration:y=300,easing:_=De,tick:v=x,css:w}=n||ct,C={start:Ze()+p,b:h};h||(C.group=ve,ve.r+=1),a||o?o=C:(w&&(c(),s=Qe(i,l,h,y,p,_,w)),h&&v(0,1),a=d(C,y),be(()=>ke(i,h,"start")),Ye(L=>{if(o&&L>o.start&&(a=d(o,y),o=null,ke(i,a.b,"start"),w&&(c(),s=Qe(i,l,a.b,a.duration,0,_,n.css))),a){if(L>=a.end)v(l=a.b,1-l),ke(i,a.b,"end"),o||(a.b?c():--a.group.r||le(a.group.c)),a=null;else if(L>=a.start){const I=L-a.start;l=a.a+a.d*_(I/a.duration),v(l,1-l)}}return!!(a||o)}))}return{run(h){ye(n)?st().then(()=>{n=n(),f(h)}):f(h)},end(){c(),a=o=null}}}function Et(i,e){i.d(1),e.delete(i.key)}function zt(i,e,t,r,n,l,a,o,s,c,d,f){let h=i.length,p=l.length,y=h;const _={};for(;y--;)_[i[y].key]=y;const v=[],w=new Map,C=new Map;for(y=p;y--;){const T=f(n,l,y),A=t(T);let H=a.get(A);H?r&&H.p(T,e):(H=c(A,T),H.c()),w.set(A,v[y]=H),A in _&&C.set(A,Math.abs(y-_[A]))}const L=new Set,I=new Set;function z(T){K(T,1),T.m(o,d),a.set(T.key,T),d=T.first,p--}for(;h&&p;){const T=v[p-1],A=i[h-1],H=T.key,N=A.key;T===A?(d=T.first,h--,p--):w.has(N)?!a.has(H)||L.has(H)?z(T):I.has(N)?h--:C.get(H)>C.get(N)?(I.add(H),z(T)):(L.add(N),h--):(s(A,a),h--)}for(;h--;){const T=i[h];w.has(T.key)||s(T,a)}for(;p;)z(v[p-1]);return v}function ge(i){i&&i.c()}function ce(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||be(()=>{const a=i.$$.on_mount.map(nt).filter(ye);i.$$.on_destroy?i.$$.on_destroy.push(...a):le(a),i.$$.on_mount=[]}),l.forEach(be)}function de(i,e){const t=i.$$;t.fragment!==null&&(le(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Vi(i,e){i.$$.dirty[0]===-1&&(Re.push(i),pt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,n,l,a,o=[-1]){const s=He;je(i);const c=i.$$={fragment:null,ctx:[],props:l,update:x,not_equal:n,bound:ft(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:ft(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...p)=>{const y=p.length?p[0]:h;return c.ctx&&n(c.ctx[f],c.ctx[f]=y)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](y),d&&Vi(i,f)),h}):[],c.update(),d=!0,le(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Si(e.target);c.fragment&&c.fragment.l(f),f.forEach(M)}else c.fragment&&c.fragment.c();e.intro&&K(i.$$.fragment),ce(i,e.target,e.anchor,e.customElement),g()}je(s)}let B;typeof HTMLElement=="function"&&(B=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(nt).filter(ye);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){le(this.$$.on_disconnect)}$destroy(){de(this,1),this.$destroy=x}$on(i,e){if(!ye(e))return x;const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Ni(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var go="",ho="",mo="",bo="",vo="";const Fi={"0":"none","1":"3xs","2":"2xs","3":"xs","4":"s","5":"m","6":"l","7":"xl","8":"2xl","9":"3xl","10":"4xl"};function $e(i){return Number.isInteger(+i)?Fi[i]||"":i}function Y(i,e,t,r){return i=$e(i),t=$e(t),r=$e(r),e=$e(e),[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,r&&`margin-left:var(--goa-space-${r});`].join(" ")}function Ct(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(a=>`${a[0]}: ${a[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function F(i){return i==="false"?!1:i===""?!0:!!i}function qi(i){return i?"true":"false"}function et(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function ee(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Qi(i){let e,t,r,n,l,a,o,s,c,d,f,h,p,y,_,v,w,C,L,I,z,T;return{c(){e=b("div"),t=b("details"),r=b("summary"),n=b("goa-icon"),a=D(),o=b("div"),s=b("span"),c=V(i[0]),h=D(),p=b("span"),y=V(i[1]),_=D(),v=b("div"),v.innerHTML='<slot name="headingcontent"></slot>',C=D(),L=b("div"),L.innerHTML="<slot></slot>",this.c=x,E(n,"type","chevron-forward"),E(n,"fillcolor",l=i[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(s,"class",d="heading heading-"+i[2]),u(s,"data-testid",f=`${i[3]}-heading`),u(p,"class","secondary-text"),u(v,"class","heading-content"),u(o,"class","title"),u(r,"class",w=`container-${i[2]}`),u(L,"class","content"),t.open=i[9],u(e,"style",I=Y(i[4],i[5],i[6],i[7])),u(e,"class",`
2
+ `;document.head.appendChild(__vite_style__);(function(se,C){typeof exports=="object"&&typeof module!="undefined"?C(exports):typeof define=="function"&&define.amd?define(["exports"],C):(se=typeof globalThis!="undefined"?globalThis:se||self,C(se["web-components"]={}))})(this,function(se){"use strict";function C(){}const Ve=i=>i;function wt(i,e){for(const t in e)i[t]=e[t];return i}function st(i){return i()}function yt(){return Object.create(null)}function ae(i){i.forEach(st)}function ye(i){return typeof i=="function"}function O(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Fe;function Ee(i,e){return Fe||(Fe=document.createElement("a")),Fe.href=e,i===Fe.href}function Wi(i){return Object.keys(i).length===0}function Qi(i,...e){if(i==null)return C;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Ki(i,e,t){i.$$.on_destroy.push(Qi(e,t))}function ct(i){return i&&ye(i.destroy)?i.destroy:C}const pt=typeof window!="undefined";let Ye=pt?()=>window.performance.now():()=>Date.now(),dt=pt?i=>requestAnimationFrame(i):C;const Le=new Set;function _t(i){Le.forEach(e=>{e.c(i)||(Le.delete(e),e.f())}),Le.size!==0&&dt(_t)}function qe(i){let e;return Le.size===0&&dt(_t),{promise:new Promise(t=>{Le.add(e={c:i,f:t})}),abort(){Le.delete(e)}}}function m(i,e){i.appendChild(e)}function kt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Xi(i){const e=b("style");return Ji(kt(i),e),e.sheet}function Ji(i,e){return m(i.head||i,e),e.sheet}function k(i,e,t){i.insertBefore(e,t||null)}function E(i){i.parentNode.removeChild(i)}function He(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function b(i){return document.createElement(i)}function ke(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function B(i){return document.createTextNode(i)}function N(){return B(" ")}function pe(){return B("")}function q(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function x(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function $i(i){return Array.from(i.childNodes)}function U(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function J(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function F(i,e,t){i.classList[t?"add":"remove"](e)}function er(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function P(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ue=new Map;let We=0;function tr(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function ir(i,e){const t={stylesheet:Xi(e),rules:{}};return Ue.set(i,t),t}function Qe(i,e,t,r,n,o,a,l=0){const c=16.666/r;let s=`{
3
+ `;for(let v=0;v<=1;v+=c){const _=e+(t-e)*o(v);s+=v*100+`%{${a(_,1-_)}}
4
+ `}const d=s+`100% {${a(t,1-t)}}
5
+ }`,f=`__svelte_${tr(d)}_${l}`,h=kt(i),{stylesheet:w,rules:y}=Ue.get(h)||ir(h,i);y[f]||(y[f]=!0,w.insertRule(`@keyframes ${f} ${d}`,w.cssRules.length));const p=i.style.animation||"";return i.style.animation=`${p?`${p}, `:""}${f} ${r}ms linear ${n}ms 1 both`,We+=1,f}function Ke(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),We-=n,We||rr())}function rr(){dt(()=>{We||(Ue.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&E(e)}),Ue.clear())})}let Se;function Be(i){Se=i}function Ct(){if(!Se)throw new Error("Function called outside component initialization");return Se}function Q(i){Ct().$$.on_mount.push(i)}function Mt(i){Ct().$$.on_destroy.push(i)}const Oe=[],W=[],Xe=[],xt=[],zt=Promise.resolve();let ut=!1;function Et(){ut||(ut=!0,zt.then(g))}function me(){return Et(),zt}function be(i){Xe.push(i)}const ft=new Set;let Je=0;function g(){const i=Se;do{for(;Je<Oe.length;){const e=Oe[Je];Je++,Be(e),nr(e.$$)}for(Be(null),Oe.length=0,Je=0;W.length;)W.pop()();for(let e=0;e<Xe.length;e+=1){const t=Xe[e];ft.has(t)||(ft.add(t),t())}Xe.length=0}while(Oe.length);for(;xt.length;)xt.pop()();ut=!1,ft.clear(),Be(i)}function nr(i){if(i.fragment!==null){i.update(),ae(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(be)}}let Ze;function gt(){return Ze||(Ze=Promise.resolve(),Ze.then(()=>{Ze=null})),Ze}function Ce(i,e,t){i.dispatchEvent(er(`${e?"intro":"outro"}${t}`))}const $e=new Set;let ve;function Ae(){ve={r:0,c:[],p:ve}}function Te(){ve.r||ae(ve.c),ve=ve.p}function X(i,e){i&&i.i&&($e.delete(i),i.i(e))}function te(i,e,t,r){if(i&&i.o){if($e.has(i))return;$e.add(i),ve.c.push(()=>{$e.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const ht={duration:0};function Lt(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function c(){o&&Ke(i,o)}function s(){const{delay:f=0,duration:h=300,easing:w=Ve,tick:y=C,css:p}=r||ht;p&&(o=Qe(i,0,1,h,f,w,p,l++)),y(0,1);const v=Ye()+f,_=v+h;a&&a.abort(),n=!0,be(()=>Ce(i,!0,"start")),a=qe(z=>{if(n){if(z>=_)return y(1,0),Ce(i,!0,"end"),c(),n=!1;if(z>=v){const D=w((z-v)/h);y(D,1-D)}}return n})}let d=!1;return{start(){d||(d=!0,Ke(i),ye(r)?(r=r(),gt().then(s)):s())},invalidate(){d=!1},end(){n&&(c(),n=!1)}}}function Ht(i,e,t){let r=e(i,t),n=!0,o;const a=ve;a.r+=1;function l(){const{delay:c=0,duration:s=300,easing:d=Ve,tick:f=C,css:h}=r||ht;h&&(o=Qe(i,1,0,s,c,d,h));const w=Ye()+c,y=w+s;be(()=>Ce(i,!1,"start")),qe(p=>{if(n){if(p>=y)return f(0,1),Ce(i,!1,"end"),--a.r||ae(a.c),!1;if(p>=w){const v=d((p-w)/s);f(1-v,v)}}return n})}return ye(r)?gt().then(()=>{r=r(),l()}):l(),{end(c){c&&r.tick&&r.tick(1,0),n&&(o&&Ke(i,o),n=!1)}}}function et(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,c=null;function s(){c&&Ke(i,c)}function d(h,w){const y=h.b-o;return w*=Math.abs(y),{a:o,b:h.b,d:y,duration:w,start:h.start,end:h.start+w,group:h.group}}function f(h){const{delay:w=0,duration:y=300,easing:p=Ve,tick:v=C,css:_}=n||ht,z={start:Ye()+w,b:h};h||(z.group=ve,ve.r+=1),a||l?l=z:(_&&(s(),c=Qe(i,o,h,y,w,p,_)),h&&v(0,1),a=d(z,y),be(()=>Ce(i,h,"start")),qe(D=>{if(l&&D>l.start&&(a=d(l,y),l=null,Ce(i,a.b,"start"),_&&(s(),c=Qe(i,o,a.b,a.duration,0,p,n.css))),a){if(D>=a.end)v(o=a.b,1-o),Ce(i,a.b,"end"),l||(a.b?s():--a.group.r||ae(a.group.c)),a=null;else if(D>=a.start){const A=D-a.start;o=a.a+a.d*p(A/a.duration),v(o,1-o)}}return!!(a||l)}))}return{run(h){ye(n)?gt().then(()=>{n=n(),f(h)}):f(h)},end(){s(),a=l=null}}}function At(i,e){i.d(1),e.delete(i.key)}function Tt(i,e,t,r,n,o,a,l,c,s,d,f){let h=i.length,w=o.length,y=h;const p={};for(;y--;)p[i[y].key]=y;const v=[],_=new Map,z=new Map;for(y=w;y--;){const H=f(n,o,y),I=t(H);let T=a.get(I);T?r&&T.p(H,e):(T=s(I,H),T.c()),_.set(I,v[y]=T),I in p&&z.set(I,Math.abs(y-p[I]))}const D=new Set,A=new Set;function M(H){X(H,1),H.m(l,d),a.set(H.key,H),d=H.first,w--}for(;h&&w;){const H=v[w-1],I=i[h-1],T=H.key,L=I.key;H===I?(d=H.first,h--,w--):_.has(L)?!a.has(T)||D.has(T)?M(H):A.has(L)?h--:z.get(T)>z.get(L)?(A.add(T),M(H)):(D.add(L),h--):(c(I,a),h--)}for(;h--;){const H=i[h];_.has(H.key)||c(H,a)}for(;w;)M(v[w-1]);return v}function fe(i){i&&i.c()}function ce(i,e,t,r){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),r||be(()=>{const a=i.$$.on_mount.map(st).filter(ye);i.$$.on_destroy?i.$$.on_destroy.push(...a):ae(a),i.$$.on_mount=[]}),o.forEach(be)}function de(i,e){const t=i.$$;t.fragment!==null&&(ae(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function or(i,e){i.$$.dirty[0]===-1&&(Oe.push(i),Et(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,n,o,a,l=[-1]){const c=Se;Be(i);const s=i.$$={fragment:null,ctx:[],props:o,update:C,not_equal:n,bound:yt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:yt(),dirty:l,skip_bound:!1,root:e.target||c.$$.root};a&&a(s.root);let d=!1;if(s.ctx=t?t(i,e.props||{},(f,h,...w)=>{const y=w.length?w[0]:h;return s.ctx&&n(s.ctx[f],s.ctx[f]=y)&&(!s.skip_bound&&s.bound[f]&&s.bound[f](y),d&&or(i,f)),h}):[],s.update(),d=!0,ae(s.before_update),s.fragment=r?r(s.ctx):!1,e.target){if(e.hydrate){const f=$i(e.target);s.fragment&&s.fragment.l(f),f.forEach(E)}else s.fragment&&s.fragment.c();e.intro&&X(i.$$.fragment),ce(i,e.target,e.anchor,e.customElement),g()}Be(c)}let Z;typeof HTMLElement=="function"&&(Z=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(st).filter(ye);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ae(this.$$.on_disconnect)}$destroy(){de(this,1),this.$destroy=C}$on(i,e){if(!ye(e))return C;const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Wi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var Ga="",Fa="",Ya="",qa="",Ua="";const ar={"0":"none","1":"3xs","2":"2xs","3":"xs","4":"s","5":"m","6":"l","7":"xl","8":"2xl","9":"3xl","10":"4xl"};function tt(i){return Number.isInteger(+i)?ar[i]||"":i}function Y(i,e,t,r){return i=tt(i),t=tt(t),r=tt(r),e=tt(e),[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,r&&`margin-left:var(--goa-space-${r});`].join(" ")}function It(i,e,t,r){const n=document.createElement("style"),o=Object.entries(t).map(a=>`${a[0]}: ${a[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${o}} }`:n.innerHTML=`${e} {${o}}`,i.appendChild(n)}function K(i){return i==="false"?!1:i===""?!0:!!i}function lr(i){return i?"true":"false"}function it(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function $(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function sr(i){const e=["January","February","March","April","May","June","July","August","September","October","November","December"],t=i||new Date,r=t.getHours(),n=t.getMinutes(),o=t.getDate(),a=e[t.getMonth()],l=t.getFullYear(),c=r===0&&12||r>12&&r-12||r,s=r===0&&"AM"||r>=12&&"PM"||"AM",d=n<10&&`0${n}`||n,f=o%10==1&&o!==11&&"st"||o%10==2&&o!==12&&"nd"||o%10==3&&o!==13&&"rd"||"th";return`${a} ${o}${f} ${l}, ${c}:${d} ${s}`}function Ie(i,e){return e?`${i}: ${e}`:""}function cr(i){let e,t,r,n,o,a,l,c,s,d,f,h,w,y,p,v,_,z,D,A,M,H;return{c(){e=b("div"),t=b("details"),r=b("summary"),n=b("goa-icon"),a=N(),l=b("div"),c=b("span"),s=B(i[0]),h=N(),w=b("span"),y=B(i[1]),p=N(),v=b("div"),v.innerHTML='<slot name="headingcontent"></slot>',z=N(),D=b("div"),D.innerHTML="<slot></slot>",this.c=C,x(n,"type","chevron-forward"),x(n,"fillcolor",o=i[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(c,"class",d="heading heading-"+i[2]),u(c,"data-testid",f=`${i[3]}-heading`),u(w,"class","secondary-text"),u(v,"class","heading-content"),u(l,"class","title"),u(r,"class",_=`container-${i[2]}`),u(D,"class","content"),t.open=i[9],u(e,"style",A=Y(i[4],i[5],i[6],i[7])),u(e,"class",`
6
6
  goa-accordion
7
- `),u(e,"data-testid",i[3])},m(A,H){k(A,e,H),m(e,t),m(t,r),m(r,n),m(r,a),m(r,o),m(o,s),m(s,c),m(o,h),m(o,p),m(p,y),m(o,_),m(o,v),m(t,C),m(t,L),z||(T=[Q(r,"mouseover",i[11]),Q(r,"mouseout",i[12]),Q(r,"focus",i[13]),Q(r,"blur",i[14])],z=!0)},p(A,[H]){H&256&&l!==(l=A[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&E(n,"fillcolor",l),H&1&&W(c,A[0]),H&4&&d!==(d="heading heading-"+A[2])&&u(s,"class",d),H&8&&f!==(f=`${A[3]}-heading`)&&u(s,"data-testid",f),H&2&&W(y,A[1]),H&4&&w!==(w=`container-${A[2]}`)&&u(r,"class",w),H&512&&(t.open=A[9]),H&240&&I!==(I=Y(A[4],A[5],A[6],A[7]))&&u(e,"style",I),H&8&&u(e,"data-testid",A[3])},i:x,o:x,d(A){A&&M(e),z=!1,le(T)}}}function Ui(i,e,t){let r;const[n,l]=ee("Accordion heading size",["small","medium"]);let{open:a="false"}=e,{heading:o=""}=e,{secondarytext:s=""}=e,{headingsize:c="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:p="xs"}=e,{ml:y=null}=e,_=!1;q(()=>{et("GoAAccordion",{heading:o}),l(c)});const v=()=>t(8,_=!0),w=()=>t(8,_=!1),C=()=>t(8,_=!1),L=()=>t(8,_=!1);return i.$$set=I=>{"open"in I&&t(10,a=I.open),"heading"in I&&t(0,o=I.heading),"secondarytext"in I&&t(1,s=I.secondarytext),"headingsize"in I&&t(2,c=I.headingsize),"testid"in I&&t(3,d=I.testid),"mt"in I&&t(4,f=I.mt),"mr"in I&&t(5,h=I.mr),"mb"in I&&t(6,p=I.mb),"ml"in I&&t(7,y=I.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,r=F(a))},[o,s,c,d,f,h,p,y,_,r,a,v,w,C,L]}class Wi extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-accordion,.goa-accordion *{box-sizing:border-box}summary{min-height:3.5rem;border-width:var(--goa-border-width-s);border-style:solid;border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-text-default);;;padding:0.875rem 1rem 0 0;cursor:pointer;list-style:none;display:flex;align-items:flex-start;position:relative}summary.container-medium{min-height:4rem}summary::marker,summary::-webkit-details-marker{display:none}summary .title{display:flex;align-items:center;flex:1}.title span{padding-bottom:var(--goa-space-3xs, 0)}summary .heading{font:var(--goa-typography-heading-s);padding-right:1rem}summary .secondary-text{font:var(--goa-typography-body-s);line-height:1.5rem;padding-right:1rem}summary .heading-content{flex:1
8
- }.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ui,Qi,O,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",Wi);function Ki(i){let e,t,r,n,l,a,o,s,c;return{c(){e=b("div"),t=b("img"),n=D(),l=b("img"),o=D(),s=b("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ee(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,l),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0])},d(d){d&&M(e)}}}function Xi(i){let e,t,r,n,l,a,o,s,c;return{c(){e=b("a"),t=b("img"),n=D(),l=b("img"),o=D(),s=b("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ee(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,l),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&M(e)}}}function Ji(i){let e,t,r,n,l;function a(c,d){return c[1]?Xi:Ki}let o=a(i),s=o(i);return{c(){e=b("div"),t=b("div"),s.c(),r=D(),n=b("div"),n.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){k(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[d]){o===(o=a(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:x,o:x,d(c){c&&M(e),s.d()}}}function $i(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,n=o.url),"testid"in o&&t(2,l=o.testid),"maxcontentwidth"in o&&t(3,a=o.maxcontentwidth)},[r,n,l,a]}class er extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},$i,Ji,O,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",er);function tr(i){let e;return{c(){e=b("div"),$(e,"height","1.2rem"),$(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function ir(i){let e;return{c(){e=b("goa-icon"),E(e,"type",i[8]),E(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&256&&E(e,"type",t[8])},d(t){t&&M(e)}}}function Mt(i){let e,t;return{c(){e=b("div"),t=V(i[2]),u(e,"class","goa-badge-content")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&4&&W(t,r[2])},d(r){r&&M(e)}}}function rr(i){let e,t,r,n;function l(c,d){return c[7]?ir:tr}let a=l(i),o=a(i),s=i[2]&&Mt(i);return{c(){e=b("div"),o.c(),t=D(),s&&s.c(),this.c=x,u(e,"style",r=Y(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),Z(e,"icon-only",i[7]&&!i[2])},m(c,d){k(c,e,d),o.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){a===(a=l(c))&&o?o.p(c,d):(o.d(1),o=a(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,d):(s=Mt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=Y(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&Z(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&M(e),o.d(),s&&s.d()}}}function nr(i,e,t){let r,n;const[l,a]=ee("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:o}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:p=null}=e,{ml:y=null}=e;return q(()=>{a(o),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,o=_.type),"testid"in _&&t(1,s=_.testid),"content"in _&&t(2,c=_.content),"icon"in _&&t(9,d=_.icon),"mt"in _&&t(3,f=_.mt),"mr"in _&&t(4,h=_.mr),"mb"in _&&t(5,p=_.mb),"ml"in _&&t(6,y=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=F(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,s,c,f,h,p,y,r,n,d]}class ar extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},nr,rr,O,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",ar);function or(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
7
+ `),u(e,"data-testid",i[3])},m(I,T){k(I,e,T),m(e,t),m(t,r),m(r,n),m(r,a),m(r,l),m(l,c),m(c,s),m(l,h),m(l,w),m(w,y),m(l,p),m(l,v),m(t,z),m(t,D),M||(H=[q(r,"mouseover",i[11]),q(r,"mouseout",i[12]),q(r,"focus",i[13]),q(r,"blur",i[14])],M=!0)},p(I,[T]){T&256&&o!==(o=I[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&x(n,"fillcolor",o),T&1&&U(s,I[0]),T&4&&d!==(d="heading heading-"+I[2])&&u(c,"class",d),T&8&&f!==(f=`${I[3]}-heading`)&&u(c,"data-testid",f),T&2&&U(y,I[1]),T&4&&_!==(_=`container-${I[2]}`)&&u(r,"class",_),T&512&&(t.open=I[9]),T&240&&A!==(A=Y(I[4],I[5],I[6],I[7]))&&u(e,"style",A),T&8&&u(e,"data-testid",I[3])},i:C,o:C,d(I){I&&E(e),M=!1,ae(H)}}}function dr(i,e,t){let r;const[n,o]=$("Accordion heading size",["small","medium"]);let{open:a="false"}=e,{heading:l=""}=e,{secondarytext:c=""}=e,{headingsize:s="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:w="xs"}=e,{ml:y=null}=e,p=!1;Q(()=>{it("GoAAccordion",{heading:l}),o(s)});const v=()=>t(8,p=!0),_=()=>t(8,p=!1),z=()=>t(8,p=!1),D=()=>t(8,p=!1);return i.$$set=A=>{"open"in A&&t(10,a=A.open),"heading"in A&&t(0,l=A.heading),"secondarytext"in A&&t(1,c=A.secondarytext),"headingsize"in A&&t(2,s=A.headingsize),"testid"in A&&t(3,d=A.testid),"mt"in A&&t(4,f=A.mt),"mr"in A&&t(5,h=A.mr),"mb"in A&&t(6,w=A.mb),"ml"in A&&t(7,y=A.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,r=K(a))},[l,c,s,d,f,h,w,y,p,r,a,v,_,z,D]}class ur extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-accordion,.goa-accordion *{box-sizing:border-box}summary{min-height:3.5rem;border-width:var(--goa-border-width-s);border-style:solid;border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-text-default);;;padding:0.875rem 1rem 0 0;cursor:pointer;list-style:none;display:flex;align-items:flex-start;position:relative}summary.container-medium{min-height:4rem}summary::marker,summary::-webkit-details-marker{display:none}summary .title{display:flex;align-items:center;flex:1}.title span{padding-bottom:var(--goa-space-3xs, 0)}summary .heading{font:var(--goa-typography-heading-s);padding-right:1rem}summary .secondary-text{font:var(--goa-typography-body-s);line-height:1.5rem;padding-right:1rem}summary .heading-content{flex:1
8
+ }.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}.content ::slotted(p:last-child){margin-bottom:0 !important}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},dr,cr,O,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",ur);function fr(i){let e,t,r,n,o,a,l,c,s;return{c(){e=b("div"),t=b("img"),n=N(),o=b("img"),l=N(),c=b("span"),s=B(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Ee(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(c,"class","title"),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,c),m(c,s)},p(d,f){f&1&&U(s,d[0])},d(d){d&&E(e)}}}function gr(i){let e,t,r,n,o,a,l,c,s;return{c(){e=b("a"),t=b("img"),n=N(),o=b("img"),l=N(),c=b("span"),s=B(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(o,"alt","GoA Logo"),u(o,"class","image-desktop"),Ee(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(o,"src",a),u(c,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,c),m(c,s)},p(d,f){f&1&&U(s,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&E(e)}}}function hr(i){let e,t,r,n,o;function a(s,d){return s[1]?gr:fr}let l=a(i),c=l(i);return{c(){e=b("div"),t=b("div"),c.c(),r=N(),n=b("div"),n.innerHTML="<slot></slot>",this.c=C,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",o=`--max-content-width: ${i[3]||"100%"}`)},m(s,d){k(s,e,d),m(e,t),c.m(t,null),m(t,r),m(t,n)},p(s,[d]){l===(l=a(s))&&c?c.p(s,d):(c.d(1),c=l(s),c&&(c.c(),c.m(t,r))),d&4&&u(e,"data-testid",s[2]),d&8&&o!==(o=`--max-content-width: ${s[3]||"100%"}`)&&u(e,"style",o)},i:C,o:C,d(s){s&&E(e),c.d()}}}function mr(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"url"in l&&t(1,n=l.url),"testid"in l&&t(2,o=l.testid),"maxcontentwidth"in l&&t(3,a=l.maxcontentwidth)},[r,n,o,a]}class br extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mr,hr,O,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",br);function vr(i){let e;return{c(){e=b("div"),J(e,"height","1.2rem"),J(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function wr(i){let e;return{c(){e=b("goa-icon"),x(e,"type",i[8]),x(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&256&&x(e,"type",t[8])},d(t){t&&E(e)}}}function Dt(i){let e,t;return{c(){e=b("div"),t=B(i[2]),u(e,"class","goa-badge-content")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&4&&U(t,r[2])},d(r){r&&E(e)}}}function yr(i){let e,t,r,n;function o(s,d){return s[7]?wr:vr}let a=o(i),l=a(i),c=i[2]&&Dt(i);return{c(){e=b("div"),l.c(),t=N(),c&&c.c(),this.c=C,u(e,"style",r=Y(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),F(e,"icon-only",i[7]&&!i[2])},m(s,d){k(s,e,d),l.m(e,null),m(e,t),c&&c.m(e,null)},p(s,[d]){a===(a=o(s))&&l?l.p(s,d):(l.d(1),l=a(s),l&&(l.c(),l.m(e,t))),s[2]?c?c.p(s,d):(c=Dt(s),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d&120&&r!==(r=Y(s[3],s[4],s[5],s[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",s[1]),d&1&&n!==(n="goa-badge badge-"+s[0])&&u(e,"class",n),d&133&&F(e,"icon-only",s[7]&&!s[2])},i:C,o:C,d(s){s&&E(e),l.d(),c&&c.d()}}}function pr(i,e,t){let r,n;const[o,a]=$("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:l}=e,{testid:c=""}=e,{content:s=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:w=null}=e,{ml:y=null}=e;return Q(()=>{setTimeout(()=>a(l),1),!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=p=>{"type"in p&&t(0,l=p.type),"testid"in p&&t(1,c=p.testid),"content"in p&&t(2,s=p.content),"icon"in p&&t(9,d=p.icon),"mt"in p&&t(3,f=p.mt),"mr"in p&&t(4,h=p.mr),"mb"in p&&t(5,w=p.mb),"ml"in p&&t(6,y=p.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=K(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[l])},[l,c,s,f,h,w,y,r,n,d]}class _r extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},pr,yr,O,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",_r);function kr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"class","block"),u(e,"style",r=`
9
9
  ${Y(i[3],i[4],i[5],i[6])};
10
10
  --gap: var(--goa-space-${i[0]});
11
11
  --alignment: ${i[2]};
12
12
  --direction: ${i[1]};
13
- `)},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&127&&r!==(r=`
13
+ `)},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&127&&r!==(r=`
14
14
  ${Y(n[3],n[4],n[5],n[6])};
15
15
  --gap: var(--goa-space-${n[0]});
16
16
  --alignment: ${n[2]};
17
17
  --direction: ${n[1]};
18
- `)&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function lr(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:l="start"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,l=d.alignment),"mt"in d&&t(3,a=d.mt),"mr"in d&&t(4,o=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,l,a,o,s,c]}class sr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},lr,or,O,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),g()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-block",sr);function cr(i){let e,t,r,n,l=i[3]&&Lt(i),a=i[4]&&At(i);return{c(){l&&l.c(),e=D(),t=b("span"),t.innerHTML="<slot></slot>",r=D(),a&&a.c(),n=_e(),u(t,"class","text")},m(o,s){l&&l.m(o,s),k(o,e,s),k(o,t,s),k(o,r,s),a&&a.m(o,s),k(o,n,s)},p(o,s){o[3]?l?l.p(o,s):(l=Lt(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[4]?a?a.p(o,s):(a=At(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&M(e),o&&M(t),o&&M(r),a&&a.d(o),o&&M(n)}}}function dr(i){let e,t,r;return{c(){e=b("span"),e.innerHTML="<slot></slot>",t=D(),r=b("goa-icon"),u(e,"class","text"),E(r,"id","trailing-icon"),E(r,"type","arrow-forward"),E(r,"inverted","true")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},p:x,d(n){n&&M(e),n&&M(t),n&&M(r)}}}function Lt(i){let e;return{c(){e=b("goa-icon"),E(e,"id","leading-icon"),E(e,"type",i[3]),E(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&8&&E(e,"type",t[3]),r&2048&&E(e,"inverted",t[11])},d(t){t&&M(e)}}}function At(i){let e;return{c(){e=b("goa-icon"),E(e,"id","trailing-icon"),E(e,"type",i[4]),E(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&16&&E(e,"type",t[4]),r&2048&&E(e,"inverted",t[11])},d(t){t&&M(e)}}}function ur(i){let e,t,r,n,l;function a(c,d){return c[0]==="start"?dr:cr}let o=a(i),s=o(i);return{c(){e=b("button"),s.c(),this.c=x,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=Y(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),Z(e,"leading",i[3]),Z(e,"trailing",i[4]||i[0]==="start")},m(c,d){k(c,e,d),s.m(e,null),n||(l=[Q(e,"click",i[12]),Q(e,"click",i[12])],n=!0)},p(c,[d]){o===(o=a(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&r!==(r=Y(c[6],c[7],c[8],c[9]))&&u(e,"style",r),d&1024&&(e.disabled=c[10]),d&32&&u(e,"data-testid",c[5]),d&15&&Z(e,"leading",c[3]),d&23&&Z(e,"trailing",c[4]||c[0]==="start")},i:x,o:x,d(c){c&&M(e),s.d(),n=!1,le(l)}}}function fr(i,e,t){let r,n;const[l,a]=ee("Button type",["primary","submit","secondary","tertiary","start"],!0),[o,s]=ee("Button size",["normal","compact"],!0),[c,d]=ee("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:p="normal"}=e,{disabled:y="false"}=e,{leadingicon:_=null}=e,{trailingicon:v=null}=e,{testid:w=""}=e,{mt:C=null}=e,{mr:L=null}=e,{mb:I=null}=e,{ml:z=null}=e;function T(A){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return q(()=>{a(f),s(h),d(p)}),i.$$set=A=>{"type"in A&&t(0,f=A.type),"size"in A&&t(1,h=A.size),"variant"in A&&t(2,p=A.variant),"disabled"in A&&t(13,y=A.disabled),"leadingicon"in A&&t(3,_=A.leadingicon),"trailingicon"in A&&t(4,v=A.trailingicon),"testid"in A&&t(5,w=A.testid),"mt"in A&&t(6,C=A.mt),"mr"in A&&t(7,L=A.mr),"mb"in A&&t(8,I=A.mb),"ml"in A&&t(9,z=A.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=F(y)),i.$$.dirty&1&&t(11,n=f==="primary"||f==="start")},[f,h,p,_,v,w,C,L,I,z,r,n,T,y]}class gr extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
19
- border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},fr,ur,O,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",gr);function hr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(Y(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&2&&u(e,"data-testid",n[1]),l&125&&r!==(r=""+(Y(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function mr(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:a=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=ee("alignment",["start","end","center"]),[p,y]=ee("gap",["relaxed","compact"]);return q(()=>{h(n),y(l)}),i.$$set=_=>{"alignment"in _&&t(7,n=_.alignment),"gap"in _&&t(0,l=_.gap),"testid"in _&&t(1,a=_.testid),"mt"in _&&t(2,o=_.mt),"mr"in _&&t(3,s=_.mr),"mb"in _&&t(4,c=_.mb),"ml"in _&&t(5,d=_.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,a,o,s,c,d,r,n]}class br extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mr,hr,O,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",br);function Tt(i){let e,t;return{c(){e=b("h3"),t=V(i[5])},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&32&&W(t,r[5])},d(r){r&&M(e)}}}function vr(i){let e,t,r,n,l,a,o,s,c,d,f=i[5]&&Tt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=D(),o=b("span"),f&&f.c(),s=D(),c=b("slot"),this.c=x,E(r,"type",i[7]),E(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(o,"class","content"),u(e,"style",d=Y(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,p){k(h,e,p),m(e,t),m(t,r),m(e,a),m(e,o),f&&f.m(o,null),m(o,s),m(o,c)},p(h,[p]){p&128&&E(r,"type",h[7]),p&16&&n!==(n=h[4]==="important"?"false":"true")&&E(r,"inverted",n),p&16&&l!==(l="icon "+h[4])&&u(t,"class",l),h[5]?f?f.p(h,p):(f=Tt(h),f.c(),f.m(o,s)):f&&(f.d(1),f=null),p&15&&d!==(d=Y(h[0],h[1],h[2],h[3]))&&u(e,"style",d),p&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&M(e),f&&f.d()}}}function yr(i,e,t){let r;const[n,l]=ee("Callout type",["emergency","important","information","event","success"],!0);let{mt:a=null}=e,{mr:o=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return q(()=>{l(d)}),i.$$set=p=>{"mt"in p&&t(0,a=p.mt),"mr"in p&&t(1,o=p.mr),"mb"in p&&t(2,s=p.mb),"ml"in p&&t(3,c=p.ml),"type"in p&&t(4,d=p.type),"heading"in p&&t(5,f=p.heading),"testid"in p&&t(6,h=p.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[a,o,s,c,d,f,h,r]}class wr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yr,vr,O,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",wr);function _r(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class pr extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,_r,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",pr);function kr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Y(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Y(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function xr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,a,o,s,c,d]}class Er extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},xr,kr,O,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",Er);function zr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Cr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,zr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Cr);function Mr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Lr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Mr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Lr);function Ar(i){let e;return{c(){e=b("div"),this.c=x,$(e,"background-image","url("+i[0]+")"),$(e,"height",i[1]),$(e,"background-size","cover"),$(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&$(e,"background-image","url("+t[0]+")"),r&2&&$(e,"height",t[1])},i:x,o:x,d(t){t&&M(e)}}}function Tr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class Ir extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Tr,Ar,O,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",Ir);function Nr(i){let e,t;return{c(){e=we("svg"),t=we("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&M(e)}}}function Dr(i){let e,t;return{c(){e=we("svg"),t=we("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&M(e)}}}function Hr(i){let e,t,r,n,l,a,o,s,c,d,f,h,p;function y(w,C){if(w[10])return Dr;if(w[9])return Nr}let _=y(i),v=_&&_(i);return{c(){e=b("label"),t=b("div"),r=b("input"),a=D(),v&&v.c(),o=D(),s=b("div"),c=b("slot"),d=V(i[1]),this.c=x,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),Z(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Y(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),Z(e,"goa-checkbox--disabled",i[12]),Z(e,"goa-checkbox--error",i[11])},m(w,C){k(w,e,C),m(e,t),m(t,r),m(t,a),v&&v.m(t,null),m(e,o),m(e,s),m(s,c),m(c,d),h||(p=Q(r,"change",i[13]),h=!0)},p(w,[C]){C&1&&u(r,"id",w[0]),C&1&&u(r,"name",w[0]),C&512&&(r.checked=w[9]),C&4096&&(r.disabled=w[12]),C&4&&n!==(n=`${w[2]}`)&&(r.value=n),C&17&&l!==(l=w[4]||w[0])&&u(r,"aria-label",l),_!==(_=y(w))&&(v&&v.d(1),v=_&&_(w),v&&(v.c(),v.m(t,null))),C&512&&Z(t,"goa-checkbox--selected",w[9]),C&2&&W(d,w[1]),C&8&&u(e,"data-testid",w[3]),C&1&&u(e,"for",w[0]),C&480&&f!==(f=Y(w[5],w[6],w[7],w[8]))&&u(e,"style",f),C&4096&&Z(e,"goa-checkbox--disabled",w[12]),C&2048&&Z(e,"goa-checkbox--error",w[11])},i:x,o:x,d(w){w&&M(e),v&&v.d(),h=!1,p()}}}function jr(i,e,t){let r,n,l,a,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:p=""}=e,{arialabel:y=""}=e,{mt:_=null}=e,{mr:v=null}=e,{mb:w=null}=e,{ml:C=null}=e,L;q(()=>{L=d});function I(z){const T=!l,A=T?`${L||"checked"}`:"";t(14,s=qi(T)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:T,value:A}}))}return i.$$set=z=>{"name"in z&&t(0,o=z.name),"checked"in z&&t(14,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,d=z.value),"disabled"in z&&t(15,f=z.disabled),"error"in z&&t(16,h=z.error),"testid"in z&&t(3,p=z.testid),"arialabel"in z&&t(4,y=z.arialabel),"mt"in z&&t(5,_=z.mt),"mr"in z&&t(6,v=z.mr),"mb"in z&&t(7,w=z.mb),"ml"in z&&t(8,C=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=F(f)),i.$$.dirty&65536&&t(11,n=F(h)),i.$$.dirty&16384&&t(9,l=F(s))},t(10,a=!1),[o,c,d,p,y,_,v,w,C,l,a,n,r,I,s,f,h]}class Rr extends B{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jr,Hr,O,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Rr);function It(i){let e;return{c(){e=b("goa-icon"),E(e,"class","leading-icon"),E(e,"size","medium"),E(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&E(e,"type",t[4])},d(t){t&&M(e)}}}function Nt(i){let e,t,r;return{c(){e=b("goa-icon"),E(e,"class","delete-icon"),E(e,"size","medium"),E(e,"theme","filled"),E(e,"type","close-circle"),E(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),E(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){k(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&E(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&E(e,"opacity",r)},d(n){n&&M(e)}}}function Sr(i){let e,t,r,n,l,a,o,s,c=i[4]&&It(i),d=i[11]&&Nt(i);return{c(){e=b("div"),c&&c.c(),t=D(),r=b("div"),n=V(i[5]),l=D(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=Y(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),Z(e,"deletable",i[11]),Z(e,"error",i[10]),Z(e,"variant",i[6])},m(f,h){k(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,n),m(e,l),d&&d.m(e,null),i[15](e),o||(s=[Q(e,"click",i[16]),Q(e,"mouseover",i[17]),Q(e,"mouseout",i[18]),Q(e,"focus",i[19]),Q(e,"blur",i[20])],o=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=It(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),h&32&&W(n,f[5]),f[11]?d?d.p(f,h):(d=Nt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&a!==(a=Y(f[0],f[1],f[2],f[3]))&&u(e,"style",a),h&2048&&Z(e,"deletable",f[11]),h&1024&&Z(e,"error",f[10]),h&64&&Z(e,"variant",f[6])},i:x,o:x,d(f){f&&M(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,le(s)}}}function Or(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,p,y=!1,_,v;function w(H){p.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function C(H){J[H?"unshift":"push"](()=>{p=H,t(8,p)})}const L=H=>v&&w(H),I=()=>t(9,y=!0),z=()=>t(9,y=!1),T=()=>t(9,y=!1),A=()=>t(9,y=!1);return i.$$set=H=>{"mt"in H&&t(0,r=H.mt),"mr"in H&&t(1,n=H.mr),"mb"in H&&t(2,l=H.mb),"ml"in H&&t(3,a=H.ml),"leadingicon"in H&&t(4,o=H.leadingicon),"error"in H&&t(13,s=H.error),"deletable"in H&&t(14,c=H.deletable),"content"in H&&t(5,d=H.content),"variant"in H&&t(6,f=H.variant),"testid"in H&&t(7,h=H.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,_=F(s)),i.$$.dirty&16384&&t(11,v=F(c))},[r,n,l,a,o,d,f,h,p,y,_,v,w,s,c,C,L,I,z,T,A]}class Br extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Or,Sr,O,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Br);function Pr(i){const e=i-1;return e*e*e+1}function Gr(i){return Math.pow(i-1,3)*(1-i)+1}function Le(i,{delay:e=0,duration:t=400,easing:r=De}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Dt(i,{delay:e=0,duration:t=400,easing:r=Pr,x:n=0,y:l=0,opacity:a=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,h)=>`
20
- transform: ${c} translate(${(1-f)*n}px, ${(1-f)*l}px);
21
- opacity: ${s-d*h}`}}function Ht(i,e){let t=!1;function r(){if(!n())return;const o=a();t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"px"}function n(){return document.body.style.overflow!=="hidden"}function l(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const o=document.createElement("div");o.style.visibility="hidden",o.style.overflow="scroll",document.body.appendChild(o);const s=document.createElement("div");o.appendChild(s);const c=o.offsetWidth-s.offsetWidth;return o.parentNode.removeChild(o),c}return e.enable&&r(),{update(){e.enable||l()},destroy(){l()}}}function jt(i){let e,t,r,n;const l=[Yr,Zr],a=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=a[e]=l[e](i)),{c(){t&&t.c(),r=_e()},m(s,c){~e&&a[e].m(s,c),k(s,r,c),n=!0},p(s,c){let d=e;e=o(s),e===d?~e&&a[e].p(s,c):(t&&(Ce(),te(a[d],1,1,()=>{a[d]=null}),Me()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=l[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(K(t),n=!0)},o(s){te(t),n=!1},d(s){~e&&a[e].d(s),s&&M(r)}}}function Zr(i){let e,t,r,n,l=i[0]&&Rt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=D(),l&&l.c(),E(t,"size",i[2]),E(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),Z(e,"inline",i[4])},m(a,o){k(a,e,o),m(e,t),m(e,r),l&&l.m(e,null)},p(a,o){o&4&&E(t,"size",a[2]),o&2&&E(t,"progress",a[1]),a[0]?l?l.p(a,o):(l=Rt(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null),o&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),o&20&&Z(e,"inline",a[4])},i:x,o:x,d(a){a&&M(e),l&&l.d()}}}function Yr(i){let e,t,r,n,l,a,o,s=i[0]&&St(i);return{c(){e=b("div"),t=b("goa-spinner"),r=D(),s&&s.c(),E(t,"size",i[2]),E(t,"progress",i[1]),Z(e,"fullscreen",i[3])},m(c,d){k(c,e,d),m(e,t),m(e,r),s&&s.m(e,null),l=!0,a||(o=gt(Ht.call(null,e,{enable:!0})),a=!0)},p(c,d){(!l||d&4)&&E(t,"size",c[2]),(!l||d&2)&&E(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=St(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||d&8)&&Z(e,"fullscreen",c[3])},i(c){l||(be(()=>{n||(n=Je(e,Le,{duration:300},!0)),n.run(1)}),l=!0)},o(c){n||(n=Je(e,Le,{duration:300},!1)),n.run(0),l=!1},d(c){c&&M(e),s&&s.d(),c&&n&&n.end(),a=!1,o()}}}function Rt(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&M(e)}}}function St(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&M(e)}}}function Vr(i){let e,t,r=i[5]&&jt(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[5]?r?(r.p(n,l),l&32&&K(r,1)):(r=jt(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),te(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Fr(i,e,t){let r;const[n,l]=ee("Circular progress variant",["fullscreen","inline"]),[a,o]=ee("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,p,y,_;return q(async()=>{l(s),o(c),t(2,p=c==="small"?"large":"xlarge"),t(3,y=s==="fullscreen"),t(4,_=s==="inline")}),i.$$set=v=>{"variant"in v&&t(6,s=v.variant),"size"in v&&t(7,c=v.size),"message"in v&&t(0,d=v.message),"progress"in v&&t(1,f=v.progress),"visible"in v&&t(8,h=v.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=F(h))},[d,f,p,y,_,r,s,c,h]}class qr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Fr,Vr,O,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",qr);function Qr(i){let e,t,r,n,l,a,o,s,c,d;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=D(),l=b("div"),l.innerHTML='<slot name="actions"></slot>',o=D(),s=b("div"),s.innerHTML="<slot></slot>",this.c=x,u(r,"class","title"),u(l,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=Y(i[4],i[5],i[6],i[7])),u(e,"class",d=`
18
+ `)&&u(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function Cr(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:o="start"}=e,{mt:a=null}=e,{mr:l=null}=e,{mb:c=null}=e,{ml:s=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,o=d.alignment),"mt"in d&&t(3,a=d.mt),"mr"in d&&t(4,l=d.mr),"mb"in d&&t(5,c=d.mb),"ml"in d&&t(6,s=d.ml)},[r,n,o,a,l,c,s]}class Mr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Cr,kr,O,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),g()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-block",Mr);function xr(i){let e,t,r,n,o=i[3]&&Nt(i),a=i[4]&&Rt(i);return{c(){o&&o.c(),e=N(),t=b("span"),t.innerHTML="<slot></slot>",r=N(),a&&a.c(),n=pe(),u(t,"class","text")},m(l,c){o&&o.m(l,c),k(l,e,c),k(l,t,c),k(l,r,c),a&&a.m(l,c),k(l,n,c)},p(l,c){l[3]?o?o.p(l,c):(o=Nt(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?a?a.p(l,c):(a=Rt(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(n)}}}function zr(i){let e,t,r;return{c(){e=b("span"),e.innerHTML="<slot></slot>",t=N(),r=b("goa-icon"),u(e,"class","text"),x(r,"id","trailing-icon"),x(r,"type","arrow-forward"),x(r,"inverted","true")},m(n,o){k(n,e,o),k(n,t,o),k(n,r,o)},p:C,d(n){n&&E(e),n&&E(t),n&&E(r)}}}function Nt(i){let e;return{c(){e=b("goa-icon"),x(e,"id","leading-icon"),x(e,"type",i[3]),x(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&8&&x(e,"type",t[3]),r&2048&&x(e,"inverted",t[11])},d(t){t&&E(e)}}}function Rt(i){let e;return{c(){e=b("goa-icon"),x(e,"id","trailing-icon"),x(e,"type",i[4]),x(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&16&&x(e,"type",t[4]),r&2048&&x(e,"inverted",t[11])},d(t){t&&E(e)}}}function Er(i){let e,t,r,n,o;function a(s,d){return s[0]==="start"?zr:xr}let l=a(i),c=l(i);return{c(){e=b("button"),c.c(),this.c=C,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=Y(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),F(e,"leading",i[3]),F(e,"trailing",i[4]||i[0]==="start")},m(s,d){k(s,e,d),c.m(e,null),n||(o=[q(e,"click",i[12]),q(e,"click",i[12])],n=!0)},p(s,[d]){l===(l=a(s))&&c?c.p(s,d):(c.d(1),c=l(s),c&&(c.c(),c.m(e,null))),d&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),d&960&&r!==(r=Y(s[6],s[7],s[8],s[9]))&&u(e,"style",r),d&1024&&(e.disabled=s[10]),d&32&&u(e,"data-testid",s[5]),d&15&&F(e,"leading",s[3]),d&23&&F(e,"trailing",s[4]||s[0]==="start")},i:C,o:C,d(s){s&&E(e),c.d(),n=!1,ae(o)}}}function Lr(i,e,t){let r,n;const[o,a]=$("Button type",["primary","submit","secondary","tertiary","start"],!0),[l,c]=$("Button size",["normal","compact"],!0),[s,d]=$("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:w="normal"}=e,{disabled:y="false"}=e,{leadingicon:p=null}=e,{trailingicon:v=null}=e,{testid:_=""}=e,{mt:z=null}=e,{mr:D=null}=e,{mb:A=null}=e,{ml:M=null}=e;function H(I){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return Q(()=>{a(f),c(h),d(w)}),i.$$set=I=>{"type"in I&&t(0,f=I.type),"size"in I&&t(1,h=I.size),"variant"in I&&t(2,w=I.variant),"disabled"in I&&t(13,y=I.disabled),"leadingicon"in I&&t(3,p=I.leadingicon),"trailingicon"in I&&t(4,v=I.trailingicon),"testid"in I&&t(5,_=I.testid),"mt"in I&&t(6,z=I.mt),"mr"in I&&t(7,D=I.mr),"mb"in I&&t(8,A=I.mb),"ml"in I&&t(9,M=I.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=K(y)),i.$$.dirty&1&&t(11,n=f==="primary"||f==="start")},[f,h,w,p,v,_,z,D,A,M,r,n,H,y]}class Hr extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
19
+ border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:transparent}.tertiary.destructive:hover{color:var(--goa-color-emergency-dark)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Lr,Er,O,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",Hr);function Ar(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"data-testid",i[1]),u(e,"style",r=""+(Y(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&2&&u(e,"data-testid",n[1]),o&125&&r!==(r=""+(Y(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function Tr(i,e,t){let r,{alignment:n="start"}=e,{gap:o="relaxed"}=e,{testid:a=""}=e,{mt:l=null}=e,{mr:c=null}=e,{mb:s=null}=e,{ml:d=null}=e;const[f,h]=$("alignment",["start","end","center"]),[w,y]=$("gap",["relaxed","compact"]);return Q(()=>{h(n),y(o)}),i.$$set=p=>{"alignment"in p&&t(7,n=p.alignment),"gap"in p&&t(0,o=p.gap),"testid"in p&&t(1,a=p.testid),"mt"in p&&t(2,l=p.mt),"mr"in p&&t(3,c=p.mr),"mb"in p&&t(4,s=p.mb),"ml"in p&&t(5,d=p.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[o,a,l,c,s,d,r,n]}class Ir extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Tr,Ar,O,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",Ir);function jt(i){let e,t;return{c(){e=b("h3"),t=B(i[5])},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&32&&U(t,r[5])},d(r){r&&E(e)}}}function Dr(i){let e,t,r,n,o,a,l,c,s,d,f=i[5]&&jt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=N(),l=b("span"),f&&f.c(),c=N(),s=b("slot"),this.c=C,x(r,"type",i[7]),x(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",o="icon "+i[4]),u(l,"class","content"),u(e,"style",d=Y(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,w){k(h,e,w),m(e,t),m(t,r),m(e,a),m(e,l),f&&f.m(l,null),m(l,c),m(l,s)},p(h,[w]){w&128&&x(r,"type",h[7]),w&16&&n!==(n=h[4]==="important"?"false":"true")&&x(r,"inverted",n),w&16&&o!==(o="icon "+h[4])&&u(t,"class",o),h[5]?f?f.p(h,w):(f=jt(h),f.c(),f.m(l,c)):f&&(f.d(1),f=null),w&15&&d!==(d=Y(h[0],h[1],h[2],h[3]))&&u(e,"style",d),w&64&&u(e,"data-testid",h[6])},i:C,o:C,d(h){h&&E(e),f&&f.d()}}}function Nr(i,e,t){let r;const[n,o]=$("Callout type",["emergency","important","information","event","success"],!0);let{mt:a=null}=e,{mr:l=null}=e,{mb:c="l"}=e,{ml:s=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return Q(()=>{setTimeout(()=>o(d),1)}),i.$$set=w=>{"mt"in w&&t(0,a=w.mt),"mr"in w&&t(1,l=w.mr),"mb"in w&&t(2,c=w.mb),"ml"in w&&t(3,s=w.ml),"type"in w&&t(4,d=w.type),"heading"in w&&t(5,f=w.heading),"testid"in w&&t(6,h=w.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[a,l,c,s,d,f,h,r]}class Rr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Nr,Dr,O,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",Rr);function jr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=C},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&E(e)}}}class Vr extends Z{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,jr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Vr);function Sr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Y(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&128&&u(e,"data-testid",n[7]),o&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Y(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function Br(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:o="auto"}=e,{mt:a=null}=e,{mr:l=null}=e,{mb:c=null}=e,{ml:s=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,o=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,l=f.mr),"mb"in f&&t(5,c=f.mb),"ml"in f&&t(6,s=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,o,a,l,c,s,d]}class Or extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Br,Sr,O,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",Or);function Zr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=C,u(e,"class","card-content")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&E(e)}}}class Pr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Zr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Pr);function Gr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=C,u(e,"class","card-group")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&E(e)}}}class Fr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Gr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Fr);function Yr(i){let e;return{c(){e=b("div"),this.c=C,J(e,"background-image","url("+i[0]+")"),J(e,"height",i[1]),J(e,"background-size","cover"),J(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&J(e,"background-image","url("+t[0]+")"),r&2&&J(e,"height",t[1])},i:C,o:C,d(t){t&&E(e)}}}function qr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class Ur extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qr,Yr,O,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",Ur);function Wr(i){let e,t;return{c(){e=ke("svg"),t=ke("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&E(e)}}}function Qr(i){let e,t;return{c(){e=ke("svg"),t=ke("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&E(e)}}}function Kr(i){let e,t,r,n,o,a,l,c,s,d,f,h,w;function y(_,z){if(_[10])return Qr;if(_[9])return Wr}let p=y(i),v=p&&p(i);return{c(){e=b("label"),t=b("div"),r=b("input"),a=N(),v&&v.c(),l=N(),c=b("div"),s=b("slot"),d=B(i[1]),this.c=C,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",o=i[4]||i[0]),u(t,"class","goa-checkbox-container"),F(t,"goa-checkbox--selected",i[9]),u(c,"class","goa-checkbox-text"),u(c,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Y(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),F(e,"goa-checkbox--disabled",i[12]),F(e,"goa-checkbox--error",i[11])},m(_,z){k(_,e,z),m(e,t),m(t,r),m(t,a),v&&v.m(t,null),m(e,l),m(e,c),m(c,s),m(s,d),h||(w=q(r,"change",i[13]),h=!0)},p(_,[z]){z&1&&u(r,"id",_[0]),z&1&&u(r,"name",_[0]),z&512&&(r.checked=_[9]),z&4096&&(r.disabled=_[12]),z&4&&n!==(n=`${_[2]}`)&&(r.value=n),z&17&&o!==(o=_[4]||_[0])&&u(r,"aria-label",o),p!==(p=y(_))&&(v&&v.d(1),v=p&&p(_),v&&(v.c(),v.m(t,null))),z&512&&F(t,"goa-checkbox--selected",_[9]),z&2&&U(d,_[1]),z&8&&u(e,"data-testid",_[3]),z&1&&u(e,"for",_[0]),z&480&&f!==(f=Y(_[5],_[6],_[7],_[8]))&&u(e,"style",f),z&4096&&F(e,"goa-checkbox--disabled",_[12]),z&2048&&F(e,"goa-checkbox--error",_[11])},i:C,o:C,d(_){_&&E(e),v&&v.d(),h=!1,w()}}}function Xr(i,e,t){let r,n,o,a,{name:l}=e,{checked:c="false"}=e,{text:s=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:w=""}=e,{arialabel:y=""}=e,{mt:p=null}=e,{mr:v=null}=e,{mb:_=null}=e,{ml:z=null}=e,D;Q(()=>{D=d});function A(M){const H=!o,I=H?`${D||"checked"}`:"";t(14,c=lr(H)),M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:H,value:I}}))}return i.$$set=M=>{"name"in M&&t(0,l=M.name),"checked"in M&&t(14,c=M.checked),"text"in M&&t(1,s=M.text),"value"in M&&t(2,d=M.value),"disabled"in M&&t(15,f=M.disabled),"error"in M&&t(16,h=M.error),"testid"in M&&t(3,w=M.testid),"arialabel"in M&&t(4,y=M.arialabel),"mt"in M&&t(5,p=M.mt),"mr"in M&&t(6,v=M.mr),"mb"in M&&t(7,_=M.mb),"ml"in M&&t(8,z=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=K(f)),i.$$.dirty&65536&&t(11,n=K(h)),i.$$.dirty&16384&&t(9,o=K(c))},t(10,a=!1),[l,s,d,w,y,p,v,_,z,o,a,n,r,A,c,f,h]}class Jr extends Z{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xr,Kr,O,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Jr);function Vt(i){let e;return{c(){e=b("goa-icon"),x(e,"class","leading-icon"),x(e,"size","medium"),x(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&x(e,"type",t[4])},d(t){t&&E(e)}}}function St(i){let e,t,r;return{c(){e=b("goa-icon"),x(e,"class","delete-icon"),x(e,"size","medium"),x(e,"theme","filled"),x(e,"type","close-circle"),x(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),x(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,o){k(n,e,o)},p(n,o){o&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&x(e,"fillcolor",t),o&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&x(e,"opacity",r)},d(n){n&&E(e)}}}function $r(i){let e,t,r,n,o,a,l,c,s=i[4]&&Vt(i),d=i[11]&&St(i);return{c(){e=b("div"),s&&s.c(),t=N(),r=b("div"),n=B(i[5]),o=N(),d&&d.c(),this.c=C,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=Y(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),F(e,"deletable",i[11]),F(e,"error",i[10]),F(e,"variant",i[6])},m(f,h){k(f,e,h),s&&s.m(e,null),m(e,t),m(e,r),m(r,n),m(e,o),d&&d.m(e,null),i[15](e),l||(c=[q(e,"click",i[16]),q(e,"mouseover",i[17]),q(e,"mouseout",i[18]),q(e,"focus",i[19]),q(e,"blur",i[20])],l=!0)},p(f,[h]){f[4]?s?s.p(f,h):(s=Vt(f),s.c(),s.m(e,t)):s&&(s.d(1),s=null),h&32&&U(n,f[5]),f[11]?d?d.p(f,h):(d=St(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&a!==(a=Y(f[0],f[1],f[2],f[3]))&&u(e,"style",a),h&2048&&F(e,"deletable",f[11]),h&1024&&F(e,"error",f[10]),h&64&&F(e,"variant",f[6])},i:C,o:C,d(f){f&&E(e),s&&s.d(),d&&d.d(),i[15](null),l=!1,ae(c)}}}function en(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:o=null}=e,{ml:a=null}=e,{leadingicon:l=null}=e,{error:c="false"}=e,{deletable:s="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,w,y=!1,p,v;function _(T){w.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),T.stopPropagation()}function z(T){W[T?"unshift":"push"](()=>{w=T,t(8,w)})}const D=T=>v&&_(T),A=()=>t(9,y=!0),M=()=>t(9,y=!1),H=()=>t(9,y=!1),I=()=>t(9,y=!1);return i.$$set=T=>{"mt"in T&&t(0,r=T.mt),"mr"in T&&t(1,n=T.mr),"mb"in T&&t(2,o=T.mb),"ml"in T&&t(3,a=T.ml),"leadingicon"in T&&t(4,l=T.leadingicon),"error"in T&&t(13,c=T.error),"deletable"in T&&t(14,s=T.deletable),"content"in T&&t(5,d=T.content),"variant"in T&&t(6,f=T.variant),"testid"in T&&t(7,h=T.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,p=K(c)),i.$$.dirty&16384&&t(11,v=K(s))},[r,n,o,a,l,d,f,h,w,y,p,v,_,c,s,z,D,A,M,H,I]}class tn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},en,$r,O,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",tn);function rn(i){const e=i-1;return e*e*e+1}function nn(i){return Math.pow(i-1,3)*(1-i)+1}function De(i,{delay:e=0,duration:t=400,easing:r=Ve}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*n}`}}function Bt(i,{delay:e=0,duration:t=400,easing:r=rn,x:n=0,y:o=0,opacity:a=0}={}){const l=getComputedStyle(i),c=+l.opacity,s=l.transform==="none"?"":l.transform,d=c*(1-a);return{delay:e,duration:t,easing:r,css:(f,h)=>`
20
+ transform: ${s} translate(${(1-f)*n}px, ${(1-f)*o}px);
21
+ opacity: ${c-d*h}`}}function mt(i,e){let t=!1;function r(){if(!n())return;const l=a();t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px"}function n(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const c=document.createElement("div");l.appendChild(c);const s=l.offsetWidth-c.offsetWidth;return l.parentNode.removeChild(l),s}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function Ot(i){let e,t,r,n;const o=[an,on],a=[];function l(c,s){return c[3]?0:c[4]?1:-1}return~(e=l(i))&&(t=a[e]=o[e](i)),{c(){t&&t.c(),r=pe()},m(c,s){~e&&a[e].m(c,s),k(c,r,s),n=!0},p(c,s){let d=e;e=l(c),e===d?~e&&a[e].p(c,s):(t&&(Ae(),te(a[d],1,1,()=>{a[d]=null}),Te()),~e?(t=a[e],t?t.p(c,s):(t=a[e]=o[e](c),t.c()),X(t,1),t.m(r.parentNode,r)):t=null)},i(c){n||(X(t),n=!0)},o(c){te(t),n=!1},d(c){~e&&a[e].d(c),c&&E(r)}}}function on(i){let e,t,r,n,o=i[0]&&Zt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=N(),o&&o.c(),x(t,"size",i[2]),x(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),F(e,"inline",i[4])},m(a,l){k(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&4&&x(t,"size",a[2]),l&2&&x(t,"progress",a[1]),a[0]?o?o.p(a,l):(o=Zt(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),l&20&&F(e,"inline",a[4])},i:C,o:C,d(a){a&&E(e),o&&o.d()}}}function an(i){let e,t,r,n,o,a,l,c=i[0]&&Pt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=N(),c&&c.c(),x(t,"size",i[2]),x(t,"progress",i[1]),F(e,"fullscreen",i[3])},m(s,d){k(s,e,d),m(e,t),m(e,r),c&&c.m(e,null),o=!0,a||(l=ct(mt.call(null,e,{enable:!0})),a=!0)},p(s,d){(!o||d&4)&&x(t,"size",s[2]),(!o||d&2)&&x(t,"progress",s[1]),s[0]?c?c.p(s,d):(c=Pt(s),c.c(),c.m(e,null)):c&&(c.d(1),c=null),(!o||d&8)&&F(e,"fullscreen",s[3])},i(s){o||(be(()=>{n||(n=et(e,De,{duration:300},!0)),n.run(1)}),o=!0)},o(s){n||(n=et(e,De,{duration:300},!1)),n.run(0),o=!1},d(s){s&&E(e),c&&c.d(),s&&n&&n.end(),a=!1,l()}}}function Zt(i){let e,t;return{c(){e=b("div"),t=B(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&1&&U(t,r[0])},d(r){r&&E(e)}}}function Pt(i){let e,t;return{c(){e=b("div"),t=B(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&1&&U(t,r[0])},d(r){r&&E(e)}}}function ln(i){let e,t,r=i[5]&&Ot(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&X(r,1)):(r=Ot(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function sn(i,e,t){let r;const[n,o]=$("Circular progress variant",["fullscreen","inline"]),[a,l]=$("Button size",["small","large"]);let{variant:c="inline"}=e,{size:s="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,w,y,p;return Q(async()=>{o(c),l(s),t(2,w=s==="small"?"large":"xlarge"),t(3,y=c==="fullscreen"),t(4,p=c==="inline")}),i.$$set=v=>{"variant"in v&&t(6,c=v.variant),"size"in v&&t(7,s=v.size),"message"in v&&t(0,d=v.message),"progress"in v&&t(1,f=v.progress),"visible"in v&&t(8,h=v.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=K(h))},[d,f,w,y,p,r,c,s,h]}class cn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},sn,ln,O,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",cn);function dn(i){let e,t,r,n,o,a,l,c,s,d;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=N(),o=b("div"),o.innerHTML='<slot name="actions"></slot>',l=N(),c=b("div"),c.innerHTML="<slot></slot>",this.c=C,u(r,"class","title"),u(o,"class","actions"),u(t,"class",a="heading--"+i[1]),u(c,"class","content"),u(e,"data-testid",i[3]),u(e,"style",s=Y(i[4],i[5],i[6],i[7])),u(e,"class",d=`
22
22
  goa-container
23
23
  goa-container--${i[0]}
24
24
  padding--${i[2]}
25
25
  accent--${i[1]}
26
- `)},m(f,h){k(f,e,h),m(e,t),m(t,r),m(t,n),m(t,l),m(e,o),m(e,s)},p(f,[h]){h&2&&a!==(a="heading--"+f[1])&&u(t,"class",a),h&8&&u(e,"data-testid",f[3]),h&240&&c!==(c=Y(f[4],f[5],f[6],f[7]))&&u(e,"style",c),h&7&&d!==(d=`
26
+ `)},m(f,h){k(f,e,h),m(e,t),m(t,r),m(t,n),m(t,o),m(e,l),m(e,c)},p(f,[h]){h&2&&a!==(a="heading--"+f[1])&&u(t,"class",a),h&8&&u(e,"data-testid",f[3]),h&240&&s!==(s=Y(f[4],f[5],f[6],f[7]))&&u(e,"style",s),h&7&&d!==(d=`
27
27
  goa-container
28
28
  goa-container--${f[0]}
29
29
  padding--${f[2]}
30
30
  accent--${f[1]}
31
- `)&&u(e,"class",d)},i:x,o:x,d(f){f&&M(e)}}}function Ur(i,e,t){const[r,n]=ee("Container type",["interactive","info","error","success","important","non-interactive"]),[l,a]=ee("Container accent",["thick","thin","filled"]),[o,s]=ee("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:p=null}=e,{mr:y=null}=e,{mb:_="m"}=e,{ml:v=null}=e;return q(()=>{n(c),a(d),s(f)}),i.$$set=w=>{"type"in w&&t(0,c=w.type),"accent"in w&&t(1,d=w.accent),"padding"in w&&t(2,f=w.padding),"testid"in w&&t(3,h=w.testid),"mt"in w&&t(4,p=w.mt),"mr"in w&&t(5,y=w.mr),"mb"in w&&t(6,_=w.mb),"ml"in w&&t(7,v=w.ml)},[c,d,f,h,p,y,_,v]}class Wr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ur,Qr,O,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-container",Wr);function Kr(i){let e,t,r,n,l,a,o,s,c,d;return{c(){e=b("details"),t=b("summary"),r=b("goa-icon"),l=D(),a=b("span"),o=V(i[0]),s=D(),c=b("div"),c.innerHTML="<slot></slot>",this.c=x,E(r,"mt","1"),E(r,"mr","2"),E(r,"type","chevron-forward"),E(r,"fillcolor",n=i[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(c,"class","content"),u(e,"style",d=Y(i[1],i[2],i[3],i[4]))},m(f,h){k(f,e,h),m(e,t),m(t,r),m(t,l),m(t,a),m(a,o),i[7](t),m(e,s),m(e,c)},p(f,[h]){h&32&&n!==(n=f[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&E(r,"fillcolor",n),h&1&&W(o,f[0]),h&30&&d!==(d=Y(f[1],f[2],f[3],f[4]))&&u(e,"style",d)},i:x,o:x,d(f){f&&M(e),i[7](null)}}}function Xr(i,e,t){let{heading:r}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e,s=!1,c;q(()=>{et("Details",{heading:r}),c.addEventListener("mouseover",()=>{t(5,s=!0)}),c.addEventListener("mouseout",()=>{t(5,s=!1)})});function d(f){J[f?"unshift":"push"](()=>{c=f,t(6,c)})}return i.$$set=f=>{"heading"in f&&t(0,r=f.heading),"mt"in f&&t(1,n=f.mt),"mr"in f&&t(2,l=f.mr),"mb"in f&&t(3,a=f.mb),"ml"in f&&t(4,o=f.ml)},[r,n,l,a,o,s,c,d]}class Jr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{font-family:var(--goa-font-family-sans)}details{max-width:75ch;position:relative}details ::slotted(*){font:var(--goa-typography-body-m)}summary{padding:0.5rem;margin-bottom:0.5rem;cursor:pointer;list-style:none;display:flex;align-items:flex-start}goa-icon{position:absolute}details[open] goa-icon{transform:translateX(-1px) rotate(90deg);top:0.75rem}details summary::-webkit-details-marker{display:none}summary{border-radius:var(--goa-border-radius-m)}summary:focus,summary:active{outline:3px solid var(--goa-color-interactive-focus);border-radius:var(--goa-border-radius-m);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}summary:hover{background-color:var(--goa-color-greyscale-100)}summary span{margin-left:2rem;text-decoration:underline;color:var(--goa-color-interactive-default);padding-bottom:var(--font-valign-fix);line-height:var(--goa-line-height-3)}summary:hover span{color:var(--goa-color-interactive-hover)}.content{border-left:4px solid var(--goa-color-greyscale-200);padding:1rem;margin-left:1.1rem;margin-bottom:var(--goa-space-s)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xr,Kr,O,{heading:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","mt","mr","mb","ml"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-details",Jr);function $r(i){let e,t;return{c(){e=b("hr"),this.c=x,u(e,"data-testid",i[0]),u(e,"style",t=Y(i[1],i[2],i[3],i[4]))},m(r,n){k(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=Y(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:x,o:x,d(r){r&&M(e)}}}function en(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,l=s.mr),"mb"in s&&t(3,a=s.mb),"ml"in s&&t(4,o=s.ml)},[r,n,l,a,o]}class tn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},en,$r,O,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-divider",tn);function Ot(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function Bt(i,e,t){const r=i.slice();return r[49]=e[t],r}function rn(i){let e,t,r,n,l,a,o,s,c=[],d=new Map,f,h,p,y=i[15]&&Pt(i),_=i[13];const v=w=>w[53];for(let w=0;w<_.length;w+=1){let C=Ot(i,_,w),L=v(C);d.set(L,c[w]=Gt(L,C))}return{c(){y&&y.c(),e=D(),t=b("goa-input"),l=D(),a=b("slot"),o=D(),s=b("ul");for(let w=0;w<c.length;w+=1)c[w].c();E(t,"error",i[7]),E(t,"disabled",i[6]),E(t,"leadingicon",i[2]),E(t,"placeholder",i[4]),E(t,"aria-controls","menu"),E(t,"aria-expanded",i[15]),E(t,"arialabel",r=i[1]||i[0]),E(t,"data-testid",n=`${i[0]}-dropdown-input`),E(t,"readonly",""),E(t,"role","combobox"),E(t,"trailingicon","chevron-down"),E(t,"type","text"),E(t,"value",i[14]),E(t,"width","100%"),E(t,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[14]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","dropdown-list"),u(s,"style",f=`overflow-y: auto; max-height: ${i[3]}`),Z(s,"dropdown-active",i[15])},m(w,C){y&&y.m(w,C),k(w,e,C),k(w,t,C),k(w,l,C),k(w,a,C),k(w,o,C),k(w,s,C);for(let L=0;L<c.length;L+=1)c[L].m(s,null);i[33](s),h||(p=Q(t,"click",i[24]),h=!0)},p(w,C){w[15]?y?y.p(w,C):(y=Pt(w),y.c(),y.m(e.parentNode,e)):y&&(y.d(1),y=null),C[0]&128&&E(t,"error",w[7]),C[0]&64&&E(t,"disabled",w[6]),C[0]&4&&E(t,"leadingicon",w[2]),C[0]&16&&E(t,"placeholder",w[4]),C[0]&32768&&E(t,"aria-expanded",w[15]),C[0]&3&&r!==(r=w[1]||w[0])&&E(t,"arialabel",r),C[0]&1&&n!==(n=`${w[0]}-dropdown-input`)&&E(t,"data-testid",n),C[0]&16384&&E(t,"value",w[14]),C[0]&1&&E(t,"name",w[0]),C[0]&67186688&&(_=w[13],c=zt(c,C,v,1,w,_,d,s,Et,Gt,null,Ot)),C[0]&16384&&u(s,"aria-activedescendant",w[14]),C[0]&8&&f!==(f=`overflow-y: auto; max-height: ${w[3]}`)&&u(s,"style",f),C[0]&32768&&Z(s,"dropdown-active",w[15])},d(w){y&&y.d(w),w&&M(e),w&&M(t),w&&M(l),w&&M(a),w&&M(o),w&&M(s);for(let C=0;C<c.length;C+=1)c[C].d();i[33](null),h=!1,p()}}}function nn(i){let e,t,r,n,l,a=i[13],o=[];for(let s=0;s<a.length;s+=1)o[s]=Zt(Bt(i,a,s));return{c(){e=b("select"),t=b("slot");for(let s=0;s<o.length;s+=1)o[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),Z(e,"error",i[23])},m(s,c){k(s,e,c),m(e,t);for(let d=0;d<o.length;d+=1)o[d].m(e,null);i[31](e),n||(l=Q(e,"change",i[27]),n=!0)},p(s,c){if(c[0]&8192){a=s[13];let d;for(d=0;d<a.length;d+=1){const f=Bt(s,a,d);o[d]?o[d].p(f,c):(o[d]=Zt(f),o[d].c(),o[d].m(e,null))}for(;d<o.length;d+=1)o[d].d(1);o.length=a.length}c[0]&2097152&&(e.disabled=s[21]),c[0]&3&&r!==(r=s[1]||s[0])&&u(e,"aria-label",r),c[0]&8388608&&Z(e,"error",s[23])},d(s){s&&M(e),Ve(o,s),i[31](null),n=!1,l()}}}function Pt(i){let e,t,r,n;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(l,a){k(l,e,a),r||(n=Q(e,"click",i[25]),r=!0)},p(l,a){a[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(l){l&&M(e),r=!1,n()}}}function Gt(i,e){let t,r=(e[49].label||e[49].value)+"",n,l,a,o,s,c,d,f,h,p,y;function _(){return e[32](e[49])}return{key:i,first:null,c(){t=b("li"),n=V(r),l=D(),u(t,"id",a=e[49].label),u(t,"role","option"),u(t,"aria-label",o=e[49].label||e[49].value),u(t,"aria-selected",s=e[12].includes(e[49].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[49].value}`),u(t,"data-index",d=e[53]),u(t,"data-value",f=e[49].value),u(t,"style",h="display: block"),Z(t,"dropdown-item--disabled",!1),Z(t,"dropdown-item--tabbed",e[53]===e[16]),Z(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(v,w){k(v,t,w),m(t,n),m(t,l),p||(y=Q(t,"click",_),p=!0)},p(v,w){e=v,w[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&W(n,r),w[0]&8192&&a!==(a=e[49].label)&&u(t,"id",a),w[0]&8192&&o!==(o=e[49].label||e[49].value)&&u(t,"aria-label",o),w[0]&12288&&s!==(s=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),w[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),w[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),w[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),w[0]&73728&&Z(t,"dropdown-item--tabbed",e[53]===e[16]),w[0]&12288&&Z(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(v){v&&M(t),p=!1,y()}}}function Zt(i){let e,t=i[49].label+"",r,n,l,a,o;return{c(){e=b("option"),r=V(t),n=D(),e.selected=l=i[49].selected,e.__value=a=i[49].value,e.value=e.__value,u(e,"aria-label",o=i[49].label)},m(s,c){k(s,e,c),m(e,r),m(e,n)},p(s,c){c[0]&8192&&t!==(t=s[49].label+"")&&W(r,t),c[0]&8192&&l!==(l=s[49].selected)&&(e.selected=l),c[0]&8192&&a!==(a=s[49].value)&&(e.__value=a,e.value=e.__value),c[0]&8192&&o!==(o=s[49].label)&&u(e,"aria-label",o)},d(s){s&&M(e)}}}function an(i){let e,t,r;function n(o,s){return o[22]?nn:rn}let l=n(i),a=l(i);return{c(){e=b("div"),a.c(),this.c=x,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
31
+ `)&&u(e,"class",d)},i:C,o:C,d(f){f&&E(e)}}}function un(i,e,t){const[r,n]=$("Container type",["interactive","info","error","success","important","non-interactive"]),[o,a]=$("Container accent",["thick","thin","filled"]),[l,c]=$("Container padding",["relaxed","compact"]);let{type:s="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:w=null}=e,{mr:y=null}=e,{mb:p="m"}=e,{ml:v=null}=e;return Q(()=>{n(s),a(d),c(f)}),i.$$set=_=>{"type"in _&&t(0,s=_.type),"accent"in _&&t(1,d=_.accent),"padding"in _&&t(2,f=_.padding),"testid"in _&&t(3,h=_.testid),"mt"in _&&t(4,w=_.mt),"mr"in _&&t(5,y=_.mr),"mb"in _&&t(6,p=_.mb),"ml"in _&&t(7,v=_.ml)},[s,d,f,h,w,y,p,v]}class fn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.content ::slotted(p:last-child){margin-bottom:0 !important}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},un,dn,O,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-container",fn);function gn(i){let e,t,r,n,o,a,l,c,s,d;return{c(){e=b("details"),t=b("summary"),r=b("goa-icon"),o=N(),a=b("span"),l=B(i[0]),c=N(),s=b("div"),s.innerHTML="<slot></slot>",this.c=C,x(r,"mt","1"),x(r,"mr","2"),x(r,"type","chevron-forward"),x(r,"fillcolor",n=i[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(s,"class","content"),u(e,"style",d=Y(i[1],i[2],i[3],i[4]))},m(f,h){k(f,e,h),m(e,t),m(t,r),m(t,o),m(t,a),m(a,l),i[7](t),m(e,c),m(e,s)},p(f,[h]){h&32&&n!==(n=f[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&x(r,"fillcolor",n),h&1&&U(l,f[0]),h&30&&d!==(d=Y(f[1],f[2],f[3],f[4]))&&u(e,"style",d)},i:C,o:C,d(f){f&&E(e),i[7](null)}}}function hn(i,e,t){let{heading:r}=e,{mt:n=null}=e,{mr:o=null}=e,{mb:a=null}=e,{ml:l=null}=e,c=!1,s;Q(()=>{it("Details",{heading:r}),s.addEventListener("mouseover",()=>{t(5,c=!0)}),s.addEventListener("mouseout",()=>{t(5,c=!1)})});function d(f){W[f?"unshift":"push"](()=>{s=f,t(6,s)})}return i.$$set=f=>{"heading"in f&&t(0,r=f.heading),"mt"in f&&t(1,n=f.mt),"mr"in f&&t(2,o=f.mr),"mb"in f&&t(3,a=f.mb),"ml"in f&&t(4,l=f.ml)},[r,n,o,a,l,c,s,d]}class mn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{font-family:var(--goa-font-family-sans)}details{max-width:75ch;position:relative}details ::slotted(*){font:var(--goa-typography-body-m)}summary{padding:0.5rem;margin-bottom:0.5rem;cursor:pointer;list-style:none;display:flex;align-items:flex-start}goa-icon{position:absolute}details[open] goa-icon{transform:translateX(-1px) rotate(90deg);top:0.75rem}details summary::-webkit-details-marker{display:none}summary{border-radius:var(--goa-border-radius-m)}summary:focus,summary:active{outline:3px solid var(--goa-color-interactive-focus);border-radius:var(--goa-border-radius-m);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}summary:hover{background-color:var(--goa-color-greyscale-100)}summary span{margin-left:2rem;text-decoration:underline;color:var(--goa-color-interactive-default);padding-bottom:var(--font-valign-fix);line-height:var(--goa-line-height-3)}summary:hover span{color:var(--goa-color-interactive-hover)}.content{border-left:4px solid var(--goa-color-greyscale-200);padding:1rem;margin-left:1.1rem;margin-bottom:var(--goa-space-s)}.content ::slotted(p:last-child){margin-bottom:0 !important}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},hn,gn,O,{heading:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","mt","mr","mb","ml"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-details",mn);function bn(i){let e,t;return{c(){e=b("hr"),this.c=C,u(e,"data-testid",i[0]),u(e,"style",t=Y(i[1],i[2],i[3],i[4]))},m(r,n){k(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=Y(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:C,o:C,d(r){r&&E(e)}}}function vn(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:o=null}=e,{mb:a=null}=e,{ml:l=null}=e;return i.$$set=c=>{"testid"in c&&t(0,r=c.testid),"mt"in c&&t(1,n=c.mt),"mr"in c&&t(2,o=c.mr),"mb"in c&&t(3,a=c.mb),"ml"in c&&t(4,l=c.ml)},[r,n,o,a,l]}class wn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vn,bn,O,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-divider",wn);function Gt(i,e,t){const r=i.slice();return r[50]=e[t],r[54]=t,r}function Ft(i,e,t){const r=i.slice();return r[50]=e[t],r}function yn(i){let e,t,r,n,o,a,l,c,s=[],d=new Map,f,h,w,y=i[17]&&Yt(i),p=i[12];const v=_=>_[54];for(let _=0;_<p.length;_+=1){let z=Gt(i,p,_),D=v(z);d.set(D,s[_]=qt(D,z))}return{c(){y&&y.c(),e=N(),t=b("goa-input"),o=N(),a=b("slot"),l=N(),c=b("ul");for(let _=0;_<s.length;_+=1)s[_].c();x(t,"error",i[7]),x(t,"disabled",i[6]),x(t,"leadingicon",i[2]),x(t,"placeholder",i[4]),x(t,"aria-controls","menu"),x(t,"aria-expanded",i[17]),x(t,"arialabel",r=i[1]||i[0]),x(t,"data-testid",n=`${i[0]}-dropdown-input`),x(t,"readonly",""),x(t,"role","combobox"),x(t,"trailingicon","chevron-down"),x(t,"type","text"),x(t,"value",i[16]),x(t,"width","100%"),x(t,"name",i[0]),u(c,"id","menu"),u(c,"role","listbox"),u(c,"aria-activedescendant",i[16]),u(c,"data-testid","dropdown-menu"),u(c,"tabindex","0"),u(c,"class","dropdown-list"),u(c,"style",f=`
32
+ overflow-y: auto;
33
+ max-height: ${i[3]};
34
+ --bottom: ${i[20]};
35
+ `),F(c,"dropdown-active",i[17])},m(_,z){y&&y.m(_,z),k(_,e,z),k(_,t,z),k(_,o,z),k(_,a,z),k(_,l,z),k(_,c,z);for(let D=0;D<s.length;D+=1)s[D].m(c,null);i[34](c),h||(w=q(t,"click",i[25]),h=!0)},p(_,z){_[17]?y?y.p(_,z):(y=Yt(_),y.c(),y.m(e.parentNode,e)):y&&(y.d(1),y=null),z[0]&128&&x(t,"error",_[7]),z[0]&64&&x(t,"disabled",_[6]),z[0]&4&&x(t,"leadingicon",_[2]),z[0]&16&&x(t,"placeholder",_[4]),z[0]&131072&&x(t,"aria-expanded",_[17]),z[0]&3&&r!==(r=_[1]||_[0])&&x(t,"arialabel",r),z[0]&1&&n!==(n=`${_[0]}-dropdown-input`)&&x(t,"data-testid",n),z[0]&65536&&x(t,"value",_[16]),z[0]&1&&x(t,"name",_[0]),z[0]&134516736&&(p=_[12],s=Tt(s,z,v,1,_,p,d,c,At,qt,null,Gt)),z[0]&65536&&u(c,"aria-activedescendant",_[16]),z[0]&1048584&&f!==(f=`
36
+ overflow-y: auto;
37
+ max-height: ${_[3]};
38
+ --bottom: ${_[20]};
39
+ `)&&u(c,"style",f),z[0]&131072&&F(c,"dropdown-active",_[17])},d(_){y&&y.d(_),_&&E(e),_&&E(t),_&&E(o),_&&E(a),_&&E(l),_&&E(c);for(let z=0;z<s.length;z+=1)s[z].d();i[34](null),h=!1,w()}}}function pn(i){let e,t,r,n,o,a=i[12],l=[];for(let c=0;c<a.length;c+=1)l[c]=Ut(Ft(i,a,c));return{c(){e=b("select"),t=b("slot");for(let c=0;c<l.length;c+=1)l[c].c();e.disabled=i[23],u(e,"aria-label",r=i[1]||i[0]),F(e,"error",i[24])},m(c,s){k(c,e,s),m(e,t);for(let d=0;d<l.length;d+=1)l[d].m(e,null);i[32](e),n||(o=q(e,"change",i[28]),n=!0)},p(c,s){if(s[0]&4096){a=c[12];let d;for(d=0;d<a.length;d+=1){const f=Ft(c,a,d);l[d]?l[d].p(f,s):(l[d]=Ut(f),l[d].c(),l[d].m(e,null))}for(;d<l.length;d+=1)l[d].d(1);l.length=a.length}s[0]&8388608&&(e.disabled=c[23]),s[0]&3&&r!==(r=c[1]||c[0])&&u(e,"aria-label",r),s[0]&16777216&&F(e,"error",c[24])},d(c){c&&E(e),He(l,c),i[32](null),n=!1,o()}}}function Yt(i){let e,t,r,n,o;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(a,l){k(a,e,l),n||(o=[q(e,"click",i[26]),ct(r=mt.call(null,e,{enable:i[17]}))],n=!0)},p(a,l){l[0]&1&&t!==(t=`${a[0]}-dropdown-background`)&&u(e,"data-testid",t),r&&ye(r.update)&&l[0]&131072&&r.update.call(null,{enable:a[17]})},d(a){a&&E(e),n=!1,ae(o)}}}function qt(i,e){let t,r=(e[50].label||e[50].value)+"",n,o,a,l,c,s,d,f,h,w,y;function p(){return e[33](e[50])}return{key:i,first:null,c(){t=b("li"),n=B(r),o=N(),u(t,"id",a=e[50].label),u(t,"role","option"),u(t,"aria-label",l=e[50].label||e[50].value),u(t,"aria-selected",c=e[15].includes(e[50].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",s=`dropdown-item-${e[50].value}`),u(t,"data-index",d=e[54]),u(t,"data-value",f=e[50].value),u(t,"style",h="display: block"),F(t,"dropdown-item--disabled",!1),F(t,"dropdown-item--tabbed",e[54]===e[18]),F(t,"dropdown-item--selected",e[15].includes(e[50].value)),this.first=t},m(v,_){k(v,t,_),m(t,n),m(t,o),w||(y=q(t,"click",p),w=!0)},p(v,_){e=v,_[0]&4096&&r!==(r=(e[50].label||e[50].value)+"")&&U(n,r),_[0]&4096&&a!==(a=e[50].label)&&u(t,"id",a),_[0]&4096&&l!==(l=e[50].label||e[50].value)&&u(t,"aria-label",l),_[0]&36864&&c!==(c=e[15].includes(e[50].value)?"true":"false")&&u(t,"aria-selected",c),_[0]&4096&&s!==(s=`dropdown-item-${e[50].value}`)&&u(t,"data-testid",s),_[0]&4096&&d!==(d=e[54])&&u(t,"data-index",d),_[0]&4096&&f!==(f=e[50].value)&&u(t,"data-value",f),_[0]&266240&&F(t,"dropdown-item--tabbed",e[54]===e[18]),_[0]&36864&&F(t,"dropdown-item--selected",e[15].includes(e[50].value))},d(v){v&&E(t),w=!1,y()}}}function Ut(i){let e,t=i[50].label+"",r,n,o,a,l;return{c(){e=b("option"),r=B(t),n=N(),e.selected=o=i[50].selected,e.__value=a=i[50].value,e.value=e.__value,u(e,"aria-label",l=i[50].label)},m(c,s){k(c,e,s),m(e,r),m(e,n)},p(c,s){s[0]&4096&&t!==(t=c[50].label+"")&&U(r,t),s[0]&4096&&o!==(o=c[50].selected)&&(e.selected=o),s[0]&4096&&a!==(a=c[50].value)&&(e.__value=a,e.value=e.__value),s[0]&4096&&l!==(l=c[50].label)&&u(e,"aria-label",l)},d(c){c&&E(e)}}}function _n(i){let e,t,r;function n(l,c){return l[14]?pn:yn}let o=n(i),a=o(i);return{c(){e=b("div"),a.c(),this.c=C,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
32
40
  ${Y(i[8],i[9],i[10],i[11])}
33
- --width: ${i[5]||i[17]}
34
- `),Z(e,"dropdown-native",i[22])},m(o,s){k(o,e,s),a.m(e,null),i[34](e)},p(o,s){l===(l=n(o))&&a?a.p(o,s):(a.d(1),a=l(o),a&&(a.c(),a.m(e,null))),s[0]&1&&t!==(t=`${o[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&134944&&r!==(r=`
35
- ${Y(o[8],o[9],o[10],o[11])}
36
- --width: ${o[5]||o[17]}
37
- `)&&u(e,"style",r),s[0]&4194304&&Z(e,"dropdown-native",o[22])},i:x,o:x,d(o){o&&M(e),a.d(),i[34](null)}}}function on(i,e,t){let r,n,l,a,{name:o}=e,{arialabel:s=""}=e,{value:c=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:p=""}=e,{disabled:y="false"}=e,{error:_="false"}=e,{multiselect:v="false"}=e,{native:w="false"}=e,{mt:C=null}=e,{mr:L=null}=e,{mb:I=null}=e,{ml:z=null}=e,T=[],A=[],H="",N=!1,j=0,re,U,X,ie;q(async()=>{await fe(),t(12,T=Be()),t(13,A=Te()),a||(t(17,re=Oe(A)),tt(),Ie());const R=U.querySelector("slot");R==null||R.addEventListener("slotchange",ae=>{t(14,H=""),t(12,T=Be()),t(13,A=Te())})}),yt(()=>{it()});function oe(){const R=U.querySelector("slot");return R?R.assignedElements():[...(a?ie:U).children]}function Te(){return oe().filter(ae=>ae.tagName==="GOA-DROPDOWN-ITEM").map(ae=>{const se=ae,he=ae.getAttribute("value")||se.value,Pe=ae.getAttribute("label")||se.label||he,Ii=T.includes(he);return Ii&&(t(14,H=Pe),t(12,T=[he])),{selected:Ii,value:he,label:Pe}})}function Oe(R){let ae,se=0;return R.length===0&&h!==""?`${h.length+12}ch`:(R.forEach(he=>{const Pe=he.label||he.value||"";!ae&&se<Pe.length&&(se=Pe.length,ae=`${Math.max(20,se+12)}ch`)}),ae)}function tt(){U.addEventListener("focus",Li,!0),U.addEventListener("blur",Ai,!0)}function it(){U.removeEventListener("focus",Li,!0),U.removeEventListener("blur",Ai,!0)}function Be(){let R;try{R=JSON.parse(c||"[]")}catch{R=[c]}return(typeof R=="object"?R:[R]).map(se=>`${se}`)}async function xe(){r||N||(t(15,N=!0),await fe(),X.addEventListener("blur",ne),X.addEventListener("mouseover",Ti))}function ne(){X.removeEventListener("blur",ne),X.removeEventListener("mouseover",Ti),Ie(),t(15,N=!1)}function Ie(){t(16,j=A.findIndex(R=>T.includes(R.value)))}function pe(R,ae,se){if(r)return;t(14,H=ae);let he;l?(T.push(R),he={name:o,values:T}):(t(12,T=[R]),he={name:o,value:R}),U.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:he})),se&&ne()}const rt=R=>{switch(R.key){case" ":case"Enter":N?ne():xe(),R.preventDefault();break;case"Escape":N&&ne(),R.preventDefault();break;case"ArrowDown":if(R.altKey){N?ne():xe();break}S(),R.preventDefault();break;case"ArrowUp":if(R.altKey){N?ne():xe();break}Ne(),R.preventDefault();break}};function S(){j<A.length-1&&(t(16,j++,j),pe(A[j].value,A[j].label,!1))}function Ne(){j>0&&(t(16,j--,j),pe(A[j].value,A[j].label,!1))}function Li(){U.addEventListener("keydown",rt)}function Ai(){U.removeEventListener("keydown",rt)}function Ti(R){t(16,j=Number(R.target.dataset.index))}function lo(R){const ae=R.currentTarget,se=A[ae.selectedIndex];pe(se.value,se.label)}function so(R){J[R?"unshift":"push"](()=>{ie=R,t(20,ie),t(13,A)})}const co=R=>pe(R.value,R.label,!0);function uo(R){J[R?"unshift":"push"](()=>{X=R,t(19,X)})}function fo(R){J[R?"unshift":"push"](()=>{U=R,t(18,U)})}return i.$$set=R=>{"name"in R&&t(0,o=R.name),"arialabel"in R&&t(1,s=R.arialabel),"value"in R&&t(28,c=R.value),"leadingicon"in R&&t(2,d=R.leadingicon),"maxheight"in R&&t(3,f=R.maxheight),"placeholder"in R&&t(4,h=R.placeholder),"width"in R&&t(5,p=R.width),"disabled"in R&&t(6,y=R.disabled),"error"in R&&t(7,_=R.error),"multiselect"in R&&t(29,v=R.multiselect),"native"in R&&t(30,w=R.native),"mt"in R&&t(8,C=R.mt),"mr"in R&&t(9,L=R.mr),"mb"in R&&t(10,I=R.mb),"ml"in R&&t(11,z=R.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(21,r=F(y)),i.$$.dirty[0]&128&&t(23,n=F(_)),i.$$.dirty[0]&536870912&&(l=F(v)),i.$$.dirty[0]&1073741824&&t(22,a=F(w))},[o,s,d,f,h,p,y,_,C,L,I,z,T,A,H,N,j,re,U,X,ie,r,a,n,xe,ne,pe,lo,c,v,w,so,co,uo,fo]}class ln extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--goa-color-greyscale-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--goa-color-greyscale-700)}.dropdown-item--selected{background:var(--goa-color-interactive-default);color:var(--goa-color-greyscale-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive-hover);color:var(--goa-color-greyscale-white)}.dropdown-native{border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-white);transition:box-shadow 0.1s ease-in}.dropdown-native:has(select:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive-error)}.dropdown-native:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}select{border:none;background-color:transparent;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);appearance:none;padding:calc(var(--goa-space-xs) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},on,an,O,{name:0,arialabel:1,value:28,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:29,native:30,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),g()}get value(){return this.$$.ctx[28]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[29]}set multiselect(e){this.$$set({multiselect:e}),g()}get native(){return this.$$.ctx[30]}set native(e){this.$$set({native:e}),g()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-dropdown",ln);function sn(i){return{c(){this.c=x},m:x,p:x,i:x,o:x,d:x}}class cn extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,sn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",cn);function dn(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
41
+ --width: ${i[5]||i[19]}
42
+ `),F(e,"dropdown-native",i[14])},m(l,c){k(l,e,c),a.m(e,null),i[35](e)},p(l,c){o===(o=n(l))&&a?a.p(l,c):(a.d(1),a=o(l),a&&(a.c(),a.m(e,null))),c[0]&1&&t!==(t=`${l[0]}-dropdown`)&&u(e,"data-testid",t),c[0]&528160&&r!==(r=`
43
+ ${Y(l[8],l[9],l[10],l[11])}
44
+ --width: ${l[5]||l[19]}
45
+ `)&&u(e,"style",r),c[0]&16384&&F(e,"dropdown-native",l[14])},i:C,o:C,d(l){l&&E(e),a.d(),i[35](null)}}}function Wt(i){let e;try{e=JSON.parse(i||"[]")}catch{e=[i]}return(typeof e=="object"?e:[e]).map(r=>`${r}`)}function kn(i,e,t){let r,n,o,a,{name:l}=e,{arialabel:c=""}=e,{value:s=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:w=""}=e,{disabled:y="false"}=e,{error:p="false"}=e,{multiselect:v="false"}=e,{native:_="false"}=e,{mt:z=null}=e,{mr:D=null}=e,{mb:A=null}=e,{ml:M=null}=e,H=[],I=[],T="",L=!1,S=0,re,ie="auto",R,ee,ne;Q(async()=>{const j=R.querySelector("slot");j==null||j.addEventListener("slotchange",oe=>{t(16,T=""),t(15,H=Wt(s)),t(12,I=Re())})}),Mt(()=>{ot()});function Me(){const j=R.querySelector("slot");return j?j.assignedElements():[...(a?ne:R).children]}function Re(){return Me().filter(oe=>oe.tagName==="GOA-DROPDOWN-ITEM").map(oe=>{const ge=oe,he=oe.getAttribute("value")||ge.value,Ge=oe.getAttribute("label")||ge.label||he,Ui=H.includes(he);return Ui&&(t(16,T=Ge),t(15,H=[he])),{selected:Ui,value:he,label:Ge}})}function rt(j){let oe,ge=0;return j.length===0&&h!==""?`${h.length+12}ch`:(j.forEach(he=>{const Ge=he.label||he.value||"";!oe&&ge<Ge.length&&(ge=Ge.length,oe=`${Math.max(20,ge+12)}ch`)}),oe)}function nt(){R.addEventListener("focus",lt,!0),R.addEventListener("blur",V,!0)}function ot(){R.removeEventListener("focus",lt,!0),R.removeEventListener("blur",V,!0)}async function xe(){r||L||(t(17,L=!0),await me(),ee.addEventListener("blur",le),ee.addEventListener("mouseover",we),ze())}function le(){ee.removeEventListener("blur",le),ee.removeEventListener("mouseover",we),Pe(),t(17,L=!1),t(20,ie="auto")}function ze(){const j=R.getBoundingClientRect(),oe=ee.getBoundingClientRect();window.innerHeight-j.top<j.height+oe.height&&t(20,ie=oe.top-j.top+"px")}function Pe(){t(18,S=I.findIndex(j=>H.includes(j.value)))}function _e(j,oe,ge){if(r)return;t(16,T=oe);let he;o?(H.push(j),he={name:l,values:H}):(t(15,H=[j]),he={name:l,value:j}),R.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:he})),ge&&le()}const je=j=>{switch(j.key){case" ":case"Enter":L?le():xe(),j.preventDefault();break;case"Escape":L&&le(),j.preventDefault();break;case"ArrowDown":if(j.altKey){L?le():xe();break}at(),j.preventDefault();break;case"ArrowUp":if(j.altKey){L?le():xe();break}vt(),j.preventDefault();break}};function at(){S<I.length-1&&(t(18,S++,S),_e(I[S].value,I[S].label,!1))}function vt(){S>0&&(t(18,S--,S),_e(I[S].value,I[S].label,!1))}function lt(){R.addEventListener("keydown",je)}function V(){R.removeEventListener("keydown",je)}function we(j){t(18,S=Number(j.target.dataset.index))}function Sa(j){const oe=j.currentTarget,ge=I[oe.selectedIndex];_e(ge.value,ge.label)}function Ba(j){W[j?"unshift":"push"](()=>{ne=j,t(22,ne),t(12,I),t(13,R),t(29,s),t(14,a),t(31,_)})}const Oa=j=>_e(j.value,j.label,!0);function Za(j){W[j?"unshift":"push"](()=>{ee=j,t(21,ee)})}function Pa(j){W[j?"unshift":"push"](()=>{R=j,t(13,R)})}return i.$$set=j=>{"name"in j&&t(0,l=j.name),"arialabel"in j&&t(1,c=j.arialabel),"value"in j&&t(29,s=j.value),"leadingicon"in j&&t(2,d=j.leadingicon),"maxheight"in j&&t(3,f=j.maxheight),"placeholder"in j&&t(4,h=j.placeholder),"width"in j&&t(5,w=j.width),"disabled"in j&&t(6,y=j.disabled),"error"in j&&t(7,p=j.error),"multiselect"in j&&t(30,v=j.multiselect),"native"in j&&t(31,_=j.native),"mt"in j&&t(8,z=j.mt),"mr"in j&&t(9,D=j.mr),"mb"in j&&t(10,A=j.mb),"ml"in j&&t(11,M=j.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(23,r=K(y)),i.$$.dirty[0]&128&&t(24,n=K(p)),i.$$.dirty[0]&1073741824&&(o=K(v)),i.$$.dirty[1]&1&&t(14,a=K(_)),i.$$.dirty[0]&536899584&&R&&(t(15,H=Wt(s)),t(12,I=Re()),a||(t(19,re=rt(I)),nt(),Pe()))},[l,c,d,f,h,w,y,p,z,D,A,M,I,R,a,H,T,L,S,re,ie,ee,ne,r,n,xe,le,_e,Sa,s,v,_,Ba,Oa,Za,Pa]}class Cn extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:var(--width, 100%)}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99;bottom:var(--bottom);scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--goa-color-greyscale-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--goa-color-greyscale-700)}.dropdown-item--selected{background:var(--goa-color-interactive-default);color:var(--goa-color-greyscale-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive-hover);color:var(--goa-color-greyscale-white)}.dropdown-native{border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-white);transition:box-shadow 0.1s ease-in}.dropdown-native:has(select:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive-error)}.dropdown-native:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}select{border:none;background-color:transparent;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);appearance:none;padding:calc(var(--goa-space-xs) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},kn,_n,O,{name:0,arialabel:1,value:29,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:30,native:31,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),g()}get value(){return this.$$.ctx[29]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[30]}set multiselect(e){this.$$set({multiselect:e}),g()}get native(){return this.$$.ctx[31]}set native(e){this.$$set({native:e}),g()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-dropdown",Cn);function Mn(i){return{c(){this.c=C},m:C,p:C,i:C,o:C,d:C}}class xn extends Z{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Mn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",xn);function zn(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
38
46
 
39
- <span tabindex="0"></span>`,this.c=x},m(t,r){k(t,e,r),i[4](e)},p:x,i:x,o:x,d(t){t&&M(e),i[4](null)}}}function un(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function fn(i,e,t){let r,{active:n}=e,l=!1,a,o,s=!1;function c(){document.removeEventListener("focus",C,!0)}function d(){document.addEventListener("focus",C,!0)}function f(I){if(!I)return!1;for(const z of I)if(w(z)||f(z.childNodes)||h(z)||p(z))return!0;return!1}function h(I){if(!(I instanceof HTMLSlotElement))return!1;if(f(I.assignedNodes()))return!0}function p(I){var z;if(!(I instanceof HTMLElement))return!1;if(f((z=I.shadowRoot)===null||z===void 0?void 0:z.childNodes))return!0}function y(I){if(!I)return!1;for(let z=I.length-1;z>=0;z--){let T=I[z];if(w(T)||y(T.childNodes)||_(T)||v(T))return!0}return!1}function _(I){if(!(I instanceof HTMLSlotElement))return!1;if(y(I.assignedNodes()))return!0}function v(I){var z;if(!(I instanceof HTMLElement))return!1;if(y((z=I.shadowRoot)===null||z===void 0?void 0:z.childNodes))return!0}function w(I){if(!un(I))return!1;try{l=!0,I&&I.focus()}finally{l=!1}return document.activeElement===I}function C(I){var z;if(l)return;const T=(z=o.firstChild)===null||z===void 0?void 0:z.assignedElements();if(!(T==null?void 0:T.length))return;const A=T[0];if(I.composedPath().includes(A)){a=I.target;return}f(A.childNodes),a==document.activeElement&&y(A.childNodes),a=document.activeElement}function L(I){J[I?"unshift":"push"](()=>{o=I,t(0,o)})}return i.$$set=I=>{"active"in I&&t(1,n=I.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=F(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,L]}class gn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>div{display:inline}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},fn,dn,O,{active:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),g()}}customElements.define("goa-focus-trap",gn);function Yt(i){let e;return{c(){e=b("goa-divider"),E(e,"spacing","small")},m(t,r){k(t,e,r)},d(t){t&&M(e)}}}function hn(i){let e,t,r,n,l,a,o,s,c,d,f,h,p,y=i[2]&&i[2].length>0&&Yt();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=D(),y&&y.c(),l=D(),a=b("div"),o=b("div"),o.innerHTML='<slot name="meta"></slot>',s=D(),c=b("div"),d=b("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; xmlns:xlink=&#39;http://www.w3.org/1999/xlink&#39; width=&#39;149.351&#39; height=&#39;42&#39; viewBox=&#39;0 0 149.351 42&#39;%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id=&#39;a&#39;%3E%3Crect class=&#39;a&#39; width=&#39;149.351&#39; height=&#39;42&#39;/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class=&#39;b&#39;%3E%3Crect class=&#39;c&#39; width=&#39;13.555&#39; height=&#39;13.555&#39; transform=&#39;translate(135.796 21.524)&#39;/%3E%3Cpath class=&#39;d&#39; d=&#39;M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83&#39; transform=&#39;translate(-0.038 0.124)&#39;/%3E%3C/g%3E%3C/svg%3E"/>',f=D(),h=b("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=x,u(r,"class","nav-links"),u(o,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(c,"class","abgov"),Z(c,"with-meta-links",i[3]&&i[3].length>0),u(a,"class","meta-section"),Z(a,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",p=`--max-content-width: ${i[0]||"100%"}`)},m(_,v){k(_,e,v),m(e,t),m(t,r),m(t,n),y&&y.m(t,null),m(t,l),m(t,a),m(a,o),m(a,s),m(a,c),m(c,d),m(c,f),m(c,h),i[5](e)},p(_,[v]){_[2]&&_[2].length>0?y||(y=Yt(),y.c(),y.m(t,l)):y&&(y.d(1),y=null),v&8&&Z(c,"with-meta-links",_[3]&&_[3].length>0),v&8&&Z(a,"with-meta-links",_[3]&&_[3].length>0),v&1&&p!==(p=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",p)},i:x,o:x,d(_){_&&M(e),y&&y.d(),i[5](null)}}}function mn(i,e,t){let{maxcontentwidth:r=""}=e,n,l,a;const o=new Date().getFullYear();q(async()=>{await fe();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){J[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,a,o,s]}class bn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mn,hn,O,{maxcontentwidth:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-footer",bn);function Vt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Ft(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=b("li"),t=b("a"),n=V(r),u(t,"href",l=i[3].href)},m(a,o){k(a,e,o),m(e,t),m(t,n)},p(a,o){o&2&&r!==(r=a[3].innerHTML+"")&&W(n,r),o&2&&l!==(l=a[3].href)&&u(t,"href",l)},d(a){a&&M(e)}}}function vn(i){let e,t,r,n,l=i[1],a=[];for(let o=0;o<l.length;o+=1)a[o]=Ft(Vt(i,l,o));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=D(),n=b("ul");for(let o=0;o<a.length;o+=1)a[o].c();this.c=x,u(t,"class","hidden")},m(o,s){k(o,e,s),m(e,t),m(e,r),m(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(o,[s]){if(s&2){l=o[1];let c;for(c=0;c<l.length;c+=1){const d=Vt(o,l,c);a[c]?a[c].p(d,s):(a[c]=Ft(d),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=l.length}},i:x,o:x,d(o){o&&M(e),Ve(a,o),i[2](null)}}}function yn(i,e,t){let r,n=[];q(async()=>{if(await fe(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function l(a){J[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,l]}class wn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yn,vn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",wn);function qt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Qt(i){let e,t,r,n;return{c(){e=b("div"),t=V(i[0]),r=D(),n=b("goa-divider"),u(e,"class","title"),E(n,"spacing","small")},m(l,a){k(l,e,a),m(e,t),k(l,r,a),k(l,n,a)},p(l,a){a&1&&W(t,l[0])},d(l){l&&M(e),l&&M(r),l&&M(n)}}}function Ut(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=b("li"),t=b("a"),n=V(r),u(t,"href",l=i[5].href)},m(a,o){k(a,e,o),m(e,t),m(t,n)},p(a,o){o&8&&r!==(r=a[5].innerHTML+"")&&W(n,r),o&8&&l!==(l=a[5].href)&&u(t,"href",l)},d(a){a&&M(e)}}}function _n(i){let e,t,r,n,l,a,o=i[0]&&Qt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Ut(qt(i,s,d));return{c(){e=b("section"),o&&o.c(),t=D(),r=b("div"),r.innerHTML="<slot></slot>",n=D(),l=b("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=x,u(r,"class","hidden"),u(l,"class","links"),u(l,"style",a=`
47
+ <span tabindex="0"></span>`,this.c=C},m(t,r){k(t,e,r),i[4](e)},p:C,i:C,o:C,d(t){t&&E(e),i[4](null)}}}function En(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Ln(i,e,t){let r,{active:n}=e,o=!1,a,l,c=!1;function s(){document.removeEventListener("focus",z,!0)}function d(){document.addEventListener("focus",z,!0)}function f(A){if(!A)return!1;for(const M of A)if(_(M)||f(M.childNodes)||h(M)||w(M))return!0;return!1}function h(A){if(!(A instanceof HTMLSlotElement))return!1;if(f(A.assignedNodes()))return!0}function w(A){var M;if(!(A instanceof HTMLElement))return!1;if(f((M=A.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function y(A){if(!A)return!1;for(let M=A.length-1;M>=0;M--){let H=A[M];if(_(H)||y(H.childNodes)||p(H)||v(H))return!0}return!1}function p(A){if(!(A instanceof HTMLSlotElement))return!1;if(y(A.assignedNodes()))return!0}function v(A){var M;if(!(A instanceof HTMLElement))return!1;if(y((M=A.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function _(A){if(!En(A))return!1;try{o=!0,A&&A.focus()}finally{o=!1}return document.activeElement===A}function z(A){var M;if(o)return;const H=(M=l.firstChild)===null||M===void 0?void 0:M.assignedElements();if(!(H==null?void 0:H.length))return;const I=H[0];if(A.composedPath().includes(I)){a=A.target;return}f(I.childNodes),a==document.activeElement&&y(I.childNodes),a=document.activeElement}function D(A){W[A?"unshift":"push"](()=>{l=A,t(0,l)})}return i.$$set=A=>{"active"in A&&t(1,n=A.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=K(n)),i.$$.dirty&12&&(r&&!c&&(d(),t(2,c=!0)),!r&&c&&(s(),t(2,c=!1)))},[l,n,c,r,D]}class Hn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>div{display:inline}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ln,zn,O,{active:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),g()}}customElements.define("goa-focus-trap",Hn);function Qt(i){let e;return{c(){e=b("goa-divider"),x(e,"spacing","small")},m(t,r){k(t,e,r)},d(t){t&&E(e)}}}function An(i){let e,t,r,n,o,a,l,c,s,d,f,h,w,y=i[2]&&i[2].length>0&&Qt();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=N(),y&&y.c(),o=N(),a=b("div"),l=b("div"),l.innerHTML='<slot name="meta"></slot>',c=N(),s=b("div"),d=b("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; xmlns:xlink=&#39;http://www.w3.org/1999/xlink&#39; width=&#39;149.351&#39; height=&#39;42&#39; viewBox=&#39;0 0 149.351 42&#39;%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id=&#39;a&#39;%3E%3Crect class=&#39;a&#39; width=&#39;149.351&#39; height=&#39;42&#39;/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class=&#39;b&#39;%3E%3Crect class=&#39;c&#39; width=&#39;13.555&#39; height=&#39;13.555&#39; transform=&#39;translate(135.796 21.524)&#39;/%3E%3Cpath class=&#39;d&#39; d=&#39;M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83&#39; transform=&#39;translate(-0.038 0.124)&#39;/%3E%3C/g%3E%3C/svg%3E"/>',f=N(),h=b("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=C,u(r,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(s,"class","abgov"),F(s,"with-meta-links",i[3]&&i[3].length>0),u(a,"class","meta-section"),F(a,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",w=`--max-content-width: ${i[0]||"100%"}`)},m(p,v){k(p,e,v),m(e,t),m(t,r),m(t,n),y&&y.m(t,null),m(t,o),m(t,a),m(a,l),m(a,c),m(a,s),m(s,d),m(s,f),m(s,h),i[5](e)},p(p,[v]){p[2]&&p[2].length>0?y||(y=Qt(),y.c(),y.m(t,o)):y&&(y.d(1),y=null),v&8&&F(s,"with-meta-links",p[3]&&p[3].length>0),v&8&&F(a,"with-meta-links",p[3]&&p[3].length>0),v&1&&w!==(w=`--max-content-width: ${p[0]||"100%"}`)&&u(e,"style",w)},i:C,o:C,d(p){p&&E(e),y&&y.d(),i[5](null)}}}function Tn(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();Q(async()=>{await me();const s=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,o=s.assignedElements()),t(3,a=d.assignedElements())});function c(s){W[s?"unshift":"push"](()=>{n=s,t(1,n)})}return i.$$set=s=>{"maxcontentwidth"in s&&t(0,r=s.maxcontentwidth)},[r,n,o,a,l,c]}class In extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Tn,An,O,{maxcontentwidth:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-footer",In);function Kt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Xt(i){let e,t,r=i[3].innerHTML+"",n,o;return{c(){e=b("li"),t=b("a"),n=B(r),u(t,"href",o=i[3].href)},m(a,l){k(a,e,l),m(e,t),m(t,n)},p(a,l){l&2&&r!==(r=a[3].innerHTML+"")&&U(n,r),l&2&&o!==(o=a[3].href)&&u(t,"href",o)},d(a){a&&E(e)}}}function Dn(i){let e,t,r,n,o=i[1],a=[];for(let l=0;l<o.length;l+=1)a[l]=Xt(Kt(i,o,l));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=N(),n=b("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=C,u(t,"class","hidden")},m(l,c){k(l,e,c),m(e,t),m(e,r),m(e,n);for(let s=0;s<a.length;s+=1)a[s].m(n,null);i[2](e)},p(l,[c]){if(c&2){o=l[1];let s;for(s=0;s<o.length;s+=1){const d=Kt(l,o,s);a[s]?a[s].p(d,c):(a[s]=Xt(d),a[s].c(),a[s].m(n,null))}for(;s<a.length;s+=1)a[s].d(1);a.length=o.length}},i:C,o:C,d(l){l&&E(e),He(a,l),i[2](null)}}}function Nn(i,e,t){let r,n=[];Q(async()=>{if(await me(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(l=>l.hasAttribute("href")).reduce((l,c)=>l&&c,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function o(a){W[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,o]}class Rn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Nn,Dn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",Rn);function Jt(i,e,t){const r=i.slice();return r[5]=e[t],r}function $t(i){let e,t,r,n;return{c(){e=b("div"),t=B(i[0]),r=N(),n=b("goa-divider"),u(e,"class","title"),x(n,"spacing","small")},m(o,a){k(o,e,a),m(e,t),k(o,r,a),k(o,n,a)},p(o,a){a&1&&U(t,o[0])},d(o){o&&E(e),o&&E(r),o&&E(n)}}}function ei(i){let e,t,r=i[5].innerHTML+"",n,o;return{c(){e=b("li"),t=b("a"),n=B(r),u(t,"href",o=i[5].href)},m(a,l){k(a,e,l),m(e,t),m(t,n)},p(a,l){l&8&&r!==(r=a[5].innerHTML+"")&&U(n,r),l&8&&o!==(o=a[5].href)&&u(t,"href",o)},d(a){a&&E(e)}}}function jn(i){let e,t,r,n,o,a,l=i[0]&&$t(i),c=i[3],s=[];for(let d=0;d<c.length;d+=1)s[d]=ei(Jt(i,c,d));return{c(){e=b("section"),l&&l.c(),t=N(),r=b("div"),r.innerHTML="<slot></slot>",n=N(),o=b("ul");for(let d=0;d<s.length;d+=1)s[d].c();this.c=C,u(r,"class","hidden"),u(o,"class","links"),u(o,"style",a=`
40
48
  --narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
41
49
  --narrow-column-count: ${Math.ceil(i[1]/2)};
42
50
  --wide-display-type: ${i[1]>1?"block":"flex"};
43
51
  --wide-column-count: ${i[1]};
44
- `)},m(d,f){k(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,n),m(e,l);for(let h=0;h<c.length;h+=1)c[h].m(l,null);i[4](e)},p(d,[f]){if(d[0]?o?o.p(d,f):(o=Qt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&8){s=d[3];let h;for(h=0;h<s.length;h+=1){const p=qt(d,s,h);c[h]?c[h].p(p,f):(c[h]=Ut(p),c[h].c(),c[h].m(l,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=s.length}f&2&&a!==(a=`
52
+ `)},m(d,f){k(d,e,f),l&&l.m(e,null),m(e,t),m(e,r),m(e,n),m(e,o);for(let h=0;h<s.length;h+=1)s[h].m(o,null);i[4](e)},p(d,[f]){if(d[0]?l?l.p(d,f):(l=$t(d),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&8){c=d[3];let h;for(h=0;h<c.length;h+=1){const w=Jt(d,c,h);s[h]?s[h].p(w,f):(s[h]=ei(w),s[h].c(),s[h].m(o,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=c.length}f&2&&a!==(a=`
45
53
  --narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
46
54
  --narrow-column-count: ${Math.ceil(d[1]/2)};
47
55
  --wide-display-type: ${d[1]>1?"block":"flex"};
48
56
  --wide-column-count: ${d[1]};
49
- `)&&u(l,"style",a)},i:x,o:x,d(d){d&&M(e),o&&o.d(),Ve(c,d),i[4](null)}}}function pn(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,l,a=[];q(async()=>{if(await fe(),t(3,a=l.querySelector("slot").assignedElements()),!a.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}Ct(l,":host",{"flex-grow":n})});function o(s){J[s?"unshift":"push"](()=>{l=s,t(2,l)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,l,a,o]}class kn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text-default)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},pn,_n,O,{heading:0,maxcolumncount:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),g()}}customElements.define("goa-app-footer-nav-section",kn);function Wt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),l=n&&Kt(i);return{c(){e=b("div"),t=V(i[5]),r=D(),l&&l.c(),u(e,"class","label")},m(a,o){k(a,e,o),m(e,t),m(e,r),l&&l.m(e,null)},p(a,o){o&32&&W(t,a[5]),o&256&&(n=a[8]&&a[9].includes(a[8])),n?l?l.p(a,o):(l=Kt(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(a){a&&M(e),l&&l.d()}}}function Kt(i){let e,t,r,n;return{c(){e=b("em"),t=V("("),r=V(i[8]),n=V(")")},m(l,a){k(l,e,a),m(e,t),m(e,r),m(e,n)},p(l,a){a&256&&W(r,l[8])},d(l){l&&M(e)}}}function Xt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),r=D(),n=V(i[7]),E(t,"type","warning"),E(t,"size","small"),E(t,"theme","filled"),$(t,"pointer-events","none"),u(e,"class","error-msg")},m(l,a){k(l,e,a),m(e,t),m(e,r),m(e,n)},p(l,a){a&128&&W(n,l[7])},d(l){l&&M(e)}}}function Jt(i){let e,t;return{c(){e=b("div"),t=V(i[6]),u(e,"class","help-msg")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&64&&W(t,r[6])},d(r){r&&M(e)}}}function xn(i){let e,t,r,n,l,a,o=i[5]&&Wt(i),s=i[7]&&Xt(i),c=i[6]&&Jt(i);return{c(){e=b("div"),o&&o.c(),t=D(),r=b("div"),r.innerHTML="<slot></slot>",n=D(),s&&s.c(),l=D(),c&&c.c(),this.c=x,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",a=Y(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){k(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,n),s&&s.m(e,null),m(e,l),c&&c.m(e,null)},p(d,[f]){d[5]?o?o.p(d,f):(o=Wt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),d[7]?s?s.p(d,f):(s=Xt(d),s.c(),s.m(e,l)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Jt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&a!==(a=Y(d[1],d[2],d[3],d[4]))&&u(e,"style",a)},i:x,o:x,d(d){d&&M(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function En(i,e,t){const[r,n]=ee("Requirement type",["optional","required"],!1);let{testid:l=""}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:p=""}=e;return q(()=>{n(p)}),i.$$set=y=>{"testid"in y&&t(0,l=y.testid),"mt"in y&&t(1,a=y.mt),"mr"in y&&t(2,o=y.mr),"mb"in y&&t(3,s=y.mb),"ml"in y&&t(4,c=y.ml),"label"in y&&t(5,d=y.label),"helptext"in y&&t(6,f=y.helptext),"error"in y&&t(7,h=y.error),"requirement"in y&&t(8,p=y.requirement)},[l,a,o,s,c,d,f,h,p,r]}class zn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:0.5rem 0}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},En,xn,O,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),g()}}customElements.define("goa-form-item",zn);function Cn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","goa-grid"),u(e,"style",r=`
57
+ `)&&u(o,"style",a)},i:C,o:C,d(d){d&&E(e),l&&l.d(),He(s,d),i[4](null)}}}function Vn(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,o,a=[];Q(async()=>{if(await me(),t(3,a=o.querySelector("slot").assignedElements()),!a.map(s=>s.hasAttribute("href")).reduce((s,d)=>s&&d,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}It(o,":host",{"flex-grow":n})});function l(c){W[c?"unshift":"push"](()=>{o=c,t(2,o)})}return i.$$set=c=>{"heading"in c&&t(0,r=c.heading),"maxcolumncount"in c&&t(1,n=c.maxcolumncount)},[r,n,o,a,l]}class Sn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text-default)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Vn,jn,O,{heading:0,maxcolumncount:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),g()}}customElements.define("goa-app-footer-nav-section",Sn);function ti(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),o=n&&ii(i);return{c(){e=b("div"),t=B(i[5]),r=N(),o&&o.c(),u(e,"class","label")},m(a,l){k(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&32&&U(t,a[5]),l&256&&(n=a[8]&&a[9].includes(a[8])),n?o?o.p(a,l):(o=ii(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(a){a&&E(e),o&&o.d()}}}function ii(i){let e,t,r,n;return{c(){e=b("em"),t=B("("),r=B(i[8]),n=B(")")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&256&&U(r,o[8])},d(o){o&&E(e)}}}function ri(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),r=N(),n=B(i[7]),x(t,"type","warning"),x(t,"size","small"),x(t,"theme","filled"),J(t,"pointer-events","none"),u(e,"class","error-msg")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&128&&U(n,o[7])},d(o){o&&E(e)}}}function ni(i){let e,t;return{c(){e=b("div"),t=B(i[6]),u(e,"class","help-msg")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&64&&U(t,r[6])},d(r){r&&E(e)}}}function Bn(i){let e,t,r,n,o,a,l=i[5]&&ti(i),c=i[7]&&ri(i),s=i[6]&&ni(i);return{c(){e=b("div"),l&&l.c(),t=N(),r=b("div"),r.innerHTML="<slot></slot>",n=N(),c&&c.c(),o=N(),s&&s.c(),this.c=C,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",a=Y(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){k(d,e,f),l&&l.m(e,null),m(e,t),m(e,r),m(e,n),c&&c.m(e,null),m(e,o),s&&s.m(e,null)},p(d,[f]){d[5]?l?l.p(d,f):(l=ti(d),l.c(),l.m(e,t)):l&&(l.d(1),l=null),d[7]?c?c.p(d,f):(c=ri(d),c.c(),c.m(e,o)):c&&(c.d(1),c=null),d[6]?s?s.p(d,f):(s=ni(d),s.c(),s.m(e,null)):s&&(s.d(1),s=null),f&1&&u(e,"data-testid",d[0]),f&30&&a!==(a=Y(d[1],d[2],d[3],d[4]))&&u(e,"style",a)},i:C,o:C,d(d){d&&E(e),l&&l.d(),c&&c.d(),s&&s.d()}}}function On(i,e,t){const[r,n]=$("Requirement type",["optional","required"],!1);let{testid:o=""}=e,{mt:a=null}=e,{mr:l=null}=e,{mb:c=null}=e,{ml:s=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:w=""}=e;return Q(()=>{n(w)}),i.$$set=y=>{"testid"in y&&t(0,o=y.testid),"mt"in y&&t(1,a=y.mt),"mr"in y&&t(2,l=y.mr),"mb"in y&&t(3,c=y.mb),"ml"in y&&t(4,s=y.ml),"label"in y&&t(5,d=y.label),"helptext"in y&&t(6,f=y.helptext),"error"in y&&t(7,h=y.error),"requirement"in y&&t(8,w=y.requirement)},[o,a,l,c,s,d,f,h,w,r]}class Zn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:0.5rem 0}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},On,Bn,O,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),g()}}customElements.define("goa-form-item",Zn);function Pn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"class","goa-grid"),u(e,"style",r=`
50
58
  ${Y(i[2],i[3],i[4],i[5])}
51
59
  --min-child-width: ${i[1]||0};
52
60
  gap: var(--goa-space-${i[0]})
53
- `)},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&63&&r!==(r=`
61
+ `)},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&63&&r!==(r=`
54
62
  ${Y(n[2],n[3],n[4],n[5])}
55
63
  --min-child-width: ${n[1]||0};
56
64
  gap: var(--goa-space-${n[0]})
57
- `)&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function Mn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return q(()=>{et("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,l=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,a,o,s]}class Ln extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Mn,Cn,O,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-grid",Ln);function An(i){let e,t,r,n,l,a,o,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=V(i[0]),l=D(),a=b("div"),a.innerHTML="<slot></slot>",o=D(),s=b("slot"),this.c=x,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),E(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),$(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),$(e,"background-size","cover"),$(e,"background-position","center"),$(e,"background-repeat","no-repeat"),$(e,"min-height",i[2])},m(c,d){k(c,e,d),m(e,t),m(t,r),m(r,n),m(t,l),m(t,a),m(t,o),m(t,s)},p(c,[d]){d&1&&W(n,c[0]),d&2&&$(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")"),d&4&&$(e,"min-height",c[2])},i:x,o:x,d(c){c&&M(e)}}}function Tn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e,{minheight:l="600px"}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"backgroundurl"in a&&t(1,n=a.backgroundurl),"minheight"in a&&t(2,l=a.minheight)},[r,n,l]}class In extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand-default);color:var(--goa-color-greyscale-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--goa-color-greyscale-white);font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Tn,An,O,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),g()}}customElements.define("goa-hero-banner",In);function Nn(i){let e,t,r,n,l;return{c(){e=b("button"),t=b("goa-icon"),this.c=x,E(t,"title",i[3]),E(t,"type",i[0]),E(t,"size",i[1]),E(t,"theme",i[2]),E(t,"inverted",i[9]),u(e,"style",r=""+(Y(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(a,o){k(a,e,o),m(e,t),n||(l=Q(e,"click",Dn),n=!0)},p(a,[o]){o&8&&E(t,"title",a[3]),o&1&&E(t,"type",a[0]),o&2&&E(t,"size",a[1]),o&4&&E(t,"theme",a[2]),o&512&&E(t,"inverted",a[9]),o&1504&&r!==(r=""+(Y(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&u(e,"style",r),o&8&&u(e,"title",a[3]),o&2048&&(e.disabled=a[11]),o&4096&&u(e,"class",a[12]),o&16&&u(e,"data-testid",a[4])},i:x,o:x,d(a){a&&M(e),n=!1,l()}}}function Dn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function Hn(i,e,t){let r,n,l,a;const[o,s]=ee("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:p=""}=e,{testid:y=""}=e,{disabled:_="false"}=e,{inverted:v="false"}=e,{mt:w=null}=e,{mr:C=null}=e,{mb:L=null}=e,{ml:I=null}=e;return q(()=>{s(h)}),i.$$set=z=>{"icon"in z&&t(0,c=z.icon),"size"in z&&t(1,d=z.size),"theme"in z&&t(2,f=z.theme),"variant"in z&&t(13,h=z.variant),"title"in z&&t(3,p=z.title),"testid"in z&&t(4,y=z.testid),"disabled"in z&&t(14,_=z.disabled),"inverted"in z&&t(15,v=z.inverted),"mt"in z&&t(5,w=z.mt),"mr"in z&&t(6,C=z.mr),"mb"in z&&t(7,L=z.mb),"ml"in z&&t(8,I=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,l=F(v)),i.$$.dirty&8704&&t(12,r=`${h} ${l?"inverted":""}`),i.$$.dirty&16384&&t(11,n=F(_)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,p,y,w,C,L,I,l,a,n,r,h,_,v]}class jn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--goa-font-family-sans)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive-default);fill:var(--goa-color-interactive-default);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus,button:active{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-interactive-focus);color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-interactive-hover)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Hn,Nn,O,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-icon-button",jn);function $t(i){let e,t;function r(a,o){return o&16&&(e=null),e==null&&(e=!!Object.keys(a[13]).includes(a[4])),e?Sn:Rn}let n=r(i,-1),l=n(i);return{c(){l.c(),t=_e()},m(a,o){l.m(a,o),k(a,t,o)},p(a,o){n===(n=r(a,o))&&l?l.p(a,o):(l.d(1),l=n(a),l&&(l.c(),l.m(t.parentNode,t)))},d(a){l.d(a),a&&M(t)}}}function Rn(i){let e,t;return{c(){e=b("ion-icon"),E(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){k(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&E(e,"name",t)},d(r){r&&M(e)}}}function Sn(i){let e,t,r=i[13][i[4]]+"",n,l;return{c(){e=b("div"),t=new Bi(!1),n=D(),l=b("span"),t.a=n,u(e,"class","icon-override")},m(a,o){k(a,e,o),t.m(r,e),m(e,n),m(e,l)},p(a,o){o&16&&r!==(r=a[13][a[4]]+"")&&t.p(r)},d(a){a&&M(e)}}}function On(i){let e,t,r=i[4]&&$t(i);return{c(){e=b("div"),r&&r.c(),this.c=x,u(e,"class","goa-icon"),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",t=`
65
+ `)&&u(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function Gn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:l=null}=e,{ml:c=null}=e;return Q(()=>{it("Grid",{minchildwidth:n})}),i.$$set=s=>{"gap"in s&&t(0,r=s.gap),"minchildwidth"in s&&t(1,n=s.minchildwidth),"mt"in s&&t(2,o=s.mt),"mr"in s&&t(3,a=s.mr),"mb"in s&&t(4,l=s.mb),"ml"in s&&t(5,c=s.ml)},[r,n,o,a,l,c]}class Fn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gn,Pn,O,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-grid",Fn);function Yn(i){let e,t,r,n,o,a,l,c;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=B(i[0]),o=N(),a=b("div"),a.innerHTML="<slot></slot>",l=N(),c=b("slot"),this.c=C,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(c,"name","actions"),x(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),J(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),J(e,"background-size","cover"),J(e,"background-position","center"),J(e,"background-repeat","no-repeat"),J(e,"min-height",i[2])},m(s,d){k(s,e,d),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,c)},p(s,[d]){d&1&&U(n,s[0]),d&2&&J(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+s[1]+")"),d&4&&J(e,"min-height",s[2])},i:C,o:C,d(s){s&&E(e)}}}function qn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e,{minheight:o="600px"}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"backgroundurl"in a&&t(1,n=a.backgroundurl),"minheight"in a&&t(2,o=a.minheight)},[r,n,o]}class Un extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand-default);color:var(--goa-color-greyscale-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--goa-color-greyscale-white);font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qn,Yn,O,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),g()}}customElements.define("goa-hero-banner",Un);function Wn(i){let e,t,r,n,o;return{c(){e=b("button"),t=b("goa-icon"),this.c=C,x(t,"title",i[3]),x(t,"type",i[0]),x(t,"size",i[1]),x(t,"theme",i[2]),x(t,"inverted",i[9]),u(e,"style",r=""+(Y(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(a,l){k(a,e,l),m(e,t),n||(o=q(e,"click",Qn),n=!0)},p(a,[l]){l&8&&x(t,"title",a[3]),l&1&&x(t,"type",a[0]),l&2&&x(t,"size",a[1]),l&4&&x(t,"theme",a[2]),l&512&&x(t,"inverted",a[9]),l&1504&&r!==(r=""+(Y(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&u(e,"style",r),l&8&&u(e,"title",a[3]),l&2048&&(e.disabled=a[11]),l&4096&&u(e,"class",a[12]),l&16&&u(e,"data-testid",a[4])},i:C,o:C,d(a){a&&E(e),n=!1,o()}}}function Qn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function Kn(i,e,t){let r,n,o,a;const[l,c]=$("Icon Button Variant",["color","nocolor","dark","destructive"],!0);let{icon:s}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:w=""}=e,{testid:y=""}=e,{disabled:p="false"}=e,{inverted:v="false"}=e,{mt:_=null}=e,{mr:z=null}=e,{mb:D=null}=e,{ml:A=null}=e;return Q(()=>{c(h)}),i.$$set=M=>{"icon"in M&&t(0,s=M.icon),"size"in M&&t(1,d=M.size),"theme"in M&&t(2,f=M.theme),"variant"in M&&t(13,h=M.variant),"title"in M&&t(3,w=M.title),"testid"in M&&t(4,y=M.testid),"disabled"in M&&t(14,p=M.disabled),"inverted"in M&&t(15,v=M.inverted),"mt"in M&&t(5,_=M.mt),"mr"in M&&t(6,z=M.mr),"mb"in M&&t(7,D=M.mb),"ml"in M&&t(8,A=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,o=K(v)),i.$$.dirty&8704&&t(12,r=`${h} ${o?"inverted":""}`),i.$$.dirty&16384&&t(11,n=K(p)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[s,d,f,w,y,_,z,D,A,o,a,n,r,h,p,v]}class Xn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--goa-font-family-sans)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive-default);fill:var(--goa-color-interactive-default);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover:not(.destructive){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus:not(.destructive),button:active:not(.destructive){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-interactive-focus);color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-interactive-hover)}.destructive{color:var(--goa-color-emergency-dark);fill:var(--goa-color-emergency-dark)}.destructive:hover{background-color:var(--goa-color-emergency-light);border-color:var(--goa-color-emergency-light);outline:none}.destructive:focus,.destructive:active{background-color:var(--goa-color-emergency-light);border-color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Kn,Wn,O,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-icon-button",Xn);function oi(i){let e,t;function r(a,l){return l&16&&(e=null),e==null&&(e=!!Object.keys(a[13]).includes(a[4])),e?$n:Jn}let n=r(i,-1),o=n(i);return{c(){o.c(),t=pe()},m(a,l){o.m(a,l),k(a,t,l)},p(a,l){n===(n=r(a,l))&&o?o.p(a,l):(o.d(1),o=n(a),o&&(o.c(),o.m(t.parentNode,t)))},d(a){o.d(a),a&&E(t)}}}function Jn(i){let e,t;return{c(){e=b("ion-icon"),x(e,"name",t=i[6]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[6]}`)},m(r,n){k(r,e,n)},p(r,n){n&80&&t!==(t=r[6]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[6]}`)&&x(e,"name",t)},d(r){r&&E(e)}}}function $n(i){let e,t=i[13][i[4]]+"";return{c(){e=b("div"),u(e,"class","icon-override")},m(r,n){k(r,e,n),e.innerHTML=t},p(r,n){n&16&&t!==(t=r[13][r[4]]+"")&&(e.innerHTML=t)},d(r){r&&E(e)}}}function eo(i){let e,t,r,n=i[4]&&oi(i);return{c(){e=b("div"),n&&n.c(),this.c=C,u(e,"class",t=`goa-icon goa-icon--${i[5]}`),u(e,"data-testid",i[11]),u(e,"title",i[10]),u(e,"style",r=`
58
66
  ${Y(i[0],i[1],i[2],i[3])}
59
- --size: ${i[11]};
60
- --fill-color: ${i[6]};
61
- --hover-color: ${i[7]};
62
- --opacity: ${i[8]};
63
- `),Z(e,"inverted",i[12])},m(n,l){k(n,e,l),r&&r.m(e,null)},p(n,[l]){n[4]?r?r.p(n,l):(r=$t(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null),l&1024&&u(e,"data-testid",n[10]),l&512&&u(e,"title",n[9]),l&2511&&t!==(t=`
64
- ${Y(n[0],n[1],n[2],n[3])}
65
- --size: ${n[11]};
66
- --fill-color: ${n[6]};
67
- --hover-color: ${n[7]};
68
- --opacity: ${n[8]};
69
- `)&&u(e,"style",t),l&4096&&Z(e,"inverted",n[12])},i:x,o:x,d(n){n&&M(e),r&&r.d()}}}function Bn(i,e,t){let r,n,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e,{type:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{inverted:h="false"}=e,{fillcolor:p=""}=e,{hovercolor:y=""}=e,{opacity:_=1}=e,{title:v=""}=e,{testid:w=""}=e;const C={pencil:`<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
70
- <path d="M16.1442 5.47956L12.5355 1.87088L13.7196 0.686776C14.0391 0.367257 14.4385 0.212197 14.9178 0.221594C15.3971 0.230992 15.7965 0.39545 16.116 0.714969L17.3283 1.92726C17.6478 2.24678 17.8076 2.64148 17.8076 3.11136C17.8076 3.58124 17.6478 3.97594 17.3283 4.29546L16.1442 5.47956ZM1.03951 17.8424C0.795173 17.8424 0.593125 17.7626 0.433365 17.6028C0.273605 17.443 0.193726 17.241 0.193726 16.9966V14.5721C0.193726 14.4593 0.212521 14.356 0.250112 14.262C0.287702 14.168 0.353485 14.074 0.447461 13.9801L11.4689 2.93435L15.0776 6.54303L4.05615 17.5887C3.96217 17.6827 3.8682 17.7485 3.77422 17.7861C3.68024 17.8236 3.57687 17.8424 3.4641 17.8424H1.03951Z" fill="#333333"/>
71
- </svg>`,checkmark:`<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
72
- <path fill-rule="evenodd" clip-rule="evenodd" d="M6.20129 11.5368L15.9974 0.341265C16.3611 -0.0743717 16.9929 -0.116489 17.4085 0.247193C17.8241 0.610875 17.8663 1.24264 17.5026 1.65827L7.00258 13.6583C6.82032 13.8666 6.5599 13.99 6.28328 13.9992C6.00666 14.0084 5.7386 13.9026 5.54289 13.7069L1.04289 9.20688C0.652369 8.81635 0.652369 8.18319 1.04289 7.79266C1.43342 7.40214 2.06658 7.40214 2.45711 7.79266L6.20129 11.5368Z" fill="#333333"/>
73
- </svg>`,remove:`<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg">
74
- <path d="M1.5 -0.000244141C0.947715 -0.000244141 0.5 0.447471 0.5 0.999756C0.5 1.55204 0.947715 1.99976 1.5 1.99976H15C15.5523 1.99976 16 1.55204 16 0.999756C16 0.447471 15.5523 -0.000244141 15 -0.000244141H1.5Z" fill="#333333"/>
75
- </svg>`};return i.$$set=L=>{"mt"in L&&t(0,l=L.mt),"mr"in L&&t(1,a=L.mr),"mb"in L&&t(2,o=L.mb),"ml"in L&&t(3,s=L.ml),"type"in L&&t(4,c=L.type),"size"in L&&t(14,d=L.size),"theme"in L&&t(5,f=L.theme),"inverted"in L&&t(15,h=L.inverted),"fillcolor"in L&&t(6,p=L.fillcolor),"hovercolor"in L&&t(7,y=L.hovercolor),"opacity"in L&&t(8,_=L.opacity),"title"in L&&t(9,v=L.title),"testid"in L&&t(10,w=L.testid)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=F(h)),i.$$.dirty&16384&&t(11,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[l,a,o,s,c,f,p,y,_,v,w,n,r,C,d,h]}class Pn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.icon-override{display:flex;flex-direction:column;align-items:center}.icon-override *{fill:var(--goa-color-interactive-default)}.inverted *{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Bn,On,O,{mt:0,mr:1,mb:2,ml:3,type:4,size:14,theme:5,inverted:15,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","hovercolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[14]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-icon",Pn);function ei(i){let e,t;return{c(){e=b("div"),t=V(i[14]),u(e,"class","prefix")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n[0]&16384&&W(t,r[14])},d(r){r&&M(e)}}}function ti(i){let e;return{c(){e=b("goa-icon"),E(e,"class","goa-input-leading-icon"),E(e,"data-testid","leading-icon"),E(e,"type",i[5])},m(t,r){k(t,e,r)},p(t,r){r[0]&32&&E(e,"type",t[5])},d(t){t&&M(e)}}}function ii(i){let e;return{c(){e=b("goa-icon"),E(e,"class","goa-input-trailing-icon"),E(e,"data-testid","trailing-icon"),E(e,"size","medium"),E(e,"type",i[6])},m(t,r){k(t,e,r)},p(t,r){r[0]&64&&E(e,"type",t[6])},d(t){t&&M(e)}}}function ri(i){let e,t,r;return{c(){e=b("goa-icon-button"),E(e,"disabled",i[21]),E(e,"variant","nocolor"),E(e,"size","medium"),E(e,"icon",i[6]),E(e,"data-testid","trailing-icon-button")},m(n,l){k(n,e,l),t||(r=Q(e,"click",Zn),t=!0)},p(n,l){l[0]&2097152&&E(e,"disabled",n[21]),l[0]&64&&E(e,"icon",n[6])},d(n){n&&M(e),t=!1,r()}}}function ni(i){let e,t;return{c(){e=b("span"),t=V(i[15]),u(e,"class","suffix")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n[0]&32768&&W(t,r[15])},d(r){r&&M(e)}}}function Gn(i){let e,t,r,n,l,a,o,s,c,d,f,h,p,y,_,v,w,C,L,I=i[14]&&ei(i),z=i[5]&&ti(i),T=i[6]&&!i[24]&&ii(i),A=i[6]&&i[24]&&ri(i),H=i[15]&&ni(i);return{c(){e=b("div"),t=b("div"),I&&I.c(),r=D(),n=b("div"),n.innerHTML='<slot name="leadingContent"></slot>',l=D(),z&&z.c(),a=D(),o=b("input"),f=D(),T&&T.c(),h=D(),A&&A.c(),p=D(),H&&H.c(),y=D(),_=b("div"),_.innerHTML='<slot name="trailingContent"></slot>',this.c=x,u(n,"class","leading-content"),u(o,"class",s=`input--${i[7]}`),u(o,"style",c=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[23],o.disabled=i[21],u(o,"data-testid",i[8]),u(o,"autocapitalize",i[3]),u(o,"name",i[2]),u(o,"type",i[1]),o.value=i[0],u(o,"placeholder",i[4]),u(o,"min",i[11]),u(o,"max",i[12]),u(o,"step",i[13]),u(o,"role","textbox"),u(o,"aria-label",d=i[10]||i[2]),u(_,"class","trailing-content"),u(t,"class",v=`
67
+ ${Ie("--fill-color",i[8])};
68
+ ${Ie("--hover-color",i[7])};
69
+ ${Ie("--opacity",i[9])};
70
+ `),F(e,"inverted",i[12])},m(o,a){k(o,e,a),n&&n.m(e,null)},p(o,[a]){o[4]?n?n.p(o,a):(n=oi(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null),a&32&&t!==(t=`goa-icon goa-icon--${o[5]}`)&&u(e,"class",t),a&2048&&u(e,"data-testid",o[11]),a&1024&&u(e,"title",o[10]),a&911&&r!==(r=`
71
+ ${Y(o[0],o[1],o[2],o[3])}
72
+ ${Ie("--fill-color",o[8])};
73
+ ${Ie("--hover-color",o[7])};
74
+ ${Ie("--opacity",o[9])};
75
+ `)&&u(e,"style",r),a&4128&&F(e,"inverted",o[12])},i:C,o:C,d(o){o&&E(e),n&&n.d()}}}function to(i,e,t){let r,{mt:n=null}=e,{mr:o=null}=e,{mb:a=null}=e,{ml:l=null}=e,{type:c}=e,{size:s="medium"}=e,{theme:d="outline"}=e,{inverted:f="false"}=e,{hovercolor:h=""}=e,{fillcolor:w=""}=e,{opacity:y=1}=e,{title:p=""}=e,{testid:v=""}=e;const _={pencil:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M16.1442 5.47956L12.5355 1.87088L13.7196 0.686776C14.0391 0.367257 14.4385 0.212197 14.9178 0.221594C15.3971 0.230992 15.7965 0.39545 16.116 0.714969L17.3283 1.92726C17.6478 2.24678 17.8076 2.64148 17.8076 3.11136C17.8076 3.58124 17.6478 3.97594 17.3283 4.29546L16.1442 5.47956ZM1.03951 17.8424C0.795173 17.8424 0.593125 17.7626 0.433365 17.6028C0.273605 17.443 0.193726 17.241 0.193726 16.9966V14.5721C0.193726 14.4593 0.212521 14.356 0.250112 14.262C0.287702 14.168 0.353485 14.074 0.447461 13.9801L11.4689 2.93435L15.0776 6.54303L4.05615 17.5887C3.96217 17.6827 3.8682 17.7485 3.77422 17.7861C3.68024 17.8236 3.57687 17.8424 3.4641 17.8424H1.03951Z" fill="currentcolor"/> </svg>',checkmark:'<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M6.20129 11.5368L15.9974 0.341265C16.3611 -0.0743717 16.9929 -0.116489 17.4085 0.247193C17.8241 0.610875 17.8663 1.24264 17.5026 1.65827L7.00258 13.6583C6.82032 13.8666 6.5599 13.99 6.28328 13.9992C6.00666 14.0084 5.7386 13.9026 5.54289 13.7069L1.04289 9.20688C0.652369 8.81635 0.652369 8.18319 1.04289 7.79266C1.43342 7.40214 2.06658 7.40214 2.45711 7.79266L6.20129 11.5368Z" fill="#333333"/> </svg>',remove:'<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1.5 -0.000244141C0.947715 -0.000244141 0.5 0.447471 0.5 0.999756C0.5 1.55204 0.947715 1.99976 1.5 1.99976H15C15.5523 1.99976 16 1.55204 16 0.999756C16 0.447471 15.5523 -0.000244141 15 -0.000244141H1.5Z" fill="currentcolor"/> </svg>',"goa-file":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_1357_108691)"> <path d="M38.741 14C38.541 13.07 38.081 12.22 37.401 11.54L36.861 11L27.861 2L27.321 1.46C26.641 0.78 25.781 0.32 24.861 0.12C24.511 0.04 24.151 0 23.791 0H5.86096C3.10096 0 0.860962 2.24 0.860962 5V43C0.860962 45.76 3.10096 48 5.86096 48H33.861C36.621 48 38.861 45.76 38.861 43V15.07C38.861 14.71 38.811 14.35 38.741 14ZM35.041 12H29.871C28.221 12 26.871 10.65 26.871 9V3.83L35.041 12ZM36.871 43C36.871 44.65 35.521 46 33.871 46H5.87097C4.22097 46 2.87097 44.65 2.87097 43V5C2.87097 3.35 4.22097 2 5.87097 2H23.801C24.171 2 24.531 2.07 24.871 2.2V9C24.871 11.76 27.111 14 29.871 14H36.671C36.801 14.34 36.871 14.7 36.871 15.07V43Z" fill="currentcolor"/> </g> <defs> <clipPath id="clip0_1357_108691"><rect width="38" height="48" fill="white" transform="translate(0.861328)"/></clipPath></defs></svg>',"goa-text":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7953 14C38.5953 13.07 38.1353 12.22 37.4553 11.54L36.9153 11L27.9153 2L27.3753 1.46C26.6953 0.78 25.8353 0.32 24.9153 0.12C24.5653 0.04 24.2053 0 23.8453 0H5.91528C3.15528 0 0.915283 2.24 0.915283 5V43C0.915283 45.76 3.15528 48 5.91528 48H33.9153C36.6753 48 38.9153 45.76 38.9153 43V15.07C38.9153 14.71 38.8653 14.35 38.7953 14ZM35.0953 12H29.9253C28.2753 12 26.9253 10.65 26.9253 9V3.83L35.0953 12ZM36.9253 43C36.9253 44.65 35.5753 46 33.9253 46H5.91528C4.26528 46 2.91528 44.65 2.91528 43V5C2.91528 3.35 4.26528 2 5.91528 2H23.8453C24.2153 2 24.5753 2.07 24.9153 2.2V9C24.9153 11.76 27.1553 14 29.9153 14H36.7153C36.8453 14.34 36.9153 14.7 36.9153 15.07V43H36.9253Z" fill="currentcolor"/> <path d="M27.9153 34H11.9153C11.363 34 10.9153 34.4477 10.9153 35C10.9153 35.5523 11.363 36 11.9153 36H27.9153C28.4676 36 28.9153 35.5523 28.9153 35C28.9153 34.4477 28.4676 34 27.9153 34Z" fill="currentcolor"/> <path d="M27.9153 26H11.9153C11.363 26 10.9153 26.4477 10.9153 27C10.9153 27.5523 11.363 28 11.9153 28H27.9153C28.4676 28 28.9153 27.5523 28.9153 27C28.9153 26.4477 28.4676 26 27.9153 26Z" fill="currentcolor"/> </svg>',"goa-pdf":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.8861 14C37.6861 13.07 37.2261 12.22 36.5461 11.54L36.0061 11L27.0061 2L26.4661 1.46C25.7861 0.78 24.9261 0.32 24.0061 0.12C23.6561 0.04 23.2961 0 22.9361 0H5.0061C2.2461 0 0.00610352 2.24 0.00610352 5V43C0.00610352 45.76 2.2461 48 5.0061 48H33.0061C35.7661 48 38.0061 45.76 38.0061 43V15.07C38.0061 14.71 37.9561 14.35 37.8861 14ZM34.1861 12H29.0161C27.3661 12 26.0161 10.65 26.0161 9V3.83L34.1861 12ZM36.0161 43C36.0161 44.65 34.6661 46 33.0161 46H5.0061C3.3561 46 2.0061 44.65 2.0061 43V5C2.0061 3.35 3.3561 2 5.0061 2H22.9361C23.3061 2 23.6661 2.07 24.0061 2.2V9C24.0061 11.76 26.2461 14 29.0061 14H35.8061C35.9361 14.34 36.0061 14.7 36.0061 15.07V43H36.0161Z" fill="currentcolor"/> <path d="M5.02611 27C5.02611 26.45 5.47611 26 6.02611 26H9.05611C11.1161 26 12.9261 27.06 12.9261 29.28C12.9261 31.5 11.2461 32.74 8.85611 32.74H7.25611V35.85C7.25611 36.47 6.75611 36.97 6.13611 36.97C5.51611 36.97 5.01611 36.47 5.01611 35.85V27.01L5.02611 27ZM7.26611 30.96H8.73611C9.91611 30.96 10.6561 30.53 10.6561 29.31C10.6561 28.22 9.90611 27.77 8.79611 27.77H7.25611V30.96H7.26611Z" fill="currentcolor"/> <path d="M15.0361 27C15.0361 26.45 15.4861 26 16.0361 26H18.8461C22.1761 26 24.0161 28.03 24.0161 31.25C24.0161 34.82 22.0961 36.96 18.7661 36.96H16.0361C15.4861 36.96 15.0361 36.51 15.0361 35.96V27ZM17.2961 35.2H18.7361C20.6861 35.2 21.6961 33.74 21.6961 31.28C21.6961 29.25 20.7861 27.79 18.7461 27.79H17.2861V35.2H17.2961Z" fill="currentcolor"/> <path d="M25.9761 27C25.9761 26.45 26.4261 26 26.9761 26H32.0861C32.5961 26 33.0061 26.41 33.0061 26.92C33.0061 27.43 32.5961 27.84 32.0861 27.84H28.1761V30.63H31.8161C32.3161 30.63 32.7161 31.03 32.7161 31.53C32.7161 32.03 32.3161 32.43 31.8161 32.43H28.1761V35.86C28.1761 36.47 27.6861 36.96 27.0761 36.96C26.4661 36.96 25.9761 36.47 25.9761 35.86V26.99V27Z" fill="currentcolor"/> </svg> ',"goa-doc":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.6134 14C38.4134 13.07 37.9534 12.22 37.2734 11.54L36.7334 11L27.7334 2L27.1934 1.46C26.5134 0.78 25.6534 0.32 24.7334 0.12C24.3834 0.04 24.0234 0 23.6634 0H5.7334C2.9734 0 0.733398 2.24 0.733398 5V43C0.733398 45.76 2.9734 48 5.7334 48H33.7334C36.4934 48 38.7334 45.76 38.7334 43V15.07C38.7334 14.71 38.6834 14.35 38.6134 14ZM34.9134 12H29.7434C28.0934 12 26.7434 10.65 26.7434 9V3.83L34.9134 12ZM36.7434 43C36.7434 44.65 35.3934 46 33.7434 46H5.7334C4.0834 46 2.7334 44.65 2.7334 43V5C2.7334 3.35 4.0834 2 5.7334 2H23.6634C24.0334 2 24.3934 2.07 24.7334 2.2V9C24.7334 11.76 26.9734 14 29.7334 14H36.5334C36.6634 14.34 36.7334 14.7 36.7334 15.07V43H36.7434Z" fill="currentcolor"/> <path d="M13.7834 36.6406L10.9034 24.5806C10.6934 23.7206 11.3534 22.8906 12.2334 22.8906C12.8734 22.8906 13.4334 23.3406 13.5734 23.9706C14.4934 28.2306 15.3434 32.5006 15.6434 34.9706H15.6634C16.0934 32.6806 17.3834 27.7106 18.2434 24.0806C18.4134 23.3806 19.0334 22.8906 19.7534 22.8906C20.4634 22.8906 21.0834 23.3706 21.2534 24.0606C22.0734 27.3606 23.3634 32.5806 23.7534 34.8406H23.7734C24.1834 32.0406 25.4534 26.8306 26.1134 23.8706C26.2434 23.3006 26.7434 22.8906 27.3334 22.8906C28.1534 22.8906 28.7434 23.6606 28.5434 24.4506L25.4134 36.6706C25.2134 37.4606 24.5034 38.0106 23.6934 38.0106C22.8634 38.0106 22.1534 37.4506 21.9634 36.6406C21.1734 33.2806 20.0434 28.8506 19.6434 26.6306H19.6234C19.1834 28.9106 18.0234 33.4506 17.2234 36.6606C17.0234 37.4506 16.3134 38.0006 15.5034 38.0006C14.6834 38.0006 13.9634 37.4406 13.7734 36.6406H13.7834Z" fill="currentcolor"/> </svg> ',"goa-ppt":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.2498 14C38.0498 13.07 37.5898 12.22 36.9098 11.54L36.3698 11L27.3698 2L26.8298 1.46C26.1497 0.78 25.2898 0.32 24.3698 0.12C24.0198 0.04 23.6598 0 23.2998 0H5.36975C2.60975 0 0.369751 2.24 0.369751 5V43C0.369751 45.76 2.60975 48 5.36975 48H33.3698C36.1297 48 38.3698 45.76 38.3698 43V15.07C38.3698 14.71 38.3198 14.35 38.2498 14ZM34.5498 12H29.3798C27.7298 12 26.3798 10.65 26.3798 9V3.83L34.5498 12ZM36.3797 43C36.3797 44.65 35.0298 46 33.3797 46H5.36975C3.71975 46 2.36975 44.65 2.36975 43V5C2.36975 3.35 3.71975 2 5.36975 2H23.2998C23.6698 2 24.0298 2.07 24.3698 2.2V9C24.3698 11.76 26.6098 14 29.3698 14H36.1698C36.2998 14.34 36.3698 14.7 36.3698 15.07V43H36.3797Z" fill="currentcolor"/> <path d="M14.0798 24.8906C14.0798 23.7906 14.9798 22.8906 16.0798 22.8906H19.4698C22.3098 22.8906 24.6598 24.3406 24.6598 27.2906C24.6598 30.2406 22.4198 31.9306 19.2298 31.9306H16.7698V36.6606C16.7698 37.4006 16.1698 38.0006 15.4298 38.0006C14.6898 38.0006 14.0898 37.4006 14.0898 36.6606V24.8906H14.0798ZM16.7598 29.8206H19.0698C20.8098 29.8206 21.9498 29.1806 21.9498 27.3606C21.9498 25.7306 20.7798 25.0306 19.1298 25.0306H16.7498V29.8306L16.7598 29.8206Z" fill="currentcolor"/> </svg> ',"goa-xls":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.3407 14C38.1407 13.07 37.6807 12.22 37.0007 11.54L36.4607 11L27.4607 2L26.9207 1.46C26.2407 0.78 25.3807 0.32 24.4607 0.12C24.1107 0.04 23.7507 0 23.3907 0H5.46069C2.70069 0 0.460693 2.24 0.460693 5V43C0.460693 45.76 2.70069 48 5.46069 48H33.4607C36.2207 48 38.4607 45.76 38.4607 43V15.07C38.4607 14.71 38.4107 14.35 38.3407 14ZM34.6407 12H29.4707C27.8207 12 26.4707 10.65 26.4707 9V3.83L34.6407 12ZM36.4707 43C36.4707 44.65 35.1207 46 33.4707 46H5.46069C3.81069 46 2.46069 44.65 2.46069 43V5C2.46069 3.35 3.81069 2 5.46069 2H23.3907C23.7607 2 24.1207 2.07 24.4607 2.2V9C24.4607 11.76 26.7007 14 29.4607 14H36.2607C36.3907 14.34 36.4607 14.7 36.4607 15.07V43H36.4707Z" fill="currentcolor"/> <path d="M23.4107 38.0006C22.9407 38.0006 22.5107 37.7506 22.2707 37.3406L19.3907 32.2806H19.3707L16.4607 37.3906C16.2507 37.7706 15.8407 38.0006 15.4107 38.0006C14.4707 38.0006 13.8907 36.9706 14.3807 36.1606L17.9207 30.3906L14.5807 24.8606C14.0607 23.9906 14.6807 22.8906 15.6907 22.8906C16.1607 22.8906 16.5907 23.1406 16.8207 23.5406L19.5307 28.2806L19.5507 28.2606L22.3507 23.4806C22.5607 23.1206 22.9507 22.8906 23.3807 22.8906C24.3107 22.8906 24.8807 23.9106 24.3907 24.7006L21.0307 30.1206L24.5407 36.0206C25.0607 36.8906 24.4307 38.0006 23.4207 38.0006H23.4107Z" fill="currentcolor"/> </svg> ',"goa-zip":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7043 14C38.5043 13.07 38.0443 12.22 37.3643 11.54L36.8243 11L27.8243 2L27.2843 1.46C26.6043 0.78 25.7443 0.32 24.8243 0.12C24.4743 0.04 24.1143 0 23.7543 0H5.82434C3.06434 0 0.824341 2.24 0.824341 5V43C0.824341 45.76 3.06434 48 5.82434 48H33.8243C36.5843 48 38.8243 45.76 38.8243 43V15.07C38.8243 14.71 38.7743 14.35 38.7043 14ZM35.0043 12H29.8343C28.1843 12 26.8343 10.65 26.8343 9V3.83L35.0043 12ZM36.8343 43C36.8343 44.65 35.4843 46 33.8343 46H5.82434C4.17434 46 2.82434 44.65 2.82434 43V5C2.82434 3.35 4.17434 2 5.82434 2H23.7543C24.1243 2 24.4843 2.07 24.8243 2.2V9C24.8243 11.76 27.0643 14 29.8243 14H36.6243C36.7543 14.34 36.8243 14.7 36.8243 15.07V43H36.8343Z" fill="currentcolor"/> <path d="M14.8243 20H12.8243V22H14.8243V20Z" fill="currentcolor"/> <path d="M12.8243 18H10.8243V20H12.8243V18Z" fill="currentcolor"/> <path d="M14.8243 16H12.8243V18H14.8243V16Z" fill="currentcolor"/> <path d="M12.8243 14H10.8243V16H12.8243V14Z" fill="currentcolor"/> <path d="M14.8243 12H12.8243V14H14.8243V12Z" fill="currentcolor"/> <path d="M12.8243 10H10.8243V12H12.8243V10Z" fill="currentcolor"/> <path d="M14.8243 8H12.8243V10H14.8243V8Z" fill="currentcolor"/> <path d="M12.8243 6H10.8243V8H12.8243V6Z" fill="currentcolor"/> <path d="M14.8243 4H12.8243V6H14.8243V4Z" fill="currentcolor"/> <path d="M12.8243 2H10.8243V4H12.8243V2Z" fill="currentcolor"/> <path d="M17.7244 32.14L15.4744 23.69C15.3644 23.29 15.0044 23 14.5844 23H11.0644C10.6444 23 10.2744 23.28 10.1744 23.69L7.92435 32.14C7.30435 35.17 9.62435 37.97 12.8244 38C16.0144 37.98 18.3444 35.18 17.7244 32.14ZM15.1944 34.89C14.6244 35.58 13.7644 35.98 12.8244 35.99C11.8844 35.98 11.0244 35.58 10.4544 34.89C9.92435 34.24 9.71435 33.42 9.87435 32.59L11.8944 25H13.7544L15.7744 32.59C15.9344 33.42 15.7244 34.24 15.1944 34.89Z" fill="currentcolor"/> <path d="M13.8243 32H11.8243C11.2721 32 10.8243 32.4477 10.8243 33C10.8243 33.5523 11.2721 34 11.8243 34H13.8243C14.3766 34 14.8243 33.5523 14.8243 33C14.8243 32.4477 14.3766 32 13.8243 32Z" fill="currentcolor"/> </svg> ',"goa-video":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.977 14C37.777 13.07 37.317 12.22 36.637 11.54L36.097 11L27.097 2L26.557 1.46C25.877 0.78 25.017 0.32 24.097 0.12C23.747 0.04 23.387 0 23.027 0H5.09705C2.33705 0 0.0970459 2.24 0.0970459 5V43C0.0970459 45.76 2.33705 48 5.09705 48H33.097C35.857 48 38.097 45.76 38.097 43V15.07C38.097 14.71 38.047 14.35 37.977 14ZM34.277 12H29.107C27.457 12 26.107 10.65 26.107 9V3.83L34.277 12ZM36.107 43C36.107 44.65 34.757 46 33.107 46H5.09705C3.44705 46 2.09705 44.65 2.09705 43V5C2.09705 3.35 3.44705 2 5.09705 2H23.027C23.397 2 23.757 2.07 24.097 2.2V9C24.097 11.76 26.337 14 29.097 14H35.897C36.027 14.34 36.097 14.7 36.097 15.07V43H36.107Z" fill="currentcolor"/> <path d="M22.097 26.0002V29.0102C22.097 29.7802 22.927 30.2602 23.587 29.8802L25.077 29.0302L28.087 27.3202V34.6902L25.077 32.9802L23.587 32.1302C22.917 31.7502 22.097 32.2302 22.097 33.0002V35.9902H10.097V25.9902H22.097M22.097 23.9902H10.097C8.99705 23.9902 8.09705 24.8902 8.09705 25.9902V35.9902C8.09705 37.0902 8.99705 37.9902 10.097 37.9902H22.097C23.197 37.9902 24.097 37.0902 24.097 35.9902V34.7202L27.107 36.4302C27.427 36.6102 27.767 36.6902 28.087 36.6902C29.137 36.6902 30.087 35.8502 30.087 34.6902V27.3202C30.087 26.1502 29.127 25.3202 28.087 25.3202C27.757 25.3202 27.417 25.4002 27.107 25.5802L24.097 27.2902V25.9902C24.097 24.8902 23.197 23.9902 22.097 23.9902Z" fill="currentcolor"/> </svg> ',"goa-audio":'<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.0679 14.2305C37.8679 13.3005 37.4079 12.4505 36.7279 11.7705L36.1879 11.2305L27.1879 2.23047L26.6479 1.69047C25.9679 1.01047 25.1079 0.550469 24.1879 0.350469C23.8379 0.270469 23.4779 0.230469 23.1179 0.230469H5.18793C2.42793 0.230469 0.187927 2.47047 0.187927 5.23047V43.2305C0.187927 45.9905 2.42793 48.2305 5.18793 48.2305H33.1879C35.9479 48.2305 38.1879 45.9905 38.1879 43.2305V15.3005C38.1879 14.9405 38.1379 14.5805 38.0679 14.2305ZM34.3679 12.2305H29.1979C27.5479 12.2305 26.1979 10.8805 26.1979 9.23047V4.06047L34.3679 12.2305ZM36.1979 43.2305C36.1979 44.8805 34.8479 46.2305 33.1979 46.2305H5.19792C3.54792 46.2305 2.19792 44.8805 2.19792 43.2305V5.23047C2.19792 3.58047 3.54792 2.23047 5.19792 2.23047H23.1279C23.4979 2.23047 23.8579 2.30047 24.1979 2.43047V9.23047C24.1979 11.9905 26.4379 14.2305 29.1979 14.2305H35.9979C36.1279 14.5705 36.1979 14.9305 36.1979 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.1879 25.1189V37.3489L16.3479 34.6089L15.8279 34.2389H10.1879V28.2389H15.8279L16.3479 27.8689L20.1879 25.1289M20.1879 23.1289C19.7979 23.1289 19.3979 23.2489 19.0279 23.5089L15.1879 26.2489H10.1879C9.08793 26.2489 8.18793 27.1489 8.18793 28.2489V34.2489C8.18793 35.3489 9.08793 36.2489 10.1879 36.2489H15.1879L19.0279 38.9889C19.3879 39.2489 19.7879 39.3689 20.1879 39.3689C21.2279 39.3689 22.1979 38.5489 22.1979 37.3689V25.1389C22.1979 23.9589 21.2279 23.1389 20.1879 23.1389V23.1289Z" fill="currentcolor"/> <path d="M26.1381 23.707C26.6381 24.037 27.1081 24.417 27.5481 24.857C27.9881 25.297 28.3681 25.767 28.6981 26.267C29.0281 26.767 29.2981 27.287 29.5181 27.837C29.7381 28.387 29.8981 28.937 30.0081 29.507C30.1181 30.077 30.1681 30.647 30.1681 31.227C30.1681 31.807 30.1181 32.377 30.0081 32.947C29.8981 33.517 29.7381 34.077 29.5181 34.617C29.2981 35.157 29.0281 35.687 28.6981 36.187C28.3681 36.687 27.9881 37.157 27.5481 37.597C27.1081 38.037 26.6381 38.417 26.1381 38.747" stroke="currentcolor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"/> </svg> ',"goa-image":'<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.1588 14.2305C37.9588 13.3005 37.4988 12.4505 36.8188 11.7705L36.2788 11.2305L27.2788 2.23047L26.7388 1.69047C26.0588 1.01047 25.1988 0.550469 24.2788 0.350469C23.9288 0.270469 23.5688 0.230469 23.2088 0.230469H5.27881C2.51881 0.230469 0.278809 2.47047 0.278809 5.23047V43.2305C0.278809 45.9905 2.51881 48.2305 5.27881 48.2305H33.2788C36.0388 48.2305 38.2788 45.9905 38.2788 43.2305V15.3005C38.2788 14.9405 38.2288 14.5805 38.1588 14.2305ZM34.4588 12.2305H29.2888C27.6388 12.2305 26.2888 10.8805 26.2888 9.23047V4.06047L34.4588 12.2305ZM36.2888 43.2305C36.2888 44.8805 34.9388 46.2305 33.2888 46.2305H5.2888C3.6388 46.2305 2.2888 44.8805 2.2888 43.2305V5.23047C2.2888 3.58047 3.6388 2.23047 5.2888 2.23047H23.2188C23.5888 2.23047 23.9488 2.30047 24.2888 2.43047V9.23047C24.2888 11.9905 26.5288 14.2305 29.2888 14.2305H36.0888C36.2188 14.5705 36.2888 14.9305 36.2888 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.9985 28.2305C21.3585 28.2305 21.6485 28.4405 21.7885 28.7305L27.1085 36.7305C27.3185 37.0205 27.3185 37.4405 27.1785 37.7305C27.0385 38.0905 26.6785 38.2305 26.3185 38.2305H12.2385C11.8785 38.2305 11.5885 38.0905 11.3785 37.7305C11.2385 37.4405 11.2385 37.0205 11.4485 36.7305L14.8285 31.7305C14.9685 31.4405 15.3285 31.2305 15.6185 31.2305C15.9785 31.2305 16.2685 31.4405 16.4785 31.7305L17.3385 32.9405L20.1385 28.7305C20.3585 28.4405 20.6385 28.2305 20.9985 28.2305ZM20.9985 26.2305C20.0485 26.2305 19.1685 26.6905 18.5385 27.5305L18.4985 27.5805L18.4685 27.6305L17.1185 29.6605C16.6585 29.3805 16.1485 29.2405 15.6085 29.2405C14.6085 29.2405 13.6185 29.8205 13.1085 30.6905L9.79851 35.5905C9.17851 36.4505 9.08851 37.6705 9.57851 38.6305L9.60851 38.7005L9.6485 38.7705C10.2085 39.7005 11.1485 40.2405 12.2285 40.2405H26.3085C27.5185 40.2405 28.5385 39.6005 28.9985 38.5605C29.4385 37.6105 29.3385 36.4405 28.7485 35.6005L23.5085 27.7105C22.9885 26.8005 22.0485 26.2405 21.0085 26.2405L20.9985 26.2305Z" fill="currentcolor"/> <path d="M12.7788 23.2305C13.6088 23.2305 14.2788 23.9005 14.2788 24.7305C14.2788 25.5605 13.6088 26.2305 12.7788 26.2305C11.9488 26.2305 11.2788 25.5605 11.2788 24.7305C11.2788 23.9005 11.9488 23.2305 12.7788 23.2305ZM12.7788 21.2305C10.8488 21.2305 9.27881 22.8005 9.27881 24.7305C9.27881 26.6605 10.8488 28.2305 12.7788 28.2305C14.7088 28.2305 16.2788 26.6605 16.2788 24.7305C16.2788 22.8005 14.7088 21.2305 12.7788 21.2305Z" fill="currentcolor"/> </svg> '};return i.$$set=z=>{"mt"in z&&t(0,n=z.mt),"mr"in z&&t(1,o=z.mr),"mb"in z&&t(2,a=z.mb),"ml"in z&&t(3,l=z.ml),"type"in z&&t(4,c=z.type),"size"in z&&t(5,s=z.size),"theme"in z&&t(6,d=z.theme),"inverted"in z&&t(14,f=z.inverted),"hovercolor"in z&&t(7,h=z.hovercolor),"fillcolor"in z&&t(8,w=z.fillcolor),"opacity"in z&&t(9,y=z.opacity),"title"in z&&t(10,p=z.title),"testid"in z&&t(11,v=z.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=K(f))},[n,o,a,l,c,s,d,h,w,y,p,v,r,_,f]}class io extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.goa-icon--small{width:1.25rem;height:1.25rem}.goa-icon--medium{width:1.5rem;height:1.5rem}.goa-icon--large{width:2rem;height:2rem}.goa-icon--xlarge{width:2.5rem;height:2.5rem}.goa-icon:has(.icon-override){height:fit-content}.icon-override{display:flex;flex-direction:column;align-items:center}.icon-override>*{fill:var(--fill-color, var(--goa-color-interactive-default));color:var(--fill-color, var(--goa-color-interactive-default))}.inverted *{color:#fff;fill:#fff}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},to,eo,O,{mt:0,mr:1,mb:2,ml:3,type:4,size:5,theme:6,inverted:14,hovercolor:7,fillcolor:8,opacity:9,title:10,testid:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","hovercolor","fillcolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[5]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[6]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),g()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get fillcolor(){return this.$$.ctx[8]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get opacity(){return this.$$.ctx[9]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[10]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[11]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-icon",io);function ai(i){let e,t;return{c(){e=b("div"),t=B(i[14]),u(e,"class","prefix")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n[0]&16384&&U(t,r[14])},d(r){r&&E(e)}}}function li(i){let e;return{c(){e=b("goa-icon"),x(e,"class","goa-input-leading-icon"),x(e,"data-testid","leading-icon"),x(e,"type",i[5])},m(t,r){k(t,e,r)},p(t,r){r[0]&32&&x(e,"type",t[5])},d(t){t&&E(e)}}}function si(i){let e;return{c(){e=b("goa-icon"),x(e,"class","goa-input-trailing-icon"),x(e,"data-testid","trailing-icon"),x(e,"size","medium"),x(e,"type",i[6])},m(t,r){k(t,e,r)},p(t,r){r[0]&64&&x(e,"type",t[6])},d(t){t&&E(e)}}}function ci(i){let e,t,r;return{c(){e=b("goa-icon-button"),x(e,"disabled",i[24]),x(e,"variant","nocolor"),x(e,"size","medium"),x(e,"icon",i[6]),x(e,"data-testid","trailing-icon-button")},m(n,o){k(n,e,o),t||(r=q(e,"click",no),t=!0)},p(n,o){o[0]&16777216&&x(e,"disabled",n[24]),o[0]&64&&x(e,"icon",n[6])},d(n){n&&E(e),t=!1,r()}}}function di(i){let e,t;return{c(){e=b("span"),t=B(i[15]),u(e,"class","suffix")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n[0]&32768&&U(t,r[15])},d(r){r&&E(e)}}}function ro(i){let e,t,r,n,o,a,l,c,s,d,f,h,w,y,p,v,_,z,D,A=i[14]&&ai(i),M=i[5]&&li(i),H=i[6]&&!i[27]&&si(i),I=i[6]&&i[27]&&ci(i),T=i[15]&&di(i);return{c(){e=b("div"),t=b("div"),A&&A.c(),r=N(),n=b("div"),n.innerHTML='<slot name="leadingContent"></slot>',o=N(),M&&M.c(),a=N(),l=b("input"),f=N(),H&&H.c(),h=N(),I&&I.c(),w=N(),T&&T.c(),y=N(),p=b("div"),p.innerHTML='<slot name="trailingContent"></slot>',this.c=C,u(n,"class","leading-content"),u(l,"class",c=`
76
+ input--${i[7]}
77
+ ${i[22]&&!i[24]?"input-leading-content":""}
78
+ ${i[23]&&!i[24]?"input-trailing-content":""}
79
+ `),u(l,"style",s=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),l.readOnly=i[26],l.disabled=i[24],u(l,"data-testid",i[8]),u(l,"autocapitalize",i[3]),u(l,"name",i[2]),u(l,"type",i[1]),l.value=i[0],u(l,"placeholder",i[4]),u(l,"min",i[11]),u(l,"max",i[12]),u(l,"step",i[13]),u(l,"role","textbox"),u(l,"aria-label",d=i[10]||i[2]),u(p,"class","trailing-content"),u(t,"class",v=`
76
80
  goa-input
77
- ${i[21]?"goa-input--disabled":""}
81
+ ${i[24]?"goa-input--disabled":""}
78
82
  variant--${i[7]}
79
83
  type--${i[1]}
80
- `),Z(t,"error",i[22]),u(e,"class","container"),u(e,"style",w=`
84
+ ${i[22]?"goa-input-leading-content":""}
85
+ ${i[23]?"goa-input-trailing-content":""}
86
+ `),F(t,"error",i[25]),u(e,"class","container"),u(e,"style",_=`
81
87
  ${Y(i[16],i[17],i[18],i[19])};
82
88
  --width: ${i[9]};
83
- `)},m(N,j){k(N,e,j),m(e,t),I&&I.m(t,null),m(t,r),m(t,n),m(t,l),z&&z.m(t,null),m(t,a),m(t,o),i[33](o),m(t,f),T&&T.m(t,null),m(t,h),A&&A.m(t,null),m(t,p),H&&H.m(t,null),m(t,y),m(t,_),C||(L=[Q(o,"keyup",i[25]),Q(o,"change",i[25])],C=!0)},p(N,j){N[14]?I?I.p(N,j):(I=ei(N),I.c(),I.m(t,r)):I&&(I.d(1),I=null),N[5]?z?z.p(N,j):(z=ti(N),z.c(),z.m(t,a)):z&&(z.d(1),z=null),j[0]&128&&s!==(s=`input--${N[7]}`)&&u(o,"class",s),j[0]&64&&c!==(c=`--search-icon-offset: ${N[6]?"-0.5rem":"0"}`)&&u(o,"style",c),j[0]&8388608&&(o.readOnly=N[23]),j[0]&2097152&&(o.disabled=N[21]),j[0]&256&&u(o,"data-testid",N[8]),j[0]&8&&u(o,"autocapitalize",N[3]),j[0]&4&&u(o,"name",N[2]),j[0]&2&&u(o,"type",N[1]),j[0]&1&&o.value!==N[0]&&(o.value=N[0]),j[0]&16&&u(o,"placeholder",N[4]),j[0]&2048&&u(o,"min",N[11]),j[0]&4096&&u(o,"max",N[12]),j[0]&8192&&u(o,"step",N[13]),j[0]&1028&&d!==(d=N[10]||N[2])&&u(o,"aria-label",d),N[6]&&!N[24]?T?T.p(N,j):(T=ii(N),T.c(),T.m(t,h)):T&&(T.d(1),T=null),N[6]&&N[24]?A?A.p(N,j):(A=ri(N),A.c(),A.m(t,p)):A&&(A.d(1),A=null),N[15]?H?H.p(N,j):(H=ni(N),H.c(),H.m(t,y)):H&&(H.d(1),H=null),j[0]&2097282&&v!==(v=`
89
+ `)},m(L,S){k(L,e,S),m(e,t),A&&A.m(t,null),m(t,r),m(t,n),m(t,o),M&&M.m(t,null),m(t,a),m(t,l),i[36](l),m(t,f),H&&H.m(t,null),m(t,h),I&&I.m(t,null),m(t,w),T&&T.m(t,null),m(t,y),m(t,p),i[37](e),z||(D=[q(l,"keyup",i[28]),q(l,"change",i[28])],z=!0)},p(L,S){L[14]?A?A.p(L,S):(A=ai(L),A.c(),A.m(t,r)):A&&(A.d(1),A=null),L[5]?M?M.p(L,S):(M=li(L),M.c(),M.m(t,a)):M&&(M.d(1),M=null),S[0]&29360256&&c!==(c=`
90
+ input--${L[7]}
91
+ ${L[22]&&!L[24]?"input-leading-content":""}
92
+ ${L[23]&&!L[24]?"input-trailing-content":""}
93
+ `)&&u(l,"class",c),S[0]&64&&s!==(s=`--search-icon-offset: ${L[6]?"-0.5rem":"0"}`)&&u(l,"style",s),S[0]&67108864&&(l.readOnly=L[26]),S[0]&16777216&&(l.disabled=L[24]),S[0]&256&&u(l,"data-testid",L[8]),S[0]&8&&u(l,"autocapitalize",L[3]),S[0]&4&&u(l,"name",L[2]),S[0]&2&&u(l,"type",L[1]),S[0]&1&&l.value!==L[0]&&(l.value=L[0]),S[0]&16&&u(l,"placeholder",L[4]),S[0]&2048&&u(l,"min",L[11]),S[0]&4096&&u(l,"max",L[12]),S[0]&8192&&u(l,"step",L[13]),S[0]&1028&&d!==(d=L[10]||L[2])&&u(l,"aria-label",d),L[6]&&!L[27]?H?H.p(L,S):(H=si(L),H.c(),H.m(t,h)):H&&(H.d(1),H=null),L[6]&&L[27]?I?I.p(L,S):(I=ci(L),I.c(),I.m(t,w)):I&&(I.d(1),I=null),L[15]?T?T.p(L,S):(T=di(L),T.c(),T.m(t,y)):T&&(T.d(1),T=null),S[0]&29360258&&v!==(v=`
84
94
  goa-input
85
- ${N[21]?"goa-input--disabled":""}
86
- variant--${N[7]}
87
- type--${N[1]}
88
- `)&&u(t,"class",v),j[0]&6291586&&Z(t,"error",N[22]),j[0]&983552&&w!==(w=`
89
- ${Y(N[16],N[17],N[18],N[19])};
90
- --width: ${N[9]};
91
- `)&&u(e,"style",w)},i:x,o:x,d(N){N&&M(e),I&&I.d(),z&&z.d(),i[33](null),T&&T.d(),A&&A.d(),H&&H.d(),C=!1,le(L)}}}function Zn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Yn(i,e,t){let r,n,l,a,o;const[s,c]=ee("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=ee("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:p=""}=e,{value:y=""}=e,{autocapitalize:_="off"}=e,{placeholder:v=""}=e,{leadingicon:w=null}=e,{trailingicon:C=null}=e,{variant:L="goa"}=e,{disabled:I="false"}=e,{handletrailingiconclick:z="false"}=e,{focused:T="false"}=e,{readonly:A="false"}=e,{error:H="false"}=e,{testid:N=""}=e,{width:j="30ch"}=e,{arialabel:re=null}=e,{min:U=""}=e,{max:X=""}=e,{step:ie=1}=e,{prefix:oe=""}=e,{suffix:Te=""}=e,{debounce:Oe=0}=e,{mt:tt=null}=e,{mr:it=null}=e,{mb:Be=null}=e,{ml:xe=null}=e,ne,Ie=null;function pe(S){const Ne=S.target;!Ne||(Ie!=null&&clearTimeout(Ie),Ie=setTimeout(()=>{Ne.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:p,value:Ne.value}}))},Oe),t(0,y=Ne.value))}q(()=>{c(h),f(_),(oe!=""||Te!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function rt(S){J[S?"unshift":"push"](()=>{ne=S,t(20,ne)})}return i.$$set=S=>{"type"in S&&t(1,h=S.type),"name"in S&&t(2,p=S.name),"value"in S&&t(0,y=S.value),"autocapitalize"in S&&t(3,_=S.autocapitalize),"placeholder"in S&&t(4,v=S.placeholder),"leadingicon"in S&&t(5,w=S.leadingicon),"trailingicon"in S&&t(6,C=S.trailingicon),"variant"in S&&t(7,L=S.variant),"disabled"in S&&t(26,I=S.disabled),"handletrailingiconclick"in S&&t(27,z=S.handletrailingiconclick),"focused"in S&&t(28,T=S.focused),"readonly"in S&&t(29,A=S.readonly),"error"in S&&t(30,H=S.error),"testid"in S&&t(8,N=S.testid),"width"in S&&t(9,j=S.width),"arialabel"in S&&t(10,re=S.arialabel),"min"in S&&t(11,U=S.min),"max"in S&&t(12,X=S.max),"step"in S&&t(13,ie=S.step),"prefix"in S&&t(14,oe=S.prefix),"suffix"in S&&t(15,Te=S.suffix),"debounce"in S&&t(31,Oe=S.debounce),"mt"in S&&t(16,tt=S.mt),"mr"in S&&t(17,it=S.mr),"mb"in S&&t(18,Be=S.mb),"ml"in S&&t(19,xe=S.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=F(z)),i.$$.dirty[0]&268435456&&t(32,n=F(T)),i.$$.dirty[0]&536870912&&t(23,l=F(A)),i.$$.dirty[0]&1073741824&&t(22,a=F(H)),i.$$.dirty[0]&67108864&&t(21,o=F(I)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&2&&n&&ne&&setTimeout(()=>ne.focus(),1),i.$$.dirty[0]&1048578&&ne&&h==="search"&&ne.addEventListener("search",S=>{pe(S)})},[y,h,p,_,v,w,C,L,N,j,re,U,X,ie,oe,Te,tt,it,Be,xe,ne,o,a,l,r,pe,I,z,T,A,H,Oe,n,rt]}class Vn extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error,.error:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
92
- center center no-repeat}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Yn,Gn,O,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:31,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","debounce","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get debounce(){return this.$$.ctx[31]}set debounce(e){this.$$set({debounce:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",Vn);function ai(i){let e,t,r;return{c(){e=b("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=D(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},d(n){n&&M(e),n&&M(t),n&&M(r)}}}function oi(i){let e,t=ci(i[0])+"",r,n,l,a,o,s,c,d=i[2]&&li(i);return{c(){e=b("div"),r=V(t),l=D(),a=b("div"),o=V("This is a new "),s=b("a"),s.textContent="Alberta Government",c=V(` service
93
- `),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,h){k(f,e,h),m(e,r),k(f,l,h),k(f,a,h),m(a,o),m(a,s),m(a,c),d&&d.m(a,null)},p(f,h){h&1&&t!==(t=ci(f[0])+"")&&W(r,t),h&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,h):(d=li(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&M(e),f&&M(l),f&&M(a),d&&d.d()}}}function li(i){let e,t,r,n;return{c(){e=b("span"),t=V("\u2014 help us improve it by giving "),r=b("a"),n=V("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,a){k(l,e,a),m(e,t),m(e,r),m(r,n)},p(l,a){a&4&&u(r,"href",l[2])},d(l){l&&M(e)}}}function si(i){let e,t;return{c(){e=b("div"),t=V(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&W(t,r[1])},d(r){r&&M(e)}}}function Fn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&ai(),s=r&&oi(i),c=i[1]&&si(i);return{c(){e=b("header"),o&&o.c(),t=D(),s&&s.c(),n=D(),l=b("div"),a=D(),c&&c.c(),this.c=x,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){k(d,e,f),o&&o.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,l),m(e,a),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=ai(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=oi(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=si(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&M(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ci(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function qn(i,e,t){const[r,n]=ee("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:a=""}=e,{feedbackurl:o=""}=e;return q(()=>{n(l)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,a=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[l,a,o]}class Qn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qn,Fn,O,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Qn);function di(i){let e,t,r,n,l,a,o,s,c,d,f,h,p,y,_,v,w,C,L,I,z,T,A,H,N=i[3]!==null&&ui(i);function j(ie,oe){return ie[0]?Wn:Un}let re=j(i),U=re(i),X=i[8]&&fi(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=D(),l=b("div"),N&&N.c(),a=D(),o=b("div"),s=b("header"),c=b("div"),U.c(),d=D(),X&&X.c(),f=D(),h=b("div"),p=b("goa-scrollable"),p.innerHTML="<slot></slot>",y=D(),_=b("div"),_.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),E(p,"direction","vertical"),E(p,"hpadding","1.9rem"),E(p,"maxheight","70vh"),u(h,"data-testid","modal-content"),u(h,"class","modal-content"),u(_,"class","modal-actions"),u(_,"data-testid","modal-actions"),u(o,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",C=i[2]&&`--width: ${i[2]};`),E(e,"active",i[1])},m(ie,oe){k(ie,e,oe),m(e,t),m(t,r),m(t,n),m(t,l),N&&N.m(l,null),m(l,a),m(l,o),m(o,s),m(s,c),U.m(c,null),m(s,d),X&&X.m(s,null),m(o,f),m(o,h),m(h,p),i[15](p),i[16](h),m(o,y),m(o,_),i[17](t),T=!0,A||(H=[Q(r,"click",i[11]),Q(p,"_scroll",i[12]),gt(L=Ht.call(null,t,{enable:i[6]}))],A=!0)},p(ie,oe){i=ie,i[3]!==null?N?N.p(i,oe):(N=ui(i),N.c(),N.m(l,a)):N&&(N.d(1),N=null),re===(re=j(i))&&U?U.p(i,oe):(U.d(1),U=re(i),U&&(U.c(),U.m(c,null))),i[8]?X?X.p(i,oe):(X=fi(i),X.c(),X.m(s,null)):X&&(X.d(1),X=null),(!T||oe&4&&C!==(C=i[2]&&`--width: ${i[2]};`))&&u(t,"style",C),L&&ye(L.update)&&oe&64&&L.update.call(null,{enable:i[6]}),(!T||oe&2)&&E(e,"active",i[1])},i(ie){T||(be(()=>{w&&w.end(1),v=kt(l,Dt,{duration:i[10],y:200}),v.start()}),be(()=>{z&&z.end(1),I=kt(t,Le,{duration:i[10]}),I.start()}),T=!0)},o(ie){v&&v.invalidate(),w=xt(l,Dt,{delay:i[10],duration:i[10],y:-100}),I&&I.invalidate(),z=xt(t,Le,{delay:i[10],duration:i[10]}),T=!1},d(ie){ie&&M(e),N&&N.d(),U.d(),X&&X.d(),i[15](null),i[16](null),ie&&w&&w.end(),i[17](null),ie&&z&&z.end(),A=!1,le(H)}}}function ui(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),E(t,"type",i[9]),E(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,a){k(l,e,a),m(e,t)},p(l,a){a&512&&E(t,"type",l[9]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&E(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&M(e)}}}function Un(i){let e;return{c(){e=b("slot"),u(e,"name","heading")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function Wn(i){let e;return{c(){e=V(i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&W(e,t[0])},d(t){t&&M(e)}}}function fi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),E(t,"data-testid","modal-close-button"),E(t,"icon","close"),E(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,a){k(l,e,a),m(e,t),r||(n=Q(t,"click",i[11]),r=!0)},p:x,d(l){l&&M(e),r=!1,n()}}}function Kn(i){let e,t,r=i[6]&&di(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[6]?r?(r.p(n,l),l&64&&K(r,1)):(r=di(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),te(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Xn(i,e,t){let r,n,l,a,{heading:o=""}=e,{closable:s="false"}=e,{open:c="false"}=e,{transition:d="none"}=e,{width:f=""}=e,{calloutvariant:h=null}=e,p=null,y=null,_=null;const[v,w]=ee("Callout variant",["emergency","important","information","success","event"]),[C,L]=ee("Modal transition",["fast","slow","none"]);q(()=>{w(h),L(d)});function I(j){!r||(p==null||p.dispatchEvent(new CustomEvent("_close",{composed:!0})),j.stopPropagation())}const z=j=>{switch(j.key){case"Escape":I(j),j.preventDefault();break}};function T(j){const re=j.detail.scrollHeight>j.detail.offsetHeight;if(n&&re){const U=j.detail.scrollTop==0,X=Math.abs(j.detail.scrollHeight-j.detail.scrollTop-j.detail.offsetHeight)<1;y.classList.remove("scroll-top","scroll-bottom","scroll-middle"),U?y.classList.add("scroll-top"):X?y.classList.add("scroll-bottom"):y.classList.add("scroll-middle")}}function A(j){J[j?"unshift":"push"](()=>{_=j,t(5,_),t(6,n),t(1,c)})}function H(j){J[j?"unshift":"push"](()=>{y=j,t(4,y),t(6,n),t(1,c)})}function N(j){J[j?"unshift":"push"](()=>{p=j,t(7,p),t(6,n),t(1,c)})}return i.$$set=j=>{"heading"in j&&t(0,o=j.heading),"closable"in j&&t(13,s=j.closable),"open"in j&&t(1,c=j.open),"transition"in j&&t(14,d=j.transition),"width"in j&&t(2,f=j.width),"calloutvariant"in j&&t(3,h=j.calloutvariant)},i.$$.update=()=>{i.$$.dirty&8192&&t(8,r=F(s)),i.$$.dirty&2&&t(6,n=F(c)),i.$$.dirty&64&&(n||(t(4,y=t(5,_=t(7,p=null))),window.removeEventListener("keydown",z))),i.$$.dirty&112&&n&&_&&y&&_.scrollHeight>_.offsetHeight&&y.classList.add("scroll-top"),i.$$.dirty&80&&n&&y&&window.addEventListener("keydown",z),i.$$.dirty&16384&&t(10,l=d==="none"?0:d==="slow"?400:200),i.$$.dirty&8&&t(9,a=h==="emergency"?"warning":h==="important"?"alert-circle":h==="information"?"information-circle":h==="success"?"checkmark-circle":h==="event"?"calendar":"")},[o,c,f,h,y,_,n,p,r,a,l,I,T,s,d,A,H,N]}class Jn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;align-items:center;margin-bottom:2rem;justify-content:space-between}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font-size:var(--goa-font-size-7);flex:0 0 auto}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xn,Kn,O,{heading:0,closable:13,open:1,transition:14,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[13]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[14]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",Jn);function gi(i){let e,t,r,n,l,a,o,s,c,d,f,h,p,y,_;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=D(),a=b("div"),a.innerHTML="<slot></slot>",o=D(),s=b("div"),c=b("goa-icon-button"),E(r,"type",i[2]),E(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(a,"class","content"),E(c,"icon","close"),E(c,"variant","dark"),E(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(v,w){k(v,e,w),m(e,t),m(t,r),m(e,l),m(e,a),m(e,o),m(e,s),m(s,c),p=!0,y||(_=Q(c,"click",i[3]),y=!0)},p(v,w){(!p||w&4)&&E(r,"type",v[2]),(!p||w&1&&n!==(n=v[0]==="important"?"false":"true"))&&E(r,"inverted",n),(!p||w&1&&d!==(d=v[0]==="important"?"false":"true"))&&E(c,"inverted",d),(!p||w&1&&f!==(f="notification "+v[0]))&&u(e,"class",f)},i(v){p||(be(()=>{h||(h=Je(e,Le,{},!0)),h.run(1)}),p=!0)},o(v){h||(h=Je(e,Le,{},!1)),h.run(0),p=!1},d(v){v&&M(e),v&&h&&h.end(),y=!1,_()}}}function $n(i){let e,t,r=i[1]&&gi(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&K(r,1)):(r=gi(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),te(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function ea(i,e,t){let r;const[n,l]=ee("Notification type",["emergency","important","information","event"],!0);let{type:a=""}=e,o=!0;q(()=>{l(a)});function s(c){t(1,o=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}return i.$$set=c=>{"type"in c&&t(0,a=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=a==="emergency"?"warning":a==="important"?"alert-circle":a==="information"?"information-circle":a==="event"?"calendar":"")},[a,o,r,s]}class ta extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ea,$n,O,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",ta);const ia=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function ra(i){return ia.test(i)}function na(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function aa(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||ra(o))}return q(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class oa extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},aa,na,O,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",oa);function hi(i){let e,t,r,n,l,a,o,s,c,d;return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=D(),n=b("input"),l=D(),a=b("goa-input"),o=D(),s=b("span"),c=V("of "),d=V(i[8]),u(n,"type","hidden"),E(a,"type","number"),E(a,"value",i[0]),E(a,"width","8ch"),E(a,"debounce","500"),E(a,"min","1"),E(a,"max",i[8]),E(e,"data-testid","page-selector"),E(e,"alignment","center"),E(e,"gap","s")},m(f,h){k(f,e,h),m(e,t),m(e,r),m(e,n),i[12](n),m(e,l),m(e,a),i[13](a),m(e,o),m(e,s),m(s,c),m(s,d)},p(f,h){h&1&&E(a,"value",f[0]),h&256&&E(a,"max",f[8]),h&256&&W(d,f[8])},d(f){f&&M(e),i[12](null),i[13](null)}}}function la(i){let e,t,r,n,l,a,o,s,c,d,f,h,p,y=i[1]==="all"&&hi(i);return{c(){e=b("goa-block"),t=b("div"),y&&y.c(),r=D(),n=b("goa-block"),l=b("goa-button"),a=V("Previous"),s=D(),c=b("goa-button"),d=V("Next"),this.c=x,E(l,"type","tertiary"),E(l,"leadingicon","arrow-back"),E(l,"disabled",o=i[0]==1?"true":"false"),E(c,"type","tertiary"),E(c,"trailingicon","arrow-forward"),E(c,"disabled",f=i[0]==i[8]?"true":"false"),E(n,"alignment","center"),E(n,"gap","m"),E(n,"data-testid","page-links"),u(t,"class","controls"),E(e,"id","root"),E(e,"ml",i[5]),E(e,"mr",i[3]),E(e,"mb",i[4]),E(e,"mt",i[2])},m(_,v){k(_,e,v),m(e,t),y&&y.m(t,null),m(t,r),m(t,n),m(n,l),m(l,a),m(n,s),m(n,c),m(c,d),h||(p=[Q(l,"click",i[14]),Q(c,"click",i[15])],h=!0)},p(_,[v]){_[1]==="all"?y?y.p(_,v):(y=hi(_),y.c(),y.m(t,r)):y&&(y.d(1),y=null),v&1&&o!==(o=_[0]==1?"true":"false")&&E(l,"disabled",o),v&257&&f!==(f=_[0]==_[8]?"true":"false")&&E(c,"disabled",f),v&32&&E(e,"ml",_[5]),v&8&&E(e,"mr",_[3]),v&16&&E(e,"mb",_[4]),v&4&&E(e,"mt",_[2])},i:x,o:x,d(_){_&&M(e),y&&y.d(),h=!1,le(p)}}}function sa(i,e,t){let r;const[n,l]=ee("Pagination variant",["all","links-only"]);let{pagenumber:a}=e,{itemcount:o}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:p=null}=e,y=null,_=null;q(async()=>{await fe(),et("GoAPagination",{itemcount:o,pagenumber:a}),l(c),y&&y.addEventListener("_change",z=>{const T=Number.parseInt(z.detail.value);z.stopPropagation(),!isNaN(T)&&_.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:T}}))})});function v(z,T){const A=Number.parseInt(a+"")+T;A>0&&A<=r&&z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}})),z.preventDefault()}function w(z){J[z?"unshift":"push"](()=>{_=z,t(7,_)})}function C(z){J[z?"unshift":"push"](()=>{y=z,t(6,y)})}const L=z=>v(z,-1),I=z=>v(z,1);return i.$$set=z=>{"pagenumber"in z&&t(0,a=z.pagenumber),"itemcount"in z&&t(10,o=z.itemcount),"perpagecount"in z&&t(11,s=z.perpagecount),"variant"in z&&t(1,c=z.variant),"mt"in z&&t(2,d=z.mt),"mr"in z&&t(3,f=z.mr),"mb"in z&&t(4,h=z.mb),"ml"in z&&t(5,p=z.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(o/s))},[a,c,d,f,h,p,y,_,r,v,o,s,w,C,L,I]}class mi extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},sa,la,O,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",mi);function bi(i){let e,t,r,n,l,a,o,s;return{c(){e=b("goa-focus-trap"),t=b("div"),r=D(),n=b("div"),l=b("section"),a=b("slot"),u(t,"data-testid","popover-background"),u(t,"class","popover-background"),u(l,"data-testid","popover-content"),u(l,"class","popover-content"),$(l,"max-width",i[1]),$(l,"padding",i[4]?"var(--goa-space-m)":"0"),u(n,"class","popover-container"),E(e,"active",i[2])},m(c,d){k(c,e,d),m(e,t),m(e,r),m(e,n),m(n,l),m(l,a),o||(s=Q(t,"click",i[6]),o=!0)},p(c,d){d&2&&$(l,"max-width",c[1]),d&16&&$(l,"padding",c[4]?"var(--goa-space-m)":"0"),d&4&&E(e,"active",c[2])},d(c){c&&M(e),o=!1,s()}}}function ca(i){let e,t,r,n,l,a=i[2]&&bi(i);return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="target" tabindex="-1"></slot>',r=D(),a&&a.c(),this.c=x,u(t,"class","popover-target"),u(t,"tabindex","0"),u(t,"data-testid","popover-target"),u(e,"data-testid",i[0])},m(o,s){k(o,e,s),m(e,t),i[8](t),m(e,r),a&&a.m(e,null),n||(l=Q(t,"click",i[5]),n=!0)},p(o,[s]){o[2]?a?a.p(o,s):(a=bi(o),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&1&&u(e,"data-testid",o[0])},i:x,o:x,d(o){o&&M(e),i[8](null),a&&a.d(),n=!1,l()}}}function da(i,e,t){let r,{testid:n=""}=e,{maxwidth:l="320px"}=e,{padded:a="true"}=e,o=!1,s;q(async()=>{await fe(),h()}),yt(()=>{p()});function c(){t(2,o=!0)}function d(){t(2,o=!1)}const f=v=>{switch(v.key){case" ":case"Enter":o?d():c(),v.preventDefault();break;case"Escape":o&&d(),v.preventDefault();break}};function h(){s.addEventListener("focus",y,!0)}function p(){s.removeEventListener("focus",y),s.removeEventListener("keydown",f)}function y(){s.addEventListener("keydown",f)}function _(v){J[v?"unshift":"push"](()=>{s=v,t(3,s)})}return i.$$set=v=>{"testid"in v&&t(0,n=v.testid),"maxwidth"in v&&t(1,l=v.maxwidth),"padded"in v&&t(7,a=v.padded)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=F(a))},[n,l,o,s,r,c,d,a,_]}class ua extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},da,ca,O,{testid:0,maxwidth:1,padded:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","maxwidth","padded"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get padded(){return this.$$.ctx[7]}set padded(e){this.$$set({padded:e}),g()}}customElements.define("goa-popover",ua);function vi(i,e,t){const r=i.slice();return r[22]=e[t],r}function yi(i,e){let t,r,n,l,a,o,s,c,d,f=(e[22].label||e[22].value)+"",h,p,y,_,v;function w(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),o=D(),s=b("div"),c=D(),d=b("span"),h=V(f),p=D(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",a=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[22].value),u(t,"class","goa-radio"),Z(t,"goa-radio--disabled",e[12]),Z(t,"goa-radio--error",e[11]),this.first=t},m(C,L){k(C,t,L),m(t,r),m(t,o),m(t,s),m(t,c),m(t,d),m(d,h),m(t,p),_||(v=Q(r,"change",w),_=!0)},p(C,L){e=C,L&2&&u(r,"name",e[1]),L&512&&n!==(n=e[22].value)&&(r.value=n),L&4096&&(r.disabled=e[12]),L&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),L&18&&a!==(a=e[4]||e[1])&&u(r,"aria-label",a),L&512&&f!==(f=(e[22].label||e[22].value)+"")&&W(h,f),L&512&&y!==(y="radio-option-"+e[22].value)&&u(t,"data-testid",y),L&4096&&Z(t,"goa-radio--disabled",e[12]),L&2048&&Z(t,"goa-radio--error",e[11])},d(C){C&&M(t),_=!1,v()}}}function fa(i){let e,t,r,n=[],l=new Map,a,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=vi(i,s,d),h=c(f);l.set(h,n[d]=yi(h,f))}return{c(){e=b("div"),t=b("slot"),r=D();for(let d=0;d<n.length;d+=1)n[d].c();this.c=x,u(e,"style",a=Y(i[5],i[6],i[7],i[8])),u(e,"class",o=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){k(d,e,f),m(e,t),m(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],n=zt(n,f,c,1,d,s,l,e,Et,yi,null,vi)),f&480&&a!==(a=Y(d[5],d[6],d[7],d[8]))&&u(e,"style",a),f&4&&o!==(o=`goa-radio-group--${d[2]}`)&&u(e,"class",o),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&M(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function ga(i,e,t){let r,n;const[l,a]=ee("Radio group orientation",["vertical","horizontal"]);let{name:o}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:p=""}=e,{mt:y=null}=e,{mr:_=null}=e,{mb:v=null}=e,{ml:w=null}=e,C=[],L;q(async()=>{await fe(),t(9,C=z())});function I(){const N=L.querySelector("slot");return N?[...N.assignedElements()]:[...L.children]}function z(){return I().map(j=>{const re=j,U=j.getAttribute("value")||re.value,X=j.getAttribute("label")||j.innerText||re.label||re.innerText;return{value:U,label:X}})}function T(N){N!==s&&(t(0,s=N),L.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:s}})))}q(()=>{a(c)});const A=N=>T(N.value);function H(N){J[N?"unshift":"push"](()=>{L=N,t(10,L)})}return i.$$set=N=>{"name"in N&&t(1,o=N.name),"value"in N&&t(0,s=N.value),"orientation"in N&&t(2,c=N.orientation),"disabled"in N&&t(14,d=N.disabled),"error"in N&&t(15,f=N.error),"testid"in N&&t(3,h=N.testid),"arialabel"in N&&t(4,p=N.arialabel),"mt"in N&&t(5,y=N.mt),"mr"in N&&t(6,_=N.mr),"mb"in N&&t(7,v=N.mb),"ml"in N&&t(8,w=N.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=F(d)),i.$$.dirty&32768&&t(11,n=F(f))},[s,o,c,h,p,y,_,v,w,C,L,n,r,T,d,f,A,H]}class ha extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
94
- var(--goa-color-interactive-hover);box-shadow:none}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:hover~.goa-radio-icon{box-shadow:0 0 0 1px var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ga,fa,O,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-radio-group",ha);function ma(i){let e,t,r,n,l;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
95
+ ${L[24]?"goa-input--disabled":""}
96
+ variant--${L[7]}
97
+ type--${L[1]}
98
+ ${L[22]?"goa-input-leading-content":""}
99
+ ${L[23]?"goa-input-trailing-content":""}
100
+ `)&&u(t,"class",v),S[0]&62914690&&F(t,"error",L[25]),S[0]&983552&&_!==(_=`
101
+ ${Y(L[16],L[17],L[18],L[19])};
102
+ --width: ${L[9]};
103
+ `)&&u(e,"style",_)},i:C,o:C,d(L){L&&E(e),A&&A.d(),M&&M.d(),i[36](null),H&&H.d(),I&&I.d(),T&&T.d(),i[37](null),z=!1,ae(D)}}}function no(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function oo(i,e,t){let r,n,o,a,l;const[c,s]=$("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=$("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:w=""}=e,{value:y=""}=e,{autocapitalize:p="off"}=e,{placeholder:v=""}=e,{leadingicon:_=null}=e,{trailingicon:z=null}=e,{variant:D="goa"}=e,{disabled:A="false"}=e,{handletrailingiconclick:M="false"}=e,{focused:H="false"}=e,{readonly:I="false"}=e,{error:T="false"}=e,{testid:L=""}=e,{width:S="30ch"}=e,{arialabel:re=null}=e,{min:ie=""}=e,{max:R=""}=e,{step:ee=1}=e,{prefix:ne=""}=e,{suffix:Me=""}=e,{debounce:Re=0}=e,{mt:rt=null}=e,{mr:nt=null}=e,{mb:ot=null}=e,{ml:xe=null}=e,le,ze,Pe=!1,_e=!1,je=null;function at(V){const we=V.target;!we||(je!=null&&clearTimeout(je),je=setTimeout(()=>{we.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:w,value:we.value}}))},Re),t(0,y=we.value))}Q(()=>{s(h),f(p),(ne!=""||Me!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");const V=ze.querySelector("slot[name=leadingContent]");V&&V.assignedNodes().length>0&&t(22,Pe=!0);const we=ze.querySelector("slot[name=trailingContent]");we&&we.assignedNodes().length>0&&t(23,_e=!0)});function vt(V){W[V?"unshift":"push"](()=>{le=V,t(20,le)})}function lt(V){W[V?"unshift":"push"](()=>{ze=V,t(21,ze)})}return i.$$set=V=>{"type"in V&&t(1,h=V.type),"name"in V&&t(2,w=V.name),"value"in V&&t(0,y=V.value),"autocapitalize"in V&&t(3,p=V.autocapitalize),"placeholder"in V&&t(4,v=V.placeholder),"leadingicon"in V&&t(5,_=V.leadingicon),"trailingicon"in V&&t(6,z=V.trailingicon),"variant"in V&&t(7,D=V.variant),"disabled"in V&&t(29,A=V.disabled),"handletrailingiconclick"in V&&t(30,M=V.handletrailingiconclick),"focused"in V&&t(31,H=V.focused),"readonly"in V&&t(32,I=V.readonly),"error"in V&&t(33,T=V.error),"testid"in V&&t(8,L=V.testid),"width"in V&&t(9,S=V.width),"arialabel"in V&&t(10,re=V.arialabel),"min"in V&&t(11,ie=V.min),"max"in V&&t(12,R=V.max),"step"in V&&t(13,ee=V.step),"prefix"in V&&t(14,ne=V.prefix),"suffix"in V&&t(15,Me=V.suffix),"debounce"in V&&t(34,Re=V.debounce),"mt"in V&&t(16,rt=V.mt),"mr"in V&&t(17,nt=V.mr),"mb"in V&&t(18,ot=V.mb),"ml"in V&&t(19,xe=V.ml)},i.$$.update=()=>{i.$$.dirty[0]&1073741824&&t(27,r=K(M)),i.$$.dirty[1]&1&&t(35,n=K(H)),i.$$.dirty[1]&2&&t(26,o=K(I)),i.$$.dirty[1]&4&&t(25,a=K(T)),i.$$.dirty[0]&536870912&&t(24,l=K(A)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&16&&n&&le&&setTimeout(()=>le.focus(),1),i.$$.dirty[0]&1048578&&le&&h==="search"&&le.addEventListener("search",V=>{at(V)})},[y,h,w,p,v,_,z,D,L,S,re,ie,R,ee,ne,Me,rt,nt,ot,xe,le,ze,Pe,_e,l,a,o,r,at,A,M,H,I,T,Re,n,vt,lt]}class ao extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus-within:not(.goa-input-leading-content):not(.goa-input-trailing-content){box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans);z-index:1}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200) !important;cursor:default;box-shadow:none !important}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:not(.goa-input-leading-content):not(.goa-input-trailing-content),.error:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.error .input-leading-content,.error .input-leading-content:hover,.error .input-trailing-content,.error .input-trailing-content:hover{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error .input-leading-content:focus,.error .input-trailing-content:focus,.error .input-leading-content:active,.error .input-trailing-content:active{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.input-leading-content:hover,.input-trailing-content:hover{box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);outline:var(--goa-border-width-s) solid var(--goa-color-interactive-hover)}.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus);outline:var(--goa-border-width-s) solid var(--goa-color-greyscale-700)}.error .input-trailing-content,.input-trailing-content:hover,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m)}.error .input-leading-content,.input-leading-content:hover,.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within{border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.input-leading-content.input-trailing-content,.input-leading-content.input-trailing-content:hover,.input-leading-content.input-trailing-content:active,.input-leading-content.input-trailing-content:focus,.input-leading-content.input-trailing-content:focus-within{border-radius:0}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
104
+ center center no-repeat}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},oo,ro,O,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:29,handletrailingiconclick:30,focused:31,readonly:32,error:33,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:34,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","debounce","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[29]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[30]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[31]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[32]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[33]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get debounce(){return this.$$.ctx[34]}set debounce(e){this.$$set({debounce:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",ao);function ui(i){let e,t,r;return{c(){e=b("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=N(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,o){k(n,e,o),k(n,t,o),k(n,r,o)},d(n){n&&E(e),n&&E(t),n&&E(r)}}}function fi(i){let e,t=mi(i[0])+"",r,n,o,a,l,c,s,d=i[2]&&gi(i);return{c(){e=b("div"),r=B(t),o=N(),a=b("div"),l=B("This is a new "),c=b("a"),c.textContent="Alberta Government",s=B(` service
105
+ `),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(c,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,h){k(f,e,h),m(e,r),k(f,o,h),k(f,a,h),m(a,l),m(a,c),m(a,s),d&&d.m(a,null)},p(f,h){h&1&&t!==(t=mi(f[0])+"")&&U(r,t),h&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,h):(d=gi(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&E(e),f&&E(o),f&&E(a),d&&d.d()}}}function gi(i){let e,t,r,n;return{c(){e=b("span"),t=B("\u2014 help us improve it by giving "),r=b("a"),n=B("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&u(r,"href",o[2])},d(o){o&&E(e)}}}function hi(i){let e,t;return{c(){e=b("div"),t=B(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&E(e)}}}function lo(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&ui(),c=r&&fi(i),s=i[1]&&hi(i);return{c(){e=b("header"),l&&l.c(),t=N(),c&&c.c(),n=N(),o=b("div"),a=N(),s&&s.c(),this.c=C,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){k(d,e,f),l&&l.m(e,null),m(e,t),c&&c.m(e,null),m(e,n),m(e,o),m(e,a),s&&s.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=ui(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?c?c.p(d,f):(c=fi(d),c.c(),c.m(e,n)):c&&(c.d(1),c=null),d[1]?s?s.p(d,f):(s=hi(d),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:C,o:C,d(d){d&&E(e),l&&l.d(),c&&c.d(),s&&s.d()}}}function mi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function so(i,e,t){const[r,n]=$("Microsite header type",["live","alpha","beta"],!0);let{type:o}=e,{version:a=""}=e,{feedbackurl:l=""}=e;return Q(()=>{setTimeout(()=>n(o),1)}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"version"in c&&t(1,a=c.version),"feedbackurl"in c&&t(2,l=c.feedbackurl)},[o,a,l]}class co extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},so,lo,O,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",co);function bi(i){let e,t,r,n,o,a,l,c,s,d,f,h,w,y,p,v,_,z,D,A,M,H,I,T,L=i[3]!==null&&vi(i);function S(ee,ne){return ee[0]?fo:uo}let re=S(i),ie=re(i),R=i[9]&&wi(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=N(),o=b("div"),L&&L.c(),a=N(),l=b("div"),c=b("header"),s=b("div"),ie.c(),d=N(),R&&R.c(),f=N(),h=b("div"),w=b("goa-scrollable"),w.innerHTML="<slot></slot>",y=N(),p=b("div"),p.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-title"),u(s,"class","modal-title"),x(w,"direction","vertical"),x(w,"hpadding","1.9rem"),x(w,"maxheight","70vh"),u(h,"data-testid","modal-content"),u(h,"class","modal-content"),u(p,"class","modal-actions"),u(p,"data-testid","modal-actions"),u(l,"class","content"),u(o,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",z=i[2]&&`--width: ${i[2]};`),x(e,"active",i[1])},m(ee,ne){k(ee,e,ne),m(e,t),m(t,r),m(t,n),m(t,o),L&&L.m(o,null),m(o,a),m(o,l),m(l,c),m(c,s),ie.m(s,null),m(c,d),R&&R.m(c,null),i[16](c),m(l,f),m(l,h),m(h,w),i[17](w),i[18](h),m(l,y),m(l,p),i[19](t),H=!0,I||(T=[q(r,"click",i[12]),q(w,"_scroll",i[13]),ct(D=mt.call(null,t,{enable:i[7]}))],I=!0)},p(ee,ne){i=ee,i[3]!==null?L?L.p(i,ne):(L=vi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),re===(re=S(i))&&ie?ie.p(i,ne):(ie.d(1),ie=re(i),ie&&(ie.c(),ie.m(s,null))),i[9]?R?R.p(i,ne):(R=wi(i),R.c(),R.m(c,null)):R&&(R.d(1),R=null),(!H||ne&4&&z!==(z=i[2]&&`--width: ${i[2]};`))&&u(t,"style",z),D&&ye(D.update)&&ne&128&&D.update.call(null,{enable:i[7]}),(!H||ne&2)&&x(e,"active",i[1])},i(ee){H||(be(()=>{_&&_.end(1),v=Lt(o,Bt,{duration:i[11],y:200}),v.start()}),be(()=>{M&&M.end(1),A=Lt(t,De,{duration:i[11]}),A.start()}),H=!0)},o(ee){v&&v.invalidate(),_=Ht(o,Bt,{delay:i[11],duration:i[11],y:-100}),A&&A.invalidate(),M=Ht(t,De,{delay:i[11],duration:i[11]}),H=!1},d(ee){ee&&E(e),L&&L.d(),ie.d(),R&&R.d(),i[16](null),i[17](null),i[18](null),ee&&_&&_.end(),i[19](null),ee&&M&&M.end(),I=!1,ae(T)}}}function vi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),x(t,"type",i[10]),x(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(o,a){k(o,e,a),m(e,t)},p(o,a){a&1024&&x(t,"type",o[10]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&x(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&u(e,"class",n)},d(o){o&&E(e)}}}function uo(i){let e;return{c(){e=b("slot"),u(e,"name","heading")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function fo(i){let e;return{c(){e=B(i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&U(e,t[0])},d(t){t&&E(e)}}}function wi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),x(t,"data-testid","modal-close-button"),x(t,"icon","close"),x(t,"variant","nocolor"),u(e,"class","modal-close")},m(o,a){k(o,e,a),m(e,t),r||(n=q(t,"click",i[12]),r=!0)},p:C,d(o){o&&E(e),r=!1,n()}}}function go(i){let e,t,r=i[7]&&bi(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&X(r,1)):(r=bi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function ho(i,e,t){let r,n,o,a,{heading:l=""}=e,{closable:c="false"}=e,{open:s="false"}=e,{transition:d="none"}=e,{width:f=""}=e,{calloutvariant:h=null}=e,w=null,y=null,p=null,v=null;const[_,z]=$("Callout variant",["emergency","important","information","success","event"]),[D,A]=$("Modal transition",["fast","slow","none"]);Q(()=>{z(h),A(d)});function M(R){!r||(w==null||w.dispatchEvent(new CustomEvent("_close",{composed:!0})),R.stopPropagation())}const H=R=>{switch(R.key){case"Escape":M(R),R.preventDefault();break}};function I(R){const ee=R.detail.scrollHeight>R.detail.offsetHeight;if(n&&ee){const ne=R.detail.scrollTop==0,Me=Math.abs(R.detail.scrollHeight-R.detail.scrollTop-R.detail.offsetHeight)<1;y.classList.remove("scroll-top","scroll-bottom","scroll-middle"),ne?y.classList.add("scroll-top"):Me?y.classList.add("scroll-bottom"):y.classList.add("scroll-middle")}}function T(){const R=v.querySelector("slot");return R?[...R.assignedElements()]:[...v.children]}function L(R){W[R?"unshift":"push"](()=>{v=R,t(6,v),t(7,n),t(1,s)})}function S(R){W[R?"unshift":"push"](()=>{p=R,t(5,p),t(7,n),t(1,s)})}function re(R){W[R?"unshift":"push"](()=>{y=R,t(4,y),t(7,n),t(1,s)})}function ie(R){W[R?"unshift":"push"](()=>{w=R,t(8,w),t(7,n),t(1,s)})}return i.$$set=R=>{"heading"in R&&t(0,l=R.heading),"closable"in R&&t(14,c=R.closable),"open"in R&&t(1,s=R.open),"transition"in R&&t(15,d=R.transition),"width"in R&&t(2,f=R.width),"calloutvariant"in R&&t(3,h=R.calloutvariant)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=K(c)),i.$$.dirty&2&&t(7,n=K(s)),i.$$.dirty&128&&(n||(t(4,y=t(5,p=t(8,w=t(6,v=null)))),window.removeEventListener("keydown",H))),i.$$.dirty&176&&n&&p&&y&&p.scrollHeight>p.offsetHeight&&y.classList.add("scroll-top"),i.$$.dirty&208&&n&&y){window.addEventListener("keydown",H);const R=T();(v.querySelector("div.modal-title").textContent||v.querySelector("div.modal-close")||R.length)&&v.classList.add("has-content")}i.$$.dirty&32768&&t(11,o=d==="none"?0:d==="slow"?400:200),i.$$.dirty&8&&t(10,a=h==="emergency"?"warning":h==="important"?"alert-circle":h==="information"?"information-circle":h==="success"?"checkmark-circle":h==="event"?"calendar":"")},[l,s,f,h,y,p,v,n,w,r,a,o,M,I,c,d,L,S,re,ie]}class mo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ho,go,O,{heading:0,closable:14,open:1,transition:15,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",mo);function yi(i){let e,t,r,n,o,a,l,c,s,d,f,h,w,y,p;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=N(),a=b("div"),a.innerHTML="<slot></slot>",l=N(),c=b("div"),s=b("goa-icon-button"),x(r,"type",i[2]),x(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(a,"class","content"),x(s,"icon","close"),x(s,"variant","dark"),x(s,"inverted",d=i[0]==="important"?"false":"true"),u(c,"class","close"),u(e,"class",f="notification "+i[0])},m(v,_){k(v,e,_),m(e,t),m(t,r),m(e,o),m(e,a),m(e,l),m(e,c),m(c,s),w=!0,y||(p=q(s,"click",i[3]),y=!0)},p(v,_){(!w||_&4)&&x(r,"type",v[2]),(!w||_&1&&n!==(n=v[0]==="important"?"false":"true"))&&x(r,"inverted",n),(!w||_&1&&d!==(d=v[0]==="important"?"false":"true"))&&x(s,"inverted",d),(!w||_&1&&f!==(f="notification "+v[0]))&&u(e,"class",f)},i(v){w||(be(()=>{h||(h=et(e,De,{},!0)),h.run(1)}),w=!0)},o(v){h||(h=et(e,De,{},!1)),h.run(0),w=!1},d(v){v&&E(e),v&&h&&h.end(),y=!1,p()}}}function bo(i){let e,t,r=i[1]&&yi(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&X(r,1)):(r=yi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function vo(i,e,t){let r;const[n,o]=$("Notification type",["emergency","important","information","event"],!0);let{type:a=""}=e,l=!0;Q(()=>{setTimeout(()=>o(a),1)});function c(s){t(1,l=!1),s.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),s.stopPropagation()}return i.$$set=s=>{"type"in s&&t(0,a=s.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=a==="emergency"?"warning":a==="important"?"alert-circle":a==="information"?"information-circle":a==="event"?"calendar":"")},[a,l,r,c]}class wo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vo,bo,O,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",wo);const yo=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function po(i){return yo.test(i)}function _o(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function ko(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||po(l))}return Q(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Co extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ko,_o,O,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",Co);function pi(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function _i(i){let e,t,r,n,o,a,l,c,s,d,f={length:i[8]},h=[];for(let w=0;w<f.length;w+=1)h[w]=ki(pi(i,f,w));return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=N(),n=b("input"),o=N(),a=b("goa-dropdown");for(let w=0;w<h.length;w+=1)h[w].c();l=N(),c=b("span"),s=B("of "),d=B(i[8]),u(n,"type","hidden"),x(a,"value",i[0]),x(a,"width","70px"),x(e,"data-testid","page-selector"),x(e,"alignment","center"),x(e,"gap","s")},m(w,y){k(w,e,y),m(e,t),m(e,r),m(e,n),i[12](n),m(e,o),m(e,a);for(let p=0;p<h.length;p+=1)h[p].m(a,null);i[13](a),m(e,l),m(e,c),m(c,s),m(c,d)},p(w,y){if(y&256){f={length:w[8]};let p;for(p=0;p<f.length;p+=1){const v=pi(w,f,p);h[p]?h[p].p(v,y):(h[p]=ki(v),h[p].c(),h[p].m(a,null))}for(;p<h.length;p+=1)h[p].d(1);h.length=f.length}y&1&&x(a,"value",w[0]),y&256&&U(d,w[8])},d(w){w&&E(e),i[12](null),He(h,w),i[13](null)}}}function ki(i){let e;return{c(){e=b("goa-dropdown-item"),x(e,"value",i[20]+1),x(e,"label",i[20]+1)},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function Mo(i){let e,t,r,n,o,a,l,c,s,d,f,h,w,y=i[1]==="all"&&_i(i);return{c(){e=b("goa-block"),t=b("div"),y&&y.c(),r=N(),n=b("goa-block"),o=b("goa-button"),a=B("Previous"),c=N(),s=b("goa-button"),d=B("Next"),this.c=C,x(o,"type","tertiary"),x(o,"leadingicon","arrow-back"),x(o,"disabled",l=i[0]==1?"true":"false"),x(s,"type","tertiary"),x(s,"trailingicon","arrow-forward"),x(s,"disabled",f=i[0]==i[8]?"true":"false"),x(n,"alignment","center"),x(n,"gap","m"),x(n,"data-testid","page-links"),u(t,"class","controls"),x(e,"id","root"),x(e,"ml",i[5]),x(e,"mr",i[3]),x(e,"mb",i[4]),x(e,"mt",i[2])},m(p,v){k(p,e,v),m(e,t),y&&y.m(t,null),m(t,r),m(t,n),m(n,o),m(o,a),m(n,c),m(n,s),m(s,d),h||(w=[q(o,"click",i[14]),q(s,"click",i[15])],h=!0)},p(p,[v]){p[1]==="all"?y?y.p(p,v):(y=_i(p),y.c(),y.m(t,r)):y&&(y.d(1),y=null),v&1&&l!==(l=p[0]==1?"true":"false")&&x(o,"disabled",l),v&257&&f!==(f=p[0]==p[8]?"true":"false")&&x(s,"disabled",f),v&32&&x(e,"ml",p[5]),v&8&&x(e,"mr",p[3]),v&16&&x(e,"mb",p[4]),v&4&&x(e,"mt",p[2])},i:C,o:C,d(p){p&&E(e),y&&y.d(),h=!1,ae(w)}}}function xo(i,e,t){let r;const[n,o]=$("Pagination variant",["all","links-only"]);let{pagenumber:a}=e,{itemcount:l}=e,{perpagecount:c=10}=e,{variant:s="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:w=null}=e,y=null,p=null;Q(async()=>{await me(),it("GoAPagination",{itemcount:l,pagenumber:a}),o(s),y&&y.addEventListener("_change",M=>{const H=Number.parseInt(M.detail.value);M.stopPropagation(),p.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:H}}))})});function v(M,H){const I=Number.parseInt(a+"")+H;I>0&&I<=r&&M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:I}})),M.preventDefault()}function _(M){W[M?"unshift":"push"](()=>{p=M,t(7,p)})}function z(M){W[M?"unshift":"push"](()=>{y=M,t(6,y)})}const D=M=>v(M,-1),A=M=>v(M,1);return i.$$set=M=>{"pagenumber"in M&&t(0,a=M.pagenumber),"itemcount"in M&&t(10,l=M.itemcount),"perpagecount"in M&&t(11,c=M.perpagecount),"variant"in M&&t(1,s=M.variant),"mt"in M&&t(2,d=M.mt),"mr"in M&&t(3,f=M.mr),"mb"in M&&t(4,h=M.mb),"ml"in M&&t(5,w=M.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/c))},[a,s,d,f,h,w,y,p,r,v,l,c,_,z,D,A]}class Ci extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},xo,Mo,O,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",Ci);function Mi(i){let e,t,r,n,o,a,l,c;return{c(){e=b("goa-focus-trap"),t=b("div"),r=N(),n=b("div"),o=b("section"),a=b("slot"),u(t,"data-testid","popover-background"),u(t,"class","popover-background"),u(o,"data-testid","popover-content"),u(o,"class","popover-content"),J(o,"max-width",i[1]),J(o,"padding",i[4]?"var(--goa-space-m)":"0"),u(n,"class","popover-container"),x(e,"active",i[2])},m(s,d){k(s,e,d),m(e,t),m(e,r),m(e,n),m(n,o),m(o,a),l||(c=q(t,"click",i[6]),l=!0)},p(s,d){d&2&&J(o,"max-width",s[1]),d&16&&J(o,"padding",s[4]?"var(--goa-space-m)":"0"),d&4&&x(e,"active",s[2])},d(s){s&&E(e),l=!1,c()}}}function zo(i){let e,t,r,n,o,a=i[2]&&Mi(i);return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="target" tabindex="-1"></slot>',r=N(),a&&a.c(),this.c=C,u(t,"class","popover-target"),u(t,"tabindex","0"),u(t,"data-testid","popover-target"),u(e,"data-testid",i[0])},m(l,c){k(l,e,c),m(e,t),i[8](t),m(e,r),a&&a.m(e,null),n||(o=q(t,"click",i[5]),n=!0)},p(l,[c]){l[2]?a?a.p(l,c):(a=Mi(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),c&1&&u(e,"data-testid",l[0])},i:C,o:C,d(l){l&&E(e),i[8](null),a&&a.d(),n=!1,o()}}}function Eo(i,e,t){let r,{testid:n=""}=e,{maxwidth:o="320px"}=e,{padded:a="true"}=e,l=!1,c;Q(async()=>{await me(),h()}),Mt(()=>{w()});function s(){t(2,l=!0)}function d(){t(2,l=!1)}const f=v=>{switch(v.key){case" ":case"Enter":l?d():s(),v.preventDefault();break;case"Escape":l&&d(),v.preventDefault();break}};function h(){c.addEventListener("focus",y,!0)}function w(){c.removeEventListener("focus",y),c.removeEventListener("keydown",f)}function y(){c.addEventListener("keydown",f)}function p(v){W[v?"unshift":"push"](()=>{c=v,t(3,c)})}return i.$$set=v=>{"testid"in v&&t(0,n=v.testid),"maxwidth"in v&&t(1,o=v.maxwidth),"padded"in v&&t(7,a=v.padded)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=K(a))},[n,o,l,c,r,s,d,a,p]}class Lo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Eo,zo,O,{testid:0,maxwidth:1,padded:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","maxwidth","padded"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get padded(){return this.$$.ctx[7]}set padded(e){this.$$set({padded:e}),g()}}customElements.define("goa-popover",Lo);function xi(i,e,t){const r=i.slice();return r[22]=e[t],r}function zi(i,e){let t,r,n,o,a,l,c,s,d,f=(e[22].label||e[22].value)+"",h,w,y,p,v;function _(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),l=N(),c=b("div"),s=N(),d=b("span"),h=B(f),w=N(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=o=e[22].value===e[0],u(r,"aria-label",a=e[4]||e[1]),u(c,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[22].value),u(t,"class","goa-radio"),F(t,"goa-radio--disabled",e[12]),F(t,"goa-radio--error",e[11]),this.first=t},m(z,D){k(z,t,D),m(t,r),m(t,l),m(t,c),m(t,s),m(t,d),m(d,h),m(t,w),p||(v=q(r,"change",_),p=!0)},p(z,D){e=z,D&2&&u(r,"name",e[1]),D&512&&n!==(n=e[22].value)&&(r.value=n),D&4096&&(r.disabled=e[12]),D&513&&o!==(o=e[22].value===e[0])&&(r.checked=o),D&18&&a!==(a=e[4]||e[1])&&u(r,"aria-label",a),D&512&&f!==(f=(e[22].label||e[22].value)+"")&&U(h,f),D&512&&y!==(y="radio-option-"+e[22].value)&&u(t,"data-testid",y),D&4096&&F(t,"goa-radio--disabled",e[12]),D&2048&&F(t,"goa-radio--error",e[11])},d(z){z&&E(t),p=!1,v()}}}function Ho(i){let e,t,r,n=[],o=new Map,a,l,c=i[9];const s=d=>d[22].value;for(let d=0;d<c.length;d+=1){let f=xi(i,c,d),h=s(f);o.set(h,n[d]=zi(h,f))}return{c(){e=b("div"),t=b("slot"),r=N();for(let d=0;d<n.length;d+=1)n[d].c();this.c=C,u(e,"style",a=Y(i[5],i[6],i[7],i[8])),u(e,"class",l=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){k(d,e,f),m(e,t),m(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(c=d[9],n=Tt(n,f,s,1,d,c,o,e,At,zi,null,xi)),f&480&&a!==(a=Y(d[5],d[6],d[7],d[8]))&&u(e,"style",a),f&4&&l!==(l=`goa-radio-group--${d[2]}`)&&u(e,"class",l),f&8&&u(e,"data-testid",d[3])},i:C,o:C,d(d){d&&E(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function Ao(i,e,t){let r,n;const[o,a]=$("Radio group orientation",["vertical","horizontal"]);let{name:l}=e,{value:c}=e,{orientation:s="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:w=""}=e,{mt:y=null}=e,{mr:p=null}=e,{mb:v=null}=e,{ml:_=null}=e,z=[],D;Q(async()=>{await me(),t(9,z=M())});function A(){const L=D.querySelector("slot");return L?[...L.assignedElements()]:[...D.children]}function M(){return A().map(S=>{const re=S,ie=S.getAttribute("value")||re.value,R=S.getAttribute("label")||S.innerText||re.label||re.innerText;return{value:ie,label:R}})}function H(L){L!==c&&(t(0,c=L),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:c}})))}Q(()=>{a(s)});const I=L=>H(L.value);function T(L){W[L?"unshift":"push"](()=>{D=L,t(10,D)})}return i.$$set=L=>{"name"in L&&t(1,l=L.name),"value"in L&&t(0,c=L.value),"orientation"in L&&t(2,s=L.orientation),"disabled"in L&&t(14,d=L.disabled),"error"in L&&t(15,f=L.error),"testid"in L&&t(3,h=L.testid),"arialabel"in L&&t(4,w=L.arialabel),"mt"in L&&t(5,y=L.mt),"mr"in L&&t(6,p=L.mr),"mb"in L&&t(7,v=L.mb),"ml"in L&&t(8,_=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=K(d)),i.$$.dirty&32768&&t(11,n=K(f))},[c,l,s,h,w,y,p,v,_,z,D,n,r,H,d,f,I,T]}class To extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
106
+ var(--goa-color-interactive-hover);box-shadow:none}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:hover~.goa-radio-icon{box-shadow:0 0 0 1px var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ao,Ho,O,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-radio-group",To);function Io(i){let e,t,r,n,o;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"class","goa-scrollable"),u(e,"style",r=`
95
107
  max-height: ${i[3]||"50vh"};
96
108
  overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
97
109
  overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
98
110
  margin: ${i[2]} 0;
99
111
  padding: 0 ${i[1]};
100
- `)},m(a,o){k(a,e,o),m(e,t),i[8](e),n||(l=Q(e,"scroll",i[5]),n=!0)},p(a,[o]){o&15&&r!==(r=`
112
+ `)},m(a,l){k(a,e,l),m(e,t),i[8](e),n||(o=q(e,"scroll",i[5]),n=!0)},p(a,[l]){l&15&&r!==(r=`
101
113
  max-height: ${a[3]||"50vh"};
102
114
  overflow-y: ${a[0]==="vertical"?"auto":"hidden"};
103
115
  overflow-x: ${a[0]==="horizontal"?"auto":"hidden"};
104
116
  margin: ${a[2]} 0;
105
117
  padding: 0 ${a[1]};
106
- `)&&u(e,"style",r)},i:x,o:x,d(a){a&&M(e),i[8](null),n=!1,l()}}}function ba(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=""}=e,{vpadding:l=""}=e,{maxheight:a=""}=e,{offsetHeight:o}=e,{scrollHeight:s}=e,c;function d(h){h.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:c.offsetHeight,scrollHeight:c.scrollHeight,scrollTop:c.scrollTop}})),h.stopPropagation()}q(()=>{t(6,o=c.offsetHeight),t(7,s=c.scrollHeight)});function f(h){J[h?"unshift":"push"](()=>{c=h,t(4,c)})}return i.$$set=h=>{"direction"in h&&t(0,r=h.direction),"hpadding"in h&&t(1,n=h.hpadding),"vpadding"in h&&t(2,l=h.vpadding),"maxheight"in h&&t(3,a=h.maxheight),"offsetHeight"in h&&t(6,o=h.offsetHeight),"scrollHeight"in h&&t(7,s=h.scrollHeight)},[r,n,l,a,c,d,o,s,f]}class va extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ba,ma,O,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),g()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),g()}}customElements.define("goa-scrollable",va);function wi(i,e,t){const r=i.slice();return r[13]=e[t],r}function ya(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){k(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&M(e)}}}function wa(i){let e,t,r,n,l,a,o,s,c,d,f,h;return n=new ue({props:{type:"image",size:i[1]}}),o=new ue({props:{type:"header",size:"4"}}),c=new ue({props:{type:"header",size:"1"}}),f=new ue({props:{type:"lines",size:i[1]}}),{c(){e=b("div"),t=b("div"),r=b("div"),ge(n.$$.fragment),l=D(),a=b("div"),ge(o.$$.fragment),s=D(),ge(c.$$.fragment),d=D(),ge(f.$$.fragment),$(r,"flex","1 1 auto"),$(a,"flex","2 2 auto"),$(t,"display","flex"),$(t,"gap","1rem")},m(p,y){k(p,e,y),m(e,t),m(t,r),ce(n,r,null),m(t,l),m(t,a),ce(o,a,null),m(a,s),ce(c,a,null),m(e,d),ce(f,e,null),h=!0},p(p,y){const _={};y&2&&(_.size=p[1]),n.$set(_);const v={};y&2&&(v.size=p[1]),f.$set(v)},i(p){h||(K(n.$$.fragment,p),K(o.$$.fragment,p),K(c.$$.fragment,p),K(f.$$.fragment,p),h=!0)},o(p){te(n.$$.fragment,p),te(o.$$.fragment,p),te(c.$$.fragment,p),te(f.$$.fragment,p),h=!1},d(p){p&&M(e),de(n),de(o),de(c),de(f)}}}function _a(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let a=0;a<r.length;a+=1)n[a]=_i(wi(i,r,a));const l=a=>te(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=_e()},m(a,o){for(let s=0;s<n.length;s+=1)n[s].m(a,o);k(a,e,o),t=!0},p(a,o){if(o&6){r=Array(Number.parseInt(a[2]+""));let s;for(s=0;s<r.length;s+=1){const c=wi(a,r,s);n[s]?(n[s].p(c,o),K(n[s],1)):(n[s]=_i(c),n[s].c(),K(n[s],1),n[s].m(e.parentNode,e))}for(Ce(),s=r.length;s<n.length;s+=1)l(s);Me()}},i(a){if(!t){for(let o=0;o<r.length;o+=1)K(n[o]);t=!0}},o(a){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)te(n[o]);t=!1},d(a){Ve(n,a),a&&M(e)}}}function pa(i){let e,t,r,n,l,a,o,s,c,d;return r=new ue({props:{type:"avatar",size:i[1]}}),a=new ue({props:{type:"title",size:i[1]}}),s=new ue({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ge(r.$$.fragment),n=D(),l=b("div"),ge(a.$$.fragment),o=D(),ge(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){k(f,e,h),m(e,t),ce(r,t,null),m(e,n),m(e,l),ce(a,l,null),m(l,o),ce(s,l,null),d=!0},p(f,h){const p={};h&2&&(p.size=f[1]),r.$set(p);const y={};h&2&&(y.size=f[1]),a.$set(y);const _={};h&2&&(_.size=f[1]),s.$set(_),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(a.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){te(r.$$.fragment,f),te(a.$$.fragment,f),te(s.$$.fragment,f),d=!1},d(f){f&&M(e),de(r),de(a),de(s)}}}function ka(i){let e,t,r,n,l,a,o,s,c;return t=new ue({props:{type:"image",size:i[1]}}),l=new ue({props:{type:"header",size:i[1]}}),o=new ue({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=b("div"),ge(t.$$.fragment),r=D(),n=b("div"),ge(l.$$.fragment),a=D(),ge(o.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),$(e,"--max-width",i[0])},m(d,f){k(d,e,f),ce(t,e,null),m(e,r),m(e,n),ce(l,n,null),m(n,a),ce(o,n,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const p={};f&2&&(p.size=d[1]),l.$set(p);const y={};f&2&&(y.size=d[1]),f&4&&(y.linecount=d[2]),o.$set(y),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&$(e,"--max-width",d[0])},i(d){c||(K(t.$$.fragment,d),K(l.$$.fragment,d),K(o.$$.fragment,d),c=!0)},o(d){te(t.$$.fragment,d),te(l.$$.fragment,d),te(o.$$.fragment,d),c=!1},d(d){d&&M(e),de(t),de(l),de(o)}}}function _i(i){let e,t;return e=new ue({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ge(e.$$.fragment)},m(r,n){ce(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){te(e.$$.fragment,r),t=!1},d(r){de(e,r)}}}function xa(i){let e,t,r,n,l;const a=[ka,pa,_a,wa,ya],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:c[3]==="article"?3:4}return t=s(i),r=o[t]=a[t](i),{c(){e=b("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",n=""+(Y(i[5],i[6],i[7],i[8])+";"))},m(c,d){k(c,e,d),o[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(Ce(),te(o[f],1,1,()=>{o[f]=null}),Me(),r=o[t],r?r.p(c,d):(r=o[t]=a[t](c),r.c()),K(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(Y(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(K(r),l=!0)},o(c){te(r),l=!1},d(c){c&&M(e),o[t].d()}}}function Ea(i,e,t){const[r,n]=ee("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","lines","profile","article"],!0),[l,a]=ee("Skeleton size",["1","2","3","4"]);let{maxwidth:o=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:p=null}=e,{mb:y=null}=e,{ml:_=null}=e;return q(()=>{n(d),a(s)}),i.$$set=v=>{"maxwidth"in v&&t(0,o=v.maxwidth),"size"in v&&t(1,s=v.size),"linecount"in v&&t(2,c=v.linecount),"type"in v&&t(3,d=v.type),"testid"in v&&t(4,f=v.testid),"mt"in v&&t(5,h=v.mt),"mr"in v&&t(6,p=v.mr),"mb"in v&&t(7,y=v.mb),"ml"in v&&t(8,_=v.ml)},[o,s,c,d,f,h,p,y,_]}class ue extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ea,xa,O,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-skeleton",ue);function za(i){let e;return{c(){e=b("div"),this.c=x},m(t,r){k(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&M(e),i[3](null)}}}function Ca(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;q(()=>{Ct(l,":host",{display:"block",width:r==="fill"?"100%":`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function a(o){J[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,n=o.vspacing)},[l,r,n,a]}class Ma extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ca,za,O,{hspacing:1,vspacing:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",Ma);const Ae=[];function La(i,e=x){let t;const r=new Set;function n(o){if(O(i,o)&&(i=o,t)){const s=!Ae.length;for(const c of r)c[1](),Ae.push(c,i);if(s){for(let c=0;c<Ae.length;c+=2)Ae[c][0](Ae[c+1]);Ae.length=0}}}function l(o){n(o(i))}function a(o,s=x){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||x),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:a}}function pi(i){return Object.prototype.toString.call(i)==="[object Date]"}function dt(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,l)=>dt(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(pi(i)&&pi(e)){i=i.getTime(),e=e.getTime();const l=e-i;return a=>new Date(i+a*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=dt(i[l],e[l])}),l=>{const a={};return r.forEach(o=>{a[o]=n[o](l)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Aa(i,e={}){const t=La(i);let r,n=i;function l(a,o){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:d=0,duration:f=400,easing:h=De,interpolate:p=dt}=ut(ut({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const y=Ze()+d;let _;return r=Ye(v=>{if(v<y)return!0;c||(_=p(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const w=v-y;return w>f?(t.set(i=a),!1):(t.set(i=_(h(w/f))),!0)}),r.promise}return{set:l,update:(a,o)=>l(a(n,i),o),subscribe:t.subscribe}}function ki(i){let e,t,r,n,l,a,o,s,c;return{c(){e=we("svg"),t=we("circle"),l=we("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(l,"d",a=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(l,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){k(d,e,f),m(e,t),m(e,l)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(l,"d",a),f&16&&u(l,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(l,"stroke",o),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&M(e)}}}function Ta(i){let e,t=i[6]&&ki(i);return{c(){t&&t.c(),e=_e(),this.c=x},m(r,n){t&&t.m(r,n),k(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=ki(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:x,o:x,d(r){t&&t.d(r),r&&M(e)}}}function Ia(i,e,t){let r,n,l,a,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,p="infinite";const y=Aa(0,{duration:500,easing:Gr});Hi(i,y,w=>t(7,s=w));function _(w){const C=l+a*Math.cos(w),L=l+a*Math.sin(w);return C+" "+L}function v(w){switch(p){case"progress":{const C=_(-Math.PI/2),L=_(-Math.PI/2+2*Math.PI*(w/100)),I=w%100<50?0:1;return`M ${C} A ${a} ${a} 0 ${I} 1 ${L}`}case"infinite":{const C=_(Math.PI*1.5),L=_(0);return`M ${C} A ${a} ${a} 0 1 0 ${L}`}}}return i.$$set=w=>{"size"in w&&t(10,c=w.size),"invert"in w&&t(0,d=w.invert),"progress"in w&&t(11,f=w.progress),"testid"in w&&t(1,h=w.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const w=parseFloat(f+"");w>=0&&(y.set(w||1),t(2,p="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,l=r/2),i.$$.dirty&24&&t(12,a=l-n/2),i.$$.dirty&6148&&t(6,o=p==="infinite"?a:a&&f)},[d,h,p,l,n,r,o,s,y,v,c,f,a]}class Na extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ia,Ta,O,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Na);function Da(i){let e,t,r,n,l;return{c(){e=b("table"),t=b("slot"),r=D(),n=b("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
118
+ `)&&u(e,"style",r)},i:C,o:C,d(a){a&&E(e),i[8](null),n=!1,o()}}}function Do(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=""}=e,{vpadding:o=""}=e,{maxheight:a=""}=e,{offsetHeight:l}=e,{scrollHeight:c}=e,s;function d(h){h.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:s.offsetHeight,scrollHeight:s.scrollHeight,scrollTop:s.scrollTop}})),h.stopPropagation()}Q(()=>{t(6,l=s.offsetHeight),t(7,c=s.scrollHeight)});function f(h){W[h?"unshift":"push"](()=>{s=h,t(4,s)})}return i.$$set=h=>{"direction"in h&&t(0,r=h.direction),"hpadding"in h&&t(1,n=h.hpadding),"vpadding"in h&&t(2,o=h.vpadding),"maxheight"in h&&t(3,a=h.maxheight),"offsetHeight"in h&&t(6,l=h.offsetHeight),"scrollHeight"in h&&t(7,c=h.scrollHeight)},[r,n,o,a,s,d,l,c,f]}class No extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Do,Io,O,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),g()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),g()}}customElements.define("goa-scrollable",No);function Ei(i,e,t){const r=i.slice();return r[13]=e[t],r}function Ro(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){k(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:C,o:C,d(r){r&&E(e)}}}function jo(i){let e,t,r,n,o,a,l,c,s,d,f,h;return n=new ue({props:{type:"image",size:i[1]}}),l=new ue({props:{type:"header",size:"4"}}),s=new ue({props:{type:"header",size:"1"}}),f=new ue({props:{type:"lines",size:i[1]}}),{c(){e=b("div"),t=b("div"),r=b("div"),fe(n.$$.fragment),o=N(),a=b("div"),fe(l.$$.fragment),c=N(),fe(s.$$.fragment),d=N(),fe(f.$$.fragment),J(r,"flex","1 1 auto"),J(a,"flex","2 2 auto"),J(t,"display","flex"),J(t,"gap","1rem")},m(w,y){k(w,e,y),m(e,t),m(t,r),ce(n,r,null),m(t,o),m(t,a),ce(l,a,null),m(a,c),ce(s,a,null),m(e,d),ce(f,e,null),h=!0},p(w,y){const p={};y&2&&(p.size=w[1]),n.$set(p);const v={};y&2&&(v.size=w[1]),f.$set(v)},i(w){h||(X(n.$$.fragment,w),X(l.$$.fragment,w),X(s.$$.fragment,w),X(f.$$.fragment,w),h=!0)},o(w){te(n.$$.fragment,w),te(l.$$.fragment,w),te(s.$$.fragment,w),te(f.$$.fragment,w),h=!1},d(w){w&&E(e),de(n),de(l),de(s),de(f)}}}function Vo(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let a=0;a<r.length;a+=1)n[a]=Li(Ei(i,r,a));const o=a=>te(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=pe()},m(a,l){for(let c=0;c<n.length;c+=1)n[c].m(a,l);k(a,e,l),t=!0},p(a,l){if(l&6){r=Array(Number.parseInt(a[2]+""));let c;for(c=0;c<r.length;c+=1){const s=Ei(a,r,c);n[c]?(n[c].p(s,l),X(n[c],1)):(n[c]=Li(s),n[c].c(),X(n[c],1),n[c].m(e.parentNode,e))}for(Ae(),c=r.length;c<n.length;c+=1)o(c);Te()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)X(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)te(n[l]);t=!1},d(a){He(n,a),a&&E(e)}}}function So(i){let e,t,r,n,o,a,l,c,s,d;return r=new ue({props:{type:"avatar",size:i[1]}}),a=new ue({props:{type:"title",size:i[1]}}),c=new ue({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),fe(r.$$.fragment),n=N(),o=b("div"),fe(a.$$.fragment),l=N(),fe(c.$$.fragment),u(t,"class","profile-avatar"),u(o,"class","profile-name"),u(e,"class",s="profile profile-"+i[1])},m(f,h){k(f,e,h),m(e,t),ce(r,t,null),m(e,n),m(e,o),ce(a,o,null),m(o,l),ce(c,o,null),d=!0},p(f,h){const w={};h&2&&(w.size=f[1]),r.$set(w);const y={};h&2&&(y.size=f[1]),a.$set(y);const p={};h&2&&(p.size=f[1]),c.$set(p),(!d||h&2&&s!==(s="profile profile-"+f[1]))&&u(e,"class",s)},i(f){d||(X(r.$$.fragment,f),X(a.$$.fragment,f),X(c.$$.fragment,f),d=!0)},o(f){te(r.$$.fragment,f),te(a.$$.fragment,f),te(c.$$.fragment,f),d=!1},d(f){f&&E(e),de(r),de(a),de(c)}}}function Bo(i){let e,t,r,n,o,a,l,c,s;return t=new ue({props:{type:"image",size:i[1]}}),o=new ue({props:{type:"header",size:i[1]}}),l=new ue({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=b("div"),fe(t.$$.fragment),r=N(),n=b("div"),fe(o.$$.fragment),a=N(),fe(l.$$.fragment),u(n,"class","card-content"),u(e,"class",c="card card-"+i[1]),J(e,"--max-width",i[0])},m(d,f){k(d,e,f),ce(t,e,null),m(e,r),m(e,n),ce(o,n,null),m(n,a),ce(l,n,null),s=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const w={};f&2&&(w.size=d[1]),o.$set(w);const y={};f&2&&(y.size=d[1]),f&4&&(y.linecount=d[2]),l.$set(y),(!s||f&2&&c!==(c="card card-"+d[1]))&&u(e,"class",c),(!s||f&1)&&J(e,"--max-width",d[0])},i(d){s||(X(t.$$.fragment,d),X(o.$$.fragment,d),X(l.$$.fragment,d),s=!0)},o(d){te(t.$$.fragment,d),te(o.$$.fragment,d),te(l.$$.fragment,d),s=!1},d(d){d&&E(e),de(t),de(o),de(l)}}}function Li(i){let e,t;return e=new ue({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){fe(e.$$.fragment)},m(r,n){ce(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.linecount=r[2]),e.$set(o)},i(r){t||(X(e.$$.fragment,r),t=!0)},o(r){te(e.$$.fragment,r),t=!1},d(r){de(e,r)}}}function Oo(i){let e,t,r,n,o;const a=[Bo,So,Vo,jo,Ro],l=[];function c(s,d){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:s[3]==="article"?3:4}return t=c(i),r=l[t]=a[t](i),{c(){e=b("div"),r.c(),this.c=C,u(e,"data-testid",i[4]),u(e,"style",n=""+(Y(i[5],i[6],i[7],i[8])+";"))},m(s,d){k(s,e,d),l[t].m(e,null),o=!0},p(s,[d]){let f=t;t=c(s),t===f?l[t].p(s,d):(Ae(),te(l[f],1,1,()=>{l[f]=null}),Te(),r=l[t],r?r.p(s,d):(r=l[t]=a[t](s),r.c()),X(r,1),r.m(e,null)),(!o||d&16)&&u(e,"data-testid",s[4]),(!o||d&480&&n!==(n=""+(Y(s[5],s[6],s[7],s[8])+";")))&&u(e,"style",n)},i(s){o||(X(r),o=!0)},o(s){te(r),o=!1},d(s){s&&E(e),l[t].d()}}}function Zo(i,e,t){const[r,n]=$("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","lines","profile","article"],!0),[o,a]=$("Skeleton size",["1","2","3","4"]);let{maxwidth:l=""}=e,{size:c="1"}=e,{linecount:s=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:w=null}=e,{mb:y=null}=e,{ml:p=null}=e;return Q(()=>{setTimeout(()=>n(d),1),a(c)}),i.$$set=v=>{"maxwidth"in v&&t(0,l=v.maxwidth),"size"in v&&t(1,c=v.size),"linecount"in v&&t(2,s=v.linecount),"type"in v&&t(3,d=v.type),"testid"in v&&t(4,f=v.testid),"mt"in v&&t(5,h=v.mt),"mr"in v&&t(6,w=v.mr),"mb"in v&&t(7,y=v.mb),"ml"in v&&t(8,p=v.ml)},[l,c,s,d,f,h,w,y,p]}class ue extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Zo,Oo,O,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-skeleton",ue);function Po(i){let e;return{c(){e=b("div"),this.c=C},m(t,r){k(t,e,r),i[3](e)},p:C,i:C,o:C,d(t){t&&E(e),i[3](null)}}}function Go(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,o;Q(()=>{It(o,":host",{display:"block",width:r==="fill"?"100%":`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function a(l){W[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"hspacing"in l&&t(1,r=l.hspacing),"vspacing"in l&&t(2,n=l.vspacing)},[o,r,n,a]}class Fo extends Z{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Go,Po,O,{hspacing:1,vspacing:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",Fo);const Ne=[];function Yo(i,e=C){let t;const r=new Set;function n(l){if(O(i,l)&&(i=l,t)){const c=!Ne.length;for(const s of r)s[1](),Ne.push(s,i);if(c){for(let s=0;s<Ne.length;s+=2)Ne[s][0](Ne[s+1]);Ne.length=0}}}function o(l){n(l(i))}function a(l,c=C){const s=[l,c];return r.add(s),r.size===1&&(t=e(n)||C),l(i),()=>{r.delete(s),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}function Hi(i){return Object.prototype.toString.call(i)==="[object Date]"}function bt(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,o)=>bt(i[o],n));return n=>r.map(o=>o(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Hi(i)&&Hi(e)){i=i.getTime(),e=e.getTime();const o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=bt(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function qo(i,e={}){const t=Yo(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let c=r,s=!1,{delay:d=0,duration:f=400,easing:h=Ve,interpolate:w=bt}=wt(wt({},e),l);if(f===0)return c&&(c.abort(),c=null),t.set(i=n),Promise.resolve();const y=Ye()+d;let p;return r=qe(v=>{if(v<y)return!0;s||(p=w(i,a),typeof f=="function"&&(f=f(i,a)),s=!0),c&&(c.abort(),c=null);const _=v-y;return _>f?(t.set(i=a),!1):(t.set(i=p(h(_/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function Ai(i){let e,t,r,n,o,a,l,c,s;return{c(){e=ke("svg"),t=ke("circle"),o=ke("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(o,"d",a=i[9](i[7])),u(o,"stroke-width",i[4]),u(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(o,"stroke-linecap","round"),u(e,"class",c=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",s="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){k(d,e,f),m(e,t),m(e,o)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&a!==(a=d[9](d[7]))&&u(o,"d",a),f&16&&u(o,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(o,"stroke",l),f&4&&c!==(c=`spinner-${d[2]}`)&&u(e,"class",c),f&32&&s!==(s="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",s),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&E(e)}}}function Uo(i){let e,t=i[6]&&Ai(i);return{c(){t&&t.c(),e=pe(),this.c=C},m(r,n){t&&t.m(r,n),k(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=Ai(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:C,o:C,d(r){t&&t.d(r),r&&E(e)}}}function Wo(i,e,t){let r,n,o,a,l,c,{size:s}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,w="infinite";const y=qo(0,{duration:500,easing:nn});Ki(i,y,_=>t(7,c=_));function p(_){const z=o+a*Math.cos(_),D=o+a*Math.sin(_);return z+" "+D}function v(_){switch(w){case"progress":{const z=p(-Math.PI/2),D=p(-Math.PI/2+2*Math.PI*(_/100)),A=_%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${A} 1 ${D}`}case"infinite":{const z=p(Math.PI*1.5),D=p(0);return`M ${z} A ${a} ${a} 0 1 0 ${D}`}}}return i.$$set=_=>{"size"in _&&t(10,s=_.size),"invert"in _&&t(0,d=_.invert),"progress"in _&&t(11,f=_.progress),"testid"in _&&t(1,h=_.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const _=parseFloat(f+"");_>=0&&(y.set(_||1),t(2,w="progress"))}i.$$.dirty&1024&&t(5,r=s&&{small:16,medium:32,large:64,xlarge:100}[s]),i.$$.dirty&1024&&t(4,n=s&&{small:2,medium:4,large:7,xlarge:9}[s]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=w==="infinite"?a:a&&f)},[d,h,w,o,n,r,l,c,y,v,s,f,a]}class Qo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wo,Uo,O,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Qo);function Ko(i){let e,t,r,n,o;return{c(){e=b("table"),t=b("slot"),r=N(),n=b("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
107
119
  <tbody><tr><td></td></tr></tbody>
108
- <tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",l=`
120
+ <tfoot><tr><td></td></tr></tfoot>`,this.c=C,u(e,"class",i[1]),u(e,"style",o=`
109
121
  ${i[0]?`width: ${i[0]};`:""}
110
122
  ${Y(i[2],i[3],i[4],i[5])}
111
- `),Z(e,"sticky",i[7])},m(a,o){k(a,e,o),m(e,t),m(e,r),m(e,n),i[9](e)},p(a,[o]){o&2&&u(e,"class",a[1]),o&61&&l!==(l=`
123
+ `),F(e,"sticky",i[7])},m(a,l){k(a,e,l),m(e,t),m(e,r),m(e,n),i[9](e)},p(a,[l]){l&2&&u(e,"class",a[1]),l&61&&o!==(o=`
112
124
  ${a[0]?`width: ${a[0]};`:""}
113
125
  ${Y(a[2],a[3],a[4],a[5])}
114
- `)&&u(e,"style",l),o&130&&Z(e,"sticky",a[7])},i:x,o:x,d(a){a&&M(e),i[9](null)}}}function Ha(i,e,t){let r;const[n,l]=ee("Table variant",["normal","relaxed"],!0);let{width:a=""}=e,{stickyheader:o="false"}=e,{variant:s="normal"}=e,{mt:c=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:h=null}=e,p;q(()=>{l(s),y();const v=p.querySelector("slot");if(!v||v.assignedElements().length===0)return;const w=v.assignedElements()[0].querySelectorAll("template table > *");p.append(...w.length>0?w:v.assignedElements())});async function y(){await fe();const v=p.querySelectorAll("goa-table-sort-header");v.forEach(w=>{w.addEventListener("click",()=>{const C=w.getAttribute("name");let L;v.forEach(I=>{if(I.getAttribute("name")===C){const T=I.getAttribute("direction")==="desc"?"asc":"desc";L=T==="asc"?1:-1,I.setAttribute("direction",T)}else I.setAttribute("direction","none")}),w.dispatchEvent(new CustomEvent("_sort",{composed:!0,bubbles:!1,cancelable:!0,detail:{sortBy:C,sortDir:L}}))})})}function _(v){J[v?"unshift":"push"](()=>{p=v,t(6,p)})}return i.$$set=v=>{"width"in v&&t(0,a=v.width),"stickyheader"in v&&t(8,o=v.stickyheader),"variant"in v&&t(1,s=v.variant),"mt"in v&&t(2,c=v.mt),"mr"in v&&t(3,d=v.mr),"mb"in v&&t(4,f=v.mb),"ml"in v&&t(5,h=v.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=F(o))},[a,s,c,d,f,h,p,r,o,_]}class ja extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{overflow-x:auto}table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{font:var(--goa-typography-body-m);padding:0.75rem 1rem;border-bottom:1px solid var(--goa-color-greyscale-200)}table .goa-table-number-column{font:var(--goa-typography-number-m);text-align:right}table.relaxed td{padding:1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700);vertical-align:bottom}th:has(goa-table-sort-header){padding:0}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ha,Da,O,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get stickyheader(){return this.$$.ctx[8]}set stickyheader(e){this.$$set({stickyheader:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-table",ja);function Ra(i){let e,t;return{c(){e=b("img"),u(e,"alt",i[0]),u(e,"class",i[0]),Ee(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjE2IgogICBoZWlnaHQ9IjIyIgogICB2aWV3Qm94PSIwIDAgMTYgMjIiCiAgIGZpbGw9Im5vbmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEwNjgiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEwNzIiIC8+CiAgPHBhdGgKICAgICBkPSJtIDAuNTk0Mzc0NzEsNy45MDkwOTkgNi41NTIxODc5OSw3LjY0NjI1IGMgMC4xMDU2MSwwLjEyMzE4IDAuMjM2NjIsMC4yMjIwNiAwLjM4NDA0LDAuMjg5ODUgMC4xNDc0MiwwLjA2Nzc5IDAuMzA3NzYsMC4xMDI4OSAwLjQ3MDAyLDAuMTAyODkgMC4xNjIyNiwwIDAuMzIyNiwtMC4wMzUxIDAuNDcwMDIsLTAuMTAyODkgMC4xNDc0MiwtMC4wNjc3OSAwLjI3ODQzLC0wLjE2NjY3IDAuMzg0MDQsLTAuMjg5ODUgbCA2LjU1MjE4MDMsLTcuNjQ2MjUgYyAwLjYyNTMsLTAuNzI5ODQgMC4xMDY5LC0xLjg1NzE4OCAtMC44NTQxLC0xLjg1NzE4OCBIIDEuNDQ2NTYyNyBjIC0wLjk2MDkzNzk5LDAgLTEuNDc5Mzc1NjksMS4xMjczNDggLTAuODUyMTg3OTksMS44NTcxODggeiIKICAgICBmaWxsPSIjMDA3MGM0IgogICAgIGlkPSJwYXRoMTA2NiIgLz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,n){k(r,e,n)},p(r,n){n&1&&u(e,"alt",r[0]),n&1&&u(e,"class",r[0])},d(r){r&&M(e)}}}function Sa(i){let e,t;return{c(){e=b("img"),u(e,"alt","not sorted"),Ee(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMTUuMzU5ODg3IgogICBoZWlnaHQ9IjIxLjg0NDI1IgogICB2aWV3Qm94PSIwIDAgNC4wNjM5NzAxIDUuNzc5NjI0NCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNTE3IgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM1MTQiIC8+CiAgPGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05LjM0NTE0MDMsLTguNzQ0OTg2NikiPgogICAgPHBhdGgKICAgICAgIGQ9Im0gOS40MTc3Njg0LDEyLjM5NzYzMSAxLjczMzU5ODYsMi4wMjMwNyBjIDAuMDI3OTQsMC4wMzI1OSAwLjA2MjYxLDAuMDU4NzUgMC4xMDE2MTEsMC4wNzY2OSAwLjAzOSwwLjAxNzk0IDAuMDgxNDMsMC4wMjcyMiAwLjEyNDM1OSwwLjAyNzIyIDAuMDQyOTMsMCAwLjA4NTM1LC0wLjAwOTMgMC4xMjQzNiwtMC4wMjcyMiAwLjAzOSwtMC4wMTc5NCAwLjA3MzY3LC0wLjA0NDEgMC4xMDE2MSwtMC4wNzY2OSBsIDEuNzMzNTk4LC0yLjAyMzA3IGMgMC4xNjU0NDQsLTAuMTkzMTA0IDAuMDI4MjgsLTAuNDkxMzgxIC0wLjIyNTk4MSwtMC40OTEzODEgSCA5LjY0MzI0MjQgYyAtMC4yNTQyNDgsMCAtMC4zOTE0MTgsMC4yOTgyNzcgLTAuMjI1NDc0LDAuNDkxMzgxIHoiCiAgICAgICBmaWxsPSIjYWRhZGFkIgogICAgICAgaWQ9InBhdGgzMzUiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gMTMuMzM2NDk0LDEwLjg3MTk2OCAxMS42MDI4ODksOC44NDg4OTY2IGMgLTAuMDI3OTQsLTAuMDMyNTkgLTAuMDYyNjEsLTAuMDU4NzUgLTAuMTAxNjExLC0wLjA3NjY5IC0wLjAzOSwtMC4wMTc5NCAtMC4wODE0MywtMC4wMjcyMiAtMC4xMjQzNTksLTAuMDI3MjIgLTAuMDQyOTMsMCAtMC4wODUzNSwwLjAwOTMgLTAuMTI0MzYsMC4wMjcyMiAtMC4wMzkwMSwwLjAxNzk0IC0wLjA3MzY3LDAuMDQ0MSAtMC4xMDE2MTMsMC4wNzY2OSBMIDkuNDE3MzQ3MSwxMC44NzE5NjggYyAtMC4xNjU0NDcsMC4xOTMxMDMgLTAuMDI4MjgsMC40OTEzNzkgMC4yMjU5NzEsMC40OTEzNzkgaCAzLjQ2NzY5NzkgYyAwLjI1NDIzOCwwIDAuMzkxNDI1LC0wLjI5ODI3NiAwLjIyNTQ3OCwtMC40OTEzNzkgeiIKICAgICAgIGZpbGw9IiNhZGFkYWQiCiAgICAgICBpZD0icGF0aDIiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogIDwvZz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,n){k(r,e,n)},p:x,d(r){r&&M(e)}}}function Oa(i){let e,t,r;function n(o,s){return o[0]==="none"?Sa:Ra}let l=n(i),a=l(i);return{c(){e=b("button"),t=b("slot"),r=D(),a.c(),this.c=x},m(o,s){k(o,e,s),m(e,t),m(e,r),a.m(e,null)},p(o,[s]){l===(l=n(o))&&a?a.p(o,s):(a.d(1),a=l(o),a&&(a.c(),a.m(e,null)))},i:x,o:x,d(o){o&&M(e),a.d()}}}function Ba(i,e,t){let{direction:r="none"}=e;return i.$$set=n=>{"direction"in n&&t(0,r=n.direction)},[r]}class Pa extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:flex-end}button{border:none;background:none;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;padding:1rem;width:100%;height:100%;text-align:left;gap:0.25rem;align-items:flex-end;justify-content:stretch}button *{align-self:flex-end}img{width:16px;height:22px;scale:0.7}button:hover{background-color:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-default)}img.asc{transform:rotate(180deg)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ba,Oa,O,{direction:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}}customElements.define("goa-table-sort-header",Pa);function Ga(i){let e,t,r,n,l,a,o;return{c(){e=b("div"),t=b("textarea"),n=D(),this.c=x,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),Z(t,"error",i[14]),u(e,"class","container"),u(e,"style",l=`
126
+ `)&&u(e,"style",o),l&130&&F(e,"sticky",a[7])},i:C,o:C,d(a){a&&E(e),i[9](null)}}}function Xo(i,e,t){let r;const[n,o]=$("Table variant",["normal","relaxed"],!0);let{width:a=""}=e,{stickyheader:l="false"}=e,{variant:c="normal"}=e,{mt:s=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:h=null}=e,w;Q(()=>{o(c),setTimeout(y,0);const v=w.querySelector("slot");if(!v||v.assignedElements().length===0)return;const _=v.assignedElements()[0].querySelectorAll("template table > *");w.append(..._.length>0?_:v.assignedElements())});async function y(){await me();const v=w.querySelectorAll("goa-table-sort-header");v.forEach(_=>{_.addEventListener("click",()=>{const z=_.getAttribute("name");let D;v.forEach(A=>{if(A.getAttribute("name")===z){const H=A.getAttribute("direction")==="desc"?"asc":"desc";D=H==="asc"?1:-1,A.setAttribute("direction",H)}else A.setAttribute("direction","none")}),_.dispatchEvent(new CustomEvent("_sort",{composed:!0,bubbles:!1,cancelable:!0,detail:{sortBy:z,sortDir:D}}))})})}function p(v){W[v?"unshift":"push"](()=>{w=v,t(6,w)})}return i.$$set=v=>{"width"in v&&t(0,a=v.width),"stickyheader"in v&&t(8,l=v.stickyheader),"variant"in v&&t(1,c=v.variant),"mt"in v&&t(2,s=v.mt),"mr"in v&&t(3,d=v.mr),"mb"in v&&t(4,f=v.mb),"ml"in v&&t(5,h=v.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=K(l))},[a,c,s,d,f,h,w,r,l,p]}class Jo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{overflow-x:auto}table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{font:var(--goa-typography-body-m);padding:0.75rem 1rem;border-bottom:1px solid var(--goa-color-greyscale-200)}table .goa-table-number-column{font:var(--goa-typography-number-m);text-align:right}table.relaxed td{padding:1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700);vertical-align:bottom}th:has(goa-table-sort-header){padding:0}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xo,Ko,O,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get stickyheader(){return this.$$.ctx[8]}set stickyheader(e){this.$$set({stickyheader:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-table",Jo);function $o(i){let e,t;return{c(){e=b("img"),u(e,"alt",i[0]),u(e,"class",i[0]),Ee(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjE2IgogICBoZWlnaHQ9IjIyIgogICB2aWV3Qm94PSIwIDAgMTYgMjIiCiAgIGZpbGw9Im5vbmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEwNjgiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEwNzIiIC8+CiAgPHBhdGgKICAgICBkPSJtIDAuNTk0Mzc0NzEsNy45MDkwOTkgNi41NTIxODc5OSw3LjY0NjI1IGMgMC4xMDU2MSwwLjEyMzE4IDAuMjM2NjIsMC4yMjIwNiAwLjM4NDA0LDAuMjg5ODUgMC4xNDc0MiwwLjA2Nzc5IDAuMzA3NzYsMC4xMDI4OSAwLjQ3MDAyLDAuMTAyODkgMC4xNjIyNiwwIDAuMzIyNiwtMC4wMzUxIDAuNDcwMDIsLTAuMTAyODkgMC4xNDc0MiwtMC4wNjc3OSAwLjI3ODQzLC0wLjE2NjY3IDAuMzg0MDQsLTAuMjg5ODUgbCA2LjU1MjE4MDMsLTcuNjQ2MjUgYyAwLjYyNTMsLTAuNzI5ODQgMC4xMDY5LC0xLjg1NzE4OCAtMC44NTQxLC0xLjg1NzE4OCBIIDEuNDQ2NTYyNyBjIC0wLjk2MDkzNzk5LDAgLTEuNDc5Mzc1NjksMS4xMjczNDggLTAuODUyMTg3OTksMS44NTcxODggeiIKICAgICBmaWxsPSIjMDA3MGM0IgogICAgIGlkPSJwYXRoMTA2NiIgLz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,n){k(r,e,n)},p(r,n){n&1&&u(e,"alt",r[0]),n&1&&u(e,"class",r[0])},d(r){r&&E(e)}}}function ea(i){let e,t;return{c(){e=b("img"),u(e,"alt","not sorted"),Ee(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMTUuMzU5ODg3IgogICBoZWlnaHQ9IjIxLjg0NDI1IgogICB2aWV3Qm94PSIwIDAgNC4wNjM5NzAxIDUuNzc5NjI0NCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNTE3IgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM1MTQiIC8+CiAgPGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05LjM0NTE0MDMsLTguNzQ0OTg2NikiPgogICAgPHBhdGgKICAgICAgIGQ9Im0gOS40MTc3Njg0LDEyLjM5NzYzMSAxLjczMzU5ODYsMi4wMjMwNyBjIDAuMDI3OTQsMC4wMzI1OSAwLjA2MjYxLDAuMDU4NzUgMC4xMDE2MTEsMC4wNzY2OSAwLjAzOSwwLjAxNzk0IDAuMDgxNDMsMC4wMjcyMiAwLjEyNDM1OSwwLjAyNzIyIDAuMDQyOTMsMCAwLjA4NTM1LC0wLjAwOTMgMC4xMjQzNiwtMC4wMjcyMiAwLjAzOSwtMC4wMTc5NCAwLjA3MzY3LC0wLjA0NDEgMC4xMDE2MSwtMC4wNzY2OSBsIDEuNzMzNTk4LC0yLjAyMzA3IGMgMC4xNjU0NDQsLTAuMTkzMTA0IDAuMDI4MjgsLTAuNDkxMzgxIC0wLjIyNTk4MSwtMC40OTEzODEgSCA5LjY0MzI0MjQgYyAtMC4yNTQyNDgsMCAtMC4zOTE0MTgsMC4yOTgyNzcgLTAuMjI1NDc0LDAuNDkxMzgxIHoiCiAgICAgICBmaWxsPSIjYWRhZGFkIgogICAgICAgaWQ9InBhdGgzMzUiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gMTMuMzM2NDk0LDEwLjg3MTk2OCAxMS42MDI4ODksOC44NDg4OTY2IGMgLTAuMDI3OTQsLTAuMDMyNTkgLTAuMDYyNjEsLTAuMDU4NzUgLTAuMTAxNjExLC0wLjA3NjY5IC0wLjAzOSwtMC4wMTc5NCAtMC4wODE0MywtMC4wMjcyMiAtMC4xMjQzNTksLTAuMDI3MjIgLTAuMDQyOTMsMCAtMC4wODUzNSwwLjAwOTMgLTAuMTI0MzYsMC4wMjcyMiAtMC4wMzkwMSwwLjAxNzk0IC0wLjA3MzY3LDAuMDQ0MSAtMC4xMDE2MTMsMC4wNzY2OSBMIDkuNDE3MzQ3MSwxMC44NzE5NjggYyAtMC4xNjU0NDcsMC4xOTMxMDMgLTAuMDI4MjgsMC40OTEzNzkgMC4yMjU5NzEsMC40OTEzNzkgaCAzLjQ2NzY5NzkgYyAwLjI1NDIzOCwwIDAuMzkxNDI1LC0wLjI5ODI3NiAwLjIyNTQ3OCwtMC40OTEzNzkgeiIKICAgICAgIGZpbGw9IiNhZGFkYWQiCiAgICAgICBpZD0icGF0aDIiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogIDwvZz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,n){k(r,e,n)},p:C,d(r){r&&E(e)}}}function ta(i){let e,t,r;function n(l,c){return l[0]==="none"?ea:$o}let o=n(i),a=o(i);return{c(){e=b("button"),t=b("slot"),r=N(),a.c(),this.c=C},m(l,c){k(l,e,c),m(e,t),m(e,r),a.m(e,null)},p(l,[c]){o===(o=n(l))&&a?a.p(l,c):(a.d(1),a=o(l),a&&(a.c(),a.m(e,null)))},i:C,o:C,d(l){l&&E(e),a.d()}}}function ia(i,e,t){let{direction:r="none"}=e;return i.$$set=n=>{"direction"in n&&t(0,r=n.direction)},[r]}class ra extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:flex-end}button{border:none;background:none;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;padding:1rem;width:100%;height:100%;text-align:left;gap:0.25rem;align-items:flex-end;justify-content:stretch}button *{align-self:flex-end}img{width:16px;height:22px;scale:0.7}button:hover{background-color:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-default)}img.asc{transform:rotate(180deg)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ia,ta,O,{direction:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}}customElements.define("goa-table-sort-header",ra);function na(i){let e,t,r,n,o,a,l;return{c(){e=b("div"),t=b("textarea"),n=N(),this.c=C,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),F(t,"error",i[14]),u(e,"class","container"),u(e,"style",o=`
115
127
  ${Y(i[7],i[8],i[9],i[10])};
116
128
  --width: ${i[5]};
117
- `)},m(s,c){k(s,e,c),m(e,t),m(e,n),a||(o=Q(t,"keyup",i[15]),a=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&u(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&u(t,"data-testid",s[4]),c&16384&&Z(t,"error",s[14]),c&1952&&l!==(l=`
118
- ${Y(s[7],s[8],s[9],s[10])};
119
- --width: ${s[5]};
120
- `)&&u(e,"style",l)},i:x,o:x,d(s){s&&M(e),a=!1,o()}}}function Za(i,e,t){let r,n,l,{name:a}=e,{value:o=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:p="false"}=e,{disabled:y="false"}=e,{arialabel:_=""}=e,{mt:v=null}=e,{mr:w=null}=e,{mb:C=null}=e,{ml:L=null}=e,{maxcharcount:I=0}=e;function z(T){const H=T.target.value;n||(T.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:T,name:a,value:H}})),T.stopPropagation())}return i.$$set=T=>{"name"in T&&t(0,a=T.name),"value"in T&&t(1,o=T.value),"placeholder"in T&&t(2,s=T.placeholder),"rows"in T&&t(3,c=T.rows),"testid"in T&&t(4,d=T.testid),"width"in T&&t(5,f=T.width),"error"in T&&t(16,h=T.error),"readonly"in T&&t(17,p=T.readonly),"disabled"in T&&t(18,y=T.disabled),"arialabel"in T&&t(6,_=T.arialabel),"mt"in T&&t(7,v=T.mt),"mr"in T&&t(8,w=T.mr),"mb"in T&&t(9,C=T.mb),"ml"in T&&t(10,L=T.ml),"maxcharcount"in T&&t(11,I=T.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=F(h)),i.$$.dirty&262144&&t(12,n=F(y)),i.$$.dirty&131072&&t(13,l=F(p))},[a,o,s,c,d,f,_,v,w,C,L,I,n,l,r,z,h,p,y]}class Ya extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:0.75rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;border:1px solid var(--goa-color-greyscale-700);border-radius:3px;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%;resize:vertical}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.goa-textarea:disabled,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--goa-font-size-2)}.counter-error{color:var(--goa-color-interactive-error)
121
- }.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-s) var(--goa-color-interactive-error)}.error:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error:active,.error:focus{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Za,Ga,O,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","mt","mr","mb","ml","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),g()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),g()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Ya);function Va(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
129
+ `)},m(c,s){k(c,e,s),m(e,t),m(e,n),a||(l=q(t,"keyup",i[15]),a=!0)},p(c,[s]){s&1&&u(t,"name",c[0]),s&4&&u(t,"placeholder",c[2]),s&2&&(t.value=c[1]),s&8&&u(t,"rows",c[3]),s&65&&r!==(r=c[6]||c[0])&&u(t,"aria-label",r),s&4096&&(t.disabled=c[12]),s&8192&&(t.readOnly=c[13]),s&16&&u(t,"data-testid",c[4]),s&16384&&F(t,"error",c[14]),s&1952&&o!==(o=`
130
+ ${Y(c[7],c[8],c[9],c[10])};
131
+ --width: ${c[5]};
132
+ `)&&u(e,"style",o)},i:C,o:C,d(c){c&&E(e),a=!1,l()}}}function oa(i,e,t){let r,n,o,{name:a}=e,{value:l=""}=e,{placeholder:c=""}=e,{rows:s=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:w="false"}=e,{disabled:y="false"}=e,{arialabel:p=""}=e,{mt:v=null}=e,{mr:_=null}=e,{mb:z=null}=e,{ml:D=null}=e,{maxcharcount:A=0}=e;function M(H){const T=H.target.value;n||(H.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:H,name:a,value:T}})),H.stopPropagation())}return i.$$set=H=>{"name"in H&&t(0,a=H.name),"value"in H&&t(1,l=H.value),"placeholder"in H&&t(2,c=H.placeholder),"rows"in H&&t(3,s=H.rows),"testid"in H&&t(4,d=H.testid),"width"in H&&t(5,f=H.width),"error"in H&&t(16,h=H.error),"readonly"in H&&t(17,w=H.readonly),"disabled"in H&&t(18,y=H.disabled),"arialabel"in H&&t(6,p=H.arialabel),"mt"in H&&t(7,v=H.mt),"mr"in H&&t(8,_=H.mr),"mb"in H&&t(9,z=H.mb),"ml"in H&&t(10,D=H.ml),"maxcharcount"in H&&t(11,A=H.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=K(h)),i.$$.dirty&262144&&t(12,n=K(y)),i.$$.dirty&131072&&t(13,o=K(w))},[a,l,c,s,d,f,p,v,_,z,D,A,n,o,r,M,h,w,y]}class aa extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:0.75rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;border:1px solid var(--goa-color-greyscale-700);border-radius:3px;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%;resize:vertical}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.goa-textarea:disabled,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--goa-font-size-2)}.counter-error{color:var(--goa-color-interactive-error)
133
+ }.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-s) var(--goa-color-interactive-error)}.error:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error:active,.error:focus{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},oa,na,O,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","mt","mr","mb","ml","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),g()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),g()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",aa);function la(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
122
134
 
123
135
  <nav class="nav"><slot name="nav"></slot></nav>
124
136
 
125
137
  <main><slot></slot></main>
126
138
 
127
- <footer class="footer"><slot name="footer"></slot></footer>`,this.c=x,u(e,"class","page")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Fa extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
139
+ <footer class="footer"><slot name="footer"></slot></footer>`,this.c=C,u(e,"class","page")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&E(e)}}}class sa extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
128
140
  "content"
129
141
  "nav"
130
142
  "footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
131
143
  "nav content"
132
- "footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Va,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",Fa);function qa(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
144
+ "footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,la,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",sa);function ca(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
133
145
 
134
146
  <main><slot></slot></main>
135
147
 
136
- <section class="footer"><slot name="footer"></slot></section>`,this.c=x,u(e,"class","page")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Qa extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,qa,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",Qa);function Ua(i){let e,t,r,n,l,a,o;return{c(){e=b("div"),t=b("header"),t.innerHTML='<slot name="header"></slot>',r=D(),n=b("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
148
+ <section class="footer"><slot name="footer"></slot></section>`,this.c=C,u(e,"class","page")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&E(e)}}}class da extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,ca,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",da);function ua(i){let e,t,r,n,o,a,l;return{c(){e=b("div"),t=b("header"),t.innerHTML='<slot name="header"></slot>',r=N(),n=b("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
137
149
 
138
- <main><slot></slot></main>`,l=D(),a=b("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=x,u(t,"class","header"),u(n,"class","content"),u(a,"class","footer"),u(e,"class","page"),u(e,"style",o=`
150
+ <main><slot></slot></main>`,o=N(),a=b("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=C,u(t,"class","header"),u(n,"class","content"),u(a,"class","footer"),u(e,"class","page"),u(e,"style",l=`
139
151
  --max-content-width: ${i[1]||"100%"};
140
152
  --nav-column-width: ${i[0]||"256px"};
141
- `)},m(s,c){k(s,e,c),m(e,t),m(e,r),m(e,n),m(e,l),m(e,a)},p(s,[c]){c&3&&o!==(o=`
142
- --max-content-width: ${s[1]||"100%"};
143
- --nav-column-width: ${s[0]||"256px"};
144
- `)&&u(e,"style",o)},i:x,o:x,d(s){s&&M(e)}}}function Wa(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=l=>{"navcolumnwidth"in l&&t(0,r=l.navcolumnwidth),"maxcontentwidth"in l&&t(1,n=l.maxcontentwidth)},[r,n]}class Ka extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--goa-color-greyscale-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wa,Ua,O,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),g()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-two-column-layout",Ka);function xi(i){let e,t,r;return{c(){e=b("progress"),t=D(),r=b("progress"),u(e,"class","horizontal"),e.value=i[11],u(e,"max","100"),u(r,"class","vertical"),r.value=i[11],u(r,"max","100")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},p(n,l){l&2048&&(e.value=n[11]),l&2048&&(r.value=n[11])},d(n){n&&M(e),n&&M(t),n&&M(r)}}}function Xa(i){let e,t,r,n,l,a=i[4].length>0&&i[10]&&xi(i);return{c(){e=b("section"),t=b("div"),a&&a.c(),r=D(),n=b("div"),n.innerHTML='<goa-grid minchildwidth="1px"><slot></slot></goa-grid>',this.c=x,u(n,"class","slots"),u(t,"class","form-stepper"),u(t,"style",l=`
153
+ `)},m(c,s){k(c,e,s),m(e,t),m(e,r),m(e,n),m(e,o),m(e,a)},p(c,[s]){s&3&&l!==(l=`
154
+ --max-content-width: ${c[1]||"100%"};
155
+ --nav-column-width: ${c[0]||"256px"};
156
+ `)&&u(e,"style",l)},i:C,o:C,d(c){c&&E(e)}}}function fa(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=o=>{"navcolumnwidth"in o&&t(0,r=o.navcolumnwidth),"maxcontentwidth"in o&&t(1,n=o.maxcontentwidth)},[r,n]}class ga extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--goa-color-greyscale-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},fa,ua,O,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),g()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-two-column-layout",ga);function Ti(i){let e,t,r;return{c(){e=b("progress"),t=N(),r=b("progress"),u(e,"class","horizontal"),e.value=i[11],u(e,"max","100"),u(r,"class","vertical"),r.value=i[11],u(r,"max","100")},m(n,o){k(n,e,o),k(n,t,o),k(n,r,o)},p(n,o){o&2048&&(e.value=n[11]),o&2048&&(r.value=n[11])},d(n){n&&E(e),n&&E(t),n&&E(r)}}}function ha(i){let e,t,r,n,o,a=i[4].length>0&&i[10]&&Ti(i);return{c(){e=b("section"),t=b("div"),a&&a.c(),r=N(),n=b("div"),n.innerHTML='<goa-grid minchildwidth="1px"><slot></slot></goa-grid>',this.c=C,u(n,"class","slots"),u(t,"class","form-stepper"),u(t,"style",o=`
145
157
  ${Y(i[0],i[1],i[2],i[3])};
146
158
  --progress: ${i[11]}%;
147
159
  --step-width: ${i[7]}px;
148
160
  --step-height: ${i[8]}px;
149
161
  --height: ${i[9]}px;
150
- `),u(e,"role","list")},m(o,s){k(o,e,s),m(e,t),a&&a.m(t,null),m(t,r),m(t,n),i[15](n),i[16](t)},p(o,[s]){o[4].length>0&&o[10]?a?a.p(o,s):(a=xi(o),a.c(),a.m(t,r)):a&&(a.d(1),a=null),s&2959&&l!==(l=`
151
- ${Y(o[0],o[1],o[2],o[3])};
152
- --progress: ${o[11]}%;
153
- --step-width: ${o[7]}px;
154
- --step-height: ${o[8]}px;
155
- --height: ${o[9]}px;
156
- `)&&u(t,"style",l)},i:x,o:x,d(o){o&&M(e),a&&a.d(),i[15](null),i[16](null)}}}function Ja(i,e,t){let r,{step:n=-1}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e,c,d,f=[],h,p,y,_=1,v=1,w=!1;q(async()=>{await fe();const A=c.querySelector("slot");return A?t(4,f=A.assignedElements()):t(4,f=[...c.querySelector("goa-grid").children]),n<=0&&(t(12,n=1),setTimeout(()=>{C(n)},1),t(13,_=f.length)),f.forEach((H,N)=>{const j=H;j.setAttribute("arialabel",`Step ${N+1} of ${f.length}`),j.setAttribute("childindex",`${N+1}`)}),c.addEventListener("_click",H=>{t(12,n=H.detail),C(n)}),L(n),I(),setTimeout(()=>{t(10,w=!0)},10),window.addEventListener("resize",I),window.addEventListener("orientationchange",I),()=>{window.removeEventListener("resize",I),window.removeEventListener("orientationchange",I)}});function C(A){c.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{step:A}}))}function L(A){f.forEach((H,N)=>{H.setAttribute("current",N===A-1?"true":"false")})}function I(){setTimeout(()=>{t(7,h=f.length>0&&f[0].offsetWidth),t(8,p=f.length>0&&f[0].offsetHeight),t(9,y=d==null?void 0:d.offsetHeight)},1)}function z(A){J[A?"unshift":"push"](()=>{d=A,t(6,d)})}function T(A){J[A?"unshift":"push"](()=>{c=A,t(5,c)})}return i.$$set=A=>{"step"in A&&t(12,n=A.step),"mt"in A&&t(0,l=A.mt),"mr"in A&&t(1,a=A.mr),"mb"in A&&t(2,o=A.mb),"ml"in A&&t(3,s=A.ml)},i.$$.update=()=>{i.$$.dirty&28688&&f.length&&(n>v&&t(14,v=n),n>_&&t(13,_=n),f.forEach((A,H)=>{A.setAttribute("enabled",H>_-1?"false":"true")})),i.$$.dirty&16400&&t(11,r=(v-1)/(f.length-1)*100),i.$$.dirty&4096&&L(n)},[l,a,o,s,f,c,d,h,p,y,w,r,n,_,v,z,T]}class Ei extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>.form-stepper{position:relative}.slots{position:relative;inset:0;z-index:2}progress{position:absolute;z-index:1;-webkit-appearance:none;appearance:none;height:4px;border:none;background:var(--goa-color-greyscale-200);pointer-events:none}progress.horizontal{display:block;top:calc(1.75rem + (2.5rem / 2) - 2px);left:calc(var(--step-width) / 2);width:calc(100% - var(--step-width))}progress.vertical{display:none;width:calc(var(--height) - var(--step-height));transform:rotate(90deg)
162
+ `),u(e,"role","list")},m(l,c){k(l,e,c),m(e,t),a&&a.m(t,null),m(t,r),m(t,n),i[15](n),i[16](t)},p(l,[c]){l[4].length>0&&l[10]?a?a.p(l,c):(a=Ti(l),a.c(),a.m(t,r)):a&&(a.d(1),a=null),c&2959&&o!==(o=`
163
+ ${Y(l[0],l[1],l[2],l[3])};
164
+ --progress: ${l[11]}%;
165
+ --step-width: ${l[7]}px;
166
+ --step-height: ${l[8]}px;
167
+ --height: ${l[9]}px;
168
+ `)&&u(t,"style",o)},i:C,o:C,d(l){l&&E(e),a&&a.d(),i[15](null),i[16](null)}}}function ma(i,e,t){let r,{step:n=-1}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:l=null}=e,{ml:c=null}=e,s,d,f=[],h,w,y,p=1,v=1,_=!1;Q(async()=>{await me();const I=s.querySelector("slot");return I?t(4,f=I.assignedElements()):t(4,f=[...s.querySelector("goa-grid").children]),n<=0&&(t(12,n=1),setTimeout(()=>{z(n)},1),t(13,p=f.length)),f.forEach((T,L)=>{const S=T;S.setAttribute("arialabel",`Step ${L+1} of ${f.length}`),S.setAttribute("childindex",`${L+1}`)}),s.addEventListener("_click",T=>{t(12,n=T.detail),z(n)}),D(n),A(),setTimeout(()=>{t(10,_=!0)},10),window.addEventListener("resize",A),window.addEventListener("orientationchange",A),()=>{window.removeEventListener("resize",A),window.removeEventListener("orientationchange",A)}});function z(I){s.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{step:I}}))}function D(I){f.forEach((T,L)=>{T.setAttribute("current",L===I-1?"true":"false")})}function A(){setTimeout(()=>{t(7,h=f.length>0&&f[0].offsetWidth),t(8,w=f.length>0&&f[0].offsetHeight),t(9,y=d==null?void 0:d.offsetHeight)},1)}function M(I){W[I?"unshift":"push"](()=>{d=I,t(6,d)})}function H(I){W[I?"unshift":"push"](()=>{s=I,t(5,s)})}return i.$$set=I=>{"step"in I&&t(12,n=I.step),"mt"in I&&t(0,o=I.mt),"mr"in I&&t(1,a=I.mr),"mb"in I&&t(2,l=I.mb),"ml"in I&&t(3,c=I.ml)},i.$$.update=()=>{i.$$.dirty&28688&&f.length&&(n>v&&t(14,v=n),n>p&&t(13,p=n),f.forEach((I,T)=>{I.setAttribute("enabled",T>p-1?"false":"true")})),i.$$.dirty&16400&&t(11,r=(v-1)/(f.length-1)*100),i.$$.dirty&4096&&D(n)},[o,a,l,c,f,s,d,h,w,y,_,r,n,p,v,M,H]}class Ii extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>.form-stepper{position:relative}.slots{position:relative;inset:0;z-index:2}progress{position:absolute;z-index:1;-webkit-appearance:none;appearance:none;height:4px;border:none;background:var(--goa-color-greyscale-200);pointer-events:none}progress.horizontal{display:block;top:calc(1.5rem + (2.5rem / 2) - 2px);left:calc(var(--step-width) / 2);width:calc(100% - var(--step-width))}progress.vertical{display:none;width:calc(var(--height) - var(--step-height));transform:rotate(90deg)
157
169
  translate(
158
170
  calc(50% + 1.25rem + 1.75rem),
159
- calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.75rem)
160
- )}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}@media(max-width: 639px){progress.horizontal{display:none}progress.vertical{display:inline-block}.form-stepper{display:inline-block}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ja,Xa,O,{step:12,mt:0,mr:1,mb:2,ml:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["step","mt","mr","mb","ml"]}get step(){return this.$$.ctx[12]}set step(e){this.$$set({step:e}),g()}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-form-stepper",Ei);function $a(i){let e,t;return{c(){e=b("div"),t=V(i[1]),u(e,"data-testid","child-index"),u(e,"class","step-number")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&W(t,r[1])},d(r){r&&M(e)}}}function eo(i){let e;return{c(){e=b("goa-icon"),E(e,"type","remove")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function to(i){let e;return{c(){e=b("goa-icon"),E(e,"type","checkmark"),E(e,"inverted","")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function io(i){let e;return{c(){e=b("goa-icon"),E(e,"type","pencil")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function zi(i){let e;return{c(){e=b("div"),e.textContent="Partially complete",u(e,"class","subtext"),u(e,"data-testid","subtext")},m(t,r){k(t,e,r)},d(t){t&&M(e)}}}function ro(i){let e,t,r,n,l,a,o,s,c,d,f,h,p;function y(C,L){return C[7]?io:C[3]==="complete"?to:C[3]==="incomplete"?eo:$a}let _=y(i),v=_(i),w=i[3]==="incomplete"&&zi();return{c(){e=b("label"),t=b("input"),n=D(),l=b("div"),v.c(),a=D(),o=b("div"),s=b("div"),c=V(i[0]),d=D(),w&&w.c(),this.c=x,u(t,"id",i[0]),u(t,"type","checkbox"),t.checked=i[7],t.disabled=r=!i[6],u(l,"data-testid","status"),u(l,"class","status"),u(s,"class","text"),u(s,"data-testid","text"),u(o,"class","details"),u(e,"id",i[2]),u(e,"role","listitem"),u(e,"for",i[0]),u(e,"data-status",i[3]),u(e,"aria-disabled",f=i[6]?"false":"true"),u(e,"aria-current",h=i[7]?"step":"false"),u(e,"aria-label",p=`${i[2]} ${i[0]} ${i[3]||""}`)},m(C,L){k(C,e,L),m(e,t),i[10](t),m(e,n),m(e,l),v.m(l,null),m(e,a),m(e,o),m(o,s),m(s,c),m(o,d),w&&w.m(o,null),i[11](e)},p(C,[L]){L&1&&u(t,"id",C[0]),L&128&&(t.checked=C[7]),L&64&&r!==(r=!C[6])&&(t.disabled=r),_===(_=y(C))&&v?v.p(C,L):(v.d(1),v=_(C),v&&(v.c(),v.m(l,null))),L&1&&W(c,C[0]),C[3]==="incomplete"?w||(w=zi(),w.c(),w.m(o,null)):w&&(w.d(1),w=null),L&4&&u(e,"id",C[2]),L&1&&u(e,"for",C[0]),L&8&&u(e,"data-status",C[3]),L&64&&f!==(f=C[6]?"false":"true")&&u(e,"aria-disabled",f),L&128&&h!==(h=C[7]?"step":"false")&&u(e,"aria-current",h),L&13&&p!==(p=`${C[2]} ${C[0]} ${C[3]||""}`)&&u(e,"aria-label",p)},i:x,o:x,d(C){C&&M(e),i[10](null),v.d(),w&&w.d(),i[11](null)}}}function no(i,e,t){let r,n,{text:l}=e,{current:a="false"}=e,{enabled:o="false"}=e,{childindex:s=""}=e,{arialabel:c=""}=e,{status:d}=e,f,h;q(()=>{f.addEventListener("click",()=>{!n||(t(5,h.checked=!h.checked,h),f.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0,detail:+s})))})});function p(_){J[_?"unshift":"push"](()=>{h=_,t(5,h)})}function y(_){J[_?"unshift":"push"](()=>{f=_,t(4,f)})}return i.$$set=_=>{"text"in _&&t(0,l=_.text),"current"in _&&t(8,a=_.current),"enabled"in _&&t(9,o=_.enabled),"childindex"in _&&t(1,s=_.childindex),"arialabel"in _&&t(2,c=_.arialabel),"status"in _&&t(3,d=_.status)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=F(a)),i.$$.dirty&512&&t(6,n=F(o))},[l,s,c,d,f,h,n,r,a,o,p,y]}class Ci extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):focus-within{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
161
- }[data-status=complete] .status{background-color:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
162
- [data-status=complete],
163
- [data-status=incomplete],
171
+ calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.5rem)
172
+ )}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}@media(max-width: 639px){progress.horizontal{display:none}progress.vertical{display:inline-block}.form-stepper{display:inline-block}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ma,ha,O,{step:12,mt:0,mr:1,mb:2,ml:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["step","mt","mr","mb","ml"]}get step(){return this.$$.ctx[12]}set step(e){this.$$set({step:e}),g()}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-form-stepper",Ii);function ba(i){let e,t;return{c(){e=b("div"),t=B(i[1]),u(e,"data-testid","child-index"),u(e,"class","step-number")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&E(e)}}}function va(i){let e;return{c(){e=b("goa-icon"),x(e,"type","remove")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function wa(i){let e;return{c(){e=b("goa-icon"),x(e,"type","checkmark"),x(e,"inverted","")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function ya(i){let e;return{c(){e=b("goa-icon"),x(e,"type","pencil")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function Di(i){let e;return{c(){e=b("div"),e.textContent="Partially complete",u(e,"class","subtext"),u(e,"data-testid","subtext")},m(t,r){k(t,e,r)},d(t){t&&E(e)}}}function pa(i){let e,t,r,n,o,a,l,c,s,d,f,h,w;function y(z,D){return z[7]?ya:z[3]==="complete"?wa:z[3]==="incomplete"?va:ba}let p=y(i),v=p(i),_=i[3]==="incomplete"&&Di();return{c(){e=b("label"),t=b("input"),n=N(),o=b("div"),v.c(),a=N(),l=b("div"),c=b("div"),s=B(i[0]),d=N(),_&&_.c(),this.c=C,u(t,"id",i[0]),u(t,"type","checkbox"),t.checked=i[7],t.disabled=r=!i[6],u(o,"data-testid","status"),u(o,"class","status"),u(c,"class","text"),u(c,"data-testid","text"),u(l,"class","details"),u(e,"id",i[2]),u(e,"role","listitem"),u(e,"tabindex","-1"),u(e,"for",i[0]),u(e,"data-status",i[3]),u(e,"aria-disabled",f=i[6]?"false":"true"),u(e,"aria-current",h=i[7]?"step":"false"),u(e,"aria-label",w=`${i[2]} ${i[0]} ${i[3]||""}`)},m(z,D){k(z,e,D),m(e,t),i[10](t),m(e,n),m(e,o),v.m(o,null),m(e,a),m(e,l),m(l,c),m(c,s),m(l,d),_&&_.m(l,null),i[11](e)},p(z,[D]){D&1&&u(t,"id",z[0]),D&128&&(t.checked=z[7]),D&64&&r!==(r=!z[6])&&(t.disabled=r),p===(p=y(z))&&v?v.p(z,D):(v.d(1),v=p(z),v&&(v.c(),v.m(o,null))),D&1&&U(s,z[0]),z[3]==="incomplete"?_||(_=Di(),_.c(),_.m(l,null)):_&&(_.d(1),_=null),D&4&&u(e,"id",z[2]),D&1&&u(e,"for",z[0]),D&8&&u(e,"data-status",z[3]),D&64&&f!==(f=z[6]?"false":"true")&&u(e,"aria-disabled",f),D&128&&h!==(h=z[7]?"step":"false")&&u(e,"aria-current",h),D&13&&w!==(w=`${z[2]} ${z[0]} ${z[3]||""}`)&&u(e,"aria-label",w)},i:C,o:C,d(z){z&&E(e),i[10](null),v.d(),_&&_.d(),i[11](null)}}}function _a(i,e,t){let r,n,{text:o}=e,{current:a="false"}=e,{enabled:l="false"}=e,{childindex:c=""}=e,{arialabel:s=""}=e,{status:d}=e,f,h;Q(()=>{f.addEventListener("click",()=>{!n||(t(5,h.checked=!h.checked,h),f.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0,detail:+c})))})});function w(p){W[p?"unshift":"push"](()=>{h=p,t(5,h)})}function y(p){W[p?"unshift":"push"](()=>{f=p,t(4,f)})}return i.$$set=p=>{"text"in p&&t(0,o=p.text),"current"in p&&t(8,a=p.current),"enabled"in p&&t(9,l=p.enabled),"childindex"in p&&t(1,c=p.childindex),"arialabel"in p&&t(2,s=p.arialabel),"status"in p&&t(3,d=p.status)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=K(a)),i.$$.dirty&512&&t(6,n=K(l))},[o,c,s,d,f,h,n,r,a,l,w,y]}class Ni extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):focus,[role="listitem"]:not([aria-disabled="true"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
173
+ }[data-status=complete] .status{background:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
174
+ [data-status=complete],
175
+ [data-status=incomplete],
164
176
  [aria-current="step"]
165
- ) .status{border-color:var(--goa-color-greyscale-500)}.text{font:var(--goa-typography-body-s)}.subtext{margin-top:0.25rem;font:var(--goa-typography-body-xs);color:var(--goa-color-text-secondary)}.details{margin-top:0.75rem}@media(max-width: 639px){[role="listitem"]{flex-direction:row;align-items:center;text-align:start}.details{margin-left:1rem;margin-top:0}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},no,ro,O,{text:0,current:8,enabled:9,childindex:1,arialabel:2,status:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["text","current","enabled","childindex","arialabel","status"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),g()}get current(){return this.$$.ctx[8]}set current(e){this.$$set({current:e}),g()}get enabled(){return this.$$.ctx[9]}set enabled(e){this.$$set({enabled:e}),g()}get childindex(){return this.$$.ctx[1]}set childindex(e){this.$$set({childindex:e}),g()}get arialabel(){return this.$$.ctx[2]}set arialabel(e){this.$$set({arialabel:e}),g()}get status(){return this.$$.ctx[3]}set status(e){this.$$set({status:e}),g()}}customElements.define("goa-form-step",Ci);function ao(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"style",r=Y(i[0],i[1],i[2],i[3])),u(e,"class","pages")},m(n,l){k(n,e,l),m(e,t),i[6](e)},p(n,[l]){l&15&&r!==(r=Y(n[0],n[1],n[2],n[3]))&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e),i[6](null)}}}function oo(i,e,t){let{current:r=1}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e,s;q(async()=>{await fe(),c(r)});function c(h){if(!s)return;d().forEach((y,_)=>{const v=y;v.style.display=_+1===+h?"block":"none"})}function d(){const h=s.querySelector("slot");return h?[...h.assignedElements()]:[...s.children]}function f(h){J[h?"unshift":"push"](()=>{s=h,t(4,s)})}return i.$$set=h=>{"current"in h&&t(5,r=h.current),"mt"in h&&t(0,n=h.mt),"mr"in h&&t(1,l=h.mr),"mb"in h&&t(2,a=h.mb),"ml"in h&&t(3,o=h.ml)},i.$$.update=()=>{i.$$.dirty&32&&c(r)},[n,l,a,o,s,r,f]}class Mi extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},oo,ao,O,{current:5,mt:0,mr:1,mb:2,ml:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["current","mt","mr","mb","ml"]}get current(){return this.$$.ctx[5]}set current(e){this.$$set({current:e}),g()}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pages",Mi),me.FormStep=Ci,me.FormStepper=Ei,me.Pages=Mi,me.Pagination=mi,Object.defineProperty(me,"__esModule",{value:!0}),me[Symbol.toStringTag]="Module"});
177
+ ) .status{border-color:var(--goa-color-greyscale-500)}.text{font:var(--goa-typography-body-s)}.subtext{margin-top:0.25rem;font:var(--goa-typography-body-xs);color:var(--goa-color-text-secondary)}.details{margin-top:0.75rem}@media(max-width: 639px){[role="listitem"]{flex-direction:row;align-items:center;text-align:start}.details{margin-left:1rem;margin-top:0}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},_a,pa,O,{text:0,current:8,enabled:9,childindex:1,arialabel:2,status:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["text","current","enabled","childindex","arialabel","status"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),g()}get current(){return this.$$.ctx[8]}set current(e){this.$$set({current:e}),g()}get enabled(){return this.$$.ctx[9]}set enabled(e){this.$$set({enabled:e}),g()}get childindex(){return this.$$.ctx[1]}set childindex(e){this.$$set({childindex:e}),g()}get arialabel(){return this.$$.ctx[2]}set arialabel(e){this.$$set({arialabel:e}),g()}get status(){return this.$$.ctx[3]}set status(e){this.$$set({status:e}),g()}}customElements.define("goa-form-step",Ni);function ka(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,u(e,"style",r=Y(i[0],i[1],i[2],i[3])),u(e,"class","pages")},m(n,o){k(n,e,o),m(e,t),i[6](e)},p(n,[o]){o&15&&r!==(r=Y(n[0],n[1],n[2],n[3]))&&u(e,"style",r)},i:C,o:C,d(n){n&&E(e),i[6](null)}}}function Ca(i,e,t){let{current:r=1}=e,{mt:n=null}=e,{mr:o=null}=e,{mb:a=null}=e,{ml:l=null}=e,c;Q(async()=>{await me(),s(r)});function s(h){if(!c)return;d().forEach((y,p)=>{const v=y;v.style.display=p+1===+h?"block":"none"})}function d(){const h=c.querySelector("slot");return h?[...h.assignedElements()]:[...c.children]}function f(h){W[h?"unshift":"push"](()=>{c=h,t(4,c)})}return i.$$set=h=>{"current"in h&&t(5,r=h.current),"mt"in h&&t(0,n=h.mt),"mr"in h&&t(1,o=h.mr),"mb"in h&&t(2,a=h.mb),"ml"in h&&t(3,l=h.ml)},i.$$.update=()=>{i.$$.dirty&32&&s(r)},[n,o,a,l,c,r,f]}class Ri extends Z{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ca,ka,O,{current:5,mt:0,mr:1,mb:2,ml:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["current","mt","mr","mb","ml"]}get current(){return this.$$.ctx[5]}set current(e){this.$$set({current:e}),g()}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pages",Ri);function ji(i,e,t){const r=i.slice();return r[21]=e[t],r}function Vi(i){let e,t,r,n,o,a,l,c,s=i[2]&&Si(i);return{c(){e=b("div"),t=b("div"),t.innerHTML=`<goa-icon type="cloud-upload" size="large"></goa-icon>
178
+ <div>Drag and drop files here</div>
179
+ <em>or</em>
180
+ <div class="browse-files">Browse files</div>`,r=N(),s&&s.c(),n=N(),o=b("input"),u(t,"class","instructions"),u(o,"data-testid","input"),u(o,"tabindex","0"),u(o,"type","file"),u(o,"accept",i[1]),o.multiple=!0,u(e,"data-testid","dragdrop"),u(e,"class",a=`dragdrop state-${i[5]}`)},m(d,f){k(d,e,f),m(e,t),m(e,r),s&&s.m(e,null),m(e,n),m(e,o),i[13](o),i[14](e),l||(c=[q(e,"click",i[7]),q(e,"drop",i[8]),q(e,"mouseover",i[11]),q(e,"mouseout",i[12]),q(e,"dragenter",i[9]),q(e,"dragleave",i[10]),q(e,"dragover",xa)],l=!0)},p(d,f){d[2]?s?s.p(d,f):(s=Si(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),f&2&&u(o,"accept",d[1]),f&32&&a!==(a=`dragdrop state-${d[5]}`)&&u(e,"class",a)},d(d){d&&E(e),s&&s.d(),i[13](null),i[14](null),l=!1,ae(c)}}}function Si(i){let e,t,r,n;return{c(){e=b("em"),t=B("Maximum file size is "),r=B(i[2]),n=B("."),u(e,"class","max-file-size"),u(e,"data-testid","max-file-size")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&4&&U(r,o[2])},d(o){o&&E(e)}}}function Bi(i){let e,t,r,n,o,a,l,c=i[2]&&Oi(i);return{c(){e=b("div"),t=b("goa-button"),t.textContent="Choose file",r=N(),c&&c.c(),n=N(),o=b("input"),x(t,"type","secondary"),u(e,"class","button"),u(o,"data-testid","input"),u(o,"tabindex","-1"),u(o,"type","file"),u(o,"accept",i[1]),o.multiple=!0},m(s,d){k(s,e,d),m(e,t),m(e,r),c&&c.m(e,null),i[15](e),k(s,n,d),k(s,o,d),i[16](o),a||(l=q(t,"click",i[7]),a=!0)},p(s,d){s[2]?c?c.p(s,d):(c=Oi(s),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d&2&&u(o,"accept",s[1])},d(s){s&&E(e),c&&c.d(),i[15](null),s&&E(n),s&&E(o),i[16](null),a=!1,l()}}}function Oi(i){let e,t,r,n;return{c(){e=b("em"),t=B("Maximum file size is "),r=B(i[2]),n=B("."),u(e,"class","max-file-size"),u(e,"data-testid","max-file-size")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&4&&U(r,o[2])},d(o){o&&E(e)}}}function Zi(i){let e,t=i[6],r=[];for(let n=0;n<t.length;n+=1)r[n]=Pi(ji(i,t,n));return{c(){e=b("div");for(let n=0;n<r.length;n+=1)r[n].c();u(e,"class","issues")},m(n,o){k(n,e,o);for(let a=0;a<r.length;a+=1)r[a].m(e,null)},p(n,o){if(o&64){t=n[6];let a;for(a=0;a<t.length;a+=1){const l=ji(n,t,a);r[a]?r[a].p(l,o):(r[a]=Pi(l),r[a].c(),r[a].m(e,null))}for(;a<r.length;a+=1)r[a].d(1);r.length=t.length}},d(n){n&&E(e),He(r,n)}}}function Pi(i){let e,t=i[21].filename+"",r,n,o,a,l,c=i[21].error+"",s,d;return{c(){e=b("div"),r=B(t),n=N(),o=b("div"),a=b("goa-icon"),l=N(),s=B(c),d=N(),x(a,"type","warning"),x(a,"size","small"),x(a,"theme","filled"),u(o,"class","error"),u(o,"data-testid","error"),u(e,"class","issue")},m(f,h){k(f,e,h),m(e,r),m(e,n),m(e,o),m(o,a),m(o,l),m(o,s),m(e,d)},p(f,h){h&64&&t!==(t=f[21].filename+"")&&U(r,t),h&64&&c!==(c=f[21].error+"")&&U(s,c)},d(f){f&&E(e)}}}function Ma(i){let e,t,r,n=i[0]==="dragdrop"&&Vi(i),o=i[0]==="button"&&Bi(i),a=i[6].length&&Zi(i);return{c(){n&&n.c(),e=N(),o&&o.c(),t=N(),a&&a.c(),r=pe(),this.c=C},m(l,c){n&&n.m(l,c),k(l,e,c),o&&o.m(l,c),k(l,t,c),a&&a.m(l,c),k(l,r,c)},p(l,[c]){l[0]==="dragdrop"?n?n.p(l,c):(n=Vi(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[0]==="button"?o?o.p(l,c):(o=Bi(l),o.c(),o.m(t.parentNode,t)):o&&(o.d(1),o=null),l[6].length?a?a.p(l,c):(a=Zi(l),a.c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},i:C,o:C,d(l){n&&n.d(l),l&&E(e),o&&o.d(l),l&&E(t),a&&a.d(l),l&&E(r)}}}function xa(i){return i.preventDefault(),!1}function za(i,e,t){let{variant:r="dragdrop"}=e,{accept:n="*"}=e,{maxfilesize:o="5MB"}=e,a,l,c="default",s=[];Q(()=>{l.addEventListener("change",()=>{t(6,s=[]),[...l.files].forEach(T=>{const L=d(T);if(L){t(6,s=[{filename:T.name,error:L},...s]);return}w(T)}),t(4,l.value=null,l)},!0)});function d(T){if(!f(T))return"Invalid file type";if(!h(T))return`The file must be less than ${o}`}function f(T){const L=n.split(",");for(const S of L)if(T.type.match(S.replace("*",".*").replace("/","/"))||T.name.endsWith(n))return!0;return!1}function h(T){const[L,S,re]=o.match(/(\d*)(\w*$)/),ie={B:1,KB:1024,MB:Math.pow(1024,2),GB:Math.pow(1024,3)};return!(T.size/ie[re]>parseInt(S))}function w(T){a.dispatchEvent(new CustomEvent("_selectFile",{composed:!0,detail:{file:T}}))}function y(){l.click()}function p(T){T.preventDefault(),t(6,s=[]),T.dataTransfer.items?[...T.dataTransfer.items].forEach(L=>{if(L.kind==="file"){const S=L.getAsFile(),re=d(S);if(re){t(6,s=[{filename:S.name,error:re},...s]);return}w(L.getAsFile())}}):[...T.dataTransfer.files].forEach(L=>{const S=d(L);if(S){t(6,s=[{filename:L.name,error:S},...s]);return}w(L)}),t(4,l.value=null,l)}function v(){t(5,c="dragenter")}function _(T){const L=a.getBoundingClientRect();T.clientX>L.x&&T.clientX<=L.x+L.width&&T.clientY>L.y&&T.clientY<=L.y+L.height||t(5,c="default")}function z(){t(5,c="hover")}function D(){t(5,c="default")}function A(T){W[T?"unshift":"push"](()=>{l=T,t(4,l)})}function M(T){W[T?"unshift":"push"](()=>{a=T,t(3,a)})}function H(T){W[T?"unshift":"push"](()=>{a=T,t(3,a)})}function I(T){W[T?"unshift":"push"](()=>{l=T,t(4,l)})}return i.$$set=T=>{"variant"in T&&t(0,r=T.variant),"accept"in T&&t(1,n=T.accept),"maxfilesize"in T&&t(2,o=T.maxfilesize)},[r,n,o,a,l,c,s,y,p,v,_,z,D,A,M,H,I]}class Gi extends Z{constructor(e){super();this.shadowRoot.innerHTML='<style>.dragdrop{border-radius:var(--goa-border-radius-m);border:var(--goa-border-width-m) dashed var(--goa-color-interactive-default);display:flex;font:var(--goa-typography-body-m);flex-direction:column;align-items:center;justify-content:center;gap:0.25rem;padding:3rem;color:var(--goa-color-interactive-default);text-align:center;cursor:pointer}.dragdrop:active,.dragdrop:focus-within{border-style:solid;outline:none}.dragdrop:hover div{color:var(--goa-color-interactive-hover)}.state-default{background:var(--goa-color-info-background)}.state-hover{background:var(--goa-color-greyscale-100);border-style:solid}.state-dragenter{background:var(--goa-color-info-background);border-style:solid}.instructions{display:flex;align-items:center;gap:0.5rem}@media(max-width: 640px){.instructions{flex-direction:column}}goa-icon{margin-top:4px}.browse-files{text-decoration:underline}em{font-style:normal;font:var(--goa-typography-body-s);color:var(--goa-color-greyscale-700)}.max-file-size{display:block;margin-top:0.5rem}input[type="file"]{position:absolute;left:-9999px}.issues{border-bottom:1px solid var(--goa-color-greyscale-200);margin:1rem 0}.issue{margin-bottom:1rem}.error{color:var(--goa-color-interactive-error);font-size:0.9em;display:flex;align-items:center;gap:0.5rem}</style>',G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},za,Ma,O,{variant:0,accept:1,maxfilesize:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","accept","maxfilesize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),g()}get accept(){return this.$$.ctx[1]}set accept(e){this.$$set({accept:e}),g()}get maxfilesize(){return this.$$.ctx[2]}set maxfilesize(e){this.$$set({maxfilesize:e}),g()}}customElements.define("goa-file-upload-input",Gi);function Ea(i){let e;return{c(){e=b("goa-icon"),x(e,"class","fileicon"),x(e,"data-testid","icon"),x(e,"type","goa-file"),x(e,"fillcolor","#dcdcdc"),x(e,"size","xlarge")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function La(i){let e;return{c(){e=b("goa-icon"),x(e,"class","fileicon"),x(e,"data-testid","icon"),x(e,"type",i[6]),x(e,"fillcolor","#0070c4"),x(e,"size","xlarge")},m(t,r){k(t,e,r)},p(t,r){r&64&&x(e,"type",t[6])},d(t){t&&E(e)}}}function Fi(i){let e,t=Yi(i[1])+"",r;return{c(){e=b("div"),r=B(t),u(e,"class","filesize"),u(e,"data-testid","filesize")},m(n,o){k(n,e,o),m(e,r)},p(n,o){o&2&&t!==(t=Yi(n[1])+"")&&U(r,t)},d(n){n&&E(e)}}}function Ha(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),r=N(),n=B(i[3]),x(t,"type","warning"),x(t,"size","small"),x(t,"theme","filled"),u(e,"class","error-msg"),u(e,"data-testid","error")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&8&&U(n,o[3])},d(o){o&&E(e)}}}function Aa(i){let e;return{c(){e=b("div"),e.textContent=`Uploaded on ${sr()}`,u(e,"class","timestamp"),u(e,"data-testid","timestamp")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function Ta(i){let e,t,r,n=Math.ceil(i[2])+"",o,a;return{c(){e=b("div"),t=b("progress"),r=N(),o=B(n),a=B("%"),t.value=i[2],u(t,"max","100"),u(e,"class","progress"),u(e,"data-testid","progress")},m(l,c){k(l,e,c),m(e,t),m(e,r),m(e,o),m(e,a)},p(l,c){c&4&&(t.value=l[2]),c&4&&n!==(n=Math.ceil(l[2])+"")&&U(o,n)},d(l){l&&E(e)}}}function Ia(i){let e,t,r;return{c(){e=b("goa-button"),e.textContent="Cancel",x(e,"type","tertiary"),x(e,"size","compact"),x(e,"variant","destructive")},m(n,o){k(n,e,o),t||(r=q(e,"click",i[11]),t=!0)},p:C,d(n){n&&E(e),t=!1,r()}}}function Da(i){let e,t,r;return{c(){e=b("goa-button"),e.textContent="Remove",x(e,"type","tertiary"),x(e,"size","compact"),x(e,"leadingicon","trash")},m(n,o){k(n,e,o),t||(r=q(e,"click",i[10]),t=!0)},p:C,d(n){n&&E(e),t=!1,r()}}}function Na(i){let e,t,r;return{c(){e=b("goa-button"),e.textContent="Cancel",x(e,"type","tertiary"),x(e,"size","compact")},m(n,o){k(n,e,o),t||(r=q(e,"click",i[9]),t=!0)},p:C,d(n){n&&E(e),t=!1,r()}}}function Ra(i){let e,t,r,n,o,a,l,c,s,d;function f(M,H){return M[4]==="uploaded"?La:Ea}let h=f(i),w=h(i),y=i[4]!=="error"&&Fi(i);function p(M,H){if(M[4]==="uploading")return Ta;if(M[4]==="uploaded")return Aa;if(M[4]==="error")return Ha}let v=p(i),_=v&&v(i);function z(M,H){if(M[4]==="uploading")return Na;if(M[4]==="uploaded")return Da;if(M[4]==="error")return Ia}let D=z(i),A=D&&D(i);return{c(){e=b("div"),w.c(),t=N(),r=b("div"),n=b("div"),o=B(i[0]),a=N(),y&&y.c(),l=N(),_&&_.c(),c=N(),s=b("div"),A&&A.c(),this.c=C,u(n,"class","filename"),u(n,"data-testid","filename"),u(r,"class","details"),u(s,"class","actions"),u(s,"data-testid","actions"),u(e,"data-testid","root"),u(e,"class",d=`root ${i[4]}`),F(e,"error",i[3])},m(M,H){k(M,e,H),w.m(e,null),m(e,t),m(e,r),m(r,n),m(n,o),m(r,a),y&&y.m(r,null),m(r,l),_&&_.m(r,null),m(e,c),m(e,s),A&&A.m(s,null),i[12](e)},p(M,[H]){h===(h=f(M))&&w?w.p(M,H):(w.d(1),w=h(M),w&&(w.c(),w.m(e,t))),H&1&&U(o,M[0]),M[4]!=="error"?y?y.p(M,H):(y=Fi(M),y.c(),y.m(r,l)):y&&(y.d(1),y=null),v===(v=p(M))&&_?_.p(M,H):(_&&_.d(1),_=v&&v(M),_&&(_.c(),_.m(r,null))),D===(D=z(M))&&A?A.p(M,H):(A&&A.d(1),A=D&&D(M),A&&(A.c(),A.m(s,null))),H&16&&d!==(d=`root ${M[4]}`)&&u(e,"class",d),H&24&&F(e,"error",M[3])},i:C,o:C,d(M){M&&E(e),w.d(),y&&y.d(),_&&_.d(),A&&A.d(),i[12](null)}}}function ja(i,e){const t=i.split("."),r=t[t.length-1],n=r==="xlxs"&&"goa-xls"||r==="xls"&&"goa-xls"||r==="zip"&&"goa-zip"||r==="docx"&&"goa-doc"||r==="doc"&&"goa-doc"||r==="pptx"&&"goa-ppt"||r==="ppt"&&"goa-ppt"||r==="pdf"&&"goa-pdf"||r==="html"&&"goa-html";return n||e==="application/vnd.ms-powerpoint"&&"goa-ppt"||e.includes("presentationml")&&"goa-ppt"||e.includes("wordprocessingml")&&"goa-doc"||e.includes("spreadsheet")&&"goa-xls"||e.startsWith("video")&&"goa-video"||e.startsWith("audio")&&"goa-audio"||e.startsWith("image")&&"goa-image"||e==="application/msword"&&"goa-doc"||"goa-file"}function Yi(i){switch(!0){case i<1024:return i+"B";case i<1024*1024:return Math.round(i/1024)+"KB";case i<Math.pow(1024,3):return Math.round(i/Math.pow(1024,2))+"MB"}}function Va(i,e,t){let{filename:r}=e,{size:n}=e,{type:o=""}=e,{progress:a=-1}=e,{error:l=""}=e,c="uploading",s,d="goa-file";function f(v){s.dispatchEvent(new CustomEvent(v,{composed:!0}))}const h=()=>f("_cancel"),w=()=>f("_delete"),y=()=>f("_delete");function p(v){W[v?"unshift":"push"](()=>{s=v,t(5,s)})}return i.$$set=v=>{"filename"in v&&t(0,r=v.filename),"size"in v&&t(1,n=v.size),"type"in v&&t(8,o=v.type),"progress"in v&&t(2,a=v.progress),"error"in v&&t(3,l=v.error)},i.$$.update=()=>{i.$$.dirty&12&&t(4,c=l&&"error"||a>=0&&a<100&&"uploading"||"uploaded"),i.$$.dirty&257&&t(6,d=r&&o&&ja(r,o))},[r,n,a,l,c,s,d,f,o,h,w,y,p]}class qi extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>.root{padding:var(--goa-space-l);border:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-radius:var(--goa-border-radius-m);margin:0.5rem 0;display:grid;grid-template-columns:38px auto;grid-template-rows:repeat(2, auto);grid-template-areas:"icon details"
181
+ "action action";gap:1rem;align-items:center}.root.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error)}@media(min-width: 480px){.root{grid-template-columns:38px 1fr auto;grid-template-rows:auto;grid-template-areas:"icon details action"}.details{margin-left:0.5rem}}.fileicon{grid-area:icon;align-self:center}.actions{grid-area:action}.details{grid-area:details;display:flex;flex-direction:column;overflow-x:hidden}.filename{grid-area:filename;font-size:var(--goa-font-size-4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.error-msg{display:flex;align-items:flex-start;margin-top:0.5rem;gap:var(--goa-space-2xs);color:var(--goa-color-interactive-error);font:var(--goa-typography-body-xs)}.timestamp,.filesize{color:var(--goa-color-greyscale-700);font:var(--goa-typography-body-s)}.progress{display:flex;align-items:center;font:var(--goa-typography-body-xs);gap:0.5rem}progress{flex:1 1 auto;-webkit-appearance:none;appearance:none;height:4px;border:none;border-radius:var(--goa-border-radius-m);background:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-700)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Va,Ra,O,{filename:0,size:1,type:8,progress:2,error:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["filename","size","type","progress","error"]}get filename(){return this.$$.ctx[0]}set filename(e){this.$$set({filename:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get type(){return this.$$.ctx[8]}set type(e){this.$$set({type:e}),g()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),g()}get error(){return this.$$.ctx[3]}set error(e){this.$$set({error:e}),g()}}customElements.define("goa-file-upload-card",qi),se.FileUploadCard=qi,se.FileUploadInput=Gi,se.FormStep=Ni,se.FormStepper=Ii,se.Pages=Ri,se.Pagination=Ci,Object.defineProperty(se,"__esModule",{value:!0}),se[Symbol.toStringTag]="Module"});