@abgov/web-components 1.0.0-alpha.104 → 1.0.0-alpha.105
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 +14 -14
- package/web-components.umd.js +2 -2
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -5538,7 +5538,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
5538
5538
|
return child_ctx;
|
|
5539
5539
|
}
|
|
5540
5540
|
|
|
5541
|
-
// (90:2) {#if
|
|
5541
|
+
// (90:2) {#if heading}
|
|
5542
5542
|
function create_if_block$b(ctx) {
|
|
5543
5543
|
let div;
|
|
5544
5544
|
let t0;
|
|
@@ -5548,7 +5548,7 @@ function create_if_block$b(ctx) {
|
|
|
5548
5548
|
return {
|
|
5549
5549
|
c() {
|
|
5550
5550
|
div = element("div");
|
|
5551
|
-
t0 = text(/*
|
|
5551
|
+
t0 = text(/*heading*/ ctx[0]);
|
|
5552
5552
|
t1 = space();
|
|
5553
5553
|
goa_divider = element("goa-divider");
|
|
5554
5554
|
attr(div, "class", "title");
|
|
@@ -5561,7 +5561,7 @@ function create_if_block$b(ctx) {
|
|
|
5561
5561
|
insert(target, goa_divider, anchor);
|
|
5562
5562
|
},
|
|
5563
5563
|
p(ctx, dirty) {
|
|
5564
|
-
if (dirty & /*
|
|
5564
|
+
if (dirty & /*heading*/ 1) set_data(t0, /*heading*/ ctx[0]);
|
|
5565
5565
|
},
|
|
5566
5566
|
d(detaching) {
|
|
5567
5567
|
if (detaching) detach(div);
|
|
@@ -5611,7 +5611,7 @@ function create_fragment$l(ctx) {
|
|
|
5611
5611
|
let t1;
|
|
5612
5612
|
let ul;
|
|
5613
5613
|
let ul_style_value;
|
|
5614
|
-
let if_block = /*
|
|
5614
|
+
let if_block = /*heading*/ ctx[0] && create_if_block$b(ctx);
|
|
5615
5615
|
let each_value = /*children*/ ctx[3];
|
|
5616
5616
|
let each_blocks = [];
|
|
5617
5617
|
|
|
@@ -5661,7 +5661,7 @@ function create_fragment$l(ctx) {
|
|
|
5661
5661
|
/*section_binding*/ ctx[4](section);
|
|
5662
5662
|
},
|
|
5663
5663
|
p(ctx, [dirty]) {
|
|
5664
|
-
if (/*
|
|
5664
|
+
if (/*heading*/ ctx[0]) {
|
|
5665
5665
|
if (if_block) {
|
|
5666
5666
|
if_block.p(ctx, dirty);
|
|
5667
5667
|
} else {
|
|
@@ -5720,7 +5720,7 @@ function create_fragment$l(ctx) {
|
|
|
5720
5720
|
}
|
|
5721
5721
|
|
|
5722
5722
|
function instance$j($$self, $$props, $$invalidate) {
|
|
5723
|
-
let {
|
|
5723
|
+
let { heading = "" } = $$props;
|
|
5724
5724
|
let { maxcolumncount = 1 } = $$props;
|
|
5725
5725
|
let rootEl;
|
|
5726
5726
|
let children = [];
|
|
@@ -5765,11 +5765,11 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
5765
5765
|
}
|
|
5766
5766
|
|
|
5767
5767
|
$$self.$$set = $$props => {
|
|
5768
|
-
if ('
|
|
5768
|
+
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
5769
5769
|
if ('maxcolumncount' in $$props) $$invalidate(1, maxcolumncount = $$props.maxcolumncount);
|
|
5770
5770
|
};
|
|
5771
5771
|
|
|
5772
|
-
return [
|
|
5772
|
+
return [heading, maxcolumncount, rootEl, children, section_binding];
|
|
5773
5773
|
}
|
|
5774
5774
|
|
|
5775
5775
|
class FooterNavSection extends SvelteElement {
|
|
@@ -5787,7 +5787,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
5787
5787
|
instance$j,
|
|
5788
5788
|
create_fragment$l,
|
|
5789
5789
|
safe_not_equal,
|
|
5790
|
-
{
|
|
5790
|
+
{ heading: 0, maxcolumncount: 1 },
|
|
5791
5791
|
null
|
|
5792
5792
|
);
|
|
5793
5793
|
|
|
@@ -5804,15 +5804,15 @@ class FooterNavSection extends SvelteElement {
|
|
|
5804
5804
|
}
|
|
5805
5805
|
|
|
5806
5806
|
static get observedAttributes() {
|
|
5807
|
-
return ["
|
|
5807
|
+
return ["heading", "maxcolumncount"];
|
|
5808
5808
|
}
|
|
5809
5809
|
|
|
5810
|
-
get
|
|
5810
|
+
get heading() {
|
|
5811
5811
|
return this.$$.ctx[0];
|
|
5812
5812
|
}
|
|
5813
5813
|
|
|
5814
|
-
set
|
|
5815
|
-
this.$$set({
|
|
5814
|
+
set heading(heading) {
|
|
5815
|
+
this.$$set({ heading });
|
|
5816
5816
|
flush();
|
|
5817
5817
|
}
|
|
5818
5818
|
|
|
@@ -6243,7 +6243,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
6243
6243
|
class FormItem extends SvelteElement {
|
|
6244
6244
|
constructor(options) {
|
|
6245
6245
|
super();
|
|
6246
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>`;
|
|
6246
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>`;
|
|
6247
6247
|
|
|
6248
6248
|
init(
|
|
6249
6249
|
this,
|
package/web-components.umd.js
CHANGED
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
26
26
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
27
27
|
--wide-column-count: ${d[1]};
|
|
28
|
-
`)&&u(o,"style",a)},i:w,o:w,d(d){d&&z(e),l&&l.d(),Ae(c,d),i[4](null)}}}function Kr(i,e,t){let{
|
|
28
|
+
`)&&u(o,"style",a)},i:w,o:w,d(d){d&&z(e),l&&l.d(),Ae(c,d),i[4](null)}}}function Kr(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,o,a=[];Y(async()=>{if(await Ne(),t(3,a=o.querySelector("slot").assignedElements()),!a.map(d=>d.hasAttribute("href")).reduce((d,f)=>d&&f,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}const c=document.createElement("style");c.innerHTML=`
|
|
29
29
|
:host {
|
|
30
30
|
flex-grow: ${n};
|
|
31
31
|
}
|
|
32
|
-
`,o.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"name"in s&&t(0,r=s.name),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Xr extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Kr,Zr,N,{name:0,maxcolumncount:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","maxcolumncount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Xr);function St(i){let e;return{c(){e=m("goa-divider"),C(e,"spacing","small")},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Yr(i){let e,t,r,n,o,a,l,s,c,d,f,b,y,p=i[2]?.length&&St();return{c(){e=m("div"),t=m("div"),r=m("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),p&&p.c(),o=H(),a=m("div"),l=m("div"),l.innerHTML='<slot name="meta"></slot>',s=H(),c=m("div"),d=m("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),b=m("a"),b.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=w,u(r,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(b,"href","https://alberta.ca"),u(b,"class","goa-copyright"),u(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),u(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",y=`--max-content-width: ${i[0]||"var(--layout-max-content-width)"}`)},m(_,M){v(_,e,M),g(e,t),g(t,r),g(t,n),p&&p.m(t,null),g(t,o),g(t,a),g(a,l),g(a,s),g(a,c),g(c,d),g(c,f),g(c,b),i[5](e)},p(_,[M]){_[2]?.length?p||(p=St(),p.c(),p.m(t,o)):p&&(p.d(1),p=null),M&8&&B(c,"with-meta-links",_[3]?.length),M&8&&B(a,"with-meta-links",_[3]?.length),M&1&&y!==(y=`--max-content-width: ${_[0]||"var(--layout-max-content-width)"}`)&&u(e,"style",y)},i:w,o:w,d(_){_&&z(e),p&&p.d(),i[5](null)}}}function Jr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();Y(async()=>{await Ne();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){ee[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class Qr extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100vw)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Jr,Yr,N,{maxcontentwidth:0},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",Qr);function Dt(i){let e,t,r,n=i[3]&&Bt();return{c(){e=m("div"),t=F(i[0]),r=H(),n&&n.c(),u(e,"class","label")},m(o,a){v(o,e,a),g(e,t),g(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Bt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&z(e),n&&n.d()}}}function Bt(i){let e;return{c(){e=m("em"),e.textContent="(optional)"},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Nt(i){let e,t;return{c(){e=m("div"),t=F(i[2]),u(e,"class","error-msg")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&z(e)}}}function jt(i){let e,t;return{c(){e=m("div"),t=F(i[1]),u(e,"class","help-msg")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&z(e)}}}function $r(i){let e,t,r,n,o,a=i[0]&&Dt(i),l=i[2]&&Nt(i),s=i[1]&&jt(i);return{c(){e=m("div"),a&&a.c(),t=H(),r=m("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=w,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){v(c,e,d),a&&a.m(e,null),g(e,t),g(e,r),g(e,n),l&&l.m(e,null),g(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Dt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Nt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=jt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function en(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l="false"}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=G(l))},[n,o,a,r,l]}class tn extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},en,$r,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",tn);function rn(i){let e,t,r,n,o,a,l,s;return{c(){e=m("div"),t=m("goa-page-block"),r=m("h1"),n=F(i[0]),o=H(),a=m("div"),a.innerHTML="<slot></slot>",l=H(),s=m("slot"),this.c=w,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),V(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]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,d){v(c,e,d),g(e,t),g(t,r),g(r,n),g(t,o),g(t,a),g(t,l),g(t,s)},p(c,[d]){d&1&&q(n,c[0]),d&2&&V(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:w,o:w,d(c){c&&z(e)}}}function nn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class on extends j{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;min-height:600px;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:O(this.attributes),customElement:!0},nn,rn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}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()}}customElements.define("goa-hero-banner",on);function an(i){let e,t,r,n;return{c(){e=m("button"),t=m("goa-icon"),this.c=w,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){v(o,e,a),g(e,t),r||(n=U(e,"click",ln),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&V(e,"--size",o[6]),a&8&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:w,o:w,d(o){o&&z(e),r=!1,n()}}}function ln(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function sn(i,e,t){let r,n,o,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:b=""}=e,{disabled:y}=e,{inverted:p}=e;return i.$$set=_=>{"type"in _&&t(0,l=_.type),"size"in _&&t(1,s=_.size),"theme"in _&&t(2,c=_.theme),"variant"in _&&t(9,d=_.variant),"title"in _&&t(3,f=_.title),"testId"in _&&t(4,b=_.testId),"disabled"in _&&t(10,y=_.disabled),"inverted"in _&&t(11,p=_.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(p)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(y)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,b,o,a,n,r,d,y,p]}class cn extends j{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;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},sn,an,N,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type: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[9]}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[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",cn);function Ot(i){let e,t;return{c(){e=m("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){v(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&z(e)}}}function dn(i){let e,t,r,n=i[0]&&Ot(i);return{c(){e=m("div"),n&&n.c(),this.c=w,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
32
|
+
`,o.appendChild(c)});function l(s){ee[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Xr extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Kr,Zr,N,{heading:0,maxcolumncount:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Xr);function St(i){let e;return{c(){e=m("goa-divider"),C(e,"spacing","small")},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Yr(i){let e,t,r,n,o,a,l,s,c,d,f,b,y,p=i[2]?.length&&St();return{c(){e=m("div"),t=m("div"),r=m("div"),r.innerHTML='<slot name="nav"></slot>',n=H(),p&&p.c(),o=H(),a=m("div"),l=m("div"),l.innerHTML='<slot name="meta"></slot>',s=H(),c=m("div"),d=m("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),b=m("a"),b.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=w,u(r,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(b,"href","https://alberta.ca"),u(b,"class","goa-copyright"),u(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),u(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",y=`--max-content-width: ${i[0]||"var(--layout-max-content-width)"}`)},m(_,M){v(_,e,M),g(e,t),g(t,r),g(t,n),p&&p.m(t,null),g(t,o),g(t,a),g(a,l),g(a,s),g(a,c),g(c,d),g(c,f),g(c,b),i[5](e)},p(_,[M]){_[2]?.length?p||(p=St(),p.c(),p.m(t,o)):p&&(p.d(1),p=null),M&8&&B(c,"with-meta-links",_[3]?.length),M&8&&B(a,"with-meta-links",_[3]?.length),M&1&&y!==(y=`--max-content-width: ${_[0]||"var(--layout-max-content-width)"}`)&&u(e,"style",y)},i:w,o:w,d(_){_&&z(e),p&&p.d(),i[5](null)}}}function Jr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();Y(async()=>{await Ne();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){ee[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class Qr extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100vw)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Jr,Yr,N,{maxcontentwidth:0},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",Qr);function Dt(i){let e,t,r,n=i[3]&&Bt();return{c(){e=m("div"),t=F(i[0]),r=H(),n&&n.c(),u(e,"class","label")},m(o,a){v(o,e,a),g(e,t),g(e,r),n&&n.m(e,null)},p(o,a){a&1&&q(t,o[0]),o[3]?n||(n=Bt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&z(e),n&&n.d()}}}function Bt(i){let e;return{c(){e=m("em"),e.textContent="(optional)"},m(t,r){v(t,e,r)},d(t){t&&z(e)}}}function Nt(i){let e,t;return{c(){e=m("div"),t=F(i[2]),u(e,"class","error-msg")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&4&&q(t,r[2])},d(r){r&&z(e)}}}function jt(i){let e,t;return{c(){e=m("div"),t=F(i[1]),u(e,"class","help-msg")},m(r,n){v(r,e,n),g(e,t)},p(r,n){n&2&&q(t,r[1])},d(r){r&&z(e)}}}function $r(i){let e,t,r,n,o,a=i[0]&&Dt(i),l=i[2]&&Nt(i),s=i[1]&&jt(i);return{c(){e=m("div"),a&&a.c(),t=H(),r=m("div"),r.innerHTML="<slot></slot>",n=H(),l&&l.c(),o=H(),s&&s.c(),this.c=w,u(r,"class","form-item-input"),u(e,"class","goa-form-item")},m(c,d){v(c,e,d),a&&a.m(e,null),g(e,t),g(e,r),g(e,n),l&&l.m(e,null),g(e,o),s&&s.m(e,null)},p(c,[d]){c[0]?a?a.p(c,d):(a=Dt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,d):(l=Nt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,d):(s=jt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&z(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function en(i,e,t){let r,{label:n=""}=e,{helptext:o=""}=e,{error:a=""}=e,{optional:l="false"}=e;return i.$$set=s=>{"label"in s&&t(0,n=s.label),"helptext"in s&&t(1,o=s.helptext),"error"in s&&t(2,a=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=G(l))},[n,o,a,r,l]}class tn extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},en,$r,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",tn);function rn(i){let e,t,r,n,o,a,l,s;return{c(){e=m("div"),t=m("goa-page-block"),r=m("h1"),n=F(i[0]),o=H(),a=m("div"),a.innerHTML="<slot></slot>",l=H(),s=m("slot"),this.c=w,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),V(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]+")"),V(e,"background-size","cover"),V(e,"background-position","center"),V(e,"background-repeat","no-repeat")},m(c,d){v(c,e,d),g(e,t),g(t,r),g(r,n),g(t,o),g(t,a),g(t,l),g(t,s)},p(c,[d]){d&1&&q(n,c[0]),d&2&&V(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:w,o:w,d(c){c&&z(e)}}}function nn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class on extends j{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;min-height:600px;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:O(this.attributes),customElement:!0},nn,rn,N,{heading:0,backgroundurl:1},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}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()}}customElements.define("goa-hero-banner",on);function an(i){let e,t,r,n;return{c(){e=m("button"),t=m("goa-icon"),this.c=w,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),V(e,"--size",i[6]),u(e,"title",i[3]),e.disabled=i[7],u(e,"class",i[8]),u(e,"data-testid",i[4])},m(o,a){v(o,e,a),g(e,t),r||(n=U(e,"click",ln),r=!0)},p(o,[a]){a&8&&C(t,"title",o[3]),a&1&&C(t,"type",o[0]),a&2&&C(t,"size",o[1]),a&4&&C(t,"theme",o[2]),a&32&&C(t,"inverted",o[5]),a&64&&V(e,"--size",o[6]),a&8&&u(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&u(e,"class",o[8]),a&16&&u(e,"data-testid",o[4])},i:w,o:w,d(o){o&&z(e),r=!1,n()}}}function ln(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function sn(i,e,t){let r,n,o,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:d="color"}=e,{title:f=""}=e,{testId:b=""}=e,{disabled:y}=e,{inverted:p}=e;return i.$$set=_=>{"type"in _&&t(0,l=_.type),"size"in _&&t(1,s=_.size),"theme"in _&&t(2,c=_.theme),"variant"in _&&t(9,d=_.variant),"title"in _&&t(3,f=_.title),"testId"in _&&t(4,b=_.testId),"disabled"in _&&t(10,y=_.disabled),"inverted"in _&&t(11,p=_.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=G(p)),i.$$.dirty&544&&t(8,r=`${d} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=G(y)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,b,o,a,n,r,d,y,p]}class cn extends j{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;justify-content:center;background:transparent;cursor:pointer;border:none}.color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.color:active,.nocolor:active{transform:scale(0.9);border:none}.color:hover{background-color:var(--goa-color-primary-light)}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",P(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},sn,an,N,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&v(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type: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[9]}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[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",cn);function Ot(i){let e,t;return{c(){e=m("ion-icon"),C(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){v(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&z(e)}}}function dn(i){let e,t,r,n=i[0]&&Ot(i);return{c(){e=m("div"),n&&n.c(),this.c=w,u(e,"class","goa-icon"),u(e,"data-testid",t=`icon-${i[0]}`),u(e,"title",i[5]),u(e,"style",r=`
|
|
33
33
|
--size: ${i[6]};
|
|
34
34
|
--fill-color: ${i[2]};
|
|
35
35
|
--hover-color: ${i[3]};
|