@abgov/web-components 1.0.0-alpha.193 → 1.0.0-alpha.195
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 +2 -2
- package/web-components.umd.js +1 -1
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -3010,7 +3010,7 @@ function instance$F($$self, $$props, $$invalidate) {
|
|
|
3010
3010
|
class Callout extends SvelteElement {
|
|
3011
3011
|
constructor(options) {
|
|
3012
3012
|
super();
|
|
3013
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;overflow:hidden;font:var(--goa-typography-body-m)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:var(--goa-space-none);margin-bottom:var(--goa-space-m)}.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{text-align:center;padding-top:var(--goa-space-l);padding-left:var(--goa-space-s);padding-right:var(--goa-space-s)}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:var(--goa-space-l)}.notification.medium{font:var(--goa-typography-body-s)
|
|
3013
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;overflow:hidden;font:var(--goa-typography-body-m)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:var(--goa-space-none);margin-bottom:var(--goa-space-m)}.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{text-align:center;padding-top:var(--goa-space-l);padding-left:var(--goa-space-s);padding-right:var(--goa-space-s)}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:var(--goa-space-l)}.notification.medium{font:var(--goa-typography-body-s)}h3.medium{font:var(--goa-typography-heading-xs);margin-bottom:var(--goa-space-2xs)}.notification.medium .content{padding:var(--goa-space-s);margin-top:calc(-1 * var(--goa-space-3xs))}.notification.medium .icon{padding-top:var(--goa-space-s);padding-left:var(--goa-space-2xs);padding-right:var(--goa-space-2xs)}</style>`;
|
|
3014
3014
|
|
|
3015
3015
|
init(
|
|
3016
3016
|
this,
|
|
@@ -3844,7 +3844,7 @@ function instance$C($$self, $$props, $$invalidate) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
};
|
|
3846
3846
|
|
|
3847
|
-
$$invalidate(10, isIndeterminate = false); //
|
|
3847
|
+
$$invalidate(10, isIndeterminate = false); // Design review. To be built with TreeView Later
|
|
3848
3848
|
|
|
3849
3849
|
return [
|
|
3850
3850
|
name,
|
package/web-components.umd.js
CHANGED
|
@@ -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:C,o:C,d(n){n&&L(e)}}}function Tr(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:o="start"}=e,{mt:a=null}=e,{mr:l=null}=e,{mb: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,o=d.alignment),"mt"in d&&t(3,a=d.mt),"mr"in d&&t(4,l=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,o,a,l,s,c]}class Ir extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Tr,Ar,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",Ir);function Dr(i){let e,t,r,n,o=i[3]&&Rt(i),a=i[4]&&St(i);return{c(){o&&o.c(),e=N(),t=y("span"),t.innerHTML="<slot></slot>",r=N(),a&&a.c(),n=ue(),u(t,"class","text")},m(l,s){o&&o.m(l,s),k(l,e,s),k(l,t,s),k(l,r,s),a&&a.m(l,s),k(l,n,s)},p(l,s){l[3]?o?o.p(l,s):(o=Rt(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?a?a.p(l,s):(a=St(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&L(e),l&&L(t),l&&L(r),a&&a.d(l),l&&L(n)}}}function Nr(i){let e,t,r;return{c(){e=y("span"),e.innerHTML="<slot></slot>",t=N(),r=y("goa-icon"),u(e,"class","text"),x(r,"id","trailing-icon"),x(r,"type","arrow-forward"),x(r,"inverted","true")},m(n,o){k(n,e,o),k(n,t,o),k(n,r,o)},p:C,d(n){n&&L(e),n&&L(t),n&&L(r)}}}function Rt(i){let e;return{c(){e=y("goa-icon"),x(e,"id","leading-icon"),x(e,"type",i[3]),x(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&8&&x(e,"type",t[3]),r&2048&&x(e,"inverted",t[11])},d(t){t&&L(e)}}}function St(i){let e;return{c(){e=y("goa-icon"),x(e,"id","trailing-icon"),x(e,"type",i[4]),x(e,"inverted",i[11])},m(t,r){k(t,e,r)},p(t,r){r&16&&x(e,"type",t[4]),r&2048&&x(e,"inverted",t[11])},d(t){t&&L(e)}}}function Rr(i){let e,t,r,n,o;function a(c,d){return c[0]==="start"?Nr:Dr}let l=a(i),s=l(i);return{c(){e=y("button"),s.c(),this.c=C,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=Y(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),B(e,"leading",i[3]),B(e,"trailing",i[4]||i[0]==="start")},m(c,d){k(c,e,d),s.m(e,null),n||(o=[q(e,"click",i[12]),q(e,"click",i[12])],n=!0)},p(c,[d]){l===(l=a(c))&&s?s.p(c,d):(s.d(1),s=l(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&&B(e,"leading",c[3]),d&23&&B(e,"trailing",c[4]||c[0]==="start")},i:C,o:C,d(c){c&&L(e),s.d(),n=!1,ae(o)}}}function Sr(i,e,t){let r,n;const[o,a]=$("Button type",["primary","submit","secondary","tertiary","start"],!0),[l,s]=$("Button size",["normal","compact"],!0),[c,d]=$("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:w="normal"}=e,{disabled:v="false"}=e,{leadingicon:p=null}=e,{trailingicon:_=null}=e,{testid:m=""}=e,{mt:M=null}=e,{mr:I=null}=e,{mb:E=null}=e,{ml:z=null}=e;function T(H){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return Q(()=>{a(f),s(h),d(w)}),i.$$set=H=>{"type"in H&&t(0,f=H.type),"size"in H&&t(1,h=H.size),"variant"in H&&t(2,w=H.variant),"disabled"in H&&t(13,v=H.disabled),"leadingicon"in H&&t(3,p=H.leadingicon),"trailingicon"in H&&t(4,_=H.trailingicon),"testid"in H&&t(5,m=H.testid),"mt"in H&&t(6,M=H.mt),"mr"in H&&t(7,I=H.mr),"mb"in H&&t(8,E=H.mb),"ml"in H&&t(9,z=H.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=X(v)),i.$$.dirty&1&&t(11,n=f==="primary"||f==="start")},[f,h,w,p,_,m,M,I,E,z,r,n,T,v]}class jr extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
19
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4);padding-left:var(--goa-space-xs);padding-right:var(--goa-space-xs)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:transparent}.tertiary.destructive:hover{color:var(--goa-color-emergency-dark)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark)}</style>`,F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sr,Rr,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",jr);function Vr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=C,u(e,"data-testid",i[1]),u(e,"style",r=""+(Y(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,o){k(n,e,o),b(e,t)},p(n,[o]){o&2&&u(e,"data-testid",n[1]),o&125&&r!==(r=""+(Y(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:C,o:C,d(n){n&&L(e)}}}function Br(i,e,t){let r,{alignment:n="start"}=e,{gap:o="relaxed"}=e,{testid:a=""}=e,{mt:l=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=$("alignment",["start","end","center"]),[w,v]=$("gap",["relaxed","compact"]);return Q(()=>{h(n),v(o)}),i.$$set=p=>{"alignment"in p&&t(7,n=p.alignment),"gap"in p&&t(0,o=p.gap),"testid"in p&&t(1,a=p.testid),"mt"in p&&t(2,l=p.mt),"mr"in p&&t(3,s=p.mr),"mb"in p&&t(4,c=p.mb),"ml"in p&&t(5,d=p.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[o,a,l,s,c,d,r,n]}class Or extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Br,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",Or);function jt(i){let e,t;return{c(){e=y("h3"),t=P(i[5]),B(e,"medium",i[9])},m(r,n){k(r,e,n),b(e,t)},p(r,n){n&32&&W(t,r[5]),n&512&&B(e,"medium",r[9])},d(r){r&&L(e)}}}function Zr(i){let e,t,r,n,o,a,l,s,c,d,f,h;me(i[12]);let w=i[5]&&jt(i);return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),a=N(),l=y("span"),w&&w.c(),s=N(),c=y("slot"),this.c=C,x(r,"type",i[10]),x(r,"size",i[8]),x(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",o="icon "+i[4]),u(l,"class","content"),u(e,"style",d=Y(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6]),B(e,"medium",i[9])},m(v,p){k(v,e,p),b(e,t),b(t,r),b(e,a),b(e,l),w&&w.m(l,null),b(l,s),b(l,c),f||(h=q(window,"resize",i[12]),f=!0)},p(v,[p]){p&1024&&x(r,"type",v[10]),p&256&&x(r,"size",v[8]),p&16&&n!==(n=v[4]==="important"?"false":"true")&&x(r,"inverted",n),p&16&&o!==(o="icon "+v[4])&&u(t,"class",o),v[5]?w?w.p(v,p):(w=jt(v),w.c(),w.m(l,s)):w&&(w.d(1),w=null),p&15&&d!==(d=Y(v[0],v[1],v[2],v[3]))&&u(e,"style",d),p&64&&u(e,"data-testid",v[6]),p&512&&B(e,"medium",v[9])},i:C,o:C,d(v){v&&L(e),w&&w.d(),f=!1,h()}}}function Pr(i,e,t){let r,n;const[o,a]=$("Callout type",["emergency","important","information","event","success"],!0),[l,s]=$("Callout size",["medium","large"]);let{mt:c=null}=e,{mr:d=null}=e,{mb:f="l"}=e,{ml:h=null}=e,{size:w="large"}=e,{type:v}=e,{heading:p=""}=e,{testid:_=""}=e,m=0,M="medium";Q(()=>{s(w),setTimeout(()=>{a(v),t(8,M=r?"small":"medium")})});function I(){t(7,m=window.innerWidth)}return i.$$set=E=>{"mt"in E&&t(0,c=E.mt),"mr"in E&&t(1,d=E.mr),"mb"in E&&t(2,f=E.mb),"ml"in E&&t(3,h=E.ml),"size"in E&&t(11,w=E.size),"type"in E&&t(4,v=E.type),"heading"in E&&t(5,p=E.heading),"testid"in E&&t(6,_=E.testid)},i.$$.update=()=>{i.$$.dirty&2176&&t(9,r=m<640||w==="medium"),i.$$.dirty&16&&t(10,n=v==="emergency"?"warning":v==="important"?"alert-circle":v==="information"?"information-circle":v==="success"?"checkmark-circle":v==="event"?"calendar":"")},[c,d,f,h,v,p,_,m,M,r,n,w,I]}class Gr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;overflow:hidden;font:var(--goa-typography-body-m)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:var(--goa-space-none);margin-bottom:var(--goa-space-m)}.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{text-align:center;padding-top:var(--goa-space-l);padding-left:var(--goa-space-s);padding-right:var(--goa-space-s)}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:var(--goa-space-l)}.notification.medium{font:var(--goa-typography-body-s);max-width:22rem}h3.medium{font:var(--goa-typography-heading-xs);margin-bottom:var(--goa-space-2xs)}.notification.medium .content{padding:var(--goa-space-s);margin-top:calc(-1 * var(--goa-space-3xs))}.notification.medium .icon{padding-top:var(--goa-space-s);padding-left:var(--goa-space-2xs);padding-right:var(--goa-space-2xs)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,Zr,O,{mt:0,mr:1,mb:2,ml:3,size:11,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","size","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 size(){return this.$$.ctx[11]}set size(e){this.$$set({size: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",Gr);function Fr(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=C},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&L(e)}}}class Yr extends Z{constructor(e){super();F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Fr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Yr);function qr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=C,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Y(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){k(n,e,o),b(e,t)},p(n,[o]){o&128&&u(e,"data-testid",n[7]),o&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Y(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:C,o:C,d(n){n&&L(e)}}}function Wr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:o="auto"}=e,{mt:a=null}=e,{mr:l=null}=e,{mb: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,o=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,l=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,o,a,l,s,c,d]}class Ur extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Wr,qr,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",Ur);function Qr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=C,u(e,"class","card-content")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&L(e)}}}class Kr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Qr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Kr);function Xr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=C,u(e,"class","card-group")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&L(e)}}}class Jr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Xr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Jr);function $r(i){let e;return{c(){e=y("div"),this.c=C,ee(e,"background-image","url("+i[0]+")"),ee(e,"height",i[1]),ee(e,"background-size","cover"),ee(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&ee(e,"background-image","url("+t[0]+")"),r&2&&ee(e,"height",t[1])},i:C,o:C,d(t){t&&L(e)}}}function en(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class tn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},en,$r,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",tn);function rn(i){let e,t;return{c(){e=xe("svg"),t=xe("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),b(e,t)},d(r){r&&L(e)}}}function nn(i){let e,t;return{c(){e=xe("svg"),t=xe("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),b(e,t)},d(r){r&&L(e)}}}function on(i){let e,t,r,n,o,a,l,s,c,d,f,h,w;function v(m,M){if(m[10])return nn;if(m[9])return rn}let p=v(i),_=p&&p(i);return{c(){e=y("label"),t=y("div"),r=y("input"),a=N(),_&&_.c(),l=N(),s=y("div"),c=y("slot"),d=P(i[1]),this.c=C,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",o=i[4]||i[0]),u(t,"class","goa-checkbox-container"),B(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"),B(e,"goa-checkbox--disabled",i[12]),B(e,"goa-checkbox--error",i[11])},m(m,M){k(m,e,M),b(e,t),b(t,r),b(t,a),_&&_.m(t,null),b(e,l),b(e,s),b(s,c),b(c,d),h||(w=q(r,"change",i[13]),h=!0)},p(m,[M]){M&1&&u(r,"id",m[0]),M&1&&u(r,"name",m[0]),M&512&&(r.checked=m[9]),M&4096&&(r.disabled=m[12]),M&4&&n!==(n=`${m[2]}`)&&(r.value=n),M&17&&o!==(o=m[4]||m[0])&&u(r,"aria-label",o),p!==(p=v(m))&&(_&&_.d(1),_=p&&p(m),_&&(_.c(),_.m(t,null))),M&512&&B(t,"goa-checkbox--selected",m[9]),M&2&&W(d,m[1]),M&8&&u(e,"data-testid",m[3]),M&1&&u(e,"for",m[0]),M&480&&f!==(f=Y(m[5],m[6],m[7],m[8]))&&u(e,"style",f),M&4096&&B(e,"goa-checkbox--disabled",m[12]),M&2048&&B(e,"goa-checkbox--error",m[11])},i:C,o:C,d(m){m&&L(e),_&&_.d(),h=!1,w()}}}function an(i,e,t){let r,n,o,a,{name:l}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:w=""}=e,{arialabel:v=""}=e,{mt:p=null}=e,{mr:_=null}=e,{mb:m=null}=e,{ml:M=null}=e,I;Q(()=>{I=d});function E(z){const T=!o,H=T?`${I||"checked"}`:"";t(14,s=mr(T)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:T,value:H}}))}return i.$$set=z=>{"name"in z&&t(0,l=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,w=z.testid),"arialabel"in z&&t(4,v=z.arialabel),"mt"in z&&t(5,p=z.mt),"mr"in z&&t(6,_=z.mr),"mb"in z&&t(7,m=z.mb),"ml"in z&&t(8,M=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=X(f)),i.$$.dirty&65536&&t(11,n=X(h)),i.$$.dirty&16384&&t(9,o=X(s))},t(10,a=!1),[l,c,d,w,v,p,_,m,M,o,a,n,r,E,s,f,h]}class ln extends Z{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},an,on,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",ln);function Vt(i){let e;return{c(){e=y("goa-icon"),x(e,"class","leading-icon"),x(e,"size","medium"),x(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&x(e,"type",t[4])},d(t){t&&L(e)}}}function Bt(i){let e,t,r;return{c(){e=y("goa-icon"),x(e,"class","delete-icon"),x(e,"size","medium"),x(e,"theme","filled"),x(e,"type","close-circle"),x(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),x(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,o){k(n,e,o)},p(n,o){o&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&x(e,"fillcolor",t),o&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&x(e,"opacity",r)},d(n){n&&L(e)}}}function sn(i){let e,t,r,n,o,a,l,s,c=i[4]&&Vt(i),d=i[11]&&Bt(i);return{c(){e=y("div"),c&&c.c(),t=N(),r=y("div"),n=P(i[5]),o=N(),d&&d.c(),this.c=C,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=Y(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),B(e,"deletable",i[11]),B(e,"error",i[10]),B(e,"variant",i[6])},m(f,h){k(f,e,h),c&&c.m(e,null),b(e,t),b(e,r),b(r,n),b(e,o),d&&d.m(e,null),i[15](e),l||(s=[q(e,"click",i[16]),q(e,"mouseover",i[17]),q(e,"mouseout",i[18]),q(e,"focus",i[19]),q(e,"blur",i[20])],l=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Vt(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=Bt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&a!==(a=Y(f[0],f[1],f[2],f[3]))&&u(e,"style",a),h&2048&&B(e,"deletable",f[11]),h&1024&&B(e,"error",f[10]),h&64&&B(e,"variant",f[6])},i:C,o:C,d(f){f&&L(e),c&&c.d(),d&&d.d(),i[15](null),l=!1,ae(s)}}}function cn(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:o=null}=e,{ml:a=null}=e,{leadingicon:l=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,w,v=!1,p,_;function m(D){w.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),D.stopPropagation()}function M(D){U[D?"unshift":"push"](()=>{w=D,t(8,w)})}const I=D=>_&&m(D),E=()=>t(9,v=!0),z=()=>t(9,v=!1),T=()=>t(9,v=!1),H=()=>t(9,v=!1);return i.$$set=D=>{"mt"in D&&t(0,r=D.mt),"mr"in D&&t(1,n=D.mr),"mb"in D&&t(2,o=D.mb),"ml"in D&&t(3,a=D.ml),"leadingicon"in D&&t(4,l=D.leadingicon),"error"in D&&t(13,s=D.error),"deletable"in D&&t(14,c=D.deletable),"content"in D&&t(5,d=D.content),"variant"in D&&t(6,f=D.variant),"testid"in D&&t(7,h=D.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,p=X(s)),i.$$.dirty&16384&&t(11,_=X(c))},[r,n,o,a,l,d,f,h,w,v,p,_,m,s,c,M,I,E,z,T,H]}class dn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},cn,sn,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",dn);function un(i){const e=i-1;return e*e*e+1}function fn(i){return Math.pow(i-1,3)*(1-i)+1}function Ie(i,{delay:e=0,duration:t=400,easing:r=Se}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*n}`}}function Ot(i,{delay:e=0,duration:t=400,easing:r=un,x:n=0,y:o=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);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);padding-left:var(--goa-space-xs);padding-right:var(--goa-space-xs)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:transparent}.tertiary.destructive:hover{color:var(--goa-color-emergency-dark)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark)}</style>`,F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sr,Rr,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",jr);function Vr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=C,u(e,"data-testid",i[1]),u(e,"style",r=""+(Y(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,o){k(n,e,o),b(e,t)},p(n,[o]){o&2&&u(e,"data-testid",n[1]),o&125&&r!==(r=""+(Y(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:C,o:C,d(n){n&&L(e)}}}function Br(i,e,t){let r,{alignment:n="start"}=e,{gap:o="relaxed"}=e,{testid:a=""}=e,{mt:l=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=$("alignment",["start","end","center"]),[w,v]=$("gap",["relaxed","compact"]);return Q(()=>{h(n),v(o)}),i.$$set=p=>{"alignment"in p&&t(7,n=p.alignment),"gap"in p&&t(0,o=p.gap),"testid"in p&&t(1,a=p.testid),"mt"in p&&t(2,l=p.mt),"mr"in p&&t(3,s=p.mr),"mb"in p&&t(4,c=p.mb),"ml"in p&&t(5,d=p.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[o,a,l,s,c,d,r,n]}class Or extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Br,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",Or);function jt(i){let e,t;return{c(){e=y("h3"),t=P(i[5]),B(e,"medium",i[9])},m(r,n){k(r,e,n),b(e,t)},p(r,n){n&32&&W(t,r[5]),n&512&&B(e,"medium",r[9])},d(r){r&&L(e)}}}function Zr(i){let e,t,r,n,o,a,l,s,c,d,f,h;me(i[12]);let w=i[5]&&jt(i);return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),a=N(),l=y("span"),w&&w.c(),s=N(),c=y("slot"),this.c=C,x(r,"type",i[10]),x(r,"size",i[8]),x(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",o="icon "+i[4]),u(l,"class","content"),u(e,"style",d=Y(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6]),B(e,"medium",i[9])},m(v,p){k(v,e,p),b(e,t),b(t,r),b(e,a),b(e,l),w&&w.m(l,null),b(l,s),b(l,c),f||(h=q(window,"resize",i[12]),f=!0)},p(v,[p]){p&1024&&x(r,"type",v[10]),p&256&&x(r,"size",v[8]),p&16&&n!==(n=v[4]==="important"?"false":"true")&&x(r,"inverted",n),p&16&&o!==(o="icon "+v[4])&&u(t,"class",o),v[5]?w?w.p(v,p):(w=jt(v),w.c(),w.m(l,s)):w&&(w.d(1),w=null),p&15&&d!==(d=Y(v[0],v[1],v[2],v[3]))&&u(e,"style",d),p&64&&u(e,"data-testid",v[6]),p&512&&B(e,"medium",v[9])},i:C,o:C,d(v){v&&L(e),w&&w.d(),f=!1,h()}}}function Pr(i,e,t){let r,n;const[o,a]=$("Callout type",["emergency","important","information","event","success"],!0),[l,s]=$("Callout size",["medium","large"]);let{mt:c=null}=e,{mr:d=null}=e,{mb:f="l"}=e,{ml:h=null}=e,{size:w="large"}=e,{type:v}=e,{heading:p=""}=e,{testid:_=""}=e,m=0,M="medium";Q(()=>{s(w),setTimeout(()=>{a(v),t(8,M=r?"small":"medium")})});function I(){t(7,m=window.innerWidth)}return i.$$set=E=>{"mt"in E&&t(0,c=E.mt),"mr"in E&&t(1,d=E.mr),"mb"in E&&t(2,f=E.mb),"ml"in E&&t(3,h=E.ml),"size"in E&&t(11,w=E.size),"type"in E&&t(4,v=E.type),"heading"in E&&t(5,p=E.heading),"testid"in E&&t(6,_=E.testid)},i.$$.update=()=>{i.$$.dirty&2176&&t(9,r=m<640||w==="medium"),i.$$.dirty&16&&t(10,n=v==="emergency"?"warning":v==="important"?"alert-circle":v==="information"?"information-circle":v==="success"?"checkmark-circle":v==="event"?"calendar":"")},[c,d,f,h,v,p,_,m,M,r,n,w,I]}class Gr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;overflow:hidden;font:var(--goa-typography-body-m)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:var(--goa-space-none);margin-bottom:var(--goa-space-m)}.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{text-align:center;padding-top:var(--goa-space-l);padding-left:var(--goa-space-s);padding-right:var(--goa-space-s)}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:var(--goa-space-l)}.notification.medium{font:var(--goa-typography-body-s)}h3.medium{font:var(--goa-typography-heading-xs);margin-bottom:var(--goa-space-2xs)}.notification.medium .content{padding:var(--goa-space-s);margin-top:calc(-1 * var(--goa-space-3xs))}.notification.medium .icon{padding-top:var(--goa-space-s);padding-left:var(--goa-space-2xs);padding-right:var(--goa-space-2xs)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,Zr,O,{mt:0,mr:1,mb:2,ml:3,size:11,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","size","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 size(){return this.$$.ctx[11]}set size(e){this.$$set({size: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",Gr);function Fr(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=C},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&L(e)}}}class Yr extends Z{constructor(e){super();F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Fr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Yr);function qr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=C,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Y(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){k(n,e,o),b(e,t)},p(n,[o]){o&128&&u(e,"data-testid",n[7]),o&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Y(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:C,o:C,d(n){n&&L(e)}}}function Wr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:o="auto"}=e,{mt:a=null}=e,{mr:l=null}=e,{mb: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,o=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,l=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,o,a,l,s,c,d]}class Ur extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Wr,qr,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",Ur);function Qr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=C,u(e,"class","card-content")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&L(e)}}}class Kr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Qr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Kr);function Xr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=C,u(e,"class","card-group")},m(t,r){k(t,e,r)},p:C,i:C,o:C,d(t){t&&L(e)}}}class Jr extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Xr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Jr);function $r(i){let e;return{c(){e=y("div"),this.c=C,ee(e,"background-image","url("+i[0]+")"),ee(e,"height",i[1]),ee(e,"background-size","cover"),ee(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&ee(e,"background-image","url("+t[0]+")"),r&2&&ee(e,"height",t[1])},i:C,o:C,d(t){t&&L(e)}}}function en(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class tn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},en,$r,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",tn);function rn(i){let e,t;return{c(){e=xe("svg"),t=xe("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),b(e,t)},d(r){r&&L(e)}}}function nn(i){let e,t;return{c(){e=xe("svg"),t=xe("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),b(e,t)},d(r){r&&L(e)}}}function on(i){let e,t,r,n,o,a,l,s,c,d,f,h,w;function v(m,M){if(m[10])return nn;if(m[9])return rn}let p=v(i),_=p&&p(i);return{c(){e=y("label"),t=y("div"),r=y("input"),a=N(),_&&_.c(),l=N(),s=y("div"),c=y("slot"),d=P(i[1]),this.c=C,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",o=i[4]||i[0]),u(t,"class","goa-checkbox-container"),B(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"),B(e,"goa-checkbox--disabled",i[12]),B(e,"goa-checkbox--error",i[11])},m(m,M){k(m,e,M),b(e,t),b(t,r),b(t,a),_&&_.m(t,null),b(e,l),b(e,s),b(s,c),b(c,d),h||(w=q(r,"change",i[13]),h=!0)},p(m,[M]){M&1&&u(r,"id",m[0]),M&1&&u(r,"name",m[0]),M&512&&(r.checked=m[9]),M&4096&&(r.disabled=m[12]),M&4&&n!==(n=`${m[2]}`)&&(r.value=n),M&17&&o!==(o=m[4]||m[0])&&u(r,"aria-label",o),p!==(p=v(m))&&(_&&_.d(1),_=p&&p(m),_&&(_.c(),_.m(t,null))),M&512&&B(t,"goa-checkbox--selected",m[9]),M&2&&W(d,m[1]),M&8&&u(e,"data-testid",m[3]),M&1&&u(e,"for",m[0]),M&480&&f!==(f=Y(m[5],m[6],m[7],m[8]))&&u(e,"style",f),M&4096&&B(e,"goa-checkbox--disabled",m[12]),M&2048&&B(e,"goa-checkbox--error",m[11])},i:C,o:C,d(m){m&&L(e),_&&_.d(),h=!1,w()}}}function an(i,e,t){let r,n,o,a,{name:l}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:w=""}=e,{arialabel:v=""}=e,{mt:p=null}=e,{mr:_=null}=e,{mb:m=null}=e,{ml:M=null}=e,I;Q(()=>{I=d});function E(z){const T=!o,H=T?`${I||"checked"}`:"";t(14,s=mr(T)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:T,value:H}}))}return i.$$set=z=>{"name"in z&&t(0,l=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,w=z.testid),"arialabel"in z&&t(4,v=z.arialabel),"mt"in z&&t(5,p=z.mt),"mr"in z&&t(6,_=z.mr),"mb"in z&&t(7,m=z.mb),"ml"in z&&t(8,M=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=X(f)),i.$$.dirty&65536&&t(11,n=X(h)),i.$$.dirty&16384&&t(9,o=X(s))},t(10,a=!1),[l,c,d,w,v,p,_,m,M,o,a,n,r,E,s,f,h]}class ln extends Z{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},an,on,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",ln);function Vt(i){let e;return{c(){e=y("goa-icon"),x(e,"class","leading-icon"),x(e,"size","medium"),x(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&x(e,"type",t[4])},d(t){t&&L(e)}}}function Bt(i){let e,t,r;return{c(){e=y("goa-icon"),x(e,"class","delete-icon"),x(e,"size","medium"),x(e,"theme","filled"),x(e,"type","close-circle"),x(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),x(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,o){k(n,e,o)},p(n,o){o&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&x(e,"fillcolor",t),o&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&x(e,"opacity",r)},d(n){n&&L(e)}}}function sn(i){let e,t,r,n,o,a,l,s,c=i[4]&&Vt(i),d=i[11]&&Bt(i);return{c(){e=y("div"),c&&c.c(),t=N(),r=y("div"),n=P(i[5]),o=N(),d&&d.c(),this.c=C,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=Y(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),B(e,"deletable",i[11]),B(e,"error",i[10]),B(e,"variant",i[6])},m(f,h){k(f,e,h),c&&c.m(e,null),b(e,t),b(e,r),b(r,n),b(e,o),d&&d.m(e,null),i[15](e),l||(s=[q(e,"click",i[16]),q(e,"mouseover",i[17]),q(e,"mouseout",i[18]),q(e,"focus",i[19]),q(e,"blur",i[20])],l=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Vt(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=Bt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&a!==(a=Y(f[0],f[1],f[2],f[3]))&&u(e,"style",a),h&2048&&B(e,"deletable",f[11]),h&1024&&B(e,"error",f[10]),h&64&&B(e,"variant",f[6])},i:C,o:C,d(f){f&&L(e),c&&c.d(),d&&d.d(),i[15](null),l=!1,ae(s)}}}function cn(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:o=null}=e,{ml:a=null}=e,{leadingicon:l=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,w,v=!1,p,_;function m(D){w.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),D.stopPropagation()}function M(D){U[D?"unshift":"push"](()=>{w=D,t(8,w)})}const I=D=>_&&m(D),E=()=>t(9,v=!0),z=()=>t(9,v=!1),T=()=>t(9,v=!1),H=()=>t(9,v=!1);return i.$$set=D=>{"mt"in D&&t(0,r=D.mt),"mr"in D&&t(1,n=D.mr),"mb"in D&&t(2,o=D.mb),"ml"in D&&t(3,a=D.ml),"leadingicon"in D&&t(4,l=D.leadingicon),"error"in D&&t(13,s=D.error),"deletable"in D&&t(14,c=D.deletable),"content"in D&&t(5,d=D.content),"variant"in D&&t(6,f=D.variant),"testid"in D&&t(7,h=D.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,p=X(s)),i.$$.dirty&16384&&t(11,_=X(c))},[r,n,o,a,l,d,f,h,w,v,p,_,m,s,c,M,I,E,z,T,H]}class dn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},cn,sn,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",dn);function un(i){const e=i-1;return e*e*e+1}function fn(i){return Math.pow(i-1,3)*(1-i)+1}function Ie(i,{delay:e=0,duration:t=400,easing:r=Se}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*n}`}}function Ot(i,{delay:e=0,duration:t=400,easing:r=un,x:n=0,y:o=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
20
20
|
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*o}px);
|
|
21
21
|
opacity: ${s-d*h}`}}function bt(i,e){let t=!1;function r(){if(!n())return;const l=a();t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px"}function n(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function a(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const s=document.createElement("div");l.appendChild(s);const c=l.offsetWidth-s.offsetWidth;return l.parentNode.removeChild(l),c}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function Zt(i){let e,t,r,n;const o=[hn,gn],a=[];function l(s,c){return s[3]?0:s[4]?1:-1}return~(e=l(i))&&(t=a[e]=o[e](i)),{c(){t&&t.c(),r=ue()},m(s,c){~e&&a[e].m(s,c),k(s,r,c),n=!0},p(s,c){let d=e;e=l(s),e===d?~e&&a[e].p(s,c):(t&&(_e(),J(a[d],1,1,()=>{a[d]=null}),ke()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(K(t),n=!0)},o(s){J(t),n=!1},d(s){~e&&a[e].d(s),s&&L(r)}}}function gn(i){let e,t,r,n,o=i[0]&&Pt(i);return{c(){e=y("div"),t=y("goa-spinner"),r=N(),o&&o.c(),x(t,"size",i[2]),x(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),B(e,"inline",i[4])},m(a,l){k(a,e,l),b(e,t),b(e,r),o&&o.m(e,null)},p(a,l){l&4&&x(t,"size",a[2]),l&2&&x(t,"progress",a[1]),a[0]?o?o.p(a,l):(o=Pt(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&n!==(n="spinner-"+a[2])&&u(e,"class",n),l&20&&B(e,"inline",a[4])},i:C,o:C,d(a){a&&L(e),o&&o.d()}}}function hn(i){let e,t,r,n,o,a,l,s=i[0]&&Gt(i);return{c(){e=y("div"),t=y("goa-spinner"),r=N(),s&&s.c(),x(t,"size",i[2]),x(t,"progress",i[1]),B(e,"fullscreen",i[3])},m(c,d){k(c,e,d),b(e,t),b(e,r),s&&s.m(e,null),o=!0,a||(l=ct(bt.call(null,e,{enable:!0})),a=!0)},p(c,d){(!o||d&4)&&x(t,"size",c[2]),(!o||d&2)&&x(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Gt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!o||d&8)&&B(e,"fullscreen",c[3])},i(c){o||(me(()=>{n||(n=$e(e,Ie,{duration:300},!0)),n.run(1)}),o=!0)},o(c){n||(n=$e(e,Ie,{duration:300},!1)),n.run(0),o=!1},d(c){c&&L(e),s&&s.d(),c&&n&&n.end(),a=!1,l()}}}function Pt(i){let e,t;return{c(){e=y("div"),t=P(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),b(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&L(e)}}}function Gt(i){let e,t;return{c(){e=y("div"),t=P(i[0]),u(e,"class","message")},m(r,n){k(r,e,n),b(e,t)},p(r,n){n&1&&W(t,r[0])},d(r){r&&L(e)}}}function mn(i){let e,t,r=i[5]&&Zt(i);return{c(){r&&r.c(),e=ue(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&K(r,1)):(r=Zt(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(_e(),J(r,1,1,()=>{r=null}),ke())},i(n){t||(K(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function bn(i,e,t){let r;const[n,o]=$("Circular progress variant",["fullscreen","inline"]),[a,l]=$("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,w,v,p;return Q(async()=>{o(s),l(c),t(2,w=c==="small"?"large":"xlarge"),t(3,v=s==="fullscreen"),t(4,p=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=X(h))},[d,f,w,v,p,r,s,c,h]}class vn extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",F(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},bn,mn,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",vn);function wn(i){let e,t,r,n,o,a,l,s,c,d;return{c(){e=y("div"),t=y("header"),r=y("div"),r.innerHTML='<slot name="title"></slot>',n=N(),o=y("div"),o.innerHTML='<slot name="actions"></slot>',l=N(),s=y("div"),s.innerHTML="<slot></slot>",this.c=C,u(r,"class","title"),u(o,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=Y(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
22
22
|
goa-container
|