@abgov/web-components 1.0.0-alpha.172 → 1.0.0-alpha.173
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/package.json +1 -1
- package/web-components.es.js +5 -5
- package/web-components.umd.js +4 -4
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -1771,7 +1771,7 @@ function instance$F($$self, $$props, $$invalidate) {
|
|
|
1771
1771
|
let { ml = null } = $$props;
|
|
1772
1772
|
|
|
1773
1773
|
onMount(() => {
|
|
1774
|
-
validateType(type);
|
|
1774
|
+
setTimeout(() => validateType(type), 1);
|
|
1775
1775
|
|
|
1776
1776
|
if (!showIcon && !content) {
|
|
1777
1777
|
console.warn("GoABadge must have either then content or icon property set");
|
|
@@ -2888,7 +2888,7 @@ function instance$B($$self, $$props, $$invalidate) {
|
|
|
2888
2888
|
let { testid = "" } = $$props;
|
|
2889
2889
|
|
|
2890
2890
|
onMount(() => {
|
|
2891
|
-
validateType(type);
|
|
2891
|
+
setTimeout(() => validateType(type), 1);
|
|
2892
2892
|
});
|
|
2893
2893
|
|
|
2894
2894
|
$$self.$$set = $$props => {
|
|
@@ -10257,7 +10257,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
10257
10257
|
let { feedbackurl = "" } = $$props;
|
|
10258
10258
|
|
|
10259
10259
|
onMount(() => {
|
|
10260
|
-
validateType(type);
|
|
10260
|
+
setTimeout(() => validateType(type), 1);
|
|
10261
10261
|
});
|
|
10262
10262
|
|
|
10263
10263
|
$$self.$$set = $$props => {
|
|
@@ -11160,7 +11160,7 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
11160
11160
|
let show = true;
|
|
11161
11161
|
|
|
11162
11162
|
onMount(() => {
|
|
11163
|
-
validateType(type);
|
|
11163
|
+
setTimeout(() => validateType(type), 1);
|
|
11164
11164
|
});
|
|
11165
11165
|
|
|
11166
11166
|
function close(e) {
|
|
@@ -13366,7 +13366,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
13366
13366
|
let { ml = null } = $$props;
|
|
13367
13367
|
|
|
13368
13368
|
onMount(() => {
|
|
13369
|
-
validateType(type);
|
|
13369
|
+
setTimeout(() => validateType(type), 1);
|
|
13370
13370
|
validateSize(size);
|
|
13371
13371
|
});
|
|
13372
13372
|
|
package/web-components.umd.js
CHANGED
|
@@ -5,7 +5,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
5
5
|
}`,f=`__svelte_${Yi(d)}_${a}`,h=vt(i),{stylesheet:y,rules:w}=Ve.get(h)||Fi(h,i);w[f]||(w[f]=!0,y.insertRule(`@keyframes ${f} ${d}`,y.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${n}ms 1 both`,qe+=1,f}function Ue(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),qe-=n,qe||Vi())}function Vi(){at(()=>{qe||(Ve.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&M(e)}),Ve.clear())})}let He;function je(i){He=i}function yt(){if(!He)throw new Error("Function called outside component initialization");return He}function Q(i){yt().$$.on_mount.push(i)}function wt(i){yt().$$.on_destroy.push(i)}const Re=[],X=[],We=[],_t=[],pt=Promise.resolve();let lt=!1;function kt(){lt||(lt=!0,pt.then(g))}function me(){return kt(),pt}function be(i){We.push(i)}const st=new Set;let Ke=0;function g(){const i=He;do{for(;Ke<Re.length;){const e=Re[Ke];Ke++,je(e),qi(e.$$)}for(je(null),Re.length=0,Ke=0;X.length;)X.pop()();for(let e=0;e<We.length;e+=1){const t=We[e];st.has(t)||(st.add(t),t())}We.length=0}while(Re.length);for(;_t.length;)_t.pop()();lt=!1,st.clear(),je(i)}function qi(i){if(i.fragment!==null){i.update(),le(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(be)}}let Se;function ct(){return Se||(Se=Promise.resolve(),Se.then(()=>{Se=null})),Se}function pe(i,e,t){i.dispatchEvent(Gi(`${e?"intro":"outro"}${t}`))}const Xe=new Set;let ve;function Ce(){ve={r:0,c:[],p:ve}}function Me(){ve.r||le(ve.c),ve=ve.p}function K(i,e){i&&i.i&&(Xe.delete(i),i.i(e))}function ee(i,e,t,r){if(i&&i.o){if(Xe.has(i))return;Xe.add(i),ve.c.push(()=>{Xe.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const dt={duration:0};function xt(i,e,t){let r=e(i,t),n=!1,l,o,a=0;function s(){l&&Ue(i,l)}function c(){const{delay:f=0,duration:h=300,easing:y=Ne,tick:w=x,css:v}=r||dt;v&&(l=Qe(i,0,1,h,f,y,v,a++)),w(0,1);const _=Ye()+f,p=_+h;o&&o.abort(),n=!0,be(()=>pe(i,!0,"start")),o=Fe(C=>{if(n){if(C>=p)return w(1,0),pe(i,!0,"end"),s(),n=!1;if(C>=_){const L=y((C-_)/h);w(L,1-L)}}return n})}let d=!1;return{start(){d||(d=!0,Ue(i),ye(r)?(r=r(),ct().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function Et(i,e,t){let r=e(i,t),n=!0,l;const o=ve;o.r+=1;function a(){const{delay:s=0,duration:c=300,easing:d=Ne,tick:f=x,css:h}=r||dt;h&&(l=Qe(i,1,0,c,s,d,h));const y=Ye()+s,w=y+c;be(()=>pe(i,!1,"start")),Fe(v=>{if(n){if(v>=w)return f(0,1),pe(i,!1,"end"),--o.r||le(o.c),!1;if(v>=y){const _=d((v-y)/c);f(1-_,_)}}return n})}return ye(r)?ct().then(()=>{r=r(),a()}):a(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&Ue(i,l),n=!1)}}}function Je(i,e,t,r){let n=e(i,t),l=r?0:1,o=null,a=null,s=null;function c(){s&&Ue(i,s)}function d(h,y){const w=h.b-l;return y*=Math.abs(w),{a:l,b:h.b,d:w,duration:y,start:h.start,end:h.start+y,group:h.group}}function f(h){const{delay:y=0,duration:w=300,easing:v=Ne,tick:_=x,css:p}=n||dt,C={start:Ye()+y,b:h};h||(C.group=ve,ve.r+=1),o||a?a=C:(p&&(c(),s=Qe(i,l,h,w,y,v,p)),h&&_(0,1),o=d(C,w),be(()=>pe(i,h,"start")),Fe(L=>{if(a&&L>a.start&&(o=d(a,w),a=null,pe(i,o.b,"start"),p&&(c(),s=Qe(i,l,o.b,o.duration,0,v,n.css))),o){if(L>=o.end)_(l=o.b,1-l),pe(i,o.b,"end"),a||(o.b?c():--o.group.r||le(o.group.c)),o=null;else if(L>=o.start){const I=L-o.start;l=o.a+o.d*v(I/o.duration),_(l,1-l)}}return!!(o||a)}))}return{run(h){ye(n)?ct().then(()=>{n=n(),f(h)}):f(h)},end(){c(),o=a=null}}}function zt(i,e){i.d(1),e.delete(i.key)}function Ct(i,e,t,r,n,l,o,a,s,c,d,f){let h=i.length,y=l.length,w=h;const v={};for(;w--;)v[i[w].key]=w;const _=[],p=new Map,C=new Map;for(w=y;w--;){const T=f(n,l,w),A=t(T);let H=o.get(A);H?r&&H.p(T,e):(H=c(A,T),H.c()),p.set(A,_[w]=H),A in v&&C.set(A,Math.abs(w-v[A]))}const L=new Set,I=new Set;function z(T){K(T,1),T.m(a,d),o.set(T.key,T),d=T.first,y--}for(;h&&y;){const T=_[y-1],A=i[h-1],H=T.key,N=A.key;T===A?(d=T.first,h--,y--):p.has(N)?!o.has(H)||L.has(H)?z(T):I.has(N)?h--:C.get(H)>C.get(N)?(I.add(H),z(T)):(L.add(N),h--):(s(A,o),h--)}for(;h--;){const T=i[h];p.has(T.key)||s(T,o)}for(;y;)z(_[y-1]);return _}function ue(i){i&&i.c()}function se(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||be(()=>{const o=i.$$.on_mount.map(nt).filter(ye);i.$$.on_destroy?i.$$.on_destroy.push(...o):le(o),i.$$.on_mount=[]}),l.forEach(be)}function ce(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 Qi(i,e){i.$$.dirty[0]===-1&&(Re.push(i),kt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function G(i,e,t,r,n,l,o,a=[-1]){const s=He;je(i);const c=i.$$={fragment:null,ctx:[],props:l,update:x,not_equal:n,bound:ht(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:ht(),dirty:a,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,...y)=>{const w=y.length?y[0]:h;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),d&&Qi(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=Pi(e.target);c.fragment&&c.fragment.l(f),f.forEach(M)}else c.fragment&&c.fragment.c();e.intro&&K(i.$$.fragment),se(i,e.target,e.anchor,e.customElement),g()}je(s)}let B;typeof HTMLElement=="function"&&(B=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(nt).filter(ye);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){le(this.$$.on_disconnect)}$destroy(){ce(this,1),this.$destroy=x}$on(i,e){if(!ye(e))return x;const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!ji(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var va="",ya="",wa="",_a="",pa="";const Ui={"0":"none","1":"3xs","2":"2xs","3":"xs","4":"s","5":"m","6":"l","7":"xl","8":"2xl","9":"3xl","10":"4xl"};function $e(i){return Number.isInteger(+i)?Ui[i]||"":i}function Y(i,e,t,r){return i=$e(i),t=$e(t),r=$e(r),e=$e(e),[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,r&&`margin-left:var(--goa-space-${r});`].join(" ")}function Mt(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(o=>`${o[0]}: ${o[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function q(i){return i==="false"?!1:i===""?!0:!!i}function Wi(i){return i?"true":"false"}function et(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function $(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Ki(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w,v,_,p,C,L,I,z,T;return{c(){e=b("div"),t=b("details"),r=b("summary"),n=b("goa-icon"),o=D(),a=b("div"),s=b("span"),c=F(i[0]),h=D(),y=b("span"),w=F(i[1]),v=D(),_=b("div"),_.innerHTML='<slot name="headingcontent"></slot>',C=D(),L=b("div"),L.innerHTML="<slot></slot>",this.c=x,E(n,"type","chevron-forward"),E(n,"fillcolor",l=i[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(s,"class",d="heading heading-"+i[2]),u(s,"data-testid",f=`${i[3]}-heading`),u(y,"class","secondary-text"),u(_,"class","heading-content"),u(a,"class","title"),u(r,"class",p=`container-${i[2]}`),u(L,"class","content"),t.open=i[9],u(e,"style",I=Y(i[4],i[5],i[6],i[7])),u(e,"class",`
|
|
6
6
|
goa-accordion
|
|
7
7
|
`),u(e,"data-testid",i[3])},m(A,H){k(A,e,H),m(e,t),m(t,r),m(r,n),m(r,o),m(r,a),m(a,s),m(s,c),m(a,h),m(a,y),m(y,w),m(a,v),m(a,_),m(t,C),m(t,L),z||(T=[U(r,"mouseover",i[11]),U(r,"mouseout",i[12]),U(r,"focus",i[13]),U(r,"blur",i[14])],z=!0)},p(A,[H]){H&256&&l!==(l=A[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&E(n,"fillcolor",l),H&1&&W(c,A[0]),H&4&&d!==(d="heading heading-"+A[2])&&u(s,"class",d),H&8&&f!==(f=`${A[3]}-heading`)&&u(s,"data-testid",f),H&2&&W(w,A[1]),H&4&&p!==(p=`container-${A[2]}`)&&u(r,"class",p),H&512&&(t.open=A[9]),H&240&&I!==(I=Y(A[4],A[5],A[6],A[7]))&&u(e,"style",I),H&8&&u(e,"data-testid",A[3])},i:x,o:x,d(A){A&&M(e),z=!1,le(T)}}}function Xi(i,e,t){let r;const[n,l]=$("Accordion heading size",["small","medium"]);let{open:o="false"}=e,{heading:a=""}=e,{secondarytext:s=""}=e,{headingsize:c="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:y="xs"}=e,{ml:w=null}=e,v=!1;Q(()=>{et("GoAAccordion",{heading:a}),l(c)});const _=()=>t(8,v=!0),p=()=>t(8,v=!1),C=()=>t(8,v=!1),L=()=>t(8,v=!1);return i.$$set=I=>{"open"in I&&t(10,o=I.open),"heading"in I&&t(0,a=I.heading),"secondarytext"in I&&t(1,s=I.secondarytext),"headingsize"in I&&t(2,c=I.headingsize),"testid"in I&&t(3,d=I.testid),"mt"in I&&t(4,f=I.mt),"mr"in I&&t(5,h=I.mr),"mb"in I&&t(6,y=I.mb),"ml"in I&&t(7,w=I.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,r=q(o))},[a,s,c,d,f,h,y,w,v,r,o,_,p,C,L]}class Ji extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-accordion,.goa-accordion *{box-sizing:border-box}summary{min-height:3.5rem;border-width:var(--goa-border-width-s);border-style:solid;border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-text-default);;;padding:0.875rem 1rem 0 0;cursor:pointer;list-style:none;display:flex;align-items:flex-start;position:relative}summary.container-medium{min-height:4rem}summary::marker,summary::-webkit-details-marker{display:none}summary .title{display:flex;align-items:center;flex:1}.title span{padding-bottom:var(--goa-space-3xs, 0)}summary .heading{font:var(--goa-typography-heading-s);padding-right:1rem}summary .secondary-text{font:var(--goa-typography-body-s);line-height:1.5rem;padding-right:1rem}summary .heading-content{flex:1
|
|
8
|
-
}.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}.content ::slotted(p:last-child){margin-bottom:0 !important}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xi,Ki,O,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",Ji);function $i(i){let e,t,r,n,l,o,a,s,c;return{c(){e=b("div"),t=b("img"),n=D(),l=b("img"),a=D(),s=b("span"),c=F(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ee(l.src,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(l,"src",o),u(s,"class","title"),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,l),m(e,a),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0])},d(d){d&&M(e)}}}function er(i){let e,t,r,n,l,o,a,s,c;return{c(){e=b("a"),t=b("img"),n=D(),l=b("img"),a=D(),s=b("span"),c=F(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ee(l.src,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(l,"src",o),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,l),m(e,a),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&M(e)}}}function tr(i){let e,t,r,n,l;function o(c,d){return c[1]?er:$i}let a=o(i),s=a(i);return{c(){e=b("div"),t=b("div"),s.c(),r=D(),n=b("div"),n.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){k(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[d]){a===(a=o(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:x,o:x,d(c){c&&M(e),s.d()}}}function ir(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:o=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,n=a.url),"testid"in a&&t(2,l=a.testid),"maxcontentwidth"in a&&t(3,o=a.maxcontentwidth)},[r,n,l,o]}class rr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ir,tr,O,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",rr);function nr(i){let e;return{c(){e=b("div"),J(e,"height","1.2rem"),J(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function or(i){let e;return{c(){e=b("goa-icon"),E(e,"type",i[8]),E(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&256&&E(e,"type",t[8])},d(t){t&&M(e)}}}function Lt(i){let e,t;return{c(){e=b("div"),t=F(i[2]),u(e,"class","goa-badge-content")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&4&&W(t,r[2])},d(r){r&&M(e)}}}function ar(i){let e,t,r,n;function l(c,d){return c[7]?or:nr}let o=l(i),a=o(i),s=i[2]&&Lt(i);return{c(){e=b("div"),a.c(),t=D(),s&&s.c(),this.c=x,u(e,"style",r=Y(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),Z(e,"icon-only",i[7]&&!i[2])},m(c,d){k(c,e,d),a.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){o===(o=l(c))&&a?a.p(c,d):(a.d(1),a=o(c),a&&(a.c(),a.m(e,t))),c[2]?s?s.p(c,d):(s=Lt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=Y(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&Z(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&M(e),a.d(),s&&s.d()}}}function lr(i,e,t){let r,n;const[l,o]=$("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:a}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:y=null}=e,{ml:w=null}=e;return Q(()=>{o(a),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=v=>{"type"in v&&t(0,a=v.type),"testid"in v&&t(1,s=v.testid),"content"in v&&t(2,c=v.content),"icon"in v&&t(9,d=v.icon),"mt"in v&&t(3,f=v.mt),"mr"in v&&t(4,h=v.mr),"mb"in v&&t(5,y=v.mb),"ml"in v&&t(6,w=v.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(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"}[a])},[a,s,c,f,h,y,w,r,n,d]}class sr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},lr,ar,O,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",sr);function cr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
|
|
8
|
+
}.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}.content ::slotted(p:last-child){margin-bottom:0 !important}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xi,Ki,O,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",Ji);function $i(i){let e,t,r,n,l,o,a,s,c;return{c(){e=b("div"),t=b("img"),n=D(),l=b("img"),a=D(),s=b("span"),c=F(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ee(l.src,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(l,"src",o),u(s,"class","title"),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,l),m(e,a),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0])},d(d){d&&M(e)}}}function er(i){let e,t,r,n,l,o,a,s,c;return{c(){e=b("a"),t=b("img"),n=D(),l=b("img"),a=D(),s=b("span"),c=F(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ee(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ee(l.src,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(l,"src",o),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){k(d,e,f),m(e,t),m(e,n),m(e,l),m(e,a),m(e,s),m(s,c)},p(d,f){f&1&&W(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&M(e)}}}function tr(i){let e,t,r,n,l;function o(c,d){return c[1]?er:$i}let a=o(i),s=a(i);return{c(){e=b("div"),t=b("div"),s.c(),r=D(),n=b("div"),n.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){k(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[d]){a===(a=o(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:x,o:x,d(c){c&&M(e),s.d()}}}function ir(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:o=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,n=a.url),"testid"in a&&t(2,l=a.testid),"maxcontentwidth"in a&&t(3,o=a.maxcontentwidth)},[r,n,l,o]}class rr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ir,tr,O,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",rr);function nr(i){let e;return{c(){e=b("div"),J(e,"height","1.2rem"),J(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function or(i){let e;return{c(){e=b("goa-icon"),E(e,"type",i[8]),E(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&256&&E(e,"type",t[8])},d(t){t&&M(e)}}}function Lt(i){let e,t;return{c(){e=b("div"),t=F(i[2]),u(e,"class","goa-badge-content")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&4&&W(t,r[2])},d(r){r&&M(e)}}}function ar(i){let e,t,r,n;function l(c,d){return c[7]?or:nr}let o=l(i),a=o(i),s=i[2]&&Lt(i);return{c(){e=b("div"),a.c(),t=D(),s&&s.c(),this.c=x,u(e,"style",r=Y(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),Z(e,"icon-only",i[7]&&!i[2])},m(c,d){k(c,e,d),a.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){o===(o=l(c))&&a?a.p(c,d):(a.d(1),a=o(c),a&&(a.c(),a.m(e,t))),c[2]?s?s.p(c,d):(s=Lt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=Y(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&Z(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&M(e),a.d(),s&&s.d()}}}function lr(i,e,t){let r,n;const[l,o]=$("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:a}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:y=null}=e,{ml:w=null}=e;return Q(()=>{setTimeout(()=>o(a),1),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=v=>{"type"in v&&t(0,a=v.type),"testid"in v&&t(1,s=v.testid),"content"in v&&t(2,c=v.content),"icon"in v&&t(9,d=v.icon),"mt"in v&&t(3,f=v.mt),"mr"in v&&t(4,h=v.mr),"mb"in v&&t(5,y=v.mb),"ml"in v&&t(6,w=v.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(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"}[a])},[a,s,c,f,h,y,w,r,n,d]}class sr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},lr,ar,O,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",sr);function cr(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
9
|
${Y(i[3],i[4],i[5],i[6])};
|
|
10
10
|
--gap: var(--goa-space-${i[0]});
|
|
11
11
|
--alignment: ${i[2]};
|
|
@@ -16,7 +16,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
16
16
|
--alignment: ${n[2]};
|
|
17
17
|
--direction: ${n[1]};
|
|
18
18
|
`)&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function dr(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:l="start"}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,l=d.alignment),"mt"in d&&t(3,o=d.mt),"mr"in d&&t(4,a=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,l,o,a,s,c]}class ur extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},dr,cr,O,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),g()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-block",ur);function fr(i){let e,t,r,n,l=i[3]&&At(i),o=i[4]&&Tt(i);return{c(){l&&l.c(),e=D(),t=b("span"),t.innerHTML="<slot></slot>",r=D(),o&&o.c(),n=_e(),u(t,"class","text")},m(a,s){l&&l.m(a,s),k(a,e,s),k(a,t,s),k(a,r,s),o&&o.m(a,s),k(a,n,s)},p(a,s){a[3]?l?l.p(a,s):(l=At(a),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),a[4]?o?o.p(a,s):(o=Tt(a),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null)},d(a){l&&l.d(a),a&&M(e),a&&M(t),a&&M(r),o&&o.d(a),a&&M(n)}}}function gr(i){let e,t,r;return{c(){e=b("span"),e.innerHTML="<slot></slot>",t=D(),r=b("goa-icon"),u(e,"class","text"),E(r,"id","trailing-icon"),E(r,"type","arrow-forward"),E(r,"inverted","true")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},p:x,d(n){n&&M(e),n&&M(t),n&&M(r)}}}function At(i){let e;return{c(){e=b("goa-icon"),E(e,"id","leading-icon"),E(e,"type",i[3]),E(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&8&&E(e,"type",t[3]),r&2048&&E(e,"inverted",t[11])},d(t){t&&M(e)}}}function Tt(i){let e;return{c(){e=b("goa-icon"),E(e,"id","trailing-icon"),E(e,"type",i[4]),E(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&16&&E(e,"type",t[4]),r&2048&&E(e,"inverted",t[11])},d(t){t&&M(e)}}}function hr(i){let e,t,r,n,l;function o(c,d){return c[0]==="start"?gr:fr}let a=o(i),s=a(i);return{c(){e=b("button"),s.c(),this.c=x,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=Y(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),Z(e,"leading",i[3]),Z(e,"trailing",i[4]||i[0]==="start")},m(c,d){k(c,e,d),s.m(e,null),n||(l=[U(e,"click",i[12]),U(e,"click",i[12])],n=!0)},p(c,[d]){a===(a=o(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&r!==(r=Y(c[6],c[7],c[8],c[9]))&&u(e,"style",r),d&1024&&(e.disabled=c[10]),d&32&&u(e,"data-testid",c[5]),d&15&&Z(e,"leading",c[3]),d&23&&Z(e,"trailing",c[4]||c[0]==="start")},i:x,o:x,d(c){c&&M(e),s.d(),n=!1,le(l)}}}function mr(i,e,t){let r,n;const[l,o]=$("Button type",["primary","submit","secondary","tertiary","start"],!0),[a,s]=$("Button size",["normal","compact"],!0),[c,d]=$("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:y="normal"}=e,{disabled:w="false"}=e,{leadingicon:v=null}=e,{trailingicon:_=null}=e,{testid:p=""}=e,{mt:C=null}=e,{mr:L=null}=e,{mb:I=null}=e,{ml:z=null}=e;function T(A){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return Q(()=>{o(f),s(h),d(y)}),i.$$set=A=>{"type"in A&&t(0,f=A.type),"size"in A&&t(1,h=A.size),"variant"in A&&t(2,y=A.variant),"disabled"in A&&t(13,w=A.disabled),"leadingicon"in A&&t(3,v=A.leadingicon),"trailingicon"in A&&t(4,_=A.trailingicon),"testid"in A&&t(5,p=A.testid),"mt"in A&&t(6,C=A.mt),"mr"in A&&t(7,L=A.mr),"mb"in A&&t(8,I=A.mb),"ml"in A&&t(9,z=A.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=q(w)),i.$$.dirty&1&&t(11,n=f==="primary"||f==="start")},[f,h,y,v,_,p,C,L,I,z,r,n,T,w]}class br extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
19
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mr,hr,O,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",br);function vr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(Y(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&2&&u(e,"data-testid",n[1]),l&125&&r!==(r=""+(Y(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function yr(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:o=""}=e,{mt:a=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=$("alignment",["start","end","center"]),[y,w]=$("gap",["relaxed","compact"]);return Q(()=>{h(n),w(l)}),i.$$set=v=>{"alignment"in v&&t(7,n=v.alignment),"gap"in v&&t(0,l=v.gap),"testid"in v&&t(1,o=v.testid),"mt"in v&&t(2,a=v.mt),"mr"in v&&t(3,s=v.mr),"mb"in v&&t(4,c=v.mb),"ml"in v&&t(5,d=v.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,o,a,s,c,d,r,n]}class wr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yr,vr,O,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",wr);function It(i){let e,t;return{c(){e=b("h3"),t=F(i[5])},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&32&&W(t,r[5])},d(r){r&&M(e)}}}function _r(i){let e,t,r,n,l,o,a,s,c,d,f=i[5]&&It(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),o=D(),a=b("span"),f&&f.c(),s=D(),c=b("slot"),this.c=x,E(r,"type",i[7]),E(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(a,"class","content"),u(e,"style",d=Y(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,y){k(h,e,y),m(e,t),m(t,r),m(e,o),m(e,a),f&&f.m(a,null),m(a,s),m(a,c)},p(h,[y]){y&128&&E(r,"type",h[7]),y&16&&n!==(n=h[4]==="important"?"false":"true")&&E(r,"inverted",n),y&16&&l!==(l="icon "+h[4])&&u(t,"class",l),h[5]?f?f.p(h,y):(f=It(h),f.c(),f.m(a,s)):f&&(f.d(1),f=null),y&15&&d!==(d=Y(h[0],h[1],h[2],h[3]))&&u(e,"style",d),y&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&M(e),f&&f.d()}}}function pr(i,e,t){let r;const[n,l]=$("Callout type",["emergency","important","information","event","success"],!0);let{mt:o=null}=e,{mr:a=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return Q(()=>{l(d)}),i.$$set=y=>{"mt"in y&&t(0,o=y.mt),"mr"in y&&t(1,a=y.mr),"mb"in y&&t(2,s=y.mb),"ml"in y&&t(3,c=y.ml),"type"in y&&t(4,d=y.type),"heading"in y&&t(5,f=y.heading),"testid"in y&&t(6,h=y.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,a,s,c,d,f,h,r]}class kr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},pr,_r,O,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",kr);function xr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Er extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,xr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Er);function zr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Y(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Y(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function Cr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,o=f.mt),"mr"in f&&t(4,a=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,o,a,s,c,d]}class Mr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Cr,zr,O,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",Mr);function Lr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Ar extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Lr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Ar);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Ir extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Tr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Ir);function Nr(i){let e;return{c(){e=b("div"),this.c=x,J(e,"background-image","url("+i[0]+")"),J(e,"height",i[1]),J(e,"background-size","cover"),J(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&J(e,"background-image","url("+t[0]+")"),r&2&&J(e,"height",t[1])},i:x,o:x,d(t){t&&M(e)}}}function Dr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class Hr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Dr,Nr,O,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",Hr);function jr(i){let e,t;return{c(){e=we("svg"),t=we("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&M(e)}}}function Rr(i){let e,t;return{c(){e=we("svg"),t=we("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&M(e)}}}function Sr(i){let e,t,r,n,l,o,a,s,c,d,f,h,y;function w(p,C){if(p[10])return Rr;if(p[9])return jr}let v=w(i),_=v&&v(i);return{c(){e=b("label"),t=b("div"),r=b("input"),o=D(),_&&_.c(),a=D(),s=b("div"),c=b("slot"),d=F(i[1]),this.c=x,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),Z(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Y(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),Z(e,"goa-checkbox--disabled",i[12]),Z(e,"goa-checkbox--error",i[11])},m(p,C){k(p,e,C),m(e,t),m(t,r),m(t,o),_&&_.m(t,null),m(e,a),m(e,s),m(s,c),m(c,d),h||(y=U(r,"change",i[13]),h=!0)},p(p,[C]){C&1&&u(r,"id",p[0]),C&1&&u(r,"name",p[0]),C&512&&(r.checked=p[9]),C&4096&&(r.disabled=p[12]),C&4&&n!==(n=`${p[2]}`)&&(r.value=n),C&17&&l!==(l=p[4]||p[0])&&u(r,"aria-label",l),v!==(v=w(p))&&(_&&_.d(1),_=v&&v(p),_&&(_.c(),_.m(t,null))),C&512&&Z(t,"goa-checkbox--selected",p[9]),C&2&&W(d,p[1]),C&8&&u(e,"data-testid",p[3]),C&1&&u(e,"for",p[0]),C&480&&f!==(f=Y(p[5],p[6],p[7],p[8]))&&u(e,"style",f),C&4096&&Z(e,"goa-checkbox--disabled",p[12]),C&2048&&Z(e,"goa-checkbox--error",p[11])},i:x,o:x,d(p){p&&M(e),_&&_.d(),h=!1,y()}}}function Or(i,e,t){let r,n,l,o,{name:a}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:y=""}=e,{arialabel:w=""}=e,{mt:v=null}=e,{mr:_=null}=e,{mb:p=null}=e,{ml:C=null}=e,L;Q(()=>{L=d});function I(z){const T=!l,A=T?`${L||"checked"}`:"";t(14,s=Wi(T)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,checked:T,value:A}}))}return i.$$set=z=>{"name"in z&&t(0,a=z.name),"checked"in z&&t(14,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,d=z.value),"disabled"in z&&t(15,f=z.disabled),"error"in z&&t(16,h=z.error),"testid"in z&&t(3,y=z.testid),"arialabel"in z&&t(4,w=z.arialabel),"mt"in z&&t(5,v=z.mt),"mr"in z&&t(6,_=z.mr),"mb"in z&&t(7,p=z.mb),"ml"in z&&t(8,C=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=q(f)),i.$$.dirty&65536&&t(11,n=q(h)),i.$$.dirty&16384&&t(9,l=q(s))},t(10,o=!1),[a,c,d,y,w,v,_,p,C,l,o,n,r,I,s,f,h]}class Br extends B{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Or,Sr,O,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Br);function Nt(i){let e;return{c(){e=b("goa-icon"),E(e,"class","leading-icon"),E(e,"size","medium"),E(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&E(e,"type",t[4])},d(t){t&&M(e)}}}function Dt(i){let e,t,r;return{c(){e=b("goa-icon"),E(e,"class","delete-icon"),E(e,"size","medium"),E(e,"theme","filled"),E(e,"type","close-circle"),E(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),E(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){k(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&E(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&E(e,"opacity",r)},d(n){n&&M(e)}}}function Pr(i){let e,t,r,n,l,o,a,s,c=i[4]&&Nt(i),d=i[11]&&Dt(i);return{c(){e=b("div"),c&&c.c(),t=D(),r=b("div"),n=F(i[5]),l=D(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",o=Y(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),Z(e,"deletable",i[11]),Z(e,"error",i[10]),Z(e,"variant",i[6])},m(f,h){k(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,n),m(e,l),d&&d.m(e,null),i[15](e),a||(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])],a=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Nt(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=Dt(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=Y(f[0],f[1],f[2],f[3]))&&u(e,"style",o),h&2048&&Z(e,"deletable",f[11]),h&1024&&Z(e,"error",f[10]),h&64&&Z(e,"variant",f[6])},i:x,o:x,d(f){f&&M(e),c&&c.d(),d&&d.d(),i[15](null),a=!1,le(s)}}}function Gr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e,{leadingicon:a=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,y,w=!1,v,_;function p(H){y.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function C(H){X[H?"unshift":"push"](()=>{y=H,t(8,y)})}const L=H=>_&&p(H),I=()=>t(9,w=!0),z=()=>t(9,w=!1),T=()=>t(9,w=!1),A=()=>t(9,w=!1);return i.$$set=H=>{"mt"in H&&t(0,r=H.mt),"mr"in H&&t(1,n=H.mr),"mb"in H&&t(2,l=H.mb),"ml"in H&&t(3,o=H.ml),"leadingicon"in H&&t(4,a=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,v=q(s)),i.$$.dirty&16384&&t(11,_=q(c))},[r,n,l,o,a,d,f,h,y,w,v,_,p,s,c,C,L,I,z,T,A]}class Zr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gr,Pr,O,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Zr);function Yr(i){const e=i-1;return e*e*e+1}function Fr(i){return Math.pow(i-1,3)*(1-i)+1}function Le(i,{delay:e=0,duration:t=400,easing:r=Ne}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Ht(i,{delay:e=0,duration:t=400,easing:r=Yr,x:n=0,y:l=0,opacity:o=0}={}){const a=getComputedStyle(i),s=+a.opacity,c=a.transform==="none"?"":a.transform,d=s*(1-o);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
19
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mr,hr,O,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",br);function vr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(Y(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&2&&u(e,"data-testid",n[1]),l&125&&r!==(r=""+(Y(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function yr(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:o=""}=e,{mt:a=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=$("alignment",["start","end","center"]),[y,w]=$("gap",["relaxed","compact"]);return Q(()=>{h(n),w(l)}),i.$$set=v=>{"alignment"in v&&t(7,n=v.alignment),"gap"in v&&t(0,l=v.gap),"testid"in v&&t(1,o=v.testid),"mt"in v&&t(2,a=v.mt),"mr"in v&&t(3,s=v.mr),"mb"in v&&t(4,c=v.mb),"ml"in v&&t(5,d=v.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,o,a,s,c,d,r,n]}class wr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yr,vr,O,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",wr);function It(i){let e,t;return{c(){e=b("h3"),t=F(i[5])},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&32&&W(t,r[5])},d(r){r&&M(e)}}}function _r(i){let e,t,r,n,l,o,a,s,c,d,f=i[5]&&It(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),o=D(),a=b("span"),f&&f.c(),s=D(),c=b("slot"),this.c=x,E(r,"type",i[7]),E(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(a,"class","content"),u(e,"style",d=Y(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,y){k(h,e,y),m(e,t),m(t,r),m(e,o),m(e,a),f&&f.m(a,null),m(a,s),m(a,c)},p(h,[y]){y&128&&E(r,"type",h[7]),y&16&&n!==(n=h[4]==="important"?"false":"true")&&E(r,"inverted",n),y&16&&l!==(l="icon "+h[4])&&u(t,"class",l),h[5]?f?f.p(h,y):(f=It(h),f.c(),f.m(a,s)):f&&(f.d(1),f=null),y&15&&d!==(d=Y(h[0],h[1],h[2],h[3]))&&u(e,"style",d),y&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&M(e),f&&f.d()}}}function pr(i,e,t){let r;const[n,l]=$("Callout type",["emergency","important","information","event","success"],!0);let{mt:o=null}=e,{mr:a=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return Q(()=>{setTimeout(()=>l(d),1)}),i.$$set=y=>{"mt"in y&&t(0,o=y.mt),"mr"in y&&t(1,a=y.mr),"mb"in y&&t(2,s=y.mb),"ml"in y&&t(3,c=y.ml),"type"in y&&t(4,d=y.type),"heading"in y&&t(5,f=y.heading),"testid"in y&&t(6,h=y.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,a,s,c,d,f,h,r]}class kr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},pr,_r,O,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",kr);function xr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Er extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,xr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Er);function zr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Y(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Y(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function Cr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,o=f.mt),"mr"in f&&t(4,a=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,o,a,s,c,d]}class Mr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Cr,zr,O,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",Mr);function Lr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Ar extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Lr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Ar);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){k(t,e,r)},p:x,i:x,o:x,d(t){t&&M(e)}}}class Ir extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Tr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Ir);function Nr(i){let e;return{c(){e=b("div"),this.c=x,J(e,"background-image","url("+i[0]+")"),J(e,"height",i[1]),J(e,"background-size","cover"),J(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&J(e,"background-image","url("+t[0]+")"),r&2&&J(e,"height",t[1])},i:x,o:x,d(t){t&&M(e)}}}function Dr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class Hr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Dr,Nr,O,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",Hr);function jr(i){let e,t;return{c(){e=we("svg"),t=we("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&M(e)}}}function Rr(i){let e,t;return{c(){e=we("svg"),t=we("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){k(r,e,n),m(e,t)},d(r){r&&M(e)}}}function Sr(i){let e,t,r,n,l,o,a,s,c,d,f,h,y;function w(p,C){if(p[10])return Rr;if(p[9])return jr}let v=w(i),_=v&&v(i);return{c(){e=b("label"),t=b("div"),r=b("input"),o=D(),_&&_.c(),a=D(),s=b("div"),c=b("slot"),d=F(i[1]),this.c=x,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),Z(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Y(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),Z(e,"goa-checkbox--disabled",i[12]),Z(e,"goa-checkbox--error",i[11])},m(p,C){k(p,e,C),m(e,t),m(t,r),m(t,o),_&&_.m(t,null),m(e,a),m(e,s),m(s,c),m(c,d),h||(y=U(r,"change",i[13]),h=!0)},p(p,[C]){C&1&&u(r,"id",p[0]),C&1&&u(r,"name",p[0]),C&512&&(r.checked=p[9]),C&4096&&(r.disabled=p[12]),C&4&&n!==(n=`${p[2]}`)&&(r.value=n),C&17&&l!==(l=p[4]||p[0])&&u(r,"aria-label",l),v!==(v=w(p))&&(_&&_.d(1),_=v&&v(p),_&&(_.c(),_.m(t,null))),C&512&&Z(t,"goa-checkbox--selected",p[9]),C&2&&W(d,p[1]),C&8&&u(e,"data-testid",p[3]),C&1&&u(e,"for",p[0]),C&480&&f!==(f=Y(p[5],p[6],p[7],p[8]))&&u(e,"style",f),C&4096&&Z(e,"goa-checkbox--disabled",p[12]),C&2048&&Z(e,"goa-checkbox--error",p[11])},i:x,o:x,d(p){p&&M(e),_&&_.d(),h=!1,y()}}}function Or(i,e,t){let r,n,l,o,{name:a}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:y=""}=e,{arialabel:w=""}=e,{mt:v=null}=e,{mr:_=null}=e,{mb:p=null}=e,{ml:C=null}=e,L;Q(()=>{L=d});function I(z){const T=!l,A=T?`${L||"checked"}`:"";t(14,s=Wi(T)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,checked:T,value:A}}))}return i.$$set=z=>{"name"in z&&t(0,a=z.name),"checked"in z&&t(14,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,d=z.value),"disabled"in z&&t(15,f=z.disabled),"error"in z&&t(16,h=z.error),"testid"in z&&t(3,y=z.testid),"arialabel"in z&&t(4,w=z.arialabel),"mt"in z&&t(5,v=z.mt),"mr"in z&&t(6,_=z.mr),"mb"in z&&t(7,p=z.mb),"ml"in z&&t(8,C=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=q(f)),i.$$.dirty&65536&&t(11,n=q(h)),i.$$.dirty&16384&&t(9,l=q(s))},t(10,o=!1),[a,c,d,y,w,v,_,p,C,l,o,n,r,I,s,f,h]}class Br extends B{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Or,Sr,O,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Br);function Nt(i){let e;return{c(){e=b("goa-icon"),E(e,"class","leading-icon"),E(e,"size","medium"),E(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&E(e,"type",t[4])},d(t){t&&M(e)}}}function Dt(i){let e,t,r;return{c(){e=b("goa-icon"),E(e,"class","delete-icon"),E(e,"size","medium"),E(e,"theme","filled"),E(e,"type","close-circle"),E(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),E(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){k(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&E(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&E(e,"opacity",r)},d(n){n&&M(e)}}}function Pr(i){let e,t,r,n,l,o,a,s,c=i[4]&&Nt(i),d=i[11]&&Dt(i);return{c(){e=b("div"),c&&c.c(),t=D(),r=b("div"),n=F(i[5]),l=D(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",o=Y(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),Z(e,"deletable",i[11]),Z(e,"error",i[10]),Z(e,"variant",i[6])},m(f,h){k(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,n),m(e,l),d&&d.m(e,null),i[15](e),a||(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])],a=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Nt(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=Dt(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=Y(f[0],f[1],f[2],f[3]))&&u(e,"style",o),h&2048&&Z(e,"deletable",f[11]),h&1024&&Z(e,"error",f[10]),h&64&&Z(e,"variant",f[6])},i:x,o:x,d(f){f&&M(e),c&&c.d(),d&&d.d(),i[15](null),a=!1,le(s)}}}function Gr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e,{leadingicon:a=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,y,w=!1,v,_;function p(H){y.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function C(H){X[H?"unshift":"push"](()=>{y=H,t(8,y)})}const L=H=>_&&p(H),I=()=>t(9,w=!0),z=()=>t(9,w=!1),T=()=>t(9,w=!1),A=()=>t(9,w=!1);return i.$$set=H=>{"mt"in H&&t(0,r=H.mt),"mr"in H&&t(1,n=H.mr),"mb"in H&&t(2,l=H.mb),"ml"in H&&t(3,o=H.ml),"leadingicon"in H&&t(4,a=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,v=q(s)),i.$$.dirty&16384&&t(11,_=q(c))},[r,n,l,o,a,d,f,h,y,w,v,_,p,s,c,C,L,I,z,T,A]}class Zr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gr,Pr,O,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Zr);function Yr(i){const e=i-1;return e*e*e+1}function Fr(i){return Math.pow(i-1,3)*(1-i)+1}function Le(i,{delay:e=0,duration:t=400,easing:r=Ne}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Ht(i,{delay:e=0,duration:t=400,easing:r=Yr,x:n=0,y:l=0,opacity:o=0}={}){const a=getComputedStyle(i),s=+a.opacity,c=a.transform==="none"?"":a.transform,d=s*(1-o);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
20
20
|
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*l}px);
|
|
21
21
|
opacity: ${s-d*h}`}}function ut(i,e){let t=!1;function r(){if(!n())return;const a=o();t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=a+"px"}function n(){return document.body.style.overflow!=="hidden"}function l(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const a=document.createElement("div");a.style.visibility="hidden",a.style.overflow="scroll",document.body.appendChild(a);const s=document.createElement("div");a.appendChild(s);const c=a.offsetWidth-s.offsetWidth;return a.parentNode.removeChild(a),c}return e.enable&&r(),{update(){e.enable||l()},destroy(){l()}}}function jt(i){let e,t,r,n;const l=[qr,Vr],o=[];function a(s,c){return s[3]?0:s[4]?1:-1}return~(e=a(i))&&(t=o[e]=l[e](i)),{c(){t&&t.c(),r=_e()},m(s,c){~e&&o[e].m(s,c),k(s,r,c),n=!0},p(s,c){let d=e;e=a(s),e===d?~e&&o[e].p(s,c):(t&&(Ce(),ee(o[d],1,1,()=>{o[d]=null}),Me()),~e?(t=o[e],t?t.p(s,c):(t=o[e]=l[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(K(t),n=!0)},o(s){ee(t),n=!1},d(s){~e&&o[e].d(s),s&&M(r)}}}function Vr(i){let e,t,r,n,l=i[0]&&Rt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=D(),l&&l.c(),E(t,"size",i[2]),E(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),Z(e,"inline",i[4])},m(o,a){k(o,e,a),m(e,t),m(e,r),l&&l.m(e,null)},p(o,a){a&4&&E(t,"size",o[2]),a&2&&E(t,"progress",o[1]),o[0]?l?l.p(o,a):(l=Rt(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&4&&n!==(n="spinner-"+o[2])&&u(e,"class",n),a&20&&Z(e,"inline",o[4])},i:x,o:x,d(o){o&&M(e),l&&l.d()}}}function qr(i){let e,t,r,n,l,o,a,s=i[0]&&St(i);return{c(){e=b("div"),t=b("goa-spinner"),r=D(),s&&s.c(),E(t,"size",i[2]),E(t,"progress",i[1]),Z(e,"fullscreen",i[3])},m(c,d){k(c,e,d),m(e,t),m(e,r),s&&s.m(e,null),l=!0,o||(a=ot(ut.call(null,e,{enable:!0})),o=!0)},p(c,d){(!l||d&4)&&E(t,"size",c[2]),(!l||d&2)&&E(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=St(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||d&8)&&Z(e,"fullscreen",c[3])},i(c){l||(be(()=>{n||(n=Je(e,Le,{duration:300},!0)),n.run(1)}),l=!0)},o(c){n||(n=Je(e,Le,{duration:300},!1)),n.run(0),l=!1},d(c){c&&M(e),s&&s.d(),c&&n&&n.end(),o=!1,a()}}}function Rt(i){let e,t;return{c(){e=b("div"),t=F(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&M(e)}}}function St(i){let e,t;return{c(){e=b("div"),t=F(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&M(e)}}}function Qr(i){let e,t,r=i[5]&&jt(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[5]?r?(r.p(n,l),l&32&&K(r,1)):(r=jt(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),ee(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){ee(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Ur(i,e,t){let r;const[n,l]=$("Circular progress variant",["fullscreen","inline"]),[o,a]=$("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,y,w,v;return Q(async()=>{l(s),a(c),t(2,y=c==="small"?"large":"xlarge"),t(3,w=s==="fullscreen"),t(4,v=s==="inline")}),i.$$set=_=>{"variant"in _&&t(6,s=_.variant),"size"in _&&t(7,c=_.size),"message"in _&&t(0,d=_.message),"progress"in _&&t(1,f=_.progress),"visible"in _&&t(8,h=_.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=q(h))},[d,f,y,w,v,r,s,c,h]}class Wr extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ur,Qr,O,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",Wr);function Kr(i){let e,t,r,n,l,o,a,s,c,d;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=D(),l=b("div"),l.innerHTML='<slot name="actions"></slot>',a=D(),s=b("div"),s.innerHTML="<slot></slot>",this.c=x,u(r,"class","title"),u(l,"class","actions"),u(t,"class",o="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=Y(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
22
22
|
goa-container
|
|
@@ -98,7 +98,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
98
98
|
--width: ${N[9]};
|
|
99
99
|
`)&&u(e,"style",p)},i:x,o:x,d(N){N&&M(e),I&&I.d(),z&&z.d(),i[33](null),T&&T.d(),A&&A.d(),H&&H.d(),C=!1,le(L)}}}function Vn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function qn(i,e,t){let r,n,l,o,a;const[s,c]=$("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=$("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:y=""}=e,{value:w=""}=e,{autocapitalize:v="off"}=e,{placeholder:_=""}=e,{leadingicon:p=null}=e,{trailingicon:C=null}=e,{variant:L="goa"}=e,{disabled:I="false"}=e,{handletrailingiconclick:z="false"}=e,{focused:T="false"}=e,{readonly:A="false"}=e,{error:H="false"}=e,{testid:N=""}=e,{width:j="30ch"}=e,{arialabel:oe=null}=e,{min:ie=""}=e,{max:V=""}=e,{step:te=1}=e,{prefix:re=""}=e,{suffix:Oe=""}=e,{debounce:Te=0}=e,{mt:tt=null}=e,{mr:it=null}=e,{mb:rt=null}=e,{ml:ke=null}=e,ae,Be=null;function Pe(S){const Ie=S.target;!Ie||(Be!=null&&clearTimeout(Be),Be=setTimeout(()=>{Ie.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:y,value:Ie.value}}))},Te),t(0,w=Ie.value))}Q(()=>{c(h),f(v),(re!=""||Oe!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function xe(S){X[S?"unshift":"push"](()=>{ae=S,t(20,ae)})}return i.$$set=S=>{"type"in S&&t(1,h=S.type),"name"in S&&t(2,y=S.name),"value"in S&&t(0,w=S.value),"autocapitalize"in S&&t(3,v=S.autocapitalize),"placeholder"in S&&t(4,_=S.placeholder),"leadingicon"in S&&t(5,p=S.leadingicon),"trailingicon"in S&&t(6,C=S.trailingicon),"variant"in S&&t(7,L=S.variant),"disabled"in S&&t(26,I=S.disabled),"handletrailingiconclick"in S&&t(27,z=S.handletrailingiconclick),"focused"in S&&t(28,T=S.focused),"readonly"in S&&t(29,A=S.readonly),"error"in S&&t(30,H=S.error),"testid"in S&&t(8,N=S.testid),"width"in S&&t(9,j=S.width),"arialabel"in S&&t(10,oe=S.arialabel),"min"in S&&t(11,ie=S.min),"max"in S&&t(12,V=S.max),"step"in S&&t(13,te=S.step),"prefix"in S&&t(14,re=S.prefix),"suffix"in S&&t(15,Oe=S.suffix),"debounce"in S&&t(31,Te=S.debounce),"mt"in S&&t(16,tt=S.mt),"mr"in S&&t(17,it=S.mr),"mb"in S&&t(18,rt=S.mb),"ml"in S&&t(19,ke=S.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=q(z)),i.$$.dirty[0]&268435456&&t(32,n=q(T)),i.$$.dirty[0]&536870912&&t(23,l=q(A)),i.$$.dirty[0]&1073741824&&t(22,o=q(H)),i.$$.dirty[0]&67108864&&t(21,a=q(I)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&2&&n&&ae&&setTimeout(()=>ae.focus(),1),i.$$.dirty[0]&1048578&&ae&&h==="search"&&ae.addEventListener("search",S=>{Pe(S)})},[w,h,y,v,_,p,C,L,N,j,oe,ie,V,te,re,Oe,tt,it,rt,ke,ae,a,o,l,r,Pe,I,z,T,A,H,Te,n,xe]}class Qn extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error,.error:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
100
100
|
center center no-repeat}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qn,Fn,O,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:31,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","debounce","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get debounce(){return this.$$.ctx[31]}set debounce(e){this.$$set({debounce:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",Qn);function ai(i){let e,t,r;return{c(){e=b("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=D(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},d(n){n&&M(e),n&&M(t),n&&M(r)}}}function li(i){let e,t=di(i[0])+"",r,n,l,o,a,s,c,d=i[2]&&si(i);return{c(){e=b("div"),r=F(t),l=D(),o=b("div"),a=F("This is a new "),s=b("a"),s.textContent="Alberta Government",c=F(` service
|
|
101
|
-
`),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){k(f,e,h),m(e,r),k(f,l,h),k(f,o,h),m(o,a),m(o,s),m(o,c),d&&d.m(o,null)},p(f,h){h&1&&t!==(t=di(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=si(f),d.c(),d.m(o,null)):d&&(d.d(1),d=null)},d(f){f&&M(e),f&&M(l),f&&M(o),d&&d.d()}}}function si(i){let e,t,r,n;return{c(){e=b("span"),t=F("\u2014 help us improve it by giving "),r=b("a"),n=F("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,o){k(l,e,o),m(e,t),m(e,r),m(r,n)},p(l,o){o&4&&u(r,"href",l[2])},d(l){l&&M(e)}}}function ci(i){let e,t;return{c(){e=b("div"),t=F(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&W(t,r[1])},d(r){r&&M(e)}}}function Un(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,o,a=i[0]==="live"&&ai(),s=r&&li(i),c=i[1]&&ci(i);return{c(){e=b("header"),a&&a.c(),t=D(),s&&s.c(),n=D(),l=b("div"),o=D(),c&&c.c(),this.c=x,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){k(d,e,f),a&&a.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,l),m(e,o),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?a||(a=ai(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=li(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=ci(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&M(e),a&&a.d(),s&&s.d(),c&&c.d()}}}function di(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Wn(i,e,t){const[r,n]=$("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:o=""}=e,{feedbackurl:a=""}=e;return Q(()=>{n(l)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,o=s.version),"feedbackurl"in s&&t(2,a=s.feedbackurl)},[l,o,a]}class Kn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wn,Un,O,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Kn);function ui(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w,v,_,p,C,L,I,z,T,A,H,N=i[3]!==null&&fi(i);function j(te,re){return te[0]?Jn:Xn}let oe=j(i),ie=oe(i),V=i[8]&&gi(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=D(),l=b("div"),N&&N.c(),o=D(),a=b("div"),s=b("header"),c=b("div"),ie.c(),d=D(),V&&V.c(),f=D(),h=b("div"),y=b("goa-scrollable"),y.innerHTML="<slot></slot>",w=D(),v=b("div"),v.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),E(y,"direction","vertical"),E(y,"hpadding","1.9rem"),E(y,"maxheight","70vh"),u(h,"data-testid","modal-content"),u(h,"class","modal-content"),u(v,"class","modal-actions"),u(v,"data-testid","modal-actions"),u(a,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",C=i[2]&&`--width: ${i[2]};`),E(e,"active",i[1])},m(te,re){k(te,e,re),m(e,t),m(t,r),m(t,n),m(t,l),N&&N.m(l,null),m(l,o),m(l,a),m(a,s),m(s,c),ie.m(c,null),m(s,d),V&&V.m(s,null),m(a,f),m(a,h),m(h,y),i[15](y),i[16](h),m(a,w),m(a,v),i[17](t),T=!0,A||(H=[U(r,"click",i[11]),U(y,"_scroll",i[12]),ot(L=ut.call(null,t,{enable:i[6]}))],A=!0)},p(te,re){i=te,i[3]!==null?N?N.p(i,re):(N=fi(i),N.c(),N.m(l,o)):N&&(N.d(1),N=null),oe===(oe=j(i))&&ie?ie.p(i,re):(ie.d(1),ie=oe(i),ie&&(ie.c(),ie.m(c,null))),i[8]?V?V.p(i,re):(V=gi(i),V.c(),V.m(s,null)):V&&(V.d(1),V=null),(!T||re&4&&C!==(C=i[2]&&`--width: ${i[2]};`))&&u(t,"style",C),L&&ye(L.update)&&re&64&&L.update.call(null,{enable:i[6]}),(!T||re&2)&&E(e,"active",i[1])},i(te){T||(be(()=>{p&&p.end(1),_=xt(l,Ht,{duration:i[10],y:200}),_.start()}),be(()=>{z&&z.end(1),I=xt(t,Le,{duration:i[10]}),I.start()}),T=!0)},o(te){_&&_.invalidate(),p=Et(l,Ht,{delay:i[10],duration:i[10],y:-100}),I&&I.invalidate(),z=Et(t,Le,{delay:i[10],duration:i[10]}),T=!1},d(te){te&&M(e),N&&N.d(),ie.d(),V&&V.d(),i[15](null),i[16](null),te&&p&&p.end(),i[17](null),te&&z&&z.end(),A=!1,le(H)}}}function fi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),E(t,"type",i[9]),E(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,o){k(l,e,o),m(e,t)},p(l,o){o&512&&E(t,"type",l[9]),o&8&&r!==(r=l[3]==="important"?"false":"true")&&E(t,"inverted",r),o&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&M(e)}}}function Xn(i){let e;return{c(){e=b("slot"),u(e,"name","heading")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function Jn(i){let e;return{c(){e=F(i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&W(e,t[0])},d(t){t&&M(e)}}}function gi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),E(t,"data-testid","modal-close-button"),E(t,"icon","close"),E(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,o){k(l,e,o),m(e,t),r||(n=U(t,"click",i[11]),r=!0)},p:x,d(l){l&&M(e),r=!1,n()}}}function $n(i){let e,t,r=i[6]&&ui(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[6]?r?(r.p(n,l),l&64&&K(r,1)):(r=ui(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),ee(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){ee(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function eo(i,e,t){let r,n,l,o,{heading:a=""}=e,{closable:s="false"}=e,{open:c="false"}=e,{transition:d="none"}=e,{width:f=""}=e,{calloutvariant:h=null}=e,y=null,w=null,v=null;const[_,p]=$("Callout variant",["emergency","important","information","success","event"]),[C,L]=$("Modal transition",["fast","slow","none"]);Q(()=>{p(h),L(d)});function I(j){!r||(y==null||y.dispatchEvent(new CustomEvent("_close",{composed:!0})),j.stopPropagation())}const z=j=>{switch(j.key){case"Escape":I(j),j.preventDefault();break}};function T(j){const oe=j.detail.scrollHeight>j.detail.offsetHeight;if(n&&oe){const ie=j.detail.scrollTop==0,V=Math.abs(j.detail.scrollHeight-j.detail.scrollTop-j.detail.offsetHeight)<1;w.classList.remove("scroll-top","scroll-bottom","scroll-middle"),ie?w.classList.add("scroll-top"):V?w.classList.add("scroll-bottom"):w.classList.add("scroll-middle")}}function A(j){X[j?"unshift":"push"](()=>{v=j,t(5,v),t(6,n),t(1,c)})}function H(j){X[j?"unshift":"push"](()=>{w=j,t(4,w),t(6,n),t(1,c)})}function N(j){X[j?"unshift":"push"](()=>{y=j,t(7,y),t(6,n),t(1,c)})}return i.$$set=j=>{"heading"in j&&t(0,a=j.heading),"closable"in j&&t(13,s=j.closable),"open"in j&&t(1,c=j.open),"transition"in j&&t(14,d=j.transition),"width"in j&&t(2,f=j.width),"calloutvariant"in j&&t(3,h=j.calloutvariant)},i.$$.update=()=>{i.$$.dirty&8192&&t(8,r=q(s)),i.$$.dirty&2&&t(6,n=q(c)),i.$$.dirty&64&&(n||(t(4,w=t(5,v=t(7,y=null))),window.removeEventListener("keydown",z))),i.$$.dirty&112&&n&&v&&w&&v.scrollHeight>v.offsetHeight&&w.classList.add("scroll-top"),i.$$.dirty&80&&n&&w&&window.addEventListener("keydown",z),i.$$.dirty&16384&&t(10,l=d==="none"?0:d==="slow"?400:200),i.$$.dirty&8&&t(9,o=h==="emergency"?"warning":h==="important"?"alert-circle":h==="information"?"information-circle":h==="success"?"checkmark-circle":h==="event"?"calendar":"")},[a,c,f,h,w,v,n,y,r,o,l,I,T,s,d,A,H,N]}class to extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;align-items:center;margin-bottom:2rem;justify-content:space-between}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font-size:var(--goa-font-size-7);flex:0 0 auto}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},eo,$n,O,{heading:0,closable:13,open:1,transition:14,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[13]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[14]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",to);function hi(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w,v;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=D(),o=b("div"),o.innerHTML="<slot></slot>",a=D(),s=b("div"),c=b("goa-icon-button"),E(r,"type",i[2]),E(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(o,"class","content"),E(c,"icon","close"),E(c,"variant","dark"),E(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(_,p){k(_,e,p),m(e,t),m(t,r),m(e,l),m(e,o),m(e,a),m(e,s),m(s,c),y=!0,w||(v=U(c,"click",i[3]),w=!0)},p(_,p){(!y||p&4)&&E(r,"type",_[2]),(!y||p&1&&n!==(n=_[0]==="important"?"false":"true"))&&E(r,"inverted",n),(!y||p&1&&d!==(d=_[0]==="important"?"false":"true"))&&E(c,"inverted",d),(!y||p&1&&f!==(f="notification "+_[0]))&&u(e,"class",f)},i(_){y||(be(()=>{h||(h=Je(e,Le,{},!0)),h.run(1)}),y=!0)},o(_){h||(h=Je(e,Le,{},!1)),h.run(0),y=!1},d(_){_&&M(e),_&&h&&h.end(),w=!1,v()}}}function io(i){let e,t,r=i[1]&&hi(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&K(r,1)):(r=hi(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),ee(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){ee(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function ro(i,e,t){let r;const[n,l]=$("Notification type",["emergency","important","information","event"],!0);let{type:o=""}=e,a=!0;Q(()=>{l(o)});function s(c){t(1,a=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}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,a,r,s]}class no extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ro,io,O,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",no);const oo=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function ao(i){return oo.test(i)}function lo(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function so(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function o(a){return!!(["full"].includes(n)||ao(a))}return Q(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=a=>{"width"in a&&t(1,n=a.width),"_width"in a&&t(0,l=a._width)},[l,n]}class co extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},so,lo,O,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",co);function mi(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function bi(i){let e,t,r,n,l,o,a,s,c,d,f={length:i[8]},h=[];for(let y=0;y<f.length;y+=1)h[y]=vi(mi(i,f,y));return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=D(),n=b("input"),l=D(),o=b("goa-dropdown");for(let y=0;y<h.length;y+=1)h[y].c();a=D(),s=b("span"),c=F("of "),d=F(i[8]),u(n,"type","hidden"),E(o,"value",i[0]),E(o,"width","70px"),E(e,"data-testid","page-selector"),E(e,"alignment","center"),E(e,"gap","s")},m(y,w){k(y,e,w),m(e,t),m(e,r),m(e,n),i[12](n),m(e,l),m(e,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);i[13](o),m(e,a),m(e,s),m(s,c),m(s,d)},p(y,w){if(w&256){f={length:y[8]};let v;for(v=0;v<f.length;v+=1){const _=mi(y,f,v);h[v]?h[v].p(_,w):(h[v]=vi(_),h[v].c(),h[v].m(o,null))}for(;v<h.length;v+=1)h[v].d(1);h.length=f.length}w&1&&E(o,"value",y[0]),w&256&&W(d,y[8])},d(y){y&&M(e),i[12](null),De(h,y),i[13](null)}}}function vi(i){let e;return{c(){e=b("goa-dropdown-item"),E(e,"value",i[20]+1),E(e,"label",i[20]+1)},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function uo(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w=i[1]==="all"&&bi(i);return{c(){e=b("goa-block"),t=b("div"),w&&w.c(),r=D(),n=b("goa-block"),l=b("goa-button"),o=F("Previous"),s=D(),c=b("goa-button"),d=F("Next"),this.c=x,E(l,"type","tertiary"),E(l,"leadingicon","arrow-back"),E(l,"disabled",a=i[0]==1?"true":"false"),E(c,"type","tertiary"),E(c,"trailingicon","arrow-forward"),E(c,"disabled",f=i[0]==i[8]?"true":"false"),E(n,"alignment","center"),E(n,"gap","m"),E(n,"data-testid","page-links"),u(t,"class","controls"),E(e,"id","root"),E(e,"ml",i[5]),E(e,"mr",i[3]),E(e,"mb",i[4]),E(e,"mt",i[2])},m(v,_){k(v,e,_),m(e,t),w&&w.m(t,null),m(t,r),m(t,n),m(n,l),m(l,o),m(n,s),m(n,c),m(c,d),h||(y=[U(l,"click",i[14]),U(c,"click",i[15])],h=!0)},p(v,[_]){v[1]==="all"?w?w.p(v,_):(w=bi(v),w.c(),w.m(t,r)):w&&(w.d(1),w=null),_&1&&a!==(a=v[0]==1?"true":"false")&&E(l,"disabled",a),_&257&&f!==(f=v[0]==v[8]?"true":"false")&&E(c,"disabled",f),_&32&&E(e,"ml",v[5]),_&8&&E(e,"mr",v[3]),_&16&&E(e,"mb",v[4]),_&4&&E(e,"mt",v[2])},i:x,o:x,d(v){v&&M(e),w&&w.d(),h=!1,le(y)}}}function fo(i,e,t){let r;const[n,l]=$("Pagination variant",["all","links-only"]);let{pagenumber:o}=e,{itemcount:a}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:y=null}=e,w=null,v=null;Q(async()=>{await me(),et("GoAPagination",{itemcount:a,pagenumber:o}),l(c),w&&w.addEventListener("_change",z=>{const T=Number.parseInt(z.detail.value);z.stopPropagation(),v.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:T}}))})});function _(z,T){const A=Number.parseInt(o+"")+T;A>0&&A<=r&&z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}})),z.preventDefault()}function p(z){X[z?"unshift":"push"](()=>{v=z,t(7,v)})}function C(z){X[z?"unshift":"push"](()=>{w=z,t(6,w)})}const L=z=>_(z,-1),I=z=>_(z,1);return i.$$set=z=>{"pagenumber"in z&&t(0,o=z.pagenumber),"itemcount"in z&&t(10,a=z.itemcount),"perpagecount"in z&&t(11,s=z.perpagecount),"variant"in z&&t(1,c=z.variant),"mt"in z&&t(2,d=z.mt),"mr"in z&&t(3,f=z.mr),"mb"in z&&t(4,h=z.mb),"ml"in z&&t(5,y=z.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(a/s))},[o,c,d,f,h,y,w,v,r,_,a,s,p,C,L,I]}class yi extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},fo,uo,O,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",yi);function wi(i){let e,t,r,n,l,o,a,s;return{c(){e=b("goa-focus-trap"),t=b("div"),r=D(),n=b("div"),l=b("section"),o=b("slot"),u(t,"data-testid","popover-background"),u(t,"class","popover-background"),u(l,"data-testid","popover-content"),u(l,"class","popover-content"),J(l,"max-width",i[1]),J(l,"padding",i[4]?"var(--goa-space-m)":"0"),u(n,"class","popover-container"),E(e,"active",i[2])},m(c,d){k(c,e,d),m(e,t),m(e,r),m(e,n),m(n,l),m(l,o),a||(s=U(t,"click",i[6]),a=!0)},p(c,d){d&2&&J(l,"max-width",c[1]),d&16&&J(l,"padding",c[4]?"var(--goa-space-m)":"0"),d&4&&E(e,"active",c[2])},d(c){c&&M(e),a=!1,s()}}}function go(i){let e,t,r,n,l,o=i[2]&&wi(i);return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="target" tabindex="-1"></slot>',r=D(),o&&o.c(),this.c=x,u(t,"class","popover-target"),u(t,"tabindex","0"),u(t,"data-testid","popover-target"),u(e,"data-testid",i[0])},m(a,s){k(a,e,s),m(e,t),i[8](t),m(e,r),o&&o.m(e,null),n||(l=U(t,"click",i[5]),n=!0)},p(a,[s]){a[2]?o?o.p(a,s):(o=wi(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),s&1&&u(e,"data-testid",a[0])},i:x,o:x,d(a){a&&M(e),i[8](null),o&&o.d(),n=!1,l()}}}function ho(i,e,t){let r,{testid:n=""}=e,{maxwidth:l="320px"}=e,{padded:o="true"}=e,a=!1,s;Q(async()=>{await me(),h()}),wt(()=>{y()});function c(){t(2,a=!0)}function d(){t(2,a=!1)}const f=_=>{switch(_.key){case" ":case"Enter":a?d():c(),_.preventDefault();break;case"Escape":a&&d(),_.preventDefault();break}};function h(){s.addEventListener("focus",w,!0)}function y(){s.removeEventListener("focus",w),s.removeEventListener("keydown",f)}function w(){s.addEventListener("keydown",f)}function v(_){X[_?"unshift":"push"](()=>{s=_,t(3,s)})}return i.$$set=_=>{"testid"in _&&t(0,n=_.testid),"maxwidth"in _&&t(1,l=_.maxwidth),"padded"in _&&t(7,o=_.padded)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=q(o))},[n,l,a,s,r,c,d,o,v]}class mo extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ho,go,O,{testid:0,maxwidth:1,padded:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","maxwidth","padded"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get padded(){return this.$$.ctx[7]}set padded(e){this.$$set({padded:e}),g()}}customElements.define("goa-popover",mo);function _i(i,e,t){const r=i.slice();return r[22]=e[t],r}function pi(i,e){let t,r,n,l,o,a,s,c,d,f=(e[22].label||e[22].value)+"",h,y,w,v,_;function p(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=D(),s=b("div"),c=D(),d=b("span"),h=F(f),y=D(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",o=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",w="radio-option-"+e[22].value),u(t,"class","goa-radio"),Z(t,"goa-radio--disabled",e[12]),Z(t,"goa-radio--error",e[11]),this.first=t},m(C,L){k(C,t,L),m(t,r),m(t,a),m(t,s),m(t,c),m(t,d),m(d,h),m(t,y),v||(_=U(r,"change",p),v=!0)},p(C,L){e=C,L&2&&u(r,"name",e[1]),L&512&&n!==(n=e[22].value)&&(r.value=n),L&4096&&(r.disabled=e[12]),L&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),L&18&&o!==(o=e[4]||e[1])&&u(r,"aria-label",o),L&512&&f!==(f=(e[22].label||e[22].value)+"")&&W(h,f),L&512&&w!==(w="radio-option-"+e[22].value)&&u(t,"data-testid",w),L&4096&&Z(t,"goa-radio--disabled",e[12]),L&2048&&Z(t,"goa-radio--error",e[11])},d(C){C&&M(t),v=!1,_()}}}function bo(i){let e,t,r,n=[],l=new Map,o,a,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=_i(i,s,d),h=c(f);l.set(h,n[d]=pi(h,f))}return{c(){e=b("div"),t=b("slot"),r=D();for(let d=0;d<n.length;d+=1)n[d].c();this.c=x,u(e,"style",o=Y(i[5],i[6],i[7],i[8])),u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){k(d,e,f),m(e,t),m(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],n=Ct(n,f,c,1,d,s,l,e,zt,pi,null,_i)),f&480&&o!==(o=Y(d[5],d[6],d[7],d[8]))&&u(e,"style",o),f&4&&a!==(a=`goa-radio-group--${d[2]}`)&&u(e,"class",a),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&M(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function vo(i,e,t){let r,n;const[l,o]=$("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:y=""}=e,{mt:w=null}=e,{mr:v=null}=e,{mb:_=null}=e,{ml:p=null}=e,C=[],L;Q(async()=>{await me(),t(9,C=z())});function I(){const N=L.querySelector("slot");return N?[...N.assignedElements()]:[...L.children]}function z(){return I().map(j=>{const oe=j,ie=j.getAttribute("value")||oe.value,V=j.getAttribute("label")||j.innerText||oe.label||oe.innerText;return{value:ie,label:V}})}function T(N){N!==s&&(t(0,s=N),L.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:s}})))}Q(()=>{o(c)});const A=N=>T(N.value);function H(N){X[N?"unshift":"push"](()=>{L=N,t(10,L)})}return i.$$set=N=>{"name"in N&&t(1,a=N.name),"value"in N&&t(0,s=N.value),"orientation"in N&&t(2,c=N.orientation),"disabled"in N&&t(14,d=N.disabled),"error"in N&&t(15,f=N.error),"testid"in N&&t(3,h=N.testid),"arialabel"in N&&t(4,y=N.arialabel),"mt"in N&&t(5,w=N.mt),"mr"in N&&t(6,v=N.mr),"mb"in N&&t(7,_=N.mb),"ml"in N&&t(8,p=N.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=q(d)),i.$$.dirty&32768&&t(11,n=q(f))},[s,a,c,h,y,w,v,_,p,C,L,n,r,T,d,f,A,H]}class yo extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
101
|
+
`),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){k(f,e,h),m(e,r),k(f,l,h),k(f,o,h),m(o,a),m(o,s),m(o,c),d&&d.m(o,null)},p(f,h){h&1&&t!==(t=di(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=si(f),d.c(),d.m(o,null)):d&&(d.d(1),d=null)},d(f){f&&M(e),f&&M(l),f&&M(o),d&&d.d()}}}function si(i){let e,t,r,n;return{c(){e=b("span"),t=F("\u2014 help us improve it by giving "),r=b("a"),n=F("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,o){k(l,e,o),m(e,t),m(e,r),m(r,n)},p(l,o){o&4&&u(r,"href",l[2])},d(l){l&&M(e)}}}function ci(i){let e,t;return{c(){e=b("div"),t=F(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&W(t,r[1])},d(r){r&&M(e)}}}function Un(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,o,a=i[0]==="live"&&ai(),s=r&&li(i),c=i[1]&&ci(i);return{c(){e=b("header"),a&&a.c(),t=D(),s&&s.c(),n=D(),l=b("div"),o=D(),c&&c.c(),this.c=x,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){k(d,e,f),a&&a.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,l),m(e,o),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?a||(a=ai(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=li(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=ci(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&M(e),a&&a.d(),s&&s.d(),c&&c.d()}}}function di(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Wn(i,e,t){const[r,n]=$("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:o=""}=e,{feedbackurl:a=""}=e;return Q(()=>{setTimeout(()=>n(l),1)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,o=s.version),"feedbackurl"in s&&t(2,a=s.feedbackurl)},[l,o,a]}class Kn extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wn,Un,O,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Kn);function ui(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w,v,_,p,C,L,I,z,T,A,H,N=i[3]!==null&&fi(i);function j(te,re){return te[0]?Jn:Xn}let oe=j(i),ie=oe(i),V=i[8]&&gi(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=D(),l=b("div"),N&&N.c(),o=D(),a=b("div"),s=b("header"),c=b("div"),ie.c(),d=D(),V&&V.c(),f=D(),h=b("div"),y=b("goa-scrollable"),y.innerHTML="<slot></slot>",w=D(),v=b("div"),v.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),E(y,"direction","vertical"),E(y,"hpadding","1.9rem"),E(y,"maxheight","70vh"),u(h,"data-testid","modal-content"),u(h,"class","modal-content"),u(v,"class","modal-actions"),u(v,"data-testid","modal-actions"),u(a,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",C=i[2]&&`--width: ${i[2]};`),E(e,"active",i[1])},m(te,re){k(te,e,re),m(e,t),m(t,r),m(t,n),m(t,l),N&&N.m(l,null),m(l,o),m(l,a),m(a,s),m(s,c),ie.m(c,null),m(s,d),V&&V.m(s,null),m(a,f),m(a,h),m(h,y),i[15](y),i[16](h),m(a,w),m(a,v),i[17](t),T=!0,A||(H=[U(r,"click",i[11]),U(y,"_scroll",i[12]),ot(L=ut.call(null,t,{enable:i[6]}))],A=!0)},p(te,re){i=te,i[3]!==null?N?N.p(i,re):(N=fi(i),N.c(),N.m(l,o)):N&&(N.d(1),N=null),oe===(oe=j(i))&&ie?ie.p(i,re):(ie.d(1),ie=oe(i),ie&&(ie.c(),ie.m(c,null))),i[8]?V?V.p(i,re):(V=gi(i),V.c(),V.m(s,null)):V&&(V.d(1),V=null),(!T||re&4&&C!==(C=i[2]&&`--width: ${i[2]};`))&&u(t,"style",C),L&&ye(L.update)&&re&64&&L.update.call(null,{enable:i[6]}),(!T||re&2)&&E(e,"active",i[1])},i(te){T||(be(()=>{p&&p.end(1),_=xt(l,Ht,{duration:i[10],y:200}),_.start()}),be(()=>{z&&z.end(1),I=xt(t,Le,{duration:i[10]}),I.start()}),T=!0)},o(te){_&&_.invalidate(),p=Et(l,Ht,{delay:i[10],duration:i[10],y:-100}),I&&I.invalidate(),z=Et(t,Le,{delay:i[10],duration:i[10]}),T=!1},d(te){te&&M(e),N&&N.d(),ie.d(),V&&V.d(),i[15](null),i[16](null),te&&p&&p.end(),i[17](null),te&&z&&z.end(),A=!1,le(H)}}}function fi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),E(t,"type",i[9]),E(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,o){k(l,e,o),m(e,t)},p(l,o){o&512&&E(t,"type",l[9]),o&8&&r!==(r=l[3]==="important"?"false":"true")&&E(t,"inverted",r),o&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&M(e)}}}function Xn(i){let e;return{c(){e=b("slot"),u(e,"name","heading")},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function Jn(i){let e;return{c(){e=F(i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&W(e,t[0])},d(t){t&&M(e)}}}function gi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),E(t,"data-testid","modal-close-button"),E(t,"icon","close"),E(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,o){k(l,e,o),m(e,t),r||(n=U(t,"click",i[11]),r=!0)},p:x,d(l){l&&M(e),r=!1,n()}}}function $n(i){let e,t,r=i[6]&&ui(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[6]?r?(r.p(n,l),l&64&&K(r,1)):(r=ui(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),ee(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){ee(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function eo(i,e,t){let r,n,l,o,{heading:a=""}=e,{closable:s="false"}=e,{open:c="false"}=e,{transition:d="none"}=e,{width:f=""}=e,{calloutvariant:h=null}=e,y=null,w=null,v=null;const[_,p]=$("Callout variant",["emergency","important","information","success","event"]),[C,L]=$("Modal transition",["fast","slow","none"]);Q(()=>{p(h),L(d)});function I(j){!r||(y==null||y.dispatchEvent(new CustomEvent("_close",{composed:!0})),j.stopPropagation())}const z=j=>{switch(j.key){case"Escape":I(j),j.preventDefault();break}};function T(j){const oe=j.detail.scrollHeight>j.detail.offsetHeight;if(n&&oe){const ie=j.detail.scrollTop==0,V=Math.abs(j.detail.scrollHeight-j.detail.scrollTop-j.detail.offsetHeight)<1;w.classList.remove("scroll-top","scroll-bottom","scroll-middle"),ie?w.classList.add("scroll-top"):V?w.classList.add("scroll-bottom"):w.classList.add("scroll-middle")}}function A(j){X[j?"unshift":"push"](()=>{v=j,t(5,v),t(6,n),t(1,c)})}function H(j){X[j?"unshift":"push"](()=>{w=j,t(4,w),t(6,n),t(1,c)})}function N(j){X[j?"unshift":"push"](()=>{y=j,t(7,y),t(6,n),t(1,c)})}return i.$$set=j=>{"heading"in j&&t(0,a=j.heading),"closable"in j&&t(13,s=j.closable),"open"in j&&t(1,c=j.open),"transition"in j&&t(14,d=j.transition),"width"in j&&t(2,f=j.width),"calloutvariant"in j&&t(3,h=j.calloutvariant)},i.$$.update=()=>{i.$$.dirty&8192&&t(8,r=q(s)),i.$$.dirty&2&&t(6,n=q(c)),i.$$.dirty&64&&(n||(t(4,w=t(5,v=t(7,y=null))),window.removeEventListener("keydown",z))),i.$$.dirty&112&&n&&v&&w&&v.scrollHeight>v.offsetHeight&&w.classList.add("scroll-top"),i.$$.dirty&80&&n&&w&&window.addEventListener("keydown",z),i.$$.dirty&16384&&t(10,l=d==="none"?0:d==="slow"?400:200),i.$$.dirty&8&&t(9,o=h==="emergency"?"warning":h==="important"?"alert-circle":h==="information"?"information-circle":h==="success"?"checkmark-circle":h==="event"?"calendar":"")},[a,c,f,h,w,v,n,y,r,o,l,I,T,s,d,A,H,N]}class to extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;align-items:center;margin-bottom:2rem;justify-content:space-between}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font-size:var(--goa-font-size-7);flex:0 0 auto}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},eo,$n,O,{heading:0,closable:13,open:1,transition:14,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[13]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[14]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",to);function hi(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w,v;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=D(),o=b("div"),o.innerHTML="<slot></slot>",a=D(),s=b("div"),c=b("goa-icon-button"),E(r,"type",i[2]),E(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(o,"class","content"),E(c,"icon","close"),E(c,"variant","dark"),E(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(_,p){k(_,e,p),m(e,t),m(t,r),m(e,l),m(e,o),m(e,a),m(e,s),m(s,c),y=!0,w||(v=U(c,"click",i[3]),w=!0)},p(_,p){(!y||p&4)&&E(r,"type",_[2]),(!y||p&1&&n!==(n=_[0]==="important"?"false":"true"))&&E(r,"inverted",n),(!y||p&1&&d!==(d=_[0]==="important"?"false":"true"))&&E(c,"inverted",d),(!y||p&1&&f!==(f="notification "+_[0]))&&u(e,"class",f)},i(_){y||(be(()=>{h||(h=Je(e,Le,{},!0)),h.run(1)}),y=!0)},o(_){h||(h=Je(e,Le,{},!1)),h.run(0),y=!1},d(_){_&&M(e),_&&h&&h.end(),w=!1,v()}}}function io(i){let e,t,r=i[1]&&hi(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&K(r,1)):(r=hi(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),ee(r,1,1,()=>{r=null}),Me())},i(n){t||(K(r),t=!0)},o(n){ee(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function ro(i,e,t){let r;const[n,l]=$("Notification type",["emergency","important","information","event"],!0);let{type:o=""}=e,a=!0;Q(()=>{setTimeout(()=>l(o),1)});function s(c){t(1,a=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}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,a,r,s]}class no extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ro,io,O,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",no);const oo=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function ao(i){return oo.test(i)}function lo(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){k(n,e,l),m(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:x,o:x,d(n){n&&M(e)}}}function so(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function o(a){return!!(["full"].includes(n)||ao(a))}return Q(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=a=>{"width"in a&&t(1,n=a.width),"_width"in a&&t(0,l=a._width)},[l,n]}class co extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},so,lo,O,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",co);function mi(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function bi(i){let e,t,r,n,l,o,a,s,c,d,f={length:i[8]},h=[];for(let y=0;y<f.length;y+=1)h[y]=vi(mi(i,f,y));return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=D(),n=b("input"),l=D(),o=b("goa-dropdown");for(let y=0;y<h.length;y+=1)h[y].c();a=D(),s=b("span"),c=F("of "),d=F(i[8]),u(n,"type","hidden"),E(o,"value",i[0]),E(o,"width","70px"),E(e,"data-testid","page-selector"),E(e,"alignment","center"),E(e,"gap","s")},m(y,w){k(y,e,w),m(e,t),m(e,r),m(e,n),i[12](n),m(e,l),m(e,o);for(let v=0;v<h.length;v+=1)h[v].m(o,null);i[13](o),m(e,a),m(e,s),m(s,c),m(s,d)},p(y,w){if(w&256){f={length:y[8]};let v;for(v=0;v<f.length;v+=1){const _=mi(y,f,v);h[v]?h[v].p(_,w):(h[v]=vi(_),h[v].c(),h[v].m(o,null))}for(;v<h.length;v+=1)h[v].d(1);h.length=f.length}w&1&&E(o,"value",y[0]),w&256&&W(d,y[8])},d(y){y&&M(e),i[12](null),De(h,y),i[13](null)}}}function vi(i){let e;return{c(){e=b("goa-dropdown-item"),E(e,"value",i[20]+1),E(e,"label",i[20]+1)},m(t,r){k(t,e,r)},p:x,d(t){t&&M(e)}}}function uo(i){let e,t,r,n,l,o,a,s,c,d,f,h,y,w=i[1]==="all"&&bi(i);return{c(){e=b("goa-block"),t=b("div"),w&&w.c(),r=D(),n=b("goa-block"),l=b("goa-button"),o=F("Previous"),s=D(),c=b("goa-button"),d=F("Next"),this.c=x,E(l,"type","tertiary"),E(l,"leadingicon","arrow-back"),E(l,"disabled",a=i[0]==1?"true":"false"),E(c,"type","tertiary"),E(c,"trailingicon","arrow-forward"),E(c,"disabled",f=i[0]==i[8]?"true":"false"),E(n,"alignment","center"),E(n,"gap","m"),E(n,"data-testid","page-links"),u(t,"class","controls"),E(e,"id","root"),E(e,"ml",i[5]),E(e,"mr",i[3]),E(e,"mb",i[4]),E(e,"mt",i[2])},m(v,_){k(v,e,_),m(e,t),w&&w.m(t,null),m(t,r),m(t,n),m(n,l),m(l,o),m(n,s),m(n,c),m(c,d),h||(y=[U(l,"click",i[14]),U(c,"click",i[15])],h=!0)},p(v,[_]){v[1]==="all"?w?w.p(v,_):(w=bi(v),w.c(),w.m(t,r)):w&&(w.d(1),w=null),_&1&&a!==(a=v[0]==1?"true":"false")&&E(l,"disabled",a),_&257&&f!==(f=v[0]==v[8]?"true":"false")&&E(c,"disabled",f),_&32&&E(e,"ml",v[5]),_&8&&E(e,"mr",v[3]),_&16&&E(e,"mb",v[4]),_&4&&E(e,"mt",v[2])},i:x,o:x,d(v){v&&M(e),w&&w.d(),h=!1,le(y)}}}function fo(i,e,t){let r;const[n,l]=$("Pagination variant",["all","links-only"]);let{pagenumber:o}=e,{itemcount:a}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:y=null}=e,w=null,v=null;Q(async()=>{await me(),et("GoAPagination",{itemcount:a,pagenumber:o}),l(c),w&&w.addEventListener("_change",z=>{const T=Number.parseInt(z.detail.value);z.stopPropagation(),v.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:T}}))})});function _(z,T){const A=Number.parseInt(o+"")+T;A>0&&A<=r&&z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}})),z.preventDefault()}function p(z){X[z?"unshift":"push"](()=>{v=z,t(7,v)})}function C(z){X[z?"unshift":"push"](()=>{w=z,t(6,w)})}const L=z=>_(z,-1),I=z=>_(z,1);return i.$$set=z=>{"pagenumber"in z&&t(0,o=z.pagenumber),"itemcount"in z&&t(10,a=z.itemcount),"perpagecount"in z&&t(11,s=z.perpagecount),"variant"in z&&t(1,c=z.variant),"mt"in z&&t(2,d=z.mt),"mr"in z&&t(3,f=z.mr),"mb"in z&&t(4,h=z.mb),"ml"in z&&t(5,y=z.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(a/s))},[o,c,d,f,h,y,w,v,r,_,a,s,p,C,L,I]}class yi extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},fo,uo,O,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",yi);function wi(i){let e,t,r,n,l,o,a,s;return{c(){e=b("goa-focus-trap"),t=b("div"),r=D(),n=b("div"),l=b("section"),o=b("slot"),u(t,"data-testid","popover-background"),u(t,"class","popover-background"),u(l,"data-testid","popover-content"),u(l,"class","popover-content"),J(l,"max-width",i[1]),J(l,"padding",i[4]?"var(--goa-space-m)":"0"),u(n,"class","popover-container"),E(e,"active",i[2])},m(c,d){k(c,e,d),m(e,t),m(e,r),m(e,n),m(n,l),m(l,o),a||(s=U(t,"click",i[6]),a=!0)},p(c,d){d&2&&J(l,"max-width",c[1]),d&16&&J(l,"padding",c[4]?"var(--goa-space-m)":"0"),d&4&&E(e,"active",c[2])},d(c){c&&M(e),a=!1,s()}}}function go(i){let e,t,r,n,l,o=i[2]&&wi(i);return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="target" tabindex="-1"></slot>',r=D(),o&&o.c(),this.c=x,u(t,"class","popover-target"),u(t,"tabindex","0"),u(t,"data-testid","popover-target"),u(e,"data-testid",i[0])},m(a,s){k(a,e,s),m(e,t),i[8](t),m(e,r),o&&o.m(e,null),n||(l=U(t,"click",i[5]),n=!0)},p(a,[s]){a[2]?o?o.p(a,s):(o=wi(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),s&1&&u(e,"data-testid",a[0])},i:x,o:x,d(a){a&&M(e),i[8](null),o&&o.d(),n=!1,l()}}}function ho(i,e,t){let r,{testid:n=""}=e,{maxwidth:l="320px"}=e,{padded:o="true"}=e,a=!1,s;Q(async()=>{await me(),h()}),wt(()=>{y()});function c(){t(2,a=!0)}function d(){t(2,a=!1)}const f=_=>{switch(_.key){case" ":case"Enter":a?d():c(),_.preventDefault();break;case"Escape":a&&d(),_.preventDefault();break}};function h(){s.addEventListener("focus",w,!0)}function y(){s.removeEventListener("focus",w),s.removeEventListener("keydown",f)}function w(){s.addEventListener("keydown",f)}function v(_){X[_?"unshift":"push"](()=>{s=_,t(3,s)})}return i.$$set=_=>{"testid"in _&&t(0,n=_.testid),"maxwidth"in _&&t(1,l=_.maxwidth),"padded"in _&&t(7,o=_.padded)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=q(o))},[n,l,a,s,r,c,d,o,v]}class mo extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ho,go,O,{testid:0,maxwidth:1,padded:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","maxwidth","padded"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get padded(){return this.$$.ctx[7]}set padded(e){this.$$set({padded:e}),g()}}customElements.define("goa-popover",mo);function _i(i,e,t){const r=i.slice();return r[22]=e[t],r}function pi(i,e){let t,r,n,l,o,a,s,c,d,f=(e[22].label||e[22].value)+"",h,y,w,v,_;function p(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=D(),s=b("div"),c=D(),d=b("span"),h=F(f),y=D(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",o=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",w="radio-option-"+e[22].value),u(t,"class","goa-radio"),Z(t,"goa-radio--disabled",e[12]),Z(t,"goa-radio--error",e[11]),this.first=t},m(C,L){k(C,t,L),m(t,r),m(t,a),m(t,s),m(t,c),m(t,d),m(d,h),m(t,y),v||(_=U(r,"change",p),v=!0)},p(C,L){e=C,L&2&&u(r,"name",e[1]),L&512&&n!==(n=e[22].value)&&(r.value=n),L&4096&&(r.disabled=e[12]),L&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),L&18&&o!==(o=e[4]||e[1])&&u(r,"aria-label",o),L&512&&f!==(f=(e[22].label||e[22].value)+"")&&W(h,f),L&512&&w!==(w="radio-option-"+e[22].value)&&u(t,"data-testid",w),L&4096&&Z(t,"goa-radio--disabled",e[12]),L&2048&&Z(t,"goa-radio--error",e[11])},d(C){C&&M(t),v=!1,_()}}}function bo(i){let e,t,r,n=[],l=new Map,o,a,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=_i(i,s,d),h=c(f);l.set(h,n[d]=pi(h,f))}return{c(){e=b("div"),t=b("slot"),r=D();for(let d=0;d<n.length;d+=1)n[d].c();this.c=x,u(e,"style",o=Y(i[5],i[6],i[7],i[8])),u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){k(d,e,f),m(e,t),m(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],n=Ct(n,f,c,1,d,s,l,e,zt,pi,null,_i)),f&480&&o!==(o=Y(d[5],d[6],d[7],d[8]))&&u(e,"style",o),f&4&&a!==(a=`goa-radio-group--${d[2]}`)&&u(e,"class",a),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&M(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function vo(i,e,t){let r,n;const[l,o]=$("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:y=""}=e,{mt:w=null}=e,{mr:v=null}=e,{mb:_=null}=e,{ml:p=null}=e,C=[],L;Q(async()=>{await me(),t(9,C=z())});function I(){const N=L.querySelector("slot");return N?[...N.assignedElements()]:[...L.children]}function z(){return I().map(j=>{const oe=j,ie=j.getAttribute("value")||oe.value,V=j.getAttribute("label")||j.innerText||oe.label||oe.innerText;return{value:ie,label:V}})}function T(N){N!==s&&(t(0,s=N),L.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:s}})))}Q(()=>{o(c)});const A=N=>T(N.value);function H(N){X[N?"unshift":"push"](()=>{L=N,t(10,L)})}return i.$$set=N=>{"name"in N&&t(1,a=N.name),"value"in N&&t(0,s=N.value),"orientation"in N&&t(2,c=N.orientation),"disabled"in N&&t(14,d=N.disabled),"error"in N&&t(15,f=N.error),"testid"in N&&t(3,h=N.testid),"arialabel"in N&&t(4,y=N.arialabel),"mt"in N&&t(5,w=N.mt),"mr"in N&&t(6,v=N.mr),"mb"in N&&t(7,_=N.mb),"ml"in N&&t(8,p=N.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=q(d)),i.$$.dirty&32768&&t(11,n=q(f))},[s,a,c,h,y,w,v,_,p,C,L,n,r,T,d,f,A,H]}class yo extends B{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
102
102
|
var(--goa-color-interactive-hover);box-shadow:none}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:hover~.goa-radio-icon{box-shadow:0 0 0 1px var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vo,bo,O,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-radio-group",yo);function wo(i){let e,t,r,n,l;return{c(){e=b("div"),t=b("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
103
103
|
max-height: ${i[3]||"50vh"};
|
|
104
104
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
@@ -111,7 +111,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
111
111
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
112
112
|
margin: ${o[2]} 0;
|
|
113
113
|
padding: 0 ${o[1]};
|
|
114
|
-
`)&&u(e,"style",r)},i:x,o:x,d(o){o&&M(e),i[8](null),n=!1,l()}}}function _o(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=""}=e,{vpadding:l=""}=e,{maxheight:o=""}=e,{offsetHeight:a}=e,{scrollHeight:s}=e,c;function d(h){h.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:c.offsetHeight,scrollHeight:c.scrollHeight,scrollTop:c.scrollTop}})),h.stopPropagation()}Q(()=>{t(6,a=c.offsetHeight),t(7,s=c.scrollHeight)});function f(h){X[h?"unshift":"push"](()=>{c=h,t(4,c)})}return i.$$set=h=>{"direction"in h&&t(0,r=h.direction),"hpadding"in h&&t(1,n=h.hpadding),"vpadding"in h&&t(2,l=h.vpadding),"maxheight"in h&&t(3,o=h.maxheight),"offsetHeight"in h&&t(6,a=h.offsetHeight),"scrollHeight"in h&&t(7,s=h.scrollHeight)},[r,n,l,o,c,d,a,s,f]}class po extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},_o,wo,O,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),g()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),g()}}customElements.define("goa-scrollable",po);function ki(i,e,t){const r=i.slice();return r[13]=e[t],r}function ko(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){k(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&M(e)}}}function xo(i){let e,t,r,n,l,o,a,s,c,d,f,h;return n=new de({props:{type:"image",size:i[1]}}),a=new de({props:{type:"header",size:"4"}}),c=new de({props:{type:"header",size:"1"}}),f=new de({props:{type:"lines",size:i[1]}}),{c(){e=b("div"),t=b("div"),r=b("div"),ue(n.$$.fragment),l=D(),o=b("div"),ue(a.$$.fragment),s=D(),ue(c.$$.fragment),d=D(),ue(f.$$.fragment),J(r,"flex","1 1 auto"),J(o,"flex","2 2 auto"),J(t,"display","flex"),J(t,"gap","1rem")},m(y,w){k(y,e,w),m(e,t),m(t,r),se(n,r,null),m(t,l),m(t,o),se(a,o,null),m(o,s),se(c,o,null),m(e,d),se(f,e,null),h=!0},p(y,w){const v={};w&2&&(v.size=y[1]),n.$set(v);const _={};w&2&&(_.size=y[1]),f.$set(_)},i(y){h||(K(n.$$.fragment,y),K(a.$$.fragment,y),K(c.$$.fragment,y),K(f.$$.fragment,y),h=!0)},o(y){ee(n.$$.fragment,y),ee(a.$$.fragment,y),ee(c.$$.fragment,y),ee(f.$$.fragment,y),h=!1},d(y){y&&M(e),ce(n),ce(a),ce(c),ce(f)}}}function Eo(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let o=0;o<r.length;o+=1)n[o]=xi(ki(i,r,o));const l=o=>ee(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=_e()},m(o,a){for(let s=0;s<n.length;s+=1)n[s].m(o,a);k(o,e,a),t=!0},p(o,a){if(a&6){r=Array(Number.parseInt(o[2]+""));let s;for(s=0;s<r.length;s+=1){const c=ki(o,r,s);n[s]?(n[s].p(c,a),K(n[s],1)):(n[s]=xi(c),n[s].c(),K(n[s],1),n[s].m(e.parentNode,e))}for(Ce(),s=r.length;s<n.length;s+=1)l(s);Me()}},i(o){if(!t){for(let a=0;a<r.length;a+=1)K(n[a]);t=!0}},o(o){n=n.filter(Boolean);for(let a=0;a<n.length;a+=1)ee(n[a]);t=!1},d(o){De(n,o),o&&M(e)}}}function zo(i){let e,t,r,n,l,o,a,s,c,d;return r=new de({props:{type:"avatar",size:i[1]}}),o=new de({props:{type:"title",size:i[1]}}),s=new de({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ue(r.$$.fragment),n=D(),l=b("div"),ue(o.$$.fragment),a=D(),ue(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){k(f,e,h),m(e,t),se(r,t,null),m(e,n),m(e,l),se(o,l,null),m(l,a),se(s,l,null),d=!0},p(f,h){const y={};h&2&&(y.size=f[1]),r.$set(y);const w={};h&2&&(w.size=f[1]),o.$set(w);const v={};h&2&&(v.size=f[1]),s.$set(v),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(o.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){ee(r.$$.fragment,f),ee(o.$$.fragment,f),ee(s.$$.fragment,f),d=!1},d(f){f&&M(e),ce(r),ce(o),ce(s)}}}function Co(i){let e,t,r,n,l,o,a,s,c;return t=new de({props:{type:"image",size:i[1]}}),l=new de({props:{type:"header",size:i[1]}}),a=new de({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=b("div"),ue(t.$$.fragment),r=D(),n=b("div"),ue(l.$$.fragment),o=D(),ue(a.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),J(e,"--max-width",i[0])},m(d,f){k(d,e,f),se(t,e,null),m(e,r),m(e,n),se(l,n,null),m(n,o),se(a,n,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const y={};f&2&&(y.size=d[1]),l.$set(y);const w={};f&2&&(w.size=d[1]),f&4&&(w.linecount=d[2]),a.$set(w),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&J(e,"--max-width",d[0])},i(d){c||(K(t.$$.fragment,d),K(l.$$.fragment,d),K(a.$$.fragment,d),c=!0)},o(d){ee(t.$$.fragment,d),ee(l.$$.fragment,d),ee(a.$$.fragment,d),c=!1},d(d){d&&M(e),ce(t),ce(l),ce(a)}}}function xi(i){let e,t;return e=new de({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ue(e.$$.fragment)},m(r,n){se(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){ee(e.$$.fragment,r),t=!1},d(r){ce(e,r)}}}function Mo(i){let e,t,r,n,l;const o=[Co,zo,Eo,xo,ko],a=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:c[3]==="article"?3:4}return t=s(i),r=a[t]=o[t](i),{c(){e=b("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",n=""+(Y(i[5],i[6],i[7],i[8])+";"))},m(c,d){k(c,e,d),a[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?a[t].p(c,d):(Ce(),ee(a[f],1,1,()=>{a[f]=null}),Me(),r=a[t],r?r.p(c,d):(r=a[t]=o[t](c),r.c()),K(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(Y(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(K(r),l=!0)},o(c){ee(r),l=!1},d(c){c&&M(e),a[t].d()}}}function Lo(i,e,t){const[r,n]=$("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","lines","profile","article"],!0),[l,o]=$("Skeleton size",["1","2","3","4"]);let{maxwidth:a=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:y=null}=e,{mb:w=null}=e,{ml:v=null}=e;return Q(()=>{n(d),o(s)}),i.$$set=_=>{"maxwidth"in _&&t(0,a=_.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,y=_.mr),"mb"in _&&t(7,w=_.mb),"ml"in _&&t(8,v=_.ml)},[a,s,c,d,f,h,y,w,v]}class de extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Lo,Mo,O,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-skeleton",de);function Ao(i){let e;return{c(){e=b("div"),this.c=x},m(t,r){k(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&M(e),i[3](null)}}}function To(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;Q(()=>{Mt(l,":host",{display:"block",width:r==="fill"?"100%":`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function o(a){X[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"hspacing"in a&&t(1,r=a.hspacing),"vspacing"in a&&t(2,n=a.vspacing)},[l,r,n,o]}class Io extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},To,Ao,O,{hspacing:1,vspacing:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",Io);const Ae=[];function No(i,e=x){let t;const r=new Set;function n(a){if(O(i,a)&&(i=a,t)){const s=!Ae.length;for(const c of r)c[1](),Ae.push(c,i);if(s){for(let c=0;c<Ae.length;c+=2)Ae[c][0](Ae[c+1]);Ae.length=0}}}function l(a){n(a(i))}function o(a,s=x){const c=[a,s];return r.add(c),r.size===1&&(t=e(n)||x),a(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:o}}function Ei(i){return Object.prototype.toString.call(i)==="[object Date]"}function ft(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,l)=>ft(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Ei(i)&&Ei(e)){i=i.getTime(),e=e.getTime();const l=e-i;return o=>new Date(i+o*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=ft(i[l],e[l])}),l=>{const o={};return r.forEach(a=>{o[a]=n[a](l)}),o}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Do(i,e={}){const t=No(i);let r,n=i;function l(o,a){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=Ne,interpolate:y=ft}=gt(gt({},e),a);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Ye()+d;let v;return r=Fe(_=>{if(_<w)return!0;c||(v=y(i,o),typeof f=="function"&&(f=f(i,o)),c=!0),s&&(s.abort(),s=null);const p=_-w;return p>f?(t.set(i=o),!1):(t.set(i=v(h(p/f))),!0)}),r.promise}return{set:l,update:(o,a)=>l(o(n,i),a),subscribe:t.subscribe}}function zi(i){let e,t,r,n,l,o,a,s,c;return{c(){e=we("svg"),t=we("circle"),l=we("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(l,"d",o=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",a=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(l,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){k(d,e,f),m(e,t),m(e,l)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&o!==(o=d[9](d[7]))&&u(l,"d",o),f&16&&u(l,"stroke-width",d[4]),f&1&&a!==(a=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(l,"stroke",a),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&M(e)}}}function Ho(i){let e,t=i[6]&&zi(i);return{c(){t&&t.c(),e=_e(),this.c=x},m(r,n){t&&t.m(r,n),k(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=zi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:x,o:x,d(r){t&&t.d(r),r&&M(e)}}}function jo(i,e,t){let r,n,l,o,a,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,y="infinite";const w=Do(0,{duration:500,easing:Fr});Si(i,w,p=>t(7,s=p));function v(p){const C=l+o*Math.cos(p),L=l+o*Math.sin(p);return C+" "+L}function _(p){switch(y){case"progress":{const C=v(-Math.PI/2),L=v(-Math.PI/2+2*Math.PI*(p/100)),I=p%100<50?0:1;return`M ${C} A ${o} ${o} 0 ${I} 1 ${L}`}case"infinite":{const C=v(Math.PI*1.5),L=v(0);return`M ${C} A ${o} ${o} 0 1 0 ${L}`}}}return i.$$set=p=>{"size"in p&&t(10,c=p.size),"invert"in p&&t(0,d=p.invert),"progress"in p&&t(11,f=p.progress),"testid"in p&&t(1,h=p.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const p=parseFloat(f+"");p>=0&&(w.set(p||1),t(2,y="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,l=r/2),i.$$.dirty&24&&t(12,o=l-n/2),i.$$.dirty&6148&&t(6,a=y==="infinite"?o:o&&f)},[d,h,y,l,n,r,a,s,w,_,c,f,o]}class Ro extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jo,Ho,O,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Ro);function So(i){let e,t,r,n,l;return{c(){e=b("table"),t=b("slot"),r=D(),n=b("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
114
|
+
`)&&u(e,"style",r)},i:x,o:x,d(o){o&&M(e),i[8](null),n=!1,l()}}}function _o(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=""}=e,{vpadding:l=""}=e,{maxheight:o=""}=e,{offsetHeight:a}=e,{scrollHeight:s}=e,c;function d(h){h.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:c.offsetHeight,scrollHeight:c.scrollHeight,scrollTop:c.scrollTop}})),h.stopPropagation()}Q(()=>{t(6,a=c.offsetHeight),t(7,s=c.scrollHeight)});function f(h){X[h?"unshift":"push"](()=>{c=h,t(4,c)})}return i.$$set=h=>{"direction"in h&&t(0,r=h.direction),"hpadding"in h&&t(1,n=h.hpadding),"vpadding"in h&&t(2,l=h.vpadding),"maxheight"in h&&t(3,o=h.maxheight),"offsetHeight"in h&&t(6,a=h.offsetHeight),"scrollHeight"in h&&t(7,s=h.scrollHeight)},[r,n,l,o,c,d,a,s,f]}class po extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},_o,wo,O,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),g()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),g()}}customElements.define("goa-scrollable",po);function ki(i,e,t){const r=i.slice();return r[13]=e[t],r}function ko(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){k(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&M(e)}}}function xo(i){let e,t,r,n,l,o,a,s,c,d,f,h;return n=new de({props:{type:"image",size:i[1]}}),a=new de({props:{type:"header",size:"4"}}),c=new de({props:{type:"header",size:"1"}}),f=new de({props:{type:"lines",size:i[1]}}),{c(){e=b("div"),t=b("div"),r=b("div"),ue(n.$$.fragment),l=D(),o=b("div"),ue(a.$$.fragment),s=D(),ue(c.$$.fragment),d=D(),ue(f.$$.fragment),J(r,"flex","1 1 auto"),J(o,"flex","2 2 auto"),J(t,"display","flex"),J(t,"gap","1rem")},m(y,w){k(y,e,w),m(e,t),m(t,r),se(n,r,null),m(t,l),m(t,o),se(a,o,null),m(o,s),se(c,o,null),m(e,d),se(f,e,null),h=!0},p(y,w){const v={};w&2&&(v.size=y[1]),n.$set(v);const _={};w&2&&(_.size=y[1]),f.$set(_)},i(y){h||(K(n.$$.fragment,y),K(a.$$.fragment,y),K(c.$$.fragment,y),K(f.$$.fragment,y),h=!0)},o(y){ee(n.$$.fragment,y),ee(a.$$.fragment,y),ee(c.$$.fragment,y),ee(f.$$.fragment,y),h=!1},d(y){y&&M(e),ce(n),ce(a),ce(c),ce(f)}}}function Eo(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let o=0;o<r.length;o+=1)n[o]=xi(ki(i,r,o));const l=o=>ee(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=_e()},m(o,a){for(let s=0;s<n.length;s+=1)n[s].m(o,a);k(o,e,a),t=!0},p(o,a){if(a&6){r=Array(Number.parseInt(o[2]+""));let s;for(s=0;s<r.length;s+=1){const c=ki(o,r,s);n[s]?(n[s].p(c,a),K(n[s],1)):(n[s]=xi(c),n[s].c(),K(n[s],1),n[s].m(e.parentNode,e))}for(Ce(),s=r.length;s<n.length;s+=1)l(s);Me()}},i(o){if(!t){for(let a=0;a<r.length;a+=1)K(n[a]);t=!0}},o(o){n=n.filter(Boolean);for(let a=0;a<n.length;a+=1)ee(n[a]);t=!1},d(o){De(n,o),o&&M(e)}}}function zo(i){let e,t,r,n,l,o,a,s,c,d;return r=new de({props:{type:"avatar",size:i[1]}}),o=new de({props:{type:"title",size:i[1]}}),s=new de({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ue(r.$$.fragment),n=D(),l=b("div"),ue(o.$$.fragment),a=D(),ue(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){k(f,e,h),m(e,t),se(r,t,null),m(e,n),m(e,l),se(o,l,null),m(l,a),se(s,l,null),d=!0},p(f,h){const y={};h&2&&(y.size=f[1]),r.$set(y);const w={};h&2&&(w.size=f[1]),o.$set(w);const v={};h&2&&(v.size=f[1]),s.$set(v),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(o.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){ee(r.$$.fragment,f),ee(o.$$.fragment,f),ee(s.$$.fragment,f),d=!1},d(f){f&&M(e),ce(r),ce(o),ce(s)}}}function Co(i){let e,t,r,n,l,o,a,s,c;return t=new de({props:{type:"image",size:i[1]}}),l=new de({props:{type:"header",size:i[1]}}),a=new de({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=b("div"),ue(t.$$.fragment),r=D(),n=b("div"),ue(l.$$.fragment),o=D(),ue(a.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),J(e,"--max-width",i[0])},m(d,f){k(d,e,f),se(t,e,null),m(e,r),m(e,n),se(l,n,null),m(n,o),se(a,n,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const y={};f&2&&(y.size=d[1]),l.$set(y);const w={};f&2&&(w.size=d[1]),f&4&&(w.linecount=d[2]),a.$set(w),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&J(e,"--max-width",d[0])},i(d){c||(K(t.$$.fragment,d),K(l.$$.fragment,d),K(a.$$.fragment,d),c=!0)},o(d){ee(t.$$.fragment,d),ee(l.$$.fragment,d),ee(a.$$.fragment,d),c=!1},d(d){d&&M(e),ce(t),ce(l),ce(a)}}}function xi(i){let e,t;return e=new de({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ue(e.$$.fragment)},m(r,n){se(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){ee(e.$$.fragment,r),t=!1},d(r){ce(e,r)}}}function Mo(i){let e,t,r,n,l;const o=[Co,zo,Eo,xo,ko],a=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:c[3]==="article"?3:4}return t=s(i),r=a[t]=o[t](i),{c(){e=b("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",n=""+(Y(i[5],i[6],i[7],i[8])+";"))},m(c,d){k(c,e,d),a[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?a[t].p(c,d):(Ce(),ee(a[f],1,1,()=>{a[f]=null}),Me(),r=a[t],r?r.p(c,d):(r=a[t]=o[t](c),r.c()),K(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(Y(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(K(r),l=!0)},o(c){ee(r),l=!1},d(c){c&&M(e),a[t].d()}}}function Lo(i,e,t){const[r,n]=$("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","lines","profile","article"],!0),[l,o]=$("Skeleton size",["1","2","3","4"]);let{maxwidth:a=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:y=null}=e,{mb:w=null}=e,{ml:v=null}=e;return Q(()=>{setTimeout(()=>n(d),1),o(s)}),i.$$set=_=>{"maxwidth"in _&&t(0,a=_.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,y=_.mr),"mb"in _&&t(7,w=_.mb),"ml"in _&&t(8,v=_.ml)},[a,s,c,d,f,h,y,w,v]}class de extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Lo,Mo,O,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-skeleton",de);function Ao(i){let e;return{c(){e=b("div"),this.c=x},m(t,r){k(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&M(e),i[3](null)}}}function To(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;Q(()=>{Mt(l,":host",{display:"block",width:r==="fill"?"100%":`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function o(a){X[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"hspacing"in a&&t(1,r=a.hspacing),"vspacing"in a&&t(2,n=a.vspacing)},[l,r,n,o]}class Io extends B{constructor(e){super();G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},To,Ao,O,{hspacing:1,vspacing:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",Io);const Ae=[];function No(i,e=x){let t;const r=new Set;function n(a){if(O(i,a)&&(i=a,t)){const s=!Ae.length;for(const c of r)c[1](),Ae.push(c,i);if(s){for(let c=0;c<Ae.length;c+=2)Ae[c][0](Ae[c+1]);Ae.length=0}}}function l(a){n(a(i))}function o(a,s=x){const c=[a,s];return r.add(c),r.size===1&&(t=e(n)||x),a(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:o}}function Ei(i){return Object.prototype.toString.call(i)==="[object Date]"}function ft(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,l)=>ft(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Ei(i)&&Ei(e)){i=i.getTime(),e=e.getTime();const l=e-i;return o=>new Date(i+o*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=ft(i[l],e[l])}),l=>{const o={};return r.forEach(a=>{o[a]=n[a](l)}),o}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Do(i,e={}){const t=No(i);let r,n=i;function l(o,a){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=Ne,interpolate:y=ft}=gt(gt({},e),a);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Ye()+d;let v;return r=Fe(_=>{if(_<w)return!0;c||(v=y(i,o),typeof f=="function"&&(f=f(i,o)),c=!0),s&&(s.abort(),s=null);const p=_-w;return p>f?(t.set(i=o),!1):(t.set(i=v(h(p/f))),!0)}),r.promise}return{set:l,update:(o,a)=>l(o(n,i),a),subscribe:t.subscribe}}function zi(i){let e,t,r,n,l,o,a,s,c;return{c(){e=we("svg"),t=we("circle"),l=we("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(l,"d",o=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",a=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(l,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){k(d,e,f),m(e,t),m(e,l)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&o!==(o=d[9](d[7]))&&u(l,"d",o),f&16&&u(l,"stroke-width",d[4]),f&1&&a!==(a=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(l,"stroke",a),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&M(e)}}}function Ho(i){let e,t=i[6]&&zi(i);return{c(){t&&t.c(),e=_e(),this.c=x},m(r,n){t&&t.m(r,n),k(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=zi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:x,o:x,d(r){t&&t.d(r),r&&M(e)}}}function jo(i,e,t){let r,n,l,o,a,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,y="infinite";const w=Do(0,{duration:500,easing:Fr});Si(i,w,p=>t(7,s=p));function v(p){const C=l+o*Math.cos(p),L=l+o*Math.sin(p);return C+" "+L}function _(p){switch(y){case"progress":{const C=v(-Math.PI/2),L=v(-Math.PI/2+2*Math.PI*(p/100)),I=p%100<50?0:1;return`M ${C} A ${o} ${o} 0 ${I} 1 ${L}`}case"infinite":{const C=v(Math.PI*1.5),L=v(0);return`M ${C} A ${o} ${o} 0 1 0 ${L}`}}}return i.$$set=p=>{"size"in p&&t(10,c=p.size),"invert"in p&&t(0,d=p.invert),"progress"in p&&t(11,f=p.progress),"testid"in p&&t(1,h=p.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const p=parseFloat(f+"");p>=0&&(w.set(p||1),t(2,y="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,l=r/2),i.$$.dirty&24&&t(12,o=l-n/2),i.$$.dirty&6148&&t(6,a=y==="infinite"?o:o&&f)},[d,h,y,l,n,r,a,s,w,_,c,f,o]}class Ro extends B{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jo,Ho,O,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Ro);function So(i){let e,t,r,n,l;return{c(){e=b("table"),t=b("slot"),r=D(),n=b("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
115
115
|
<tbody><tr><td></td></tr></tbody>
|
|
116
116
|
<tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",l=`
|
|
117
117
|
${i[0]?`width: ${i[0]};`:""}
|