@abgov/web-components 1.5.0 → 1.6.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.
- package/README.md +13 -0
- package/index.css +1 -1
- package/package.json +3 -2
- package/web-components.es.js +2014 -1261
- package/web-components.umd.js +75 -73
package/web-components.umd.js
CHANGED
|
@@ -1,136 +1,138 @@
|
|
|
1
|
-
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://p.typekit.net/p.css?s=1&k=nur5yta&ht=tk&f=26036.26037.26044.26046.26047&a=14638192&app=typekit&e=css";@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:acumin-pro-semi-condensed,sans-serif;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)}: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(
|
|
3
|
-
`;for(let
|
|
4
|
-
`}const d=c+`100% {${
|
|
5
|
-
}`,f=`__svelte_${Hi(d)}_${l}`,h=ht(i),{stylesheet:k,rules:b}=Ue.get(h)||Si(h,i);b[f]||(b[f]=!0,k.insertRule(`@keyframes ${f} ${d}`,k.cssRules.length));const y=i.style.animation||"";return i.style.animation=`${y?`${y}, `:""}${f} ${r}ms linear ${n}ms 1 both`,We+=1,f}function Xe(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?a=>a.indexOf(e)<0:a=>a.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),We-=n,We||Bi())}function Bi(){rt(()=>{We||(Ue.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&T(e)}),Ue.clear())})}let Se;function Be(i){Se=i}function mt(){if(!Se)throw new Error("Function called outside component initialization");return Se}function K(i){mt().$$.on_mount.push(i)}function Ni(i){mt().$$.on_destroy.push(i)}const Ne=[],te=[],Ze=[],bt=[],vt=Promise.resolve();let nt=!1;function yt(){nt||(nt=!0,vt.then(g))}function _e(){return yt(),vt}function de(i){Ze.push(i)}const at=new Set;let Je=0;function g(){const i=Se;do{for(;Je<Ne.length;){const e=Ne[Je];Je++,Be(e),Di(e.$$)}for(Be(null),Ne.length=0,Je=0;te.length;)te.pop()();for(let e=0;e<Ze.length;e+=1){const t=Ze[e];at.has(t)||(at.add(t),t())}Ze.length=0}while(Ne.length);for(;bt.length;)bt.pop()();nt=!1,at.clear(),Be(i)}function Di(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(de)}}let De;function ot(){return De||(De=Promise.resolve(),De.then(()=>{De=null})),De}function ke(i,e,t){i.dispatchEvent(Ri(`${e?"intro":"outro"}${t}`))}const Ye=new Set;let ue;function ze(){ue={r:0,c:[],p:ue}}function Ce(){ue.r||le(ue.c),ue=ue.p}function X(i,e){i&&i.i&&(Ye.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Ye.has(i))return;Ye.add(i),ue.c.push(()=>{Ye.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const lt={duration:0};function wt(i,e,t){let r=e(i,t),n=!1,a,o,l=0;function s(){a&&Xe(i,a)}function c(){const{delay:f=0,duration:h=300,easing:k=He,tick:b=x,css:y}=r||lt;y&&(a=Ke(i,0,1,h,f,k,y,l++)),b(0,1);const _=Fe()+f,v=_+h;o&&o.abort(),n=!0,de(()=>ke(i,!0,"start")),o=Ve(E=>{if(n){if(E>=v)return b(1,0),ke(i,!0,"end"),s(),n=!1;if(E>=_){const N=k((E-_)/h);b(N,1-N)}}return n})}let d=!1;return{start(){d||(d=!0,Xe(i),fe(r)?(r=r(),ot().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function _t(i,e,t){let r=e(i,t),n=!0,a;const o=ue;o.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=He,tick:f=x,css:h}=r||lt;h&&(a=Ke(i,1,0,c,s,d,h));const k=Fe()+s,b=k+c;de(()=>ke(i,!1,"start")),Ve(y=>{if(n){if(y>=b)return f(0,1),ke(i,!1,"end"),--o.r||le(o.c),!1;if(y>=k){const _=d((y-k)/c);f(1-_,_)}}return n})}return fe(r)?ot().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(a&&Xe(i,a),n=!1)}}}function Qe(i,e,t,r){let n=e(i,t),a=r?0:1,o=null,l=null,s=null;function c(){s&&Xe(i,s)}function d(h,k){const b=h.b-a;return k*=Math.abs(b),{a,b:h.b,d:b,duration:k,start:h.start,end:h.start+k,group:h.group}}function f(h){const{delay:k=0,duration:b=300,easing:y=He,tick:_=x,css:v}=n||lt,E={start:Fe()+k,b:h};h||(E.group=ue,ue.r+=1),o||l?l=E:(v&&(c(),s=Ke(i,a,h,b,k,y,v)),h&&_(0,1),o=d(E,b),de(()=>ke(i,h,"start")),Ve(N=>{if(l&&N>l.start&&(o=d(l,b),l=null,ke(i,o.b,"start"),v&&(c(),s=Ke(i,a,o.b,o.duration,0,y,n.css))),o){if(N>=o.end)_(a=o.b,1-a),ke(i,o.b,"end"),l||(o.b?c():--o.group.r||le(o.group.c)),o=null;else if(N>=o.start){const R=N-o.start;a=o.a+o.d*y(R/o.duration),_(a,1-a)}}return!!(o||l)}))}return{run(h){fe(n)?ot().then(()=>{n=n(),f(h)}):f(h)},end(){c(),o=l=null}}}function kt(i,e){i.d(1),e.delete(i.key)}function pt(i,e,t,r,n,a,o,l,s,c,d,f){let h=i.length,k=a.length,b=h;const y={};for(;b--;)y[i[b].key]=b;const _=[],v=new Map,E=new Map;for(b=k;b--;){const M=f(n,a,b),A=t(M);let H=o.get(A);H?r&&H.p(M,e):(H=c(A,M),H.c()),v.set(A,_[b]=H),A in y&&E.set(A,Math.abs(b-y[A]))}const N=new Set,R=new Set;function C(M){X(M,1),M.m(l,d),o.set(M.key,M),d=M.first,k--}for(;h&&k;){const M=_[k-1],A=i[h-1],H=M.key,L=A.key;M===A?(d=M.first,h--,k--):v.has(L)?!o.has(H)||N.has(H)?C(M):R.has(L)?h--:E.get(H)>E.get(L)?(R.add(H),C(M)):(N.add(L),h--):(s(A,o),h--)}for(;h--;){const M=i[h];v.has(M.key)||s(M,o)}for(;k;)C(_[k-1]);return _}function pe(i){i&&i.c()}function ge(i,e,t,r){const{fragment:n,after_update:a}=i.$$;n&&n.m(e,t),r||de(()=>{const o=i.$$.on_mount.map(it).filter(fe);i.$$.on_destroy?i.$$.on_destroy.push(...o):le(o),i.$$.on_mount=[]}),a.forEach(de)}function he(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 Oi(i,e){i.$$.dirty[0]===-1&&(Ne.push(i),yt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function F(i,e,t,r,n,a,o,l=[-1]){const s=Se;Be(i);const c=i.$$={fragment:null,ctx:[],props:a,update:x,not_equal:n,bound:dt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:dt(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...k)=>{const b=k.length?k[0]:h;return c.ctx&&n(c.ctx[f],c.ctx[f]=b)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](b),d&&Oi(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=Ai(e.target);c.fragment&&c.fragment.l(f),f.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&X(i.$$.fragment),ge(i,e.target,e.anchor,e.customElement),g()}Be(s)}let I;typeof HTMLElement=="function"&&(I=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(it).filter(fe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){le(this.$$.on_disconnect)}$destroy(){he(this,1),this.$destroy=x}$on(i,e){if(!fe(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&&!zi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var Aa="",Ra="",Ha="",Sa="";function Pi(i){let e,t,r,n,a,o,l,s,c;return{c(){e=w("div"),t=w("img"),n=B(),a=w("img"),l=B(),s=w("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),qe(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(a,"alt","GoA Logo"),u(a,"class","image-desktop"),qe(a.src,o="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(a,"src",o),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,a),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0])},d(d){d&&T(e)}}}function ji(i){let e,t,r,n,a,o,l,s,c;return{c(){e=w("a"),t=w("img"),n=B(),a=w("img"),l=B(),s=w("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),qe(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(a,"alt","GoA Logo"),u(a,"class","image-desktop"),qe(a.src,o="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(a,"src",o),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,a),m(e,l),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&&T(e)}}}function Ii(i){let e,t,r,n,a;function o(c,d){return c[1]?ji:Pi}let l=o(i),s=l(i);return{c(){e=w("div"),t=w("div"),s.c(),r=B(),n=w("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",a=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[d]){l===(l=o(c))&&s?s.p(c,d):(s.d(1),s=l(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&a!==(a=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",a)},i:x,o:x,d(c){c&&T(e),s.d()}}}function qi(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:a=""}=e,{maxcontentwidth:o=""}=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,a=l.testid),"maxcontentwidth"in l&&t(3,o=l.maxcontentwidth)},[r,n,a,o]}class Fi extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},qi,Ii,j,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(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",Fi);function V(i,e,t,r){return[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 xt(i,e,t,r){const n=document.createElement("style"),a=Object.entries(t).map(o=>`${o[0]}: ${o[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${a}} }`:n.innerHTML=`${e} {${a}}`,i.appendChild(n)}function U(i){return i==="false"?!1:i===""?!0:!!i}function Vi(i){return i?"true":"false"}function Et(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function Z(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Gi(i){let e;return{c(){e=w("div"),$(e,"height","1.2rem"),$(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:x,d(t){t&&T(e)}}}function Ui(i){let e;return{c(){e=w("goa-icon"),z(e,"type",i[8]),z(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&z(e,"type",t[8])},d(t){t&&T(e)}}}function zt(i){let e,t;return{c(){e=w("div"),t=G(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&4&&W(t,r[2])},d(r){r&&T(e)}}}function Wi(i){let e,t,r,n;function a(c,d){return c[7]?Ui:Gi}let o=a(i),l=o(i),s=i[2]&&zt(i);return{c(){e=w("div"),l.c(),t=B(),s&&s.c(),this.c=x,u(e,"style",r=V(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]),P(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),l.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){o===(o=a(c))&&l?l.p(c,d):(l.d(1),l=o(c),l&&(l.c(),l.m(e,t))),c[2]?s?s.p(c,d):(s=zt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=V(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&&P(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&T(e),l.d(),s&&s.d()}}}function Ki(i,e,t){let r,n;const[a,o]=Z("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:l}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:k=null}=e,{ml:b=null}=e;return K(()=>{o(l),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=y=>{"type"in y&&t(0,l=y.type),"testid"in y&&t(1,s=y.testid),"content"in y&&t(2,c=y.content),"icon"in y&&t(9,d=y.icon),"mt"in y&&t(3,f=y.mt),"mr"in y&&t(4,h=y.mr),"mb"in y&&t(5,k=y.mb),"ml"in y&&t(6,b=y.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=U(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,s,c,f,h,k,b,r,n,d]}class Xi extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ki,Wi,j,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(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",Xi);function Zi(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
|
|
6
|
-
|
|
1
|
+
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://p.typekit.net/p.css?s=1&k=nur5yta&ht=tk&f=26036.26037.26044.26046.26047&a=14638192&app=typekit&e=css";@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:acumin-pro-semi-condensed,sans-serif;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(x){typeof define=="function"&&define.amd?define(x):x()})(function(){"use strict";function x(){}const Ne=i=>i;function dt(i,e){for(const t in e)i[t]=e[t];return i}function rt(i){return i()}function ut(){return Object.create(null)}function oe(i){i.forEach(rt)}function fe(i){return typeof i=="function"}function B(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Pe;function xe(i,e){return Pe||(Pe=document.createElement("a")),Pe.href=e,i===Pe.href}function zi(i){return Object.keys(i).length===0}function Mi(i,...e){if(i==null)return x;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Ci(i,e,t){i.$$.on_destroy.push(Mi(e,t))}function ft(i){return i&&fe(i.destroy)?i.destroy:x}const gt=typeof window!="undefined";let Ge=gt?()=>window.performance.now():()=>Date.now(),at=gt?i=>requestAnimationFrame(i):x;const ze=new Set;function ht(i){ze.forEach(e=>{e.c(i)||(ze.delete(e),e.f())}),ze.size!==0&&at(ht)}function Ye(i){let e;return ze.size===0&&at(ht),{promise:new Promise(t=>{ze.add(e={c:i,f:t})}),abort(){ze.delete(e)}}}function m(i,e){i.appendChild(e)}function mt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ei(i){const e=b("style");return Ai(mt(i),e),e.sheet}function Ai(i,e){return m(i.head||i,e),e.sheet}function p(i,e,t){i.insertBefore(e,t||null)}function E(i){i.parentNode.removeChild(i)}function Ze(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 ye(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function V(i){return document.createTextNode(i)}function j(){return V(" ")}function we(){return V("")}function U(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 M(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function Li(i){return Array.from(i.childNodes)}function F(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 O(i,e,t){i.classList[t?"add":"remove"](e)}function Ti(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const a=document.createEvent("CustomEvent");return a.initCustomEvent(i,t,r,e),a}function G(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ve=new Map;let Qe=0;function Ii(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ni(i,e){const t={stylesheet:Ei(e),rules:{}};return Ve.set(i,t),t}function Fe(i,e,t,r,a,n,l,o=0){const s=16.666/r;let c=`{
|
|
3
|
+
`;for(let w=0;w<=1;w+=s){const v=e+(t-e)*n(w);c+=w*100+`%{${l(v,1-v)}}
|
|
4
|
+
`}const d=c+`100% {${l(t,1-t)}}
|
|
5
|
+
}`,f=`__svelte_${Ii(d)}_${o}`,h=mt(i),{stylesheet:k,rules:y}=Ve.get(h)||Ni(h,i);y[f]||(y[f]=!0,k.insertRule(`@keyframes ${f} ${d}`,k.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${a}ms 1 both`,Qe+=1,f}function Ue(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),a=t.length-r.length;a&&(i.style.animation=r.join(", "),Qe-=a,Qe||Di())}function Di(){at(()=>{Qe||(Ve.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&E(e)}),Ve.clear())})}let De;function je(i){De=i}function bt(){if(!De)throw new Error("Function called outside component initialization");return De}function q(i){bt().$$.on_mount.push(i)}function ji(i){bt().$$.on_destroy.push(i)}const Re=[],te=[],qe=[],vt=[],yt=Promise.resolve();let nt=!1;function wt(){nt||(nt=!0,yt.then(g))}function ge(){return wt(),yt}function de(i){qe.push(i)}const ot=new Set;let We=0;function g(){const i=De;do{for(;We<Re.length;){const e=Re[We];We++,je(e),Ri(e.$$)}for(je(null),Re.length=0,We=0;te.length;)te.pop()();for(let e=0;e<qe.length;e+=1){const t=qe[e];ot.has(t)||(ot.add(t),t())}qe.length=0}while(Re.length);for(;vt.length;)vt.pop()();nt=!1,ot.clear(),je(i)}function Ri(i){if(i.fragment!==null){i.update(),oe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(de)}}let He;function lt(){return He||(He=Promise.resolve(),He.then(()=>{He=null})),He}function _e(i,e,t){i.dispatchEvent(Ti(`${e?"intro":"outro"}${t}`))}const Ke=new Set;let ue;function Me(){ue={r:0,c:[],p:ue}}function Ce(){ue.r||oe(ue.c),ue=ue.p}function K(i,e){i&&i.i&&(Ke.delete(i),i.i(e))}function X(i,e,t,r){if(i&&i.o){if(Ke.has(i))return;Ke.add(i),ue.c.push(()=>{Ke.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const st={duration:0};function _t(i,e,t){let r=e(i,t),a=!1,n,l,o=0;function s(){n&&Ue(i,n)}function c(){const{delay:f=0,duration:h=300,easing:k=Ne,tick:y=x,css:_}=r||st;_&&(n=Fe(i,0,1,h,f,k,_,o++)),y(0,1);const w=Ge()+f,v=w+h;l&&l.abort(),a=!0,de(()=>_e(i,!0,"start")),l=Ye(z=>{if(a){if(z>=v)return y(1,0),_e(i,!0,"end"),s(),a=!1;if(z>=w){const D=k((z-w)/h);y(D,1-D)}}return a})}let d=!1;return{start(){d||(d=!0,Ue(i),fe(r)?(r=r(),lt().then(c)):c())},invalidate(){d=!1},end(){a&&(s(),a=!1)}}}function kt(i,e,t){let r=e(i,t),a=!0,n;const l=ue;l.r+=1;function o(){const{delay:s=0,duration:c=300,easing:d=Ne,tick:f=x,css:h}=r||st;h&&(n=Fe(i,1,0,c,s,d,h));const k=Ge()+s,y=k+c;de(()=>_e(i,!1,"start")),Ye(_=>{if(a){if(_>=y)return f(0,1),_e(i,!1,"end"),--l.r||oe(l.c),!1;if(_>=k){const w=d((_-k)/c);f(1-w,w)}}return a})}return fe(r)?lt().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),a&&(n&&Ue(i,n),a=!1)}}}function Xe(i,e,t,r){let a=e(i,t),n=r?0:1,l=null,o=null,s=null;function c(){s&&Ue(i,s)}function d(h,k){const y=h.b-n;return k*=Math.abs(y),{a:n,b:h.b,d:y,duration:k,start:h.start,end:h.start+k,group:h.group}}function f(h){const{delay:k=0,duration:y=300,easing:_=Ne,tick:w=x,css:v}=a||st,z={start:Ge()+k,b:h};h||(z.group=ue,ue.r+=1),l||o?o=z:(v&&(c(),s=Fe(i,n,h,y,k,_,v)),h&&w(0,1),l=d(z,y),de(()=>_e(i,h,"start")),Ye(D=>{if(o&&D>o.start&&(l=d(o,y),o=null,_e(i,l.b,"start"),v&&(c(),s=Fe(i,n,l.b,l.duration,0,_,a.css))),l){if(D>=l.end)w(n=l.b,1-n),_e(i,l.b,"end"),o||(l.b?c():--l.group.r||oe(l.group.c)),l=null;else if(D>=l.start){const T=D-l.start;n=l.a+l.d*_(T/l.duration),w(n,1-n)}}return!!(l||o)}))}return{run(h){fe(a)?lt().then(()=>{a=a(),f(h)}):f(h)},end(){c(),l=o=null}}}function pt(i,e){i.d(1),e.delete(i.key)}function xt(i,e,t,r,a,n,l,o,s,c,d,f){let h=i.length,k=n.length,y=h;const _={};for(;y--;)_[i[y].key]=y;const w=[],v=new Map,z=new Map;for(y=k;y--;){const A=f(a,n,y),I=t(A);let N=l.get(I);N?r&&N.p(A,e):(N=c(I,A),N.c()),v.set(I,w[y]=N),I in _&&z.set(I,Math.abs(y-_[I]))}const D=new Set,T=new Set;function C(A){K(A,1),A.m(o,d),l.set(A.key,A),d=A.first,k--}for(;h&&k;){const A=w[k-1],I=i[h-1],N=A.key,L=I.key;A===I?(d=A.first,h--,k--):v.has(L)?!l.has(N)||D.has(N)?C(A):T.has(L)?h--:z.get(N)>z.get(L)?(T.add(N),C(A)):(D.add(L),h--):(s(I,l),h--)}for(;h--;){const A=i[h];v.has(A.key)||s(A,l)}for(;k;)C(w[k-1]);return w}function ke(i){i&&i.c()}function he(i,e,t,r){const{fragment:a,after_update:n}=i.$$;a&&a.m(e,t),r||de(()=>{const l=i.$$.on_mount.map(rt).filter(fe);i.$$.on_destroy?i.$$.on_destroy.push(...l):oe(l),i.$$.on_mount=[]}),n.forEach(de)}function me(i,e){const t=i.$$;t.fragment!==null&&(oe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Hi(i,e){i.$$.dirty[0]===-1&&(Re.push(i),wt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Y(i,e,t,r,a,n,l,o=[-1]){const s=De;je(i);const c=i.$$={fragment:null,ctx:[],props:n,update:x,not_equal:a,bound:ut(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:ut(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};l&&l(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...k)=>{const y=k.length?k[0]:h;return c.ctx&&a(c.ctx[f],c.ctx[f]=y)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](y),d&&Hi(i,f)),h}):[],c.update(),d=!0,oe(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Li(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&K(i.$$.fragment),he(i,e.target,e.anchor,e.customElement),g()}je(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(rt).filter(fe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){oe(this.$$.on_disconnect)}$destroy(){me(this,1),this.$destroy=x}$on(i,e){if(!fe(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&&!zi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var Yn="",Zn="",Vn="",Qn="",Fn="";const Si={"0":"none","1":"3xs","2":"2xs","3":"xs","4":"s","5":"m","6":"l","7":"xl","8":"2xl","9":"3xl","10":"4xl"};function Je(i){return Number.isInteger(+i)?Si[i]||"":i}function Z(i,e,t,r){return i=Je(i),t=Je(t),r=Je(r),e=Je(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 zt(i,e,t,r){const a=document.createElement("style"),n=Object.entries(t).map(l=>`${l[0]}: ${l[1]};`).join(" ");r?a.innerHTML=`@media (${r}) { ${e} {${n}} }`:a.innerHTML=`${e} {${n}}`,i.appendChild(a)}function Q(i){return i==="false"?!1:i===""?!0:!!i}function Oi(i){return i?"true":"false"}function $e(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function W(i,e,t=!1){return[e,a=>{!t&&!a||e.includes(a)||console.error(`[${a}] is an invalid ${i.toLowerCase()}`)}]}function Bi(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,y,_,w,v,z,D,T,C,A;return{c(){e=b("div"),t=b("details"),r=b("summary"),a=b("goa-icon"),l=j(),o=b("div"),s=b("span"),c=V(i[0]),h=j(),k=b("span"),y=V(i[1]),_=j(),w=b("div"),w.innerHTML='<slot name="headingcontent"></slot>',z=j(),D=b("div"),D.innerHTML="<slot></slot>",this.c=x,M(a,"type","chevron-forward"),M(a,"fillcolor",n=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(k,"class","secondary-text"),u(w,"class","heading-content"),u(o,"class","title"),u(r,"class",v=`container-${i[2]}`),u(D,"class","content"),t.open=i[9],u(e,"style",T=Z(i[4],i[5],i[6],i[7])),u(e,"class",`
|
|
6
|
+
goa-accordion
|
|
7
|
+
`),u(e,"data-testid",i[3])},m(I,N){p(I,e,N),m(e,t),m(t,r),m(r,a),m(r,l),m(r,o),m(o,s),m(s,c),m(o,h),m(o,k),m(k,y),m(o,_),m(o,w),m(t,z),m(t,D),C||(A=[U(r,"mouseover",i[11]),U(r,"mouseout",i[12]),U(r,"focus",i[13]),U(r,"blur",i[14])],C=!0)},p(I,[N]){N&256&&n!==(n=I[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&M(a,"fillcolor",n),N&1&&F(c,I[0]),N&4&&d!==(d="heading heading-"+I[2])&&u(s,"class",d),N&8&&f!==(f=`${I[3]}-heading`)&&u(s,"data-testid",f),N&2&&F(y,I[1]),N&4&&v!==(v=`container-${I[2]}`)&&u(r,"class",v),N&512&&(t.open=I[9]),N&240&&T!==(T=Z(I[4],I[5],I[6],I[7]))&&u(e,"style",T),N&8&&u(e,"data-testid",I[3])},i:x,o:x,d(I){I&&E(e),C=!1,oe(A)}}}function Pi(i,e,t){let r;const[a,n]=W("Accordion heading size",["small","medium"]);let{open:l="false"}=e,{heading:o=""}=e,{secondarytext:s=""}=e,{headingsize:c="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:k="xs"}=e,{ml:y=null}=e,_=!1;q(()=>{$e("GoAAccordion",{heading:o}),n(c)});const w=()=>t(8,_=!0),v=()=>t(8,_=!1),z=()=>t(8,_=!1),D=()=>t(8,_=!1);return i.$$set=T=>{"open"in T&&t(10,l=T.open),"heading"in T&&t(0,o=T.heading),"secondarytext"in T&&t(1,s=T.secondarytext),"headingsize"in T&&t(2,c=T.headingsize),"testid"in T&&t(3,d=T.testid),"mt"in T&&t(4,f=T.mt),"mr"in T&&t(5,h=T.mr),"mb"in T&&t(6,k=T.mb),"ml"in T&&t(7,y=T.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,r=Q(l))},[o,s,c,d,f,h,k,y,_,r,l,w,v,z,D]}class Gi extends P{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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pi,Bi,B,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(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",Gi);function Yi(i){let e,t,r,a,n,l,o,s,c;return{c(){e=b("div"),t=b("img"),a=j(),n=b("img"),o=j(),s=b("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),xe(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(n,"alt","GoA Logo"),u(n,"class","image-desktop"),xe(n.src,l="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(n,"src",l),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,a),m(e,n),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&F(c,d[0])},d(d){d&&E(e)}}}function Zi(i){let e,t,r,a,n,l,o,s,c;return{c(){e=b("a"),t=b("img"),a=j(),n=b("img"),o=j(),s=b("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),xe(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(n,"alt","GoA Logo"),u(n,"class","image-desktop"),xe(n.src,l="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(n,"src",l),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,a),m(e,n),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&F(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&E(e)}}}function Vi(i){let e,t,r,a,n;function l(c,d){return c[1]?Zi:Yi}let o=l(i),s=o(i);return{c(){e=b("div"),t=b("div"),s.c(),r=j(),a=b("div"),a.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",n=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,a)},p(c,[d]){o===(o=l(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&&n!==(n=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",n)},i:x,o:x,d(c){c&&E(e),s.d()}}}function Qi(i,e,t){let{heading:r=""}=e,{url:a=""}=e,{testid:n=""}=e,{maxcontentwidth:l=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,a=o.url),"testid"in o&&t(2,n=o.testid),"maxcontentwidth"in o&&t(3,l=o.maxcontentwidth)},[r,a,n,l]}class Fi extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Qi,Vi,B,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(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",Fi);function Ui(i){let e;return{c(){e=b("div"),$(e,"height","1.2rem"),$(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:x,d(t){t&&E(e)}}}function qi(i){let e;return{c(){e=b("goa-icon"),M(e,"type",i[8]),M(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&M(e,"type",t[8])},d(t){t&&E(e)}}}function Mt(i){let e,t;return{c(){e=b("div"),t=V(i[2]),u(e,"class","goa-badge-content")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&4&&F(t,r[2])},d(r){r&&E(e)}}}function Wi(i){let e,t,r,a;function n(c,d){return c[7]?qi:Ui}let l=n(i),o=l(i),s=i[2]&&Mt(i);return{c(){e=b("div"),o.c(),t=j(),s&&s.c(),this.c=x,u(e,"style",r=Z(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",a="goa-badge badge-"+i[0]),O(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),o.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){l===(l=n(c))&&o?o.p(c,d):(o.d(1),o=l(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=Z(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&a!==(a="goa-badge badge-"+c[0])&&u(e,"class",a),d&133&&O(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&E(e),o.d(),s&&s.d()}}}function Ki(i,e,t){let r,a;const[n,l]=W("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:k=null}=e,{ml:y=null}=e;return q(()=>{l(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,k=_.mb),"ml"in _&&t(6,y=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=Q(d)),i.$$.dirty&1&&t(8,a={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,k,y,r,a,d]}class Xi extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ki,Wi,B,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(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",Xi);function Ji(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
|
|
9
|
+
${Z(i[3],i[4],i[5],i[6])};
|
|
7
10
|
--gap: var(--goa-space-${i[0]});
|
|
8
11
|
--alignment: ${i[2]};
|
|
9
12
|
--direction: ${i[1]};
|
|
10
|
-
`)},m(n
|
|
11
|
-
${
|
|
12
|
-
--gap: var(--goa-space-${
|
|
13
|
-
--alignment: ${
|
|
14
|
-
--direction: ${
|
|
15
|
-
`)&&u(e,"style",r)},i:x,o:x,d(
|
|
16
|
-
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>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},tr,er,j,{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&&p(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",ir);function rr(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(V(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,a){p(n,e,a),m(e,t)},p(n,[a]){a&2&&u(e,"data-testid",n[1]),a&125&&r!==(r=""+(V(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&&T(e)}}}function nr(i,e,t){let r,{alignment:n="start"}=e,{gap:a="relaxed"}=e,{testid:o=""}=e,{mt:l=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=Z("alignment",["start","end","center"]),[k,b]=Z("gap",["relaxed","compact"]);return K(()=>{h(n),b(a)}),i.$$set=y=>{"alignment"in y&&t(7,n=y.alignment),"gap"in y&&t(0,a=y.gap),"testid"in y&&t(1,o=y.testid),"mt"in y&&t(2,l=y.mt),"mr"in y&&t(3,s=y.mr),"mb"in y&&t(4,c=y.mb),"ml"in y&&t(5,d=y.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[a,o,l,s,c,d,r,n]}class ar extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},nr,rr,j,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(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",ar);function Mt(i){let e,t;return{c(){e=w("h3"),t=G(i[5])},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&32&&W(t,r[5])},d(r){r&&T(e)}}}function or(i){let e,t,r,n,a,o,l,s,c,d,f=i[5]&&Mt(i);return{c(){e=w("div"),t=w("span"),r=w("goa-icon"),o=B(),l=w("span"),f&&f.c(),s=B(),c=w("slot"),this.c=x,z(r,"type",i[7]),z(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",a="icon "+i[4]),u(l,"class","content"),u(e,"style",d=V(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,k){p(h,e,k),m(e,t),m(t,r),m(e,o),m(e,l),f&&f.m(l,null),m(l,s),m(l,c)},p(h,[k]){k&128&&z(r,"type",h[7]),k&16&&n!==(n=h[4]==="important"?"false":"true")&&z(r,"inverted",n),k&16&&a!==(a="icon "+h[4])&&u(t,"class",a),h[5]?f?f.p(h,k):(f=Mt(h),f.c(),f.m(l,s)):f&&(f.d(1),f=null),k&15&&d!==(d=V(h[0],h[1],h[2],h[3]))&&u(e,"style",d),k&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&T(e),f&&f.d()}}}function lr(i,e,t){let r;const[n,a]=Z("Callout type",["emergency","important","information","event","success"],!0);let{mt:o=null}=e,{mr:l=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return K(()=>{a(d)}),i.$$set=k=>{"mt"in k&&t(0,o=k.mt),"mr"in k&&t(1,l=k.mr),"mb"in k&&t(2,s=k.mb),"ml"in k&&t(3,c=k.ml),"type"in k&&t(4,d=k.type),"heading"in k&&t(5,f=k.heading),"testid"in k&&t(6,h=k.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":"")},[o,l,s,c,d,f,h,r]}class sr extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},lr,or,j,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(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",sr);function cr(i){let e;return{c(){e=w("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class dr extends I{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,cr,j,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",dr);function ur(i){let e,t,r;return{c(){e=w("div"),t=w("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%")+"; "+V(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,a){p(n,e,a),m(e,t)},p(n,[a]){a&128&&u(e,"data-testid",n[7]),a&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+V(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&&T(e)}}}function fr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:a="auto"}=e,{mt:o=null}=e,{mr:l=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,a=f.height),"mt"in f&&t(3,o=f.mt),"mr"in f&&t(4,l=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,a,o,l,s,c,d]}class gr extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},fr,ur,j,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(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",gr);function hr(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class mr extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,hr,j,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",mr);function br(i){let e;return{c(){e=w("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class vr extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,br,j,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",vr);function yr(i){let e;return{c(){e=w("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){p(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&&T(e)}}}function wr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=a=>{"src"in a&&t(0,r=a.src),"height"in a&&t(1,n=a.height)},[r,n]}class _r extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},wr,yr,j,{src:0,height:1},null),e&&(e.target&&p(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",_r);function kr(i){let e,t;return{c(){e=ye("svg"),t=ye("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){p(r,e,n),m(e,t)},d(r){r&&T(e)}}}function pr(i){let e,t;return{c(){e=ye("svg"),t=ye("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){p(r,e,n),m(e,t)},d(r){r&&T(e)}}}function xr(i){let e,t,r,n,a,o,l,s,c,d,f,h,k;function b(v,E){if(v[10])return pr;if(v[9])return kr}let y=b(i),_=y&&y(i);return{c(){e=w("label"),t=w("div"),r=w("input"),o=B(),_&&_.c(),l=B(),s=w("div"),c=w("slot"),d=G(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",a=i[4]||i[0]),u(t,"class","goa-checkbox-container"),P(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=V(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),P(e,"goa-checkbox--disabled",i[12]),P(e,"goa-checkbox--error",i[11])},m(v,E){p(v,e,E),m(e,t),m(t,r),m(t,o),_&&_.m(t,null),m(e,l),m(e,s),m(s,c),m(c,d),h||(k=J(r,"change",i[13]),h=!0)},p(v,[E]){E&1&&u(r,"id",v[0]),E&1&&u(r,"name",v[0]),E&512&&(r.checked=v[9]),E&4096&&(r.disabled=v[12]),E&4&&n!==(n=`${v[2]}`)&&(r.value=n),E&17&&a!==(a=v[4]||v[0])&&u(r,"aria-label",a),y!==(y=b(v))&&(_&&_.d(1),_=y&&y(v),_&&(_.c(),_.m(t,null))),E&512&&P(t,"goa-checkbox--selected",v[9]),E&2&&W(d,v[1]),E&8&&u(e,"data-testid",v[3]),E&1&&u(e,"for",v[0]),E&480&&f!==(f=V(v[5],v[6],v[7],v[8]))&&u(e,"style",f),E&4096&&P(e,"goa-checkbox--disabled",v[12]),E&2048&&P(e,"goa-checkbox--error",v[11])},i:x,o:x,d(v){v&&T(e),_&&_.d(),h=!1,k()}}}function Er(i,e,t){let r,n,a,o,{name:l}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:k=""}=e,{arialabel:b=""}=e,{mt:y=null}=e,{mr:_=null}=e,{mb:v=null}=e,{ml:E=null}=e,N;K(()=>{N=d});function R(C){const M=!a,A=M?`${N||"checked"}`:"";t(14,s=Vi(M)),C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:M,value:A}}))}return i.$$set=C=>{"name"in C&&t(0,l=C.name),"checked"in C&&t(14,s=C.checked),"text"in C&&t(1,c=C.text),"value"in C&&t(2,d=C.value),"disabled"in C&&t(15,f=C.disabled),"error"in C&&t(16,h=C.error),"testid"in C&&t(3,k=C.testid),"arialabel"in C&&t(4,b=C.arialabel),"mt"in C&&t(5,y=C.mt),"mr"in C&&t(6,_=C.mr),"mb"in C&&t(7,v=C.mb),"ml"in C&&t(8,E=C.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=U(f)),i.$$.dirty&65536&&t(11,n=U(h)),i.$$.dirty&16384&&t(9,a=U(s))},t(10,o=!1),[l,c,d,k,b,y,_,v,E,a,o,n,r,R,s,f,h]}class zr extends I{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--disabled:hover{cursor:default}.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{border:1px solid var(--goa-color-interactive-hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);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)}.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>',F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Er,xr,j,{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&&p(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",zr);function Lt(i){let e;return{c(){e=w("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&T(e)}}}function At(i){let e,t,r;return{c(){e=w("goa-icon"),z(e,"class","delete-icon"),z(e,"size","medium"),z(e,"theme","filled"),z(e,"type","close-circle"),z(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),z(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,a){p(n,e,a)},p(n,a){a&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&z(e,"fillcolor",t),a&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&z(e,"opacity",r)},d(n){n&&T(e)}}}function Cr(i){let e,t,r,n,a,o,l,s,c=i[4]&&Lt(i),d=i[11]&&At(i);return{c(){e=w("div"),c&&c.c(),t=B(),r=w("div"),n=G(i[5]),a=B(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",o=V(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),P(e,"deletable",i[11]),P(e,"error",i[10]),P(e,"variant",i[6])},m(f,h){p(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,n),m(e,a),d&&d.m(e,null),i[15](e),l||(s=[J(e,"click",i[16]),J(e,"mouseover",i[17]),J(e,"mouseout",i[18]),J(e,"focus",i[19]),J(e,"blur",i[20])],l=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Lt(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=At(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&o!==(o=V(f[0],f[1],f[2],f[3]))&&u(e,"style",o),h&2048&&P(e,"deletable",f[11]),h&1024&&P(e,"error",f[10]),h&64&&P(e,"variant",f[6])},i:x,o:x,d(f){f&&T(e),c&&c.d(),d&&d.d(),i[15](null),l=!1,le(s)}}}function Tr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:a=null}=e,{ml:o=null}=e,{leadingicon:l=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,k,b=!1,y,_;function v(H){k.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function E(H){te[H?"unshift":"push"](()=>{k=H,t(8,k)})}const N=H=>_&&v(H),R=()=>t(9,b=!0),C=()=>t(9,b=!1),M=()=>t(9,b=!1),A=()=>t(9,b=!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,a=H.mb),"ml"in H&&t(3,o=H.ml),"leadingicon"in H&&t(4,l=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,y=U(s)),i.$$.dirty&16384&&t(11,_=U(c))},[r,n,a,o,l,d,f,h,k,b,y,_,v,s,c,E,N,R,C,M,A]}class Mr extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Tr,Cr,j,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(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",Mr);function Lr(i){const e=i-1;return e*e*e+1}function Ar(i){return Math.pow(i-1,3)*(1-i)+1}function Te(i,{delay:e=0,duration:t=400,easing:r=He}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:a=>`opacity: ${a*n}`}}function Rt(i,{delay:e=0,duration:t=400,easing:r=Lr,x:n=0,y:a=0,opacity:o=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-o);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
17
|
-
transform: ${c} translate(${(1-f)*
|
|
18
|
-
opacity: ${s-d*h}`}}function
|
|
13
|
+
`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&127&&r!==(r=`
|
|
14
|
+
${Z(a[3],a[4],a[5],a[6])};
|
|
15
|
+
--gap: var(--goa-space-${a[0]});
|
|
16
|
+
--alignment: ${a[2]};
|
|
17
|
+
--direction: ${a[1]};
|
|
18
|
+
`)&&u(e,"style",r)},i:x,o:x,d(a){a&&E(e)}}}function $i(i,e,t){let{gap:r="m"}=e,{direction:a="row"}=e,{alignment:n="start"}=e,{mt:l=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,a=d.direction),"alignment"in d&&t(2,n=d.alignment),"mt"in d&&t(3,l=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,a,n,l,o,s,c]}class er extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},$i,Ji,B,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(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",er);function tr(i){let e,t,r,a,n=i[3]&&Ct(i),l=i[4]&&Et(i);return{c(){n&&n.c(),e=j(),t=b("span"),t.innerHTML="<slot></slot>",r=j(),l&&l.c(),a=we(),u(t,"class","text")},m(o,s){n&&n.m(o,s),p(o,e,s),p(o,t,s),p(o,r,s),l&&l.m(o,s),p(o,a,s)},p(o,s){o[3]?n?n.p(o,s):(n=Ct(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),o[4]?l?l.p(o,s):(l=Et(o),l.c(),l.m(a.parentNode,a)):l&&(l.d(1),l=null)},d(o){n&&n.d(o),o&&E(e),o&&E(t),o&&E(r),l&&l.d(o),o&&E(a)}}}function ir(i){let e,t,r;return{c(){e=b("span"),e.innerHTML="<slot></slot>",t=j(),r=b("goa-icon"),u(e,"class","text"),M(r,"id","trailing-icon"),M(r,"type","arrow-forward"),M(r,"inverted","true")},m(a,n){p(a,e,n),p(a,t,n),p(a,r,n)},p:x,d(a){a&&E(e),a&&E(t),a&&E(r)}}}function Ct(i){let e;return{c(){e=b("goa-icon"),M(e,"id","leading-icon"),M(e,"type",i[3]),M(e,"inverted",i[11])},m(t,r){p(t,e,r)},p(t,r){r&8&&M(e,"type",t[3]),r&2048&&M(e,"inverted",t[11])},d(t){t&&E(e)}}}function Et(i){let e;return{c(){e=b("goa-icon"),M(e,"id","trailing-icon"),M(e,"type",i[4]),M(e,"inverted",i[11])},m(t,r){p(t,e,r)},p(t,r){r&16&&M(e,"type",t[4]),r&2048&&M(e,"inverted",t[11])},d(t){t&&E(e)}}}function rr(i){let e,t,r,a,n;function l(c,d){return c[0]==="start"?ir:tr}let o=l(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=Z(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),O(e,"leading",i[3]),O(e,"trailing",i[4]||i[0]==="start")},m(c,d){p(c,e,d),s.m(e,null),a||(n=[U(e,"click",i[12]),U(e,"click",i[12])],a=!0)},p(c,[d]){o===(o=l(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=Z(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&&O(e,"leading",c[3]),d&23&&O(e,"trailing",c[4]||c[0]==="start")},i:x,o:x,d(c){c&&E(e),s.d(),a=!1,oe(n)}}}function ar(i,e,t){let r,a;const[n,l]=W("Button type",["primary","submit","secondary","tertiary","start"],!0),[o,s]=W("Button size",["normal","compact"],!0),[c,d]=W("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:k="normal"}=e,{disabled:y="false"}=e,{leadingicon:_=null}=e,{trailingicon:w=null}=e,{testid:v=""}=e,{mt:z=null}=e,{mr:D=null}=e,{mb:T=null}=e,{ml:C=null}=e;function A(I){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return q(()=>{l(f),s(h),d(k)}),i.$$set=I=>{"type"in I&&t(0,f=I.type),"size"in I&&t(1,h=I.size),"variant"in I&&t(2,k=I.variant),"disabled"in I&&t(13,y=I.disabled),"leadingicon"in I&&t(3,_=I.leadingicon),"trailingicon"in I&&t(4,w=I.trailingicon),"testid"in I&&t(5,v=I.testid),"mt"in I&&t(6,z=I.mt),"mr"in I&&t(7,D=I.mr),"mb"in I&&t(8,T=I.mb),"ml"in I&&t(9,C=I.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=Q(y)),i.$$.dirty&1&&t(11,a=f==="primary"||f==="start")},[f,h,k,_,w,v,z,D,T,C,r,a,A,y]}class nr extends P{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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ar,rr,B,{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&&p(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",nr);function or(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=""+(Z(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&2&&u(e,"data-testid",a[1]),n&125&&r!==(r=""+(Z(a[2],a[3],a[4],a[5])+"; --alignment: "+a[6]+"; --gap-size: "+(a[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(a){a&&E(e)}}}function lr(i,e,t){let r,{alignment:a="start"}=e,{gap:n="relaxed"}=e,{testid:l=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=W("alignment",["start","end","center"]),[k,y]=W("gap",["relaxed","compact"]);return q(()=>{h(a),y(n)}),i.$$set=_=>{"alignment"in _&&t(7,a=_.alignment),"gap"in _&&t(0,n=_.gap),"testid"in _&&t(1,l=_.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"}[a])},[n,l,o,s,c,d,r,a]}class sr extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},lr,or,B,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(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",sr);function At(i){let e,t;return{c(){e=b("h3"),t=V(i[5])},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&32&&F(t,r[5])},d(r){r&&E(e)}}}function cr(i){let e,t,r,a,n,l,o,s,c,d,f=i[5]&&At(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),l=j(),o=b("span"),f&&f.c(),s=j(),c=b("slot"),this.c=x,M(r,"type",i[7]),M(r,"inverted",a=i[4]==="important"?"false":"true"),u(t,"class",n="icon "+i[4]),u(o,"class","content"),u(e,"style",d=Z(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,k){p(h,e,k),m(e,t),m(t,r),m(e,l),m(e,o),f&&f.m(o,null),m(o,s),m(o,c)},p(h,[k]){k&128&&M(r,"type",h[7]),k&16&&a!==(a=h[4]==="important"?"false":"true")&&M(r,"inverted",a),k&16&&n!==(n="icon "+h[4])&&u(t,"class",n),h[5]?f?f.p(h,k):(f=At(h),f.c(),f.m(o,s)):f&&(f.d(1),f=null),k&15&&d!==(d=Z(h[0],h[1],h[2],h[3]))&&u(e,"style",d),k&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&E(e),f&&f.d()}}}function dr(i,e,t){let r;const[a,n]=W("Callout type",["emergency","important","information","event","success"],!0);let{mt:l=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(()=>{n(d)}),i.$$set=k=>{"mt"in k&&t(0,l=k.mt),"mr"in k&&t(1,o=k.mr),"mb"in k&&t(2,s=k.mb),"ml"in k&&t(3,c=k.ml),"type"in k&&t(4,d=k.type),"heading"in k&&t(5,f=k.heading),"testid"in k&&t(6,h=k.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":"")},[l,o,s,c,d,f,h,r]}class ur extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},dr,cr,B,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(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",ur);function fr(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){p(t,e,r)},p:x,i:x,o:x,d(t){t&&E(e)}}}class gr extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,fr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",gr);function hr(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%")+"; "+Z(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(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&128&&u(e,"data-testid",a[7]),n&127&&r!==(r="--width: "+a[1]+"; --height: "+(a[2]==="auto"?"auto":"100%")+"; "+Z(a[3],a[4],a[5],a[6])+" "+(a[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${a[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(a){a&&E(e)}}}function mr(i,e,t){let{elevation:r=0}=e,{width:a="100%"}=e,{height:n="auto"}=e,{mt:l=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,a=f.width),"height"in f&&t(2,n=f.height),"mt"in f&&t(3,l=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,a,n,l,o,s,c,d]}class br extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},mr,hr,B,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(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",br);function vr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&E(e)}}}class yr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,vr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",yr);function wr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&E(e)}}}class _r extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,wr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",_r);function kr(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){p(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&&E(e)}}}function pr(i,e,t){let{src:r}=e,{height:a="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,a=n.height)},[r,a]}class xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},pr,kr,B,{src:0,height:1},null),e&&(e.target&&p(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",xr);function zr(i){let e,t;return{c(){e=ye("svg"),t=ye("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,a){p(r,e,a),m(e,t)},d(r){r&&E(e)}}}function Mr(i){let e,t;return{c(){e=ye("svg"),t=ye("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,a){p(r,e,a),m(e,t)},d(r){r&&E(e)}}}function Cr(i){let e,t,r,a,n,l,o,s,c,d,f,h,k;function y(v,z){if(v[10])return Mr;if(v[9])return zr}let _=y(i),w=_&&_(i);return{c(){e=b("label"),t=b("div"),r=b("input"),l=j(),w&&w.c(),o=j(),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=a=`${i[2]}`,u(r,"aria-label",n=i[4]||i[0]),u(t,"class","goa-checkbox-container"),O(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=Z(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),O(e,"goa-checkbox--disabled",i[12]),O(e,"goa-checkbox--error",i[11])},m(v,z){p(v,e,z),m(e,t),m(t,r),m(t,l),w&&w.m(t,null),m(e,o),m(e,s),m(s,c),m(c,d),h||(k=U(r,"change",i[13]),h=!0)},p(v,[z]){z&1&&u(r,"id",v[0]),z&1&&u(r,"name",v[0]),z&512&&(r.checked=v[9]),z&4096&&(r.disabled=v[12]),z&4&&a!==(a=`${v[2]}`)&&(r.value=a),z&17&&n!==(n=v[4]||v[0])&&u(r,"aria-label",n),_!==(_=y(v))&&(w&&w.d(1),w=_&&_(v),w&&(w.c(),w.m(t,null))),z&512&&O(t,"goa-checkbox--selected",v[9]),z&2&&F(d,v[1]),z&8&&u(e,"data-testid",v[3]),z&1&&u(e,"for",v[0]),z&480&&f!==(f=Z(v[5],v[6],v[7],v[8]))&&u(e,"style",f),z&4096&&O(e,"goa-checkbox--disabled",v[12]),z&2048&&O(e,"goa-checkbox--error",v[11])},i:x,o:x,d(v){v&&E(e),w&&w.d(),h=!1,k()}}}function Er(i,e,t){let r,a,n,l,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:k=""}=e,{arialabel:y=""}=e,{mt:_=null}=e,{mr:w=null}=e,{mb:v=null}=e,{ml:z=null}=e,D;q(()=>{D=d});function T(C){const A=!n,I=A?`${D||"checked"}`:"";t(14,s=Oi(A)),C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:A,value:I}}))}return i.$$set=C=>{"name"in C&&t(0,o=C.name),"checked"in C&&t(14,s=C.checked),"text"in C&&t(1,c=C.text),"value"in C&&t(2,d=C.value),"disabled"in C&&t(15,f=C.disabled),"error"in C&&t(16,h=C.error),"testid"in C&&t(3,k=C.testid),"arialabel"in C&&t(4,y=C.arialabel),"mt"in C&&t(5,_=C.mt),"mr"in C&&t(6,w=C.mr),"mb"in C&&t(7,v=C.mb),"ml"in C&&t(8,z=C.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=Q(f)),i.$$.dirty&65536&&t(11,a=Q(h)),i.$$.dirty&16384&&t(9,n=Q(s))},t(10,l=!1),[o,c,d,k,y,_,w,v,z,n,l,a,r,T,s,f,h]}class Ar extends P{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{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>',Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Er,Cr,B,{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&&p(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",Ar);function Lt(i){let e;return{c(){e=b("goa-icon"),M(e,"class","leading-icon"),M(e,"size","medium"),M(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&M(e,"type",t[4])},d(t){t&&E(e)}}}function Tt(i){let e,t,r;return{c(){e=b("goa-icon"),M(e,"class","delete-icon"),M(e,"size","medium"),M(e,"theme","filled"),M(e,"type","close-circle"),M(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),M(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(a,n){p(a,e,n)},p(a,n){n&1536&&t!==(t=a[10]?"var(--goa-color-emergency-default)":a[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&M(e,"fillcolor",t),n&1536&&r!==(r=a[10]?a[9]?1:.5:1)&&M(e,"opacity",r)},d(a){a&&E(e)}}}function Lr(i){let e,t,r,a,n,l,o,s,c=i[4]&&Lt(i),d=i[11]&&Tt(i);return{c(){e=b("div"),c&&c.c(),t=j(),r=b("div"),a=V(i[5]),n=j(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",l=Z(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),O(e,"deletable",i[11]),O(e,"error",i[10]),O(e,"variant",i[6])},m(f,h){p(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,a),m(e,n),d&&d.m(e,null),i[15](e),o||(s=[U(e,"click",i[16]),U(e,"mouseover",i[17]),U(e,"mouseout",i[18]),U(e,"focus",i[19]),U(e,"blur",i[20])],o=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Lt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),h&32&&F(a,f[5]),f[11]?d?d.p(f,h):(d=Tt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&l!==(l=Z(f[0],f[1],f[2],f[3]))&&u(e,"style",l),h&2048&&O(e,"deletable",f[11]),h&1024&&O(e,"error",f[10]),h&64&&O(e,"variant",f[6])},i:x,o:x,d(f){f&&E(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,oe(s)}}}function Tr(i,e,t){let{mt:r=null}=e,{mr:a=null}=e,{mb:n=null}=e,{ml:l=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,k,y=!1,_,w;function v(N){k.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),N.stopPropagation()}function z(N){te[N?"unshift":"push"](()=>{k=N,t(8,k)})}const D=N=>w&&v(N),T=()=>t(9,y=!0),C=()=>t(9,y=!1),A=()=>t(9,y=!1),I=()=>t(9,y=!1);return i.$$set=N=>{"mt"in N&&t(0,r=N.mt),"mr"in N&&t(1,a=N.mr),"mb"in N&&t(2,n=N.mb),"ml"in N&&t(3,l=N.ml),"leadingicon"in N&&t(4,o=N.leadingicon),"error"in N&&t(13,s=N.error),"deletable"in N&&t(14,c=N.deletable),"content"in N&&t(5,d=N.content),"variant"in N&&t(6,f=N.variant),"testid"in N&&t(7,h=N.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,_=Q(s)),i.$$.dirty&16384&&t(11,w=Q(c))},[r,a,n,l,o,d,f,h,k,y,_,w,v,s,c,z,D,T,C,A,I]}class Ir extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Tr,Lr,B,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(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",Ir);function Nr(i){const e=i-1;return e*e*e+1}function Dr(i){return Math.pow(i-1,3)*(1-i)+1}function Ee(i,{delay:e=0,duration:t=400,easing:r=Ne}={}){const a=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*a}`}}function It(i,{delay:e=0,duration:t=400,easing:r=Nr,x:a=0,y:n=0,opacity:l=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-l);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
20
|
+
transform: ${c} translate(${(1-f)*a}px, ${(1-f)*n}px);
|
|
21
|
+
opacity: ${s-d*h}`}}function Nt(i,e){let t=!1;function r(){if(!a())return;const o=l();o>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"px")}function a(){return document.body.style.overflow!=="hidden"}function n(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function l(){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||n()},destroy(){n()}}}function Dt(i){let e,t,r,a;const n=[Rr,jr],l=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=l[e]=n[e](i)),{c(){t&&t.c(),r=we()},m(s,c){~e&&l[e].m(s,c),p(s,r,c),a=!0},p(s,c){let d=e;e=o(s),e===d?~e&&l[e].p(s,c):(t&&(Me(),X(l[d],1,1,()=>{l[d]=null}),Ce()),~e?(t=l[e],t?t.p(s,c):(t=l[e]=n[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){a||(K(t),a=!0)},o(s){X(t),a=!1},d(s){~e&&l[e].d(s),s&&E(r)}}}function jr(i){let e,t,r,a,n=i[0]&&jt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=j(),n&&n.c(),M(t,"size",i[2]),M(t,"progress",i[1]),u(e,"class",a="spinner-"+i[2]),O(e,"inline",i[4])},m(l,o){p(l,e,o),m(e,t),m(e,r),n&&n.m(e,null)},p(l,o){o&4&&M(t,"size",l[2]),o&2&&M(t,"progress",l[1]),l[0]?n?n.p(l,o):(n=jt(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null),o&4&&a!==(a="spinner-"+l[2])&&u(e,"class",a),o&20&&O(e,"inline",l[4])},i:x,o:x,d(l){l&&E(e),n&&n.d()}}}function Rr(i){let e,t,r,a,n,l,o,s=i[0]&&Rt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=j(),s&&s.c(),M(t,"size",i[2]),M(t,"progress",i[1]),O(e,"fullscreen",i[3])},m(c,d){p(c,e,d),m(e,t),m(e,r),s&&s.m(e,null),n=!0,l||(o=ft(Nt.call(null,e,{enable:!0})),l=!0)},p(c,d){(!n||d&4)&&M(t,"size",c[2]),(!n||d&2)&&M(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Rt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!n||d&8)&&O(e,"fullscreen",c[3])},i(c){n||(de(()=>{a||(a=Xe(e,Ee,{duration:300},!0)),a.run(1)}),n=!0)},o(c){a||(a=Xe(e,Ee,{duration:300},!1)),a.run(0),n=!1},d(c){c&&E(e),s&&s.d(),c&&a&&a.end(),l=!1,o()}}}function jt(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"class","message")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&1&&F(t,r[0])},d(r){r&&E(e)}}}function Rt(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"class","message")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&1&&F(t,r[0])},d(r){r&&E(e)}}}function Hr(i){let e,t,r=i[5]&&Dt(i);return{c(){r&&r.c(),e=we(),this.c=x},m(a,n){r&&r.m(a,n),p(a,e,n),t=!0},p(a,[n]){a[5]?r?(r.p(a,n),n&32&&K(r,1)):(r=Dt(a),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Me(),X(r,1,1,()=>{r=null}),Ce())},i(a){t||(K(r),t=!0)},o(a){X(r),t=!1},d(a){r&&r.d(a),a&&E(e)}}}function Sr(i,e,t){let r;const[a,n]=W("Circular progress variant",["fullscreen","inline"]),[l,o]=W("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,k,y,_;return q(async()=>{n(s),o(c),t(2,k=c==="small"?"large":"xlarge"),t(3,y=s==="fullscreen"),t(4,_=s==="inline")}),i.$$set=w=>{"variant"in w&&t(6,s=w.variant),"size"in w&&t(7,c=w.size),"message"in w&&t(0,d=w.message),"progress"in w&&t(1,f=w.progress),"visible"in w&&t(8,h=w.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=Q(h))},[d,f,k,y,_,r,s,c,h]}class Or extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sr,Hr,B,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(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",Or);function Br(i){let e,t,r,a,n,l,o,s,c,d;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',a=j(),n=b("div"),n.innerHTML='<slot name="actions"></slot>',o=j(),s=b("div"),s.innerHTML="<slot></slot>",this.c=x,u(r,"class","title"),u(n,"class","actions"),u(t,"class",l="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=Z(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
19
22
|
goa-container
|
|
20
23
|
goa-container--${i[0]}
|
|
21
24
|
padding--${i[2]}
|
|
22
25
|
accent--${i[1]}
|
|
23
|
-
`)},m(f,h){p(f,e,h),m(e,t),m(t,r),m(t,
|
|
26
|
+
`)},m(f,h){p(f,e,h),m(e,t),m(t,r),m(t,a),m(t,n),m(e,o),m(e,s)},p(f,[h]){h&2&&l!==(l="heading--"+f[1])&&u(t,"class",l),h&8&&u(e,"data-testid",f[3]),h&240&&c!==(c=Z(f[4],f[5],f[6],f[7]))&&u(e,"style",c),h&7&&d!==(d=`
|
|
24
27
|
goa-container
|
|
25
28
|
goa-container--${f[0]}
|
|
26
29
|
padding--${f[2]}
|
|
27
30
|
accent--${f[1]}
|
|
28
|
-
`)&&u(e,"class",d)},i:x,o:x,d(f){f&&T(e)}}}function Or(i,e,t){const[r,n]=Z("Container type",["interactive","info","error","success","important","non-interactive"]),[a,o]=Z("Container accent",["thick","thin","filled"]),[l,s]=Z("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:k=null}=e,{mr:b=null}=e,{mb:y="m"}=e,{ml:_=null}=e;return K(()=>{n(c),o(d),s(f)}),i.$$set=v=>{"type"in v&&t(0,c=v.type),"accent"in v&&t(1,d=v.accent),"padding"in v&&t(2,f=v.padding),"testid"in v&&t(3,h=v.testid),"mt"in v&&t(4,k=v.mt),"mr"in v&&t(5,b=v.mr),"mb"in v&&t(6,y=v.mb),"ml"in v&&t(7,_=v.ml)},[c,d,f,h,k,b,y,_]}class Pr extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Or,Dr,j,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(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",Pr);function jr(i){let e,t;return{c(){e=w("hr"),this.c=x,u(e,"data-testid",i[0]),u(e,"style",t=V(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=V(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:x,o:x,d(r){r&&T(e)}}}function Ir(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:l=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,a=s.mr),"mb"in s&&t(3,o=s.mb),"ml"in s&&t(4,l=s.ml)},[r,n,a,o,l]}class qr extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ir,jr,j,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(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",qr);function Dt(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function Ot(i,e,t){const r=i.slice();return r[49]=e[t],r}function Fr(i){let e,t,r,n,a,o,l,s,c=[],d=new Map,f,h,k,b=i[15]&&Pt(i),y=i[13];const _=v=>v[53];for(let v=0;v<y.length;v+=1){let E=Dt(i,y,v),N=_(E);d.set(N,c[v]=jt(N,E))}return{c(){b&&b.c(),e=B(),t=w("goa-input"),a=B(),o=w("slot"),l=B(),s=w("ul");for(let v=0;v<c.length;v+=1)c[v].c();z(t,"error",i[7]),z(t,"disabled",i[6]),z(t,"leadingicon",i[2]),z(t,"placeholder",i[4]),z(t,"aria-controls","menu"),z(t,"aria-expanded",i[15]),z(t,"arialabel",r=i[1]||i[0]),z(t,"data-testid",n=`${i[0]}-dropdown-input`),z(t,"readonly",""),z(t,"role","combobox"),z(t,"trailingicon","chevron-down"),z(t,"type","text"),z(t,"value",i[14]),z(t,"width","100%"),z(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]}`),P(s,"dropdown-active",i[15])},m(v,E){b&&b.m(v,E),p(v,e,E),p(v,t,E),p(v,a,E),p(v,o,E),p(v,l,E),p(v,s,E);for(let N=0;N<c.length;N+=1)c[N].m(s,null);i[33](s),h||(k=J(t,"click",i[24]),h=!0)},p(v,E){v[15]?b?b.p(v,E):(b=Pt(v),b.c(),b.m(e.parentNode,e)):b&&(b.d(1),b=null),E[0]&128&&z(t,"error",v[7]),E[0]&64&&z(t,"disabled",v[6]),E[0]&4&&z(t,"leadingicon",v[2]),E[0]&16&&z(t,"placeholder",v[4]),E[0]&32768&&z(t,"aria-expanded",v[15]),E[0]&3&&r!==(r=v[1]||v[0])&&z(t,"arialabel",r),E[0]&1&&n!==(n=`${v[0]}-dropdown-input`)&&z(t,"data-testid",n),E[0]&16384&&z(t,"value",v[14]),E[0]&1&&z(t,"name",v[0]),E[0]&67186688&&(y=v[13],c=pt(c,E,_,1,v,y,d,s,kt,jt,null,Dt)),E[0]&16384&&u(s,"aria-activedescendant",v[14]),E[0]&8&&f!==(f=`overflow-y: auto; max-height: ${v[3]}`)&&u(s,"style",f),E[0]&32768&&P(s,"dropdown-active",v[15])},d(v){b&&b.d(v),v&&T(e),v&&T(t),v&&T(a),v&&T(o),v&&T(l),v&&T(s);for(let E=0;E<c.length;E+=1)c[E].d();i[33](null),h=!1,k()}}}function Vr(i){let e,t,r,n,a,o=i[13],l=[];for(let s=0;s<o.length;s+=1)l[s]=It(Ot(i,o,s));return{c(){e=w("select"),t=w("slot");for(let s=0;s<l.length;s+=1)l[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),P(e,"error",i[23])},m(s,c){p(s,e,c),m(e,t);for(let d=0;d<l.length;d+=1)l[d].m(e,null);i[31](e),n||(a=J(e,"change",i[27]),n=!0)},p(s,c){if(c[0]&8192){o=s[13];let d;for(d=0;d<o.length;d+=1){const f=Ot(s,o,d);l[d]?l[d].p(f,c):(l[d]=It(f),l[d].c(),l[d].m(e,null))}for(;d<l.length;d+=1)l[d].d(1);l.length=o.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&&P(e,"error",s[23])},d(s){s&&T(e),Ge(l,s),i[31](null),n=!1,a()}}}function Pt(i){let e,t,r,n;return{c(){e=w("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(a,o){p(a,e,o),r||(n=J(e,"click",i[25]),r=!0)},p(a,o){o[0]&1&&t!==(t=`${a[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(a){a&&T(e),r=!1,n()}}}function jt(i,e){let t,r=(e[49].label||e[49].value)+"",n,a,o,l,s,c,d,f,h,k,b;function y(){return e[32](e[49])}return{key:i,first:null,c(){t=w("li"),n=G(r),a=B(),u(t,"id",o=e[49].label),u(t,"role","option"),u(t,"aria-label",l=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"),P(t,"dropdown-item--disabled",!1),P(t,"dropdown-item--tabbed",e[53]===e[16]),P(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(_,v){p(_,t,v),m(t,n),m(t,a),k||(b=J(t,"click",y),k=!0)},p(_,v){e=_,v[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&W(n,r),v[0]&8192&&o!==(o=e[49].label)&&u(t,"id",o),v[0]&8192&&l!==(l=e[49].label||e[49].value)&&u(t,"aria-label",l),v[0]&12288&&s!==(s=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),v[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),v[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),v[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),v[0]&73728&&P(t,"dropdown-item--tabbed",e[53]===e[16]),v[0]&12288&&P(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(_){_&&T(t),k=!1,b()}}}function It(i){let e,t=i[49].label+"",r,n,a,o,l;return{c(){e=w("option"),r=G(t),n=B(),e.selected=a=i[49].selected,e.__value=o=i[49].value,e.value=e.__value,u(e,"aria-label",l=i[49].label)},m(s,c){p(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&&a!==(a=s[49].selected)&&(e.selected=a),c[0]&8192&&o!==(o=s[49].value)&&(e.__value=o,e.value=e.__value),c[0]&8192&&l!==(l=s[49].label)&&u(e,"aria-label",l)},d(s){s&&T(e)}}}function Gr(i){let e,t,r;function n(l,s){return l[22]?Vr:Fr}let a=n(i),o=a(i);return{c(){e=w("div"),o.c(),this.c=x,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
29
|
-
${
|
|
31
|
+
`)&&u(e,"class",d)},i:x,o:x,d(f){f&&E(e)}}}function Pr(i,e,t){const[r,a]=W("Container type",["interactive","info","error","success","important","non-interactive"]),[n,l]=W("Container accent",["thick","thin","filled"]),[o,s]=W("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:k=null}=e,{mr:y=null}=e,{mb:_="m"}=e,{ml:w=null}=e;return q(()=>{a(c),l(d),s(f)}),i.$$set=v=>{"type"in v&&t(0,c=v.type),"accent"in v&&t(1,d=v.accent),"padding"in v&&t(2,f=v.padding),"testid"in v&&t(3,h=v.testid),"mt"in v&&t(4,k=v.mt),"mr"in v&&t(5,y=v.mr),"mb"in v&&t(6,_=v.mb),"ml"in v&&t(7,w=v.ml)},[c,d,f,h,k,y,_,w]}class Gr extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,Br,B,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(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",Gr);function Yr(i){let e,t,r,a,n,l,o,s,c,d;return{c(){e=b("details"),t=b("summary"),r=b("goa-icon"),n=j(),l=b("span"),o=V(i[0]),s=j(),c=b("div"),c.innerHTML="<slot></slot>",this.c=x,M(r,"mt","1"),M(r,"mr","2"),M(r,"type","chevron-forward"),M(r,"fillcolor",a=i[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(c,"class","content"),u(e,"style",d=Z(i[1],i[2],i[3],i[4]))},m(f,h){p(f,e,h),m(e,t),m(t,r),m(t,n),m(t,l),m(l,o),i[7](t),m(e,s),m(e,c)},p(f,[h]){h&32&&a!==(a=f[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&M(r,"fillcolor",a),h&1&&F(o,f[0]),h&30&&d!==(d=Z(f[1],f[2],f[3],f[4]))&&u(e,"style",d)},i:x,o:x,d(f){f&&E(e),i[7](null)}}}function Zr(i,e,t){let{heading:r}=e,{mt:a=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e,s=!1,c;q(()=>{$e("Details",{heading:r}),c.addEventListener("mouseover",()=>{t(5,s=!0)}),c.addEventListener("mouseout",()=>{t(5,s=!1)})});function d(f){te[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,a=f.mt),"mr"in f&&t(2,n=f.mr),"mb"in f&&t(3,l=f.mb),"ml"in f&&t(4,o=f.ml)},[r,a,n,l,o,s,c,d]}class Vr extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Zr,Yr,B,{heading:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(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",Vr);function Qr(i){let e,t;return{c(){e=b("hr"),this.c=x,u(e,"data-testid",i[0]),u(e,"style",t=Z(i[1],i[2],i[3],i[4]))},m(r,a){p(r,e,a)},p(r,[a]){a&1&&u(e,"data-testid",r[0]),a&30&&t!==(t=Z(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:x,o:x,d(r){r&&E(e)}}}function Fr(i,e,t){let{testid:r=""}=e,{mt:a=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,a=s.mt),"mr"in s&&t(2,n=s.mr),"mb"in s&&t(3,l=s.mb),"ml"in s&&t(4,o=s.ml)},[r,a,n,l,o]}class Ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Fr,Qr,B,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(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",Ur);function Ht(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function St(i,e,t){const r=i.slice();return r[49]=e[t],r}function qr(i){let e,t,r,a,n,l,o,s,c=[],d=new Map,f,h,k,y=i[15]&&Ot(i),_=i[13];const w=v=>v[53];for(let v=0;v<_.length;v+=1){let z=Ht(i,_,v),D=w(z);d.set(D,c[v]=Bt(D,z))}return{c(){y&&y.c(),e=j(),t=b("goa-input"),n=j(),l=b("slot"),o=j(),s=b("ul");for(let v=0;v<c.length;v+=1)c[v].c();M(t,"error",i[7]),M(t,"disabled",i[6]),M(t,"leadingicon",i[2]),M(t,"placeholder",i[4]),M(t,"aria-controls","menu"),M(t,"aria-expanded",i[15]),M(t,"arialabel",r=i[1]||i[0]),M(t,"data-testid",a=`${i[0]}-dropdown-input`),M(t,"readonly",""),M(t,"role","combobox"),M(t,"trailingicon","chevron-down"),M(t,"type","text"),M(t,"value",i[14]),M(t,"width","100%"),M(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]}`),O(s,"dropdown-active",i[15])},m(v,z){y&&y.m(v,z),p(v,e,z),p(v,t,z),p(v,n,z),p(v,l,z),p(v,o,z),p(v,s,z);for(let D=0;D<c.length;D+=1)c[D].m(s,null);i[33](s),h||(k=U(t,"click",i[24]),h=!0)},p(v,z){v[15]?y?y.p(v,z):(y=Ot(v),y.c(),y.m(e.parentNode,e)):y&&(y.d(1),y=null),z[0]&128&&M(t,"error",v[7]),z[0]&64&&M(t,"disabled",v[6]),z[0]&4&&M(t,"leadingicon",v[2]),z[0]&16&&M(t,"placeholder",v[4]),z[0]&32768&&M(t,"aria-expanded",v[15]),z[0]&3&&r!==(r=v[1]||v[0])&&M(t,"arialabel",r),z[0]&1&&a!==(a=`${v[0]}-dropdown-input`)&&M(t,"data-testid",a),z[0]&16384&&M(t,"value",v[14]),z[0]&1&&M(t,"name",v[0]),z[0]&67186688&&(_=v[13],c=xt(c,z,w,1,v,_,d,s,pt,Bt,null,Ht)),z[0]&16384&&u(s,"aria-activedescendant",v[14]),z[0]&8&&f!==(f=`overflow-y: auto; max-height: ${v[3]}`)&&u(s,"style",f),z[0]&32768&&O(s,"dropdown-active",v[15])},d(v){y&&y.d(v),v&&E(e),v&&E(t),v&&E(n),v&&E(l),v&&E(o),v&&E(s);for(let z=0;z<c.length;z+=1)c[z].d();i[33](null),h=!1,k()}}}function Wr(i){let e,t,r,a,n,l=i[13],o=[];for(let s=0;s<l.length;s+=1)o[s]=Pt(St(i,l,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]),O(e,"error",i[23])},m(s,c){p(s,e,c),m(e,t);for(let d=0;d<o.length;d+=1)o[d].m(e,null);i[31](e),a||(n=U(e,"change",i[27]),a=!0)},p(s,c){if(c[0]&8192){l=s[13];let d;for(d=0;d<l.length;d+=1){const f=St(s,l,d);o[d]?o[d].p(f,c):(o[d]=Pt(f),o[d].c(),o[d].m(e,null))}for(;d<o.length;d+=1)o[d].d(1);o.length=l.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&&O(e,"error",s[23])},d(s){s&&E(e),Ze(o,s),i[31](null),a=!1,n()}}}function Ot(i){let e,t,r,a;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(n,l){p(n,e,l),r||(a=U(e,"click",i[25]),r=!0)},p(n,l){l[0]&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&E(e),r=!1,a()}}}function Bt(i,e){let t,r=(e[49].label||e[49].value)+"",a,n,l,o,s,c,d,f,h,k,y;function _(){return e[32](e[49])}return{key:i,first:null,c(){t=b("li"),a=V(r),n=j(),u(t,"id",l=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"),O(t,"dropdown-item--disabled",!1),O(t,"dropdown-item--tabbed",e[53]===e[16]),O(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(w,v){p(w,t,v),m(t,a),m(t,n),k||(y=U(t,"click",_),k=!0)},p(w,v){e=w,v[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&F(a,r),v[0]&8192&&l!==(l=e[49].label)&&u(t,"id",l),v[0]&8192&&o!==(o=e[49].label||e[49].value)&&u(t,"aria-label",o),v[0]&12288&&s!==(s=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),v[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),v[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),v[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),v[0]&73728&&O(t,"dropdown-item--tabbed",e[53]===e[16]),v[0]&12288&&O(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(w){w&&E(t),k=!1,y()}}}function Pt(i){let e,t=i[49].label+"",r,a,n,l,o;return{c(){e=b("option"),r=V(t),a=j(),e.selected=n=i[49].selected,e.__value=l=i[49].value,e.value=e.__value,u(e,"aria-label",o=i[49].label)},m(s,c){p(s,e,c),m(e,r),m(e,a)},p(s,c){c[0]&8192&&t!==(t=s[49].label+"")&&F(r,t),c[0]&8192&&n!==(n=s[49].selected)&&(e.selected=n),c[0]&8192&&l!==(l=s[49].value)&&(e.__value=l,e.value=e.__value),c[0]&8192&&o!==(o=s[49].label)&&u(e,"aria-label",o)},d(s){s&&E(e)}}}function Kr(i){let e,t,r;function a(o,s){return o[22]?Wr:qr}let n=a(i),l=n(i);return{c(){e=b("div"),l.c(),this.c=x,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
|
+
${Z(i[8],i[9],i[10],i[11])}
|
|
30
33
|
--width: ${i[5]||i[17]}
|
|
31
|
-
`),
|
|
32
|
-
${
|
|
33
|
-
--width: ${
|
|
34
|
-
`)&&u(e,"style",r),s[0]&4194304&&
|
|
34
|
+
`),O(e,"dropdown-native",i[22])},m(o,s){p(o,e,s),l.m(e,null),i[34](e)},p(o,s){n===(n=a(o))&&l?l.p(o,s):(l.d(1),l=n(o),l&&(l.c(),l.m(e,null))),s[0]&1&&t!==(t=`${o[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&134944&&r!==(r=`
|
|
35
|
+
${Z(o[8],o[9],o[10],o[11])}
|
|
36
|
+
--width: ${o[5]||o[17]}
|
|
37
|
+
`)&&u(e,"style",r),s[0]&4194304&&O(e,"dropdown-native",o[22])},i:x,o:x,d(o){o&&E(e),l.d(),i[34](null)}}}function Xr(i,e,t){let r,a,n,l,{name:o}=e,{arialabel:s=""}=e,{value:c=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:k=""}=e,{disabled:y="false"}=e,{error:_="false"}=e,{multiselect:w="false"}=e,{native:v="false"}=e,{mt:z=null}=e,{mr:D=null}=e,{mb:T=null}=e,{ml:C=null}=e,A=[],I=[],N="",L=!1,H=0,se,J,ie,ee;q(async()=>{await ge(),t(12,A=Oe()),t(13,I=Le()),l||(t(17,se=Se(I)),et(),Te());const R=J.querySelector("slot");R==null||R.addEventListener("slotchange",ae=>{t(14,N=""),t(12,A=Oe()),t(13,I=Le())})}),ji(()=>{tt()});function ne(){const R=J.querySelector("slot");return R?R.assignedElements():[...(l?ee:J).children]}function Le(){return ne().filter(ae=>ae.tagName==="GOA-DROPDOWN-ITEM").map(ae=>{const le=ae,ce=ae.getAttribute("value")||le.value,Be=ae.getAttribute("label")||le.label||ce,xi=A.includes(ce);return xi&&(t(14,N=Be),t(12,A=[ce])),{selected:xi,value:ce,label:Be}})}function Se(R){let ae,le=0;return R.length===0&&h!==""?`${h.length+12}ch`:(R.forEach(ce=>{const Be=ce.label||ce.value||"";!ae&&le<Be.length&&(le=Be.length,ae=`${Math.max(20,le+12)}ch`)}),ae)}function et(){J.addEventListener("focus",_i,!0),J.addEventListener("blur",ki,!0)}function tt(){J.removeEventListener("focus",_i,!0),J.removeEventListener("blur",ki,!0)}function Oe(){let R;try{R=JSON.parse(c||"[]")}catch{R=[c]}return(typeof R=="object"?R:[R]).map(le=>`${le}`)}async function pe(){r||L||(t(15,L=!0),await ge(),ie.addEventListener("blur",re),ie.addEventListener("mouseover",pi))}function re(){ie.removeEventListener("blur",re),ie.removeEventListener("mouseover",pi),Te(),t(15,L=!1)}function Te(){t(16,H=I.findIndex(R=>A.includes(R.value)))}function ve(R,ae,le){if(r)return;t(14,N=ae);let ce;n?(A.push(R),ce={name:o,values:A}):(t(12,A=[R]),ce={name:o,value:R}),J.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:ce})),le&&re()}const it=R=>{switch(R.key){case" ":case"Enter":L?re():pe(),R.preventDefault();break;case"Escape":L&&re(),R.preventDefault();break;case"ArrowDown":if(R.altKey){L?re():pe();break}S(),R.preventDefault();break;case"ArrowUp":if(R.altKey){L?re():pe();break}Ie(),R.preventDefault();break}};function S(){H<I.length-1&&(t(16,H++,H),ve(I[H].value,I[H].label,!1))}function Ie(){H>0&&(t(16,H--,H),ve(I[H].value,I[H].label,!1))}function _i(){J.addEventListener("keydown",it)}function ki(){J.removeEventListener("keydown",it)}function pi(R){t(16,H=Number(R.target.dataset.index))}function Sn(R){const ae=R.currentTarget,le=I[ae.selectedIndex];ve(le.value,le.label)}function On(R){te[R?"unshift":"push"](()=>{ee=R,t(20,ee),t(13,I)})}const Bn=R=>ve(R.value,R.label,!0);function Pn(R){te[R?"unshift":"push"](()=>{ie=R,t(19,ie)})}function Gn(R){te[R?"unshift":"push"](()=>{J=R,t(18,J)})}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,k=R.width),"disabled"in R&&t(6,y=R.disabled),"error"in R&&t(7,_=R.error),"multiselect"in R&&t(29,w=R.multiselect),"native"in R&&t(30,v=R.native),"mt"in R&&t(8,z=R.mt),"mr"in R&&t(9,D=R.mr),"mb"in R&&t(10,T=R.mb),"ml"in R&&t(11,C=R.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(21,r=Q(y)),i.$$.dirty[0]&128&&t(23,a=Q(_)),i.$$.dirty[0]&536870912&&(n=Q(w)),i.$$.dirty[0]&1073741824&&t(22,l=Q(v))},[o,s,d,f,h,k,y,_,z,D,T,C,A,I,N,L,H,se,J,ie,ee,r,l,a,pe,re,ve,Sn,c,w,v,On,Bn,Pn,Gn]}class Jr extends P{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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Xr,Kr,B,{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&&p(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",Jr);function $r(i){return{c(){this.c=x},m:x,p:x,i:x,o:x,d:x}}class ea extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,$r,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",ea);function ta(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
35
38
|
|
|
36
|
-
<span tabindex="0"></span>`,this.c=x,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:x,i:x,o:x,d(t){t&&T(e),i[4](null)}}}function Jr(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 Yr(i,e,t){let r,{active:n}=e,a=!1,o,l,s=!1;function c(){document.removeEventListener("focus",E,!0)}function d(){document.addEventListener("focus",E,!0)}function f(R){if(!R)return!1;for(const C of R)if(v(C)||f(C.childNodes)||h(C)||k(C))return!0;return!1}function h(R){if(!(R instanceof HTMLSlotElement))return!1;if(f(R.assignedNodes()))return!0}function k(R){var C;if(!(R instanceof HTMLElement))return!1;if(f((C=R.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function b(R){if(!R)return!1;for(let C=R.length-1;C>=0;C--){let M=R[C];if(v(M)||b(M.childNodes)||y(M)||_(M))return!0}return!1}function y(R){if(!(R instanceof HTMLSlotElement))return!1;if(b(R.assignedNodes()))return!0}function _(R){var C;if(!(R instanceof HTMLElement))return!1;if(b((C=R.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function v(R){if(!Jr(R))return!1;try{a=!0,R.focus()}catch{}finally{a=!1}return document.activeElement===R}function E(R){var C;if(a)return;const M=(C=l.firstChild)===null||C===void 0?void 0:C.assignedElements();if(!(M==null?void 0:M.length))return;const A=M[0];if(R.composedPath().includes(A)){o=R.target;return}f(A.childNodes),o==document.activeElement&&b(A.childNodes),o=document.activeElement}function N(R){te[R?"unshift":"push"](()=>{l=R,t(0,l)})}return i.$$set=R=>{"active"in R&&t(1,n=R.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=U(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[l,n,s,r,N]}class Qr extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Yr,Zr,j,{active:1},null),e&&(e.target&&p(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",Qr);function qt(i){let e;return{c(){e=w("goa-divider"),z(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&T(e)}}}function $r(i){let e,t,r,n,a,o,l,s,c,d,f,h,k,b=i[2]&&i[2].length>0&&qt();return{c(){e=w("div"),t=w("div"),r=w("div"),r.innerHTML='<slot name="nav"></slot>',n=B(),b&&b.c(),a=B(),o=w("div"),l=w("div"),l.innerHTML='<slot name="meta"></slot>',s=B(),c=w("div"),d=w("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="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"/>',f=B(),h=w("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=x,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(c,"class","abgov"),P(c,"with-meta-links",i[3]&&i[3].length>0),u(o,"class","meta-section"),P(o,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(y,_){p(y,e,_),m(e,t),m(t,r),m(t,n),b&&b.m(t,null),m(t,a),m(t,o),m(o,l),m(o,s),m(o,c),m(c,d),m(c,f),m(c,h),i[5](e)},p(y,[_]){y[2]&&y[2].length>0?b||(b=qt(),b.c(),b.m(t,a)):b&&(b.d(1),b=null),_&8&&P(c,"with-meta-links",y[3]&&y[3].length>0),_&8&&P(o,"with-meta-links",y[3]&&y[3].length>0),_&1&&k!==(k=`--max-content-width: ${y[0]||"100%"}`)&&u(e,"style",k)},i:x,o:x,d(y){y&&T(e),b&&b.d(),i[5](null)}}}function en(i,e,t){let{maxcontentwidth:r=""}=e,n,a,o;const l=new Date().getFullYear();K(async()=>{await _e();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,a=c.assignedElements()),t(3,o=d.assignedElements())});function s(c){te[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,a,o,l,s]}class tn extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},en,$r,j,{maxcontentwidth:0},null),e&&(e.target&&p(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",tn);function Ft(i,e,t){const r=i.slice();return r[3]=e[t],r}function Vt(i){let e,t,r=i[3].innerHTML+"",n,a;return{c(){e=w("li"),t=w("a"),n=G(r),u(t,"href",a=i[3].href)},m(o,l){p(o,e,l),m(e,t),m(t,n)},p(o,l){l&2&&r!==(r=o[3].innerHTML+"")&&W(n,r),l&2&&a!==(a=o[3].href)&&u(t,"href",a)},d(o){o&&T(e)}}}function rn(i){let e,t,r,n,a=i[1],o=[];for(let l=0;l<a.length;l+=1)o[l]=Vt(Ft(i,a,l));return{c(){e=w("section"),t=w("div"),t.innerHTML="<slot></slot>",r=B(),n=w("ul");for(let l=0;l<o.length;l+=1)o[l].c();this.c=x,u(t,"class","hidden")},m(l,s){p(l,e,s),m(e,t),m(e,r),m(e,n);for(let c=0;c<o.length;c+=1)o[c].m(n,null);i[2](e)},p(l,[s]){if(s&2){a=l[1];let c;for(c=0;c<a.length;c+=1){const d=Ft(l,a,c);o[c]?o[c].p(d,s):(o[c]=Vt(d),o[c].c(),o[c].m(n,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=a.length}},i:x,o:x,d(l){l&&T(e),Ge(o,l),i[2](null)}}}function nn(i,e,t){let r,n=[];K(async()=>{if(await _e(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(l=>l.hasAttribute("href")).reduce((l,s)=>l&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function a(o){te[o?"unshift":"push"](()=>{r=o,t(0,r)})}return[r,n,a]}class an extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},nn,rn,j,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",an);function Gt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Ut(i){let e,t,r,n;return{c(){e=w("div"),t=G(i[0]),r=B(),n=w("goa-divider"),u(e,"class","title"),z(n,"spacing","small")},m(a,o){p(a,e,o),m(e,t),p(a,r,o),p(a,n,o)},p(a,o){o&1&&W(t,a[0])},d(a){a&&T(e),a&&T(r),a&&T(n)}}}function Wt(i){let e,t,r=i[5].innerHTML+"",n,a;return{c(){e=w("li"),t=w("a"),n=G(r),u(t,"href",a=i[5].href)},m(o,l){p(o,e,l),m(e,t),m(t,n)},p(o,l){l&8&&r!==(r=o[5].innerHTML+"")&&W(n,r),l&8&&a!==(a=o[5].href)&&u(t,"href",a)},d(o){o&&T(e)}}}function on(i){let e,t,r,n,a,o,l=i[0]&&Ut(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Wt(Gt(i,s,d));return{c(){e=w("section"),l&&l.c(),t=B(),r=w("div"),r.innerHTML="<slot></slot>",n=B(),a=w("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=x,u(r,"class","hidden"),u(a,"class","links"),u(a,"style",o=`
|
|
39
|
+
<span tabindex="0"></span>`,this.c=x,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:x,i:x,o:x,d(t){t&&E(e),i[4](null)}}}function ia(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 ra(i,e,t){let r,{active:a}=e,n=!1,l,o,s=!1;function c(){document.removeEventListener("focus",z,!0)}function d(){document.addEventListener("focus",z,!0)}function f(T){if(!T)return!1;for(const C of T)if(v(C)||f(C.childNodes)||h(C)||k(C))return!0;return!1}function h(T){if(!(T instanceof HTMLSlotElement))return!1;if(f(T.assignedNodes()))return!0}function k(T){var C;if(!(T instanceof HTMLElement))return!1;if(f((C=T.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function y(T){if(!T)return!1;for(let C=T.length-1;C>=0;C--){let A=T[C];if(v(A)||y(A.childNodes)||_(A)||w(A))return!0}return!1}function _(T){if(!(T instanceof HTMLSlotElement))return!1;if(y(T.assignedNodes()))return!0}function w(T){var C;if(!(T instanceof HTMLElement))return!1;if(y((C=T.shadowRoot)===null||C===void 0?void 0:C.childNodes))return!0}function v(T){if(!ia(T))return!1;try{n=!0,T.focus()}catch{}finally{n=!1}return document.activeElement===T}function z(T){var C;if(n)return;const A=(C=o.firstChild)===null||C===void 0?void 0:C.assignedElements();if(!(A==null?void 0:A.length))return;const I=A[0];if(T.composedPath().includes(I)){l=T.target;return}f(I.childNodes),l==document.activeElement&&y(I.childNodes),l=document.activeElement}function D(T){te[T?"unshift":"push"](()=>{o=T,t(0,o)})}return i.$$set=T=>{"active"in T&&t(1,a=T.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=Q(a)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,a,s,r,D]}class aa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ra,ta,B,{active:1},null),e&&(e.target&&p(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",aa);function Gt(i){let e;return{c(){e=b("goa-divider"),M(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function na(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,y=i[2]&&i[2].length>0&&Gt();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',a=j(),y&&y.c(),n=j(),l=b("div"),o=b("div"),o.innerHTML='<slot name="meta"></slot>',s=j(),c=b("div"),d=b("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="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"/>',f=j(),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"),O(c,"with-meta-links",i[3]&&i[3].length>0),u(l,"class","meta-section"),O(l,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(_,w){p(_,e,w),m(e,t),m(t,r),m(t,a),y&&y.m(t,null),m(t,n),m(t,l),m(l,o),m(l,s),m(l,c),m(c,d),m(c,f),m(c,h),i[5](e)},p(_,[w]){_[2]&&_[2].length>0?y||(y=Gt(),y.c(),y.m(t,n)):y&&(y.d(1),y=null),w&8&&O(c,"with-meta-links",_[3]&&_[3].length>0),w&8&&O(l,"with-meta-links",_[3]&&_[3].length>0),w&1&&k!==(k=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",k)},i:x,o:x,d(_){_&&E(e),y&&y.d(),i[5](null)}}}function oa(i,e,t){let{maxcontentwidth:r=""}=e,a,n,l;const o=new Date().getFullYear();q(async()=>{await ge();const c=a.querySelector("slot[name=nav]"),d=a.querySelector("slot[name=meta]");t(2,n=c.assignedElements()),t(3,l=d.assignedElements())});function s(c){te[c?"unshift":"push"](()=>{a=c,t(1,a)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,a,n,l,o,s]}class la extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},oa,na,B,{maxcontentwidth:0},null),e&&(e.target&&p(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",la);function Yt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Zt(i){let e,t,r=i[3].innerHTML+"",a,n;return{c(){e=b("li"),t=b("a"),a=V(r),u(t,"href",n=i[3].href)},m(l,o){p(l,e,o),m(e,t),m(t,a)},p(l,o){o&2&&r!==(r=l[3].innerHTML+"")&&F(a,r),o&2&&n!==(n=l[3].href)&&u(t,"href",n)},d(l){l&&E(e)}}}function sa(i){let e,t,r,a,n=i[1],l=[];for(let o=0;o<n.length;o+=1)l[o]=Zt(Yt(i,n,o));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=j(),a=b("ul");for(let o=0;o<l.length;o+=1)l[o].c();this.c=x,u(t,"class","hidden")},m(o,s){p(o,e,s),m(e,t),m(e,r),m(e,a);for(let c=0;c<l.length;c+=1)l[c].m(a,null);i[2](e)},p(o,[s]){if(s&2){n=o[1];let c;for(c=0;c<n.length;c+=1){const d=Yt(o,n,c);l[c]?l[c].p(d,s):(l[c]=Zt(d),l[c].c(),l[c].m(a,null))}for(;c<l.length;c+=1)l[c].d(1);l.length=n.length}},i:x,o:x,d(o){o&&E(e),Ze(l,o),i[2](null)}}}function ca(i,e,t){let r,a=[];q(async()=>{if(await ge(),t(1,a=r.querySelector("slot").assignedElements()),!a.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,a=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function n(l){te[l?"unshift":"push"](()=>{r=l,t(0,r)})}return[r,a,n]}class da extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ca,sa,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",da);function Vt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Qt(i){let e,t,r,a;return{c(){e=b("div"),t=V(i[0]),r=j(),a=b("goa-divider"),u(e,"class","title"),M(a,"spacing","small")},m(n,l){p(n,e,l),m(e,t),p(n,r,l),p(n,a,l)},p(n,l){l&1&&F(t,n[0])},d(n){n&&E(e),n&&E(r),n&&E(a)}}}function Ft(i){let e,t,r=i[5].innerHTML+"",a,n;return{c(){e=b("li"),t=b("a"),a=V(r),u(t,"href",n=i[5].href)},m(l,o){p(l,e,o),m(e,t),m(t,a)},p(l,o){o&8&&r!==(r=l[5].innerHTML+"")&&F(a,r),o&8&&n!==(n=l[5].href)&&u(t,"href",n)},d(l){l&&E(e)}}}function ua(i){let e,t,r,a,n,l,o=i[0]&&Qt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Ft(Vt(i,s,d));return{c(){e=b("section"),o&&o.c(),t=j(),r=b("div"),r.innerHTML="<slot></slot>",a=j(),n=b("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=x,u(r,"class","hidden"),u(n,"class","links"),u(n,"style",l=`
|
|
37
40
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
38
41
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
39
42
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
40
43
|
--wide-column-count: ${i[1]};
|
|
41
|
-
`)},m(d,f){p(d,e,f),
|
|
44
|
+
`)},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,a),m(e,n);for(let h=0;h<c.length;h+=1)c[h].m(n,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 k=Vt(d,s,h);c[h]?c[h].p(k,f):(c[h]=Ft(k),c[h].c(),c[h].m(n,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=s.length}f&2&&l!==(l=`
|
|
42
45
|
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
43
46
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
44
47
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
45
48
|
--wide-column-count: ${d[1]};
|
|
46
|
-
`)&&u(
|
|
47
|
-
${
|
|
49
|
+
`)&&u(n,"style",l)},i:x,o:x,d(d){d&&E(e),o&&o.d(),Ze(c,d),i[4](null)}}}function fa(i,e,t){let{heading:r=""}=e,{maxcolumncount:a=1}=e,n,l=[];q(async()=>{if(await ge(),t(3,l=n.querySelector("slot").assignedElements()),!l.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,l=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}zt(n,":host",{"flex-grow":a})});function o(s){te[s?"unshift":"push"](()=>{n=s,t(2,n)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,a=s.maxcolumncount)},[r,a,n,l,o]}class ga extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},fa,ua,B,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(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",ga);function Ut(i){let e,t,r,a=i[8]&&i[9].includes(i[8]),n=a&&qt(i);return{c(){e=b("div"),t=V(i[5]),r=j(),n&&n.c(),u(e,"class","label")},m(l,o){p(l,e,o),m(e,t),m(e,r),n&&n.m(e,null)},p(l,o){o&32&&F(t,l[5]),o&256&&(a=l[8]&&l[9].includes(l[8])),a?n?n.p(l,o):(n=qt(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(l){l&&E(e),n&&n.d()}}}function qt(i){let e,t,r,a;return{c(){e=b("em"),t=V("("),r=V(i[8]),a=V(")")},m(n,l){p(n,e,l),m(e,t),m(e,r),m(e,a)},p(n,l){l&256&&F(r,n[8])},d(n){n&&E(e)}}}function Wt(i){let e,t,r,a;return{c(){e=b("div"),t=b("goa-icon"),r=j(),a=V(i[7]),M(t,"type","warning"),M(t,"size","small"),M(t,"theme","filled"),$(t,"pointer-events","none"),u(e,"class","error-msg")},m(n,l){p(n,e,l),m(e,t),m(e,r),m(e,a)},p(n,l){l&128&&F(a,n[7])},d(n){n&&E(e)}}}function Kt(i){let e,t;return{c(){e=b("div"),t=V(i[6]),u(e,"class","help-msg")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&64&&F(t,r[6])},d(r){r&&E(e)}}}function ha(i){let e,t,r,a,n,l,o=i[5]&&Ut(i),s=i[7]&&Wt(i),c=i[6]&&Kt(i);return{c(){e=b("div"),o&&o.c(),t=j(),r=b("div"),r.innerHTML="<slot></slot>",a=j(),s&&s.c(),n=j(),c&&c.c(),this.c=x,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",l=Z(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,a),s&&s.m(e,null),m(e,n),c&&c.m(e,null)},p(d,[f]){d[5]?o?o.p(d,f):(o=Ut(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),d[7]?s?s.p(d,f):(s=Wt(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Kt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&l!==(l=Z(d[1],d[2],d[3],d[4]))&&u(e,"style",l)},i:x,o:x,d(d){d&&E(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ma(i,e,t){const[r,a]=W("Requirement type",["optional","required"],!1);let{testid:n=""}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:k=""}=e;return q(()=>{a(k)}),i.$$set=y=>{"testid"in y&&t(0,n=y.testid),"mt"in y&&t(1,l=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,k=y.requirement)},[n,l,o,s,c,d,f,h,k,r]}class ba extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ma,ha,B,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&p(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",ba);function va(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=`
|
|
50
|
+
${Z(i[2],i[3],i[4],i[5])}
|
|
48
51
|
--min-child-width: ${i[1]||0};
|
|
49
52
|
gap: var(--goa-space-${i[0]})
|
|
50
|
-
`)},m(n
|
|
51
|
-
${
|
|
52
|
-
--min-child-width: ${
|
|
53
|
-
gap: var(--goa-space-${
|
|
54
|
-
`)&&u(e,"style",r)},i:x,o:x,d(
|
|
55
|
-
${
|
|
53
|
+
`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&63&&r!==(r=`
|
|
54
|
+
${Z(a[2],a[3],a[4],a[5])}
|
|
55
|
+
--min-child-width: ${a[1]||0};
|
|
56
|
+
gap: var(--goa-space-${a[0]})
|
|
57
|
+
`)&&u(e,"style",r)},i:x,o:x,d(a){a&&E(e)}}}function ya(i,e,t){let{gap:r="m"}=e,{minchildwidth:a=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:s=null}=e;return q(()=>{$e("Grid",{minchildwidth:a})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,a=c.minchildwidth),"mt"in c&&t(2,n=c.mt),"mr"in c&&t(3,l=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,a,n,l,o,s]}class wa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ya,va,B,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(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",wa);function _a(i){let e,t,r,a,n,l,o,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),a=V(i[0]),n=j(),l=b("div"),l.innerHTML="<slot></slot>",o=j(),s=b("slot"),this.c=x,u(l,"class","goa-hero-banner-content"),u(l,"role","note"),u(s,"name","actions"),M(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){p(c,e,d),m(e,t),m(t,r),m(r,a),m(t,n),m(t,l),m(t,o),m(t,s)},p(c,[d]){d&1&&F(a,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&&E(e)}}}function ka(i,e,t){let{heading:r}=e,{backgroundurl:a}=e,{minheight:n="600px"}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"backgroundurl"in l&&t(1,a=l.backgroundurl),"minheight"in l&&t(2,n=l.minheight)},[r,a,n]}class pa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ka,_a,B,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&p(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",pa);function xa(i){let e,t,r,a,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=x,M(t,"title",i[3]),M(t,"type",i[0]),M(t,"size",i[1]),M(t,"theme",i[2]),M(t,"inverted",i[9]),u(e,"style",r=""+(Z(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(l,o){p(l,e,o),m(e,t),a||(n=U(e,"click",za),a=!0)},p(l,[o]){o&8&&M(t,"title",l[3]),o&1&&M(t,"type",l[0]),o&2&&M(t,"size",l[1]),o&4&&M(t,"theme",l[2]),o&512&&M(t,"inverted",l[9]),o&1504&&r!==(r=""+(Z(l[5],l[6],l[7],l[8])+"; --pading-size: "+l[10]))&&u(e,"style",r),o&8&&u(e,"title",l[3]),o&2048&&(e.disabled=l[11]),o&4096&&u(e,"class",l[12]),o&16&&u(e,"data-testid",l[4])},i:x,o:x,d(l){l&&E(e),a=!1,n()}}}function za(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function Ma(i,e,t){let r,a,n,l;const[o,s]=W("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:k=""}=e,{testid:y=""}=e,{disabled:_="false"}=e,{inverted:w="false"}=e,{mt:v=null}=e,{mr:z=null}=e,{mb:D=null}=e,{ml:T=null}=e;return q(()=>{s(h)}),i.$$set=C=>{"icon"in C&&t(0,c=C.icon),"size"in C&&t(1,d=C.size),"theme"in C&&t(2,f=C.theme),"variant"in C&&t(13,h=C.variant),"title"in C&&t(3,k=C.title),"testid"in C&&t(4,y=C.testid),"disabled"in C&&t(14,_=C.disabled),"inverted"in C&&t(15,w=C.inverted),"mt"in C&&t(5,v=C.mt),"mr"in C&&t(6,z=C.mr),"mb"in C&&t(7,D=C.mb),"ml"in C&&t(8,T=C.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,n=Q(w)),i.$$.dirty&8704&&t(12,r=`${h} ${n?"inverted":""}`),i.$$.dirty&16384&&t(11,a=Q(_)),i.$$.dirty&2&&t(10,l={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,k,y,v,z,D,T,n,l,a,r,h,_,w]}class Ca extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ma,xa,B,{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&&p(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",Ca);function Xt(i){let e,t;return{c(){e=b("ion-icon"),M(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,a){p(r,e,a)},p(r,a){a&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&M(e,"name",t)},d(r){r&&E(e)}}}function Ea(i){let e,t,r=i[4]&&Xt(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=`
|
|
58
|
+
${Z(i[0],i[1],i[2],i[3])}
|
|
56
59
|
--size: ${i[11]};
|
|
57
60
|
--fill-color: ${i[6]};
|
|
58
61
|
--hover-color: ${i[7]};
|
|
59
62
|
--opacity: ${i[8]};
|
|
60
|
-
`),
|
|
61
|
-
${
|
|
62
|
-
--size: ${
|
|
63
|
-
--fill-color: ${
|
|
64
|
-
--hover-color: ${
|
|
65
|
-
--opacity: ${
|
|
66
|
-
`)&&u(e,"style",t),
|
|
63
|
+
`),O(e,"inverted",i[12])},m(a,n){p(a,e,n),r&&r.m(e,null)},p(a,[n]){a[4]?r?r.p(a,n):(r=Xt(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),n&1024&&u(e,"data-testid",a[10]),n&512&&u(e,"title",a[9]),n&2511&&t!==(t=`
|
|
64
|
+
${Z(a[0],a[1],a[2],a[3])}
|
|
65
|
+
--size: ${a[11]};
|
|
66
|
+
--fill-color: ${a[6]};
|
|
67
|
+
--hover-color: ${a[7]};
|
|
68
|
+
--opacity: ${a[8]};
|
|
69
|
+
`)&&u(e,"style",t),n&4096&&O(e,"inverted",a[12])},i:x,o:x,d(a){a&&E(e),r&&r.d()}}}function Aa(i,e,t){let r,a,{mt:n=null}=e,{mr:l=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:k=""}=e,{hovercolor:y=""}=e,{opacity:_=1}=e,{title:w=""}=e,{testid:v=""}=e;return i.$$set=z=>{"mt"in z&&t(0,n=z.mt),"mr"in z&&t(1,l=z.mr),"mb"in z&&t(2,o=z.mb),"ml"in z&&t(3,s=z.ml),"type"in z&&t(4,c=z.type),"size"in z&&t(13,d=z.size),"theme"in z&&t(5,f=z.theme),"inverted"in z&&t(14,h=z.inverted),"fillcolor"in z&&t(6,k=z.fillcolor),"hovercolor"in z&&t(7,y=z.hovercolor),"opacity"in z&&t(8,_=z.opacity),"title"in z&&t(9,w=z.title),"testid"in z&&t(10,v=z.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(h)),i.$$.dirty&8192&&t(11,a={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[n,l,o,s,c,f,k,y,_,w,v,a,r,d,h]}class La extends P{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)}.inverted{color:#fff;fill:#fff}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Aa,Ea,B,{mt:0,mr:1,mb:2,ml:3,type:4,size:13,theme:5,inverted:14,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&p(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[13]}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[14]}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",La);function Jt(i){let e,t;return{c(){e=b("div"),t=V(i[14]),u(e,"class","prefix")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a[0]&16384&&F(t,r[14])},d(r){r&&E(e)}}}function $t(i){let e;return{c(){e=b("goa-icon"),M(e,"class","goa-input-leading-icon"),M(e,"data-testid","leading-icon"),M(e,"type",i[5])},m(t,r){p(t,e,r)},p(t,r){r[0]&32&&M(e,"type",t[5])},d(t){t&&E(e)}}}function ei(i){let e;return{c(){e=b("goa-icon"),M(e,"class","goa-input-trailing-icon"),M(e,"data-testid","trailing-icon"),M(e,"size","medium"),M(e,"type",i[6])},m(t,r){p(t,e,r)},p(t,r){r[0]&64&&M(e,"type",t[6])},d(t){t&&E(e)}}}function ti(i){let e,t,r;return{c(){e=b("goa-icon-button"),M(e,"disabled",i[21]),M(e,"variant","nocolor"),M(e,"size","medium"),M(e,"icon",i[6]),M(e,"data-testid","trailing-icon-button")},m(a,n){p(a,e,n),t||(r=U(e,"click",Ia),t=!0)},p(a,n){n[0]&2097152&&M(e,"disabled",a[21]),n[0]&64&&M(e,"icon",a[6])},d(a){a&&E(e),t=!1,r()}}}function ii(i){let e,t;return{c(){e=b("span"),t=V(i[15]),u(e,"class","suffix")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a[0]&32768&&F(t,r[15])},d(r){r&&E(e)}}}function Ta(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,y,_,w,v,z,D,T=i[14]&&Jt(i),C=i[5]&&$t(i),A=i[6]&&!i[24]&&ei(i),I=i[6]&&i[24]&&ti(i),N=i[15]&&ii(i);return{c(){e=b("div"),t=b("div"),T&&T.c(),r=j(),a=b("div"),a.innerHTML='<slot name="leadingContent"></slot>',n=j(),C&&C.c(),l=j(),o=b("input"),f=j(),A&&A.c(),h=j(),I&&I.c(),k=j(),N&&N.c(),y=j(),_=b("div"),_.innerHTML='<slot name="trailingContent"></slot>',this.c=x,u(a,"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",w=`
|
|
67
70
|
goa-input
|
|
68
71
|
${i[21]?"goa-input--disabled":""}
|
|
69
72
|
variant--${i[7]}
|
|
70
73
|
type--${i[1]}
|
|
71
|
-
`),
|
|
72
|
-
${
|
|
74
|
+
`),O(t,"error",i[22]),u(e,"class","container"),u(e,"style",v=`
|
|
75
|
+
${Z(i[16],i[17],i[18],i[19])};
|
|
73
76
|
--width: ${i[9]};
|
|
74
|
-
`)},m(L,
|
|
77
|
+
`)},m(L,H){p(L,e,H),m(e,t),T&&T.m(t,null),m(t,r),m(t,a),m(t,n),C&&C.m(t,null),m(t,l),m(t,o),i[33](o),m(t,f),A&&A.m(t,null),m(t,h),I&&I.m(t,null),m(t,k),N&&N.m(t,null),m(t,y),m(t,_),z||(D=[U(o,"keyup",i[25]),U(o,"change",i[25])],z=!0)},p(L,H){L[14]?T?T.p(L,H):(T=Jt(L),T.c(),T.m(t,r)):T&&(T.d(1),T=null),L[5]?C?C.p(L,H):(C=$t(L),C.c(),C.m(t,l)):C&&(C.d(1),C=null),H[0]&128&&s!==(s=`input--${L[7]}`)&&u(o,"class",s),H[0]&64&&c!==(c=`--search-icon-offset: ${L[6]?"-0.5rem":"0"}`)&&u(o,"style",c),H[0]&8388608&&(o.readOnly=L[23]),H[0]&2097152&&(o.disabled=L[21]),H[0]&256&&u(o,"data-testid",L[8]),H[0]&8&&u(o,"autocapitalize",L[3]),H[0]&4&&u(o,"name",L[2]),H[0]&2&&u(o,"type",L[1]),H[0]&1&&o.value!==L[0]&&(o.value=L[0]),H[0]&16&&u(o,"placeholder",L[4]),H[0]&2048&&u(o,"min",L[11]),H[0]&4096&&u(o,"max",L[12]),H[0]&8192&&u(o,"step",L[13]),H[0]&1028&&d!==(d=L[10]||L[2])&&u(o,"aria-label",d),L[6]&&!L[24]?A?A.p(L,H):(A=ei(L),A.c(),A.m(t,h)):A&&(A.d(1),A=null),L[6]&&L[24]?I?I.p(L,H):(I=ti(L),I.c(),I.m(t,k)):I&&(I.d(1),I=null),L[15]?N?N.p(L,H):(N=ii(L),N.c(),N.m(t,y)):N&&(N.d(1),N=null),H[0]&2097282&&w!==(w=`
|
|
75
78
|
goa-input
|
|
76
79
|
${L[21]?"goa-input--disabled":""}
|
|
77
80
|
variant--${L[7]}
|
|
78
81
|
type--${L[1]}
|
|
79
|
-
`)&&u(t,"class",
|
|
80
|
-
${
|
|
82
|
+
`)&&u(t,"class",w),H[0]&6291586&&O(t,"error",L[22]),H[0]&983552&&v!==(v=`
|
|
83
|
+
${Z(L[16],L[17],L[18],L[19])};
|
|
81
84
|
--width: ${L[9]};
|
|
82
|
-
`)&&u(e,"style",v)},i:x,o:x,d(L){L&&
|
|
83
|
-
center center no-repeat}</style>`,
|
|
84
|
-
`),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(o,"data-testid","site-text"),u(o,"class","site-text")},m(f,h){p(f,e,h),m(e,r),p(f,a,h),p(f,o,h),m(o,l),m(o,s),m(o,c),d&&d.m(o,null)},p(f,h){h&1&&t!==(t=li(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=ai(f),d.c(),d.m(o,null)):d&&(d.d(1),d=null)},d(f){f&&T(e),f&&T(a),f&&T(o),d&&d.d()}}}function ai(i){let e,t,r,n;return{c(){e=w("span"),t=G("\u2014 help us improve it by giving "),r=w("a"),n=G("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(a,o){p(a,e,o),m(e,t),m(e,r),m(r,n)},p(a,o){o&4&&u(r,"href",a[2])},d(a){a&&T(e)}}}function oi(i){let e,t;return{c(){e=w("div"),t=G(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&W(t,r[1])},d(r){r&&T(e)}}}function Ln(i){let e,t,r=["alpha","beta"].includes(i[0]),n,a,o,l=i[0]==="live"&&ri(),s=r&&ni(i),c=i[1]&&oi(i);return{c(){e=w("header"),l&&l.c(),t=B(),s&&s.c(),n=B(),a=w("div"),o=B(),c&&c.c(),this.c=x,u(a,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,a),m(e,o),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=ri(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ni(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=oi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&T(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function li(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function An(i,e,t){const[r,n]=Z("Microsite header type",["live","alpha","beta"],!0);let{type:a}=e,{version:o=""}=e,{feedbackurl:l=""}=e;return K(()=>{n(a)}),i.$$set=s=>{"type"in s&&t(0,a=s.type),"version"in s&&t(1,o=s.version),"feedbackurl"in s&&t(2,l=s.feedbackurl)},[a,o,l]}class Rn extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},An,Ln,j,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(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",Rn);function si(i){let e,t,r,n,a,o,l,s,c,d,f,h,k,b,y,_,v,E,N,R,C,M,A,H=i[3]!==null&&ci(i),L=i[0]&&di(i),D=i[4]&&ui(i);function se(ee,ae){return Hn}let ie=se()(i);return{c(){e=w("goa-focus-trap"),t=w("div"),r=w("div"),n=B(),a=w("div"),H&&H.c(),o=B(),l=w("div"),L&&L.c(),s=B(),D&&D.c(),c=B(),d=w("div"),ie.c(),f=B(),h=w("slot"),k=B(),b=w("div"),b.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(b,"class","modal-actions"),u(b,"data-testid","modal-actions"),u(l,"class","content"),u(a,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",v=""+((i[2]&&`--width: ${i[2]};`)+";")),z(e,"active",i[1])},m(ee,ae){p(ee,e,ae),m(e,t),m(t,r),m(t,n),m(t,a),H&&H.m(a,null),m(a,o),m(a,l),L&&L.m(l,null),m(l,s),D&&D.m(l,null),m(l,c),m(l,d),ie.m(d,null),m(d,f),m(d,h),m(l,k),m(l,b),C=!0,M||(A=[J(r,"click",i[8]),ut(E=Ht.call(null,t,{enable:i[7]}))],M=!0)},p(ee,ae){i=ee,i[3]!==null?H?H.p(i,ae):(H=ci(i),H.c(),H.m(a,o)):H&&(H.d(1),H=null),i[0]?L?L.p(i,ae):(L=di(i),L.c(),L.m(l,s)):L&&(L.d(1),L=null),i[4]?D?D.p(i,ae):(D=ui(i),D.c(),D.m(l,c)):D&&(D.d(1),D=null),(!C||ae&4&&v!==(v=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",v),E&&fe(E.update)&&ae&128&&E.update.call(null,{enable:i[7]}),(!C||ae&2)&&z(e,"active",i[1])},i(ee){C||(de(()=>{_&&_.end(1),y=wt(a,Rt,{duration:i[6],y:200}),y.start()}),de(()=>{R&&R.end(1),N=wt(t,Te,{duration:i[6]}),N.start()}),C=!0)},o(ee){y&&y.invalidate(),_=_t(a,Rt,{delay:i[6],duration:i[6],y:-100}),N&&N.invalidate(),R=_t(t,Te,{delay:i[6],duration:i[6]}),C=!1},d(ee){ee&&T(e),H&&H.d(),L&&L.d(),D&&D.d(),ie.d(),ee&&_&&_.end(),ee&&R&&R.end(),M=!1,le(A)}}}function ci(i){let e,t,r,n;return{c(){e=w("div"),t=w("goa-icon"),z(t,"type",i[5]),z(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(a,o){p(a,e,o),m(e,t)},p(a,o){o&32&&z(t,"type",a[5]),o&8&&r!==(r=a[3]==="important"?"false":"true")&&z(t,"inverted",r),o&8&&n!==(n="callout-bar "+a[3])&&u(e,"class",n)},d(a){a&&T(e)}}}function di(i){let e,t;return{c(){e=w("div"),t=G(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&T(e)}}}function ui(i){let e,t,r,n;return{c(){e=w("div"),t=w("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"icon","close"),z(t,"variant","nocolor"),u(e,"class","modal-close")},m(a,o){p(a,e,o),m(e,t),r||(n=J(t,"click",i[8]),r=!0)},p:x,d(a){a&&T(e),r=!1,n()}}}function Hn(i){let e;return{c(){e=w("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&T(e)}}}function Sn(i){let e,t,r=i[7]&&si(i);return{c(){r&&r.c(),e=we(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[7]?r?(r.p(n,a),a&128&&X(r,1)):(r=si(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(ze(),Y(r,1,1,()=>{r=null}),Ce())},i(n){t||(X(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Bn(i,e,t){let r,n,a,o;const[l,s]=Z("Callout variant",["emergency","important","information","success","event"]),[c,d]=Z("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:h="false"}=e,{open:k="false"}=e,{transition:b="none"}=e,{width:y=""}=e,{calloutvariant:_=null}=e;function v(E){!r||(E.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),E.stopPropagation())}return K(()=>{s(_),d(b)}),i.$$set=E=>{"heading"in E&&t(0,f=E.heading),"closable"in E&&t(9,h=E.closable),"open"in E&&t(1,k=E.open),"transition"in E&&t(10,b=E.transition),"width"in E&&t(2,y=E.width),"calloutvariant"in E&&t(3,_=E.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=U(h)),i.$$.dirty&2&&t(7,n=U(k)),i.$$.dirty&1024&&t(6,a=b==="none"?0:b==="slow"?400:200),i.$$.dirty&8&&t(5,o=_==="emergency"?"warning":_==="important"?"alert-circle":_==="information"?"information-circle":_==="success"?"checkmark-circle":_==="event"?"calendar":"")},[f,k,y,_,r,o,a,n,v,h,b]}class Nn extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.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 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:var(--goa-shadow-modal);border-radius:4px;max-height:90%;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--goa-font-size-7);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Bn,Sn,j,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(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[9]}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[10]}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",Nn);function fi(i){let e,t,r,n,a,o,l,s,c,d,f,h,k,b,y;return{c(){e=w("div"),t=w("div"),r=w("goa-icon"),a=B(),o=w("div"),o.innerHTML="<slot></slot>",l=B(),s=w("div"),c=w("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(o,"class","content"),z(c,"icon","close"),z(c,"variant","dark"),z(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(_,v){p(_,e,v),m(e,t),m(t,r),m(e,a),m(e,o),m(e,l),m(e,s),m(s,c),k=!0,b||(y=J(c,"click",i[3]),b=!0)},p(_,v){(!k||v&4)&&z(r,"type",_[2]),(!k||v&1&&n!==(n=_[0]==="important"?"false":"true"))&&z(r,"inverted",n),(!k||v&1&&d!==(d=_[0]==="important"?"false":"true"))&&z(c,"inverted",d),(!k||v&1&&f!==(f="notification "+_[0]))&&u(e,"class",f)},i(_){k||(de(()=>{h||(h=Qe(e,Te,{},!0)),h.run(1)}),k=!0)},o(_){h||(h=Qe(e,Te,{},!1)),h.run(0),k=!1},d(_){_&&T(e),_&&h&&h.end(),b=!1,y()}}}function Dn(i){let e,t,r=i[1]&&fi(i);return{c(){r&&r.c(),e=we(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[1]?r?(r.p(n,a),a&2&&X(r,1)):(r=fi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(ze(),Y(r,1,1,()=>{r=null}),Ce())},i(n){t||(X(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function On(i,e,t){let r;const[n,a]=Z("Notification type",["emergency","important","information","event"],!0);let{type:o=""}=e,l=!0;K(()=>{a(o)});function s(){t(1,l=!1)}return i.$$set=c=>{"type"in c&&t(0,o=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="event"?"calendar":"")},[o,l,r,s]}class Pn extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},On,Dn,j,{type:0},null),e&&(e.target&&p(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",Pn);const jn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function In(i){return jn.test(i)}function qn(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,a){p(n,e,a),m(e,t)},p(n,[a]){a&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function Fn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:a}=e;function o(l){return!!(["full"].includes(n)||In(l))}return K(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,a=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,a=l._width)},[a,n]}class Vn extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Fn,qn,j,{width:1,_width:0},null),e&&(e.target&&p(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",Vn);function gi(i,e,t){const r=i.slice();return r[22]=e[t],r}function hi(i,e){let t,r,n,a,o,l,s,c,d,f=(e[22].label||e[22].value)+"",h,k,b,y,_;function v(){return e[16](e[22])}return{key:i,first:null,c(){t=w("label"),r=w("input"),l=B(),s=w("div"),c=B(),d=w("span"),h=G(f),k=B(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=a=e[22].value===e[0],u(r,"aria-label",o=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",b="radio-option-"+e[22].value),u(t,"class","goa-radio"),P(t,"goa-radio--disabled",e[12]),P(t,"goa-radio--error",e[11]),this.first=t},m(E,N){p(E,t,N),m(t,r),m(t,l),m(t,s),m(t,c),m(t,d),m(d,h),m(t,k),y||(_=J(r,"change",v),y=!0)},p(E,N){e=E,N&2&&u(r,"name",e[1]),N&512&&n!==(n=e[22].value)&&(r.value=n),N&4096&&(r.disabled=e[12]),N&513&&a!==(a=e[22].value===e[0])&&(r.checked=a),N&18&&o!==(o=e[4]||e[1])&&u(r,"aria-label",o),N&512&&f!==(f=(e[22].label||e[22].value)+"")&&W(h,f),N&512&&b!==(b="radio-option-"+e[22].value)&&u(t,"data-testid",b),N&4096&&P(t,"goa-radio--disabled",e[12]),N&2048&&P(t,"goa-radio--error",e[11])},d(E){E&&T(t),y=!1,_()}}}function Gn(i){let e,t,r,n=[],a=new Map,o,l,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=gi(i,s,d),h=c(f);a.set(h,n[d]=hi(h,f))}return{c(){e=w("div"),t=w("slot"),r=B();for(let d=0;d<n.length;d+=1)n[d].c();this.c=x,u(e,"style",o=V(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){p(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=pt(n,f,c,1,d,s,a,e,kt,hi,null,gi)),f&480&&o!==(o=V(d[5],d[6],d[7],d[8]))&&u(e,"style",o),f&4&&l!==(l=`goa-radio-group--${d[2]}`)&&u(e,"class",l),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&T(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function Un(i,e,t){let r,n;const[a,o]=Z("Radio group orientation",["vertical","horizontal"]);let{name:l}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:k=""}=e,{mt:b=null}=e,{mr:y=null}=e,{mb:_=null}=e,{ml:v=null}=e,E=[],N;K(async()=>{await _e(),t(9,E=C())});function R(){const L=N.querySelector("slot");return L?[...L.assignedElements()]:[...N.children]}function C(){return R().map(D=>{const se=D,Q=D.getAttribute("value")||se.value,ie=D.getAttribute("label")||D.innerText||se.label||se.innerText;return{value:Q,label:ie}})}function M(L){L!==s&&(t(0,s=L),N.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:s}})))}K(()=>{o(c)});const A=L=>M(L.value);function H(L){te[L?"unshift":"push"](()=>{N=L,t(10,N)})}return i.$$set=L=>{"name"in L&&t(1,l=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=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,k=L.arialabel),"mt"in L&&t(5,b=L.mt),"mr"in L&&t(6,y=L.mr),"mb"in L&&t(7,_=L.mb),"ml"in L&&t(8,v=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(d)),i.$$.dirty&32768&&t(11,n=U(f))},[s,l,c,h,k,b,y,_,v,E,N,n,r,M,d,f,A,H]}class Wn extends I{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}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.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"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
85
|
-
var(--goa-color-interactive-hover)}input[type="radio"]:
|
|
86
|
-
var(--goa-color-interactive-hover)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid 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>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Un,Gn,j,{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&&p(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",Wn);function Kn(i){let e,t,r;return{c(){e=w("div"),t=w("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
85
|
+
`)&&u(e,"style",v)},i:x,o:x,d(L){L&&E(e),T&&T.d(),C&&C.d(),i[33](null),A&&A.d(),I&&I.d(),N&&N.d(),z=!1,oe(D)}}}function Ia(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Na(i,e,t){let r,a,n,l,o;const[s,c]=W("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=W("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:k=""}=e,{value:y=""}=e,{autocapitalize:_="off"}=e,{placeholder:w=""}=e,{leadingicon:v=null}=e,{trailingicon:z=null}=e,{variant:D="goa"}=e,{disabled:T="false"}=e,{handletrailingiconclick:C="false"}=e,{focused:A="false"}=e,{readonly:I="false"}=e,{error:N="false"}=e,{testid:L=""}=e,{width:H="30ch"}=e,{arialabel:se=null}=e,{min:J=""}=e,{max:ie=""}=e,{step:ee=1}=e,{prefix:ne=""}=e,{suffix:Le=""}=e,{debounce:Se=0}=e,{mt:et=null}=e,{mr:tt=null}=e,{mb:Oe=null}=e,{ml:pe=null}=e,re,Te=null;function ve(S){const Ie=S.target;!Ie||(Te!=null&&clearTimeout(Te),Te=setTimeout(()=>{Ie.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:k,value:Ie.value}}))},Se),t(0,y=Ie.value))}q(()=>{c(h),f(_),(ne!=""||Le!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function it(S){te[S?"unshift":"push"](()=>{re=S,t(20,re)})}return i.$$set=S=>{"type"in S&&t(1,h=S.type),"name"in S&&t(2,k=S.name),"value"in S&&t(0,y=S.value),"autocapitalize"in S&&t(3,_=S.autocapitalize),"placeholder"in S&&t(4,w=S.placeholder),"leadingicon"in S&&t(5,v=S.leadingicon),"trailingicon"in S&&t(6,z=S.trailingicon),"variant"in S&&t(7,D=S.variant),"disabled"in S&&t(26,T=S.disabled),"handletrailingiconclick"in S&&t(27,C=S.handletrailingiconclick),"focused"in S&&t(28,A=S.focused),"readonly"in S&&t(29,I=S.readonly),"error"in S&&t(30,N=S.error),"testid"in S&&t(8,L=S.testid),"width"in S&&t(9,H=S.width),"arialabel"in S&&t(10,se=S.arialabel),"min"in S&&t(11,J=S.min),"max"in S&&t(12,ie=S.max),"step"in S&&t(13,ee=S.step),"prefix"in S&&t(14,ne=S.prefix),"suffix"in S&&t(15,Le=S.suffix),"debounce"in S&&t(31,Se=S.debounce),"mt"in S&&t(16,et=S.mt),"mr"in S&&t(17,tt=S.mr),"mb"in S&&t(18,Oe=S.mb),"ml"in S&&t(19,pe=S.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=Q(C)),i.$$.dirty[0]&268435456&&t(32,a=Q(A)),i.$$.dirty[0]&536870912&&t(23,n=Q(I)),i.$$.dirty[0]&1073741824&&t(22,l=Q(N)),i.$$.dirty[0]&67108864&&t(21,o=Q(T)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&2&&a&&re&&setTimeout(()=>re.focus(),1),i.$$.dirty[0]&1048578&&re&&h==="search"&&re.addEventListener("search",S=>{ve(S)})},[y,h,k,_,w,v,z,D,L,H,se,J,ie,ee,ne,Le,et,tt,Oe,pe,re,o,l,n,r,ve,T,C,A,I,N,Se,a,it]}class Da extends P{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>')
|
|
86
|
+
center center no-repeat}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Na,Ta,B,{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&&p(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",Da);function ri(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=j(),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(a,n){p(a,e,n),p(a,t,n),p(a,r,n)},d(a){a&&E(e),a&&E(t),a&&E(r)}}}function ai(i){let e,t=li(i[0])+"",r,a,n,l,o,s,c,d=i[2]&&ni(i);return{c(){e=b("div"),r=V(t),n=j(),l=b("div"),o=V("This is a new "),s=b("a"),s.textContent="Alberta Government",c=V(` service
|
|
87
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",a="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(l,"data-testid","site-text"),u(l,"class","site-text")},m(f,h){p(f,e,h),m(e,r),p(f,n,h),p(f,l,h),m(l,o),m(l,s),m(l,c),d&&d.m(l,null)},p(f,h){h&1&&t!==(t=li(f[0])+"")&&F(r,t),h&1&&a!==(a="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",a),f[2]?d?d.p(f,h):(d=ni(f),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},d(f){f&&E(e),f&&E(n),f&&E(l),d&&d.d()}}}function ni(i){let e,t,r,a;return{c(){e=b("span"),t=V("\u2014 help us improve it by giving "),r=b("a"),a=V("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(n,l){p(n,e,l),m(e,t),m(e,r),m(r,a)},p(n,l){l&4&&u(r,"href",n[2])},d(n){n&&E(e)}}}function oi(i){let e,t;return{c(){e=b("div"),t=V(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&2&&F(t,r[1])},d(r){r&&E(e)}}}function ja(i){let e,t,r=["alpha","beta"].includes(i[0]),a,n,l,o=i[0]==="live"&&ri(),s=r&&ai(i),c=i[1]&&oi(i);return{c(){e=b("header"),o&&o.c(),t=j(),s&&s.c(),a=j(),n=b("div"),l=j(),c&&c.c(),this.c=x,u(n,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),s&&s.m(e,null),m(e,a),m(e,n),m(e,l),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=ri(),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=ai(d),s.c(),s.m(e,a)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=oi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&E(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function li(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Ra(i,e,t){const[r,a]=W("Microsite header type",["live","alpha","beta"],!0);let{type:n}=e,{version:l=""}=e,{feedbackurl:o=""}=e;return q(()=>{a(n)}),i.$$set=s=>{"type"in s&&t(0,n=s.type),"version"in s&&t(1,l=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[n,l,o]}class Ha extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ra,ja,B,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(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",Ha);function si(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,y,_,w,v,z,D,T,C,A,I,N=i[3]!==null&&ci(i),L=i[0]&&di(i),H=i[4]&&ui(i);function se(ee,ne){return Sa}let ie=se()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),a=j(),n=b("div"),N&&N.c(),l=j(),o=b("div"),L&&L.c(),s=j(),H&&H.c(),c=j(),d=b("div"),ie.c(),f=j(),h=b("slot"),k=j(),y=b("div"),y.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(y,"class","modal-actions"),u(y,"data-testid","modal-actions"),u(o,"class","content"),u(n,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",v=""+((i[2]&&`--width: ${i[2]};`)+";")),M(e,"active",i[1])},m(ee,ne){p(ee,e,ne),m(e,t),m(t,r),m(t,a),m(t,n),N&&N.m(n,null),m(n,l),m(n,o),L&&L.m(o,null),m(o,s),H&&H.m(o,null),m(o,c),m(o,d),ie.m(d,null),m(d,f),m(d,h),m(o,k),m(o,y),C=!0,A||(I=[U(r,"click",i[8]),ft(z=Nt.call(null,t,{enable:i[7]}))],A=!0)},p(ee,ne){i=ee,i[3]!==null?N?N.p(i,ne):(N=ci(i),N.c(),N.m(n,l)):N&&(N.d(1),N=null),i[0]?L?L.p(i,ne):(L=di(i),L.c(),L.m(o,s)):L&&(L.d(1),L=null),i[4]?H?H.p(i,ne):(H=ui(i),H.c(),H.m(o,c)):H&&(H.d(1),H=null),(!C||ne&4&&v!==(v=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",v),z&&fe(z.update)&&ne&128&&z.update.call(null,{enable:i[7]}),(!C||ne&2)&&M(e,"active",i[1])},i(ee){C||(de(()=>{w&&w.end(1),_=_t(n,It,{duration:i[6],y:200}),_.start()}),de(()=>{T&&T.end(1),D=_t(t,Ee,{duration:i[6]}),D.start()}),C=!0)},o(ee){_&&_.invalidate(),w=kt(n,It,{delay:i[6],duration:i[6],y:-100}),D&&D.invalidate(),T=kt(t,Ee,{delay:i[6],duration:i[6]}),C=!1},d(ee){ee&&E(e),N&&N.d(),L&&L.d(),H&&H.d(),ie.d(),ee&&w&&w.end(),ee&&T&&T.end(),A=!1,oe(I)}}}function ci(i){let e,t,r,a;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[5]),M(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",a="callout-bar "+i[3])},m(n,l){p(n,e,l),m(e,t)},p(n,l){l&32&&M(t,"type",n[5]),l&8&&r!==(r=n[3]==="important"?"false":"true")&&M(t,"inverted",r),l&8&&a!==(a="callout-bar "+n[3])&&u(e,"class",a)},d(n){n&&E(e)}}}function di(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&1&&F(t,r[0])},d(r){r&&E(e)}}}function ui(i){let e,t,r,a;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),u(e,"class","modal-close")},m(n,l){p(n,e,l),m(e,t),r||(a=U(t,"click",i[8]),r=!0)},p:x,d(n){n&&E(e),r=!1,a()}}}function Sa(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",M(e,"direction","vertical"),M(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function Oa(i){let e,t,r=i[7]&&si(i);return{c(){r&&r.c(),e=we(),this.c=x},m(a,n){r&&r.m(a,n),p(a,e,n),t=!0},p(a,[n]){a[7]?r?(r.p(a,n),n&128&&K(r,1)):(r=si(a),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Me(),X(r,1,1,()=>{r=null}),Ce())},i(a){t||(K(r),t=!0)},o(a){X(r),t=!1},d(a){r&&r.d(a),a&&E(e)}}}function Ba(i,e,t){let r,a,n,l;const[o,s]=W("Callout variant",["emergency","important","information","success","event"]),[c,d]=W("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:h="false"}=e,{open:k="false"}=e,{transition:y="none"}=e,{width:_=""}=e,{calloutvariant:w=null}=e;function v(z){!r||(z.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),z.stopPropagation())}return q(()=>{s(w),d(y)}),i.$$set=z=>{"heading"in z&&t(0,f=z.heading),"closable"in z&&t(9,h=z.closable),"open"in z&&t(1,k=z.open),"transition"in z&&t(10,y=z.transition),"width"in z&&t(2,_=z.width),"calloutvariant"in z&&t(3,w=z.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=Q(h)),i.$$.dirty&2&&t(7,a=Q(k)),i.$$.dirty&1024&&t(6,n=y==="none"?0:y==="slow"?400:200),i.$$.dirty&8&&t(5,l=w==="emergency"?"warning":w==="important"?"alert-circle":w==="information"?"information-circle":w==="success"?"checkmark-circle":w==="event"?"calendar":"")},[f,k,_,w,r,l,n,a,v,h,y]}class Pa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.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 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:var(--goa-shadow-modal);border-radius:4px;max-height:90%;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--goa-font-size-7);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ba,Oa,B,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(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[9]}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[10]}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",Pa);function fi(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,y,_;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),n=j(),l=b("div"),l.innerHTML="<slot></slot>",o=j(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",a=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(l,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(w,v){p(w,e,v),m(e,t),m(t,r),m(e,n),m(e,l),m(e,o),m(e,s),m(s,c),k=!0,y||(_=U(c,"click",i[3]),y=!0)},p(w,v){(!k||v&4)&&M(r,"type",w[2]),(!k||v&1&&a!==(a=w[0]==="important"?"false":"true"))&&M(r,"inverted",a),(!k||v&1&&d!==(d=w[0]==="important"?"false":"true"))&&M(c,"inverted",d),(!k||v&1&&f!==(f="notification "+w[0]))&&u(e,"class",f)},i(w){k||(de(()=>{h||(h=Xe(e,Ee,{},!0)),h.run(1)}),k=!0)},o(w){h||(h=Xe(e,Ee,{},!1)),h.run(0),k=!1},d(w){w&&E(e),w&&h&&h.end(),y=!1,_()}}}function Ga(i){let e,t,r=i[1]&&fi(i);return{c(){r&&r.c(),e=we(),this.c=x},m(a,n){r&&r.m(a,n),p(a,e,n),t=!0},p(a,[n]){a[1]?r?(r.p(a,n),n&2&&K(r,1)):(r=fi(a),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Me(),X(r,1,1,()=>{r=null}),Ce())},i(a){t||(K(r),t=!0)},o(a){X(r),t=!1},d(a){r&&r.d(a),a&&E(e)}}}function Ya(i,e,t){let r;const[a,n]=W("Notification type",["emergency","important","information","event"],!0);let{type:l=""}=e,o=!0;q(()=>{n(l)});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,l=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=l==="emergency"?"warning":l==="important"?"alert-circle":l==="information"?"information-circle":l==="event"?"calendar":"")},[l,o,r,s]}class Za extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ya,Ga,B,{type:0},null),e&&(e.target&&p(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",Za);const Va=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Qa(i){return Va.test(i)}function Fa(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(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&1&&r!==(r=`--max-width: ${a[0]}`)&&u(e,"style",r)},i:x,o:x,d(a){a&&E(e)}}}function Ua(i,e,t){const r={full:"100%"};let{width:a}=e,{_width:n}=e;function l(o){return!!(["full"].includes(a)||Qa(o))}return q(()=>{l(a)||console.error("Invalid PageBlock width"),t(0,n=r[a]||a)}),i.$$set=o=>{"width"in o&&t(1,a=o.width),"_width"in o&&t(0,n=o._width)},[n,a]}class qa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ua,Fa,B,{width:1,_width:0},null),e&&(e.target&&p(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",qa);function gi(i){let e,t,r,a,n,l,o,s,c,d;return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=j(),a=b("input"),n=j(),l=b("goa-input"),o=j(),s=b("span"),c=V("of "),d=V(i[8]),u(a,"type","hidden"),M(l,"type","number"),M(l,"value",i[0]),M(l,"width","8ch"),M(l,"debounce","500"),M(l,"min","1"),M(l,"max",i[8]),M(e,"data-testid","page-selector"),M(e,"alignment","center"),M(e,"gap","s")},m(f,h){p(f,e,h),m(e,t),m(e,r),m(e,a),i[12](a),m(e,n),m(e,l),i[13](l),m(e,o),m(e,s),m(s,c),m(s,d)},p(f,h){h&1&&M(l,"value",f[0]),h&256&&M(l,"max",f[8]),h&256&&F(d,f[8])},d(f){f&&E(e),i[12](null),i[13](null)}}}function Wa(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,y=i[1]==="all"&&gi(i);return{c(){e=b("goa-block"),t=b("div"),y&&y.c(),r=j(),a=b("goa-block"),n=b("goa-button"),l=V("Previous"),s=j(),c=b("goa-button"),d=V("Next"),this.c=x,M(n,"type","tertiary"),M(n,"leadingicon","arrow-back"),M(n,"disabled",o=i[0]==1?"true":"false"),M(c,"type","tertiary"),M(c,"trailingicon","arrow-forward"),M(c,"disabled",f=i[0]==i[8]?"true":"false"),M(a,"alignment","center"),M(a,"gap","m"),M(a,"data-testid","page-links"),u(t,"class","controls"),M(e,"id","root"),M(e,"ml",i[5]),M(e,"mr",i[3]),M(e,"mb",i[4]),M(e,"mt",i[2])},m(_,w){p(_,e,w),m(e,t),y&&y.m(t,null),m(t,r),m(t,a),m(a,n),m(n,l),m(a,s),m(a,c),m(c,d),h||(k=[U(n,"click",i[14]),U(c,"click",i[15])],h=!0)},p(_,[w]){_[1]==="all"?y?y.p(_,w):(y=gi(_),y.c(),y.m(t,r)):y&&(y.d(1),y=null),w&1&&o!==(o=_[0]==1?"true":"false")&&M(n,"disabled",o),w&257&&f!==(f=_[0]==_[8]?"true":"false")&&M(c,"disabled",f),w&32&&M(e,"ml",_[5]),w&8&&M(e,"mr",_[3]),w&16&&M(e,"mb",_[4]),w&4&&M(e,"mt",_[2])},i:x,o:x,d(_){_&&E(e),y&&y.d(),h=!1,oe(k)}}}function Ka(i,e,t){let r;const[a,n]=W("Pagination variant",["all","links-only"]);let{pagenumber:l}=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:k=null}=e,y=null,_=null;q(async()=>{await ge(),$e("GoAPagination",{itemcount:o,pagenumber:l}),n(c),y&&y.addEventListener("_change",C=>{const A=Number.parseInt(C.detail.value);C.stopPropagation(),!isNaN(A)&&_.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}}))})});function w(C,A){const I=Number.parseInt(l+"")+A;I>0&&I<=r&&C.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:I}})),C.preventDefault()}function v(C){te[C?"unshift":"push"](()=>{_=C,t(7,_)})}function z(C){te[C?"unshift":"push"](()=>{y=C,t(6,y)})}const D=C=>w(C,-1),T=C=>w(C,1);return i.$$set=C=>{"pagenumber"in C&&t(0,l=C.pagenumber),"itemcount"in C&&t(10,o=C.itemcount),"perpagecount"in C&&t(11,s=C.perpagecount),"variant"in C&&t(1,c=C.variant),"mt"in C&&t(2,d=C.mt),"mr"in C&&t(3,f=C.mr),"mb"in C&&t(4,h=C.mb),"ml"in C&&t(5,k=C.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(o/s))},[l,c,d,f,h,k,y,_,r,w,o,s,v,z,D,T]}class Xa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ka,Wa,B,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(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",Xa);function hi(i,e,t){const r=i.slice();return r[22]=e[t],r}function mi(i,e){let t,r,a,n,l,o,s,c,d,f=(e[22].label||e[22].value)+"",h,k,y,_,w;function v(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),o=j(),s=b("div"),c=j(),d=b("span"),h=V(f),k=j(),u(r,"type","radio"),u(r,"name",e[1]),r.value=a=e[22].value,r.disabled=e[12],r.checked=n=e[22].value===e[0],u(r,"aria-label",l=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"),O(t,"goa-radio--disabled",e[12]),O(t,"goa-radio--error",e[11]),this.first=t},m(z,D){p(z,t,D),m(t,r),m(t,o),m(t,s),m(t,c),m(t,d),m(d,h),m(t,k),_||(w=U(r,"change",v),_=!0)},p(z,D){e=z,D&2&&u(r,"name",e[1]),D&512&&a!==(a=e[22].value)&&(r.value=a),D&4096&&(r.disabled=e[12]),D&513&&n!==(n=e[22].value===e[0])&&(r.checked=n),D&18&&l!==(l=e[4]||e[1])&&u(r,"aria-label",l),D&512&&f!==(f=(e[22].label||e[22].value)+"")&&F(h,f),D&512&&y!==(y="radio-option-"+e[22].value)&&u(t,"data-testid",y),D&4096&&O(t,"goa-radio--disabled",e[12]),D&2048&&O(t,"goa-radio--error",e[11])},d(z){z&&E(t),_=!1,w()}}}function Ja(i){let e,t,r,a=[],n=new Map,l,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=hi(i,s,d),h=c(f);n.set(h,a[d]=mi(h,f))}return{c(){e=b("div"),t=b("slot"),r=j();for(let d=0;d<a.length;d+=1)a[d].c();this.c=x,u(e,"style",l=Z(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){p(d,e,f),m(e,t),m(e,r);for(let h=0;h<a.length;h+=1)a[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],a=xt(a,f,c,1,d,s,n,e,pt,mi,null,hi)),f&480&&l!==(l=Z(d[5],d[6],d[7],d[8]))&&u(e,"style",l),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&&E(e);for(let f=0;f<a.length;f+=1)a[f].d();i[17](null)}}}function $a(i,e,t){let r,a;const[n,l]=W("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:k=""}=e,{mt:y=null}=e,{mr:_=null}=e,{mb:w=null}=e,{ml:v=null}=e,z=[],D;q(async()=>{await ge(),t(9,z=C())});function T(){const L=D.querySelector("slot");return L?[...L.assignedElements()]:[...D.children]}function C(){return T().map(H=>{const se=H,J=H.getAttribute("value")||se.value,ie=H.getAttribute("label")||H.innerText||se.label||se.innerText;return{value:J,label:ie}})}function A(L){L!==s&&(t(0,s=L),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:s}})))}q(()=>{l(c)});const I=L=>A(L.value);function N(L){te[L?"unshift":"push"](()=>{D=L,t(10,D)})}return i.$$set=L=>{"name"in L&&t(1,o=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=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,k=L.arialabel),"mt"in L&&t(5,y=L.mt),"mr"in L&&t(6,_=L.mr),"mb"in L&&t(7,w=L.mb),"ml"in L&&t(8,v=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(d)),i.$$.dirty&32768&&t(11,a=Q(f))},[s,o,c,h,k,y,_,w,v,z,D,a,r,A,d,f,I,N]}class en extends P{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{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
|
|
88
|
+
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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},$a,Ja,B,{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&&p(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",en);function tn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
87
89
|
--max-height: ${i[3]};
|
|
88
90
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
89
91
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
90
92
|
margin: ${i[2]}rem 0;
|
|
91
93
|
padding: 0 ${i[1]}rem;
|
|
92
|
-
`)},m(n
|
|
93
|
-
--max-height: ${
|
|
94
|
-
overflow-y: ${
|
|
95
|
-
overflow-x: ${
|
|
96
|
-
margin: ${
|
|
97
|
-
padding: 0 ${
|
|
98
|
-
`)&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function Xn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:a=0}=e,{height:o=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,a=l.vpadding),"height"in l&&t(3,o=l.height)},[r,n,a,o]}class Zn extends I{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Xn,Kn,j,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}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 height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-scrollable",Zn);function mi(i,e,t){const r=i.slice();return r[13]=e[t],r}function Jn(i){let e,t;return{c(){e=w("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(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&&T(e)}}}function Yn(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let o=0;o<r.length;o+=1)n[o]=bi(mi(i,r,o));const a=o=>Y(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=we()},m(o,l){for(let s=0;s<n.length;s+=1)n[s].m(o,l);p(o,e,l),t=!0},p(o,l){if(l&6){r=Array(Number.parseInt(o[2]+""));let s;for(s=0;s<r.length;s+=1){const c=mi(o,r,s);n[s]?(n[s].p(c,l),X(n[s],1)):(n[s]=bi(c),n[s].c(),X(n[s],1),n[s].m(e.parentNode,e))}for(ze(),s=r.length;s<n.length;s+=1)a(s);Ce()}},i(o){if(!t){for(let l=0;l<r.length;l+=1)X(n[l]);t=!0}},o(o){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)Y(n[l]);t=!1},d(o){Ge(n,o),o&&T(e)}}}function Qn(i){let e,t,r,n,a,o,l,s,c,d;return r=new me({props:{type:"avatar",size:i[1]}}),o=new me({props:{type:"title",size:i[1]}}),s=new me({props:{type:"text-small",size:i[1]}}),{c(){e=w("div"),t=w("div"),pe(r.$$.fragment),n=B(),a=w("div"),pe(o.$$.fragment),l=B(),pe(s.$$.fragment),u(t,"class","profile-avatar"),u(a,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){p(f,e,h),m(e,t),ge(r,t,null),m(e,n),m(e,a),ge(o,a,null),m(a,l),ge(s,a,null),d=!0},p(f,h){const k={};h&2&&(k.size=f[1]),r.$set(k);const b={};h&2&&(b.size=f[1]),o.$set(b);const y={};h&2&&(y.size=f[1]),s.$set(y),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(X(r.$$.fragment,f),X(o.$$.fragment,f),X(s.$$.fragment,f),d=!0)},o(f){Y(r.$$.fragment,f),Y(o.$$.fragment,f),Y(s.$$.fragment,f),d=!1},d(f){f&&T(e),he(r),he(o),he(s)}}}function $n(i){let e,t,r,n,a,o,l,s,c;return t=new me({props:{type:"image",size:i[1]}}),a=new me({props:{type:"header",size:i[1]}}),l=new me({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=w("div"),pe(t.$$.fragment),r=B(),n=w("div"),pe(a.$$.fragment),o=B(),pe(l.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),$(e,"--max-width",i[0])},m(d,f){p(d,e,f),ge(t,e,null),m(e,r),m(e,n),ge(a,n,null),m(n,o),ge(l,n,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const k={};f&2&&(k.size=d[1]),a.$set(k);const b={};f&2&&(b.size=d[1]),f&4&&(b.linecount=d[2]),l.$set(b),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&$(e,"--max-width",d[0])},i(d){c||(X(t.$$.fragment,d),X(a.$$.fragment,d),X(l.$$.fragment,d),c=!0)},o(d){Y(t.$$.fragment,d),Y(a.$$.fragment,d),Y(l.$$.fragment,d),c=!1},d(d){d&&T(e),he(t),he(a),he(l)}}}function bi(i){let e,t;return e=new me({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){pe(e.$$.fragment)},m(r,n){ge(e,r,n),t=!0},p(r,n){const a={};n&2&&(a.size=r[1]),n&4&&(a.linecount=r[2]),e.$set(a)},i(r){t||(X(e.$$.fragment,r),t=!0)},o(r){Y(e.$$.fragment,r),t=!1},d(r){he(e,r)}}}function ea(i){let e,t,r,n,a;const o=[$n,Qn,Yn,Jn],l=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=l[t]=o[t](i),{c(){e=w("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",n=""+(V(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),l[t].m(e,null),a=!0},p(c,[d]){let f=t;t=s(c),t===f?l[t].p(c,d):(ze(),Y(l[f],1,1,()=>{l[f]=null}),Ce(),r=l[t],r?r.p(c,d):(r=l[t]=o[t](c),r.c()),X(r,1),r.m(e,null)),(!a||d&16)&&u(e,"data-testid",c[4]),(!a||d&480&&n!==(n=""+(V(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){a||(X(r),a=!0)},o(c){Y(r),a=!1},d(c){c&&T(e),l[t].d()}}}function ta(i,e,t){const[r,n]=Z("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[a,o]=Z("Skeleton size",["1","2","3","4"]);let{maxwidth:l=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:k=null}=e,{mb:b=null}=e,{ml:y=null}=e;return K(()=>{n(d),o(s)}),i.$$set=_=>{"maxwidth"in _&&t(0,l=_.maxwidth),"size"in _&&t(1,s=_.size),"linecount"in _&&t(2,c=_.linecount),"type"in _&&t(3,d=_.type),"testid"in _&&t(4,f=_.testid),"mt"in _&&t(5,h=_.mt),"mr"in _&&t(6,k=_.mr),"mb"in _&&t(7,b=_.mb),"ml"in _&&t(8,y=_.ml)},[l,s,c,d,f,h,k,b,y]}class me extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ta,ea,j,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(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",me);function ia(i){let e;return{c(){e=w("div"),this.c=x},m(t,r){p(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&T(e),i[3](null)}}}function ra(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,a;K(()=>{xt(a,":host",{width:`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function o(l){te[l?"unshift":"push"](()=>{a=l,t(0,a)})}return i.$$set=l=>{"hspacing"in l&&t(1,r=l.hspacing),"vspacing"in l&&t(2,n=l.vspacing)},[a,r,n,o]}class na extends I{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ra,ia,j,{hspacing:1,vspacing:2},null),e&&(e.target&&p(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",na);const Me=[];function aa(i,e=x){let t;const r=new Set;function n(l){if(j(i,l)&&(i=l,t)){const s=!Me.length;for(const c of r)c[1](),Me.push(c,i);if(s){for(let c=0;c<Me.length;c+=2)Me[c][0](Me[c+1]);Me.length=0}}}function a(l){n(l(i))}function o(l,s=x){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||x),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:a,subscribe:o}}function vi(i){return Object.prototype.toString.call(i)==="[object Date]"}function st(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,a)=>st(i[a],n));return n=>r.map(a=>a(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(vi(i)&&vi(e)){i=i.getTime(),e=e.getTime();const a=e-i;return o=>new Date(i+o*a)}const r=Object.keys(e),n={};return r.forEach(a=>{n[a]=st(i[a],e[a])}),a=>{const o={};return r.forEach(l=>{o[l]=n[l](a)}),o}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function oa(i,e={}){const t=aa(i);let r,n=i;function a(o,l){if(i==null)return t.set(i=o),Promise.resolve();n=o;let s=r,c=!1,{delay:d=0,duration:f=400,easing:h=He,interpolate:k=st}=ct(ct({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const b=Fe()+d;let y;return r=Ve(_=>{if(_<b)return!0;c||(y=k(i,o),typeof f=="function"&&(f=f(i,o)),c=!0),s&&(s.abort(),s=null);const v=_-b;return v>f?(t.set(i=o),!1):(t.set(i=y(h(v/f))),!0)}),r.promise}return{set:a,update:(o,l)=>a(o(n,i),l),subscribe:t.subscribe}}function yi(i){let e,t,r,n,a,o,l,s,c;return{c(){e=ye("svg"),t=ye("circle"),a=ye("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(a,"d",o=i[9](i[7])),u(a,"stroke-width",i[4]),u(a,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(a,"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){p(d,e,f),m(e,t),m(e,a)},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&&o!==(o=d[9](d[7]))&&u(a,"d",o),f&16&&u(a,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(a,"stroke",l),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&&T(e)}}}function la(i){let e,t=i[6]&&yi(i);return{c(){t&&t.c(),e=we(),this.c=x},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=yi(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&&T(e)}}}function sa(i,e,t){let r,n,a,o,l,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,k="infinite";const b=oa(0,{duration:500,easing:Ar});Ti(i,b,v=>t(7,s=v));function y(v){const E=a+o*Math.cos(v),N=a+o*Math.sin(v);return E+" "+N}function _(v){switch(k){case"progress":{const E=y(-Math.PI/2),N=y(-Math.PI/2+2*Math.PI*(v/100)),R=v%100<50?0:1;return`M ${E} A ${o} ${o} 0 ${R} 1 ${N}`}case"infinite":{const E=y(Math.PI*1.5),N=y(0);return`M ${E} A ${o} ${o} 0 1 0 ${N}`}}}return i.$$set=v=>{"size"in v&&t(10,c=v.size),"invert"in v&&t(0,d=v.invert),"progress"in v&&t(11,f=v.progress),"testid"in v&&t(1,h=v.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const v=parseFloat(f+"");v>=0&&(b.set(v||1),t(2,k="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,a=r/2),i.$$.dirty&24&&t(12,o=a-n/2),i.$$.dirty&6148&&t(6,l=k==="infinite"?o:o&&f)},[d,h,k,a,n,r,l,s,b,_,c,f,o]}class ca extends I{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},sa,la,j,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(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",ca);function da(i){let e,t,r,n,a;return{c(){e=w("table"),t=w("slot"),r=B(),n=w("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
94
|
+
`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&15&&r!==(r=`
|
|
95
|
+
--max-height: ${a[3]};
|
|
96
|
+
overflow-y: ${a[0]==="vertical"?"auto":"hidden"};
|
|
97
|
+
overflow-x: ${a[0]==="horizontal"?"auto":"hidden"};
|
|
98
|
+
margin: ${a[2]}rem 0;
|
|
99
|
+
padding: 0 ${a[1]}rem;
|
|
100
|
+
`)&&u(e,"style",r)},i:x,o:x,d(a){a&&E(e)}}}function rn(i,e,t){let{direction:r="vertical"}=e,{hpadding:a=0}=e,{vpadding:n=0}=e,{height:l=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,a=o.hpadding),"vpadding"in o&&t(2,n=o.vpadding),"height"in o&&t(3,l=o.height)},[r,a,n,l]}class an extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},rn,tn,B,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}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 height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-scrollable",an);function bi(i,e,t){const r=i.slice();return r[13]=e[t],r}function nn(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,a){p(r,e,a)},p(r,a){a&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&E(e)}}}function on(i){let e,t,r=Array(Number.parseInt(i[2]+"")),a=[];for(let l=0;l<r.length;l+=1)a[l]=vi(bi(i,r,l));const n=l=>X(a[l],1,1,()=>{a[l]=null});return{c(){for(let l=0;l<a.length;l+=1)a[l].c();e=we()},m(l,o){for(let s=0;s<a.length;s+=1)a[s].m(l,o);p(l,e,o),t=!0},p(l,o){if(o&6){r=Array(Number.parseInt(l[2]+""));let s;for(s=0;s<r.length;s+=1){const c=bi(l,r,s);a[s]?(a[s].p(c,o),K(a[s],1)):(a[s]=vi(c),a[s].c(),K(a[s],1),a[s].m(e.parentNode,e))}for(Me(),s=r.length;s<a.length;s+=1)n(s);Ce()}},i(l){if(!t){for(let o=0;o<r.length;o+=1)K(a[o]);t=!0}},o(l){a=a.filter(Boolean);for(let o=0;o<a.length;o+=1)X(a[o]);t=!1},d(l){Ze(a,l),l&&E(e)}}}function ln(i){let e,t,r,a,n,l,o,s,c,d;return r=new be({props:{type:"avatar",size:i[1]}}),l=new be({props:{type:"title",size:i[1]}}),s=new be({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ke(r.$$.fragment),a=j(),n=b("div"),ke(l.$$.fragment),o=j(),ke(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){p(f,e,h),m(e,t),he(r,t,null),m(e,a),m(e,n),he(l,n,null),m(n,o),he(s,n,null),d=!0},p(f,h){const k={};h&2&&(k.size=f[1]),r.$set(k);const y={};h&2&&(y.size=f[1]),l.$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(l.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){X(r.$$.fragment,f),X(l.$$.fragment,f),X(s.$$.fragment,f),d=!1},d(f){f&&E(e),me(r),me(l),me(s)}}}function sn(i){let e,t,r,a,n,l,o,s,c;return t=new be({props:{type:"image",size:i[1]}}),n=new be({props:{type:"header",size:i[1]}}),o=new be({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=b("div"),ke(t.$$.fragment),r=j(),a=b("div"),ke(n.$$.fragment),l=j(),ke(o.$$.fragment),u(a,"class","card-content"),u(e,"class",s="card card-"+i[1]),$(e,"--max-width",i[0])},m(d,f){p(d,e,f),he(t,e,null),m(e,r),m(e,a),he(n,a,null),m(a,l),he(o,a,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const k={};f&2&&(k.size=d[1]),n.$set(k);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(n.$$.fragment,d),K(o.$$.fragment,d),c=!0)},o(d){X(t.$$.fragment,d),X(n.$$.fragment,d),X(o.$$.fragment,d),c=!1},d(d){d&&E(e),me(t),me(n),me(o)}}}function vi(i){let e,t;return e=new be({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ke(e.$$.fragment)},m(r,a){he(e,r,a),t=!0},p(r,a){const n={};a&2&&(n.size=r[1]),a&4&&(n.linecount=r[2]),e.$set(n)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){X(e.$$.fragment,r),t=!1},d(r){me(e,r)}}}function cn(i){let e,t,r,a,n;const l=[sn,ln,on,nn],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=l[t](i),{c(){e=b("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",a=""+(Z(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),o[t].m(e,null),n=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(Me(),X(o[f],1,1,()=>{o[f]=null}),Ce(),r=o[t],r?r.p(c,d):(r=o[t]=l[t](c),r.c()),K(r,1),r.m(e,null)),(!n||d&16)&&u(e,"data-testid",c[4]),(!n||d&480&&a!==(a=""+(Z(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",a)},i(c){n||(K(r),n=!0)},o(c){X(r),n=!1},d(c){c&&E(e),o[t].d()}}}function dn(i,e,t){const[r,a]=W("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[n,l]=W("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:k=null}=e,{mb:y=null}=e,{ml:_=null}=e;return q(()=>{a(d),l(s)}),i.$$set=w=>{"maxwidth"in w&&t(0,o=w.maxwidth),"size"in w&&t(1,s=w.size),"linecount"in w&&t(2,c=w.linecount),"type"in w&&t(3,d=w.type),"testid"in w&&t(4,f=w.testid),"mt"in w&&t(5,h=w.mt),"mr"in w&&t(6,k=w.mr),"mb"in w&&t(7,y=w.mb),"ml"in w&&t(8,_=w.ml)},[o,s,c,d,f,h,k,y,_]}class be extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},dn,cn,B,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(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",be);function un(i){let e;return{c(){e=b("div"),this.c=x},m(t,r){p(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&E(e),i[3](null)}}}function fn(i,e,t){let{hspacing:r="none"}=e,{vspacing:a="none"}=e,n;q(()=>{zt(n,":host",{width:`var(--goa-space-${r})`,height:`var(--goa-space-${a})`})});function l(o){te[o?"unshift":"push"](()=>{n=o,t(0,n)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,a=o.vspacing)},[n,r,a,l]}class gn extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},fn,un,B,{hspacing:1,vspacing:2},null),e&&(e.target&&p(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",gn);const Ae=[];function hn(i,e=x){let t;const r=new Set;function a(o){if(B(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 n(o){a(o(i))}function l(o,s=x){const c=[o,s];return r.add(c),r.size===1&&(t=e(a)||x),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:a,update:n,subscribe:l}}function yi(i){return Object.prototype.toString.call(i)==="[object Date]"}function ct(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((a,n)=>ct(i[n],a));return a=>r.map(n=>n(a))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(yi(i)&&yi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return l=>new Date(i+l*n)}const r=Object.keys(e),a={};return r.forEach(n=>{a[n]=ct(i[n],e[n])}),n=>{const l={};return r.forEach(o=>{l[o]=a[o](n)}),l}}if(t==="number"){const r=e-i;return a=>i+a*r}throw new Error(`Cannot interpolate ${t} values`)}function mn(i,e={}){const t=hn(i);let r,a=i;function n(l,o){if(i==null)return t.set(i=l),Promise.resolve();a=l;let s=r,c=!1,{delay:d=0,duration:f=400,easing:h=Ne,interpolate:k=ct}=dt(dt({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=a),Promise.resolve();const y=Ge()+d;let _;return r=Ye(w=>{if(w<y)return!0;c||(_=k(i,l),typeof f=="function"&&(f=f(i,l)),c=!0),s&&(s.abort(),s=null);const v=w-y;return v>f?(t.set(i=l),!1):(t.set(i=_(h(v/f))),!0)}),r.promise}return{set:n,update:(l,o)=>n(l(a,i),o),subscribe:t.subscribe}}function wi(i){let e,t,r,a,n,l,o,s,c;return{c(){e=ye("svg"),t=ye("circle"),n=ye("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",a=i[3]-i[4]/2),u(n,"d",l=i[9](i[7])),u(n,"stroke-width",i[4]),u(n,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(n,"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){p(d,e,f),m(e,t),m(e,n)},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&&a!==(a=d[3]-d[4]/2)&&u(t,"r",a),f&128&&l!==(l=d[9](d[7]))&&u(n,"d",l),f&16&&u(n,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(n,"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&&E(e)}}}function bn(i){let e,t=i[6]&&wi(i);return{c(){t&&t.c(),e=we(),this.c=x},m(r,a){t&&t.m(r,a),p(r,e,a)},p(r,[a]){r[6]?t?t.p(r,a):(t=wi(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&&E(e)}}}function vn(i,e,t){let r,a,n,l,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,k="infinite";const y=mn(0,{duration:500,easing:Dr});Ci(i,y,v=>t(7,s=v));function _(v){const z=n+l*Math.cos(v),D=n+l*Math.sin(v);return z+" "+D}function w(v){switch(k){case"progress":{const z=_(-Math.PI/2),D=_(-Math.PI/2+2*Math.PI*(v/100)),T=v%100<50?0:1;return`M ${z} A ${l} ${l} 0 ${T} 1 ${D}`}case"infinite":{const z=_(Math.PI*1.5),D=_(0);return`M ${z} A ${l} ${l} 0 1 0 ${D}`}}}return i.$$set=v=>{"size"in v&&t(10,c=v.size),"invert"in v&&t(0,d=v.invert),"progress"in v&&t(11,f=v.progress),"testid"in v&&t(1,h=v.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const v=parseFloat(f+"");v>=0&&(y.set(v||1),t(2,k="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,a=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,l=n-a/2),i.$$.dirty&6148&&t(6,o=k==="infinite"?l:l&&f)},[d,h,k,n,a,r,o,s,y,w,c,f,l]}class yn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},vn,bn,B,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(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",yn);function wn(i){let e,t,r,a,n;return{c(){e=b("table"),t=b("slot"),r=j(),a=b("template"),a.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
99
101
|
<tbody><tr><td></td></tr></tbody>
|
|
100
|
-
<tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",
|
|
102
|
+
<tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",n=`
|
|
101
103
|
${i[0]?`width: ${i[0]};`:""}
|
|
102
|
-
${
|
|
103
|
-
`),
|
|
104
|
-
${
|
|
105
|
-
${
|
|
106
|
-
`)&&u(e,"style",
|
|
107
|
-
${
|
|
104
|
+
${Z(i[2],i[3],i[4],i[5])}
|
|
105
|
+
`),O(e,"sticky",i[7])},m(l,o){p(l,e,o),m(e,t),m(e,r),m(e,a),i[9](e)},p(l,[o]){o&2&&u(e,"class",l[1]),o&61&&n!==(n=`
|
|
106
|
+
${l[0]?`width: ${l[0]};`:""}
|
|
107
|
+
${Z(l[2],l[3],l[4],l[5])}
|
|
108
|
+
`)&&u(e,"style",n),o&130&&O(e,"sticky",l[7])},i:x,o:x,d(l){l&&E(e),i[9](null)}}}function _n(i,e,t){let r;const[a,n]=W("Table variant",["normal","relaxed"],!0);let{width:l=""}=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,k;q(()=>{n(s),y();const w=k.querySelector("slot");if(!w||w.assignedElements().length===0)return;const v=w.assignedElements()[0].querySelectorAll("template table > *");k.append(...v.length>0?v:w.assignedElements())});async function y(){await ge();const w=k.querySelectorAll("goa-table-sort-header");w.forEach(v=>{v.addEventListener("click",()=>{const z=v.getAttribute("name");let D;w.forEach(T=>{if(T.getAttribute("name")===z){const A=T.getAttribute("direction")==="desc"?"asc":"desc";D=A==="asc"?1:-1,T.setAttribute("direction",A)}else T.setAttribute("direction","none")}),v.dispatchEvent(new CustomEvent("_sort",{composed:!0,bubbles:!1,cancelable:!0,detail:{sortBy:z,sortDir:D}}))})})}function _(w){te[w?"unshift":"push"](()=>{k=w,t(6,k)})}return i.$$set=w=>{"width"in w&&t(0,l=w.width),"stickyheader"in w&&t(8,o=w.stickyheader),"variant"in w&&t(1,s=w.variant),"mt"in w&&t(2,c=w.mt),"mr"in w&&t(3,d=w.mr),"mb"in w&&t(4,f=w.mb),"ml"in w&&t(5,h=w.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=Q(o))},[l,s,c,d,f,h,k,r,o,_]}class kn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},_n,wn,B,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(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",kn);function pn(i){let e,t;return{c(){e=b("img"),u(e,"alt",i[0]),u(e,"class",i[0]),xe(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjE2IgogICBoZWlnaHQ9IjIyIgogICB2aWV3Qm94PSIwIDAgMTYgMjIiCiAgIGZpbGw9Im5vbmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEwNjgiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEwNzIiIC8+CiAgPHBhdGgKICAgICBkPSJtIDAuNTk0Mzc0NzEsNy45MDkwOTkgNi41NTIxODc5OSw3LjY0NjI1IGMgMC4xMDU2MSwwLjEyMzE4IDAuMjM2NjIsMC4yMjIwNiAwLjM4NDA0LDAuMjg5ODUgMC4xNDc0MiwwLjA2Nzc5IDAuMzA3NzYsMC4xMDI4OSAwLjQ3MDAyLDAuMTAyODkgMC4xNjIyNiwwIDAuMzIyNiwtMC4wMzUxIDAuNDcwMDIsLTAuMTAyODkgMC4xNDc0MiwtMC4wNjc3OSAwLjI3ODQzLC0wLjE2NjY3IDAuMzg0MDQsLTAuMjg5ODUgbCA2LjU1MjE4MDMsLTcuNjQ2MjUgYyAwLjYyNTMsLTAuNzI5ODQgMC4xMDY5LC0xLjg1NzE4OCAtMC44NTQxLC0xLjg1NzE4OCBIIDEuNDQ2NTYyNyBjIC0wLjk2MDkzNzk5LDAgLTEuNDc5Mzc1NjksMS4xMjczNDggLTAuODUyMTg3OTksMS44NTcxODggeiIKICAgICBmaWxsPSIjMDA3MGM0IgogICAgIGlkPSJwYXRoMTA2NiIgLz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,a){p(r,e,a)},p(r,a){a&1&&u(e,"alt",r[0]),a&1&&u(e,"class",r[0])},d(r){r&&E(e)}}}function xn(i){let e,t;return{c(){e=b("img"),u(e,"alt","not sorted"),xe(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMTUuMzU5ODg3IgogICBoZWlnaHQ9IjIxLjg0NDI1IgogICB2aWV3Qm94PSIwIDAgNC4wNjM5NzAxIDUuNzc5NjI0NCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNTE3IgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM1MTQiIC8+CiAgPGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05LjM0NTE0MDMsLTguNzQ0OTg2NikiPgogICAgPHBhdGgKICAgICAgIGQ9Im0gOS40MTc3Njg0LDEyLjM5NzYzMSAxLjczMzU5ODYsMi4wMjMwNyBjIDAuMDI3OTQsMC4wMzI1OSAwLjA2MjYxLDAuMDU4NzUgMC4xMDE2MTEsMC4wNzY2OSAwLjAzOSwwLjAxNzk0IDAuMDgxNDMsMC4wMjcyMiAwLjEyNDM1OSwwLjAyNzIyIDAuMDQyOTMsMCAwLjA4NTM1LC0wLjAwOTMgMC4xMjQzNiwtMC4wMjcyMiAwLjAzOSwtMC4wMTc5NCAwLjA3MzY3LC0wLjA0NDEgMC4xMDE2MSwtMC4wNzY2OSBsIDEuNzMzNTk4LC0yLjAyMzA3IGMgMC4xNjU0NDQsLTAuMTkzMTA0IDAuMDI4MjgsLTAuNDkxMzgxIC0wLjIyNTk4MSwtMC40OTEzODEgSCA5LjY0MzI0MjQgYyAtMC4yNTQyNDgsMCAtMC4zOTE0MTgsMC4yOTgyNzcgLTAuMjI1NDc0LDAuNDkxMzgxIHoiCiAgICAgICBmaWxsPSIjYWRhZGFkIgogICAgICAgaWQ9InBhdGgzMzUiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gMTMuMzM2NDk0LDEwLjg3MTk2OCAxMS42MDI4ODksOC44NDg4OTY2IGMgLTAuMDI3OTQsLTAuMDMyNTkgLTAuMDYyNjEsLTAuMDU4NzUgLTAuMTAxNjExLC0wLjA3NjY5IC0wLjAzOSwtMC4wMTc5NCAtMC4wODE0MywtMC4wMjcyMiAtMC4xMjQzNTksLTAuMDI3MjIgLTAuMDQyOTMsMCAtMC4wODUzNSwwLjAwOTMgLTAuMTI0MzYsMC4wMjcyMiAtMC4wMzkwMSwwLjAxNzk0IC0wLjA3MzY3LDAuMDQ0MSAtMC4xMDE2MTMsMC4wNzY2OSBMIDkuNDE3MzQ3MSwxMC44NzE5NjggYyAtMC4xNjU0NDcsMC4xOTMxMDMgLTAuMDI4MjgsMC40OTEzNzkgMC4yMjU5NzEsMC40OTEzNzkgaCAzLjQ2NzY5NzkgYyAwLjI1NDIzOCwwIDAuMzkxNDI1LC0wLjI5ODI3NiAwLjIyNTQ3OCwtMC40OTEzNzkgeiIKICAgICAgIGZpbGw9IiNhZGFkYWQiCiAgICAgICBpZD0icGF0aDIiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogIDwvZz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,a){p(r,e,a)},p:x,d(r){r&&E(e)}}}function zn(i){let e,t,r;function a(o,s){return o[0]==="none"?xn:pn}let n=a(i),l=n(i);return{c(){e=b("button"),t=b("slot"),r=j(),l.c(),this.c=x},m(o,s){p(o,e,s),m(e,t),m(e,r),l.m(e,null)},p(o,[s]){n===(n=a(o))&&l?l.p(o,s):(l.d(1),l=n(o),l&&(l.c(),l.m(e,null)))},i:x,o:x,d(o){o&&E(e),l.d()}}}function Mn(i,e,t){let{direction:r="none"}=e;return i.$$set=a=>{"direction"in a&&t(0,r=a.direction)},[r]}class Cn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Mn,zn,B,{direction:0},null),e&&(e.target&&p(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",Cn);function En(i){let e,t,r,a,n,l,o;return{c(){e=b("div"),t=b("textarea"),a=j(),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]),O(t,"error",i[14]),u(e,"class","container"),u(e,"style",n=`
|
|
109
|
+
${Z(i[7],i[8],i[9],i[10])};
|
|
108
110
|
--width: ${i[5]};
|
|
109
|
-
`)},m(s,c){p(s,e,c),m(e,t),m(e,
|
|
110
|
-
${
|
|
111
|
+
`)},m(s,c){p(s,e,c),m(e,t),m(e,a),l||(o=U(t,"keyup",i[15]),l=!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&&O(t,"error",s[14]),c&1952&&n!==(n=`
|
|
112
|
+
${Z(s[7],s[8],s[9],s[10])};
|
|
111
113
|
--width: ${s[5]};
|
|
112
|
-
`)&&u(e,"style",
|
|
113
|
-
}.error:hover,.error:focus
|
|
114
|
+
`)&&u(e,"style",n)},i:x,o:x,d(s){s&&E(e),l=!1,o()}}}function An(i,e,t){let r,a,n,{name:l}=e,{value:o=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:k="false"}=e,{disabled:y="false"}=e,{arialabel:_=""}=e,{mt:w=null}=e,{mr:v=null}=e,{mb:z=null}=e,{ml:D=null}=e,{maxcharcount:T=0}=e;function C(A){const N=A.target.value;a||(A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:A,name:l,value:N}})),A.stopPropagation())}return i.$$set=A=>{"name"in A&&t(0,l=A.name),"value"in A&&t(1,o=A.value),"placeholder"in A&&t(2,s=A.placeholder),"rows"in A&&t(3,c=A.rows),"testid"in A&&t(4,d=A.testid),"width"in A&&t(5,f=A.width),"error"in A&&t(16,h=A.error),"readonly"in A&&t(17,k=A.readonly),"disabled"in A&&t(18,y=A.disabled),"arialabel"in A&&t(6,_=A.arialabel),"mt"in A&&t(7,w=A.mt),"mr"in A&&t(8,v=A.mr),"mb"in A&&t(9,z=A.mb),"ml"in A&&t(10,D=A.ml),"maxcharcount"in A&&t(11,T=A.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=Q(h)),i.$$.dirty&262144&&t(12,a=Q(y)),i.$$.dirty&131072&&t(13,n=Q(k))},[l,o,s,c,d,f,_,w,v,z,D,T,a,n,r,C,h,k,y]}class Ln extends P{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)
|
|
115
|
+
}.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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},An,En,B,{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&&p(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",Ln);function Tn(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
114
116
|
|
|
115
117
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
116
118
|
|
|
117
119
|
<main><slot></slot></main>
|
|
118
120
|
|
|
119
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&
|
|
121
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&E(e)}}}class In extends P{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"
|
|
120
122
|
"content"
|
|
121
123
|
"nav"
|
|
122
124
|
"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"
|
|
123
125
|
"nav content"
|
|
124
|
-
"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>`,
|
|
126
|
+
"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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Tn,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",In);function Nn(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
125
127
|
|
|
126
128
|
<main><slot></slot></main>
|
|
127
129
|
|
|
128
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&
|
|
130
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&E(e)}}}class Dn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Nn,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",Dn);function jn(i){let e,t,r,a,n,l,o;return{c(){e=b("div"),t=b("header"),t.innerHTML='<slot name="header"></slot>',r=j(),a=b("section"),a.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
129
131
|
|
|
130
|
-
<main><slot></slot></main>`,
|
|
132
|
+
<main><slot></slot></main>`,n=j(),l=b("footer"),l.innerHTML='<slot name="footer"></slot>',this.c=x,u(t,"class","header"),u(a,"class","content"),u(l,"class","footer"),u(e,"class","page"),u(e,"style",o=`
|
|
131
133
|
--max-content-width: ${i[1]||"100%"};
|
|
132
134
|
--nav-column-width: ${i[0]||"256px"};
|
|
133
|
-
`)},m(s,c){p(s,e,c),m(e,t),m(e,r),m(e,
|
|
135
|
+
`)},m(s,c){p(s,e,c),m(e,t),m(e,r),m(e,a),m(e,n),m(e,l)},p(s,[c]){c&3&&o!==(o=`
|
|
134
136
|
--max-content-width: ${s[1]||"100%"};
|
|
135
137
|
--nav-column-width: ${s[0]||"256px"};
|
|
136
|
-
`)&&u(e,"style",
|
|
138
|
+
`)&&u(e,"style",o)},i:x,o:x,d(s){s&&E(e)}}}function Rn(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=n=>{"navcolumnwidth"in n&&t(0,r=n.navcolumnwidth),"maxcontentwidth"in n&&t(1,a=n.maxcontentwidth)},[r,a]}class Hn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Rn,jn,B,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&p(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",Hn)});
|