@abgov/web-components 1.0.0-alpha.68 → 1.0.0-alpha.70
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 +65 -25
- package/web-components.umd.js +18 -18
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -3788,7 +3788,7 @@ function instance$l($$self, $$props, $$invalidate) {
|
|
|
3788
3788
|
class Checkbox extends SvelteElement {
|
|
3789
3789
|
constructor(options) {
|
|
3790
3790
|
super();
|
|
3791
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-
|
|
3791
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>`;
|
|
3792
3792
|
|
|
3793
3793
|
init(
|
|
3794
3794
|
this,
|
|
@@ -4088,7 +4088,7 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
|
4088
4088
|
const click_handler = e => _deletable && onDelete(e);
|
|
4089
4089
|
const mouseover_handler = () => $$invalidate(3, _hovering = true);
|
|
4090
4090
|
const mouseout_handler = () => $$invalidate(3, _hovering = false);
|
|
4091
|
-
const focus_handler = () => $$invalidate(3, _hovering =
|
|
4091
|
+
const focus_handler = () => $$invalidate(3, _hovering = false);
|
|
4092
4092
|
const blur_handler = () => $$invalidate(3, _hovering = false);
|
|
4093
4093
|
|
|
4094
4094
|
$$self.$$set = $$props => {
|
|
@@ -4130,7 +4130,7 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
|
4130
4130
|
class Chip extends SvelteElement {
|
|
4131
4131
|
constructor(options) {
|
|
4132
4132
|
super();
|
|
4133
|
-
this.shadowRoot.innerHTML = `<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-
|
|
4133
|
+
this.shadowRoot.innerHTML = `<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>`;
|
|
4134
4134
|
|
|
4135
4135
|
init(
|
|
4136
4136
|
this,
|
|
@@ -5606,8 +5606,6 @@ function create_if_block$9(ctx) {
|
|
|
5606
5606
|
return {
|
|
5607
5607
|
c() {
|
|
5608
5608
|
ion_icon = element("ion-icon");
|
|
5609
|
-
set_style(ion_icon, "width", "100%");
|
|
5610
|
-
set_style(ion_icon, "height", "100%");
|
|
5611
5609
|
|
|
5612
5610
|
set_custom_element_data(ion_icon, "name", ion_icon_name_value = /*theme*/ ctx[1] === "filled"
|
|
5613
5611
|
? /*type*/ ctx[0]
|
|
@@ -5642,15 +5640,16 @@ function create_fragment$e(ctx) {
|
|
|
5642
5640
|
this.c = noop;
|
|
5643
5641
|
attr(div, "class", "goa-icon");
|
|
5644
5642
|
attr(div, "data-testid", div_data_testid_value = `icon-${/*type*/ ctx[0]}`);
|
|
5643
|
+
attr(div, "title", /*title*/ ctx[5]);
|
|
5645
5644
|
|
|
5646
5645
|
attr(div, "style", div_style_value = `
|
|
5647
|
-
--size: ${/*_size*/ ctx[
|
|
5646
|
+
--size: ${/*_size*/ ctx[6]};
|
|
5648
5647
|
--fill-color: ${/*fillcolor*/ ctx[2]};
|
|
5649
5648
|
--hover-color: ${/*hovercolor*/ ctx[3]};
|
|
5650
5649
|
--opacity: ${/*opacity*/ ctx[4]};
|
|
5651
5650
|
`);
|
|
5652
5651
|
|
|
5653
|
-
toggle_class(div, "inverted", /*isInverted*/ ctx[
|
|
5652
|
+
toggle_class(div, "inverted", /*isInverted*/ ctx[7]);
|
|
5654
5653
|
},
|
|
5655
5654
|
m(target, anchor) {
|
|
5656
5655
|
insert(target, div, anchor);
|
|
@@ -5674,8 +5673,12 @@ function create_fragment$e(ctx) {
|
|
|
5674
5673
|
attr(div, "data-testid", div_data_testid_value);
|
|
5675
5674
|
}
|
|
5676
5675
|
|
|
5677
|
-
if (dirty & /*
|
|
5678
|
-
|
|
5676
|
+
if (dirty & /*title*/ 32) {
|
|
5677
|
+
attr(div, "title", /*title*/ ctx[5]);
|
|
5678
|
+
}
|
|
5679
|
+
|
|
5680
|
+
if (dirty & /*_size, fillcolor, hovercolor, opacity*/ 92 && div_style_value !== (div_style_value = `
|
|
5681
|
+
--size: ${/*_size*/ ctx[6]};
|
|
5679
5682
|
--fill-color: ${/*fillcolor*/ ctx[2]};
|
|
5680
5683
|
--hover-color: ${/*hovercolor*/ ctx[3]};
|
|
5681
5684
|
--opacity: ${/*opacity*/ ctx[4]};
|
|
@@ -5683,8 +5686,8 @@ function create_fragment$e(ctx) {
|
|
|
5683
5686
|
attr(div, "style", div_style_value);
|
|
5684
5687
|
}
|
|
5685
5688
|
|
|
5686
|
-
if (dirty & /*isInverted*/
|
|
5687
|
-
toggle_class(div, "inverted", /*isInverted*/ ctx[
|
|
5689
|
+
if (dirty & /*isInverted*/ 128) {
|
|
5690
|
+
toggle_class(div, "inverted", /*isInverted*/ ctx[7]);
|
|
5688
5691
|
}
|
|
5689
5692
|
},
|
|
5690
5693
|
i: noop,
|
|
@@ -5706,24 +5709,26 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
5706
5709
|
let { fillcolor } = $$props;
|
|
5707
5710
|
let { hovercolor } = $$props;
|
|
5708
5711
|
let { opacity = 1 } = $$props;
|
|
5712
|
+
let { title = "" } = $$props;
|
|
5709
5713
|
|
|
5710
5714
|
$$self.$$set = $$props => {
|
|
5711
5715
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
5712
|
-
if ('size' in $$props) $$invalidate(
|
|
5716
|
+
if ('size' in $$props) $$invalidate(8, size = $$props.size);
|
|
5713
5717
|
if ('theme' in $$props) $$invalidate(1, theme = $$props.theme);
|
|
5714
|
-
if ('inverted' in $$props) $$invalidate(
|
|
5718
|
+
if ('inverted' in $$props) $$invalidate(9, inverted = $$props.inverted);
|
|
5715
5719
|
if ('fillcolor' in $$props) $$invalidate(2, fillcolor = $$props.fillcolor);
|
|
5716
5720
|
if ('hovercolor' in $$props) $$invalidate(3, hovercolor = $$props.hovercolor);
|
|
5717
5721
|
if ('opacity' in $$props) $$invalidate(4, opacity = $$props.opacity);
|
|
5722
|
+
if ('title' in $$props) $$invalidate(5, title = $$props.title);
|
|
5718
5723
|
};
|
|
5719
5724
|
|
|
5720
5725
|
$$self.$$.update = () => {
|
|
5721
|
-
if ($$self.$$.dirty & /*inverted*/
|
|
5722
|
-
$$invalidate(
|
|
5726
|
+
if ($$self.$$.dirty & /*inverted*/ 512) {
|
|
5727
|
+
$$invalidate(7, isInverted = toBoolean(inverted));
|
|
5723
5728
|
}
|
|
5724
5729
|
|
|
5725
|
-
if ($$self.$$.dirty & /*size*/
|
|
5726
|
-
$$invalidate(
|
|
5730
|
+
if ($$self.$$.dirty & /*size*/ 256) {
|
|
5731
|
+
$$invalidate(6, _size = ({
|
|
5727
5732
|
small: "1.25rem",
|
|
5728
5733
|
medium: "1.5rem",
|
|
5729
5734
|
large: "2rem"
|
|
@@ -5731,13 +5736,24 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
5731
5736
|
}
|
|
5732
5737
|
};
|
|
5733
5738
|
|
|
5734
|
-
return [
|
|
5739
|
+
return [
|
|
5740
|
+
type,
|
|
5741
|
+
theme,
|
|
5742
|
+
fillcolor,
|
|
5743
|
+
hovercolor,
|
|
5744
|
+
opacity,
|
|
5745
|
+
title,
|
|
5746
|
+
_size,
|
|
5747
|
+
isInverted,
|
|
5748
|
+
size,
|
|
5749
|
+
inverted
|
|
5750
|
+
];
|
|
5735
5751
|
}
|
|
5736
5752
|
|
|
5737
5753
|
class Icon extends SvelteElement {
|
|
5738
5754
|
constructor(options) {
|
|
5739
5755
|
super();
|
|
5740
|
-
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>`;
|
|
5756
|
+
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>`;
|
|
5741
5757
|
|
|
5742
5758
|
init(
|
|
5743
5759
|
this,
|
|
@@ -5751,12 +5767,13 @@ class Icon extends SvelteElement {
|
|
|
5751
5767
|
safe_not_equal,
|
|
5752
5768
|
{
|
|
5753
5769
|
type: 0,
|
|
5754
|
-
size:
|
|
5770
|
+
size: 8,
|
|
5755
5771
|
theme: 1,
|
|
5756
|
-
inverted:
|
|
5772
|
+
inverted: 9,
|
|
5757
5773
|
fillcolor: 2,
|
|
5758
5774
|
hovercolor: 3,
|
|
5759
|
-
opacity: 4
|
|
5775
|
+
opacity: 4,
|
|
5776
|
+
title: 5
|
|
5760
5777
|
},
|
|
5761
5778
|
null
|
|
5762
5779
|
);
|
|
@@ -5774,7 +5791,16 @@ class Icon extends SvelteElement {
|
|
|
5774
5791
|
}
|
|
5775
5792
|
|
|
5776
5793
|
static get observedAttributes() {
|
|
5777
|
-
return [
|
|
5794
|
+
return [
|
|
5795
|
+
"type",
|
|
5796
|
+
"size",
|
|
5797
|
+
"theme",
|
|
5798
|
+
"inverted",
|
|
5799
|
+
"fillcolor",
|
|
5800
|
+
"hovercolor",
|
|
5801
|
+
"opacity",
|
|
5802
|
+
"title"
|
|
5803
|
+
];
|
|
5778
5804
|
}
|
|
5779
5805
|
|
|
5780
5806
|
get type() {
|
|
@@ -5787,7 +5813,7 @@ class Icon extends SvelteElement {
|
|
|
5787
5813
|
}
|
|
5788
5814
|
|
|
5789
5815
|
get size() {
|
|
5790
|
-
return this.$$.ctx[
|
|
5816
|
+
return this.$$.ctx[8];
|
|
5791
5817
|
}
|
|
5792
5818
|
|
|
5793
5819
|
set size(size) {
|
|
@@ -5805,7 +5831,7 @@ class Icon extends SvelteElement {
|
|
|
5805
5831
|
}
|
|
5806
5832
|
|
|
5807
5833
|
get inverted() {
|
|
5808
|
-
return this.$$.ctx[
|
|
5834
|
+
return this.$$.ctx[9];
|
|
5809
5835
|
}
|
|
5810
5836
|
|
|
5811
5837
|
set inverted(inverted) {
|
|
@@ -5839,6 +5865,15 @@ class Icon extends SvelteElement {
|
|
|
5839
5865
|
this.$$set({ opacity });
|
|
5840
5866
|
flush();
|
|
5841
5867
|
}
|
|
5868
|
+
|
|
5869
|
+
get title() {
|
|
5870
|
+
return this.$$.ctx[5];
|
|
5871
|
+
}
|
|
5872
|
+
|
|
5873
|
+
set title(title) {
|
|
5874
|
+
this.$$set({ title });
|
|
5875
|
+
flush();
|
|
5876
|
+
}
|
|
5842
5877
|
}
|
|
5843
5878
|
|
|
5844
5879
|
customElements.define("goa-icon", Icon);
|
|
@@ -5856,6 +5891,7 @@ function create_fragment$d(ctx) {
|
|
|
5856
5891
|
button = element("button");
|
|
5857
5892
|
goa_icon = element("goa-icon");
|
|
5858
5893
|
this.c = noop;
|
|
5894
|
+
set_custom_element_data(goa_icon, "title", /*title*/ ctx[3]);
|
|
5859
5895
|
set_custom_element_data(goa_icon, "type", /*type*/ ctx[0]);
|
|
5860
5896
|
set_custom_element_data(goa_icon, "size", /*size*/ ctx[1]);
|
|
5861
5897
|
set_custom_element_data(goa_icon, "theme", /*theme*/ ctx[2]);
|
|
@@ -5876,6 +5912,10 @@ function create_fragment$d(ctx) {
|
|
|
5876
5912
|
}
|
|
5877
5913
|
},
|
|
5878
5914
|
p(ctx, [dirty]) {
|
|
5915
|
+
if (dirty & /*title*/ 8) {
|
|
5916
|
+
set_custom_element_data(goa_icon, "title", /*title*/ ctx[3]);
|
|
5917
|
+
}
|
|
5918
|
+
|
|
5879
5919
|
if (dirty & /*type*/ 1) {
|
|
5880
5920
|
set_custom_element_data(goa_icon, "type", /*type*/ ctx[0]);
|
|
5881
5921
|
}
|
package/web-components.umd.js
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
(function(D,k){typeof exports=="object"&&typeof module!="undefined"?k(exports):typeof define=="function"&&define.amd?define(["exports"],k):(D=typeof globalThis!="undefined"?globalThis:D||self,k(D["web-components"]={}))})(this,function(D){"use strict";function k(){}const ve=i=>i;function Ye(i,e){for(const t in e)i[t]=e[t];return i}function De(i){return i()}function Xe(){return Object.create(null)}function Q(i){i.forEach(De)}function le(i){return typeof i=="function"}function N(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ee;function Ne(i,e){return Ee||(Ee=document.createElement("a")),Ee.href=e,i===Ee.href}function Ui(i){return Object.keys(i).length===0}function Zi(i,...e){if(i==null)return k;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Yi(i,e,t){i.$$.on_destroy.push(Zi(e,t))}function Je(i){return i&&le(i.destroy)?i.destroy:k}const Qe=typeof window!="undefined";let Ce=Qe?()=>window.performance.now():()=>Date.now(),je=Qe?i=>requestAnimationFrame(i):k;const fe=new Set;function $e(i){fe.forEach(e=>{e.c(i)||(fe.delete(e),e.f())}),fe.size!==0&&je($e)}function Ae(i){let e;return fe.size===0&&je($e),{promise:new Promise(t=>{fe.add(e={c:i,f:t})}),abort(){fe.delete(e)}}}function v(i,e){i.appendChild(e)}function et(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Xi(i){const e=
|
|
2
|
-
`;for(let w=0;w<=1;w+=s){const
|
|
1
|
+
(function(D,k){typeof exports=="object"&&typeof module!="undefined"?k(exports):typeof define=="function"&&define.amd?define(["exports"],k):(D=typeof globalThis!="undefined"?globalThis:D||self,k(D["web-components"]={}))})(this,function(D){"use strict";function k(){}const ve=i=>i;function Ye(i,e){for(const t in e)i[t]=e[t];return i}function De(i){return i()}function Xe(){return Object.create(null)}function Q(i){i.forEach(De)}function le(i){return typeof i=="function"}function N(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ee;function Ne(i,e){return Ee||(Ee=document.createElement("a")),Ee.href=e,i===Ee.href}function Ui(i){return Object.keys(i).length===0}function Zi(i,...e){if(i==null)return k;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Yi(i,e,t){i.$$.on_destroy.push(Zi(e,t))}function Je(i){return i&&le(i.destroy)?i.destroy:k}const Qe=typeof window!="undefined";let Ce=Qe?()=>window.performance.now():()=>Date.now(),je=Qe?i=>requestAnimationFrame(i):k;const fe=new Set;function $e(i){fe.forEach(e=>{e.c(i)||(fe.delete(e),e.f())}),fe.size!==0&&je($e)}function Ae(i){let e;return fe.size===0&&je($e),{promise:new Promise(t=>{fe.add(e={c:i,f:t})}),abort(){fe.delete(e)}}}function v(i,e){i.appendChild(e)}function et(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Xi(i){const e=y("style");return Ji(et(i),e),e}function Ji(i,e){v(i.head||i,e)}function x(i,e,t){i.insertBefore(e,t||null)}function E(i){i.parentNode.removeChild(i)}function y(i){return document.createElement(i)}function se(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function F(i){return document.createTextNode(i)}function T(){return F(" ")}function $(){return F("")}function Z(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function C(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:d(i,e,t)}function Qi(i){return Array.from(i.childNodes)}function W(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function K(i,e,t,r){i.style.setProperty(e,t,r?"important":"")}function I(i,e,t){i.classList[t?"add":"remove"](e)}function $i(i,e,t=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(i,t,!1,e),r}function P(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Pe=new Set;let Me=0;function er(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Le(i,e,t,r,o,n,a,l=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let w=0;w<=1;w+=s){const p=e+(t-e)*n(w);c+=w*100+`%{${a(p,1-p)}}
|
|
3
3
|
`}const u=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${er(u)}_${l}`,h=et(i);Pe.add(h);const p=h.__svelte_stylesheet||(h.__svelte_stylesheet=Xi(i).sheet),m=h.__svelte_rules||(h.__svelte_rules={});m[f]||(m[f]=!0,p.insertRule(`@keyframes ${f} ${u}`,p.cssRules.length));const b=i.style.animation||"";return i.style.animation=`${b?`${b}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Me+=1,f}function Re(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Me-=o,Me||tr())}function tr(){je(()=>{Me||(Pe.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),Pe.clear())})}let _e;function ye(i){_e=i}function tt(){if(!_e)throw new Error("Function called outside component initialization");return _e}function ne(i){tt().$$.on_mount.push(i)}function Oe(i){tt().$$.on_destroy.push(i)}const pe=[],ce=[],Te=[],it=[],rt=Promise.resolve();let Fe=!1;function ot(){Fe||(Fe=!0,rt.then(g))}function nt(){return ot(),rt}function ee(i){Te.push(i)}const We=new Set;let He=0;function g(){const i=_e;do{for(;He<pe.length;){const e=pe[He];He++,ye(e),ir(e.$$)}for(ye(null),pe.length=0,He=0;ce.length;)ce.pop()();for(let e=0;e<Te.length;e+=1){const t=Te[e];We.has(t)||(We.add(t),t())}Te.length=0}while(pe.length);for(;it.length;)it.pop()();Fe=!1,We.clear(),ye(i)}function ir(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ee)}}let we;function qe(){return we||(we=Promise.resolve(),we.then(()=>{we=null})),we}function de(i,e,t){i.dispatchEvent($i(`${e?"intro":"outro"}${t}`))}const Ie=new Set;let te;function ke(){te={r:0,c:[],p:te}}function xe(){te.r||Q(te.c),te=te.p}function U(i,e){i&&i.i&&(Ie.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Ie.has(i))return;Ie.add(i),te.c.push(()=>{Ie.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Ke={duration:0};function at(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Re(i,n)}function c(){const{delay:f=0,duration:h=300,easing:p=ve,tick:m=k,css:b}=r||Ke;b&&(n=Le(i,0,1,h,f,p,b,l++)),m(0,1);const w=Ce()+f,y=w+h;a&&a.abort(),o=!0,ee(()=>de(i,!0,"start")),a=Ae(z=>{if(o){if(z>=y)return m(1,0),de(i,!0,"end"),s(),o=!1;if(z>=w){const A=p((z-w)/h);m(A,1-A)}}return o})}let u=!1;return{start(){u||(u=!0,Re(i),le(r)?(r=r(),qe().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function lt(i,e,t){let r=e(i,t),o=!0,n;const a=te;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=ve,tick:f=k,css:h}=r||Ke;h&&(n=Le(i,1,0,c,s,u,h));const p=Ce()+s,m=p+c;ee(()=>de(i,!1,"start")),Ae(b=>{if(o){if(b>=m)return f(0,1),de(i,!1,"end"),--a.r||Q(a.c),!1;if(b>=p){const w=u((b-p)/c);f(1-w,w)}}return o})}return le(r)?qe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Re(i,n),o=!1)}}}function Ge(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Re(i,s)}function u(h,p){const m=h.b-n;return p*=Math.abs(m),{a:n,b:h.b,d:m,duration:p,start:h.start,end:h.start+p,group:h.group}}function f(h){const{delay:p=0,duration:m=300,easing:b=ve,tick:w=k,css:y}=o||Ke,z={start:Ce()+p,b:h};h||(z.group=te,te.r+=1),a||l?l=z:(y&&(c(),s=Le(i,n,h,m,p,b,y)),h&&w(0,1),a=u(z,m),ee(()=>de(i,h,"start")),Ae(A=>{if(l&&A>l.start&&(a=u(l,m),l=null,de(i,a.b,"start"),y&&(c(),s=Le(i,n,a.b,a.duration,0,b,o.css))),a){if(A>=a.end)w(n=a.b,1-n),de(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(A>=a.start){const R=A-a.start;n=a.a+a.d*b(R/a.duration),w(n,1-n)}}return!!(a||l)}))}return{run(h){le(o)?qe().then(()=>{o=o(),f(h)}):f(h)},end(){c(),a=l=null}}}function ge(i,e){i.d(1),e.delete(i.key)}function he(i,e,t,r,o,n,a,l,s,c,u,f){let h=i.length,p=n.length,m=h;const b={};for(;m--;)b[i[m].key]=m;const w=[],y=new Map,z=new Map;for(m=p;m--;){const L=f(o,n,m),H=t(L);let G=a.get(H);G?r&&G.p(L,e):(G=c(H,L),G.c()),y.set(H,w[m]=G),H in b&&z.set(H,Math.abs(m-b[H]))}const A=new Set,R=new Set;function M(L){U(L,1),L.m(l,u),a.set(L.key,L),u=L.first,p--}for(;h&&p;){const L=w[p-1],H=i[h-1],G=L.key,V=H.key;L===H?(u=L.first,h--,p--):y.has(V)?!a.has(G)||A.has(G)?M(L):R.has(V)?h--:z.get(G)>z.get(V)?(R.add(G),M(L)):(A.add(V),h--):(s(H,a),h--)}for(;h--;){const L=i[h];y.has(L.key)||s(L,a)}for(;p;)M(w[p-1]);return w}function ae(i){i&&i.c()}function re(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||ee(()=>{const s=n.map(De).filter(le);a?a.push(...s):Q(s),i.$$.on_mount=[]}),l.forEach(ee)}function oe(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function rr(i,e){i.$$.dirty[0]===-1&&(pe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,o,n,a,l=[-1]){const s=_e;ye(i);const c=i.$$={fragment:null,ctx:null,props:n,update:k,not_equal:o,bound:Xe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Xe(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...p)=>{const m=p.length?p[0]:h;return c.ctx&&o(c.ctx[f],c.ctx[f]=m)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](m),u&&rr(i,f)),h}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Qi(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),re(i,e.target,e.anchor,e.customElement),g()}ye(s)}let j;typeof HTMLElement=="function"&&(j=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(De).filter(le);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){oe(this,1),this.$destroy=k}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Ui(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function or(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","page-content")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class st extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,or,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-page-block",st);function nr(i){let e,t,r,o,n,a,l,s,c,u,f,h;return{c(){e=_("div"),t=_("a"),r=_("img"),n=T(),a=_("img"),s=T(),c=_("span"),u=F(i[1]),f=T(),h=_("div"),h.innerHTML="<slot></slot>",this.c=k,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Ne(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Ne(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(p,m){x(p,e,m),v(e,t),v(t,r),v(t,n),v(t,a),v(t,s),v(t,c),v(c,u),v(e,f),v(e,h)},p(p,[m]){m&2&&W(u,p[1]),m&1&&d(t,"href",p[0]),m&4&&d(e,"data-testid",p[2])},i:k,o:k,d(p){p&&E(e)}}}function ar(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class ct extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ar,nr,N,{url:0,title:1,testid:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",ct);const me=[];function dt(i,e=k){let t;const r=new Set;function o(l){if(N(i,l)&&(i=l,t)){const s=!me.length;for(const c of r)c[1](),me.push(c,i);if(s){for(let c=0;c<me.length;c+=2)me[c][0](me[c+1]);me.length=0}}}function n(l){o(l(i))}function a(l,s=k){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||k),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ze={};class lr{constructor(){this.store=dt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Ve(i){const e=new lr;return ze[i]=e,e}async function Se(i){return await ut(i,0)}async function ut(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return ze[i]?ze[i]:(await nt(),ut(i,e+1))}function Ue(i){!ze[i]||delete ze[i]}const ft="meta-link",gt="navigation-link";function ht(i,e,t){const r=i.slice();return r[18]=e[t],r}function mt(i,e,t){const r=i.slice();return r[24]=e[t],r}function bt(i,e,t){const r=i.slice();return r[21]=e[t],r}function vt(i,e,t){const r=i.slice();return r[24]=e[t],r}function _t(i){let e,t,r;function o(l,s){if(l[6].length)return cr;if(l[5].length)return sr}let n=o(i),a=n&&n(i);return{c(){e=_("div"),a&&a.c(),t=T(),r=_("hr"),d(e,"class","navigation-links"),d(r,"class","navigation-links-divider")},m(l,s){x(l,e,s),a&&a.m(e,null),x(l,t,s),x(l,r,s)},p(l,s){n===(n=o(l))&&a?a.p(l,s):(a&&a.d(1),a=n&&n(l),a&&(a.c(),a.m(e,null)))},d(l){l&&E(e),a&&a.d(),l&&E(t),l&&E(r)}}}function sr(i){let e,t=[],r=new Map,o=i[5];const n=a=>a[24].title;for(let a=0;a<o.length;a+=1){let l=mt(i,o,a),s=n(l);r.set(s,t[a]=yt(s,l))}return{c(){e=_("div");for(let a=0;a<t.length;a+=1)t[a].c();d(e,"class","navigation-section-name-less")},m(a,l){x(a,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(a,l){l&32&&(o=a[5],t=he(t,l,n,1,a,o,r,e,ge,yt,null,mt))},d(a){a&&E(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function cr(i){let e=[],t=new Map,r,o=i[6];const n=a=>a[21];for(let a=0;a<o.length;a+=1){let l=bt(i,o,a),s=n(l);t.set(s,e[a]=wt(s,l))}return{c(){for(let a=0;a<e.length;a+=1)e[a].c();r=$()},m(a,l){for(let s=0;s<e.length;s+=1)e[s].m(a,l);x(a,r,l)},p(a,l){l&192&&(o=a[6],e=he(e,l,n,1,a,o,t,r.parentNode,ge,wt,r,bt))},d(a){for(let l=0;l<e.length;l+=1)e[l].d(a);a&&E(r)}}}function yt(i,e){let t,r=e[24].title+"",o,n;return{key:i,first:null,c(){t=_("a"),o=F(r),d(t,"href",n=e[24].url),d(t,"class","navigation-link"),this.first=t},m(a,l){x(a,t,l),v(t,o)},p(a,l){e=a,l&32&&r!==(r=e[24].title+"")&&W(o,r),l&32&&n!==(n=e[24].url)&&d(t,"href",n)},d(a){a&&E(t)}}}function pt(i,e){let t,r=e[24].title+"",o,n;return{key:i,first:null,c(){t=_("a"),o=F(r),d(t,"href",n=e[24].url),d(t,"class","navigation-link"),this.first=t},m(a,l){x(a,t,l),v(t,o)},p(a,l){e=a,l&64&&r!==(r=e[24].title+"")&&W(o,r),l&64&&n!==(n=e[24].url)&&d(t,"href",n)},d(a){a&&E(t)}}}function wt(i,e){let t,r,o=e[21].name+"",n,a,l,s,c,u=[],f=new Map,h,p=e[21].links;const m=b=>b[24].title;for(let b=0;b<p.length;b+=1){let w=vt(e,p,b),y=m(w);f.set(y,u[b]=pt(y,w))}return{key:i,first:null,c(){t=_("section"),r=_("span"),n=F(o),a=T(),l=_("hr"),s=T(),c=_("div");for(let b=0;b<u.length;b+=1)u[b].c();h=T(),d(r,"class","navigation-section-name"),d(l,"class","navigation-section-name-divider"),d(c,"class","navigation-section-links"),I(t,"multi-section-column",e[7].includes(e[21].name)),this.first=t},m(b,w){x(b,t,w),v(t,r),v(r,n),v(t,a),v(t,l),v(t,s),v(t,c);for(let y=0;y<u.length;y+=1)u[y].m(c,null);v(t,h)},p(b,w){e=b,w&64&&o!==(o=e[21].name+"")&&W(n,o),w&64&&(p=e[21].links,u=he(u,w,m,1,e,p,f,c,ge,pt,null,vt)),w&192&&I(t,"multi-section-column",e[7].includes(e[21].name))},d(b){b&&E(t);for(let w=0;w<u.length;w+=1)u[w].d()}}}function kt(i){let e,t=[],r=new Map,o=i[4];const n=a=>a[18].title;for(let a=0;a<o.length;a+=1){let l=ht(i,o,a),s=n(l);r.set(s,t[a]=xt(s,l))}return{c(){e=_("div");for(let a=0;a<t.length;a+=1)t[a].c();d(e,"class","meta-links")},m(a,l){x(a,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(a,l){l&16&&(o=a[4],t=he(t,l,n,1,a,o,r,e,ge,xt,null,ht))},d(a){a&&E(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function xt(i,e){let t,r=e[18].title+"",o,n;return{key:i,first:null,c(){t=_("a"),o=F(r),d(t,"href",n=e[18].url),d(t,"class","meta-link"),this.first=t},m(a,l){x(a,t,l),v(t,o)},p(a,l){e=a,l&16&&r!==(r=e[18].title+"")&&W(o,r),l&16&&n!==(n=e[18].url)&&d(t,"href",n)},d(a){a&&E(t)}}}function dr(i){let e,t,r,o,n,a,l,s,c,u,f,h,p,m,b,w,y,z,A,R,M=(i[6].length||i[5].length)&&_t(i),L=i[4].length&&kt(i);return{c(){e=_("hr"),t=T(),r=_("div"),o=_("center"),n=_("div"),a=_("slot"),l=T(),M&&M.c(),s=T(),c=_("div"),L&&L.c(),u=T(),f=_("div"),h=_("a"),p=F("\xA9 "),m=F(i[3]),b=T(),w=_("a"),y=_("img"),A=T(),R=_("div"),this.c=k,d(e,"class","top-grey-bar"),d(h,"href",i[0]),d(h,"class","goa-copyright"),d(y,"alt","GoA Logo"),d(y,"class","logo"),Ne(y.src,z="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")||d(y,"src",z),d(w,"href",i[1]),d(w,"title",i[2]),d(f,"class","logo-and-copyright"),I(f,"logo-and-copyright-with-links",i[4].length||i[5].length||i[6].length),I(c,"meta-links-logo-and-copyright",i[4].length),d(n,"class","footer"),I(n,"default-footer",i[13]),I(n,"meta-links-only-footer",i[12]),I(n,"navigation-links-only-footer",i[11]),I(n,"navigation-sections-only-footer",i[10]),I(n,"meta-and-navigation-links-only-footer",i[9]),I(n,"meta-and-navigation-sections-only-footer",i[8]),d(r,"class","app-footer-container"),d(R,"class","brand")},m(H,G){x(H,e,G),x(H,t,G),x(H,r,G),v(r,o),v(o,n),v(n,a),v(n,l),M&&M.m(n,null),v(n,s),v(n,c),L&&L.m(c,null),v(c,u),v(c,f),v(f,h),v(h,p),v(h,m),v(f,b),v(f,w),v(w,y),x(H,A,G),x(H,R,G)},p(H,[G]){H[6].length||H[5].length?M?M.p(H,G):(M=_t(H),M.c(),M.m(n,s)):M&&(M.d(1),M=null),H[4].length?L?L.p(H,G):(L=kt(H),L.c(),L.m(c,u)):L&&(L.d(1),L=null),G&8&&W(m,H[3]),G&1&&d(h,"href",H[0]),G&2&&d(w,"href",H[1]),G&4&&d(w,"title",H[2]),G&112&&I(f,"logo-and-copyright-with-links",H[4].length||H[5].length||H[6].length),G&16&&I(c,"meta-links-logo-and-copyright",H[4].length),G&8192&&I(n,"default-footer",H[13]),G&4096&&I(n,"meta-links-only-footer",H[12]),G&2048&&I(n,"navigation-links-only-footer",H[11]),G&1024&&I(n,"navigation-sections-only-footer",H[10]),G&512&&I(n,"meta-and-navigation-links-only-footer",H[9]),G&256&&I(n,"meta-and-navigation-sections-only-footer",H[8])},i:k,o:k,d(H){H&&E(e),H&&E(t),H&&E(r),M&&M.d(),L&&L.d(),H&&E(A),H&&E(R)}}}function ur(i,e,t){let r,o,n,a,l,s,{id:c="goa-app-footer-id"}=e,{multicolumnsectionnames:u=""}=e,{copyrighturl:f="#"}=e,{appurl:h="#"}=e,{title:p=""}=e,{copyrighttext:m="2021 Government of Alberta"}=e,b,w=[],y=[],z=[],A=[];function R(M){let L=z.filter(G=>G.name!==M.section),H=z.find(G=>G.name===M.section);H?t(6,z=[...L,{name:M.section,links:[...H.links,{title:M.title,url:M.url}]}]):t(6,z=[...L,{name:M.section,links:[{title:M.title,url:M.url}]}])}return ne(async()=>{b=Ve(c),b.subscribe(M=>{switch(M==null?void 0:M.type){case ft:{const L=M;t(4,w=[...w,{title:L.title,url:L.url}]);break}case gt:{const L=M;L.section?R(L):t(5,y=[...y,{title:L.title,url:L.url}]);break}}})}),Oe(()=>{Ue(c)}),i.$$set=M=>{"id"in M&&t(14,c=M.id),"multicolumnsectionnames"in M&&t(15,u=M.multicolumnsectionnames),"copyrighturl"in M&&t(0,f=M.copyrighturl),"appurl"in M&&t(1,h=M.appurl),"title"in M&&t(2,p=M.title),"copyrighttext"in M&&t(3,m=M.copyrighttext)},i.$$.update=()=>{i.$$.dirty&112&&t(13,r=!w.length&&!y.length&&!z.length),i.$$.dirty&112&&t(12,o=w.length&&!y.length&&!z.length),i.$$.dirty&112&&t(11,n=!w.length&&y.length&&!z.length),i.$$.dirty&112&&t(10,a=!w.length&&!y.length&&z.length),i.$$.dirty&112&&t(9,l=w.length&&y.length&&!z.length),i.$$.dirty&112&&t(8,s=w.length&&!y.length&&z.length),i.$$.dirty&32768&&t(7,A=u.split(",").map(M=>M.trim()))},[f,h,p,m,w,y,z,A,s,l,a,n,o,r,c,u]}class zt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.top-grey-bar{border-top:2px solid var(--color-gray-200);margin:0}.footer{max-width:60rem}.brand{height:1rem;background-color:var(--goa-color-brand)}.meta-links-logo-and-copyright{display:flex;flex-wrap:wrap;justify-content:space-between}.logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.logo-and-copyright-with-links{align-items:flex-end;flex-direction:column-reverse}.meta-link{margin-top:3.5em;margin-right:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base)}.logo{height:2.56rem;width:8.88rem}.app-footer-container{background-color:var(--color-gray-100)}.navigation-sections-only-footer .navigation-links,.meta-and-navigation-sections-only-footer .navigation-links{padding-top:1.75rem}.navigation-links{flex-direction:row;justify-content:flex-start;text-align:start;column-gap:1.75rem;display:flex;flex-direction:unset}.navigation-links section{flex-grow:1}.navigation-links section.multi-section-column{flex-grow:2}.multi-section-column .navigation-section-links{column-count:2}.meta-links{text-align:start;display:flex;flex-flow:wrap}.navigation-section-name-less{column-gap:1.75rem;width:100%;column-count:3}.navigation-section-name{font-size:var(--fs-xl);line-height:var(--lh-lg);font-weight:var(--fw-regular);margin-bottom:1.75rem;margin-top:1.75rem}.navigation-section-name-divider{margin-top:1.75rem;margin-bottom:0}.navigation-link{padding-top:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base);display:block}.default-footer .logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.meta-links-only-footer{padding-top:1.19em;padding-bottom:3.5em}.navigation-links-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer,.navigation-sections-only-footer{padding-top:1.75rem;padding-bottom:3.5em}.meta-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-sections-only-footer .meta-link{margin-top:3.53rem;margin-right:1.75rem;color:var(--goa-color-text)}.default-footer .logo{margin-top:3.5rem;margin-bottom:3.5rem;display:block}.navigation-links-only-footer .logo,.meta-and-navigation-links-only-footer .logo,.meta-links-only-footer .logo{margin-top:1.75rem;margin-bottom:1.75rem}.navigation-sections-only-footer .logo,.meta-and-navigation-sections-only-footer .logo{margin-top:2.93rem;margin-bottom:1.75rem}.goa-copyright{margin-top:0;margin-bottom:0;font-size:var(--fs-base);color:var(--goa-color-text-secondary)}.navigation-links-divider{margin-top:1.75rem;margin-bottom:0}@media(max-width: 1024px){.logo{margin-top:2.125rem;margin-bottom:1.5rem}}@media(max-width: 992px){.app-footer-container{padding-left:1rem;padding-right:1rem}}@media(max-width: 640px){.logo-and-copyright{align-items:flex-start;flex-direction:column-reverse}.meta-links,.logo-and-copyright{flex:100%}.logo{width:7.8rem;height:2.25rem;margin-top:0;margin-bottom:0}.goa-copyright{font-size:var(--fs-sm)}.navigation-section-name{font-size:var(--fs-base);line-height:var(--lh-base);font-weight:var(--fw-bold);margin-bottom:1rem;margin-top:1.5rem}.navigation-link{padding-top:1.5rem;font-size:var(--fs-sm)}.meta-links-only-footer .meta-link,.meta-and-navigation-links-only-footer .meta-link,.meta-and-navigation-sections-only-footer .meta-link{margin-top:1.5rem;margin-right:1.25rem;margin-bottom:0;font-size:var(--fs-sm)}.default-footer,.meta-links-only-footer,.navigation-links-only-footer,.navigation-sections-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0.75rem;padding-bottom:2.25rem}.navigation-sections-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0}.navigation-links-divider{margin-top:1.5rem;margin-bottom:0}.default-footer .logo{margin-top:1.5rem;margin-bottom:1.5rem}.default-footer .logo-and-copyright{align-items:flex-start}.navigation-links{flex-direction:column}.navigation-links section{margin-top:2.25rem}.navigation-section-name-divider{margin-top:1rem;margin-bottom:0}}@media(max-width: 960px){.navigation-section-name-less{column-count:2}.navigation-links section.multi-section-column{flex-grow:1}.multi-section-column .navigation-section-links{column-count:1}}@media(max-width: 640px){.navigation-section-name-less{column-count:1}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ur,dr,N,{id:14,multicolumnsectionnames:15,copyrighturl:0,appurl:1,title:2,copyrighttext:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["id","multicolumnsectionnames","copyrighturl","appurl","title","copyrighttext"]}get id(){return this.$$.ctx[14]}set id(e){this.$$set({id:e}),g()}get multicolumnsectionnames(){return this.$$.ctx[15]}set multicolumnsectionnames(e){this.$$set({multicolumnsectionnames:e}),g()}get copyrighturl(){return this.$$.ctx[0]}set copyrighturl(e){this.$$set({copyrighturl:e}),g()}get appurl(){return this.$$.ctx[1]}set appurl(e){this.$$set({appurl:e}),g()}get title(){return this.$$.ctx[2]}set title(e){this.$$set({title:e}),g()}get copyrighttext(){return this.$$.ctx[3]}set copyrighttext(e){this.$$set({copyrighttext:e}),g()}}customElements.define("goa-app-footer",zt);function fr(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function gr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:n=""}=e,a;return ne(async()=>{a=await Se(r),a.notify({type:ft,url:n,title:o})}),i.$$set=l=>{"footerid"in l&&t(0,r=l.footerid),"title"in l&&t(1,o=l.title),"url"in l&&t(2,n=l.url)},[r,o,n]}class Et extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},gr,fr,N,{footerid:0,title:1,url:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}}customElements.define("goa-meta-link",Et);function hr(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function mr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:n=""}=e,{section:a=""}=e,l;return ne(async()=>{l=await Se(r),l.notify({type:gt,url:n,title:o,section:a})}),i.$$set=s=>{"footerid"in s&&t(0,r=s.footerid),"title"in s&&t(1,o=s.title),"url"in s&&t(2,n=s.url),"section"in s&&t(3,a=s.section)},[r,o,n,a]}class Ct extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mr,hr,N,{footerid:0,title:1,url:2,section:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url","section"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}get section(){return this.$$.ctx[3]}set section(e){this.$$set({section:e}),g()}}customElements.define("goa-navigation-link",Ct);function q(i){return i==="false"?!1:i===""?!0:!!i}function br(i){let e;return{c(){e=_("div"),K(e,"height","1.2rem"),K(e,"margin-left","-0.25rem")},m(t,r){x(t,e,r)},p:k,d(t){t&&E(e)}}}function vr(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[3]),C(e,"size","small")},m(t,r){x(t,e,r)},p(t,r){r&8&&C(e,"type",t[3])},d(t){t&&E(e)}}}function At(i){let e,t;return{c(){e=_("div"),t=F(i[2]),d(e,"class","goa-badge-content")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&4&&W(t,r[2])},d(r){r&&E(e)}}}function _r(i){let e,t,r;function o(s,c){return s[4]?vr:br}let n=o(i),a=n(i),l=i[2]&&At(i);return{c(){e=_("div"),a.c(),t=T(),l&&l.c(),this.c=k,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),I(e,"icon-only",i[4]&&!i[2])},m(s,c){x(s,e,c),a.m(e,null),v(e,t),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=At(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&I(e,"icon-only",s[4]&&!s[2])},i:k,o:k,d(s){s&&E(e),a.d(),l&&l.d()}}}function yr(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=q(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class Mt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yr,_r,N,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-badge",Mt);function pr(i){let e,t,r,o,n=i[4]&&Lt(i),a=i[5]&&Rt(i);return{c(){n&&n.c(),e=T(),t=_("slot"),r=T(),a&&a.c(),o=$()},m(l,s){n&&n.m(l,s),x(l,e,s),x(l,t,s),x(l,r,s),a&&a.m(l,s),x(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=Lt(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=Rt(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(o)}}}function wr(i){let e,t,r;return{c(){e=_("slot"),t=T(),r=_("goa-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(o,n){x(o,e,n),x(o,t,n),x(o,r,n)},p:k,d(o){o&&E(e),o&&E(t),o&&E(r)}}}function Lt(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[4]),C(e,"inverted","true")},m(t,r){x(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function Rt(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[5]),C(e,"inverted","true")},m(t,r){x(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function kr(i){let e,t,r,o;function n(s,c){return s[0]==="start"?wr:pr}let a=n(i),l=a(i);return{c(){e=_("button"),l.c(),this.c=k,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[7],d(e,"data-testid",i[6])},m(s,c){x(s,e,c),l.m(e,null),r||(o=Z(e,"click",xr),r=!0)},p(s,[c]){a===(a=n(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",t),c&8&&d(e,"title",s[3]),c&128&&(e.disabled=s[7]),c&64&&d(e,"data-testid",s[6])},i:k,o:k,d(s){s&&E(e),l.d(),r=!1,o()}}}function xr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function zr(i,e,t){let r;const o=["primary","secondary","tertiary","start"],n=["","compact"],a=["","danger"];function l(z){return o.includes(z)}function s(z){return n.includes(z)}function c(z){return a.includes(z)}let{type:u="primary"}=e,{size:f=""}=e,{variant:h=""}=e,{title:p=""}=e,{disabled:m="false"}=e,{leadingicon:b=null}=e,{trailingicon:w=null}=e,{testid:y=""}=e;return ne(()=>{if(!l(u))throw"Invalid button type";if(!s(f))throw"Invalid button size";if(!c(h))throw"Invalid button variant"}),i.$$set=z=>{"type"in z&&t(0,u=z.type),"size"in z&&t(1,f=z.size),"variant"in z&&t(2,h=z.variant),"title"in z&&t(3,p=z.title),"disabled"in z&&t(8,m=z.disabled),"leadingicon"in z&&t(4,b=z.leadingicon),"trailingicon"in z&&t(5,w=z.trailingicon),"testid"in z&&t(6,y=z.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=q(m))},[u,f,h,p,b,w,y,r,m]}class Tt extends j{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;display:flex;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zr,kr,N,{type:0,size:1,variant:2,title:3,disabled:8,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-button",Tt);function Er(i){let e,t;return{c(){e=
|
|
6
|
-
}}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Rr,Lr,N,{elevation:0,width:1,testId:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",Gt);function Tr(i){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=k},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class St extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Tr,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-actions",St);function Hr(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","card-content")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class Bt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Hr,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-content",Bt);function Ir(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","card-group")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class Dt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Ir,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-group",Dt);function Gr(i){let e;return{c(){e=_("div"),this.c=k,d(e,"class","card-image"),K(e,"background-image","url("+i[0]+")"),K(e,"height",i[1]),K(e,"background-size","cover"),K(e,"background-position","center")},m(t,r){x(t,e,r)},p(t,[r]){r&1&&K(e,"background-image","url("+t[0]+")"),r&2&&K(e,"height",t[1])},i:k,o:k,d(t){t&&E(e)}}}function Sr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class Nt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Sr,Gr,N,{src:0,height:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",Nt);function Br(i){let e,t;return{c(){e=se("svg"),t=se("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){x(r,e,o),v(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t;return{c(){e=se("svg"),t=se("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){x(r,e,o),v(e,t)},d(r){r&&E(e)}}}function Nr(i){let e,t,r,o,n,a,l,s,c,u,f;function h(b,w){if(b[5])return Dr;if(b[4])return Br}let p=h(i),m=p&&p(i);return{c(){e=_("label"),t=_("div"),r=_("input"),n=T(),m&&m.c(),a=T(),l=_("div"),s=_("slot"),c=F(i[1]),this.c=k,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),I(t,"goa-checkbox--selected",i[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),I(e,"goa-checkbox--disabled",i[7]),I(e,"goa-checkbox--error",i[6])},m(b,w){x(b,e,w),v(e,t),v(t,r),v(t,n),m&&m.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),u||(f=Z(r,"change",i[9]),u=!0)},p(b,[w]){w&256&&d(r,"id",b[8]),w&8&&d(r,"data-testid",b[3]),w&1&&d(r,"name",b[0]),w&16&&(r.checked=b[4]),w&128&&(r.disabled=b[7]),w&4&&o!==(o=`${b[2]}`)&&(r.value=o),p!==(p=h(b))&&(m&&m.d(1),m=p&&p(b),m&&(m.c(),m.m(t,null))),w&16&&I(t,"goa-checkbox--selected",b[4]),w&2&&W(c,b[1]),w&256&&d(e,"for",b[8]),w&128&&I(e,"goa-checkbox--disabled",b[7]),w&64&&I(e,"goa-checkbox--error",b[6])},i:k,o:k,d(b){b&&E(e),m&&m.d(),u=!1,f()}}}function jr(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:h}=e,{error:p}=e,{testid:m=""}=e;function b(w){const y=!a,z=y?`${u||"checked"}`:"";w.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:y,value:z}}))}return i.$$set=w=>{"name"in w&&t(0,s=w.name),"text"in w&&t(1,c=w.text),"value"in w&&t(2,u=w.value),"checked"in w&&t(10,f=w.checked),"disabled"in w&&t(11,h=w.disabled),"error"in w&&t(12,p=w.error),"testid"in w&&t(3,m=w.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${s}`),i.$$.dirty&2048&&t(7,o=q(h)),i.$$.dirty&4096&&t(6,n=q(p)),i.$$.dirty&1024&&t(4,a=q(f))},t(5,l=!1),[s,c,u,m,a,l,n,o,r,b,f,h,p]}class jt extends j{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jr,Nr,N,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),g()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",jt);function Pt(i){let e;return{c(){e=_("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){x(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&E(e)}}}function Ot(i){let e,t,r;return{c(){e=_("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),C(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){x(o,e,n)},p(o,n){n&24&&t!==(t=o[4]?"var(--goa-color-status-emergency)":o[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&C(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&C(e,"opacity",r)},d(o){o&&E(e)}}}function Pr(i){let e,t,r,o,n,a,l=i[0]&&Pt(i),s=i[5]&&Ot(i);return{c(){e=_("div"),l&&l.c(),t=T(),r=F(i[1]),o=T(),s&&s.c(),this.c=k,d(e,"data-testid","chip"),d(e,"class","chip"),d(e,"tabindex","0"),I(e,"deletable",i[5]),I(e,"error",i[4])},m(c,u){x(c,e,u),l&&l.m(e,null),v(e,t),v(e,r),v(e,o),s&&s.m(e,null),i[9](e),n||(a=[Z(e,"click",i[10]),Z(e,"mouseover",i[11]),Z(e,"mouseout",i[12]),Z(e,"focus",i[13]),Z(e,"blur",i[14])],n=!0)},p(c,[u]){c[0]?l?l.p(c,u):(l=Pt(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),u&2&&W(r,c[1]),c[5]?s?s.p(c,u):(s=Ot(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),u&32&&I(e,"deletable",c[5]),u&16&&I(e,"error",c[4])},i:k,o:k,d(c){c&&E(e),l&&l.d(),s&&s.d(),i[9](null),n=!1,Q(a)}}}function Or(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,u;function f(z){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function h(z){ce[z?"unshift":"push"](()=>{l=z,t(2,l)})}const p=z=>u&&f(z),m=()=>t(3,s=!0),b=()=>t(3,s=!1),w=()=>t(3,s=!0),y=()=>t(3,s=!1);return i.$$set=z=>{"leadingicon"in z&&t(0,r=z.leadingicon),"error"in z&&t(7,o=z.error),"deletable"in z&&t(8,n=z.deletable),"content"in z&&t(1,a=z.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=q(o)),i.$$.dirty&256&&t(5,u=q(n))},[r,a,l,s,c,u,f,o,n,h,p,m,b,w,y]}class Ft extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-gray-100);border-radius:99px;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.chip:hover{background-color:var(--color-gray-200)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Or,Pr,N,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Ft);function Fr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=_("div"),t=_("header"),r=_("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=_("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=_("div"),s.innerHTML="<slot></slot>",this.c=k,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(u,f){x(u,e,f),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(t,"class",a),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:k,o:k,d(u){u&&E(e)}}}function Wr(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class Wt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wr,Fr,N,{variant:0,headingsize:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),g()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),g()}}customElements.define("goa-container",Wt);const qt="bind";function Kt(i,e,t){const r=i.slice();return r[32]=e[t],r[34]=t,r}function Vt(i){let e,t,r,o;return{c(){e=_("div"),d(e,"data-testid",t=`${i[1]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){x(n,e,a),r||(o=Z(e,"click",i[17]),r=!0)},p(n,a){a[0]&2&&t!==(t=`${n[1]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&E(e),r=!1,o()}}}function Ut(i,e){let t,r=e[32].label+"",o,n,a,l,s,c,u;function f(){return e[20](e[32])}return{key:i,first:null,c(){t=_("li"),o=F(r),n=T(),d(t,"data-testid",a=`${e[32].value}-dropdown-item`),d(t,"data-index",l=e[34]),d(t,"class","goa-dropdown-option"),d(t,"style",s="display: block"),I(t,"goa-dropdown-option--disabled",!1),I(t,"goa-dropdown-option--tabbed",e[34]===e[11]),I(t,"goa-dropdown-option--selected",e[32].value===e[0]),this.first=t},m(h,p){x(h,t,p),v(t,o),v(t,n),c||(u=Z(t,"click",f),c=!0)},p(h,p){e=h,p[0]&256&&r!==(r=e[32].label+"")&&W(o,r),p[0]&256&&a!==(a=`${e[32].value}-dropdown-item`)&&d(t,"data-testid",a),p[0]&256&&l!==(l=e[34])&&d(t,"data-index",l),p[0]&2304&&I(t,"goa-dropdown-option--tabbed",e[34]===e[11]),p[0]&257&&I(t,"goa-dropdown-option--selected",e[32].value===e[0])},d(h){h&&E(t),c=!1,u()}}}function qr(i){let e,t,r,o,n,a,l,s,c,u,f,h=[],p=new Map,m,b,w,y=i[10]&&Vt(i),z=i[8];const A=R=>R[32].value;for(let R=0;R<z.length;R+=1){let M=Kt(i,z,R),L=A(M);p.set(L,h[R]=Ut(L,M))}return{c(){e=_("div"),y&&y.c(),t=T(),r=_("div"),o=_("goa-input"),s=T(),c=_("ul"),u=_("slot"),f=T();for(let R=0;R<h.length;R+=1)h[R].c();this.c=k,C(o,"error",i[15]),C(o,"disabled",i[5]),C(o,"leadingicon",i[2]),C(o,"placeholder",i[4]),C(o,"width",n=i[7]||i[12]),C(o,"id",a=`${i[1]}-dropdown-input`),C(o,"name","search"),C(o,"readonly",""),C(o,"trailingicon","chevron-down"),C(o,"type","text"),C(o,"value",i[9]),d(r,"data-testid",l=`${i[1]}-dropdown`),d(c,"tabindex","0"),d(c,"class","goa-dropdown-list"),d(c,"style",m=`overflow-y: auto; max-height: ${i[3]}px`),I(c,"dropdown-active",i[10]),d(e,"data-testid",i[6]),d(e,"class","goa-dropdown-box")},m(R,M){x(R,e,M),y&&y.m(e,null),v(e,t),v(e,r),v(r,o),v(e,s),v(e,c),v(c,u),v(c,f);for(let L=0;L<h.length;L+=1)h[L].m(c,null);i[21](c),i[22](e),b||(w=Z(o,"click",i[16]),b=!0)},p(R,M){R[10]?y?y.p(R,M):(y=Vt(R),y.c(),y.m(e,t)):y&&(y.d(1),y=null),M[0]&32768&&C(o,"error",R[15]),M[0]&32&&C(o,"disabled",R[5]),M[0]&4&&C(o,"leadingicon",R[2]),M[0]&16&&C(o,"placeholder",R[4]),M[0]&4224&&n!==(n=R[7]||R[12])&&C(o,"width",n),M[0]&2&&a!==(a=`${R[1]}-dropdown-input`)&&C(o,"id",a),M[0]&512&&C(o,"value",R[9]),M[0]&2&&l!==(l=`${R[1]}-dropdown`)&&d(r,"data-testid",l),M[0]&264449&&(z=R[8],h=he(h,M,A,1,R,z,p,c,ge,Ut,null,Kt)),M[0]&8&&m!==(m=`overflow-y: auto; max-height: ${R[3]}px`)&&d(c,"style",m),M[0]&1024&&I(c,"dropdown-active",R[10]),M[0]&64&&d(e,"data-testid",R[6])},i:k,o:k,d(R){R&&E(e),y&&y.d();for(let M=0;M<h.length;M+=1)h[M].d();i[21](null),i[22](null),b=!1,w()}}}const Kr=300;function Vr(i,e,t){let r,{name:o}=e,{value:n}=e,{leadingicon:a}=e,{maxheight:l=Kr}=e,{placeholder:s=""}=e,{disabled:c}=e,{error:u}=e,{testid:f}=e,{width:h}=e,p=[],m="",b=!1,w=0,y=0,z,A,R,M;ne(async()=>{A.addEventListener("focus",B,!0),A.addEventListener("blur",qi,!0),L()}),Oe(()=>{A.removeEventListener("focus",B,!0),A.removeEventListener("blur",qi,!0),Ue(o)});function L(){M=Ve(o),M.subscribe(S=>{switch(S==null?void 0:S.type){case qt:{const ue=S,Be=n===ue.value;t(8,p=[...p,Object.assign(Object.assign({},ue),{selected:Be})]),Be&&t(9,m=ue.label),!h&&y<ue.label.length&&(y=ue.label.length,t(12,z=`${Math.max(20,y+12)}ch`)),V();break}}})}async function H(){c||b||(t(10,b=!0),await nt(),R.addEventListener("blur",G),R.focus(),R.addEventListener("keydown",Ki),R.addEventListener("mouseover",Vi))}function G(){R.removeEventListener("blur",G),R.removeEventListener("keydown",Ki),R.removeEventListener("mouseover",Vi),V(),t(10,b=!1)}function V(){t(11,w=p.findIndex(S=>S.value===n))}function X(S,ue,Be){t(9,m=Be),t(0,n=ue),G(),A.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:S,value:n}}))}const J=S=>{switch(S.key){case" ":H(),S.preventDefault();break}};function B(){A.addEventListener("keydown",J)}function qi(){A.removeEventListener("keydown",J)}function Ki(S){switch(S.key){case"ArrowUp":w===0?t(11,w=p.length-1):t(11,w--,w),S.preventDefault();break;case"ArrowDown":t(11,w=(w+1)%p.length),S.preventDefault();break;case"Tab":case"Enter":X(o,p[w].value,p[w].label),S.preventDefault();break;case"Escape":G(),S.preventDefault();break}}function Vi(S){t(11,w=Number(S.target.dataset.index))}const Uo=S=>X(S.name,S.value,S.label);function Zo(S){ce[S?"unshift":"push"](()=>{R=S,t(14,R)})}function Yo(S){ce[S?"unshift":"push"](()=>{A=S,t(13,A)})}return i.$$set=S=>{"name"in S&&t(1,o=S.name),"value"in S&&t(0,n=S.value),"leadingicon"in S&&t(2,a=S.leadingicon),"maxheight"in S&&t(3,l=S.maxheight),"placeholder"in S&&t(4,s=S.placeholder),"disabled"in S&&t(5,c=S.disabled),"error"in S&&t(19,u=S.error),"testid"in S&&t(6,f=S.testid),"width"in S&&t(7,h=S.width)},i.$$.update=()=>{i.$$.dirty[0]&524288&&t(15,r=u?"true":"false")},[n,o,a,l,s,c,f,h,p,m,b,w,z,A,R,r,H,G,X,u,Uo,Zo,Yo]}class Zt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:unset}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Vr,qr,N,{name:1,value:0,leadingicon:2,maxheight:3,placeholder:4,disabled:5,error:19,testid:6,width:7},null,[-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","disabled","error","testid","width"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[7]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-dropdown",Zt);function Ur(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function Zr(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return ne(async()=>{a=await Se(r),a.notify({type:qt,name:r,label:n,value:o})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,o=l.value),"label"in l&&t(2,n=l.label)},[r,o,n]}class Yt extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Zr,Ur,N,{name:0,value:1,label:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),g()}}customElements.define("goa-dropdown-item",Yt);function Yr(i){let e,t;return{c(){e=_("div"),t=_("slot"),this.c=k,d(e,"class","goa-flex-row"),K(e,"gap",i[0])},m(r,o){x(r,e,o),v(e,t)},p(r,[o]){o&1&&K(e,"gap",r[0])},i:k,o:k,d(r){r&&E(e)}}}function Xr(i,e,t){let r,{gap:o=""}=e;return i.$$set=n=>{"gap"in n&&t(1,o=n.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Xt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:block}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xr,Yr,N,{gap:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),g()}}customElements.define("goa-flex-row",Xt);function Jt(i){let e,t,r,o=i[3]&&Qt();return{c(){e=_("label"),t=F(i[0]),r=T(),o&&o.c(),d(e,"for","")},m(n,a){x(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&1&&W(t,n[0]),n[3]?o||(o=Qt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&E(e),o&&o.d()}}}function Qt(i){let e;return{c(){e=_("em"),e.textContent="(optional)"},m(t,r){x(t,e,r)},d(t){t&&E(e)}}}function $t(i){let e,t;return{c(){e=_("div"),t=F(i[2]),d(e,"class","error-msg")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&4&&W(t,r[2])},d(r){r&&E(e)}}}function ei(i){let e,t;return{c(){e=_("div"),t=F(i[1]),d(e,"class","help-msg")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function Jr(i){let e,t,r,o,n,a=i[0]&&Jt(i),l=i[2]&&$t(i),s=i[1]&&ei(i);return{c(){e=_("div"),a&&a.c(),t=T(),r=_("div"),r.innerHTML="<slot></slot>",o=T(),l&&l.c(),n=T(),s&&s.c(),this.c=k,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){x(c,e,u),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Jt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=$t(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=ei(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:k,o:k,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Qr(i,e,t){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:l}=e;return i.$$set=s=>{"label"in s&&t(0,o=s.label),"helptext"in s&&t(1,n=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=q(l))},[o,n,a,r,l]}class ti 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Qr,Jr,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),g()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),g()}}customElements.define("goa-form-item",ti);function $r(i){let e,t,r,o,n,a,l,s;return{c(){e=_("div"),t=_("goa-page-block"),r=_("h1"),o=F(i[0]),n=T(),a=_("div"),a.innerHTML="<slot></slot>",l=T(),s=_("slot"),this.c=k,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),K(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]+")"),K(e,"background-size","cover"),K(e,"background-position","center"),K(e,"background-repeat","no-repeat")},m(c,u){x(c,e,u),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[u]){u&1&&W(o,c[0]),u&2&&K(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:k,o:k,d(c){c&&E(e)}}}function eo(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class ii 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},eo,$r,N,{title:0,backgroundurl:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}}customElements.define("goa-hero-banner",ii);function ri(i){let e,t;return{c(){e=_("ion-icon"),K(e,"width","100%"),K(e,"height","100%"),C(e,"name",t=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(r,o){x(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function to(i){let e,t,r,o=i[0]&&ri(i);return{c(){e=_("div"),o&&o.c(),this.c=k,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`
|
|
7
|
-
--size: ${i[
|
|
4
|
+
}`,f=`__svelte_${er(u)}_${l}`,b=et(i);Pe.add(b);const _=b.__svelte_stylesheet||(b.__svelte_stylesheet=Xi(i).sheet),h=b.__svelte_rules||(b.__svelte_rules={});h[f]||(h[f]=!0,_.insertRule(`@keyframes ${f} ${u}`,_.cssRules.length));const m=i.style.animation||"";return i.style.animation=`${m?`${m}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Me+=1,f}function Re(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Me-=o,Me||tr())}function tr(){je(()=>{Me||(Pe.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),Pe.clear())})}let _e;function ye(i){_e=i}function tt(){if(!_e)throw new Error("Function called outside component initialization");return _e}function ne(i){tt().$$.on_mount.push(i)}function Oe(i){tt().$$.on_destroy.push(i)}const pe=[],ce=[],Te=[],it=[],rt=Promise.resolve();let Fe=!1;function ot(){Fe||(Fe=!0,rt.then(g))}function nt(){return ot(),rt}function ee(i){Te.push(i)}const We=new Set;let He=0;function g(){const i=_e;do{for(;He<pe.length;){const e=pe[He];He++,ye(e),ir(e.$$)}for(ye(null),pe.length=0,He=0;ce.length;)ce.pop()();for(let e=0;e<Te.length;e+=1){const t=Te[e];We.has(t)||(We.add(t),t())}Te.length=0}while(pe.length);for(;it.length;)it.pop()();Fe=!1,We.clear(),ye(i)}function ir(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ee)}}let we;function qe(){return we||(we=Promise.resolve(),we.then(()=>{we=null})),we}function de(i,e,t){i.dispatchEvent($i(`${e?"intro":"outro"}${t}`))}const Ie=new Set;let te;function ke(){te={r:0,c:[],p:te}}function xe(){te.r||Q(te.c),te=te.p}function U(i,e){i&&i.i&&(Ie.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Ie.has(i))return;Ie.add(i),te.c.push(()=>{Ie.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Ke={duration:0};function at(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&Re(i,n)}function c(){const{delay:f=0,duration:b=300,easing:_=ve,tick:h=k,css:m}=r||Ke;m&&(n=Le(i,0,1,b,f,_,m,l++)),h(0,1);const w=Ce()+f,p=w+b;a&&a.abort(),o=!0,ee(()=>de(i,!0,"start")),a=Ae(z=>{if(o){if(z>=p)return h(1,0),de(i,!0,"end"),s(),o=!1;if(z>=w){const A=_((z-w)/b);h(A,1-A)}}return o})}let u=!1;return{start(){u||(u=!0,Re(i),le(r)?(r=r(),qe().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function lt(i,e,t){let r=e(i,t),o=!0,n;const a=te;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=ve,tick:f=k,css:b}=r||Ke;b&&(n=Le(i,1,0,c,s,u,b));const _=Ce()+s,h=_+c;ee(()=>de(i,!1,"start")),Ae(m=>{if(o){if(m>=h)return f(0,1),de(i,!1,"end"),--a.r||Q(a.c),!1;if(m>=_){const w=u((m-_)/c);f(1-w,w)}}return o})}return le(r)?qe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Re(i,n),o=!1)}}}function Ge(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&Re(i,s)}function u(b,_){const h=b.b-n;return _*=Math.abs(h),{a:n,b:b.b,d:h,duration:_,start:b.start,end:b.start+_,group:b.group}}function f(b){const{delay:_=0,duration:h=300,easing:m=ve,tick:w=k,css:p}=o||Ke,z={start:Ce()+_,b};b||(z.group=te,te.r+=1),a||l?l=z:(p&&(c(),s=Le(i,n,b,h,_,m,p)),b&&w(0,1),a=u(z,h),ee(()=>de(i,b,"start")),Ae(A=>{if(l&&A>l.start&&(a=u(l,h),l=null,de(i,a.b,"start"),p&&(c(),s=Le(i,n,a.b,a.duration,0,m,o.css))),a){if(A>=a.end)w(n=a.b,1-n),de(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(A>=a.start){const R=A-a.start;n=a.a+a.d*m(R/a.duration),w(n,1-n)}}return!!(a||l)}))}return{run(b){le(o)?qe().then(()=>{o=o(),f(b)}):f(b)},end(){c(),a=l=null}}}function ge(i,e){i.d(1),e.delete(i.key)}function he(i,e,t,r,o,n,a,l,s,c,u,f){let b=i.length,_=n.length,h=b;const m={};for(;h--;)m[i[h].key]=h;const w=[],p=new Map,z=new Map;for(h=_;h--;){const L=f(o,n,h),H=t(L);let G=a.get(H);G?r&&G.p(L,e):(G=c(H,L),G.c()),p.set(H,w[h]=G),H in m&&z.set(H,Math.abs(h-m[H]))}const A=new Set,R=new Set;function M(L){U(L,1),L.m(l,u),a.set(L.key,L),u=L.first,_--}for(;b&&_;){const L=w[_-1],H=i[b-1],G=L.key,V=H.key;L===H?(u=L.first,b--,_--):p.has(V)?!a.has(G)||A.has(G)?M(L):R.has(V)?b--:z.get(G)>z.get(V)?(R.add(G),M(L)):(A.add(V),b--):(s(H,a),b--)}for(;b--;){const L=i[b];p.has(L.key)||s(L,a)}for(;_;)M(w[_-1]);return w}function ae(i){i&&i.c()}function re(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||ee(()=>{const s=n.map(De).filter(le);a?a.push(...s):Q(s),i.$$.on_mount=[]}),l.forEach(ee)}function oe(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function rr(i,e){i.$$.dirty[0]===-1&&(pe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,o,n,a,l=[-1]){const s=_e;ye(i);const c=i.$$={fragment:null,ctx:null,props:n,update:k,not_equal:o,bound:Xe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Xe(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,b,..._)=>{const h=_.length?_[0]:b;return c.ctx&&o(c.ctx[f],c.ctx[f]=h)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](h),u&&rr(i,f)),b}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Qi(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),re(i,e.target,e.anchor,e.customElement),g()}ye(s)}let j;typeof HTMLElement=="function"&&(j=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(De).filter(le);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){oe(this,1),this.$destroy=k}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Ui(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function or(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","page-content")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class st extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,or,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-page-block",st);function nr(i){let e,t,r,o,n,a,l,s,c,u,f,b;return{c(){e=y("div"),t=y("a"),r=y("img"),n=T(),a=y("img"),s=T(),c=y("span"),u=F(i[1]),f=T(),b=y("div"),b.innerHTML="<slot></slot>",this.c=k,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Ne(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),Ne(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(_,h){x(_,e,h),v(e,t),v(t,r),v(t,n),v(t,a),v(t,s),v(t,c),v(c,u),v(e,f),v(e,b)},p(_,[h]){h&2&&W(u,_[1]),h&1&&d(t,"href",_[0]),h&4&&d(e,"data-testid",_[2])},i:k,o:k,d(_){_&&E(e)}}}function ar(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"url"in a&&t(0,r=a.url),"title"in a&&t(1,o=a.title),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class ct extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ar,nr,N,{url:0,title:1,testid:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",ct);const me=[];function dt(i,e=k){let t;const r=new Set;function o(l){if(N(i,l)&&(i=l,t)){const s=!me.length;for(const c of r)c[1](),me.push(c,i);if(s){for(let c=0;c<me.length;c+=2)me[c][0](me[c+1]);me.length=0}}}function n(l){o(l(i))}function a(l,s=k){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||k),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:n,subscribe:a}}const ze={};class lr{constructor(){this.store=dt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Ve(i){const e=new lr;return ze[i]=e,e}async function Se(i){return await ut(i,0)}async function ut(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return ze[i]?ze[i]:(await nt(),ut(i,e+1))}function Ue(i){!ze[i]||delete ze[i]}const ft="meta-link",gt="navigation-link";function ht(i,e,t){const r=i.slice();return r[18]=e[t],r}function mt(i,e,t){const r=i.slice();return r[24]=e[t],r}function bt(i,e,t){const r=i.slice();return r[21]=e[t],r}function vt(i,e,t){const r=i.slice();return r[24]=e[t],r}function _t(i){let e,t,r;function o(l,s){if(l[6].length)return cr;if(l[5].length)return sr}let n=o(i),a=n&&n(i);return{c(){e=y("div"),a&&a.c(),t=T(),r=y("hr"),d(e,"class","navigation-links"),d(r,"class","navigation-links-divider")},m(l,s){x(l,e,s),a&&a.m(e,null),x(l,t,s),x(l,r,s)},p(l,s){n===(n=o(l))&&a?a.p(l,s):(a&&a.d(1),a=n&&n(l),a&&(a.c(),a.m(e,null)))},d(l){l&&E(e),a&&a.d(),l&&E(t),l&&E(r)}}}function sr(i){let e,t=[],r=new Map,o=i[5];const n=a=>a[24].title;for(let a=0;a<o.length;a+=1){let l=mt(i,o,a),s=n(l);r.set(s,t[a]=yt(s,l))}return{c(){e=y("div");for(let a=0;a<t.length;a+=1)t[a].c();d(e,"class","navigation-section-name-less")},m(a,l){x(a,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(a,l){l&32&&(o=a[5],t=he(t,l,n,1,a,o,r,e,ge,yt,null,mt))},d(a){a&&E(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function cr(i){let e=[],t=new Map,r,o=i[6];const n=a=>a[21];for(let a=0;a<o.length;a+=1){let l=bt(i,o,a),s=n(l);t.set(s,e[a]=wt(s,l))}return{c(){for(let a=0;a<e.length;a+=1)e[a].c();r=$()},m(a,l){for(let s=0;s<e.length;s+=1)e[s].m(a,l);x(a,r,l)},p(a,l){l&192&&(o=a[6],e=he(e,l,n,1,a,o,t,r.parentNode,ge,wt,r,bt))},d(a){for(let l=0;l<e.length;l+=1)e[l].d(a);a&&E(r)}}}function yt(i,e){let t,r=e[24].title+"",o,n;return{key:i,first:null,c(){t=y("a"),o=F(r),d(t,"href",n=e[24].url),d(t,"class","navigation-link"),this.first=t},m(a,l){x(a,t,l),v(t,o)},p(a,l){e=a,l&32&&r!==(r=e[24].title+"")&&W(o,r),l&32&&n!==(n=e[24].url)&&d(t,"href",n)},d(a){a&&E(t)}}}function pt(i,e){let t,r=e[24].title+"",o,n;return{key:i,first:null,c(){t=y("a"),o=F(r),d(t,"href",n=e[24].url),d(t,"class","navigation-link"),this.first=t},m(a,l){x(a,t,l),v(t,o)},p(a,l){e=a,l&64&&r!==(r=e[24].title+"")&&W(o,r),l&64&&n!==(n=e[24].url)&&d(t,"href",n)},d(a){a&&E(t)}}}function wt(i,e){let t,r,o=e[21].name+"",n,a,l,s,c,u=[],f=new Map,b,_=e[21].links;const h=m=>m[24].title;for(let m=0;m<_.length;m+=1){let w=vt(e,_,m),p=h(w);f.set(p,u[m]=pt(p,w))}return{key:i,first:null,c(){t=y("section"),r=y("span"),n=F(o),a=T(),l=y("hr"),s=T(),c=y("div");for(let m=0;m<u.length;m+=1)u[m].c();b=T(),d(r,"class","navigation-section-name"),d(l,"class","navigation-section-name-divider"),d(c,"class","navigation-section-links"),I(t,"multi-section-column",e[7].includes(e[21].name)),this.first=t},m(m,w){x(m,t,w),v(t,r),v(r,n),v(t,a),v(t,l),v(t,s),v(t,c);for(let p=0;p<u.length;p+=1)u[p].m(c,null);v(t,b)},p(m,w){e=m,w&64&&o!==(o=e[21].name+"")&&W(n,o),w&64&&(_=e[21].links,u=he(u,w,h,1,e,_,f,c,ge,pt,null,vt)),w&192&&I(t,"multi-section-column",e[7].includes(e[21].name))},d(m){m&&E(t);for(let w=0;w<u.length;w+=1)u[w].d()}}}function kt(i){let e,t=[],r=new Map,o=i[4];const n=a=>a[18].title;for(let a=0;a<o.length;a+=1){let l=ht(i,o,a),s=n(l);r.set(s,t[a]=xt(s,l))}return{c(){e=y("div");for(let a=0;a<t.length;a+=1)t[a].c();d(e,"class","meta-links")},m(a,l){x(a,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(a,l){l&16&&(o=a[4],t=he(t,l,n,1,a,o,r,e,ge,xt,null,ht))},d(a){a&&E(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function xt(i,e){let t,r=e[18].title+"",o,n;return{key:i,first:null,c(){t=y("a"),o=F(r),d(t,"href",n=e[18].url),d(t,"class","meta-link"),this.first=t},m(a,l){x(a,t,l),v(t,o)},p(a,l){e=a,l&16&&r!==(r=e[18].title+"")&&W(o,r),l&16&&n!==(n=e[18].url)&&d(t,"href",n)},d(a){a&&E(t)}}}function dr(i){let e,t,r,o,n,a,l,s,c,u,f,b,_,h,m,w,p,z,A,R,M=(i[6].length||i[5].length)&&_t(i),L=i[4].length&&kt(i);return{c(){e=y("hr"),t=T(),r=y("div"),o=y("center"),n=y("div"),a=y("slot"),l=T(),M&&M.c(),s=T(),c=y("div"),L&&L.c(),u=T(),f=y("div"),b=y("a"),_=F("\xA9 "),h=F(i[3]),m=T(),w=y("a"),p=y("img"),A=T(),R=y("div"),this.c=k,d(e,"class","top-grey-bar"),d(b,"href",i[0]),d(b,"class","goa-copyright"),d(p,"alt","GoA Logo"),d(p,"class","logo"),Ne(p.src,z="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")||d(p,"src",z),d(w,"href",i[1]),d(w,"title",i[2]),d(f,"class","logo-and-copyright"),I(f,"logo-and-copyright-with-links",i[4].length||i[5].length||i[6].length),I(c,"meta-links-logo-and-copyright",i[4].length),d(n,"class","footer"),I(n,"default-footer",i[13]),I(n,"meta-links-only-footer",i[12]),I(n,"navigation-links-only-footer",i[11]),I(n,"navigation-sections-only-footer",i[10]),I(n,"meta-and-navigation-links-only-footer",i[9]),I(n,"meta-and-navigation-sections-only-footer",i[8]),d(r,"class","app-footer-container"),d(R,"class","brand")},m(H,G){x(H,e,G),x(H,t,G),x(H,r,G),v(r,o),v(o,n),v(n,a),v(n,l),M&&M.m(n,null),v(n,s),v(n,c),L&&L.m(c,null),v(c,u),v(c,f),v(f,b),v(b,_),v(b,h),v(f,m),v(f,w),v(w,p),x(H,A,G),x(H,R,G)},p(H,[G]){H[6].length||H[5].length?M?M.p(H,G):(M=_t(H),M.c(),M.m(n,s)):M&&(M.d(1),M=null),H[4].length?L?L.p(H,G):(L=kt(H),L.c(),L.m(c,u)):L&&(L.d(1),L=null),G&8&&W(h,H[3]),G&1&&d(b,"href",H[0]),G&2&&d(w,"href",H[1]),G&4&&d(w,"title",H[2]),G&112&&I(f,"logo-and-copyright-with-links",H[4].length||H[5].length||H[6].length),G&16&&I(c,"meta-links-logo-and-copyright",H[4].length),G&8192&&I(n,"default-footer",H[13]),G&4096&&I(n,"meta-links-only-footer",H[12]),G&2048&&I(n,"navigation-links-only-footer",H[11]),G&1024&&I(n,"navigation-sections-only-footer",H[10]),G&512&&I(n,"meta-and-navigation-links-only-footer",H[9]),G&256&&I(n,"meta-and-navigation-sections-only-footer",H[8])},i:k,o:k,d(H){H&&E(e),H&&E(t),H&&E(r),M&&M.d(),L&&L.d(),H&&E(A),H&&E(R)}}}function ur(i,e,t){let r,o,n,a,l,s,{id:c="goa-app-footer-id"}=e,{multicolumnsectionnames:u=""}=e,{copyrighturl:f="#"}=e,{appurl:b="#"}=e,{title:_=""}=e,{copyrighttext:h="2021 Government of Alberta"}=e,m,w=[],p=[],z=[],A=[];function R(M){let L=z.filter(G=>G.name!==M.section),H=z.find(G=>G.name===M.section);H?t(6,z=[...L,{name:M.section,links:[...H.links,{title:M.title,url:M.url}]}]):t(6,z=[...L,{name:M.section,links:[{title:M.title,url:M.url}]}])}return ne(async()=>{m=Ve(c),m.subscribe(M=>{switch(M==null?void 0:M.type){case ft:{const L=M;t(4,w=[...w,{title:L.title,url:L.url}]);break}case gt:{const L=M;L.section?R(L):t(5,p=[...p,{title:L.title,url:L.url}]);break}}})}),Oe(()=>{Ue(c)}),i.$$set=M=>{"id"in M&&t(14,c=M.id),"multicolumnsectionnames"in M&&t(15,u=M.multicolumnsectionnames),"copyrighturl"in M&&t(0,f=M.copyrighturl),"appurl"in M&&t(1,b=M.appurl),"title"in M&&t(2,_=M.title),"copyrighttext"in M&&t(3,h=M.copyrighttext)},i.$$.update=()=>{i.$$.dirty&112&&t(13,r=!w.length&&!p.length&&!z.length),i.$$.dirty&112&&t(12,o=w.length&&!p.length&&!z.length),i.$$.dirty&112&&t(11,n=!w.length&&p.length&&!z.length),i.$$.dirty&112&&t(10,a=!w.length&&!p.length&&z.length),i.$$.dirty&112&&t(9,l=w.length&&p.length&&!z.length),i.$$.dirty&112&&t(8,s=w.length&&!p.length&&z.length),i.$$.dirty&32768&&t(7,A=u.split(",").map(M=>M.trim()))},[f,b,_,h,w,p,z,A,s,l,a,n,o,r,c,u]}class zt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.top-grey-bar{border-top:2px solid var(--color-gray-200);margin:0}.footer{max-width:60rem}.brand{height:1rem;background-color:var(--goa-color-brand)}.meta-links-logo-and-copyright{display:flex;flex-wrap:wrap;justify-content:space-between}.logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.logo-and-copyright-with-links{align-items:flex-end;flex-direction:column-reverse}.meta-link{margin-top:3.5em;margin-right:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base)}.logo{height:2.56rem;width:8.88rem}.app-footer-container{background-color:var(--color-gray-100)}.navigation-sections-only-footer .navigation-links,.meta-and-navigation-sections-only-footer .navigation-links{padding-top:1.75rem}.navigation-links{flex-direction:row;justify-content:flex-start;text-align:start;column-gap:1.75rem;display:flex;flex-direction:unset}.navigation-links section{flex-grow:1}.navigation-links section.multi-section-column{flex-grow:2}.multi-section-column .navigation-section-links{column-count:2}.meta-links{text-align:start;display:flex;flex-flow:wrap}.navigation-section-name-less{column-gap:1.75rem;width:100%;column-count:3}.navigation-section-name{font-size:var(--fs-xl);line-height:var(--lh-lg);font-weight:var(--fw-regular);margin-bottom:1.75rem;margin-top:1.75rem}.navigation-section-name-divider{margin-top:1.75rem;margin-bottom:0}.navigation-link{padding-top:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base);display:block}.default-footer .logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.meta-links-only-footer{padding-top:1.19em;padding-bottom:3.5em}.navigation-links-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer,.navigation-sections-only-footer{padding-top:1.75rem;padding-bottom:3.5em}.meta-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-sections-only-footer .meta-link{margin-top:3.53rem;margin-right:1.75rem;color:var(--goa-color-text)}.default-footer .logo{margin-top:3.5rem;margin-bottom:3.5rem;display:block}.navigation-links-only-footer .logo,.meta-and-navigation-links-only-footer .logo,.meta-links-only-footer .logo{margin-top:1.75rem;margin-bottom:1.75rem}.navigation-sections-only-footer .logo,.meta-and-navigation-sections-only-footer .logo{margin-top:2.93rem;margin-bottom:1.75rem}.goa-copyright{margin-top:0;margin-bottom:0;font-size:var(--fs-base);color:var(--goa-color-text-secondary)}.navigation-links-divider{margin-top:1.75rem;margin-bottom:0}@media(max-width: 1024px){.logo{margin-top:2.125rem;margin-bottom:1.5rem}}@media(max-width: 992px){.app-footer-container{padding-left:1rem;padding-right:1rem}}@media(max-width: 640px){.logo-and-copyright{align-items:flex-start;flex-direction:column-reverse}.meta-links,.logo-and-copyright{flex:100%}.logo{width:7.8rem;height:2.25rem;margin-top:0;margin-bottom:0}.goa-copyright{font-size:var(--fs-sm)}.navigation-section-name{font-size:var(--fs-base);line-height:var(--lh-base);font-weight:var(--fw-bold);margin-bottom:1rem;margin-top:1.5rem}.navigation-link{padding-top:1.5rem;font-size:var(--fs-sm)}.meta-links-only-footer .meta-link,.meta-and-navigation-links-only-footer .meta-link,.meta-and-navigation-sections-only-footer .meta-link{margin-top:1.5rem;margin-right:1.25rem;margin-bottom:0;font-size:var(--fs-sm)}.default-footer,.meta-links-only-footer,.navigation-links-only-footer,.navigation-sections-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0.75rem;padding-bottom:2.25rem}.navigation-sections-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0}.navigation-links-divider{margin-top:1.5rem;margin-bottom:0}.default-footer .logo{margin-top:1.5rem;margin-bottom:1.5rem}.default-footer .logo-and-copyright{align-items:flex-start}.navigation-links{flex-direction:column}.navigation-links section{margin-top:2.25rem}.navigation-section-name-divider{margin-top:1rem;margin-bottom:0}}@media(max-width: 960px){.navigation-section-name-less{column-count:2}.navigation-links section.multi-section-column{flex-grow:1}.multi-section-column .navigation-section-links{column-count:1}}@media(max-width: 640px){.navigation-section-name-less{column-count:1}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ur,dr,N,{id:14,multicolumnsectionnames:15,copyrighturl:0,appurl:1,title:2,copyrighttext:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["id","multicolumnsectionnames","copyrighturl","appurl","title","copyrighttext"]}get id(){return this.$$.ctx[14]}set id(e){this.$$set({id:e}),g()}get multicolumnsectionnames(){return this.$$.ctx[15]}set multicolumnsectionnames(e){this.$$set({multicolumnsectionnames:e}),g()}get copyrighturl(){return this.$$.ctx[0]}set copyrighturl(e){this.$$set({copyrighturl:e}),g()}get appurl(){return this.$$.ctx[1]}set appurl(e){this.$$set({appurl:e}),g()}get title(){return this.$$.ctx[2]}set title(e){this.$$set({title:e}),g()}get copyrighttext(){return this.$$.ctx[3]}set copyrighttext(e){this.$$set({copyrighttext:e}),g()}}customElements.define("goa-app-footer",zt);function fr(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function gr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:n=""}=e,a;return ne(async()=>{a=await Se(r),a.notify({type:ft,url:n,title:o})}),i.$$set=l=>{"footerid"in l&&t(0,r=l.footerid),"title"in l&&t(1,o=l.title),"url"in l&&t(2,n=l.url)},[r,o,n]}class Et extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},gr,fr,N,{footerid:0,title:1,url:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}}customElements.define("goa-meta-link",Et);function hr(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function mr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:n=""}=e,{section:a=""}=e,l;return ne(async()=>{l=await Se(r),l.notify({type:gt,url:n,title:o,section:a})}),i.$$set=s=>{"footerid"in s&&t(0,r=s.footerid),"title"in s&&t(1,o=s.title),"url"in s&&t(2,n=s.url),"section"in s&&t(3,a=s.section)},[r,o,n,a]}class Ct extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},mr,hr,N,{footerid:0,title:1,url:2,section:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url","section"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}get section(){return this.$$.ctx[3]}set section(e){this.$$set({section:e}),g()}}customElements.define("goa-navigation-link",Ct);function q(i){return i==="false"?!1:i===""?!0:!!i}function br(i){let e;return{c(){e=y("div"),K(e,"height","1.2rem"),K(e,"margin-left","-0.25rem")},m(t,r){x(t,e,r)},p:k,d(t){t&&E(e)}}}function vr(i){let e;return{c(){e=y("goa-icon"),C(e,"type",i[3]),C(e,"size","small")},m(t,r){x(t,e,r)},p(t,r){r&8&&C(e,"type",t[3])},d(t){t&&E(e)}}}function At(i){let e,t;return{c(){e=y("div"),t=F(i[2]),d(e,"class","goa-badge-content")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&4&&W(t,r[2])},d(r){r&&E(e)}}}function _r(i){let e,t,r;function o(s,c){return s[4]?vr:br}let n=o(i),a=n(i),l=i[2]&&At(i);return{c(){e=y("div"),a.c(),t=T(),l&&l.c(),this.c=k,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),I(e,"icon-only",i[4]&&!i[2])},m(s,c){x(s,e,c),a.m(e,null),v(e,t),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=At(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&I(e,"icon-only",s[4]&&!s[2])},i:k,o:k,d(s){s&&E(e),a.d(),l&&l.d()}}}function yr(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=q(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class Mt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yr,_r,N,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-badge",Mt);function pr(i){let e,t,r,o,n=i[4]&&Lt(i),a=i[5]&&Rt(i);return{c(){n&&n.c(),e=T(),t=y("slot"),r=T(),a&&a.c(),o=$()},m(l,s){n&&n.m(l,s),x(l,e,s),x(l,t,s),x(l,r,s),a&&a.m(l,s),x(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=Lt(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=Rt(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(o)}}}function wr(i){let e,t,r;return{c(){e=y("slot"),t=T(),r=y("goa-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(o,n){x(o,e,n),x(o,t,n),x(o,r,n)},p:k,d(o){o&&E(e),o&&E(t),o&&E(r)}}}function Lt(i){let e;return{c(){e=y("goa-icon"),C(e,"type",i[4]),C(e,"inverted","true")},m(t,r){x(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function Rt(i){let e;return{c(){e=y("goa-icon"),C(e,"type",i[5]),C(e,"inverted","true")},m(t,r){x(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function kr(i){let e,t,r,o;function n(s,c){return s[0]==="start"?wr:pr}let a=n(i),l=a(i);return{c(){e=y("button"),l.c(),this.c=k,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[7],d(e,"data-testid",i[6])},m(s,c){x(s,e,c),l.m(e,null),r||(o=Z(e,"click",xr),r=!0)},p(s,[c]){a===(a=n(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",t),c&8&&d(e,"title",s[3]),c&128&&(e.disabled=s[7]),c&64&&d(e,"data-testid",s[6])},i:k,o:k,d(s){s&&E(e),l.d(),r=!1,o()}}}function xr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function zr(i,e,t){let r;const o=["primary","secondary","tertiary","start"],n=["","compact"],a=["","danger"];function l(z){return o.includes(z)}function s(z){return n.includes(z)}function c(z){return a.includes(z)}let{type:u="primary"}=e,{size:f=""}=e,{variant:b=""}=e,{title:_=""}=e,{disabled:h="false"}=e,{leadingicon:m=null}=e,{trailingicon:w=null}=e,{testid:p=""}=e;return ne(()=>{if(!l(u))throw"Invalid button type";if(!s(f))throw"Invalid button size";if(!c(b))throw"Invalid button variant"}),i.$$set=z=>{"type"in z&&t(0,u=z.type),"size"in z&&t(1,f=z.size),"variant"in z&&t(2,b=z.variant),"title"in z&&t(3,_=z.title),"disabled"in z&&t(8,h=z.disabled),"leadingicon"in z&&t(4,m=z.leadingicon),"trailingicon"in z&&t(5,w=z.trailingicon),"testid"in z&&t(6,p=z.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=q(h))},[u,f,b,_,m,w,p,r,h]}class Tt extends j{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;display:flex;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zr,kr,N,{type:0,size:1,variant:2,title:3,disabled:8,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-button",Tt);function Er(i){let e,t;return{c(){e=y("div"),t=y("slot"),this.c=k,K(e,"--alignment","flex-"+i[1]),K(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,o){x(r,e,o),v(e,t)},p(r,[o]){o&2&&K(e,"--alignment","flex-"+r[1]),o&1&&K(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:k,o:k,d(r){r&&E(e)}}}function Cr(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class Ht extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Cr,Er,N,{gap:0,alignment:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),g()}}customElements.define("goa-button-group",Ht);function Ar(i){let e,t,r,o,n,a,l,s,c,u,f;return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),a=T(),l=y("span"),s=y("h3"),c=F(i[1]),u=T(),f=y("slot"),this.c=k,C(r,"type",i[3]),C(r,"inverted",o=i[0]==="important"?"false":"true"),d(t,"class",n="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(b,_){x(b,e,_),v(e,t),v(t,r),v(e,a),v(e,l),v(l,s),v(s,c),v(l,u),v(l,f)},p(b,[_]){_&8&&C(r,"type",b[3]),_&1&&o!==(o=b[0]==="important"?"false":"true")&&C(r,"inverted",o),_&1&&n!==(n="icon "+b[0])&&d(t,"class",n),_&2&&W(c,b[1]),_&4&&d(e,"data-testid",b[2])},i:k,o:k,d(b){b&&E(e)}}}function Mr(i,e,t){let r,{type:o}=e,{title:n}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,n=l.title),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class It extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.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)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.5rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.5rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Mr,Ar,N,{type:0,title:1,testid:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","title","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",It);function Lr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){x(o,e,n),v(e,t)},p(o,[n]){n&4&&d(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&d(e,"style",r)},i:k,o:k,d(o){o&&E(e)}}}function Rr(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,o=a.width),"testId"in a&&t(2,n=a.testId)},[r,o,n]}class Gt extends j{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
+
}}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Rr,Lr,N,{elevation:0,width:1,testId:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",Gt);function Tr(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=k},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class St extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Tr,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-actions",St);function Hr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","card-content")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class Bt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Hr,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-content",Bt);function Ir(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","card-group")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class Dt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Ir,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-group",Dt);function Gr(i){let e;return{c(){e=y("div"),this.c=k,d(e,"class","card-image"),K(e,"background-image","url("+i[0]+")"),K(e,"height",i[1]),K(e,"background-size","cover"),K(e,"background-position","center")},m(t,r){x(t,e,r)},p(t,[r]){r&1&&K(e,"background-image","url("+t[0]+")"),r&2&&K(e,"height",t[1])},i:k,o:k,d(t){t&&E(e)}}}function Sr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class Nt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Sr,Gr,N,{src:0,height:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",Nt);function Br(i){let e,t;return{c(){e=se("svg"),t=se("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){x(r,e,o),v(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t;return{c(){e=se("svg"),t=se("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){x(r,e,o),v(e,t)},d(r){r&&E(e)}}}function Nr(i){let e,t,r,o,n,a,l,s,c,u,f;function b(m,w){if(m[5])return Dr;if(m[4])return Br}let _=b(i),h=_&&_(i);return{c(){e=y("label"),t=y("div"),r=y("input"),n=T(),h&&h.c(),a=T(),l=y("div"),s=y("slot"),c=F(i[1]),this.c=k,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),I(t,"goa-checkbox--selected",i[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),I(e,"goa-checkbox--disabled",i[7]),I(e,"goa-checkbox--error",i[6])},m(m,w){x(m,e,w),v(e,t),v(t,r),v(t,n),h&&h.m(t,null),v(e,a),v(e,l),v(l,s),v(s,c),u||(f=Z(r,"change",i[9]),u=!0)},p(m,[w]){w&256&&d(r,"id",m[8]),w&8&&d(r,"data-testid",m[3]),w&1&&d(r,"name",m[0]),w&16&&(r.checked=m[4]),w&128&&(r.disabled=m[7]),w&4&&o!==(o=`${m[2]}`)&&(r.value=o),_!==(_=b(m))&&(h&&h.d(1),h=_&&_(m),h&&(h.c(),h.m(t,null))),w&16&&I(t,"goa-checkbox--selected",m[4]),w&2&&W(c,m[1]),w&256&&d(e,"for",m[8]),w&128&&I(e,"goa-checkbox--disabled",m[7]),w&64&&I(e,"goa-checkbox--error",m[6])},i:k,o:k,d(m){m&&E(e),h&&h.d(),u=!1,f()}}}function jr(i,e,t){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:b}=e,{error:_}=e,{testid:h=""}=e;function m(w){const p=!a,z=p?`${u||"checked"}`:"";w.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:p,value:z}}))}return i.$$set=w=>{"name"in w&&t(0,s=w.name),"text"in w&&t(1,c=w.text),"value"in w&&t(2,u=w.value),"checked"in w&&t(10,f=w.checked),"disabled"in w&&t(11,b=w.disabled),"error"in w&&t(12,_=w.error),"testid"in w&&t(3,h=w.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${s}`),i.$$.dirty&2048&&t(7,o=q(b)),i.$$.dirty&4096&&t(6,n=q(_)),i.$$.dirty&1024&&t(4,a=q(f))},t(5,l=!1),[s,c,u,h,a,l,n,o,r,m,f,b,_]}class jt extends j{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},jr,Nr,N,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),g()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",jt);function Pt(i){let e;return{c(){e=y("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){x(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&E(e)}}}function Ot(i){let e,t,r;return{c(){e=y("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),C(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){x(o,e,n)},p(o,n){n&24&&t!==(t=o[4]?"var(--goa-color-status-emergency)":o[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&C(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&C(e,"opacity",r)},d(o){o&&E(e)}}}function Pr(i){let e,t,r,o,n,a,l=i[0]&&Pt(i),s=i[5]&&Ot(i);return{c(){e=y("div"),l&&l.c(),t=T(),r=F(i[1]),o=T(),s&&s.c(),this.c=k,d(e,"data-testid","chip"),d(e,"class","chip"),d(e,"tabindex","0"),I(e,"deletable",i[5]),I(e,"error",i[4])},m(c,u){x(c,e,u),l&&l.m(e,null),v(e,t),v(e,r),v(e,o),s&&s.m(e,null),i[9](e),n||(a=[Z(e,"click",i[10]),Z(e,"mouseover",i[11]),Z(e,"mouseout",i[12]),Z(e,"focus",i[13]),Z(e,"blur",i[14])],n=!0)},p(c,[u]){c[0]?l?l.p(c,u):(l=Pt(c),l.c(),l.m(e,t)):l&&(l.d(1),l=null),u&2&&W(r,c[1]),c[5]?s?s.p(c,u):(s=Ot(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),u&32&&I(e,"deletable",c[5]),u&16&&I(e,"error",c[4])},i:k,o:k,d(c){c&&E(e),l&&l.d(),s&&s.d(),i[9](null),n=!1,Q(a)}}}function Or(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,u;function f(z){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),z.stopPropagation()}function b(z){ce[z?"unshift":"push"](()=>{l=z,t(2,l)})}const _=z=>u&&f(z),h=()=>t(3,s=!0),m=()=>t(3,s=!1),w=()=>t(3,s=!1),p=()=>t(3,s=!1);return i.$$set=z=>{"leadingicon"in z&&t(0,r=z.leadingicon),"error"in z&&t(7,o=z.error),"deletable"in z&&t(8,n=z.deletable),"content"in z&&t(1,a=z.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=q(o)),i.$$.dirty&256&&t(5,u=q(n))},[r,a,l,s,c,u,f,o,n,b,_,h,m,w,p]}class Ft extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Or,Pr,N,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Ft);function Fr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=y("div"),t=y("header"),r=y("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=y("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=y("div"),s.innerHTML="<slot></slot>",this.c=k,d(r,"class","title"),d(n,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(u,f){x(u,e,f),v(e,t),v(t,r),v(t,o),v(t,n),v(e,l),v(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(t,"class",a),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:k,o:k,d(u){u&&E(e)}}}function Wr(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=n=>{"variant"in n&&t(0,r=n.variant),"headingsize"in n&&t(1,o=n.headingsize)},[r,o]}class Wt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Wr,Fr,N,{variant:0,headingsize:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),g()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),g()}}customElements.define("goa-container",Wt);const qt="bind";function Kt(i,e,t){const r=i.slice();return r[32]=e[t],r[34]=t,r}function Vt(i){let e,t,r,o;return{c(){e=y("div"),d(e,"data-testid",t=`${i[1]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){x(n,e,a),r||(o=Z(e,"click",i[17]),r=!0)},p(n,a){a[0]&2&&t!==(t=`${n[1]}-dropdown-background`)&&d(e,"data-testid",t)},d(n){n&&E(e),r=!1,o()}}}function Ut(i,e){let t,r=e[32].label+"",o,n,a,l,s,c,u;function f(){return e[20](e[32])}return{key:i,first:null,c(){t=y("li"),o=F(r),n=T(),d(t,"data-testid",a=`${e[32].value}-dropdown-item`),d(t,"data-index",l=e[34]),d(t,"class","goa-dropdown-option"),d(t,"style",s="display: block"),I(t,"goa-dropdown-option--disabled",!1),I(t,"goa-dropdown-option--tabbed",e[34]===e[11]),I(t,"goa-dropdown-option--selected",e[32].value===e[0]),this.first=t},m(b,_){x(b,t,_),v(t,o),v(t,n),c||(u=Z(t,"click",f),c=!0)},p(b,_){e=b,_[0]&256&&r!==(r=e[32].label+"")&&W(o,r),_[0]&256&&a!==(a=`${e[32].value}-dropdown-item`)&&d(t,"data-testid",a),_[0]&256&&l!==(l=e[34])&&d(t,"data-index",l),_[0]&2304&&I(t,"goa-dropdown-option--tabbed",e[34]===e[11]),_[0]&257&&I(t,"goa-dropdown-option--selected",e[32].value===e[0])},d(b){b&&E(t),c=!1,u()}}}function qr(i){let e,t,r,o,n,a,l,s,c,u,f,b=[],_=new Map,h,m,w,p=i[10]&&Vt(i),z=i[8];const A=R=>R[32].value;for(let R=0;R<z.length;R+=1){let M=Kt(i,z,R),L=A(M);_.set(L,b[R]=Ut(L,M))}return{c(){e=y("div"),p&&p.c(),t=T(),r=y("div"),o=y("goa-input"),s=T(),c=y("ul"),u=y("slot"),f=T();for(let R=0;R<b.length;R+=1)b[R].c();this.c=k,C(o,"error",i[15]),C(o,"disabled",i[5]),C(o,"leadingicon",i[2]),C(o,"placeholder",i[4]),C(o,"width",n=i[7]||i[12]),C(o,"id",a=`${i[1]}-dropdown-input`),C(o,"name","search"),C(o,"readonly",""),C(o,"trailingicon","chevron-down"),C(o,"type","text"),C(o,"value",i[9]),d(r,"data-testid",l=`${i[1]}-dropdown`),d(c,"tabindex","0"),d(c,"class","goa-dropdown-list"),d(c,"style",h=`overflow-y: auto; max-height: ${i[3]}px`),I(c,"dropdown-active",i[10]),d(e,"data-testid",i[6]),d(e,"class","goa-dropdown-box")},m(R,M){x(R,e,M),p&&p.m(e,null),v(e,t),v(e,r),v(r,o),v(e,s),v(e,c),v(c,u),v(c,f);for(let L=0;L<b.length;L+=1)b[L].m(c,null);i[21](c),i[22](e),m||(w=Z(o,"click",i[16]),m=!0)},p(R,M){R[10]?p?p.p(R,M):(p=Vt(R),p.c(),p.m(e,t)):p&&(p.d(1),p=null),M[0]&32768&&C(o,"error",R[15]),M[0]&32&&C(o,"disabled",R[5]),M[0]&4&&C(o,"leadingicon",R[2]),M[0]&16&&C(o,"placeholder",R[4]),M[0]&4224&&n!==(n=R[7]||R[12])&&C(o,"width",n),M[0]&2&&a!==(a=`${R[1]}-dropdown-input`)&&C(o,"id",a),M[0]&512&&C(o,"value",R[9]),M[0]&2&&l!==(l=`${R[1]}-dropdown`)&&d(r,"data-testid",l),M[0]&264449&&(z=R[8],b=he(b,M,A,1,R,z,_,c,ge,Ut,null,Kt)),M[0]&8&&h!==(h=`overflow-y: auto; max-height: ${R[3]}px`)&&d(c,"style",h),M[0]&1024&&I(c,"dropdown-active",R[10]),M[0]&64&&d(e,"data-testid",R[6])},i:k,o:k,d(R){R&&E(e),p&&p.d();for(let M=0;M<b.length;M+=1)b[M].d();i[21](null),i[22](null),m=!1,w()}}}const Kr=300;function Vr(i,e,t){let r,{name:o}=e,{value:n}=e,{leadingicon:a}=e,{maxheight:l=Kr}=e,{placeholder:s=""}=e,{disabled:c}=e,{error:u}=e,{testid:f}=e,{width:b}=e,_=[],h="",m=!1,w=0,p=0,z,A,R,M;ne(async()=>{A.addEventListener("focus",B,!0),A.addEventListener("blur",qi,!0),L()}),Oe(()=>{A.removeEventListener("focus",B,!0),A.removeEventListener("blur",qi,!0),Ue(o)});function L(){M=Ve(o),M.subscribe(S=>{switch(S==null?void 0:S.type){case qt:{const ue=S,Be=n===ue.value;t(8,_=[..._,Object.assign(Object.assign({},ue),{selected:Be})]),Be&&t(9,h=ue.label),!b&&p<ue.label.length&&(p=ue.label.length,t(12,z=`${Math.max(20,p+12)}ch`)),V();break}}})}async function H(){c||m||(t(10,m=!0),await nt(),R.addEventListener("blur",G),R.focus(),R.addEventListener("keydown",Ki),R.addEventListener("mouseover",Vi))}function G(){R.removeEventListener("blur",G),R.removeEventListener("keydown",Ki),R.removeEventListener("mouseover",Vi),V(),t(10,m=!1)}function V(){t(11,w=_.findIndex(S=>S.value===n))}function X(S,ue,Be){t(9,h=Be),t(0,n=ue),G(),A.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:S,value:n}}))}const J=S=>{switch(S.key){case" ":H(),S.preventDefault();break}};function B(){A.addEventListener("keydown",J)}function qi(){A.removeEventListener("keydown",J)}function Ki(S){switch(S.key){case"ArrowUp":w===0?t(11,w=_.length-1):t(11,w--,w),S.preventDefault();break;case"ArrowDown":t(11,w=(w+1)%_.length),S.preventDefault();break;case"Tab":case"Enter":X(o,_[w].value,_[w].label),S.preventDefault();break;case"Escape":G(),S.preventDefault();break}}function Vi(S){t(11,w=Number(S.target.dataset.index))}const Uo=S=>X(S.name,S.value,S.label);function Zo(S){ce[S?"unshift":"push"](()=>{R=S,t(14,R)})}function Yo(S){ce[S?"unshift":"push"](()=>{A=S,t(13,A)})}return i.$$set=S=>{"name"in S&&t(1,o=S.name),"value"in S&&t(0,n=S.value),"leadingicon"in S&&t(2,a=S.leadingicon),"maxheight"in S&&t(3,l=S.maxheight),"placeholder"in S&&t(4,s=S.placeholder),"disabled"in S&&t(5,c=S.disabled),"error"in S&&t(19,u=S.error),"testid"in S&&t(6,f=S.testid),"width"in S&&t(7,b=S.width)},i.$$.update=()=>{i.$$.dirty[0]&524288&&t(15,r=u?"true":"false")},[n,o,a,l,s,c,f,b,_,h,m,w,z,A,R,r,H,G,X,u,Uo,Zo,Yo]}class Zt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:unset}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Vr,qr,N,{name:1,value:0,leadingicon:2,maxheight:3,placeholder:4,disabled:5,error:19,testid:6,width:7},null,[-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","disabled","error","testid","width"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[7]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-dropdown",Zt);function Ur(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function Zr(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return ne(async()=>{a=await Se(r),a.notify({type:qt,name:r,label:n,value:o})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,o=l.value),"label"in l&&t(2,n=l.label)},[r,o,n]}class Yt extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Zr,Ur,N,{name:0,value:1,label:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),g()}}customElements.define("goa-dropdown-item",Yt);function Yr(i){let e,t;return{c(){e=y("div"),t=y("slot"),this.c=k,d(e,"class","goa-flex-row"),K(e,"gap",i[0])},m(r,o){x(r,e,o),v(e,t)},p(r,[o]){o&1&&K(e,"gap",r[0])},i:k,o:k,d(r){r&&E(e)}}}function Xr(i,e,t){let r,{gap:o=""}=e;return i.$$set=n=>{"gap"in n&&t(1,o=n.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Xt extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:block}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Xr,Yr,N,{gap:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),g()}}customElements.define("goa-flex-row",Xt);function Jt(i){let e,t,r,o=i[3]&&Qt();return{c(){e=y("label"),t=F(i[0]),r=T(),o&&o.c(),d(e,"for","")},m(n,a){x(n,e,a),v(e,t),v(e,r),o&&o.m(e,null)},p(n,a){a&1&&W(t,n[0]),n[3]?o||(o=Qt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&E(e),o&&o.d()}}}function Qt(i){let e;return{c(){e=y("em"),e.textContent="(optional)"},m(t,r){x(t,e,r)},d(t){t&&E(e)}}}function $t(i){let e,t;return{c(){e=y("div"),t=F(i[2]),d(e,"class","error-msg")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&4&&W(t,r[2])},d(r){r&&E(e)}}}function ei(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"class","help-msg")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function Jr(i){let e,t,r,o,n,a=i[0]&&Jt(i),l=i[2]&&$t(i),s=i[1]&&ei(i);return{c(){e=y("div"),a&&a.c(),t=T(),r=y("div"),r.innerHTML="<slot></slot>",o=T(),l&&l.c(),n=T(),s&&s.c(),this.c=k,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){x(c,e,u),a&&a.m(e,null),v(e,t),v(e,r),v(e,o),l&&l.m(e,null),v(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Jt(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=$t(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=ei(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:k,o:k,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Qr(i,e,t){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:l}=e;return i.$$set=s=>{"label"in s&&t(0,o=s.label),"helptext"in s&&t(1,n=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=q(l))},[o,n,a,r,l]}class ti 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Qr,Jr,N,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),g()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),g()}}customElements.define("goa-form-item",ti);function $r(i){let e,t,r,o,n,a,l,s;return{c(){e=y("div"),t=y("goa-page-block"),r=y("h1"),o=F(i[0]),n=T(),a=y("div"),a.innerHTML="<slot></slot>",l=T(),s=y("slot"),this.c=k,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),K(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]+")"),K(e,"background-size","cover"),K(e,"background-position","center"),K(e,"background-repeat","no-repeat")},m(c,u){x(c,e,u),v(e,t),v(t,r),v(r,o),v(t,n),v(t,a),v(t,l),v(t,s)},p(c,[u]){u&1&&W(o,c[0]),u&2&&K(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:k,o:k,d(c){c&&E(e)}}}function eo(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=n=>{"title"in n&&t(0,r=n.title),"backgroundurl"in n&&t(1,o=n.backgroundurl)},[r,o]}class ii 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},eo,$r,N,{title:0,backgroundurl:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}}customElements.define("goa-hero-banner",ii);function ri(i){let e,t;return{c(){e=y("ion-icon"),C(e,"name",t=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(r,o){x(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function to(i){let e,t,r,o=i[0]&&ri(i);return{c(){e=y("div"),o&&o.c(),this.c=k,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(e,"style",r=`
|
|
7
|
+
--size: ${i[6]};
|
|
8
8
|
--fill-color: ${i[2]};
|
|
9
9
|
--hover-color: ${i[3]};
|
|
10
10
|
--opacity: ${i[4]};
|
|
11
|
-
`),I(e,"inverted",i[
|
|
12
|
-
--size: ${n[
|
|
11
|
+
`),I(e,"inverted",i[7])},m(n,a){x(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=ri(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&t!==(t=`icon-${n[0]}`)&&d(e,"data-testid",t),a&32&&d(e,"title",n[5]),a&92&&r!==(r=`
|
|
12
|
+
--size: ${n[6]};
|
|
13
13
|
--fill-color: ${n[2]};
|
|
14
14
|
--hover-color: ${n[3]};
|
|
15
15
|
--opacity: ${n[4]};
|
|
16
|
-
`)&&d(e,"style",r),a&
|
|
16
|
+
`)&&d(e,"style",r),a&128&&I(e,"inverted",n[7])},i:k,o:k,d(n){n&&E(e),o&&o.d()}}}function io(i,e,t){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e,{fillcolor:c}=e,{hovercolor:u}=e,{opacity:f=1}=e,{title:b=""}=e;return i.$$set=_=>{"type"in _&&t(0,n=_.type),"size"in _&&t(8,a=_.size),"theme"in _&&t(1,l=_.theme),"inverted"in _&&t(9,s=_.inverted),"fillcolor"in _&&t(2,c=_.fillcolor),"hovercolor"in _&&t(3,u=_.hovercolor),"opacity"in _&&t(4,f=_.opacity),"title"in _&&t(5,b=_.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(s)),i.$$.dirty&256&&t(6,o={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,c,u,f,b,o,r,a,s]}class oi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},io,to,N,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor","opacity","title"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[9]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get opacity(){return this.$$.ctx[4]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[5]}set title(e){this.$$set({title:e}),g()}}customElements.define("goa-icon",oi);function ro(i){let e,t,r,o;return{c(){e=y("button"),t=y("goa-icon"),this.c=k,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]),K(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(n,a){x(n,e,a),v(e,t),r||(o=Z(e,"click",oo),r=!0)},p(n,[a]){a&8&&C(t,"title",n[3]),a&1&&C(t,"type",n[0]),a&2&&C(t,"size",n[1]),a&4&&C(t,"theme",n[2]),a&32&&C(t,"inverted",n[5]),a&64&&K(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:k,o:k,d(n){n&&E(e),r=!1,o()}}}function oo(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function no(i,e,t){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:b=""}=e,{disabled:_}=e,{inverted:h}=e;return i.$$set=m=>{"type"in m&&t(0,l=m.type),"size"in m&&t(1,s=m.size),"theme"in m&&t(2,c=m.theme),"variant"in m&&t(9,u=m.variant),"title"in m&&t(3,f=m.title),"testId"in m&&t(4,b=m.testId),"disabled"in m&&t(10,_=m.disabled),"inverted"in m&&t(11,h=m.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,n=q(h)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${u} ${n?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=q(_)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,b,n,a,o,r,u,_,h]}class ni extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--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}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9);border:none}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},no,ro,N,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}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}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),g()}}customElements.define("goa-icon-button",ni);function ai(i){let e;return{c(){e=y("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),C(e,"type",i[4])},m(t,r){x(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function li(i){let e;return{c(){e=y("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[5])},m(t,r){x(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function si(i){let e,t,r;return{c(){e=y("goa-icon-button"),C(e,"class","goa-input-trailing-icon"),C(e,"disabled",i[12]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"type",i[5]),C(e,"data-testid","trailing-icon-button")},m(o,n){x(o,e,n),t||(r=Z(e,"click",co),t=!0)},p(o,n){n&4096&&C(e,"disabled",o[12]),n&32&&C(e,"type",o[5])},d(o){o&&E(e),t=!1,r()}}}function ci(i){let e;function t(n,a){if(n[9]>0)return lo;if(n[0].length>0)return ao}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=$()},m(n,a){o&&o.m(n,a),x(n,e,a)},p(n,a){r===(r=t(n))&&o?o.p(n,a):(o&&o.d(1),o=r&&r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o&&o.d(n),n&&E(e)}}}function ao(i){let e,t=i[0].length+"",r;return{c(){e=y("div"),r=F(t),d(e,"class","counter")},m(o,n){x(o,e,n),v(e,r)},p(o,n){n&1&&t!==(t=o[0].length+"")&&W(r,t)},d(o){o&&E(e)}}}function lo(i){let e,t=i[0].length+"",r,o=`/${i[9]}`,n;return{c(){e=y("div"),r=F(t),n=F(o),d(e,"class","counter"),I(e,"counter-error",i[0].length>i[9])},m(a,l){x(a,e,l),v(e,r),v(e,n)},p(a,l){l&1&&t!==(t=a[0].length+"")&&W(r,t),l&512&&o!==(o=`/${a[9]}`)&&W(n,o),l&513&&I(e,"counter-error",a[0].length>a[9])},d(a){a&&E(e)}}}function so(i){let e,t,r,o,n,a,l,s,c,u,f,b,_,h=i[4]&&ai(i),m=i[5]&&!i[15]&&li(i),w=i[5]&&i[15]&&si(i),p=i[11]&&ci(i);return{c(){e=y("div"),t=y("div"),h&&h.c(),r=T(),o=y("input"),l=T(),m&&m.c(),s=T(),w&&w.c(),u=T(),p&&p.c(),this.c=k,d(o,"class",n=`input--${i[6]}`),d(o,"style",a=`--search-icon-offset: ${i[5]?"-0.5rem":"0"}`),o.readOnly=i[14],o.disabled=i[12],d(o,"data-testid",i[7]),d(o,"name",i[2]),d(o,"type",i[1]),o.value=i[0],d(o,"placeholder",i[3]),d(t,"class",c=`
|
|
17
17
|
goa-input
|
|
18
18
|
${i[12]?"goa-input--disabled":""}
|
|
19
19
|
variant--${i[6]}
|
|
20
20
|
type--${i[1]}
|
|
21
21
|
`),I(t,"error",i[13]),d(e,"class","container"),d(e,"style",f=`
|
|
22
22
|
--width: ${i[8]};
|
|
23
|
-
`)},m(z,A){x(z,e,A),v(e,t),
|
|
23
|
+
`)},m(z,A){x(z,e,A),v(e,t),h&&h.m(t,null),v(t,r),v(t,o),i[24](o),v(t,l),m&&m.m(t,null),v(t,s),w&&w.m(t,null),v(e,u),p&&p.m(e,null),b||(_=[Z(o,"keyup",i[16]),Z(o,"change",i[16])],b=!0)},p(z,[A]){z[4]?h?h.p(z,A):(h=ai(z),h.c(),h.m(t,r)):h&&(h.d(1),h=null),A&64&&n!==(n=`input--${z[6]}`)&&d(o,"class",n),A&32&&a!==(a=`--search-icon-offset: ${z[5]?"-0.5rem":"0"}`)&&d(o,"style",a),A&16384&&(o.readOnly=z[14]),A&4096&&(o.disabled=z[12]),A&128&&d(o,"data-testid",z[7]),A&4&&d(o,"name",z[2]),A&2&&d(o,"type",z[1]),A&1&&o.value!==z[0]&&(o.value=z[0]),A&8&&d(o,"placeholder",z[3]),z[5]&&!z[15]?m?m.p(z,A):(m=li(z),m.c(),m.m(t,s)):m&&(m.d(1),m=null),z[5]&&z[15]?w?w.p(z,A):(w=si(z),w.c(),w.m(t,null)):w&&(w.d(1),w=null),A&4162&&c!==(c=`
|
|
24
24
|
goa-input
|
|
25
25
|
${z[12]?"goa-input--disabled":""}
|
|
26
26
|
variant--${z[6]}
|
|
27
27
|
type--${z[1]}
|
|
28
|
-
`)&&d(t,"class",c),A&12354&&I(t,"error",z[13]),z[11]?
|
|
28
|
+
`)&&d(t,"class",c),A&12354&&I(t,"error",z[13]),z[11]?p?p.p(z,A):(p=ci(z),p.c(),p.m(e,null)):p&&(p.d(1),p=null),A&256&&f!==(f=`
|
|
29
29
|
--width: ${z[8]};
|
|
30
|
-
`)&&d(e,"style",f)},i:k,o:k,d(z){z&&E(e),
|
|
31
|
-
center center no-repeat}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},uo,so,N,{type:1,name:2,value:0,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:17,handletrailingiconclick:18,focused:19,readonly:20,error:21,testid:7,width:8,showcounter:22,maxcharcount:9},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","showcounter","maxcharcount"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[17]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[18]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[19]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[20]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[21]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),g()}get showcounter(){return this.$$.ctx[22]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[9]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-input",di);function fo(i){const e=i-1;return e*e*e+1}function go(i){return Math.pow(i-1,3)*(1-i)+1}function be(i,{delay:e=0,duration:t=400,easing:r=ve}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function ui(i,{delay:e=0,duration:t=400,easing:r=fo,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,
|
|
30
|
+
`)&&d(e,"style",f)},i:k,o:k,d(z){z&&E(e),h&&h.d(),i[24](null),m&&m.d(),w&&w.d(),p&&p.d(),b=!1,Q(_)}}}function co(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function uo(i,e,t){let r,o,n,a,l,s,{type:c="text"}=e,{name:u=""}=e,{value:f=""}=e,{placeholder:b=""}=e,{leadingicon:_=null}=e,{trailingicon:h=null}=e,{variant:m="goa"}=e,{disabled:w="false"}=e,{handletrailingiconclick:p="false"}=e,{focused:z="false"}=e,{readonly:A="false"}=e,{error:R="false"}=e,{testid:M=""}=e,{width:L="30ch"}=e,{showcounter:H="false"}=e,{maxcharcount:G=0}=e,V;function X(B){B.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:u,value:B.target.value}})),t(0,f=B.target.value)}function J(B){ce[B?"unshift":"push"](()=>{V=B,t(10,V)})}return i.$$set=B=>{"type"in B&&t(1,c=B.type),"name"in B&&t(2,u=B.name),"value"in B&&t(0,f=B.value),"placeholder"in B&&t(3,b=B.placeholder),"leadingicon"in B&&t(4,_=B.leadingicon),"trailingicon"in B&&t(5,h=B.trailingicon),"variant"in B&&t(6,m=B.variant),"disabled"in B&&t(17,w=B.disabled),"handletrailingiconclick"in B&&t(18,p=B.handletrailingiconclick),"focused"in B&&t(19,z=B.focused),"readonly"in B&&t(20,A=B.readonly),"error"in B&&t(21,R=B.error),"testid"in B&&t(7,M=B.testid),"width"in B&&t(8,L=B.width),"showcounter"in B&&t(22,H=B.showcounter),"maxcharcount"in B&&t(9,G=B.maxcharcount)},i.$$.update=()=>{i.$$.dirty&262144&&t(15,r=q(p)),i.$$.dirty&524288&&t(23,o=q(z)),i.$$.dirty&1048576&&t(14,n=q(A)),i.$$.dirty&2097152&&t(13,a=q(R)),i.$$.dirty&131072&&t(12,l=q(w)),i.$$.dirty&4194304&&t(11,s=q(H)),i.$$.dirty&8389632&&o&&V&&setTimeout(()=>V.focus(),1),i.$$.dirty&1026&&V&&c==="search"&&V.addEventListener("search",B=>{X(B)})},[f,c,u,b,_,h,m,M,L,G,V,s,l,a,n,r,X,w,p,z,A,R,H,o,J]}class di extends j{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-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);background:white;display:inline-flex;align-items:center;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)}@media(min-width: 640px){.goa-input{min-width:0;width:var(--width)}}.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{display:flex;align-items:center;margin-left:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center;margin-right:0.5rem}.goa-input-trailing-icon>.goa-icon-button{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[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}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}.counter{position:absolute;padding-top:0.25rem;right:0;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)}.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>')
|
|
31
|
+
center center no-repeat}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},uo,so,N,{type:1,name:2,value:0,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:17,handletrailingiconclick:18,focused:19,readonly:20,error:21,testid:7,width:8,showcounter:22,maxcharcount:9},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","showcounter","maxcharcount"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[17]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[18]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[19]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[20]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[21]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),g()}get showcounter(){return this.$$.ctx[22]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[9]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-input",di);function fo(i){const e=i-1;return e*e*e+1}function go(i){return Math.pow(i-1,3)*(1-i)+1}function be(i,{delay:e=0,duration:t=400,easing:r=ve}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*o}`}}function ui(i,{delay:e=0,duration:t=400,easing:r=fo,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,b)=>`
|
|
32
32
|
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*n}px);
|
|
33
|
-
opacity: ${s-u*h}`}}function fi(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function gi(i){let e,t,r,o,n,a,l,s,c,u,f,h,p,m,b,w,y,z,A,R,M=i[0]&&hi(i),L=i[4]&&mi(i);function H(X,J){return X[6]?mo:ho}let G=H(i),V=G(i);return{c(){e=_("div"),t=_("div"),r=T(),o=_("div"),M&&M.c(),n=T(),L&&L.c(),a=T(),l=_("div"),V.c(),s=T(),c=_("slot"),u=T(),f=_("div"),f.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",m="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(X,J){x(X,e,J),v(e,t),v(e,r),v(e,o),M&&M.m(o,null),v(o,n),L&&L.m(o,null),v(o,a),v(o,l),V.m(l,null),v(l,s),v(l,c),v(o,u),v(o,f),z=!0,A||(R=[Z(t,"click",i[7]),Je(b=fi.call(null,e,{enable:i[2]}))],A=!0)},p(X,J){i=X,i[0]?M?M.p(i,J):(M=hi(i),M.c(),M.m(o,n)):M&&(M.d(1),M=null),i[4]?L?L.p(i,J):(L=mi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),G!==(G=H(i))&&(V.d(1),V=G(i),V&&(V.c(),V.m(l,s))),(!z||J&10&&m!==(m="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";"))&&d(e,"style",m),b&&le(b.update)&&J&4&&b.update.call(null,{enable:i[2]})},i(X){z||(ee(()=>{p&&p.end(1),h=at(o,ui,{duration:i[5],y:200}),h.start()}),ee(()=>{y&&y.end(1),w=at(e,be,{duration:i[5]}),w.start()}),z=!0)},o(X){h&&h.invalidate(),p=lt(o,ui,{delay:i[5],duration:i[5],y:-100}),w&&w.invalidate(),y=lt(e,be,{delay:i[5],duration:i[5]}),z=!1},d(X){X&&E(e),M&&M.d(),L&&L.d(),V.d(),X&&p&&p.end(),X&&y&&y.end(),A=!1,Q(R)}}}function hi(i){let e,t;return{c(){e=_("div"),t=F(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&1&&W(t,r[0])},d(r){r&&E(e)}}}function mi(i){let e,t,r,o;return{c(){e=_("div"),t=_("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"type","close"),d(e,"class","modal-close")},m(n,a){x(n,e,a),v(e,t),r||(o=Z(t,"click",i[7]),r=!0)},p:k,d(n){n&&E(e),r=!1,o()}}}function ho(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",K(e,"margin","1.75rem")},m(t,r){x(t,e,r)},d(t){t&&E(e)}}}function mo(i){let e;return{c(){e=_("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){x(t,e,r)},d(t){t&&E(e)}}}function bo(i){let e,t,r=i[2]&&gi(i);return{c(){r&&r.c(),e=$(),this.c=k},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&U(r,1)):(r=gi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function vo(i,e,t){let r,o,n,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:u}=e,{transition:f}=e,{width:h}=e,p=0;function m(b){!r||(b.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),b.stopPropagation())}return i.$$set=b=>{"heading"in b&&t(0,l=b.heading),"closable"in b&&t(8,s=b.closable),"scrollable"in b&&t(9,c=b.scrollable),"open"in b&&t(10,u=b.open),"transition"in b&&t(11,f=b.transition),"width"in b&&t(1,h=b.width)},i.$$.update=()=>{i.$$.dirty&256&&t(4,r=q(s)),i.$$.dirty&512&&t(6,o=q(c)),i.$$.dirty&1024&&t(2,n=q(u)),i.$$.dirty&4&&n&&t(3,p=window.pageYOffset),i.$$.dirty&2048&&t(5,a=f==="none"?0:f==="slow"?400:200)},[l,h,n,p,r,a,o,m,s,c,u,f]}class bi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left: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}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vo,bo,N,{heading:0,closable:8,scrollable:9,open:10,transition:11,width:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[8]}set closable(e){this.$$set({closable:e}),g()}get scrollable(){return this.$$.ctx[9]}set scrollable(e){this.$$set({scrollable:e}),g()}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[11]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-modal",bi);function vi(i){let e,t,r,o,n,a,l,s,c,u,f,h,p;return{c(){e=_("div"),t=_("div"),r=_("goa-icon"),o=T(),n=_("div"),n.innerHTML="<slot></slot>",a=T(),l=_("div"),s=_("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),C(s,"type","close"),C(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(m,b){x(m,e,b),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),f=!0,h||(p=Z(s,"click",i[3]),h=!0)},p(m,b){(!f||b&4)&&C(r,"type",m[2]),(!f||b&1&&c!==(c="notification "+m[0]))&&d(e,"class",c)},i(m){f||(ee(()=>{u||(u=Ge(e,be,{},!0)),u.run(1)}),f=!0)},o(m){u||(u=Ge(e,be,{},!1)),u.run(0),f=!1},d(m){m&&E(e),m&&u&&u.end(),h=!1,p()}}}function _o(i){let e,t,r=i[1]&&vi(i);return{c(){r&&r.c(),e=$(),this.c=k},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&U(r,1)):(r=vi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function yo(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class _i extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{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;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yo,_o,N,{type:0},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",_i);function po(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","layout")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class yi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,po,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-page-layout",yi);function pi(i){let e,t,r,o;const n=[ko,wo],a=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=$()},m(s,c){~e&&a[e].m(s,c),x(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(t&&(ke(),Y(a[u],1,1,()=>{a[u]=null}),xe()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),U(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(U(t),o=!0)},o(s){Y(t),o=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function wo(i){let e,t,r,o,n,a=i[1]&&wi(i);return{c(){e=_("div"),t=_("goa-spinner"),o=T(),a&&a.c(),C(t,"type",i[0]),C(t,"size",i[4]),C(t,"progress",r=i[2]||0),d(e,"class",n="spinner-"+i[4]),I(e,"inline",i[5])},m(l,s){x(l,e,s),v(e,t),v(e,o),a&&a.m(e,null)},p(l,s){s&1&&C(t,"type",l[0]),s&16&&C(t,"size",l[4]),s&4&&r!==(r=l[2]||0)&&C(t,"progress",r),l[1]?a?a.p(l,s):(a=wi(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&16&&n!==(n="spinner-"+l[4])&&d(e,"class",n),s&48&&I(e,"inline",l[5])},i:k,o:k,d(l){l&&E(e),a&&a.d()}}}function ko(i){let e,t,r,o,n,a,l,s,c=i[1]&&ki(i);return{c(){e=_("div"),t=_("goa-spinner"),o=T(),c&&c.c(),C(t,"type",i[0]),C(t,"size",i[4]),C(t,"progress",r=i[2]||0),I(e,"fullscreen",i[6])},m(u,f){x(u,e,f),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Je(fi.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&C(t,"type",u[0]),(!a||f&16)&&C(t,"size",u[4]),(!a||f&4&&r!==(r=u[2]||0))&&C(t,"progress",r),u[1]?c?c.p(u,f):(c=ki(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&I(e,"fullscreen",u[6])},i(u){a||(ee(()=>{n||(n=Ge(e,be,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Ge(e,be,{duration:300},!1)),n.run(0),a=!1},d(u){u&&E(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function wi(i){let e,t;return{c(){e=_("div"),t=F(i[1]),d(e,"class","message")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function ki(i){let e,t;return{c(){e=_("div"),t=F(i[1]),d(e,"class","message")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function xo(i){let e,t,r=i[3]&&pi(i);return{c(){r&&r.c(),e=$(),this.c=k},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&U(r,1)):(r=pi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function zo(i,e,t){let r,o,n,a,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:h=0}=e,{visible:p="false"}=e;return i.$$set=m=>{"type"in m&&t(0,s=m.type),"variant"in m&&t(7,c=m.variant),"size"in m&&t(8,u=m.size),"message"in m&&t(1,f=m.message),"progress"in m&&t(2,h=m.progress),"visible"in m&&t(9,p=m.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=q(p)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,n=c==="inline"),i.$$.dirty&256&&t(4,a=u==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,l=s&&r&&u)},[s,f,h,l,a,n,o,c,u,p,r]}class xi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zo,xo,N,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",xi);const zi="bind";function Ei(i,e,t){const r=i.slice();return r[14]=e[t],r}function Ci(i,e){let t,r,o,n,a,l,s,c,u=(e[14].label||e[14].value)+"",f,h,p,m,b;function w(){return e[11](e[14])}return{key:i,first:null,c(){t=_("label"),r=_("input"),a=T(),l=_("div"),s=T(),c=_("span"),f=F(u),h=T(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",p="radio-option-"+e[14].value),d(t,"class","goa-radio"),I(t,"goa-radio--disabled",e[7]),I(t,"goa-radio--error",e[5]),this.first=t},m(y,z){x(y,t,z),v(t,r),v(t,a),v(t,l),v(t,s),v(t,c),v(c,f),v(t,h),m||(b=Z(r,"change",w),m=!0)},p(y,z){e=y,z&2&&d(r,"name",e[1]),z&16&&o!==(o=e[14].value)&&(r.value=o),z&128&&(r.disabled=e[7]),z&17&&n!==(n=e[14].value===e[0])&&(r.checked=n),z&16&&u!==(u=(e[14].label||e[14].value)+"")&&W(f,u),z&16&&p!==(p="radio-option-"+e[14].value)&&d(t,"data-testid",p),z&128&&I(t,"goa-radio--disabled",e[7]),z&32&&I(t,"goa-radio--error",e[5])},d(y){y&&E(t),m=!1,b()}}}function Eo(i){let e,t,r,o=[],n=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=Ei(i,l,c),f=s(u);n.set(f,o[c]=Ci(f,u))}return{c(){e=_("div"),t=_("slot"),r=T();for(let c=0;c<o.length;c+=1)o[c].c();this.c=k,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){x(c,e,u),v(e,t),v(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],o=he(o,u,s,1,c,l,n,e,ge,Ci,null,Ei)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:k,o:k,d(c){c&&E(e);for(let u=0;u<o.length;u+=1)o[u].d();i[12](null)}}}function Co(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,h,p;ne(()=>{h=Ve(o),h.subscribe(y=>{switch(y==null?void 0:y.type){case zi:t(4,u=[...u,y])}})});function m(y){y!==n&&(t(0,n=y),p.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}Oe(()=>{Ue(o)});const b=y=>m(y.value);function w(y){ce[y?"unshift":"push"](()=>{p=y,t(6,p)})}return i.$$set=y=>{"name"in y&&t(1,o=y.name),"value"in y&&t(0,n=y.value),"orientation"in y&&t(2,a=y.orientation),"disabled"in y&&t(9,l=y.disabled),"error"in y&&t(10,s=y.error),"testid"in y&&t(3,c=y.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(l)),i.$$.dirty&1024&&t(5,f=q(s))},[n,o,a,c,u,f,p,r,m,l,s,b,w]}class Ai extends j{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:flex;flex-direction:column}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-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 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 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>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Co,Eo,N,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-radio-group",Ai);function Ao(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function Mo(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a;return ne(async()=>{a=await Se(n),a.notify({type:zi,value:r,label:o})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,o=l.label),"name"in l&&t(2,n=l.name)},[r,o,n]}class Mi extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Mo,Ao,N,{value:0,label:1,name:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}}customElements.define("goa-radio-item",Mi);function Lo(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=k,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
33
|
+
opacity: ${s-u*b}`}}function fi(i,e){function t(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function gi(i){let e,t,r,o,n,a,l,s,c,u,f,b,_,h,m,w,p,z,A,R,M=i[0]&&hi(i),L=i[4]&&mi(i);function H(X,J){return X[6]?mo:ho}let G=H(i),V=G(i);return{c(){e=y("div"),t=y("div"),r=T(),o=y("div"),M&&M.c(),n=T(),L&&L.c(),a=T(),l=y("div"),V.c(),s=T(),c=y("slot"),u=T(),f=y("div"),f.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",h="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(X,J){x(X,e,J),v(e,t),v(e,r),v(e,o),M&&M.m(o,null),v(o,n),L&&L.m(o,null),v(o,a),v(o,l),V.m(l,null),v(l,s),v(l,c),v(o,u),v(o,f),z=!0,A||(R=[Z(t,"click",i[7]),Je(m=fi.call(null,e,{enable:i[2]}))],A=!0)},p(X,J){i=X,i[0]?M?M.p(i,J):(M=hi(i),M.c(),M.m(o,n)):M&&(M.d(1),M=null),i[4]?L?L.p(i,J):(L=mi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),G!==(G=H(i))&&(V.d(1),V=G(i),V&&(V.c(),V.m(l,s))),(!z||J&10&&h!==(h="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";"))&&d(e,"style",h),m&&le(m.update)&&J&4&&m.update.call(null,{enable:i[2]})},i(X){z||(ee(()=>{_&&_.end(1),b=at(o,ui,{duration:i[5],y:200}),b.start()}),ee(()=>{p&&p.end(1),w=at(e,be,{duration:i[5]}),w.start()}),z=!0)},o(X){b&&b.invalidate(),_=lt(o,ui,{delay:i[5],duration:i[5],y:-100}),w&&w.invalidate(),p=lt(e,be,{delay:i[5],duration:i[5]}),z=!1},d(X){X&&E(e),M&&M.d(),L&&L.d(),V.d(),X&&_&&_.end(),X&&p&&p.end(),A=!1,Q(R)}}}function hi(i){let e,t;return{c(){e=y("div"),t=F(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&1&&W(t,r[0])},d(r){r&&E(e)}}}function mi(i){let e,t,r,o;return{c(){e=y("div"),t=y("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"type","close"),d(e,"class","modal-close")},m(n,a){x(n,e,a),v(e,t),r||(o=Z(t,"click",i[7]),r=!0)},p:k,d(n){n&&E(e),r=!1,o()}}}function ho(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",K(e,"margin","1.75rem")},m(t,r){x(t,e,r)},d(t){t&&E(e)}}}function mo(i){let e;return{c(){e=y("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){x(t,e,r)},d(t){t&&E(e)}}}function bo(i){let e,t,r=i[2]&&gi(i);return{c(){r&&r.c(),e=$(),this.c=k},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&U(r,1)):(r=gi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function vo(i,e,t){let r,o,n,a,{heading:l}=e,{closable:s}=e,{scrollable:c}=e,{open:u}=e,{transition:f}=e,{width:b}=e,_=0;function h(m){!r||(m.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),m.stopPropagation())}return i.$$set=m=>{"heading"in m&&t(0,l=m.heading),"closable"in m&&t(8,s=m.closable),"scrollable"in m&&t(9,c=m.scrollable),"open"in m&&t(10,u=m.open),"transition"in m&&t(11,f=m.transition),"width"in m&&t(1,b=m.width)},i.$$.update=()=>{i.$$.dirty&256&&t(4,r=q(s)),i.$$.dirty&512&&t(6,o=q(c)),i.$$.dirty&1024&&t(2,n=q(u)),i.$$.dirty&4&&n&&t(3,_=window.pageYOffset),i.$$.dirty&2048&&t(5,a=f==="none"?0:f==="slow"?400:200)},[l,b,n,_,r,a,o,h,s,c,u,f]}class bi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left: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}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vo,bo,N,{heading:0,closable:8,scrollable:9,open:10,transition:11,width:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","scrollable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[8]}set closable(e){this.$$set({closable:e}),g()}get scrollable(){return this.$$.ctx[9]}set scrollable(e){this.$$set({scrollable:e}),g()}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[11]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-modal",bi);function vi(i){let e,t,r,o,n,a,l,s,c,u,f,b,_;return{c(){e=y("div"),t=y("div"),r=y("goa-icon"),o=T(),n=y("div"),n.innerHTML="<slot></slot>",a=T(),l=y("div"),s=y("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),d(t,"class","icon"),d(n,"class","content"),C(s,"type","close"),C(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(h,m){x(h,e,m),v(e,t),v(t,r),v(e,o),v(e,n),v(e,a),v(e,l),v(l,s),f=!0,b||(_=Z(s,"click",i[3]),b=!0)},p(h,m){(!f||m&4)&&C(r,"type",h[2]),(!f||m&1&&c!==(c="notification "+h[0]))&&d(e,"class",c)},i(h){f||(ee(()=>{u||(u=Ge(e,be,{},!0)),u.run(1)}),f=!0)},o(h){u||(u=Ge(e,be,{},!1)),u.run(0),f=!1},d(h){h&&E(e),h&&u&&u.end(),b=!1,_()}}}function _o(i){let e,t,r=i[1]&&vi(i);return{c(){r&&r.c(),e=$(),this.c=k},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&U(r,1)):(r=vi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function yo(i,e,t){let r,{type:o}=e,n=!0;function a(){t(1,n=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class _i extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{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;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},yo,_o,N,{type:0},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",_i);function po(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=k,d(e,"class","layout")},m(t,r){x(t,e,r)},p:k,i:k,o:k,d(t){t&&E(e)}}}class yi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,po,N,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-page-layout",yi);function pi(i){let e,t,r,o;const n=[ko,wo],a=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(i))&&(t=a[e]=n[e](i)),{c(){t&&t.c(),r=$()},m(s,c){~e&&a[e].m(s,c),x(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(t&&(ke(),Y(a[u],1,1,()=>{a[u]=null}),xe()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),U(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(U(t),o=!0)},o(s){Y(t),o=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function wo(i){let e,t,r,o,n,a=i[1]&&wi(i);return{c(){e=y("div"),t=y("goa-spinner"),o=T(),a&&a.c(),C(t,"type",i[0]),C(t,"size",i[4]),C(t,"progress",r=i[2]||0),d(e,"class",n="spinner-"+i[4]),I(e,"inline",i[5])},m(l,s){x(l,e,s),v(e,t),v(e,o),a&&a.m(e,null)},p(l,s){s&1&&C(t,"type",l[0]),s&16&&C(t,"size",l[4]),s&4&&r!==(r=l[2]||0)&&C(t,"progress",r),l[1]?a?a.p(l,s):(a=wi(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&16&&n!==(n="spinner-"+l[4])&&d(e,"class",n),s&48&&I(e,"inline",l[5])},i:k,o:k,d(l){l&&E(e),a&&a.d()}}}function ko(i){let e,t,r,o,n,a,l,s,c=i[1]&&ki(i);return{c(){e=y("div"),t=y("goa-spinner"),o=T(),c&&c.c(),C(t,"type",i[0]),C(t,"size",i[4]),C(t,"progress",r=i[2]||0),I(e,"fullscreen",i[6])},m(u,f){x(u,e,f),v(e,t),v(e,o),c&&c.m(e,null),a=!0,l||(s=Je(fi.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&C(t,"type",u[0]),(!a||f&16)&&C(t,"size",u[4]),(!a||f&4&&r!==(r=u[2]||0))&&C(t,"progress",r),u[1]?c?c.p(u,f):(c=ki(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&I(e,"fullscreen",u[6])},i(u){a||(ee(()=>{n||(n=Ge(e,be,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Ge(e,be,{duration:300},!1)),n.run(0),a=!1},d(u){u&&E(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function wi(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"class","message")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function ki(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"class","message")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function xo(i){let e,t,r=i[3]&&pi(i);return{c(){r&&r.c(),e=$(),this.c=k},m(o,n){r&&r.m(o,n),x(o,e,n),t=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&U(r,1)):(r=pi(o),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(ke(),Y(r,1,1,()=>{r=null}),xe())},i(o){t||(U(r),t=!0)},o(o){Y(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function zo(i,e,t){let r,o,n,a,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:b=0}=e,{visible:_="false"}=e;return i.$$set=h=>{"type"in h&&t(0,s=h.type),"variant"in h&&t(7,c=h.variant),"size"in h&&t(8,u=h.size),"message"in h&&t(1,f=h.message),"progress"in h&&t(2,b=h.progress),"visible"in h&&t(9,_=h.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=q(_)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,n=c==="inline"),i.$$.dirty&256&&t(4,a=u==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,l=s&&r&&u)},[s,f,b,l,a,n,o,c,u,_,r]}class xi extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},zo,xo,N,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",xi);const zi="bind";function Ei(i,e,t){const r=i.slice();return r[14]=e[t],r}function Ci(i,e){let t,r,o,n,a,l,s,c,u=(e[14].label||e[14].value)+"",f,b,_,h,m;function w(){return e[11](e[14])}return{key:i,first:null,c(){t=y("label"),r=y("input"),a=T(),l=y("div"),s=T(),c=y("span"),f=F(u),b=T(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",_="radio-option-"+e[14].value),d(t,"class","goa-radio"),I(t,"goa-radio--disabled",e[7]),I(t,"goa-radio--error",e[5]),this.first=t},m(p,z){x(p,t,z),v(t,r),v(t,a),v(t,l),v(t,s),v(t,c),v(c,f),v(t,b),h||(m=Z(r,"change",w),h=!0)},p(p,z){e=p,z&2&&d(r,"name",e[1]),z&16&&o!==(o=e[14].value)&&(r.value=o),z&128&&(r.disabled=e[7]),z&17&&n!==(n=e[14].value===e[0])&&(r.checked=n),z&16&&u!==(u=(e[14].label||e[14].value)+"")&&W(f,u),z&16&&_!==(_="radio-option-"+e[14].value)&&d(t,"data-testid",_),z&128&&I(t,"goa-radio--disabled",e[7]),z&32&&I(t,"goa-radio--error",e[5])},d(p){p&&E(t),h=!1,m()}}}function Eo(i){let e,t,r,o=[],n=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=Ei(i,l,c),f=s(u);n.set(f,o[c]=Ci(f,u))}return{c(){e=y("div"),t=y("slot"),r=T();for(let c=0;c<o.length;c+=1)o[c].c();this.c=k,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){x(c,e,u),v(e,t),v(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],o=he(o,u,s,1,c,l,n,e,ge,Ci,null,Ei)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:k,o:k,d(c){c&&E(e);for(let u=0;u<o.length;u+=1)o[u].d();i[12](null)}}}function Co(i,e,t){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,b,_;ne(()=>{b=Ve(o),b.subscribe(p=>{switch(p==null?void 0:p.type){case zi:t(4,u=[...u,p])}})});function h(p){p!==n&&(t(0,n=p),_.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}Oe(()=>{Ue(o)});const m=p=>h(p.value);function w(p){ce[p?"unshift":"push"](()=>{_=p,t(6,_)})}return i.$$set=p=>{"name"in p&&t(1,o=p.name),"value"in p&&t(0,n=p.value),"orientation"in p&&t(2,a=p.orientation),"disabled"in p&&t(9,l=p.disabled),"error"in p&&t(10,s=p.error),"testid"in p&&t(3,c=p.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(l)),i.$$.dirty&1024&&t(5,f=q(s))},[n,o,a,c,u,f,_,r,h,l,s,m,w]}class Ai extends j{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:flex;flex-direction:column}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-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 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 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>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Co,Eo,N,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-radio-group",Ai);function Ao(i){return{c(){this.c=k},m:k,p:k,i:k,o:k,d:k}}function Mo(i,e,t){let{value:r}=e,{label:o}=e,{name:n}=e,a;return ne(async()=>{a=await Se(n),a.notify({type:zi,value:r,label:o})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,o=l.label),"name"in l&&t(2,n=l.name)},[r,o,n]}class Mi extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Mo,Ao,N,{value:0,label:1,name:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}}customElements.define("goa-radio-item",Mi);function Lo(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=k,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
34
34
|
--max-height: ${i[3]};
|
|
35
35
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
36
36
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
43
43
|
margin: ${o[2]}rem 0;
|
|
44
44
|
padding: 0 ${o[1]}rem;
|
|
45
|
-
`)&&d(e,"style",r)},i:k,o:k,d(o){o&&E(e)}}}function Ro(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,n=l.vpadding),"height"in l&&t(3,a=l.height)},[r,o,n,a]}class Li extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ro,Lo,N,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-scrollable",Li);function Ri(i){let e,t,r;return{c(){e=
|
|
45
|
+
`)&&d(e,"style",r)},i:k,o:k,d(o){o&&E(e)}}}function Ro(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,n=l.vpadding),"height"in l&&t(3,a=l.height)},[r,o,n,a]}class Li extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ro,Lo,N,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-scrollable",Li);function Ri(i){let e,t,r;return{c(){e=y("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=T(),r=y("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-level service-level--live"),d(r,"data-testid","level"),d(r,"class","site-text")},m(o,n){x(o,e,n),x(o,t,n),x(o,r,n)},d(o){o&&E(e),o&&E(t),o&&E(r)}}}function Ti(i){let e,t=Gi(i[0])+"",r,o,n,a,l,s,c,u=i[2]&&Hi(i);return{c(){e=y("div"),r=F(t),n=T(),a=y("div"),l=F("This is a new "),s=y("a"),s.textContent="Alberta Government",c=F(`
|
|
46
46
|
service
|
|
47
|
-
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+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,h){x(f,e,h),v(e,r),x(f,n,h),x(f,a,h),v(a,l),v(a,s),v(a,c),u&&u.m(a,null)},p(f,h){h&1&&t!==(t=Gi(f[0])+"")&&W(r,t),h&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,h):(u=Hi(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(n),f&&E(a),u&&u.d()}}}function Hi(i){let e,t,r,o;return{c(){e=_("span"),t=F("\u2014 help us improve it by giving "),r=_("a"),o=F("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){x(n,e,a),v(e,t),v(e,r),v(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&E(e)}}}function Ii(i){let e,t;return{c(){e=_("div"),t=F(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function To(i){let e,t,r=["alpha","beta"].includes(i[0]),o,n,a,l=i[0]==="live"&&Ri(),s=r&&Ti(i),c=i[1]&&Ii(i);return{c(){e=_("header"),l&&l.c(),t=T(),s&&s.c(),o=T(),n=_("div"),a=T(),c&&c.c(),this.c=k,d(n,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){x(u,e,f),l&&l.m(e,null),v(e,t),s&&s.m(e,null),v(e,o),v(e,n),v(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Ri(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Ti(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Ii(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:k,o:k,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Gi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Ho(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return i.$$set=a=>{"level"in a&&t(0,r=a.level),"version"in a&&t(1,o=a.version),"feedbackurl"in a&&t(2,n=a.feedbackurl)},[r,o,n]}class Si extends j{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-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ho,To,N,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Si);function Io(i){let e,t;return{c(){e=_("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){x(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:k,o:k,d(r){r&&E(e)}}}function Go(i){let e,t,r,o,n,a,l,s,c,u;return r=new ie({props:{type:"avatar",size:i[1]}}),a=new ie({props:{type:"title",size:i[1]}}),s=new ie({props:{type:"text-small",size:i[1]}}),{c(){e=_("div"),t=_("div"),ae(r.$$.fragment),o=T(),n=_("div"),ae(a.$$.fragment),l=T(),ae(s.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,h){x(f,e,h),v(e,t),re(r,t,null),v(e,o),v(e,n),re(a,n,null),v(n,l),re(s,n,null),u=!0},p(f,h){const p={};h&2&&(p.size=f[1]),r.$set(p);const m={};h&2&&(m.size=f[1]),a.$set(m);const b={};h&2&&(b.size=f[1]),s.$set(b),(!u||h&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),u=!0)},o(f){Y(r.$$.fragment,f),Y(a.$$.fragment,f),Y(s.$$.fragment,f),u=!1},d(f){f&&E(e),oe(r),oe(a),oe(s)}}}function So(i){let e,t,r,o,n,a,l,s,c,u,f,h,p;return t=new ie({props:{type:"image",size:i[1]}}),n=new ie({props:{type:"header",size:i[1]}}),l=new ie({props:{type:"text",size:i[1]}}),c=new ie({props:{type:"text",size:i[1]}}),f=new ie({props:{type:"text",size:i[1]}}),{c(){e=_("div"),ae(t.$$.fragment),r=T(),o=_("div"),ae(n.$$.fragment),a=T(),ae(l.$$.fragment),s=T(),ae(c.$$.fragment),u=T(),ae(f.$$.fragment),d(o,"class","card-content"),d(e,"class",h="card card-"+i[1]),K(e,"--width",i[0]+"px")},m(m,b){x(m,e,b),re(t,e,null),v(e,r),v(e,o),re(n,o,null),v(o,a),re(l,o,null),v(o,s),re(c,o,null),v(o,u),re(f,o,null),p=!0},p(m,b){const w={};b&2&&(w.size=m[1]),t.$set(w);const y={};b&2&&(y.size=m[1]),n.$set(y);const z={};b&2&&(z.size=m[1]),l.$set(z);const A={};b&2&&(A.size=m[1]),c.$set(A);const R={};b&2&&(R.size=m[1]),f.$set(R),(!p||b&2&&h!==(h="card card-"+m[1]))&&d(e,"class",h),(!p||b&1)&&K(e,"--width",m[0]+"px")},i(m){p||(U(t.$$.fragment,m),U(n.$$.fragment,m),U(l.$$.fragment,m),U(c.$$.fragment,m),U(f.$$.fragment,m),p=!0)},o(m){Y(t.$$.fragment,m),Y(n.$$.fragment,m),Y(l.$$.fragment,m),Y(c.$$.fragment,m),Y(f.$$.fragment,m),p=!1},d(m){m&&E(e),oe(t),oe(n),oe(l),oe(c),oe(f)}}}function Bo(i){let e,t,r,o;const n=[So,Go,Io],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=$(),this.c=k},m(s,c){a[e].m(s,c),x(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(ke(),Y(a[u],1,1,()=>{a[u]=null}),xe(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),U(t,1),t.m(r.parentNode,r))},i(s){o||(U(t),o=!0)},o(s){Y(t),o=!1},d(s){a[e].d(s),s&&E(r)}}}function Do(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class ie extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Do,Bo,N,{width:0,size:1,type:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-skeleton",ie);function Bi(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>Ze(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Bi(i)&&Bi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Ze(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function No(i,e={}){const t=dt(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:h=ve,interpolate:p=Ze}=Ye(Ye({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=Ce()+u;let b;return r=Ae(w=>{if(w<m)return!0;c||(b=p(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const y=w-m;return y>f?(t.set(i=a),!1):(t.set(i=b(h(y/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function Di(i){let e,t,r,o,n,a,l,s,c;return{c(){e=se("svg"),t=se("circle"),n=se("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){x(u,e,f),v(e,t),v(e,n)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&E(e)}}}function jo(i){let e,t=i[6]&&Di(i);return{c(){t&&t.c(),e=$(),this.c=k},m(r,o){t&&t.m(r,o),x(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:k,o:k,d(r){t&&t.d(r),r&&E(e)}}}function Po(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:h="0"}=e,{testid:p=""}=e;const m=No(0,{duration:500,easing:go});Yi(i,m,y=>t(7,s=y));function b(y){const z=n+a*Math.cos(y),A=n+a*Math.sin(y);return z+" "+A}function w(y){switch(f){case"progress":{const z=b(-Math.PI/2),A=b(-Math.PI/2+2*Math.PI*(y/100)),R=y%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${R} 1 ${A}`}case"infinite":{const z=b(Math.PI*1.5),A=b(0);return`M ${z} A ${a} ${a} 0 1 0 ${A}`}}}return i.$$set=y=>{"size"in y&&t(10,c=y.size),"invert"in y&&t(0,u=y.invert),"type"in y&&t(1,f=y.type),"progress"in y&&t(11,h=y.progress),"testid"in y&&t(2,p=y.testid)},i.$$.update=()=>{i.$$.dirty&2048&&m.set(parseFloat(h)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?a:a&&h)},[u,f,p,n,o,r,l,s,m,w,c,h,a]}class Ni extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Po,jo,N,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Ni);function ji(i){let e;function t(n,a){if(n[6]>0)return Fo;if(n[1].length>0)return Oo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=$()},m(n,a){o&&o.m(n,a),x(n,e,a)},p(n,a){r===(r=t(n))&&o?o.p(n,a):(o&&o.d(1),o=r&&r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o&&o.d(n),n&&E(e)}}}function Oo(i){let e,t=i[1].length+"",r;return{c(){e=_("div"),r=F(t),d(e,"class","counter")},m(o,n){x(o,e,n),v(e,r)},p(o,n){n&2&&t!==(t=o[1].length+"")&&W(r,t)},d(o){o&&E(e)}}}function Fo(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,n;return{c(){e=_("div"),r=F(t),n=F(o),d(e,"class","counter"),I(e,"counter-error",i[1].length>i[6])},m(a,l){x(a,e,l),v(e,r),v(e,n)},p(a,l){l&2&&t!==(t=a[1].length+"")&&W(r,t),l&64&&o!==(o=`/${a[6]}`)&&W(n,o),l&66&&I(e,"counter-error",a[1].length>a[6])},d(a){a&&E(e)}}}function Wo(i){let e,t,r,o,n,a,l=i[8]&&ji(i);return{c(){e=_("div"),t=_("textarea"),r=T(),l&&l.c(),this.c=k,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],d(t,"data-testid",i[4]),I(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
47
|
+
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+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,b){x(f,e,b),v(e,r),x(f,n,b),x(f,a,b),v(a,l),v(a,s),v(a,c),u&&u.m(a,null)},p(f,b){b&1&&t!==(t=Gi(f[0])+"")&&W(r,t),b&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,b):(u=Hi(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(n),f&&E(a),u&&u.d()}}}function Hi(i){let e,t,r,o;return{c(){e=y("span"),t=F("\u2014 help us improve it by giving "),r=y("a"),o=F("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(n,a){x(n,e,a),v(e,t),v(e,r),v(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&E(e)}}}function Ii(i){let e,t;return{c(){e=y("div"),t=F(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&2&&W(t,r[1])},d(r){r&&E(e)}}}function To(i){let e,t,r=["alpha","beta"].includes(i[0]),o,n,a,l=i[0]==="live"&&Ri(),s=r&&Ti(i),c=i[1]&&Ii(i);return{c(){e=y("header"),l&&l.c(),t=T(),s&&s.c(),o=T(),n=y("div"),a=T(),c&&c.c(),this.c=k,d(n,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){x(u,e,f),l&&l.m(e,null),v(e,t),s&&s.m(e,null),v(e,o),v(e,n),v(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Ri(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Ti(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Ii(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:k,o:k,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Gi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Ho(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return i.$$set=a=>{"level"in a&&t(0,r=a.level),"version"in a&&t(1,o=a.version),"feedbackurl"in a&&t(2,n=a.feedbackurl)},[r,o,n]}class Si extends j{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-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ho,To,N,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Si);function Io(i){let e,t;return{c(){e=y("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){x(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:k,o:k,d(r){r&&E(e)}}}function Go(i){let e,t,r,o,n,a,l,s,c,u;return r=new ie({props:{type:"avatar",size:i[1]}}),a=new ie({props:{type:"title",size:i[1]}}),s=new ie({props:{type:"text-small",size:i[1]}}),{c(){e=y("div"),t=y("div"),ae(r.$$.fragment),o=T(),n=y("div"),ae(a.$$.fragment),l=T(),ae(s.$$.fragment),d(t,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,b){x(f,e,b),v(e,t),re(r,t,null),v(e,o),v(e,n),re(a,n,null),v(n,l),re(s,n,null),u=!0},p(f,b){const _={};b&2&&(_.size=f[1]),r.$set(_);const h={};b&2&&(h.size=f[1]),a.$set(h);const m={};b&2&&(m.size=f[1]),s.$set(m),(!u||b&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),u=!0)},o(f){Y(r.$$.fragment,f),Y(a.$$.fragment,f),Y(s.$$.fragment,f),u=!1},d(f){f&&E(e),oe(r),oe(a),oe(s)}}}function So(i){let e,t,r,o,n,a,l,s,c,u,f,b,_;return t=new ie({props:{type:"image",size:i[1]}}),n=new ie({props:{type:"header",size:i[1]}}),l=new ie({props:{type:"text",size:i[1]}}),c=new ie({props:{type:"text",size:i[1]}}),f=new ie({props:{type:"text",size:i[1]}}),{c(){e=y("div"),ae(t.$$.fragment),r=T(),o=y("div"),ae(n.$$.fragment),a=T(),ae(l.$$.fragment),s=T(),ae(c.$$.fragment),u=T(),ae(f.$$.fragment),d(o,"class","card-content"),d(e,"class",b="card card-"+i[1]),K(e,"--width",i[0]+"px")},m(h,m){x(h,e,m),re(t,e,null),v(e,r),v(e,o),re(n,o,null),v(o,a),re(l,o,null),v(o,s),re(c,o,null),v(o,u),re(f,o,null),_=!0},p(h,m){const w={};m&2&&(w.size=h[1]),t.$set(w);const p={};m&2&&(p.size=h[1]),n.$set(p);const z={};m&2&&(z.size=h[1]),l.$set(z);const A={};m&2&&(A.size=h[1]),c.$set(A);const R={};m&2&&(R.size=h[1]),f.$set(R),(!_||m&2&&b!==(b="card card-"+h[1]))&&d(e,"class",b),(!_||m&1)&&K(e,"--width",h[0]+"px")},i(h){_||(U(t.$$.fragment,h),U(n.$$.fragment,h),U(l.$$.fragment,h),U(c.$$.fragment,h),U(f.$$.fragment,h),_=!0)},o(h){Y(t.$$.fragment,h),Y(n.$$.fragment,h),Y(l.$$.fragment,h),Y(c.$$.fragment,h),Y(f.$$.fragment,h),_=!1},d(h){h&&E(e),oe(t),oe(n),oe(l),oe(c),oe(f)}}}function Bo(i){let e,t,r,o;const n=[So,Go,Io],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=a[e]=n[e](i),{c(){t.c(),r=$(),this.c=k},m(s,c){a[e].m(s,c),x(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(ke(),Y(a[u],1,1,()=>{a[u]=null}),xe(),t=a[e],t?t.p(s,c):(t=a[e]=n[e](s),t.c()),U(t,1),t.m(r.parentNode,r))},i(s){o||(U(t),o=!0)},o(s){Y(t),o=!1},d(s){a[e].d(s),s&&E(r)}}}function Do(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return i.$$set=a=>{"width"in a&&t(0,r=a.width),"size"in a&&t(1,o=a.size),"type"in a&&t(2,n=a.type)},[r,o,n]}class ie extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Do,Bo,N,{width:0,size:1,type:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-skeleton",ie);function Bi(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,n)=>Ze(i[n],o));return o=>r.map(n=>n(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Bi(i)&&Bi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Ze(i[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function No(i,e={}){const t=dt(i);let r,o=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:b=ve,interpolate:_=Ze}=Ye(Ye({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const h=Ce()+u;let m;return r=Ae(w=>{if(w<h)return!0;c||(m=_(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const p=w-h;return p>f?(t.set(i=a),!1):(t.set(i=m(b(p/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,i),l),subscribe:t.subscribe}}function Di(i){let e,t,r,o,n,a,l,s,c;return{c(){e=se("svg"),t=se("circle"),n=se("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(n,"d",a=i[9](i[7])),d(n,"stroke-width",i[4]),d(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){x(u,e,f),v(e,t),v(e,n)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&E(e)}}}function jo(i){let e,t=i[6]&&Di(i);return{c(){t&&t.c(),e=$(),this.c=k},m(r,o){t&&t.m(r,o),x(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:k,o:k,d(r){t&&t.d(r),r&&E(e)}}}function Po(i,e,t){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:b="0"}=e,{testid:_=""}=e;const h=No(0,{duration:500,easing:go});Yi(i,h,p=>t(7,s=p));function m(p){const z=n+a*Math.cos(p),A=n+a*Math.sin(p);return z+" "+A}function w(p){switch(f){case"progress":{const z=m(-Math.PI/2),A=m(-Math.PI/2+2*Math.PI*(p/100)),R=p%100<50?0:1;return`M ${z} A ${a} ${a} 0 ${R} 1 ${A}`}case"infinite":{const z=m(Math.PI*1.5),A=m(0);return`M ${z} A ${a} ${a} 0 1 0 ${A}`}}}return i.$$set=p=>{"size"in p&&t(10,c=p.size),"invert"in p&&t(0,u=p.invert),"type"in p&&t(1,f=p.type),"progress"in p&&t(11,b=p.progress),"testid"in p&&t(2,_=p.testid)},i.$$.update=()=>{i.$$.dirty&2048&&h.set(parseFloat(b)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,a=n-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?a:a&&b)},[u,f,_,n,o,r,l,s,h,w,c,b,a]}class Ni extends j{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Po,jo,N,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Ni);function ji(i){let e;function t(n,a){if(n[6]>0)return Fo;if(n[1].length>0)return Oo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=$()},m(n,a){o&&o.m(n,a),x(n,e,a)},p(n,a){r===(r=t(n))&&o?o.p(n,a):(o&&o.d(1),o=r&&r(n),o&&(o.c(),o.m(e.parentNode,e)))},d(n){o&&o.d(n),n&&E(e)}}}function Oo(i){let e,t=i[1].length+"",r;return{c(){e=y("div"),r=F(t),d(e,"class","counter")},m(o,n){x(o,e,n),v(e,r)},p(o,n){n&2&&t!==(t=o[1].length+"")&&W(r,t)},d(o){o&&E(e)}}}function Fo(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,n;return{c(){e=y("div"),r=F(t),n=F(o),d(e,"class","counter"),I(e,"counter-error",i[1].length>i[6])},m(a,l){x(a,e,l),v(e,r),v(e,n)},p(a,l){l&2&&t!==(t=a[1].length+"")&&W(r,t),l&64&&o!==(o=`/${a[6]}`)&&W(n,o),l&66&&I(e,"counter-error",a[1].length>a[6])},d(a){a&&E(e)}}}function Wo(i){let e,t,r,o,n,a,l=i[8]&&ji(i);return{c(){e=y("div"),t=y("textarea"),r=T(),l&&l.c(),this.c=k,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],d(t,"data-testid",i[4]),I(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
48
48
|
--width: ${i[5]};
|
|
49
49
|
`)},m(s,c){x(s,e,c),v(e,t),v(e,r),l&&l.m(e,null),n||(a=Z(t,"keyup",i[11]),n=!0)},p(s,[c]){c&1&&d(t,"name",s[0]),c&4&&d(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&d(t,"rows",s[3]),c&128&&(t.disabled=s[7]),c&512&&(t.readOnly=s[9]),c&16&&d(t,"data-testid",s[4]),c&1024&&I(t,"error",s[10]),s[8]?l?l.p(s,c):(l=ji(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&32&&o!==(o=`
|
|
50
50
|
--width: ${s[5]};
|
|
51
|
-
`)&&d(e,"style",o)},i:k,o:k,d(s){s&&E(e),l&&l.d(),n=!1,a()}}}function qo(i,e,t){let r,o,n,a,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:u=3}=e,{testid:f=""}=e,{width:
|
|
52
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qo,Wo,N,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:12,readonly:13,disabled:14,showcounter:15,maxcharcount:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get showcounter(){return this.$$.ctx[15]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[6]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Pi);function Oi(i){let e,t;return{c(){e=
|
|
51
|
+
`)&&d(e,"style",o)},i:k,o:k,d(s){s&&E(e),l&&l.d(),n=!1,a()}}}function qo(i,e,t){let r,o,n,a,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:u=3}=e,{testid:f=""}=e,{width:b="60ch"}=e,{error:_="false"}=e,{readonly:h="false"}=e,{disabled:m="false"}=e,{showcounter:w="false"}=e,{maxcharcount:p=0}=e;function z(A){const M=A.target.value;o||(A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:A,name:l,value:M}})),A.stopPropagation())}return i.$$set=A=>{"name"in A&&t(0,l=A.name),"value"in A&&t(1,s=A.value),"placeholder"in A&&t(2,c=A.placeholder),"rows"in A&&t(3,u=A.rows),"testid"in A&&t(4,f=A.testid),"width"in A&&t(5,b=A.width),"error"in A&&t(12,_=A.error),"readonly"in A&&t(13,h=A.readonly),"disabled"in A&&t(14,m=A.disabled),"showcounter"in A&&t(15,w=A.showcounter),"maxcharcount"in A&&t(6,p=A.maxcharcount)},i.$$.update=()=>{i.$$.dirty&4096&&t(10,r=q(_)),i.$$.dirty&16384&&t(7,o=q(m)),i.$$.dirty&8192&&t(9,n=q(h)),i.$$.dirty&32768&&t(8,a=q(w))},[l,s,c,u,f,b,p,o,a,n,r,z,_,h,m,w]}class Pi extends j{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
52
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},qo,Wo,N,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:12,readonly:13,disabled:14,showcounter:15,maxcharcount:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get showcounter(){return this.$$.ctx[15]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[6]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Pi);function Oi(i){let e,t;return{c(){e=y("div"),t=F(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){x(r,e,o),v(e,t)},p(r,o){o&1&&W(t,r[0])},d(r){r&&E(e)}}}function Fi(i){let e;return{c(){e=y("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){x(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&E(e)}}}function Ko(i){let e,t,r,o,n=i[0]&&Oi(i),a=i[1]&&Fi(i);return{c(){e=y("goa-container"),n&&n.c(),t=T(),a&&a.c(),r=T(),o=y("div"),this.c=k,d(o,"class","content"),d(o,"slot",""),C(e,"variant",i[3]),C(e,"headingsize",i[4])},m(l,s){x(l,e,s),n&&n.m(e,null),v(e,t),a&&a.m(e,null),v(e,r),v(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=Oi(l),n.c(),n.m(e,t)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=Fi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&C(e,"variant",l[3]),s&16&&C(e,"headingsize",l[4])},i:k,o:k,d(l){l&&E(e),n&&n.d(),a&&a.d()}}}function Vo(i,e,t){let{title:r}=e,{actions:o=""}=e,{content:n}=e,{variant:a="default"}=e,{headingsize:l="large"}=e;return i.$$set=s=>{"title"in s&&t(0,r=s.title),"actions"in s&&t(1,o=s.actions),"content"in s&&t(2,n=s.content),"variant"in s&&t(3,a=s.variant),"headingsize"in s&&t(4,l=s.headingsize)},[r,o,n,a,l]}class Wi extends j{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Vo,Ko,N,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),g()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),g()}}customElements.define("test-container",Wi),D.ContainerWrapper=Wi,D.GoAAppFooter=zt,D.GoAAppHeader=ct,D.GoABadge=Mt,D.GoAButton=Tt,D.GoAButtonGroup=Ht,D.GoACallout=It,D.GoACard=Gt,D.GoACardActions=St,D.GoACardContent=Bt,D.GoACardGroup=Dt,D.GoACardImage=Nt,D.GoACheckbox=jt,D.GoAChip=Ft,D.GoACircularProgress=xi,D.GoAContainer=Wt,D.GoADropdown=Zt,D.GoADropdownItem=Yt,D.GoAFlexRow=Xt,D.GoAFormItem=ti,D.GoAHeroBanner=ii,D.GoAIcon=oi,D.GoAIconButton=ni,D.GoAInput=di,D.GoAMetaLink=Et,D.GoAMicrositeHeader=Si,D.GoAModal=bi,D.GoANavigationLink=Ct,D.GoANotification=_i,D.GoAPageBlock=st,D.GoAPageLayout=yi,D.GoARadioGroup=Ai,D.GoARadioItem=Mi,D.GoAScrollable=Li,D.GoASkeleton=ie,D.GoASpinner=Ni,D.GoATextArea=Pi,Object.defineProperty(D,"__esModule",{value:!0}),D[Symbol.toStringTag]="Module"});
|