@abgov/web-components 1.0.0-alpha.136 → 1.0.0-alpha.138
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 +26 -6
- package/web-components.umd.js +3 -3
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -7584,6 +7584,7 @@ function create_fragment$h(ctx) {
|
|
|
7584
7584
|
set_style(div1, "background-size", "cover");
|
|
7585
7585
|
set_style(div1, "background-position", "center");
|
|
7586
7586
|
set_style(div1, "background-repeat", "no-repeat");
|
|
7587
|
+
set_style(div1, "min-height", /*minheight*/ ctx[2]);
|
|
7587
7588
|
},
|
|
7588
7589
|
m(target, anchor) {
|
|
7589
7590
|
insert(target, div1, anchor);
|
|
@@ -7601,6 +7602,10 @@ function create_fragment$h(ctx) {
|
|
|
7601
7602
|
if (dirty & /*backgroundurl*/ 2) {
|
|
7602
7603
|
set_style(div1, "background-image", "linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url(" + /*backgroundurl*/ ctx[1] + ")");
|
|
7603
7604
|
}
|
|
7605
|
+
|
|
7606
|
+
if (dirty & /*minheight*/ 4) {
|
|
7607
|
+
set_style(div1, "min-height", /*minheight*/ ctx[2]);
|
|
7608
|
+
}
|
|
7604
7609
|
},
|
|
7605
7610
|
i: noop,
|
|
7606
7611
|
o: noop,
|
|
@@ -7613,19 +7618,21 @@ function create_fragment$h(ctx) {
|
|
|
7613
7618
|
function instance$f($$self, $$props, $$invalidate) {
|
|
7614
7619
|
let { heading } = $$props;
|
|
7615
7620
|
let { backgroundurl } = $$props;
|
|
7621
|
+
let { minheight = "600px" } = $$props;
|
|
7616
7622
|
|
|
7617
7623
|
$$self.$$set = $$props => {
|
|
7618
7624
|
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
7619
7625
|
if ('backgroundurl' in $$props) $$invalidate(1, backgroundurl = $$props.backgroundurl);
|
|
7626
|
+
if ('minheight' in $$props) $$invalidate(2, minheight = $$props.minheight);
|
|
7620
7627
|
};
|
|
7621
7628
|
|
|
7622
|
-
return [heading, backgroundurl];
|
|
7629
|
+
return [heading, backgroundurl, minheight];
|
|
7623
7630
|
}
|
|
7624
7631
|
|
|
7625
7632
|
class HeroBanner extends SvelteElement {
|
|
7626
7633
|
constructor(options) {
|
|
7627
7634
|
super();
|
|
7628
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;
|
|
7635
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>`;
|
|
7629
7636
|
|
|
7630
7637
|
init(
|
|
7631
7638
|
this,
|
|
@@ -7637,7 +7644,11 @@ class HeroBanner extends SvelteElement {
|
|
|
7637
7644
|
instance$f,
|
|
7638
7645
|
create_fragment$h,
|
|
7639
7646
|
safe_not_equal,
|
|
7640
|
-
{
|
|
7647
|
+
{
|
|
7648
|
+
heading: 0,
|
|
7649
|
+
backgroundurl: 1,
|
|
7650
|
+
minheight: 2
|
|
7651
|
+
},
|
|
7641
7652
|
null
|
|
7642
7653
|
);
|
|
7643
7654
|
|
|
@@ -7654,7 +7665,7 @@ class HeroBanner extends SvelteElement {
|
|
|
7654
7665
|
}
|
|
7655
7666
|
|
|
7656
7667
|
static get observedAttributes() {
|
|
7657
|
-
return ["heading", "backgroundurl"];
|
|
7668
|
+
return ["heading", "backgroundurl", "minheight"];
|
|
7658
7669
|
}
|
|
7659
7670
|
|
|
7660
7671
|
get heading() {
|
|
@@ -7674,6 +7685,15 @@ class HeroBanner extends SvelteElement {
|
|
|
7674
7685
|
this.$$set({ backgroundurl });
|
|
7675
7686
|
flush();
|
|
7676
7687
|
}
|
|
7688
|
+
|
|
7689
|
+
get minheight() {
|
|
7690
|
+
return this.$$.ctx[2];
|
|
7691
|
+
}
|
|
7692
|
+
|
|
7693
|
+
set minheight(minheight) {
|
|
7694
|
+
this.$$set({ minheight });
|
|
7695
|
+
flush();
|
|
7696
|
+
}
|
|
7677
7697
|
}
|
|
7678
7698
|
|
|
7679
7699
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
@@ -8922,7 +8942,7 @@ class Input extends SvelteElement {
|
|
|
8922
8942
|
constructor(options) {
|
|
8923
8943
|
super();
|
|
8924
8944
|
|
|
8925
|
-
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}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color: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);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}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(--color-gray-100);border-color:var(--color-gray-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{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix{border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix{border-left:1px solid var(--color-gray-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:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]: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>')
|
|
8945
|
+
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}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color: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);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}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(--color-gray-100);border-color:var(--color-gray-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{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix{border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix{border-left:1px solid var(--color-gray-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:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]: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>')
|
|
8926
8946
|
center center no-repeat}</style>`;
|
|
8927
8947
|
|
|
8928
8948
|
init(
|
|
@@ -9502,7 +9522,7 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
9502
9522
|
class MicrositeHeader extends SvelteElement {
|
|
9503
9523
|
constructor(options) {
|
|
9504
9524
|
super();
|
|
9505
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);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(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.
|
|
9525
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);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(--fs-sm);background-color:var(--color-gray-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-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>`;
|
|
9506
9526
|
|
|
9507
9527
|
init(
|
|
9508
9528
|
this,
|
package/web-components.umd.js
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
${F(n[2],n[3],n[4],n[5])}
|
|
55
55
|
--min-child-width: ${n[1]||0};
|
|
56
56
|
gap: var(--goa-spacing-${n[0]})
|
|
57
|
-
`)&&d(e,"style",r)},i:_,o:_,d(n){n&&L(e)}}}function hn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return ee(()=>{yt("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,l=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,a,o,s]}class mn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},hn,fn,j,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-grid",mn);function gn(i){let e,t,r,n,l,a,o,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=G(i[0]),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("slot"),this.c=_,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),M(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),Z(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),Z(e,"background-size","cover"),Z(e,"background-position","center"),Z(e,"background-repeat","no-repeat")},m(c,u){y(c,e,u),g(e,t),g(t,r),g(r,n),g(t,l),g(t,a),g(t,o),g(t,s)},p(c,[u]){u&1&&K(n,c[0]),u&2&&Z(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:_,o:_,d(c){c&&L(e)}}}function bn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=
|
|
57
|
+
`)&&d(e,"style",r)},i:_,o:_,d(n){n&&L(e)}}}function hn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return ee(()=>{yt("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,l=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,a,o,s]}class mn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},hn,fn,j,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-grid",mn);function gn(i){let e,t,r,n,l,a,o,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=G(i[0]),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("slot"),this.c=_,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),M(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),Z(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),Z(e,"background-size","cover"),Z(e,"background-position","center"),Z(e,"background-repeat","no-repeat"),Z(e,"min-height",i[2])},m(c,u){y(c,e,u),g(e,t),g(t,r),g(r,n),g(t,l),g(t,a),g(t,o),g(t,s)},p(c,[u]){u&1&&K(n,c[0]),u&2&&Z(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")"),u&4&&Z(e,"min-height",c[2])},i:_,o:_,d(c){c&&L(e)}}}function bn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e,{minheight:l="600px"}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"backgroundurl"in a&&t(1,n=a.backgroundurl),"minheight"in a&&t(2,l=a.minheight)},[r,n,l]}class vn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},bn,gn,j,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),h()}}customElements.define("goa-hero-banner",vn);function wn(i){let e,t,r,n,l;return{c(){e=b("button"),t=b("goa-icon"),this.c=_,M(t,"title",i[3]),M(t,"type",i[0]),M(t,"size",i[1]),M(t,"theme",i[2]),M(t,"inverted",i[9]),d(e,"style",r=""+(F(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),d(e,"title",i[3]),e.disabled=i[11],d(e,"class",i[12]),d(e,"data-testid",i[4])},m(a,o){y(a,e,o),g(e,t),n||(l=W(e,"click",_n),n=!0)},p(a,[o]){o&8&&M(t,"title",a[3]),o&1&&M(t,"type",a[0]),o&2&&M(t,"size",a[1]),o&4&&M(t,"theme",a[2]),o&512&&M(t,"inverted",a[9]),o&1504&&r!==(r=""+(F(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&d(e,"style",r),o&8&&d(e,"title",a[3]),o&2048&&(e.disabled=a[11]),o&4096&&d(e,"class",a[12]),o&16&&d(e,"data-testid",a[4])},i:_,o:_,d(a){a&&L(e),n=!1,l()}}}function _n(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function yn(i,e,t){let r,n,l,a,{icon:o}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testid:m=""}=e,{disabled:w="false"}=e,{inverted:v="false"}=e,{mt:p=null}=e,{mr:k=null}=e,{mb:x=null}=e,{ml:z=null}=e;return i.$$set=T=>{"icon"in T&&t(0,o=T.icon),"size"in T&&t(1,s=T.size),"theme"in T&&t(2,c=T.theme),"variant"in T&&t(13,u=T.variant),"title"in T&&t(3,f=T.title),"testid"in T&&t(4,m=T.testid),"disabled"in T&&t(14,w=T.disabled),"inverted"in T&&t(15,v=T.inverted),"mt"in T&&t(5,p=T.mt),"mr"in T&&t(6,k=T.mr),"mb"in T&&t(7,x=T.mb),"ml"in T&&t(8,z=T.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,l=V(v)),i.$$.dirty&8704&&t(12,r=`${u} ${l?"inverted":""}`),i.$$.dirty&16384&&t(11,n=V(w)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[s])},[o,s,c,f,m,p,k,x,z,l,a,n,r,u,w,v]}class kn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--color-white)}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},yn,wn,j,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-icon-button",kn);function Zt(i){let e,t;return{c(){e=b("ion-icon"),M(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){y(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&M(e,"name",t)},d(r){r&&L(e)}}}function pn(i){let e,t,r=i[4]&&Zt(i);return{c(){e=b("div"),r&&r.c(),this.c=_,d(e,"class","goa-icon"),d(e,"data-testid",i[10]),d(e,"title",i[9]),d(e,"style",t=`
|
|
58
58
|
${F(i[0],i[1],i[2],i[3])}
|
|
59
59
|
--size: ${i[11]};
|
|
60
60
|
--fill-color: ${i[6]};
|
|
@@ -82,9 +82,9 @@
|
|
|
82
82
|
`)&&d(t,"class",m),E[0]&6291586&&N(t,"error",C[22]),E[0]&983552&&w!==(w=`
|
|
83
83
|
${F(C[16],C[17],C[18],C[19])};
|
|
84
84
|
--width: ${C[9]};
|
|
85
|
-
`)&&d(e,"style",w)},i:_,o:_,d(C){C&&L(e),k&&k.d(),x&&x.d(),i[32](null),z&&z.d(),T&&T.d(),R&&R.d(),v=!1,ie(p)}}}function zn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Mn(i,e,t){let r,n,l,a,o,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{autocapitalize:f="off"}=e,{placeholder:m=""}=e,{leadingicon:w=null}=e,{trailingicon:v=null}=e,{variant:p="goa"}=e,{disabled:k="false"}=e,{handletrailingiconclick:x="false"}=e,{focused:z="false"}=e,{readonly:T="false"}=e,{error:R="false"}=e,{testid:C=""}=e,{width:E="30ch"}=e,{arialabel:S=null}=e,{min:H=null}=e,{max:q=null}=e,{step:X=null}=e,{prefix:_e=""}=e,{suffix:J=""}=e,{mt:te=null}=e,{mr:Q=null}=e,{mb:$=null}=e,{ml:We=null}=e,se;function Xe(D){const ne=D.target;D.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:ne.value}})),t(0,u=ne.value)}function it(D){re[D?"unshift":"push"](()=>{se=D,t(20,se)})}return i.$$set=D=>{"type"in D&&t(1,s=D.type),"name"in D&&t(2,c=D.name),"value"in D&&t(0,u=D.value),"autocapitalize"in D&&t(3,f=D.autocapitalize),"placeholder"in D&&t(4,m=D.placeholder),"leadingicon"in D&&t(5,w=D.leadingicon),"trailingicon"in D&&t(6,v=D.trailingicon),"variant"in D&&t(7,p=D.variant),"disabled"in D&&t(26,k=D.disabled),"handletrailingiconclick"in D&&t(27,x=D.handletrailingiconclick),"focused"in D&&t(28,z=D.focused),"readonly"in D&&t(29,T=D.readonly),"error"in D&&t(30,R=D.error),"testid"in D&&t(8,C=D.testid),"width"in D&&t(9,E=D.width),"arialabel"in D&&t(10,S=D.arialabel),"min"in D&&t(11,H=D.min),"max"in D&&t(12,q=D.max),"step"in D&&t(13,X=D.step),"prefix"in D&&t(14,_e=D.prefix),"suffix"in D&&t(15,J=D.suffix),"mt"in D&&t(16,te=D.mt),"mr"in D&&t(17,Q=D.mr),"mb"in D&&t(18,$=D.mb),"ml"in D&&t(19,We=D.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=V(x)),i.$$.dirty[0]&268435456&&t(31,n=V(z)),i.$$.dirty[0]&536870912&&t(23,l=V(T)),i.$$.dirty[0]&1073741824&&t(22,a=V(R)),i.$$.dirty[0]&67108864&&t(21,o=V(k)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&1&&n&&se&&setTimeout(()=>se.focus(),1),i.$$.dirty[0]&1048578&&se&&s==="search"&&se.addEventListener("search",D=>{Xe(D)})},[u,s,c,f,m,w,v,p,C,E,S,H,q,X,_e,J,te,Q,$,We,se,o,a,l,r,Xe,k,x,z,T,R,n,it]}class Ln extends O{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}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color: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);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}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(--color-gray-100);border-color:var(--color-gray-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{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix{border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix{border-left:1px solid var(--color-gray-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:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]: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>')
|
|
85
|
+
`)&&d(e,"style",w)},i:_,o:_,d(C){C&&L(e),k&&k.d(),x&&x.d(),i[32](null),z&&z.d(),T&&T.d(),R&&R.d(),v=!1,ie(p)}}}function zn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Mn(i,e,t){let r,n,l,a,o,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{autocapitalize:f="off"}=e,{placeholder:m=""}=e,{leadingicon:w=null}=e,{trailingicon:v=null}=e,{variant:p="goa"}=e,{disabled:k="false"}=e,{handletrailingiconclick:x="false"}=e,{focused:z="false"}=e,{readonly:T="false"}=e,{error:R="false"}=e,{testid:C=""}=e,{width:E="30ch"}=e,{arialabel:S=null}=e,{min:H=null}=e,{max:q=null}=e,{step:X=null}=e,{prefix:_e=""}=e,{suffix:J=""}=e,{mt:te=null}=e,{mr:Q=null}=e,{mb:$=null}=e,{ml:We=null}=e,se;function Xe(D){const ne=D.target;D.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:ne.value}})),t(0,u=ne.value)}function it(D){re[D?"unshift":"push"](()=>{se=D,t(20,se)})}return i.$$set=D=>{"type"in D&&t(1,s=D.type),"name"in D&&t(2,c=D.name),"value"in D&&t(0,u=D.value),"autocapitalize"in D&&t(3,f=D.autocapitalize),"placeholder"in D&&t(4,m=D.placeholder),"leadingicon"in D&&t(5,w=D.leadingicon),"trailingicon"in D&&t(6,v=D.trailingicon),"variant"in D&&t(7,p=D.variant),"disabled"in D&&t(26,k=D.disabled),"handletrailingiconclick"in D&&t(27,x=D.handletrailingiconclick),"focused"in D&&t(28,z=D.focused),"readonly"in D&&t(29,T=D.readonly),"error"in D&&t(30,R=D.error),"testid"in D&&t(8,C=D.testid),"width"in D&&t(9,E=D.width),"arialabel"in D&&t(10,S=D.arialabel),"min"in D&&t(11,H=D.min),"max"in D&&t(12,q=D.max),"step"in D&&t(13,X=D.step),"prefix"in D&&t(14,_e=D.prefix),"suffix"in D&&t(15,J=D.suffix),"mt"in D&&t(16,te=D.mt),"mr"in D&&t(17,Q=D.mr),"mb"in D&&t(18,$=D.mb),"ml"in D&&t(19,We=D.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=V(x)),i.$$.dirty[0]&268435456&&t(31,n=V(z)),i.$$.dirty[0]&536870912&&t(23,l=V(T)),i.$$.dirty[0]&1073741824&&t(22,a=V(R)),i.$$.dirty[0]&67108864&&t(21,o=V(k)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&1&&n&&se&&setTimeout(()=>se.focus(),1),i.$$.dirty[0]&1048578&&se&&s==="search"&&se.addEventListener("search",D=>{Xe(D)})},[u,s,c,f,m,w,v,p,C,E,S,H,q,X,_e,J,te,Q,$,We,se,o,a,l,r,Xe,k,x,z,T,R,n,it]}class Ln extends O{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}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color: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);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type="text"],input[type="date"],input[type="time"],input[type="datetime-local"],input[type="number"]{font-family:var(--font-family)}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(--color-gray-100);border-color:var(--color-gray-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{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}.goa-input--disabled .prefix{border-right:1px solid var(--color-gray-200)}.goa-input--disabled .suffix{border-left:1px solid var(--color-gray-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:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
86
86
|
center center no-repeat}</style>`,P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Mn,Cn,j,{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,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),h()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),h()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),h()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),h()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),h()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),h()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),h()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-input",Ln);function ii(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=A(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-type service-type--live"),d(r,"data-testid","type"),d(r,"class","site-text")},m(n,l){y(n,e,l),y(n,t,l),y(n,r,l)},d(n){n&&L(e),n&&L(t),n&&L(r)}}}function ri(i){let e,t=ai(i[0])+"",r,n,l,a,o,s,c,u=i[2]&&ni(i);return{c(){e=b("div"),r=G(t),l=A(),a=b("div"),o=G("This is a new "),s=b("a"),s.textContent="Alberta Government",c=G(` service
|
|
87
|
-
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){y(f,e,m),g(e,r),y(f,l,m),y(f,a,m),g(a,o),g(a,s),g(a,c),u&&u.m(a,null)},p(f,m){m&1&&t!==(t=ai(f[0])+"")&&K(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,m):(u=ni(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&L(e),f&&L(l),f&&L(a),u&&u.d()}}}function ni(i){let e,t,r,n;return{c(){e=b("span"),t=G("\u2014 help us improve it by giving "),r=b("a"),n=G("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(l,a){y(l,e,a),g(e,t),g(e,r),g(r,n)},p(l,a){a&4&&d(r,"href",l[2])},d(l){l&&L(e)}}}function li(i){let e,t;return{c(){e=b("div"),t=G(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&L(e)}}}function Tn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&ii(),s=r&&ri(i),c=i[1]&&li(i);return{c(){e=b("header"),o&&o.c(),t=A(),s&&s.c(),n=A(),l=b("div"),a=A(),c&&c.c(),this.c=_,d(l,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){y(u,e,f),o&&o.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,l),g(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?o||(o=ii(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=ri(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=li(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:_,o:_,d(u){u&&L(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ai(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Rn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:l=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,l=a.feedbackurl)},[r,n,l]}class An extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);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(--fs-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.5rem 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.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Rn,Tn,j,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",An);function oi(i){let e,t,r,n,l,a,o,s,c,u,f,m,w,v,p,k,x,z,T,R,C,E,S,H=i[3]!==null&&si(i),q=i[0]&&ci(i),X=i[4]&&ui(i);function _e(Q,$){return Hn}let te=_e()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),l=b("div"),H&&H.c(),a=A(),o=b("div"),q&&q.c(),s=A(),X&&X.c(),c=A(),u=b("div"),te.c(),f=A(),m=b("slot"),w=A(),v=b("div"),v.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(u,"data-testid","modal-content"),d(u,"class","modal-content"),d(v,"class","modal-actions"),d(v,"data-testid","modal-actions"),d(o,"class","content"),d(l,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",x=""+((i[2]&&`--width: ${i[2]};`)+";")),M(e,"active",i[1])},m(Q,$){y(Q,e,$),g(e,t),g(t,r),g(t,n),g(t,l),H&&H.m(l,null),g(l,a),g(l,o),q&&q.m(o,null),g(o,s),X&&X.m(o,null),g(o,c),g(o,u),te.m(u,null),g(u,f),g(u,m),g(o,w),g(o,v),C=!0,E||(S=[W(r,"click",i[8]),at(z=Tt.call(null,t,{enable:i[7]}))],E=!0)},p(Q,$){i=Q,i[3]!==null?H?H.p(i,$):(H=si(i),H.c(),H.m(l,a)):H&&(H.d(1),H=null),i[0]?q?q.p(i,$):(q=ci(i),q.c(),q.m(o,s)):q&&(q.d(1),q=null),i[4]?X?X.p(i,$):(X=ui(i),X.c(),X.m(o,c)):X&&(X.d(1),X=null),(!C||$&4&&x!==(x=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",x),z&&ue(z.update)&&$&128&&z.update.call(null,{enable:i[7]}),(!C||$&2)&&M(e,"active",i[1])},i(Q){C||(le(()=>{k&&k.end(1),p=gt(l,Lt,{duration:i[6],y:200}),p.start()}),le(()=>{R&&R.end(1),T=gt(t,Ee,{duration:i[6]}),T.start()}),C=!0)},o(Q){p&&p.invalidate(),k=bt(l,Lt,{delay:i[6],duration:i[6],y:-100}),T&&T.invalidate(),R=bt(t,Ee,{delay:i[6],duration:i[6]}),C=!1},d(Q){Q&&L(e),H&&H.d(),q&&q.d(),X&&X.d(),te.d(),Q&&k&&k.end(),Q&&R&&R.end(),E=!1,ie(S)}}}function si(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[5]),M(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(l,a){y(l,e,a),g(e,t)},p(l,a){a&32&&M(t,"type",l[5]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&M(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&d(e,"class",n)},d(l){l&&L(e)}}}function ci(i){let e,t;return{c(){e=b("div"),t=G(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&L(e)}}}function ui(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),d(e,"class","modal-close")},m(l,a){y(l,e,a),g(e,t),r||(n=W(t,"click",i[8]),r=!0)},p:_,d(l){l&&L(e),r=!1,n()}}}function Hn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",M(e,"direction","vertical"),M(e,"height","50")},m(t,r){y(t,e,r)},d(t){t&&L(e)}}}function Bn(i){let e,t,r=i[7]&&oi(i);return{c(){r&&r.c(),e=be(),this.c=_},m(n,l){r&&r.m(n,l),y(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&U(r,1)):(r=oi(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),pe())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function Sn(i,e,t){let r,n,l,a;const[o,s]=xe("Callout variant",["emergency","important","information","success","event"]);let{heading:c=""}=e,{closable:u="false"}=e,{open:f="false"}=e,{transition:m="none"}=e,{width:w=""}=e,{calloutvariant:v=null}=e;function p(k){!r||(k.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),k.stopPropagation())}return ee(()=>{s(v)}),i.$$set=k=>{"heading"in k&&t(0,c=k.heading),"closable"in k&&t(9,u=k.closable),"open"in k&&t(1,f=k.open),"transition"in k&&t(10,m=k.transition),"width"in k&&t(2,w=k.width),"calloutvariant"in k&&t(3,v=k.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=V(u)),i.$$.dirty&2&&t(7,n=V(f)),i.$$.dirty&1024&&t(6,l=m==="none"?0:m==="slow"?400:200),i.$$.dirty&8&&t(5,a=v==="emergency"?"warning":v==="important"?"alert-circle":v==="information"?"information-circle":v==="success"?"checkmark-circle":v==="event"?"calendar":"")},[c,f,w,v,r,a,l,n,p,u,m]}class Dn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);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-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Sn,Bn,j,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Dn);function di(i){let e,t,r,n,l,a,o,s,c,u,f,m,w,v,p;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(k,x){y(k,e,x),g(e,t),g(t,r),g(e,l),g(e,a),g(e,o),g(e,s),g(s,c),w=!0,v||(p=W(c,"click",i[3]),v=!0)},p(k,x){(!w||x&4)&&M(r,"type",k[2]),(!w||x&1&&n!==(n=k[0]==="important"?"false":"true"))&&M(r,"inverted",n),(!w||x&1&&u!==(u=k[0]==="important"?"false":"true"))&&M(c,"inverted",u),(!w||x&1&&f!==(f="notification "+k[0]))&&d(e,"class",f)},i(k){w||(le(()=>{m||(m=Ve(e,Ee,{},!0)),m.run(1)}),w=!0)},o(k){m||(m=Ve(e,Ee,{},!1)),m.run(0),w=!1},d(k){k&&L(e),k&&m&&m.end(),v=!1,p()}}}function Nn(i){let e,t,r=i[1]&&di(i);return{c(){r&&r.c(),e=be(),this.c=_},m(n,l){r&&r.m(n,l),y(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&U(r,1)):(r=di(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),pe())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function jn(i,e,t){let r,{type:n=""}=e;const l=["emergency","important","information","event"];function a(c){return l.includes(c)}let o=!0;ee(()=>{a(n)||console.error("Invalid notification type")});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,n=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,o,r,s]}class On extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-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>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},jn,Nn,j,{type:0},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",On);const In=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Pn(i){return In.test(i)}function Fn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=_,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){y(n,e,l),g(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:_,o:_,d(n){n&&L(e)}}}function qn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||Pn(o))}return ee(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class Gn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},qn,Fn,j,{width:1,_width:0},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",Gn);function fi(i,e,t){const r=i.slice();return r[20]=e[t],r}function hi(i,e){let t,r,n,l,a,o,s,c,u,f=(e[20].label||e[20].value)+"",m,w,v,p,k;function x(){return e[18](e[20])}return{key:i,first:null,c(){t=b("label"),r=b("input"),o=A(),s=b("div"),c=A(),u=b("span"),m=G(f),w=A(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[20].value,r.disabled=e[12],r.checked=l=e[20].value===e[0],d(r,"aria-label",a=e[4]||e[1]),d(s,"class","goa-radio-icon"),d(u,"class","goa-radio-label"),d(t,"data-testid",v="radio-option-"+e[20].value),d(t,"class","goa-radio"),N(t,"goa-radio--disabled",e[12]),N(t,"goa-radio--error",e[10]),this.first=t},m(z,T){y(z,t,T),g(t,r),g(t,o),g(t,s),g(t,c),g(t,u),g(u,m),g(t,w),p||(k=W(r,"change",x),p=!0)},p(z,T){e=z,T&2&&d(r,"name",e[1]),T&512&&n!==(n=e[20].value)&&(r.value=n),T&4096&&(r.disabled=e[12]),T&513&&l!==(l=e[20].value===e[0])&&(r.checked=l),T&18&&a!==(a=e[4]||e[1])&&d(r,"aria-label",a),T&512&&f!==(f=(e[20].label||e[20].value)+"")&&K(m,f),T&512&&v!==(v="radio-option-"+e[20].value)&&d(t,"data-testid",v),T&4096&&N(t,"goa-radio--disabled",e[12]),T&1024&&N(t,"goa-radio--error",e[10])},d(z){z&&L(t),p=!1,k()}}}function Vn(i){let e,t,r,n=[],l=new Map,a,o,s=i[9];const c=u=>u[20].value;for(let u=0;u<s.length;u+=1){let f=fi(i,s,u),m=c(f);l.set(m,n[u]=hi(m,f))}return{c(){e=b("div"),t=b("slot"),r=A();for(let u=0;u<n.length;u+=1)n[u].c();this.c=_,d(e,"style",a=F(i[5],i[6],i[7],i[8])),d(e,"class",o=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(u,f){y(u,e,f),g(e,t),g(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[19](e)},p(u,[f]){f&13843&&(s=u[9],n=wt(n,f,c,1,u,s,l,e,vt,hi,null,fi)),f&480&&a!==(a=F(u[5],u[6],u[7],u[8]))&&d(e,"style",a),f&4&&o!==(o=`goa-radio-group--${u[2]}`)&&d(e,"class",o),f&8&&d(e,"data-testid",u[3])},i:_,o:_,d(u){u&&L(e);for(let f=0;f<n.length;f+=1)n[f].d();i[19](null)}}}function Un(i,e,t){let r,{name:n}=e,{value:l}=e,{orientation:a="vertical"}=e,{disabled:o="false"}=e,{error:s="false"}=e,{testid:c=""}=e,{arialabel:u=""}=e,{mt:f=null}=e,{mr:m=null}=e,{mb:w=null}=e,{ml:v=null}=e,p=[],k,x,z=!1,T;function R(S){S!==l&&(t(0,l=S),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:l}})))}dt(()=>{St(n)});const C=S=>R(S.value);function E(S){re[S?"unshift":"push"](()=>{T=S,t(11,T)})}return i.$$set=S=>{"name"in S&&t(1,n=S.name),"value"in S&&t(0,l=S.value),"orientation"in S&&t(2,a=S.orientation),"disabled"in S&&t(14,o=S.disabled),"error"in S&&t(15,s=S.error),"testid"in S&&t(3,c=S.testid),"arialabel"in S&&t(4,u=S.arialabel),"mt"in S&&t(5,f=S.mt),"mr"in S&&t(6,m=S.mr),"mb"in S&&t(7,w=S.mb),"ml"in S&&t(8,v=S.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=V(o)),i.$$.dirty&32768&&t(10,k=V(s)),i.$$.dirty&197122&&n&&!z&&(t(17,z=!0),t(16,x=Ke(n)),x.subscribe(S=>{!S||t(9,p=[...p,S])}))},[l,n,a,c,u,f,m,w,v,p,k,T,r,R,o,s,x,z,C,E]}class Kn extends O{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-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{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
87
|
+
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){y(f,e,m),g(e,r),y(f,l,m),y(f,a,m),g(a,o),g(a,s),g(a,c),u&&u.m(a,null)},p(f,m){m&1&&t!==(t=ai(f[0])+"")&&K(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,m):(u=ni(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&L(e),f&&L(l),f&&L(a),u&&u.d()}}}function ni(i){let e,t,r,n;return{c(){e=b("span"),t=G("\u2014 help us improve it by giving "),r=b("a"),n=G("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(l,a){y(l,e,a),g(e,t),g(e,r),g(r,n)},p(l,a){a&4&&d(r,"href",l[2])},d(l){l&&L(e)}}}function li(i){let e,t;return{c(){e=b("div"),t=G(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&L(e)}}}function Tn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&ii(),s=r&&ri(i),c=i[1]&&li(i);return{c(){e=b("header"),o&&o.c(),t=A(),s&&s.c(),n=A(),l=b("div"),a=A(),c&&c.c(),this.c=_,d(l,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){y(u,e,f),o&&o.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,l),g(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?o||(o=ii(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=ri(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=li(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:_,o:_,d(u){u&&L(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ai(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Rn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:l=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,l=a.feedbackurl)},[r,n,l]}class An extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);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(--fs-sm);background-color:var(--color-gray-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-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Rn,Tn,j,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",An);function oi(i){let e,t,r,n,l,a,o,s,c,u,f,m,w,v,p,k,x,z,T,R,C,E,S,H=i[3]!==null&&si(i),q=i[0]&&ci(i),X=i[4]&&ui(i);function _e(Q,$){return Hn}let te=_e()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),l=b("div"),H&&H.c(),a=A(),o=b("div"),q&&q.c(),s=A(),X&&X.c(),c=A(),u=b("div"),te.c(),f=A(),m=b("slot"),w=A(),v=b("div"),v.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(u,"data-testid","modal-content"),d(u,"class","modal-content"),d(v,"class","modal-actions"),d(v,"data-testid","modal-actions"),d(o,"class","content"),d(l,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",x=""+((i[2]&&`--width: ${i[2]};`)+";")),M(e,"active",i[1])},m(Q,$){y(Q,e,$),g(e,t),g(t,r),g(t,n),g(t,l),H&&H.m(l,null),g(l,a),g(l,o),q&&q.m(o,null),g(o,s),X&&X.m(o,null),g(o,c),g(o,u),te.m(u,null),g(u,f),g(u,m),g(o,w),g(o,v),C=!0,E||(S=[W(r,"click",i[8]),at(z=Tt.call(null,t,{enable:i[7]}))],E=!0)},p(Q,$){i=Q,i[3]!==null?H?H.p(i,$):(H=si(i),H.c(),H.m(l,a)):H&&(H.d(1),H=null),i[0]?q?q.p(i,$):(q=ci(i),q.c(),q.m(o,s)):q&&(q.d(1),q=null),i[4]?X?X.p(i,$):(X=ui(i),X.c(),X.m(o,c)):X&&(X.d(1),X=null),(!C||$&4&&x!==(x=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",x),z&&ue(z.update)&&$&128&&z.update.call(null,{enable:i[7]}),(!C||$&2)&&M(e,"active",i[1])},i(Q){C||(le(()=>{k&&k.end(1),p=gt(l,Lt,{duration:i[6],y:200}),p.start()}),le(()=>{R&&R.end(1),T=gt(t,Ee,{duration:i[6]}),T.start()}),C=!0)},o(Q){p&&p.invalidate(),k=bt(l,Lt,{delay:i[6],duration:i[6],y:-100}),T&&T.invalidate(),R=bt(t,Ee,{delay:i[6],duration:i[6]}),C=!1},d(Q){Q&&L(e),H&&H.d(),q&&q.d(),X&&X.d(),te.d(),Q&&k&&k.end(),Q&&R&&R.end(),E=!1,ie(S)}}}function si(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[5]),M(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(l,a){y(l,e,a),g(e,t)},p(l,a){a&32&&M(t,"type",l[5]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&M(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&d(e,"class",n)},d(l){l&&L(e)}}}function ci(i){let e,t;return{c(){e=b("div"),t=G(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){y(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&L(e)}}}function ui(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),d(e,"class","modal-close")},m(l,a){y(l,e,a),g(e,t),r||(n=W(t,"click",i[8]),r=!0)},p:_,d(l){l&&L(e),r=!1,n()}}}function Hn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",M(e,"direction","vertical"),M(e,"height","50")},m(t,r){y(t,e,r)},d(t){t&&L(e)}}}function Bn(i){let e,t,r=i[7]&&oi(i);return{c(){r&&r.c(),e=be(),this.c=_},m(n,l){r&&r.m(n,l),y(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&U(r,1)):(r=oi(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),pe())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function Sn(i,e,t){let r,n,l,a;const[o,s]=xe("Callout variant",["emergency","important","information","success","event"]);let{heading:c=""}=e,{closable:u="false"}=e,{open:f="false"}=e,{transition:m="none"}=e,{width:w=""}=e,{calloutvariant:v=null}=e;function p(k){!r||(k.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),k.stopPropagation())}return ee(()=>{s(v)}),i.$$set=k=>{"heading"in k&&t(0,c=k.heading),"closable"in k&&t(9,u=k.closable),"open"in k&&t(1,f=k.open),"transition"in k&&t(10,m=k.transition),"width"in k&&t(2,w=k.width),"calloutvariant"in k&&t(3,v=k.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=V(u)),i.$$.dirty&2&&t(7,n=V(f)),i.$$.dirty&1024&&t(6,l=m==="none"?0:m==="slow"?400:200),i.$$.dirty&8&&t(5,a=v==="emergency"?"warning":v==="important"?"alert-circle":v==="information"?"information-circle":v==="success"?"checkmark-circle":v==="event"?"calendar":"")},[c,f,w,v,r,a,l,n,p,u,m]}class Dn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);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-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Sn,Bn,j,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Dn);function di(i){let e,t,r,n,l,a,o,s,c,u,f,m,w,v,p;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(k,x){y(k,e,x),g(e,t),g(t,r),g(e,l),g(e,a),g(e,o),g(e,s),g(s,c),w=!0,v||(p=W(c,"click",i[3]),v=!0)},p(k,x){(!w||x&4)&&M(r,"type",k[2]),(!w||x&1&&n!==(n=k[0]==="important"?"false":"true"))&&M(r,"inverted",n),(!w||x&1&&u!==(u=k[0]==="important"?"false":"true"))&&M(c,"inverted",u),(!w||x&1&&f!==(f="notification "+k[0]))&&d(e,"class",f)},i(k){w||(le(()=>{m||(m=Ve(e,Ee,{},!0)),m.run(1)}),w=!0)},o(k){m||(m=Ve(e,Ee,{},!1)),m.run(0),w=!1},d(k){k&&L(e),k&&m&&m.end(),v=!1,p()}}}function Nn(i){let e,t,r=i[1]&&di(i);return{c(){r&&r.c(),e=be(),this.c=_},m(n,l){r&&r.m(n,l),y(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&U(r,1)):(r=di(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),pe())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&L(e)}}}function jn(i,e,t){let r,{type:n=""}=e;const l=["emergency","important","information","event"];function a(c){return l.includes(c)}let o=!0;ee(()=>{a(n)||console.error("Invalid notification type")});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,n=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,o,r,s]}class On extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-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>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},jn,Nn,j,{type:0},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",On);const In=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Pn(i){return In.test(i)}function Fn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=_,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){y(n,e,l),g(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:_,o:_,d(n){n&&L(e)}}}function qn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||Pn(o))}return ee(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class Gn extends O{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},qn,Fn,j,{width:1,_width:0},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",Gn);function fi(i,e,t){const r=i.slice();return r[20]=e[t],r}function hi(i,e){let t,r,n,l,a,o,s,c,u,f=(e[20].label||e[20].value)+"",m,w,v,p,k;function x(){return e[18](e[20])}return{key:i,first:null,c(){t=b("label"),r=b("input"),o=A(),s=b("div"),c=A(),u=b("span"),m=G(f),w=A(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[20].value,r.disabled=e[12],r.checked=l=e[20].value===e[0],d(r,"aria-label",a=e[4]||e[1]),d(s,"class","goa-radio-icon"),d(u,"class","goa-radio-label"),d(t,"data-testid",v="radio-option-"+e[20].value),d(t,"class","goa-radio"),N(t,"goa-radio--disabled",e[12]),N(t,"goa-radio--error",e[10]),this.first=t},m(z,T){y(z,t,T),g(t,r),g(t,o),g(t,s),g(t,c),g(t,u),g(u,m),g(t,w),p||(k=W(r,"change",x),p=!0)},p(z,T){e=z,T&2&&d(r,"name",e[1]),T&512&&n!==(n=e[20].value)&&(r.value=n),T&4096&&(r.disabled=e[12]),T&513&&l!==(l=e[20].value===e[0])&&(r.checked=l),T&18&&a!==(a=e[4]||e[1])&&d(r,"aria-label",a),T&512&&f!==(f=(e[20].label||e[20].value)+"")&&K(m,f),T&512&&v!==(v="radio-option-"+e[20].value)&&d(t,"data-testid",v),T&4096&&N(t,"goa-radio--disabled",e[12]),T&1024&&N(t,"goa-radio--error",e[10])},d(z){z&&L(t),p=!1,k()}}}function Vn(i){let e,t,r,n=[],l=new Map,a,o,s=i[9];const c=u=>u[20].value;for(let u=0;u<s.length;u+=1){let f=fi(i,s,u),m=c(f);l.set(m,n[u]=hi(m,f))}return{c(){e=b("div"),t=b("slot"),r=A();for(let u=0;u<n.length;u+=1)n[u].c();this.c=_,d(e,"style",a=F(i[5],i[6],i[7],i[8])),d(e,"class",o=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(u,f){y(u,e,f),g(e,t),g(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[19](e)},p(u,[f]){f&13843&&(s=u[9],n=wt(n,f,c,1,u,s,l,e,vt,hi,null,fi)),f&480&&a!==(a=F(u[5],u[6],u[7],u[8]))&&d(e,"style",a),f&4&&o!==(o=`goa-radio-group--${u[2]}`)&&d(e,"class",o),f&8&&d(e,"data-testid",u[3])},i:_,o:_,d(u){u&&L(e);for(let f=0;f<n.length;f+=1)n[f].d();i[19](null)}}}function Un(i,e,t){let r,{name:n}=e,{value:l}=e,{orientation:a="vertical"}=e,{disabled:o="false"}=e,{error:s="false"}=e,{testid:c=""}=e,{arialabel:u=""}=e,{mt:f=null}=e,{mr:m=null}=e,{mb:w=null}=e,{ml:v=null}=e,p=[],k,x,z=!1,T;function R(S){S!==l&&(t(0,l=S),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:l}})))}dt(()=>{St(n)});const C=S=>R(S.value);function E(S){re[S?"unshift":"push"](()=>{T=S,t(11,T)})}return i.$$set=S=>{"name"in S&&t(1,n=S.name),"value"in S&&t(0,l=S.value),"orientation"in S&&t(2,a=S.orientation),"disabled"in S&&t(14,o=S.disabled),"error"in S&&t(15,s=S.error),"testid"in S&&t(3,c=S.testid),"arialabel"in S&&t(4,u=S.arialabel),"mt"in S&&t(5,f=S.mt),"mr"in S&&t(6,m=S.mr),"mb"in S&&t(7,w=S.mb),"ml"in S&&t(8,v=S.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=V(o)),i.$$.dirty&32768&&t(10,k=V(s)),i.$$.dirty&197122&&n&&!z&&(t(17,z=!0),t(16,x=Ke(n)),x.subscribe(S=>{!S||t(9,p=[...p,S])}))},[l,n,a,c,u,f,m,w,v,p,k,T,r,R,o,s,x,z,C,E]}class Kn extends O{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-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{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
88
88
|
var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
89
89
|
var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>`,P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Un,Vn,j,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-radio-group",Kn);function Wn(i){return{c(){this.c=_},m:_,p:_,i:_,o:_,d:_}}function Xn(i,e,t){let{value:r}=e,{label:n}=e,{name:l}=e,a,o=!1;return i.$$set=s=>{"value"in s&&t(0,r=s.value),"label"in s&&t(1,n=s.label),"name"in s&&t(2,l=s.name)},i.$$.update=()=>{i.$$.dirty&31&&(async()=>{await de(),o||(t(4,o=!0),t(3,a=Ke(l)),a.notify({type:"bind",value:r,label:n}))})()},[r,n,l,a,o]}class Yn extends O{constructor(e){super();P(this,{target:this.shadowRoot,props:I(this.attributes),customElement:!0},Xn,Wn,j,{value:0,label:1,name:2},null),e&&(e.target&&y(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",Yn);function Zn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=_,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
90
90
|
--max-height: ${i[3]};
|