@abgov/web-components 1.0.0-alpha.181 → 1.0.0-alpha.182
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 +11 -21
- package/web-components.umd.js +2 -2
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -10028,35 +10028,25 @@ customElements.define("goa-input", Input);
|
|
|
10028
10028
|
/* libs/web-components/src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.51.0 */
|
|
10029
10029
|
|
|
10030
10030
|
function create_if_block_3$5(ctx) {
|
|
10031
|
-
let
|
|
10032
|
-
let t0;
|
|
10033
|
-
let div1;
|
|
10031
|
+
let div;
|
|
10034
10032
|
|
|
10035
10033
|
return {
|
|
10036
10034
|
c() {
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
div1.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
10042
|
-
attr(div0, "class", "service-type service-type--live");
|
|
10043
|
-
attr(div1, "data-testid", "type");
|
|
10044
|
-
attr(div1, "class", "site-text");
|
|
10035
|
+
div = element("div");
|
|
10036
|
+
div.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>`;
|
|
10037
|
+
attr(div, "data-testid", "type");
|
|
10038
|
+
attr(div, "class", "site-text");
|
|
10045
10039
|
},
|
|
10046
10040
|
m(target, anchor) {
|
|
10047
|
-
insert(target,
|
|
10048
|
-
insert(target, t0, anchor);
|
|
10049
|
-
insert(target, div1, anchor);
|
|
10041
|
+
insert(target, div, anchor);
|
|
10050
10042
|
},
|
|
10051
10043
|
d(detaching) {
|
|
10052
|
-
if (detaching) detach(
|
|
10053
|
-
if (detaching) detach(t0);
|
|
10054
|
-
if (detaching) detach(div1);
|
|
10044
|
+
if (detaching) detach(div);
|
|
10055
10045
|
}
|
|
10056
10046
|
};
|
|
10057
10047
|
}
|
|
10058
10048
|
|
|
10059
|
-
// (
|
|
10049
|
+
// (29:2) {#if ["alpha", "beta"].includes(type)}
|
|
10060
10050
|
function create_if_block_1$5(ctx) {
|
|
10061
10051
|
let div0;
|
|
10062
10052
|
let t0_value = capitalize(/*type*/ ctx[0]) + "";
|
|
@@ -10125,7 +10115,7 @@ function create_if_block_1$5(ctx) {
|
|
|
10125
10115
|
};
|
|
10126
10116
|
}
|
|
10127
10117
|
|
|
10128
|
-
// (
|
|
10118
|
+
// (38:6) {#if feedbackurl}
|
|
10129
10119
|
function create_if_block_2$5(ctx) {
|
|
10130
10120
|
let span;
|
|
10131
10121
|
let t0;
|
|
@@ -10158,7 +10148,7 @@ function create_if_block_2$5(ctx) {
|
|
|
10158
10148
|
};
|
|
10159
10149
|
}
|
|
10160
10150
|
|
|
10161
|
-
// (
|
|
10151
|
+
// (44:2) {#if version}
|
|
10162
10152
|
function create_if_block$b(ctx) {
|
|
10163
10153
|
let div;
|
|
10164
10154
|
let t;
|
|
@@ -10296,7 +10286,7 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
|
10296
10286
|
class MicrositeHeader extends SvelteElement {
|
|
10297
10287
|
constructor(options) {
|
|
10298
10288
|
super();
|
|
10299
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.
|
|
10289
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>`;
|
|
10300
10290
|
|
|
10301
10291
|
init(
|
|
10302
10292
|
this,
|
package/web-components.umd.js
CHANGED
|
@@ -101,8 +101,8 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
101
101
|
${Y(L[16],L[17],L[18],L[19])};
|
|
102
102
|
--width: ${L[9]};
|
|
103
103
|
`)&&d(e,"style",_)},i:C,o:C,d(L){L&&E(e),H&&H.d(),x&&x.d(),i[36](null),A&&A.d(),I&&I.d(),T&&T.d(),i[37](null),z=!1,ae(D)}}}function no(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function oo(i,e,t){let r,n,o,a,l;const[s,c]=$("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[u,f]=$("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:v=""}=e,{value:p=""}=e,{autocapitalize:y="off"}=e,{placeholder:w=""}=e,{leadingicon:_=null}=e,{trailingicon:z=null}=e,{variant:D="goa"}=e,{disabled:H="false"}=e,{handletrailingiconclick:x="false"}=e,{focused:A="false"}=e,{readonly:I="false"}=e,{error:T="false"}=e,{testid:L=""}=e,{width:S="30ch"}=e,{arialabel:re=null}=e,{min:ie=""}=e,{max:R=""}=e,{step:ee=1}=e,{prefix:ne=""}=e,{suffix:xe=""}=e,{debounce:Re=0}=e,{mt:rt=null}=e,{mr:nt=null}=e,{mb:ot=null}=e,{ml:Me=null}=e,le,ze,Pe=!1,_e=!1,je=null;function at(V){const we=V.target;!we||(je!=null&&clearTimeout(je),je=setTimeout(()=>{we.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:v,value:we.value}}))},Re),t(0,p=we.value))}Q(()=>{c(h),f(y),(ne!=""||xe!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");const V=ze.querySelector("slot[name=leadingContent]");V&&V.assignedNodes().length>0&&t(22,Pe=!0);const we=ze.querySelector("slot[name=trailingContent]");we&&we.assignedNodes().length>0&&t(23,_e=!0)});function vt(V){W[V?"unshift":"push"](()=>{le=V,t(20,le)})}function lt(V){W[V?"unshift":"push"](()=>{ze=V,t(21,ze)})}return i.$$set=V=>{"type"in V&&t(1,h=V.type),"name"in V&&t(2,v=V.name),"value"in V&&t(0,p=V.value),"autocapitalize"in V&&t(3,y=V.autocapitalize),"placeholder"in V&&t(4,w=V.placeholder),"leadingicon"in V&&t(5,_=V.leadingicon),"trailingicon"in V&&t(6,z=V.trailingicon),"variant"in V&&t(7,D=V.variant),"disabled"in V&&t(29,H=V.disabled),"handletrailingiconclick"in V&&t(30,x=V.handletrailingiconclick),"focused"in V&&t(31,A=V.focused),"readonly"in V&&t(32,I=V.readonly),"error"in V&&t(33,T=V.error),"testid"in V&&t(8,L=V.testid),"width"in V&&t(9,S=V.width),"arialabel"in V&&t(10,re=V.arialabel),"min"in V&&t(11,ie=V.min),"max"in V&&t(12,R=V.max),"step"in V&&t(13,ee=V.step),"prefix"in V&&t(14,ne=V.prefix),"suffix"in V&&t(15,xe=V.suffix),"debounce"in V&&t(34,Re=V.debounce),"mt"in V&&t(16,rt=V.mt),"mr"in V&&t(17,nt=V.mr),"mb"in V&&t(18,ot=V.mb),"ml"in V&&t(19,Me=V.ml)},i.$$.update=()=>{i.$$.dirty[0]&1073741824&&t(27,r=K(x)),i.$$.dirty[1]&1&&t(35,n=K(A)),i.$$.dirty[1]&2&&t(26,o=K(I)),i.$$.dirty[1]&4&&t(25,a=K(T)),i.$$.dirty[0]&536870912&&t(24,l=K(H)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&16&&n&&le&&setTimeout(()=>le.focus(),1),i.$$.dirty[0]&1048578&&le&&h==="search"&&le.addEventListener("search",V=>{at(V)})},[p,h,v,y,w,_,z,D,L,S,re,ie,R,ee,ne,xe,rt,nt,ot,Me,le,ze,Pe,_e,l,a,o,r,at,H,x,A,I,T,Re,n,vt,lt]}class ao extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus-within:not(.goa-input-leading-content):not(.goa-input-trailing-content){box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans);z-index:1}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200) !important;cursor:default;box-shadow:none !important}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:not(.goa-input-leading-content):not(.goa-input-trailing-content),.error:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.error .input-leading-content,.error .input-leading-content:hover,.error .input-trailing-content,.error .input-trailing-content:hover{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error .input-leading-content:focus,.error .input-trailing-content:focus,.error .input-leading-content:active,.error .input-trailing-content:active{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.input-leading-content:hover,.input-trailing-content:hover{box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);outline:var(--goa-border-width-s) solid var(--goa-color-interactive-hover)}.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus);outline:var(--goa-border-width-s) solid var(--goa-color-greyscale-700)}.error .input-trailing-content,.input-trailing-content:hover,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m)}.error .input-leading-content,.input-leading-content:hover,.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within{border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.input-leading-content.input-trailing-content,.input-leading-content.input-trailing-content:hover,.input-leading-content.input-trailing-content:active,.input-leading-content.input-trailing-content:focus,.input-leading-content.input-trailing-content:focus-within{border-radius:0}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
104
|
-
center center no-repeat}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},oo,ro,B,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:29,handletrailingiconclick:30,focused:31,readonly:32,error:33,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:34,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","debounce","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[29]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[30]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[31]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[32]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[33]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get debounce(){return this.$$.ctx[34]}set debounce(e){this.$$set({debounce:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",ao);function ui(i){let e
|
|
105
|
-
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,h){k(f,e,h),m(e,r),k(f,o,h),k(f,a,h),m(a,l),m(a,s),m(a,c),u&&u.m(a,null)},p(f,h){h&1&&t!==(t=mi(f[0])+"")&&U(r,t),h&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,h):(u=gi(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(o),f&&E(a),u&&u.d()}}}function gi(i){let e,t,r,n;return{c(){e=b("span"),t=O("\u2014 help us improve it by giving "),r=b("a"),n=O("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&d(r,"href",o[2])},d(o){o&&E(e)}}}function hi(i){let e,t;return{c(){e=b("div"),t=O(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&E(e)}}}function lo(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&ui(),s=r&&fi(i),c=i[1]&&hi(i);return{c(){e=b("header"),l&&l.c(),t=N(),s&&s.c(),n=N(),o=b("div"),a=N(),c&&c.c(),this.c=C,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,o),m(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=ui(),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=fi(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=hi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:C,o:C,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function mi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function so(i,e,t){const[r,n]=$("Microsite header type",["live","alpha","beta"],!0);let{type:o}=e,{version:a=""}=e,{feedbackurl:l=""}=e;return Q(()=>{setTimeout(()=>n(o),1)}),i.$$set=s=>{"type"in s&&t(0,o=s.type),"version"in s&&t(1,a=s.version),"feedbackurl"in s&&t(2,l=s.feedbackurl)},[o,a,l]}class co extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},so,lo,B,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",co);function bi(i){let e,t,r,n,o,a,l,s,c,u,f,h,v,p,y,w,_,z,D,H,x,A,I,T,L=i[3]!==null&&vi(i);function S(ee,ne){return ee[0]?fo:uo}let re=S(i),ie=re(i),R=i[9]&&wi(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=N(),o=b("div"),L&&L.c(),a=N(),l=b("div"),s=b("header"),c=b("div"),ie.c(),u=N(),R&&R.c(),f=N(),h=b("div"),v=b("goa-scrollable"),v.innerHTML="<slot></slot>",p=N(),y=b("div"),y.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(c,"data-testid","modal-title"),d(c,"class","modal-title"),M(v,"direction","vertical"),M(v,"hpadding","1.9rem"),M(v,"maxheight","70vh"),d(h,"data-testid","modal-content"),d(h,"class","modal-content"),d(y,"class","modal-actions"),d(y,"data-testid","modal-actions"),d(l,"class","content"),d(o,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",z=i[2]&&`--width: ${i[2]};`),M(e,"active",i[1])},m(ee,ne){k(ee,e,ne),m(e,t),m(t,r),m(t,n),m(t,o),L&&L.m(o,null),m(o,a),m(o,l),m(l,s),m(s,c),ie.m(c,null),m(s,u),R&&R.m(s,null),i[16](s),m(l,f),m(l,h),m(h,v),i[17](v),i[18](h),m(l,p),m(l,y),i[19](t),A=!0,I||(T=[q(r,"click",i[12]),q(v,"_scroll",i[13]),ct(D=mt.call(null,t,{enable:i[7]}))],I=!0)},p(ee,ne){i=ee,i[3]!==null?L?L.p(i,ne):(L=vi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),re===(re=S(i))&&ie?ie.p(i,ne):(ie.d(1),ie=re(i),ie&&(ie.c(),ie.m(c,null))),i[9]?R?R.p(i,ne):(R=wi(i),R.c(),R.m(s,null)):R&&(R.d(1),R=null),(!A||ne&4&&z!==(z=i[2]&&`--width: ${i[2]};`))&&d(t,"style",z),D&&ye(D.update)&&ne&128&&D.update.call(null,{enable:i[7]}),(!A||ne&2)&&M(e,"active",i[1])},i(ee){A||(be(()=>{_&&_.end(1),w=Lt(o,Bt,{duration:i[11],y:200}),w.start()}),be(()=>{x&&x.end(1),H=Lt(t,De,{duration:i[11]}),H.start()}),A=!0)},o(ee){w&&w.invalidate(),_=Ht(o,Bt,{delay:i[11],duration:i[11],y:-100}),H&&H.invalidate(),x=Ht(t,De,{delay:i[11],duration:i[11]}),A=!1},d(ee){ee&&E(e),L&&L.d(),ie.d(),R&&R.d(),i[16](null),i[17](null),i[18](null),ee&&_&&_.end(),i[19](null),ee&&x&&x.end(),I=!1,ae(T)}}}function vi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[10]),M(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(o,a){k(o,e,a),m(e,t)},p(o,a){a&1024&&M(t,"type",o[10]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&M(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&d(e,"class",n)},d(o){o&&E(e)}}}function uo(i){let e;return{c(){e=b("slot"),d(e,"name","heading")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function fo(i){let e;return{c(){e=O(i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&U(e,t[0])},d(t){t&&E(e)}}}function wi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),d(e,"class","modal-close")},m(o,a){k(o,e,a),m(e,t),r||(n=q(t,"click",i[12]),r=!0)},p:C,d(o){o&&E(e),r=!1,n()}}}function go(i){let e,t,r=i[7]&&bi(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&X(r,1)):(r=bi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function ho(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:u=""}=e,{calloutvariant:f=null}=e,h=null,v=null,p=null,y=null;const[w,_]=$("Callout variant",["emergency","important","information","success","event"]),[z,D]=$("Modal transition",["fast","slow","none"]);let H=!1;Q(async()=>{await fe(),_(f),D(c)});function x(R){!r||(h==null||h.dispatchEvent(new CustomEvent("_close",{composed:!0})),R.stopPropagation())}const A=R=>{switch(R.key){case"Escape":x(R),R.preventDefault();break}};function I(R){const ee=R.detail.scrollHeight>R.detail.offsetHeight;if(H&&ee){const ne=R.detail.scrollTop==0,xe=Math.abs(R.detail.scrollHeight-R.detail.scrollTop-R.detail.offsetHeight)<1;v.classList.remove("scroll-top","scroll-bottom","scroll-middle"),ne?v.classList.add("scroll-top"):xe?v.classList.add("scroll-bottom"):v.classList.add("scroll-middle")}}function T(){const R=y.querySelector("slot");return R?[...R.assignedElements()]:[...y.children]}function L(R){W[R?"unshift":"push"](()=>{y=R,t(6,y),t(7,H),t(1,s)})}function S(R){W[R?"unshift":"push"](()=>{p=R,t(5,p),t(7,H),t(1,s)})}function re(R){W[R?"unshift":"push"](()=>{v=R,t(4,v),t(7,H),t(1,s)})}function ie(R){W[R?"unshift":"push"](()=>{h=R,t(8,h),t(7,H),t(1,s)})}return i.$$set=R=>{"heading"in R&&t(0,a=R.heading),"closable"in R&&t(14,l=R.closable),"open"in R&&t(1,s=R.open),"transition"in R&&t(15,c=R.transition),"width"in R&&t(2,u=R.width),"calloutvariant"in R&&t(3,f=R.calloutvariant)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=K(l)),i.$$.dirty&2&&setTimeout(()=>t(7,H=K(s)),1),i.$$.dirty&128&&(H||(t(4,v=t(5,p=t(8,h=t(6,y=null)))),window.removeEventListener("keydown",A))),i.$$.dirty&176&&H&&p&&v&&p.scrollHeight>p.offsetHeight&&v.classList.add("scroll-top"),i.$$.dirty&208&&H&&v){window.addEventListener("keydown",A);const R=T();(y.querySelector("div.modal-title").textContent||y.querySelector("div.modal-close")||R.length)&&y.classList.add("has-content")}i.$$.dirty&32768&&t(11,n=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,o=f==="emergency"?"warning":f==="important"?"alert-circle":f==="information"?"information-circle":f==="success"?"checkmark-circle":f==="event"?"calendar":"")},[a,s,u,f,v,p,y,H,h,r,o,n,x,I,l,c,L,S,re,ie]}class mo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ho,go,B,{heading:0,closable:14,open:1,transition:15,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",mo);function yi(i){let e,t,r,n,o,a,l,s,c,u,f,h,v,p,y;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=N(),a=b("div"),a.innerHTML="<slot></slot>",l=N(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(w,_){k(w,e,_),m(e,t),m(t,r),m(e,o),m(e,a),m(e,l),m(e,s),m(s,c),v=!0,p||(y=q(c,"click",i[3]),p=!0)},p(w,_){(!v||_&4)&&M(r,"type",w[2]),(!v||_&1&&n!==(n=w[0]==="important"?"false":"true"))&&M(r,"inverted",n),(!v||_&1&&u!==(u=w[0]==="important"?"false":"true"))&&M(c,"inverted",u),(!v||_&1&&f!==(f="notification "+w[0]))&&d(e,"class",f)},i(w){v||(be(()=>{h||(h=et(e,De,{},!0)),h.run(1)}),v=!0)},o(w){h||(h=et(e,De,{},!1)),h.run(0),v=!1},d(w){w&&E(e),w&&h&&h.end(),p=!1,y()}}}function bo(i){let e,t,r=i[1]&&yi(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&X(r,1)):(r=yi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function vo(i,e,t){let r;const[n,o]=$("Notification type",["emergency","important","information","event"],!0);let{type:a=""}=e,l=!0;Q(()=>{setTimeout(()=>o(a),1)});function s(c){t(1,l=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}return i.$$set=c=>{"type"in c&&t(0,a=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=a==="emergency"?"warning":a==="important"?"alert-circle":a==="information"?"information-circle":a==="event"?"calendar":"")},[a,l,r,s]}class wo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vo,bo,B,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",wo);const yo=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function po(i){return yo.test(i)}function _o(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function ko(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||po(l))}return Q(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Co extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ko,_o,B,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",Co);function pi(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function _i(i){let e,t,r,n,o,a,l,s,c,u,f={length:i[8]},h=[];for(let v=0;v<f.length;v+=1)h[v]=ki(pi(i,f,v));return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=N(),n=b("input"),o=N(),a=b("goa-dropdown");for(let v=0;v<h.length;v+=1)h[v].c();l=N(),s=b("span"),c=O("of "),u=O(i[8]),d(n,"type","hidden"),M(a,"value",i[0]),M(a,"width","70px"),M(e,"data-testid","page-selector"),M(e,"alignment","center"),M(e,"gap","s")},m(v,p){k(v,e,p),m(e,t),m(e,r),m(e,n),i[12](n),m(e,o),m(e,a);for(let y=0;y<h.length;y+=1)h[y].m(a,null);i[13](a),m(e,l),m(e,s),m(s,c),m(s,u)},p(v,p){if(p&256){f={length:v[8]};let y;for(y=0;y<f.length;y+=1){const w=pi(v,f,y);h[y]?h[y].p(w,p):(h[y]=ki(w),h[y].c(),h[y].m(a,null))}for(;y<h.length;y+=1)h[y].d(1);h.length=f.length}p&1&&M(a,"value",v[0]),p&256&&U(u,v[8])},d(v){v&&E(e),i[12](null),He(h,v),i[13](null)}}}function ki(i){let e;return{c(){e=b("goa-dropdown-item"),M(e,"value",i[20]+1),M(e,"label",i[20]+1)},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function xo(i){let e,t,r,n,o,a,l,s,c,u,f,h,v,p=i[1]==="all"&&_i(i);return{c(){e=b("goa-block"),t=b("div"),p&&p.c(),r=N(),n=b("goa-block"),o=b("goa-button"),a=O("Previous"),s=N(),c=b("goa-button"),u=O("Next"),this.c=C,M(o,"type","tertiary"),M(o,"leadingicon","arrow-back"),M(o,"disabled",l=i[0]==1?"true":"false"),M(c,"type","tertiary"),M(c,"trailingicon","arrow-forward"),M(c,"disabled",f=i[0]==i[8]?"true":"false"),M(n,"alignment","center"),M(n,"gap","m"),M(n,"data-testid","page-links"),d(t,"class","controls"),M(e,"id","root"),M(e,"ml",i[5]),M(e,"mr",i[3]),M(e,"mb",i[4]),M(e,"mt",i[2])},m(y,w){k(y,e,w),m(e,t),p&&p.m(t,null),m(t,r),m(t,n),m(n,o),m(o,a),m(n,s),m(n,c),m(c,u),h||(v=[q(o,"click",i[14]),q(c,"click",i[15])],h=!0)},p(y,[w]){y[1]==="all"?p?p.p(y,w):(p=_i(y),p.c(),p.m(t,r)):p&&(p.d(1),p=null),w&1&&l!==(l=y[0]==1?"true":"false")&&M(o,"disabled",l),w&257&&f!==(f=y[0]==y[8]?"true":"false")&&M(c,"disabled",f),w&32&&M(e,"ml",y[5]),w&8&&M(e,"mr",y[3]),w&16&&M(e,"mb",y[4]),w&4&&M(e,"mt",y[2])},i:C,o:C,d(y){y&&E(e),p&&p.d(),h=!1,ae(v)}}}function Mo(i,e,t){let r;const[n,o]=$("Pagination variant",["all","links-only"]);let{pagenumber:a}=e,{itemcount:l}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:u=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:v=null}=e,p=null,y=null;Q(async()=>{await fe(),it("GoAPagination",{itemcount:l,pagenumber:a}),o(c),p&&p.addEventListener("_change",x=>{const A=Number.parseInt(x.detail.value);x.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}}))})});function w(x,A){const I=Number.parseInt(a+"")+A;I>0&&I<=r&&x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:I}})),x.preventDefault()}function _(x){W[x?"unshift":"push"](()=>{y=x,t(7,y)})}function z(x){W[x?"unshift":"push"](()=>{p=x,t(6,p)})}const D=x=>w(x,-1),H=x=>w(x,1);return i.$$set=x=>{"pagenumber"in x&&t(0,a=x.pagenumber),"itemcount"in x&&t(10,l=x.itemcount),"perpagecount"in x&&t(11,s=x.perpagecount),"variant"in x&&t(1,c=x.variant),"mt"in x&&t(2,u=x.mt),"mr"in x&&t(3,f=x.mr),"mb"in x&&t(4,h=x.mb),"ml"in x&&t(5,v=x.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/s))},[a,c,u,f,h,v,p,y,r,w,l,s,_,z,D,H]}class Ci extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Mo,xo,B,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",Ci);function xi(i){let e,t,r,n,o,a,l,s;return{c(){e=b("goa-focus-trap"),t=b("div"),r=N(),n=b("div"),o=b("section"),a=b("slot"),d(t,"data-testid","popover-background"),d(t,"class","popover-background"),d(o,"data-testid","popover-content"),d(o,"class","popover-content"),J(o,"max-width",i[1]),J(o,"padding",i[4]?"var(--goa-space-m)":"0"),d(n,"class","popover-container"),M(e,"active",i[2])},m(c,u){k(c,e,u),m(e,t),m(e,r),m(e,n),m(n,o),m(o,a),l||(s=q(t,"click",i[6]),l=!0)},p(c,u){u&2&&J(o,"max-width",c[1]),u&16&&J(o,"padding",c[4]?"var(--goa-space-m)":"0"),u&4&&M(e,"active",c[2])},d(c){c&&E(e),l=!1,s()}}}function zo(i){let e,t,r,n,o,a=i[2]&&xi(i);return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="target" tabindex="-1"></slot>',r=N(),a&&a.c(),this.c=C,d(t,"class","popover-target"),d(t,"tabindex","0"),d(t,"data-testid","popover-target"),d(e,"data-testid",i[0])},m(l,s){k(l,e,s),m(e,t),i[8](t),m(e,r),a&&a.m(e,null),n||(o=q(t,"click",i[5]),n=!0)},p(l,[s]){l[2]?a?a.p(l,s):(a=xi(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&1&&d(e,"data-testid",l[0])},i:C,o:C,d(l){l&&E(e),i[8](null),a&&a.d(),n=!1,o()}}}function Eo(i,e,t){let r,{testid:n=""}=e,{maxwidth:o="320px"}=e,{padded:a="true"}=e,l=!1,s;Q(async()=>{await fe(),h()}),xt(()=>{v()});function c(){t(2,l=!0)}function u(){t(2,l=!1)}const f=w=>{switch(w.key){case" ":case"Enter":l?u():c(),w.preventDefault();break;case"Escape":l&&u(),w.preventDefault();break}};function h(){s.addEventListener("focus",p,!0)}function v(){s.removeEventListener("focus",p),s.removeEventListener("keydown",f)}function p(){s.addEventListener("keydown",f)}function y(w){W[w?"unshift":"push"](()=>{s=w,t(3,s)})}return i.$$set=w=>{"testid"in w&&t(0,n=w.testid),"maxwidth"in w&&t(1,o=w.maxwidth),"padded"in w&&t(7,a=w.padded)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=K(a))},[n,o,l,s,r,c,u,a,y]}class Lo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Eo,zo,B,{testid:0,maxwidth:1,padded:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","maxwidth","padded"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get padded(){return this.$$.ctx[7]}set padded(e){this.$$set({padded:e}),g()}}customElements.define("goa-popover",Lo);function Mi(i,e,t){const r=i.slice();return r[22]=e[t],r}function zi(i,e){let t,r,n,o,a,l,s,c,u,f=(e[22].label||e[22].value)+"",h,v,p,y,w;function _(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),l=N(),s=b("div"),c=N(),u=b("span"),h=O(f),v=N(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=o=e[22].value===e[0],d(r,"aria-label",a=e[4]||e[1]),d(s,"class","goa-radio-icon"),d(u,"class","goa-radio-label"),d(t,"data-testid",p="radio-option-"+e[22].value),d(t,"class","goa-radio"),F(t,"goa-radio--disabled",e[12]),F(t,"goa-radio--error",e[11]),this.first=t},m(z,D){k(z,t,D),m(t,r),m(t,l),m(t,s),m(t,c),m(t,u),m(u,h),m(t,v),y||(w=q(r,"change",_),y=!0)},p(z,D){e=z,D&2&&d(r,"name",e[1]),D&512&&n!==(n=e[22].value)&&(r.value=n),D&4096&&(r.disabled=e[12]),D&513&&o!==(o=e[22].value===e[0])&&(r.checked=o),D&18&&a!==(a=e[4]||e[1])&&d(r,"aria-label",a),D&512&&f!==(f=(e[22].label||e[22].value)+"")&&U(h,f),D&512&&p!==(p="radio-option-"+e[22].value)&&d(t,"data-testid",p),D&4096&&F(t,"goa-radio--disabled",e[12]),D&2048&&F(t,"goa-radio--error",e[11])},d(z){z&&E(t),y=!1,w()}}}function Ho(i){let e,t,r,n=[],o=new Map,a,l,s=i[9];const c=u=>u[22].value;for(let u=0;u<s.length;u+=1){let f=Mi(i,s,u),h=c(f);o.set(h,n[u]=zi(h,f))}return{c(){e=b("div"),t=b("slot"),r=N();for(let u=0;u<n.length;u+=1)n[u].c();this.c=C,d(e,"style",a=Y(i[5],i[6],i[7],i[8])),d(e,"class",l=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(u,f){k(u,e,f),m(e,t),m(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(u,[f]){f&14867&&(s=u[9],n=Tt(n,f,c,1,u,s,o,e,At,zi,null,Mi)),f&480&&a!==(a=Y(u[5],u[6],u[7],u[8]))&&d(e,"style",a),f&4&&l!==(l=`goa-radio-group--${u[2]}`)&&d(e,"class",l),f&8&&d(e,"data-testid",u[3])},i:C,o:C,d(u){u&&E(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function Ao(i,e,t){let r,n;const[o,a]=$("Radio group orientation",["vertical","horizontal"]);let{name:l}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:u="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:v=""}=e,{mt:p=null}=e,{mr:y=null}=e,{mb:w=null}=e,{ml:_=null}=e,z=[],D;Q(async()=>{await fe(),t(9,z=x())});function H(){const L=D.querySelector("slot");return L?[...L.assignedElements()]:[...D.children]}function x(){return H().map(S=>{const re=S,ie=S.getAttribute("value")||re.value,R=S.getAttribute("label")||S.innerText||re.label||re.innerText;return{value:ie,label:R}})}function A(L){L!==s&&(t(0,s=L),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:s}})))}Q(()=>{a(c)});const I=L=>A(L.value);function T(L){W[L?"unshift":"push"](()=>{D=L,t(10,D)})}return i.$$set=L=>{"name"in L&&t(1,l=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=L.orientation),"disabled"in L&&t(14,u=L.disabled),"error"in L&&t(15,f=L.error),"testid"in L&&t(3,h=L.testid),"arialabel"in L&&t(4,v=L.arialabel),"mt"in L&&t(5,p=L.mt),"mr"in L&&t(6,y=L.mr),"mb"in L&&t(7,w=L.mb),"ml"in L&&t(8,_=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=K(u)),i.$$.dirty&32768&&t(11,n=K(f))},[s,l,c,h,v,p,y,w,_,z,D,n,r,A,u,f,I,T]}class To extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
104
|
+
center center no-repeat}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},oo,ro,B,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:29,handletrailingiconclick:30,focused:31,readonly:32,error:33,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:34,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","debounce","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[29]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[30]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[31]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[32]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[33]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get debounce(){return this.$$.ctx[34]}set debounce(e){this.$$set({debounce:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",ao);function ui(i){let e;return{c(){e=b("div"),e.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"data-testid","type"),d(e,"class","site-text")},m(t,r){k(t,e,r)},d(t){t&&E(e)}}}function fi(i){let e,t=mi(i[0])+"",r,n,o,a,l,s,c,u=i[2]&&gi(i);return{c(){e=b("div"),r=O(t),o=N(),a=b("div"),l=O("This is a new "),s=b("a"),s.textContent="Alberta Government",c=O(` service
|
|
105
|
+
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,h){k(f,e,h),m(e,r),k(f,o,h),k(f,a,h),m(a,l),m(a,s),m(a,c),u&&u.m(a,null)},p(f,h){h&1&&t!==(t=mi(f[0])+"")&&U(r,t),h&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,h):(u=gi(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(o),f&&E(a),u&&u.d()}}}function gi(i){let e,t,r,n;return{c(){e=b("span"),t=O("\u2014 help us improve it by giving "),r=b("a"),n=O("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(o,a){k(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&d(r,"href",o[2])},d(o){o&&E(e)}}}function hi(i){let e,t;return{c(){e=b("div"),t=O(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){k(r,e,n),m(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&E(e)}}}function lo(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&ui(),s=r&&fi(i),c=i[1]&&hi(i);return{c(){e=b("header"),l&&l.c(),t=N(),s&&s.c(),n=N(),o=b("div"),a=N(),c&&c.c(),this.c=C,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,o),m(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=ui(),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=fi(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=hi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:C,o:C,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function mi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function so(i,e,t){const[r,n]=$("Microsite header type",["live","alpha","beta"],!0);let{type:o}=e,{version:a=""}=e,{feedbackurl:l=""}=e;return Q(()=>{setTimeout(()=>n(o),1)}),i.$$set=s=>{"type"in s&&t(0,o=s.type),"version"in s&&t(1,a=s.version),"feedbackurl"in s&&t(2,l=s.feedbackurl)},[o,a,l]}class co extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},so,lo,B,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",co);function bi(i){let e,t,r,n,o,a,l,s,c,u,f,h,v,p,y,w,_,z,D,H,x,A,I,T,L=i[3]!==null&&vi(i);function S(ee,ne){return ee[0]?fo:uo}let re=S(i),ie=re(i),R=i[9]&&wi(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=N(),o=b("div"),L&&L.c(),a=N(),l=b("div"),s=b("header"),c=b("div"),ie.c(),u=N(),R&&R.c(),f=N(),h=b("div"),v=b("goa-scrollable"),v.innerHTML="<slot></slot>",p=N(),y=b("div"),y.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(c,"data-testid","modal-title"),d(c,"class","modal-title"),M(v,"direction","vertical"),M(v,"hpadding","1.9rem"),M(v,"maxheight","70vh"),d(h,"data-testid","modal-content"),d(h,"class","modal-content"),d(y,"class","modal-actions"),d(y,"data-testid","modal-actions"),d(l,"class","content"),d(o,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",z=i[2]&&`--width: ${i[2]};`),M(e,"active",i[1])},m(ee,ne){k(ee,e,ne),m(e,t),m(t,r),m(t,n),m(t,o),L&&L.m(o,null),m(o,a),m(o,l),m(l,s),m(s,c),ie.m(c,null),m(s,u),R&&R.m(s,null),i[16](s),m(l,f),m(l,h),m(h,v),i[17](v),i[18](h),m(l,p),m(l,y),i[19](t),A=!0,I||(T=[q(r,"click",i[12]),q(v,"_scroll",i[13]),ct(D=mt.call(null,t,{enable:i[7]}))],I=!0)},p(ee,ne){i=ee,i[3]!==null?L?L.p(i,ne):(L=vi(i),L.c(),L.m(o,a)):L&&(L.d(1),L=null),re===(re=S(i))&&ie?ie.p(i,ne):(ie.d(1),ie=re(i),ie&&(ie.c(),ie.m(c,null))),i[9]?R?R.p(i,ne):(R=wi(i),R.c(),R.m(s,null)):R&&(R.d(1),R=null),(!A||ne&4&&z!==(z=i[2]&&`--width: ${i[2]};`))&&d(t,"style",z),D&&ye(D.update)&&ne&128&&D.update.call(null,{enable:i[7]}),(!A||ne&2)&&M(e,"active",i[1])},i(ee){A||(be(()=>{_&&_.end(1),w=Lt(o,Bt,{duration:i[11],y:200}),w.start()}),be(()=>{x&&x.end(1),H=Lt(t,De,{duration:i[11]}),H.start()}),A=!0)},o(ee){w&&w.invalidate(),_=Ht(o,Bt,{delay:i[11],duration:i[11],y:-100}),H&&H.invalidate(),x=Ht(t,De,{delay:i[11],duration:i[11]}),A=!1},d(ee){ee&&E(e),L&&L.d(),ie.d(),R&&R.d(),i[16](null),i[17](null),i[18](null),ee&&_&&_.end(),i[19](null),ee&&x&&x.end(),I=!1,ae(T)}}}function vi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[10]),M(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(o,a){k(o,e,a),m(e,t)},p(o,a){a&1024&&M(t,"type",o[10]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&M(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&d(e,"class",n)},d(o){o&&E(e)}}}function uo(i){let e;return{c(){e=b("slot"),d(e,"name","heading")},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function fo(i){let e;return{c(){e=O(i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&U(e,t[0])},d(t){t&&E(e)}}}function wi(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),d(e,"class","modal-close")},m(o,a){k(o,e,a),m(e,t),r||(n=q(t,"click",i[12]),r=!0)},p:C,d(o){o&&E(e),r=!1,n()}}}function go(i){let e,t,r=i[7]&&bi(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&X(r,1)):(r=bi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function ho(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:u=""}=e,{calloutvariant:f=null}=e,h=null,v=null,p=null,y=null;const[w,_]=$("Callout variant",["emergency","important","information","success","event"]),[z,D]=$("Modal transition",["fast","slow","none"]);let H=!1;Q(async()=>{await fe(),_(f),D(c)});function x(R){!r||(h==null||h.dispatchEvent(new CustomEvent("_close",{composed:!0})),R.stopPropagation())}const A=R=>{switch(R.key){case"Escape":x(R),R.preventDefault();break}};function I(R){const ee=R.detail.scrollHeight>R.detail.offsetHeight;if(H&&ee){const ne=R.detail.scrollTop==0,xe=Math.abs(R.detail.scrollHeight-R.detail.scrollTop-R.detail.offsetHeight)<1;v.classList.remove("scroll-top","scroll-bottom","scroll-middle"),ne?v.classList.add("scroll-top"):xe?v.classList.add("scroll-bottom"):v.classList.add("scroll-middle")}}function T(){const R=y.querySelector("slot");return R?[...R.assignedElements()]:[...y.children]}function L(R){W[R?"unshift":"push"](()=>{y=R,t(6,y),t(7,H),t(1,s)})}function S(R){W[R?"unshift":"push"](()=>{p=R,t(5,p),t(7,H),t(1,s)})}function re(R){W[R?"unshift":"push"](()=>{v=R,t(4,v),t(7,H),t(1,s)})}function ie(R){W[R?"unshift":"push"](()=>{h=R,t(8,h),t(7,H),t(1,s)})}return i.$$set=R=>{"heading"in R&&t(0,a=R.heading),"closable"in R&&t(14,l=R.closable),"open"in R&&t(1,s=R.open),"transition"in R&&t(15,c=R.transition),"width"in R&&t(2,u=R.width),"calloutvariant"in R&&t(3,f=R.calloutvariant)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=K(l)),i.$$.dirty&2&&setTimeout(()=>t(7,H=K(s)),1),i.$$.dirty&128&&(H||(t(4,v=t(5,p=t(8,h=t(6,y=null)))),window.removeEventListener("keydown",A))),i.$$.dirty&176&&H&&p&&v&&p.scrollHeight>p.offsetHeight&&v.classList.add("scroll-top"),i.$$.dirty&208&&H&&v){window.addEventListener("keydown",A);const R=T();(y.querySelector("div.modal-title").textContent||y.querySelector("div.modal-close")||R.length)&&y.classList.add("has-content")}i.$$.dirty&32768&&t(11,n=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,o=f==="emergency"?"warning":f==="important"?"alert-circle":f==="information"?"information-circle":f==="success"?"checkmark-circle":f==="event"?"calendar":"")},[a,s,u,f,v,p,y,H,h,r,o,n,x,I,l,c,L,S,re,ie]}class mo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ho,go,B,{heading:0,closable:14,open:1,transition:15,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",mo);function yi(i){let e,t,r,n,o,a,l,s,c,u,f,h,v,p,y;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=N(),a=b("div"),a.innerHTML="<slot></slot>",l=N(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(w,_){k(w,e,_),m(e,t),m(t,r),m(e,o),m(e,a),m(e,l),m(e,s),m(s,c),v=!0,p||(y=q(c,"click",i[3]),p=!0)},p(w,_){(!v||_&4)&&M(r,"type",w[2]),(!v||_&1&&n!==(n=w[0]==="important"?"false":"true"))&&M(r,"inverted",n),(!v||_&1&&u!==(u=w[0]==="important"?"false":"true"))&&M(c,"inverted",u),(!v||_&1&&f!==(f="notification "+w[0]))&&d(e,"class",f)},i(w){v||(be(()=>{h||(h=et(e,De,{},!0)),h.run(1)}),v=!0)},o(w){h||(h=et(e,De,{},!1)),h.run(0),v=!1},d(w){w&&E(e),w&&h&&h.end(),p=!1,y()}}}function bo(i){let e,t,r=i[1]&&yi(i);return{c(){r&&r.c(),e=pe(),this.c=C},m(n,o){r&&r.m(n,o),k(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&X(r,1)):(r=yi(n),r.c(),X(r,1),r.m(e.parentNode,e)):r&&(Ae(),te(r,1,1,()=>{r=null}),Te())},i(n){t||(X(r),t=!0)},o(n){te(r),t=!1},d(n){r&&r.d(n),n&&E(e)}}}function vo(i,e,t){let r;const[n,o]=$("Notification type",["emergency","important","information","event"],!0);let{type:a=""}=e,l=!0;Q(()=>{setTimeout(()=>o(a),1)});function s(c){t(1,l=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}return i.$$set=c=>{"type"in c&&t(0,a=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=a==="emergency"?"warning":a==="important"?"alert-circle":a==="information"?"information-circle":a==="event"?"calendar":"")},[a,l,r,s]}class wo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vo,bo,B,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",wo);const yo=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function po(i){return yo.test(i)}function _o(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=C,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){k(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:C,o:C,d(n){n&&E(e)}}}function ko(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||po(l))}return Q(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Co extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},ko,_o,B,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",Co);function pi(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function _i(i){let e,t,r,n,o,a,l,s,c,u,f={length:i[8]},h=[];for(let v=0;v<f.length;v+=1)h[v]=ki(pi(i,f,v));return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=N(),n=b("input"),o=N(),a=b("goa-dropdown");for(let v=0;v<h.length;v+=1)h[v].c();l=N(),s=b("span"),c=O("of "),u=O(i[8]),d(n,"type","hidden"),M(a,"value",i[0]),M(a,"width","70px"),M(e,"data-testid","page-selector"),M(e,"alignment","center"),M(e,"gap","s")},m(v,p){k(v,e,p),m(e,t),m(e,r),m(e,n),i[12](n),m(e,o),m(e,a);for(let y=0;y<h.length;y+=1)h[y].m(a,null);i[13](a),m(e,l),m(e,s),m(s,c),m(s,u)},p(v,p){if(p&256){f={length:v[8]};let y;for(y=0;y<f.length;y+=1){const w=pi(v,f,y);h[y]?h[y].p(w,p):(h[y]=ki(w),h[y].c(),h[y].m(a,null))}for(;y<h.length;y+=1)h[y].d(1);h.length=f.length}p&1&&M(a,"value",v[0]),p&256&&U(u,v[8])},d(v){v&&E(e),i[12](null),He(h,v),i[13](null)}}}function ki(i){let e;return{c(){e=b("goa-dropdown-item"),M(e,"value",i[20]+1),M(e,"label",i[20]+1)},m(t,r){k(t,e,r)},p:C,d(t){t&&E(e)}}}function xo(i){let e,t,r,n,o,a,l,s,c,u,f,h,v,p=i[1]==="all"&&_i(i);return{c(){e=b("goa-block"),t=b("div"),p&&p.c(),r=N(),n=b("goa-block"),o=b("goa-button"),a=O("Previous"),s=N(),c=b("goa-button"),u=O("Next"),this.c=C,M(o,"type","tertiary"),M(o,"leadingicon","arrow-back"),M(o,"disabled",l=i[0]==1?"true":"false"),M(c,"type","tertiary"),M(c,"trailingicon","arrow-forward"),M(c,"disabled",f=i[0]==i[8]?"true":"false"),M(n,"alignment","center"),M(n,"gap","m"),M(n,"data-testid","page-links"),d(t,"class","controls"),M(e,"id","root"),M(e,"ml",i[5]),M(e,"mr",i[3]),M(e,"mb",i[4]),M(e,"mt",i[2])},m(y,w){k(y,e,w),m(e,t),p&&p.m(t,null),m(t,r),m(t,n),m(n,o),m(o,a),m(n,s),m(n,c),m(c,u),h||(v=[q(o,"click",i[14]),q(c,"click",i[15])],h=!0)},p(y,[w]){y[1]==="all"?p?p.p(y,w):(p=_i(y),p.c(),p.m(t,r)):p&&(p.d(1),p=null),w&1&&l!==(l=y[0]==1?"true":"false")&&M(o,"disabled",l),w&257&&f!==(f=y[0]==y[8]?"true":"false")&&M(c,"disabled",f),w&32&&M(e,"ml",y[5]),w&8&&M(e,"mr",y[3]),w&16&&M(e,"mb",y[4]),w&4&&M(e,"mt",y[2])},i:C,o:C,d(y){y&&E(e),p&&p.d(),h=!1,ae(v)}}}function Mo(i,e,t){let r;const[n,o]=$("Pagination variant",["all","links-only"]);let{pagenumber:a}=e,{itemcount:l}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:u=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:v=null}=e,p=null,y=null;Q(async()=>{await fe(),it("GoAPagination",{itemcount:l,pagenumber:a}),o(c),p&&p.addEventListener("_change",x=>{const A=Number.parseInt(x.detail.value);x.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}}))})});function w(x,A){const I=Number.parseInt(a+"")+A;I>0&&I<=r&&x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:I}})),x.preventDefault()}function _(x){W[x?"unshift":"push"](()=>{y=x,t(7,y)})}function z(x){W[x?"unshift":"push"](()=>{p=x,t(6,p)})}const D=x=>w(x,-1),H=x=>w(x,1);return i.$$set=x=>{"pagenumber"in x&&t(0,a=x.pagenumber),"itemcount"in x&&t(10,l=x.itemcount),"perpagecount"in x&&t(11,s=x.perpagecount),"variant"in x&&t(1,c=x.variant),"mt"in x&&t(2,u=x.mt),"mr"in x&&t(3,f=x.mr),"mb"in x&&t(4,h=x.mb),"ml"in x&&t(5,v=x.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/s))},[a,c,u,f,h,v,p,y,r,w,l,s,_,z,D,H]}class Ci extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Mo,xo,B,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",Ci);function xi(i){let e,t,r,n,o,a,l,s;return{c(){e=b("goa-focus-trap"),t=b("div"),r=N(),n=b("div"),o=b("section"),a=b("slot"),d(t,"data-testid","popover-background"),d(t,"class","popover-background"),d(o,"data-testid","popover-content"),d(o,"class","popover-content"),J(o,"max-width",i[1]),J(o,"padding",i[4]?"var(--goa-space-m)":"0"),d(n,"class","popover-container"),M(e,"active",i[2])},m(c,u){k(c,e,u),m(e,t),m(e,r),m(e,n),m(n,o),m(o,a),l||(s=q(t,"click",i[6]),l=!0)},p(c,u){u&2&&J(o,"max-width",c[1]),u&16&&J(o,"padding",c[4]?"var(--goa-space-m)":"0"),u&4&&M(e,"active",c[2])},d(c){c&&E(e),l=!1,s()}}}function zo(i){let e,t,r,n,o,a=i[2]&&xi(i);return{c(){e=b("div"),t=b("div"),t.innerHTML='<slot name="target" tabindex="-1"></slot>',r=N(),a&&a.c(),this.c=C,d(t,"class","popover-target"),d(t,"tabindex","0"),d(t,"data-testid","popover-target"),d(e,"data-testid",i[0])},m(l,s){k(l,e,s),m(e,t),i[8](t),m(e,r),a&&a.m(e,null),n||(o=q(t,"click",i[5]),n=!0)},p(l,[s]){l[2]?a?a.p(l,s):(a=xi(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&1&&d(e,"data-testid",l[0])},i:C,o:C,d(l){l&&E(e),i[8](null),a&&a.d(),n=!1,o()}}}function Eo(i,e,t){let r,{testid:n=""}=e,{maxwidth:o="320px"}=e,{padded:a="true"}=e,l=!1,s;Q(async()=>{await fe(),h()}),xt(()=>{v()});function c(){t(2,l=!0)}function u(){t(2,l=!1)}const f=w=>{switch(w.key){case" ":case"Enter":l?u():c(),w.preventDefault();break;case"Escape":l&&u(),w.preventDefault();break}};function h(){s.addEventListener("focus",p,!0)}function v(){s.removeEventListener("focus",p),s.removeEventListener("keydown",f)}function p(){s.addEventListener("keydown",f)}function y(w){W[w?"unshift":"push"](()=>{s=w,t(3,s)})}return i.$$set=w=>{"testid"in w&&t(0,n=w.testid),"maxwidth"in w&&t(1,o=w.maxwidth),"padded"in w&&t(7,a=w.padded)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=K(a))},[n,o,l,s,r,c,u,a,y]}class Lo extends Z{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>",G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Eo,zo,B,{testid:0,maxwidth:1,padded:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","maxwidth","padded"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get padded(){return this.$$.ctx[7]}set padded(e){this.$$set({padded:e}),g()}}customElements.define("goa-popover",Lo);function Mi(i,e,t){const r=i.slice();return r[22]=e[t],r}function zi(i,e){let t,r,n,o,a,l,s,c,u,f=(e[22].label||e[22].value)+"",h,v,p,y,w;function _(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),l=N(),s=b("div"),c=N(),u=b("span"),h=O(f),v=N(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=o=e[22].value===e[0],d(r,"aria-label",a=e[4]||e[1]),d(s,"class","goa-radio-icon"),d(u,"class","goa-radio-label"),d(t,"data-testid",p="radio-option-"+e[22].value),d(t,"class","goa-radio"),F(t,"goa-radio--disabled",e[12]),F(t,"goa-radio--error",e[11]),this.first=t},m(z,D){k(z,t,D),m(t,r),m(t,l),m(t,s),m(t,c),m(t,u),m(u,h),m(t,v),y||(w=q(r,"change",_),y=!0)},p(z,D){e=z,D&2&&d(r,"name",e[1]),D&512&&n!==(n=e[22].value)&&(r.value=n),D&4096&&(r.disabled=e[12]),D&513&&o!==(o=e[22].value===e[0])&&(r.checked=o),D&18&&a!==(a=e[4]||e[1])&&d(r,"aria-label",a),D&512&&f!==(f=(e[22].label||e[22].value)+"")&&U(h,f),D&512&&p!==(p="radio-option-"+e[22].value)&&d(t,"data-testid",p),D&4096&&F(t,"goa-radio--disabled",e[12]),D&2048&&F(t,"goa-radio--error",e[11])},d(z){z&&E(t),y=!1,w()}}}function Ho(i){let e,t,r,n=[],o=new Map,a,l,s=i[9];const c=u=>u[22].value;for(let u=0;u<s.length;u+=1){let f=Mi(i,s,u),h=c(f);o.set(h,n[u]=zi(h,f))}return{c(){e=b("div"),t=b("slot"),r=N();for(let u=0;u<n.length;u+=1)n[u].c();this.c=C,d(e,"style",a=Y(i[5],i[6],i[7],i[8])),d(e,"class",l=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(u,f){k(u,e,f),m(e,t),m(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(u,[f]){f&14867&&(s=u[9],n=Tt(n,f,c,1,u,s,o,e,At,zi,null,Mi)),f&480&&a!==(a=Y(u[5],u[6],u[7],u[8]))&&d(e,"style",a),f&4&&l!==(l=`goa-radio-group--${u[2]}`)&&d(e,"class",l),f&8&&d(e,"data-testid",u[3])},i:C,o:C,d(u){u&&E(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function Ao(i,e,t){let r,n;const[o,a]=$("Radio group orientation",["vertical","horizontal"]);let{name:l}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:u="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:v=""}=e,{mt:p=null}=e,{mr:y=null}=e,{mb:w=null}=e,{ml:_=null}=e,z=[],D;Q(async()=>{await fe(),t(9,z=x())});function H(){const L=D.querySelector("slot");return L?[...L.assignedElements()]:[...D.children]}function x(){return H().map(S=>{const re=S,ie=S.getAttribute("value")||re.value,R=S.getAttribute("label")||S.innerText||re.label||re.innerText;return{value:ie,label:R}})}function A(L){L!==s&&(t(0,s=L),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:s}})))}Q(()=>{a(c)});const I=L=>A(L.value);function T(L){W[L?"unshift":"push"](()=>{D=L,t(10,D)})}return i.$$set=L=>{"name"in L&&t(1,l=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=L.orientation),"disabled"in L&&t(14,u=L.disabled),"error"in L&&t(15,f=L.error),"testid"in L&&t(3,h=L.testid),"arialabel"in L&&t(4,v=L.arialabel),"mt"in L&&t(5,p=L.mt),"mr"in L&&t(6,y=L.mr),"mb"in L&&t(7,w=L.mb),"ml"in L&&t(8,_=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=K(u)),i.$$.dirty&32768&&t(11,n=K(f))},[s,l,c,h,v,p,y,w,_,z,D,n,r,A,u,f,I,T]}class To extends Z{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
106
106
|
var(--goa-color-interactive-hover);box-shadow:none}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:hover~.goa-radio-icon{box-shadow:0 0 0 1px var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`,G(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ao,Ho,B,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-radio-group",To);function Io(i){let e,t,r,n,o;return{c(){e=b("div"),t=b("slot"),this.c=C,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
107
107
|
max-height: ${i[3]||"50vh"};
|
|
108
108
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|