@abgov/web-components 1.0.0-alpha.150 → 1.0.0-alpha.151
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 +7 -8
- package/web-components.umd.js +57 -58
package/web-components.umd.js
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://p.typekit.net/p.css?s=1&k=nur5yta&ht=tk&f=26036.26037.26044.26046.26047&a=14638192&app=typekit&e=css";@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:acumin-pro-semi-condensed,sans-serif;font-weight:400;font-size:var(--goa-font-size-4);color:var(--goa-color-text-default)}body{margin:0;scroll-behavior:smooth;line-height:var(--goa-line-height-2)}*,*:before,*:after{box-sizing:border-box}p{margin:0;margin-bottom:1rem}hr{border-width:0;border-top:1px solid #ccc;height:0;padding:0;margin:2rem 0}ul,ol{padding-left:0;padding-left:1rem}li>ul,li>ol,li>ul,li>ol{padding-left:0;margin-top:0}dl{margin-top:0}dd{margin-left:.5rem}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}::placeholder{color:#999;opacity:1}:-ms-input-placeholder{color:#999}::-ms-input-placeholder{color:#999}h1{font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}h2{font-size:var(--goa-font-size-9);line-height:var(--goa-line-height-6);font-weight:var(--goa-font-weight-regular)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4);font-weight:var(--goa-font-weight-regular)}h4,h5,h6{font-size:var(--goa-font-size-4);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-bold)}h3+h1{margin-top:-1rem}p{margin-bottom:1rem;font-size:var(--goa-font-size-4)}em{font-size:var(--goa-font-size-1);line-height:var(--goa-line-height-1);color:var(--goa-color-greyscale-200)}small{font-size:var(--goa-font-size-1);font-style:normal;color:var(--goa-color-greyscale-200)}goa-two-column-layout h1:first-of-type,goa-two-column-layout h2:first-of-type,goa-two-column-layout h3:first-of-type,goa-container h1:first-of-type,goa-container h2:first-of-type,goa-container h3:first-of-type{margin-top:0}goa-two-column-layout [slot=nav] a{display:block;padding:.5rem 0}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/l?subset_id=1&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/d?subset_id=1&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/a?subset_id=1&fvd=n4&v=3) format("opentype");font-style:normal;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/l?subset_id=1&fvd=i4&v=3) format("woff2"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/d?subset_id=1&fvd=i4&v=3) format("woff"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/a?subset_id=1&fvd=i4&v=3) format("opentype");font-style:italic;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/l?subset_id=1&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/d?subset_id=1&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/a?subset_id=1&fvd=n7&v=3) format("opentype");font-style:normal;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/l?subset_id=1&fvd=i7&v=3) format("woff2"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/d?subset_id=1&fvd=i7&v=3) format("woff"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/a?subset_id=1&fvd=i7&v=3) format("opentype");font-style:italic;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/l?subset_id=1&fvd=n6&v=3) format("woff2"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/d?subset_id=1&fvd=n6&v=3) format("woff"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/a?subset_id=1&fvd=n6&v=3) format("opentype");font-style:normal;font-weight:600}@font-face{font-family:roboto-mono;src:url(https://fonts.gstatic.com/s/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format("woff2");font-style:normal;font-weight:400}:root{--font-valign-fix: .1rem;--shadow-0: 0 0 rgba(0, 0, 0, 0);--shadow-1: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24);--shadow-2: 0 3px 6px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .12);--shadow-3: 0 10px 20px rgba(0, 0, 0, .15), 0 3px 6px rgba(0, 0, 0, .1);--shadow-4: 0 15px 25px rgba(0, 0, 0, .15), 0 5px 10px rgba(0, 0, 0, .05);--shadow-5: 0 20px 40px rgba(0, 0, 0, .2)}:root{--goa-color-brand-default: #0081a2;--goa-color-brand-dark: #005072;--goa-color-brand-light: #c8eefa;--goa-color-interactive-default: #0070c4;--goa-color-interactive-hover: #004f84;--goa-color-interactive-error: #ec040b;--goa-color-interactive-focus: #feba35;--goa-color-interactive-disabled: #80b7e1;--goa-color-text-default: #333333;--goa-color-text-secondary: #666666;--goa-color-text-light: #ffffff;--goa-color-text-disabled: #666666;--goa-color-info-default: #005daa;--goa-color-info-light: #b2d4ed;--goa-color-info-dark: #00347a;--goa-color-info-background: #eff8ff;--goa-color-warning-default: #feba35;--goa-color-warning-light: #fcefd0;--goa-color-warning-dark: #c68a00;--goa-color-warning-background: #fff6e5;--goa-color-emergency-default: #ec040b;--goa-color-emergency-light: #ffcecf;--goa-color-emergency-dark: #b00000;--goa-color-emergency-background: #fff1f2;--goa-color-success-default: #00853f;--goa-color-success-light: #c6e0d0;--goa-color-success-dark: #005715;--goa-color-success-background: #eef9f3;--goa-color-greyscale-100: #f1f1f1;--goa-color-greyscale-200: #dcdcdc;--goa-color-greyscale-400: #adadad;--goa-color-greyscale-500: #949494;--goa-color-greyscale-600: #858585;--goa-color-greyscale-700: #666666;--goa-color-greyscale-black: #333333;--goa-color-greyscale-white: #ffffff;--goa-font-weight-regular: 400;--goa-font-weight-medium: 500;--goa-font-weight-bold: 700;--goa-font-size-1: .75rem;--goa-font-size-2: .875rem;--goa-font-size-3: 1rem;--goa-font-size-4: 1.125rem;--goa-font-size-5: 1.25rem;--goa-font-size-6: 1.375rem;--goa-font-size-7: 1.5rem;--goa-font-size-8: 2rem;--goa-font-size-9: 2.25rem;--goa-font-size-10: 3rem;--goa-space-none: 0rem;--goa-space-3xs: .125rem;--goa-space-2xs: .25rem;--goa-space-xs: .5rem;--goa-space-s: .75rem;--goa-space-m: 1rem;--goa-space-l: 1.5rem;--goa-space-xl: 2rem;--goa-space-2xl: 3rem;--goa-space-3xl: 4rem;--goa-space-4xl: 8rem;--goa-border-radius-none: 0rem;--goa-border-radius-m: .25rem;--goa-opacity-background-modal: 50%;--goa-opacity-background-loading: 90%;--goa-line-height-1: 1.25rem;--goa-line-height-2: 1.5rem;--goa-line-height-3: 1.75rem;--goa-line-height-4: 2rem;--goa-line-height-5: 2.5rem;--goa-line-height-6: 2.75rem;--goa-line-height-7: 3.5rem;--goa-line-height-05: 1.125rem;--goa-font-family-sans: acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-font-family-number: roboto-mono, monospace;--goa-typography-heading-xs: 700 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-s: 700 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-m: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-l: 400 2.25rem/2.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-xl: 700 3rem/3.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-xs: 400 .875rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-s: 400 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-m: 400 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-l: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-button-default: 400 1.125rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-number-m: 500 1.125rem/1.75rem roboto-mono, monospace;--goa-border-width-s: 1px;--goa-border-width-m: 2px;--goa-border-width-l: 3px;--goa-letter-spacing-button: .0125rem;--goa-icon-size-s: 1rem;--goa-icon-size-m: 1.25rem;--goa-icon-size-l: 1.5rem;--goa-shadow-modal: 6px 6px 6px 0px rgba(0,0,0,.16)}
|
|
2
|
-
`;document.head.appendChild(__vite_style__);(function(ye,x){typeof exports=="object"&&typeof module!="undefined"?x(exports):typeof define=="function"&&define.amd?define(["exports"],x):(ye=typeof globalThis!="undefined"?globalThis:ye||self,x(ye["web-components"]={}))})(this,function(ye){"use strict";function x(){}const De=i=>i;function dt(i,e){for(const t in e)i[t]=e[t];return i}function it(i){return i()}function ut(){return Object.create(null)}function oe(i){i.forEach(it)}function fe(i){return typeof i=="function"}function B(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ge;function ze(i,e){return Ge||(Ge=document.createElement("a")),Ge.href=e,i===Ge.href}function Mi(i){return Object.keys(i).length===0}function Ci(i,...e){if(i==null)return x;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Ei(i,e,t){i.$$.on_destroy.push(Ci(e,t))}function ft(i){return i&&fe(i.destroy)?i.destroy:x}const gt=typeof window!="undefined";let Ye=gt?()=>window.performance.now():()=>Date.now(),rt=gt?i=>requestAnimationFrame(i):x;const Me=new Set;function ht(i){Me.forEach(e=>{e.c(i)||(Me.delete(e),e.f())}),Me.size!==0&&rt(ht)}function Ze(i){let e;return Me.size===0&&rt(ht),{promise:new Promise(t=>{Me.add(e={c:i,f:t})}),abort(){Me.delete(e)}}}function m(i,e){i.appendChild(e)}function mt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ai(i){const e=y("style");return Ti(mt(i),e),e.sheet}function Ti(i,e){return m(i.head||i,e),e.sheet}function p(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode.removeChild(i)}function Ve(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function y(i){return document.createElement(i)}function we(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function V(i){return document.createTextNode(i)}function j(){return V(" ")}function _e(){return V("")}function F(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(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:u(i,e,t)}function Li(i){return Array.from(i.childNodes)}function U(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function $(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function O(i,e,t){i.classList[t?"add":"remove"](e)}function Ii(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const
|
|
3
|
-
`;for(let w=0;w<=1;w+=s){const b=e+(t-e)*
|
|
2
|
+
`;document.head.appendChild(__vite_style__);(function(ye,x){typeof exports=="object"&&typeof module!="undefined"?x(exports):typeof define=="function"&&define.amd?define(["exports"],x):(ye=typeof globalThis!="undefined"?globalThis:ye||self,x(ye["web-components"]={}))})(this,function(ye){"use strict";function x(){}const De=i=>i;function dt(i,e){for(const t in e)i[t]=e[t];return i}function it(i){return i()}function ut(){return Object.create(null)}function oe(i){i.forEach(it)}function fe(i){return typeof i=="function"}function B(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ge;function ze(i,e){return Ge||(Ge=document.createElement("a")),Ge.href=e,i===Ge.href}function Mi(i){return Object.keys(i).length===0}function Ci(i,...e){if(i==null)return x;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Ei(i,e,t){i.$$.on_destroy.push(Ci(e,t))}function ft(i){return i&&fe(i.destroy)?i.destroy:x}const gt=typeof window!="undefined";let Ye=gt?()=>window.performance.now():()=>Date.now(),rt=gt?i=>requestAnimationFrame(i):x;const Me=new Set;function ht(i){Me.forEach(e=>{e.c(i)||(Me.delete(e),e.f())}),Me.size!==0&&rt(ht)}function Ze(i){let e;return Me.size===0&&rt(ht),{promise:new Promise(t=>{Me.add(e={c:i,f:t})}),abort(){Me.delete(e)}}}function m(i,e){i.appendChild(e)}function mt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ai(i){const e=y("style");return Ti(mt(i),e),e.sheet}function Ti(i,e){return m(i.head||i,e),e.sheet}function p(i,e,t){i.insertBefore(e,t||null)}function A(i){i.parentNode.removeChild(i)}function Ve(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function y(i){return document.createElement(i)}function we(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function V(i){return document.createTextNode(i)}function j(){return V(" ")}function _e(){return V("")}function F(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(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:u(i,e,t)}function Li(i){return Array.from(i.childNodes)}function U(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function $(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function O(i,e,t){i.classList[t?"add":"remove"](e)}function Ii(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const a=document.createEvent("CustomEvent");return a.initCustomEvent(i,t,r,e),a}function G(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Qe=new Map;let Fe=0;function Ni(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Di(i,e){const t={stylesheet:Ai(e),rules:{}};return Qe.set(i,t),t}function Ue(i,e,t,r,a,n,l,o=0){const s=16.666/r;let c=`{
|
|
3
|
+
`;for(let w=0;w<=1;w+=s){const b=e+(t-e)*n(w);c+=w*100+`%{${l(b,1-b)}}
|
|
4
4
|
`}const d=c+`100% {${l(t,1-t)}}
|
|
5
|
-
}`,f=`__svelte_${Ni(d)}_${o}`,h=mt(i),{stylesheet:k,rules:v}=Qe.get(h)||Di(h,i);v[f]||(v[f]=!0,k.insertRule(`@keyframes ${f} ${d}`,k.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${
|
|
5
|
+
}`,f=`__svelte_${Ni(d)}_${o}`,h=mt(i),{stylesheet:k,rules:v}=Qe.get(h)||Di(h,i);v[f]||(v[f]=!0,k.insertRule(`@keyframes ${f} ${d}`,k.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${a}ms 1 both`,Fe+=1,f}function qe(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),a=t.length-r.length;a&&(i.style.animation=r.join(", "),Fe-=a,Fe||ji())}function ji(){rt(()=>{Fe||(Qe.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&A(e)}),Qe.clear())})}let je;function Re(i){je=i}function bt(){if(!je)throw new Error("Function called outside component initialization");return je}function q(i){bt().$$.on_mount.push(i)}function Ri(i){bt().$$.on_destroy.push(i)}const He=[],te=[],We=[],vt=[],yt=Promise.resolve();let at=!1;function wt(){at||(at=!0,yt.then(g))}function ge(){return wt(),yt}function de(i){We.push(i)}const nt=new Set;let Ke=0;function g(){const i=je;do{for(;Ke<He.length;){const e=He[Ke];Ke++,Re(e),Hi(e.$$)}for(Re(null),He.length=0,Ke=0;te.length;)te.pop()();for(let e=0;e<We.length;e+=1){const t=We[e];nt.has(t)||(nt.add(t),t())}We.length=0}while(He.length);for(;vt.length;)vt.pop()();at=!1,nt.clear(),Re(i)}function Hi(i){if(i.fragment!==null){i.update(),oe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(de)}}let Se;function ot(){return Se||(Se=Promise.resolve(),Se.then(()=>{Se=null})),Se}function ke(i,e,t){i.dispatchEvent(Ii(`${e?"intro":"outro"}${t}`))}const Xe=new Set;let ue;function Ce(){ue={r:0,c:[],p:ue}}function Ee(){ue.r||oe(ue.c),ue=ue.p}function K(i,e){i&&i.i&&(Xe.delete(i),i.i(e))}function X(i,e,t,r){if(i&&i.o){if(Xe.has(i))return;Xe.add(i),ue.c.push(()=>{Xe.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const lt={duration:0};function _t(i,e,t){let r=e(i,t),a=!1,n,l,o=0;function s(){n&&qe(i,n)}function c(){const{delay:f=0,duration:h=300,easing:k=De,tick:v=x,css:_}=r||lt;_&&(n=Ue(i,0,1,h,f,k,_,o++)),v(0,1);const w=Ye()+f,b=w+h;l&&l.abort(),a=!0,de(()=>ke(i,!0,"start")),l=Ze(z=>{if(a){if(z>=b)return v(1,0),ke(i,!0,"end"),s(),a=!1;if(z>=w){const D=k((z-w)/h);v(D,1-D)}}return a})}let d=!1;return{start(){d||(d=!0,qe(i),fe(r)?(r=r(),ot().then(c)):c())},invalidate(){d=!1},end(){a&&(s(),a=!1)}}}function kt(i,e,t){let r=e(i,t),a=!0,n;const l=ue;l.r+=1;function o(){const{delay:s=0,duration:c=300,easing:d=De,tick:f=x,css:h}=r||lt;h&&(n=Ue(i,1,0,c,s,d,h));const k=Ye()+s,v=k+c;de(()=>ke(i,!1,"start")),Ze(_=>{if(a){if(_>=v)return f(0,1),ke(i,!1,"end"),--l.r||oe(l.c),!1;if(_>=k){const w=d((_-k)/c);f(1-w,w)}}return a})}return fe(r)?ot().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),a&&(n&&qe(i,n),a=!1)}}}function Je(i,e,t,r){let a=e(i,t),n=r?0:1,l=null,o=null,s=null;function c(){s&&qe(i,s)}function d(h,k){const v=h.b-n;return k*=Math.abs(v),{a:n,b:h.b,d:v,duration:k,start:h.start,end:h.start+k,group:h.group}}function f(h){const{delay:k=0,duration:v=300,easing:_=De,tick:w=x,css:b}=a||lt,z={start:Ye()+k,b:h};h||(z.group=ue,ue.r+=1),l||o?o=z:(b&&(c(),s=Ue(i,n,h,v,k,_,b)),h&&w(0,1),l=d(z,v),de(()=>ke(i,h,"start")),Ze(D=>{if(o&&D>o.start&&(l=d(o,v),o=null,ke(i,l.b,"start"),b&&(c(),s=Ue(i,n,l.b,l.duration,0,_,a.css))),l){if(D>=l.end)w(n=l.b,1-n),ke(i,l.b,"end"),o||(l.b?c():--l.group.r||oe(l.group.c)),l=null;else if(D>=l.start){const L=D-l.start;n=l.a+l.d*_(L/l.duration),w(n,1-n)}}return!!(l||o)}))}return{run(h){fe(a)?ot().then(()=>{a=a(),f(h)}):f(h)},end(){c(),l=o=null}}}function pt(i,e){i.d(1),e.delete(i.key)}function xt(i,e,t,r,a,n,l,o,s,c,d,f){let h=i.length,k=n.length,v=h;const _={};for(;v--;)_[i[v].key]=v;const w=[],b=new Map,z=new Map;for(v=k;v--;){const E=f(a,n,v),I=t(E);let N=l.get(I);N?r&&N.p(E,e):(N=c(I,E),N.c()),b.set(I,w[v]=N),I in _&&z.set(I,Math.abs(v-_[I]))}const D=new Set,L=new Set;function M(E){K(E,1),E.m(o,d),l.set(E.key,E),d=E.first,k--}for(;h&&k;){const E=w[k-1],I=i[h-1],N=E.key,T=I.key;E===I?(d=E.first,h--,k--):b.has(T)?!l.has(N)||D.has(N)?M(E):L.has(T)?h--:z.get(N)>z.get(T)?(L.add(N),M(E)):(D.add(T),h--):(s(I,l),h--)}for(;h--;){const E=i[h];b.has(E.key)||s(E,l)}for(;k;)M(w[k-1]);return w}function pe(i){i&&i.c()}function he(i,e,t,r){const{fragment:a,after_update:n}=i.$$;a&&a.m(e,t),r||de(()=>{const l=i.$$.on_mount.map(it).filter(fe);i.$$.on_destroy?i.$$.on_destroy.push(...l):oe(l),i.$$.on_mount=[]}),n.forEach(de)}function me(i,e){const t=i.$$;t.fragment!==null&&(oe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Si(i,e){i.$$.dirty[0]===-1&&(He.push(i),wt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Y(i,e,t,r,a,n,l,o=[-1]){const s=je;Re(i);const c=i.$$={fragment:null,ctx:[],props:n,update:x,not_equal:a,bound:ut(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:ut(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};l&&l(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...k)=>{const v=k.length?k[0]:h;return c.ctx&&a(c.ctx[f],c.ctx[f]=v)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](v),d&&Si(i,f)),h}):[],c.update(),d=!0,oe(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Li(e.target);c.fragment&&c.fragment.l(f),f.forEach(A)}else c.fragment&&c.fragment.c();e.intro&&K(i.$$.fragment),he(i,e.target,e.anchor,e.customElement),g()}Re(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(it).filter(fe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){oe(this.$$.on_disconnect)}$destroy(){me(this,1),this.$destroy=x}$on(i,e){if(!fe(e))return x;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&&!Mi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var On="",Bn="",Pn="",Gn="",Yn="";function Z(i,e,t,r){return[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,r&&`margin-left:var(--goa-space-${r});`].join(" ")}function zt(i,e,t,r){const a=document.createElement("style"),n=Object.entries(t).map(l=>`${l[0]}: ${l[1]};`).join(" ");r?a.innerHTML=`@media (${r}) { ${e} {${n}} }`:a.innerHTML=`${e} {${n}}`,i.appendChild(a)}function Q(i){return i==="false"?!1:i===""?!0:!!i}function Oi(i){return i?"true":"false"}function st(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function W(i,e,t=!1){return[e,a=>{!t&&!a||e.includes(a)||console.error(`[${a}] is an invalid ${i.toLowerCase()}`)}]}function Bi(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,v,_,w,b,z,D,L,M,E;return{c(){e=y("div"),t=y("details"),r=y("summary"),a=y("goa-icon"),l=j(),o=y("div"),s=y("span"),c=V(i[0]),h=j(),k=y("span"),v=V(i[1]),_=j(),w=y("div"),w.innerHTML='<slot name="headingcontent"></slot>',z=j(),D=y("div"),D.innerHTML="<slot></slot>",this.c=x,C(a,"type","chevron-forward"),C(a,"fillcolor",n=i[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(s,"class",d="heading heading-"+i[2]),u(s,"data-testid",f=`${i[3]}-heading`),u(k,"class","secondary-text"),u(w,"class","heading-content"),u(o,"class","title"),u(r,"class",b=`container-${i[2]}`),u(D,"class","content"),t.open=i[9],u(e,"style",L=Z(i[4],i[5],i[6],i[7])),u(e,"class",`
|
|
6
6
|
goa-accordion
|
|
7
|
-
`),u(e,"data-testid",i[3])},m(I,N){p(I,e,N),m(e,t),m(t,r),m(r,
|
|
8
|
-
}.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pi,Bi,B,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",Gi);function Yi(i){let e,t,r,n,a,l,o,s,c;return{c(){e=y("div"),t=y("img"),n=j(),a=y("img"),o=j(),s=y("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="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")||u(t,"src",r),u(a,"alt","GoA Logo"),u(a,"class","image-desktop"),ze(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")||u(a,"src",l),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,a),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&U(c,d[0])},d(d){d&&A(e)}}}function Zi(i){let e,t,r,n,a,l,o,s,c;return{c(){e=y("a"),t=y("img"),n=j(),a=y("img"),o=j(),s=y("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="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")||u(t,"src",r),u(a,"alt","GoA Logo"),u(a,"class","image-desktop"),ze(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")||u(a,"src",l),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,n),m(e,a),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&U(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&A(e)}}}function Vi(i){let e,t,r,n,a;function l(c,d){return c[1]?Zi:Yi}let o=l(i),s=o(i);return{c(){e=y("div"),t=y("div"),s.c(),r=j(),n=y("div"),n.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",a=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[d]){o===(o=l(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&a!==(a=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",a)},i:x,o:x,d(c){c&&A(e),s.d()}}}function Qi(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:a=""}=e,{maxcontentwidth:l=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,n=o.url),"testid"in o&&t(2,a=o.testid),"maxcontentwidth"in o&&t(3,l=o.maxcontentwidth)},[r,n,a,l]}class Fi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.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: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Qi,Vi,B,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",Fi);function Ui(i){let e;return{c(){e=y("div"),$(e,"height","1.2rem"),$(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:x,d(t){t&&A(e)}}}function qi(i){let e;return{c(){e=y("goa-icon"),C(e,"type",i[8]),C(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&C(e,"type",t[8])},d(t){t&&A(e)}}}function Mt(i){let e,t;return{c(){e=y("div"),t=V(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&4&&U(t,r[2])},d(r){r&&A(e)}}}function Wi(i){let e,t,r,n;function a(c,d){return c[7]?qi:Ui}let l=a(i),o=l(i),s=i[2]&&Mt(i);return{c(){e=y("div"),o.c(),t=j(),s&&s.c(),this.c=x,u(e,"style",r=Z(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),O(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),o.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){l===(l=a(c))&&o?o.p(c,d):(o.d(1),o=l(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,d):(s=Mt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=Z(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&O(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&A(e),o.d(),s&&s.d()}}}function Ki(i,e,t){let r,n;const[a,l]=W("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:o}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:k=null}=e,{ml:v=null}=e;return q(()=>{l(o),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,o=_.type),"testid"in _&&t(1,s=_.testid),"content"in _&&t(2,c=_.content),"icon"in _&&t(9,d=_.icon),"mt"in _&&t(3,f=_.mt),"mr"in _&&t(4,h=_.mr),"mb"in _&&t(5,k=_.mb),"ml"in _&&t(6,v=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=Q(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,s,c,f,h,k,v,r,n,d]}class Xi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ki,Wi,B,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}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 content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",Xi);function Ji(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
|
|
7
|
+
`),u(e,"data-testid",i[3])},m(I,N){p(I,e,N),m(e,t),m(t,r),m(r,a),m(r,l),m(r,o),m(o,s),m(s,c),m(o,h),m(o,k),m(k,v),m(o,_),m(o,w),m(t,z),m(t,D),M||(E=[F(r,"mouseover",i[11]),F(r,"mouseout",i[12]),F(r,"focus",i[13]),F(r,"blur",i[14])],M=!0)},p(I,[N]){N&256&&n!==(n=I[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&C(a,"fillcolor",n),N&1&&U(c,I[0]),N&4&&d!==(d="heading heading-"+I[2])&&u(s,"class",d),N&8&&f!==(f=`${I[3]}-heading`)&&u(s,"data-testid",f),N&2&&U(v,I[1]),N&4&&b!==(b=`container-${I[2]}`)&&u(r,"class",b),N&512&&(t.open=I[9]),N&240&&L!==(L=Z(I[4],I[5],I[6],I[7]))&&u(e,"style",L),N&8&&u(e,"data-testid",I[3])},i:x,o:x,d(I){I&&A(e),M=!1,oe(E)}}}function Pi(i,e,t){let r;const[a,n]=W("Accordion heading size",["small","medium"]);let{open:l="false"}=e,{heading:o=""}=e,{secondarytext:s=""}=e,{headingsize:c="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:k="xs"}=e,{ml:v=null}=e,_=!1;q(()=>{st("GoAAccordion",{heading:o}),n(c)});const w=()=>t(8,_=!0),b=()=>t(8,_=!1),z=()=>t(8,_=!1),D=()=>t(8,_=!1);return i.$$set=L=>{"open"in L&&t(10,l=L.open),"heading"in L&&t(0,o=L.heading),"secondarytext"in L&&t(1,s=L.secondarytext),"headingsize"in L&&t(2,c=L.headingsize),"testid"in L&&t(3,d=L.testid),"mt"in L&&t(4,f=L.mt),"mr"in L&&t(5,h=L.mr),"mb"in L&&t(6,k=L.mb),"ml"in L&&t(7,v=L.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,r=Q(l))},[o,s,c,d,f,h,k,v,_,r,l,w,b,z,D]}class Gi extends P{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)}.goa-accordion,.goa-accordion *{box-sizing:border-box}summary{min-height:3.5rem;border-width:var(--goa-border-width-s);border-style:solid;border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-text-default);;;padding:0.875rem 1rem 0 0;cursor:pointer;list-style:none;display:flex;align-items:flex-start;position:relative}summary.container-medium{min-height:4rem}summary::marker,summary::-webkit-details-marker{display:none}summary .title{display:flex;align-items:center;flex:1}.title span{padding-bottom:var(--goa-space-3xs, 0)}summary .heading{font:var(--goa-typography-heading-s);padding-right:1rem}summary .secondary-text{font:var(--goa-typography-body-s);line-height:1.5rem;padding-right:1rem}summary .heading-content{flex:1
|
|
8
|
+
}.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pi,Bi,B,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",Gi);function Yi(i){let e,t,r,a,n,l,o,s,c;return{c(){e=y("div"),t=y("img"),a=j(),n=y("img"),o=j(),s=y("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="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")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.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")||u(n,"src",l),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,a),m(e,n),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&U(c,d[0])},d(d){d&&A(e)}}}function Zi(i){let e,t,r,a,n,l,o,s,c;return{c(){e=y("a"),t=y("img"),a=j(),n=y("img"),o=j(),s=y("span"),c=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="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")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.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")||u(n,"src",l),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),m(e,t),m(e,a),m(e,n),m(e,o),m(e,s),m(s,c)},p(d,f){f&1&&U(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&A(e)}}}function Vi(i){let e,t,r,a,n;function l(c,d){return c[1]?Zi:Yi}let o=l(i),s=o(i);return{c(){e=y("div"),t=y("div"),s.c(),r=j(),a=y("div"),a.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",n=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),m(e,t),s.m(t,null),m(t,r),m(t,a)},p(c,[d]){o===(o=l(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&n!==(n=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",n)},i:x,o:x,d(c){c&&A(e),s.d()}}}function Qi(i,e,t){let{heading:r=""}=e,{url:a=""}=e,{testid:n=""}=e,{maxcontentwidth:l=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,a=o.url),"testid"in o&&t(2,n=o.testid),"maxcontentwidth"in o&&t(3,l=o.maxcontentwidth)},[r,a,n,l]}class Fi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.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: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Qi,Vi,B,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",Fi);function Ui(i){let e;return{c(){e=y("div"),$(e,"height","1.2rem"),$(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:x,d(t){t&&A(e)}}}function qi(i){let e;return{c(){e=y("goa-icon"),C(e,"type",i[8]),C(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&C(e,"type",t[8])},d(t){t&&A(e)}}}function Mt(i){let e,t;return{c(){e=y("div"),t=V(i[2]),u(e,"class","goa-badge-content")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&4&&U(t,r[2])},d(r){r&&A(e)}}}function Wi(i){let e,t,r,a;function n(c,d){return c[7]?qi:Ui}let l=n(i),o=l(i),s=i[2]&&Mt(i);return{c(){e=y("div"),o.c(),t=j(),s&&s.c(),this.c=x,u(e,"style",r=Z(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",a="goa-badge badge-"+i[0]),O(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),o.m(e,null),m(e,t),s&&s.m(e,null)},p(c,[d]){l===(l=n(c))&&o?o.p(c,d):(o.d(1),o=l(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,d):(s=Mt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=Z(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&a!==(a="goa-badge badge-"+c[0])&&u(e,"class",a),d&133&&O(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&A(e),o.d(),s&&s.d()}}}function Ki(i,e,t){let r,a;const[n,l]=W("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:o}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:k=null}=e,{ml:v=null}=e;return q(()=>{l(o),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,o=_.type),"testid"in _&&t(1,s=_.testid),"content"in _&&t(2,c=_.content),"icon"in _&&t(9,d=_.icon),"mt"in _&&t(3,f=_.mt),"mr"in _&&t(4,h=_.mr),"mb"in _&&t(5,k=_.mb),"ml"in _&&t(6,v=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=Q(d)),i.$$.dirty&1&&t(8,a={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,s,c,f,h,k,v,r,a,d]}class Xi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ki,Wi,B,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}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 content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",Xi);function Ji(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
|
|
9
9
|
${Z(i[3],i[4],i[5],i[6])};
|
|
10
10
|
--gap: var(--goa-space-${i[0]});
|
|
11
11
|
--alignment: ${i[2]};
|
|
12
12
|
--direction: ${i[1]};
|
|
13
|
-
`)},m(n
|
|
14
|
-
${Z(
|
|
15
|
-
--gap: var(--goa-space-${
|
|
16
|
-
--alignment: ${
|
|
17
|
-
--direction: ${
|
|
18
|
-
`)&&u(e,"style",r)},i:x,o:x,d(
|
|
19
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},nr,rr,B,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",ar);function or(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(Z(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,a){p(n,e,a),m(e,t)},p(n,[a]){a&2&&u(e,"data-testid",n[1]),a&125&&r!==(r=""+(Z(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(n){n&&A(e)}}}function lr(i,e,t){let r,{alignment:n="start"}=e,{gap:a="relaxed"}=e,{testid:l=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=W("alignment",["start","end","center"]),[k,v]=W("gap",["relaxed","compact"]);return q(()=>{h(n),v(a)}),i.$$set=_=>{"alignment"in _&&t(7,n=_.alignment),"gap"in _&&t(0,a=_.gap),"testid"in _&&t(1,l=_.testid),"mt"in _&&t(2,o=_.mt),"mr"in _&&t(3,s=_.mr),"mb"in _&&t(4,c=_.mb),"ml"in _&&t(5,d=_.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[a,l,o,s,c,d,r,n]}class sr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},lr,or,B,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",sr);function At(i){let e,t;return{c(){e=y("h3"),t=V(i[5])},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&32&&U(t,r[5])},d(r){r&&A(e)}}}function cr(i){let e,t,r,n,a,l,o,s,c,d,f=i[5]&&At(i);return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),l=j(),o=y("span"),f&&f.c(),s=j(),c=y("slot"),this.c=x,C(r,"type",i[7]),C(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",a="icon "+i[4]),u(o,"class","content"),u(e,"style",d=Z(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,k){p(h,e,k),m(e,t),m(t,r),m(e,l),m(e,o),f&&f.m(o,null),m(o,s),m(o,c)},p(h,[k]){k&128&&C(r,"type",h[7]),k&16&&n!==(n=h[4]==="important"?"false":"true")&&C(r,"inverted",n),k&16&&a!==(a="icon "+h[4])&&u(t,"class",a),h[5]?f?f.p(h,k):(f=At(h),f.c(),f.m(o,s)):f&&(f.d(1),f=null),k&15&&d!==(d=Z(h[0],h[1],h[2],h[3]))&&u(e,"style",d),k&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&A(e),f&&f.d()}}}function dr(i,e,t){let r;const[n,a]=W("Callout type",["emergency","important","information","event","success"],!0);let{mt:l=null}=e,{mr:o=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return q(()=>{a(d)}),i.$$set=k=>{"mt"in k&&t(0,l=k.mt),"mr"in k&&t(1,o=k.mr),"mb"in k&&t(2,s=k.mb),"ml"in k&&t(3,c=k.ml),"type"in k&&t(4,d=k.type),"heading"in k&&t(5,f=k.heading),"testid"in k&&t(6,h=k.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[l,o,s,c,d,f,h,r]}class ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},dr,cr,B,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",ur);function fr(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class gr extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,fr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",gr);function hr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Z(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,a){p(n,e,a),m(e,t)},p(n,[a]){a&128&&u(e,"data-testid",n[7]),a&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+Z(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(n){n&&A(e)}}}function mr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:a="auto"}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,a=f.height),"mt"in f&&t(3,l=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,a,l,o,s,c,d]}class br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},mr,hr,B,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",br);function vr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class yr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,vr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",yr);function wr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class _r extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,wr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",_r);function kr(i){let e;return{c(){e=y("div"),this.c=x,$(e,"background-image","url("+i[0]+")"),$(e,"height",i[1]),$(e,"background-size","cover"),$(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&$(e,"background-image","url("+t[0]+")"),r&2&&$(e,"height",t[1])},i:x,o:x,d(t){t&&A(e)}}}function pr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=a=>{"src"in a&&t(0,r=a.src),"height"in a&&t(1,n=a.height)},[r,n]}class xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},pr,kr,B,{src:0,height:1},null),e&&(e.target&&p(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",xr);function zr(i){let e,t;return{c(){e=we("svg"),t=we("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),m(e,t)},d(r){r&&A(e)}}}function Mr(i){let e,t;return{c(){e=we("svg"),t=we("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),m(e,t)},d(r){r&&A(e)}}}function Cr(i){let e,t,r,n,a,l,o,s,c,d,f,h,k;function v(b,z){if(b[10])return Mr;if(b[9])return zr}let _=v(i),w=_&&_(i);return{c(){e=y("label"),t=y("div"),r=y("input"),l=j(),w&&w.c(),o=j(),s=y("div"),c=y("slot"),d=V(i[1]),this.c=x,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",a=i[4]||i[0]),u(t,"class","goa-checkbox-container"),O(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Z(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),O(e,"goa-checkbox--disabled",i[12]),O(e,"goa-checkbox--error",i[11])},m(b,z){p(b,e,z),m(e,t),m(t,r),m(t,l),w&&w.m(t,null),m(e,o),m(e,s),m(s,c),m(c,d),h||(k=F(r,"change",i[13]),h=!0)},p(b,[z]){z&1&&u(r,"id",b[0]),z&1&&u(r,"name",b[0]),z&512&&(r.checked=b[9]),z&4096&&(r.disabled=b[12]),z&4&&n!==(n=`${b[2]}`)&&(r.value=n),z&17&&a!==(a=b[4]||b[0])&&u(r,"aria-label",a),_!==(_=v(b))&&(w&&w.d(1),w=_&&_(b),w&&(w.c(),w.m(t,null))),z&512&&O(t,"goa-checkbox--selected",b[9]),z&2&&U(d,b[1]),z&8&&u(e,"data-testid",b[3]),z&1&&u(e,"for",b[0]),z&480&&f!==(f=Z(b[5],b[6],b[7],b[8]))&&u(e,"style",f),z&4096&&O(e,"goa-checkbox--disabled",b[12]),z&2048&&O(e,"goa-checkbox--error",b[11])},i:x,o:x,d(b){b&&A(e),w&&w.d(),h=!1,k()}}}function Er(i,e,t){let r,n,a,l,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:k=""}=e,{arialabel:v=""}=e,{mt:_=null}=e,{mr:w=null}=e,{mb:b=null}=e,{ml:z=null}=e,D;q(()=>{D=d});function L(M){const E=!a,I=E?`${D||"checked"}`:"";t(14,s=Oi(E)),M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:E,value:I}}))}return i.$$set=M=>{"name"in M&&t(0,o=M.name),"checked"in M&&t(14,s=M.checked),"text"in M&&t(1,c=M.text),"value"in M&&t(2,d=M.value),"disabled"in M&&t(15,f=M.disabled),"error"in M&&t(16,h=M.error),"testid"in M&&t(3,k=M.testid),"arialabel"in M&&t(4,v=M.arialabel),"mt"in M&&t(5,_=M.mt),"mr"in M&&t(6,w=M.mr),"mb"in M&&t(7,b=M.mb),"ml"in M&&t(8,z=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=Q(f)),i.$$.dirty&65536&&t(11,n=Q(h)),i.$$.dirty&16384&&t(9,a=Q(s))},t(10,l=!1),[o,c,d,k,v,_,w,b,z,a,l,n,r,L,s,f,h]}class Ar extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox--disabled:hover{cursor:default}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive-hover)}.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(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Er,Cr,B,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Ar);function Tt(i){let e;return{c(){e=y("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&A(e)}}}function Lt(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[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),C(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,a){p(n,e,a)},p(n,a){a&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&C(e,"fillcolor",t),a&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&C(e,"opacity",r)},d(n){n&&A(e)}}}function Tr(i){let e,t,r,n,a,l,o,s,c=i[4]&&Tt(i),d=i[11]&&Lt(i);return{c(){e=y("div"),c&&c.c(),t=j(),r=y("div"),n=V(i[5]),a=j(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",l=Z(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),O(e,"deletable",i[11]),O(e,"error",i[10]),O(e,"variant",i[6])},m(f,h){p(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,n),m(e,a),d&&d.m(e,null),i[15](e),o||(s=[F(e,"click",i[16]),F(e,"mouseover",i[17]),F(e,"mouseout",i[18]),F(e,"focus",i[19]),F(e,"blur",i[20])],o=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Tt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),h&32&&U(n,f[5]),f[11]?d?d.p(f,h):(d=Lt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&l!==(l=Z(f[0],f[1],f[2],f[3]))&&u(e,"style",l),h&2048&&O(e,"deletable",f[11]),h&1024&&O(e,"error",f[10]),h&64&&O(e,"variant",f[6])},i:x,o:x,d(f){f&&A(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,oe(s)}}}function Lr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:a=null}=e,{ml:l=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,k,v=!1,_,w;function b(N){k.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),N.stopPropagation()}function z(N){te[N?"unshift":"push"](()=>{k=N,t(8,k)})}const D=N=>w&&b(N),L=()=>t(9,v=!0),M=()=>t(9,v=!1),E=()=>t(9,v=!1),I=()=>t(9,v=!1);return i.$$set=N=>{"mt"in N&&t(0,r=N.mt),"mr"in N&&t(1,n=N.mr),"mb"in N&&t(2,a=N.mb),"ml"in N&&t(3,l=N.ml),"leadingicon"in N&&t(4,o=N.leadingicon),"error"in N&&t(13,s=N.error),"deletable"in N&&t(14,c=N.deletable),"content"in N&&t(5,d=N.content),"variant"in N&&t(6,f=N.variant),"testid"in N&&t(7,h=N.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,_=Q(s)),i.$$.dirty&16384&&t(11,w=Q(c))},[r,n,a,l,o,d,f,h,k,v,_,w,b,s,c,z,D,L,M,E,I]}class Ir extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Lr,Tr,B,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Ir);function Nr(i){const e=i-1;return e*e*e+1}function Dr(i){return Math.pow(i-1,3)*(1-i)+1}function Ae(i,{delay:e=0,duration:t=400,easing:r=De}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:a=>`opacity: ${a*n}`}}function It(i,{delay:e=0,duration:t=400,easing:r=Nr,x:n=0,y:a=0,opacity:l=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-l);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
20
|
-
transform: ${c} translate(${(1-f)*
|
|
21
|
-
opacity: ${s-d*h}`}}function Nt(i,e){let t=!1;function r(){if(!
|
|
13
|
+
`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&127&&r!==(r=`
|
|
14
|
+
${Z(a[3],a[4],a[5],a[6])};
|
|
15
|
+
--gap: var(--goa-space-${a[0]});
|
|
16
|
+
--alignment: ${a[2]};
|
|
17
|
+
--direction: ${a[1]};
|
|
18
|
+
`)&&u(e,"style",r)},i:x,o:x,d(a){a&&A(e)}}}function $i(i,e,t){let{gap:r="m"}=e,{direction:a="row"}=e,{alignment:n="start"}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,a=d.direction),"alignment"in d&&t(2,n=d.alignment),"mt"in d&&t(3,l=d.mt),"mr"in d&&t(4,o=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,a,n,l,o,s,c]}class er extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},$i,Ji,B,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),g()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-block",er);function tr(i){let e,t,r,a,n=i[3]&&Ct(i),l=i[4]&&Et(i);return{c(){n&&n.c(),e=j(),t=y("span"),t.innerHTML="<slot></slot>",r=j(),l&&l.c(),a=_e(),u(t,"class","text")},m(o,s){n&&n.m(o,s),p(o,e,s),p(o,t,s),p(o,r,s),l&&l.m(o,s),p(o,a,s)},p(o,s){o[3]?n?n.p(o,s):(n=Ct(o),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),o[4]?l?l.p(o,s):(l=Et(o),l.c(),l.m(a.parentNode,a)):l&&(l.d(1),l=null)},d(o){n&&n.d(o),o&&A(e),o&&A(t),o&&A(r),l&&l.d(o),o&&A(a)}}}function ir(i){let e,t,r;return{c(){e=y("span"),e.innerHTML="<slot></slot>",t=j(),r=y("goa-icon"),u(e,"class","text"),C(r,"id","trailing-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(a,n){p(a,e,n),p(a,t,n),p(a,r,n)},p:x,d(a){a&&A(e),a&&A(t),a&&A(r)}}}function Ct(i){let e;return{c(){e=y("goa-icon"),C(e,"id","leading-icon"),C(e,"type",i[3]),C(e,"inverted",i[11])},m(t,r){p(t,e,r)},p(t,r){r&8&&C(e,"type",t[3]),r&2048&&C(e,"inverted",t[11])},d(t){t&&A(e)}}}function Et(i){let e;return{c(){e=y("goa-icon"),C(e,"id","trailing-icon"),C(e,"type",i[4]),C(e,"inverted",i[11])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4]),r&2048&&C(e,"inverted",t[11])},d(t){t&&A(e)}}}function rr(i){let e,t,r,a,n;function l(c,d){return c[0]==="start"?ir:tr}let o=l(i),s=o(i);return{c(){e=y("button"),s.c(),this.c=x,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=Z(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),O(e,"leading",i[3]),O(e,"trailing",i[4]||i[0]==="start")},m(c,d){p(c,e,d),s.m(e,null),a||(n=[F(e,"click",i[12]),F(e,"click",i[12])],a=!0)},p(c,[d]){o===(o=l(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&r!==(r=Z(c[6],c[7],c[8],c[9]))&&u(e,"style",r),d&1024&&(e.disabled=c[10]),d&32&&u(e,"data-testid",c[5]),d&15&&O(e,"leading",c[3]),d&23&&O(e,"trailing",c[4]||c[0]==="start")},i:x,o:x,d(c){c&&A(e),s.d(),a=!1,oe(n)}}}function ar(i,e,t){let r,a;const[n,l]=W("Button type",["primary","submit","secondary","tertiary","start"],!0),[o,s]=W("Button size",["normal","compact"],!0),[c,d]=W("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:k="normal"}=e,{disabled:v="false"}=e,{leadingicon:_=null}=e,{trailingicon:w=null}=e,{testid:b=""}=e,{mt:z=null}=e,{mr:D=null}=e,{mb:L=null}=e,{ml:M=null}=e;function E(I){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return q(()=>{l(f),s(h),d(k)}),i.$$set=I=>{"type"in I&&t(0,f=I.type),"size"in I&&t(1,h=I.size),"variant"in I&&t(2,k=I.variant),"disabled"in I&&t(13,v=I.disabled),"leadingicon"in I&&t(3,_=I.leadingicon),"trailingicon"in I&&t(4,w=I.trailingicon),"testid"in I&&t(5,b=I.testid),"mt"in I&&t(6,z=I.mt),"mr"in I&&t(7,D=I.mr),"mb"in I&&t(8,L=I.mb),"ml"in I&&t(9,M=I.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=Q(v)),i.$$.dirty&1&&t(11,a=f==="primary"||f==="start")},[f,h,k,_,w,b,z,D,L,M,r,a,E,v]}class nr extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
19
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ar,rr,B,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",nr);function or(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(Z(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&2&&u(e,"data-testid",a[1]),n&125&&r!==(r=""+(Z(a[2],a[3],a[4],a[5])+"; --alignment: "+a[6]+"; --gap-size: "+(a[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(a){a&&A(e)}}}function lr(i,e,t){let r,{alignment:a="start"}=e,{gap:n="relaxed"}=e,{testid:l=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=W("alignment",["start","end","center"]),[k,v]=W("gap",["relaxed","compact"]);return q(()=>{h(a),v(n)}),i.$$set=_=>{"alignment"in _&&t(7,a=_.alignment),"gap"in _&&t(0,n=_.gap),"testid"in _&&t(1,l=_.testid),"mt"in _&&t(2,o=_.mt),"mr"in _&&t(3,s=_.mr),"mb"in _&&t(4,c=_.mb),"ml"in _&&t(5,d=_.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[a])},[n,l,o,s,c,d,r,a]}class sr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},lr,or,B,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",sr);function At(i){let e,t;return{c(){e=y("h3"),t=V(i[5])},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&32&&U(t,r[5])},d(r){r&&A(e)}}}function cr(i){let e,t,r,a,n,l,o,s,c,d,f=i[5]&&At(i);return{c(){e=y("div"),t=y("span"),r=y("goa-icon"),l=j(),o=y("span"),f&&f.c(),s=j(),c=y("slot"),this.c=x,C(r,"type",i[7]),C(r,"inverted",a=i[4]==="important"?"false":"true"),u(t,"class",n="icon "+i[4]),u(o,"class","content"),u(e,"style",d=Z(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,k){p(h,e,k),m(e,t),m(t,r),m(e,l),m(e,o),f&&f.m(o,null),m(o,s),m(o,c)},p(h,[k]){k&128&&C(r,"type",h[7]),k&16&&a!==(a=h[4]==="important"?"false":"true")&&C(r,"inverted",a),k&16&&n!==(n="icon "+h[4])&&u(t,"class",n),h[5]?f?f.p(h,k):(f=At(h),f.c(),f.m(o,s)):f&&(f.d(1),f=null),k&15&&d!==(d=Z(h[0],h[1],h[2],h[3]))&&u(e,"style",d),k&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&A(e),f&&f.d()}}}function dr(i,e,t){let r;const[a,n]=W("Callout type",["emergency","important","information","event","success"],!0);let{mt:l=null}=e,{mr:o=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return q(()=>{n(d)}),i.$$set=k=>{"mt"in k&&t(0,l=k.mt),"mr"in k&&t(1,o=k.mr),"mb"in k&&t(2,s=k.mb),"ml"in k&&t(3,c=k.ml),"type"in k&&t(4,d=k.type),"heading"in k&&t(5,f=k.heading),"testid"in k&&t(6,h=k.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[l,o,s,c,d,f,h,r]}class ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},dr,cr,B,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",ur);function fr(i){let e;return{c(){e=y("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class gr extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,fr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",gr);function hr(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Z(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&128&&u(e,"data-testid",a[7]),n&127&&r!==(r="--width: "+a[1]+"; --height: "+(a[2]==="auto"?"auto":"100%")+"; "+Z(a[3],a[4],a[5],a[6])+" "+(a[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${a[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(a){a&&A(e)}}}function mr(i,e,t){let{elevation:r=0}=e,{width:a="100%"}=e,{height:n="auto"}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,a=f.width),"height"in f&&t(2,n=f.height),"mt"in f&&t(3,l=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,a,n,l,o,s,c,d]}class br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},mr,hr,B,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",br);function vr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class yr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,vr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",yr);function wr(i){let e;return{c(){e=y("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class _r extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,wr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",_r);function kr(i){let e;return{c(){e=y("div"),this.c=x,$(e,"background-image","url("+i[0]+")"),$(e,"height",i[1]),$(e,"background-size","cover"),$(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&$(e,"background-image","url("+t[0]+")"),r&2&&$(e,"height",t[1])},i:x,o:x,d(t){t&&A(e)}}}function pr(i,e,t){let{src:r}=e,{height:a="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,a=n.height)},[r,a]}class xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},pr,kr,B,{src:0,height:1},null),e&&(e.target&&p(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",xr);function zr(i){let e,t;return{c(){e=we("svg"),t=we("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,a){p(r,e,a),m(e,t)},d(r){r&&A(e)}}}function Mr(i){let e,t;return{c(){e=we("svg"),t=we("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,a){p(r,e,a),m(e,t)},d(r){r&&A(e)}}}function Cr(i){let e,t,r,a,n,l,o,s,c,d,f,h,k;function v(b,z){if(b[10])return Mr;if(b[9])return zr}let _=v(i),w=_&&_(i);return{c(){e=y("label"),t=y("div"),r=y("input"),l=j(),w&&w.c(),o=j(),s=y("div"),c=y("slot"),d=V(i[1]),this.c=x,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=a=`${i[2]}`,u(r,"aria-label",n=i[4]||i[0]),u(t,"class","goa-checkbox-container"),O(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Z(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),O(e,"goa-checkbox--disabled",i[12]),O(e,"goa-checkbox--error",i[11])},m(b,z){p(b,e,z),m(e,t),m(t,r),m(t,l),w&&w.m(t,null),m(e,o),m(e,s),m(s,c),m(c,d),h||(k=F(r,"change",i[13]),h=!0)},p(b,[z]){z&1&&u(r,"id",b[0]),z&1&&u(r,"name",b[0]),z&512&&(r.checked=b[9]),z&4096&&(r.disabled=b[12]),z&4&&a!==(a=`${b[2]}`)&&(r.value=a),z&17&&n!==(n=b[4]||b[0])&&u(r,"aria-label",n),_!==(_=v(b))&&(w&&w.d(1),w=_&&_(b),w&&(w.c(),w.m(t,null))),z&512&&O(t,"goa-checkbox--selected",b[9]),z&2&&U(d,b[1]),z&8&&u(e,"data-testid",b[3]),z&1&&u(e,"for",b[0]),z&480&&f!==(f=Z(b[5],b[6],b[7],b[8]))&&u(e,"style",f),z&4096&&O(e,"goa-checkbox--disabled",b[12]),z&2048&&O(e,"goa-checkbox--error",b[11])},i:x,o:x,d(b){b&&A(e),w&&w.d(),h=!1,k()}}}function Er(i,e,t){let r,a,n,l,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:k=""}=e,{arialabel:v=""}=e,{mt:_=null}=e,{mr:w=null}=e,{mb:b=null}=e,{ml:z=null}=e,D;q(()=>{D=d});function L(M){const E=!n,I=E?`${D||"checked"}`:"";t(14,s=Oi(E)),M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:E,value:I}}))}return i.$$set=M=>{"name"in M&&t(0,o=M.name),"checked"in M&&t(14,s=M.checked),"text"in M&&t(1,c=M.text),"value"in M&&t(2,d=M.value),"disabled"in M&&t(15,f=M.disabled),"error"in M&&t(16,h=M.error),"testid"in M&&t(3,k=M.testid),"arialabel"in M&&t(4,v=M.arialabel),"mt"in M&&t(5,_=M.mt),"mr"in M&&t(6,w=M.mr),"mb"in M&&t(7,b=M.mb),"ml"in M&&t(8,z=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=Q(f)),i.$$.dirty&65536&&t(11,a=Q(h)),i.$$.dirty&16384&&t(9,n=Q(s))},t(10,l=!1),[o,c,d,k,v,_,w,b,z,n,l,a,r,L,s,f,h]}class Ar extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Er,Cr,B,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Ar);function Tt(i){let e;return{c(){e=y("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&A(e)}}}function Lt(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[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),C(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(a,n){p(a,e,n)},p(a,n){n&1536&&t!==(t=a[10]?"var(--goa-color-emergency-default)":a[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&C(e,"fillcolor",t),n&1536&&r!==(r=a[10]?a[9]?1:.5:1)&&C(e,"opacity",r)},d(a){a&&A(e)}}}function Tr(i){let e,t,r,a,n,l,o,s,c=i[4]&&Tt(i),d=i[11]&&Lt(i);return{c(){e=y("div"),c&&c.c(),t=j(),r=y("div"),a=V(i[5]),n=j(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",l=Z(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),O(e,"deletable",i[11]),O(e,"error",i[10]),O(e,"variant",i[6])},m(f,h){p(f,e,h),c&&c.m(e,null),m(e,t),m(e,r),m(r,a),m(e,n),d&&d.m(e,null),i[15](e),o||(s=[F(e,"click",i[16]),F(e,"mouseover",i[17]),F(e,"mouseout",i[18]),F(e,"focus",i[19]),F(e,"blur",i[20])],o=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Tt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),h&32&&U(a,f[5]),f[11]?d?d.p(f,h):(d=Lt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&l!==(l=Z(f[0],f[1],f[2],f[3]))&&u(e,"style",l),h&2048&&O(e,"deletable",f[11]),h&1024&&O(e,"error",f[10]),h&64&&O(e,"variant",f[6])},i:x,o:x,d(f){f&&A(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,oe(s)}}}function Lr(i,e,t){let{mt:r=null}=e,{mr:a=null}=e,{mb:n=null}=e,{ml:l=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,k,v=!1,_,w;function b(N){k.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),N.stopPropagation()}function z(N){te[N?"unshift":"push"](()=>{k=N,t(8,k)})}const D=N=>w&&b(N),L=()=>t(9,v=!0),M=()=>t(9,v=!1),E=()=>t(9,v=!1),I=()=>t(9,v=!1);return i.$$set=N=>{"mt"in N&&t(0,r=N.mt),"mr"in N&&t(1,a=N.mr),"mb"in N&&t(2,n=N.mb),"ml"in N&&t(3,l=N.ml),"leadingicon"in N&&t(4,o=N.leadingicon),"error"in N&&t(13,s=N.error),"deletable"in N&&t(14,c=N.deletable),"content"in N&&t(5,d=N.content),"variant"in N&&t(6,f=N.variant),"testid"in N&&t(7,h=N.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,_=Q(s)),i.$$.dirty&16384&&t(11,w=Q(c))},[r,a,n,l,o,d,f,h,k,v,_,w,b,s,c,z,D,L,M,E,I]}class Ir extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Lr,Tr,B,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Ir);function Nr(i){const e=i-1;return e*e*e+1}function Dr(i){return Math.pow(i-1,3)*(1-i)+1}function Ae(i,{delay:e=0,duration:t=400,easing:r=De}={}){const a=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:n=>`opacity: ${n*a}`}}function It(i,{delay:e=0,duration:t=400,easing:r=Nr,x:a=0,y:n=0,opacity:l=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-l);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
20
|
+
transform: ${c} translate(${(1-f)*a}px, ${(1-f)*n}px);
|
|
21
|
+
opacity: ${s-d*h}`}}function Nt(i,e){let t=!1;function r(){if(!a())return;const o=l();o>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"px")}function a(){return document.body.style.overflow!=="hidden"}function n(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function l(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const o=document.createElement("div");o.style.visibility="hidden",o.style.overflow="scroll",document.body.appendChild(o);const s=document.createElement("div");o.appendChild(s);const c=o.offsetWidth-s.offsetWidth;return o.parentNode.removeChild(o),c}return e.enable&&r(),{update(){e.enable||n()},destroy(){n()}}}function Dt(i){let e,t,r,a;const n=[Rr,jr],l=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=l[e]=n[e](i)),{c(){t&&t.c(),r=_e()},m(s,c){~e&&l[e].m(s,c),p(s,r,c),a=!0},p(s,c){let d=e;e=o(s),e===d?~e&&l[e].p(s,c):(t&&(Ce(),X(l[d],1,1,()=>{l[d]=null}),Ee()),~e?(t=l[e],t?t.p(s,c):(t=l[e]=n[e](s),t.c()),K(t,1),t.m(r.parentNode,r)):t=null)},i(s){a||(K(t),a=!0)},o(s){X(t),a=!1},d(s){~e&&l[e].d(s),s&&A(r)}}}function jr(i){let e,t,r,a,n=i[0]&&jt(i);return{c(){e=y("div"),t=y("goa-spinner"),r=j(),n&&n.c(),C(t,"size",i[2]),C(t,"progress",i[1]),u(e,"class",a="spinner-"+i[2]),O(e,"inline",i[4])},m(l,o){p(l,e,o),m(e,t),m(e,r),n&&n.m(e,null)},p(l,o){o&4&&C(t,"size",l[2]),o&2&&C(t,"progress",l[1]),l[0]?n?n.p(l,o):(n=jt(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null),o&4&&a!==(a="spinner-"+l[2])&&u(e,"class",a),o&20&&O(e,"inline",l[4])},i:x,o:x,d(l){l&&A(e),n&&n.d()}}}function Rr(i){let e,t,r,a,n,l,o,s=i[0]&&Rt(i);return{c(){e=y("div"),t=y("goa-spinner"),r=j(),s&&s.c(),C(t,"size",i[2]),C(t,"progress",i[1]),O(e,"fullscreen",i[3])},m(c,d){p(c,e,d),m(e,t),m(e,r),s&&s.m(e,null),n=!0,l||(o=ft(Nt.call(null,e,{enable:!0})),l=!0)},p(c,d){(!n||d&4)&&C(t,"size",c[2]),(!n||d&2)&&C(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Rt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!n||d&8)&&O(e,"fullscreen",c[3])},i(c){n||(de(()=>{a||(a=Je(e,Ae,{duration:300},!0)),a.run(1)}),n=!0)},o(c){a||(a=Je(e,Ae,{duration:300},!1)),a.run(0),n=!1},d(c){c&&A(e),s&&s.d(),c&&a&&a.end(),l=!1,o()}}}function jt(i){let e,t;return{c(){e=y("div"),t=V(i[0]),u(e,"class","message")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&1&&U(t,r[0])},d(r){r&&A(e)}}}function Rt(i){let e,t;return{c(){e=y("div"),t=V(i[0]),u(e,"class","message")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&1&&U(t,r[0])},d(r){r&&A(e)}}}function Hr(i){let e,t,r=i[5]&&Dt(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(a,n){r&&r.m(a,n),p(a,e,n),t=!0},p(a,[n]){a[5]?r?(r.p(a,n),n&32&&K(r,1)):(r=Dt(a),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),X(r,1,1,()=>{r=null}),Ee())},i(a){t||(K(r),t=!0)},o(a){X(r),t=!1},d(a){r&&r.d(a),a&&A(e)}}}function Sr(i,e,t){let r;const[a,n]=W("Circular progress variant",["fullscreen","inline"]),[l,o]=W("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,k,v,_;return q(async()=>{n(s),o(c),t(2,k=c==="small"?"large":"xlarge"),t(3,v=s==="fullscreen"),t(4,_=s==="inline")}),i.$$set=w=>{"variant"in w&&t(6,s=w.variant),"size"in w&&t(7,c=w.size),"message"in w&&t(0,d=w.message),"progress"in w&&t(1,f=w.progress),"visible"in w&&t(8,h=w.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=Q(h))},[d,f,k,v,_,r,s,c,h]}class Or extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sr,Hr,B,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",Or);function Br(i){let e,t,r,a,n,l,o,s,c,d;return{c(){e=y("div"),t=y("header"),r=y("div"),r.innerHTML='<slot name="title"></slot>',a=j(),n=y("div"),n.innerHTML='<slot name="actions"></slot>',o=j(),s=y("div"),s.innerHTML="<slot></slot>",this.c=x,u(r,"class","title"),u(n,"class","actions"),u(t,"class",l="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=Z(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
22
22
|
goa-container
|
|
23
23
|
goa-container--${i[0]}
|
|
24
24
|
padding--${i[2]}
|
|
25
25
|
accent--${i[1]}
|
|
26
|
-
`)},m(f,h){p(f,e,h),m(e,t),m(t,r),m(t,
|
|
26
|
+
`)},m(f,h){p(f,e,h),m(e,t),m(t,r),m(t,a),m(t,n),m(e,o),m(e,s)},p(f,[h]){h&2&&l!==(l="heading--"+f[1])&&u(t,"class",l),h&8&&u(e,"data-testid",f[3]),h&240&&c!==(c=Z(f[4],f[5],f[6],f[7]))&&u(e,"style",c),h&7&&d!==(d=`
|
|
27
27
|
goa-container
|
|
28
28
|
goa-container--${f[0]}
|
|
29
29
|
padding--${f[2]}
|
|
30
30
|
accent--${f[1]}
|
|
31
|
-
`)&&u(e,"class",d)},i:x,o:x,d(f){f&&A(e)}}}function Pr(i,e,t){const[r,n]=W("Container type",["interactive","info","error","success","important","non-interactive"]),[a,l]=W("Container accent",["thick","thin","filled"]),[o,s]=W("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:k=null}=e,{mr:v=null}=e,{mb:_="m"}=e,{ml:w=null}=e;return q(()=>{n(c),l(d),s(f)}),i.$$set=b=>{"type"in b&&t(0,c=b.type),"accent"in b&&t(1,d=b.accent),"padding"in b&&t(2,f=b.padding),"testid"in b&&t(3,h=b.testid),"mt"in b&&t(4,k=b.mt),"mr"in b&&t(5,v=b.mr),"mb"in b&&t(6,_=b.mb),"ml"in b&&t(7,w=b.ml)},[c,d,f,h,k,v,_,w]}class Gr extends P{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)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,Br,B,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-container",Gr);function Yr(i){let e,t;return{c(){e=y("hr"),this.c=x,u(e,"data-testid",i[0]),u(e,"style",t=Z(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=Z(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:x,o:x,d(r){r&&A(e)}}}function Zr(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:a=null}=e,{mb:l=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,a=s.mr),"mb"in s&&t(3,l=s.mb),"ml"in s&&t(4,o=s.ml)},[r,n,a,l,o]}class Vr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Zr,Yr,B,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-divider",Vr);function Ht(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function St(i,e,t){const r=i.slice();return r[49]=e[t],r}function Qr(i){let e,t,r,n,a,l,o,s,c=[],d=new Map,f,h,k,v=i[15]&&Ot(i),_=i[13];const w=b=>b[53];for(let b=0;b<_.length;b+=1){let z=Ht(i,_,b),D=w(z);d.set(D,c[b]=Bt(D,z))}return{c(){v&&v.c(),e=j(),t=y("goa-input"),a=j(),l=y("slot"),o=j(),s=y("ul");for(let b=0;b<c.length;b+=1)c[b].c();C(t,"error",i[7]),C(t,"disabled",i[6]),C(t,"leadingicon",i[2]),C(t,"placeholder",i[4]),C(t,"aria-controls","menu"),C(t,"aria-expanded",i[15]),C(t,"arialabel",r=i[1]||i[0]),C(t,"data-testid",n=`${i[0]}-dropdown-input`),C(t,"readonly",""),C(t,"role","combobox"),C(t,"trailingicon","chevron-down"),C(t,"type","text"),C(t,"value",i[14]),C(t,"width","100%"),C(t,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[14]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","dropdown-list"),u(s,"style",f=`overflow-y: auto; max-height: ${i[3]}`),O(s,"dropdown-active",i[15])},m(b,z){v&&v.m(b,z),p(b,e,z),p(b,t,z),p(b,a,z),p(b,l,z),p(b,o,z),p(b,s,z);for(let D=0;D<c.length;D+=1)c[D].m(s,null);i[33](s),h||(k=F(t,"click",i[24]),h=!0)},p(b,z){b[15]?v?v.p(b,z):(v=Ot(b),v.c(),v.m(e.parentNode,e)):v&&(v.d(1),v=null),z[0]&128&&C(t,"error",b[7]),z[0]&64&&C(t,"disabled",b[6]),z[0]&4&&C(t,"leadingicon",b[2]),z[0]&16&&C(t,"placeholder",b[4]),z[0]&32768&&C(t,"aria-expanded",b[15]),z[0]&3&&r!==(r=b[1]||b[0])&&C(t,"arialabel",r),z[0]&1&&n!==(n=`${b[0]}-dropdown-input`)&&C(t,"data-testid",n),z[0]&16384&&C(t,"value",b[14]),z[0]&1&&C(t,"name",b[0]),z[0]&67186688&&(_=b[13],c=xt(c,z,w,1,b,_,d,s,pt,Bt,null,Ht)),z[0]&16384&&u(s,"aria-activedescendant",b[14]),z[0]&8&&f!==(f=`overflow-y: auto; max-height: ${b[3]}`)&&u(s,"style",f),z[0]&32768&&O(s,"dropdown-active",b[15])},d(b){v&&v.d(b),b&&A(e),b&&A(t),b&&A(a),b&&A(l),b&&A(o),b&&A(s);for(let z=0;z<c.length;z+=1)c[z].d();i[33](null),h=!1,k()}}}function Fr(i){let e,t,r,n,a,l=i[13],o=[];for(let s=0;s<l.length;s+=1)o[s]=Pt(St(i,l,s));return{c(){e=y("select"),t=y("slot");for(let s=0;s<o.length;s+=1)o[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),O(e,"error",i[23])},m(s,c){p(s,e,c),m(e,t);for(let d=0;d<o.length;d+=1)o[d].m(e,null);i[31](e),n||(a=F(e,"change",i[27]),n=!0)},p(s,c){if(c[0]&8192){l=s[13];let d;for(d=0;d<l.length;d+=1){const f=St(s,l,d);o[d]?o[d].p(f,c):(o[d]=Pt(f),o[d].c(),o[d].m(e,null))}for(;d<o.length;d+=1)o[d].d(1);o.length=l.length}c[0]&2097152&&(e.disabled=s[21]),c[0]&3&&r!==(r=s[1]||s[0])&&u(e,"aria-label",r),c[0]&8388608&&O(e,"error",s[23])},d(s){s&&A(e),Ve(o,s),i[31](null),n=!1,a()}}}function Ot(i){let e,t,r,n;return{c(){e=y("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(a,l){p(a,e,l),r||(n=F(e,"click",i[25]),r=!0)},p(a,l){l[0]&1&&t!==(t=`${a[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(a){a&&A(e),r=!1,n()}}}function Bt(i,e){let t,r=(e[49].label||e[49].value)+"",n,a,l,o,s,c,d,f,h,k,v;function _(){return e[32](e[49])}return{key:i,first:null,c(){t=y("li"),n=V(r),a=j(),u(t,"id",l=e[49].label),u(t,"role","option"),u(t,"aria-label",o=e[49].label||e[49].value),u(t,"aria-selected",s=e[12].includes(e[49].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[49].value}`),u(t,"data-index",d=e[53]),u(t,"data-value",f=e[49].value),u(t,"style",h="display: block"),O(t,"dropdown-item--disabled",!1),O(t,"dropdown-item--tabbed",e[53]===e[16]),O(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(w,b){p(w,t,b),m(t,n),m(t,a),k||(v=F(t,"click",_),k=!0)},p(w,b){e=w,b[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&U(n,r),b[0]&8192&&l!==(l=e[49].label)&&u(t,"id",l),b[0]&8192&&o!==(o=e[49].label||e[49].value)&&u(t,"aria-label",o),b[0]&12288&&s!==(s=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),b[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),b[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),b[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),b[0]&73728&&O(t,"dropdown-item--tabbed",e[53]===e[16]),b[0]&12288&&O(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(w){w&&A(t),k=!1,v()}}}function Pt(i){let e,t=i[49].label+"",r,n,a,l,o;return{c(){e=y("option"),r=V(t),n=j(),e.selected=a=i[49].selected,e.__value=l=i[49].value,e.value=e.__value,u(e,"aria-label",o=i[49].label)},m(s,c){p(s,e,c),m(e,r),m(e,n)},p(s,c){c[0]&8192&&t!==(t=s[49].label+"")&&U(r,t),c[0]&8192&&a!==(a=s[49].selected)&&(e.selected=a),c[0]&8192&&l!==(l=s[49].value)&&(e.__value=l,e.value=e.__value),c[0]&8192&&o!==(o=s[49].label)&&u(e,"aria-label",o)},d(s){s&&A(e)}}}function Ur(i){let e,t,r;function n(o,s){return o[22]?Fr:Qr}let a=n(i),l=a(i);return{c(){e=y("div"),l.c(),this.c=x,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
31
|
+
`)&&u(e,"class",d)},i:x,o:x,d(f){f&&A(e)}}}function Pr(i,e,t){const[r,a]=W("Container type",["interactive","info","error","success","important","non-interactive"]),[n,l]=W("Container accent",["thick","thin","filled"]),[o,s]=W("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:k=null}=e,{mr:v=null}=e,{mb:_="m"}=e,{ml:w=null}=e;return q(()=>{a(c),l(d),s(f)}),i.$$set=b=>{"type"in b&&t(0,c=b.type),"accent"in b&&t(1,d=b.accent),"padding"in b&&t(2,f=b.padding),"testid"in b&&t(3,h=b.testid),"mt"in b&&t(4,k=b.mt),"mr"in b&&t(5,v=b.mr),"mb"in b&&t(6,_=b.mb),"ml"in b&&t(7,w=b.ml)},[c,d,f,h,k,v,_,w]}class Gr extends P{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)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pr,Br,B,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-container",Gr);function Yr(i){let e,t;return{c(){e=y("hr"),this.c=x,u(e,"data-testid",i[0]),u(e,"style",t=Z(i[1],i[2],i[3],i[4]))},m(r,a){p(r,e,a)},p(r,[a]){a&1&&u(e,"data-testid",r[0]),a&30&&t!==(t=Z(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:x,o:x,d(r){r&&A(e)}}}function Zr(i,e,t){let{testid:r=""}=e,{mt:a=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,a=s.mt),"mr"in s&&t(2,n=s.mr),"mb"in s&&t(3,l=s.mb),"ml"in s&&t(4,o=s.ml)},[r,a,n,l,o]}class Vr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Zr,Yr,B,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-divider",Vr);function Ht(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function St(i,e,t){const r=i.slice();return r[49]=e[t],r}function Qr(i){let e,t,r,a,n,l,o,s,c=[],d=new Map,f,h,k,v=i[15]&&Ot(i),_=i[13];const w=b=>b[53];for(let b=0;b<_.length;b+=1){let z=Ht(i,_,b),D=w(z);d.set(D,c[b]=Bt(D,z))}return{c(){v&&v.c(),e=j(),t=y("goa-input"),n=j(),l=y("slot"),o=j(),s=y("ul");for(let b=0;b<c.length;b+=1)c[b].c();C(t,"error",i[7]),C(t,"disabled",i[6]),C(t,"leadingicon",i[2]),C(t,"placeholder",i[4]),C(t,"aria-controls","menu"),C(t,"aria-expanded",i[15]),C(t,"arialabel",r=i[1]||i[0]),C(t,"data-testid",a=`${i[0]}-dropdown-input`),C(t,"readonly",""),C(t,"role","combobox"),C(t,"trailingicon","chevron-down"),C(t,"type","text"),C(t,"value",i[14]),C(t,"width","100%"),C(t,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[14]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","dropdown-list"),u(s,"style",f=`overflow-y: auto; max-height: ${i[3]}`),O(s,"dropdown-active",i[15])},m(b,z){v&&v.m(b,z),p(b,e,z),p(b,t,z),p(b,n,z),p(b,l,z),p(b,o,z),p(b,s,z);for(let D=0;D<c.length;D+=1)c[D].m(s,null);i[33](s),h||(k=F(t,"click",i[24]),h=!0)},p(b,z){b[15]?v?v.p(b,z):(v=Ot(b),v.c(),v.m(e.parentNode,e)):v&&(v.d(1),v=null),z[0]&128&&C(t,"error",b[7]),z[0]&64&&C(t,"disabled",b[6]),z[0]&4&&C(t,"leadingicon",b[2]),z[0]&16&&C(t,"placeholder",b[4]),z[0]&32768&&C(t,"aria-expanded",b[15]),z[0]&3&&r!==(r=b[1]||b[0])&&C(t,"arialabel",r),z[0]&1&&a!==(a=`${b[0]}-dropdown-input`)&&C(t,"data-testid",a),z[0]&16384&&C(t,"value",b[14]),z[0]&1&&C(t,"name",b[0]),z[0]&67186688&&(_=b[13],c=xt(c,z,w,1,b,_,d,s,pt,Bt,null,Ht)),z[0]&16384&&u(s,"aria-activedescendant",b[14]),z[0]&8&&f!==(f=`overflow-y: auto; max-height: ${b[3]}`)&&u(s,"style",f),z[0]&32768&&O(s,"dropdown-active",b[15])},d(b){v&&v.d(b),b&&A(e),b&&A(t),b&&A(n),b&&A(l),b&&A(o),b&&A(s);for(let z=0;z<c.length;z+=1)c[z].d();i[33](null),h=!1,k()}}}function Fr(i){let e,t,r,a,n,l=i[13],o=[];for(let s=0;s<l.length;s+=1)o[s]=Pt(St(i,l,s));return{c(){e=y("select"),t=y("slot");for(let s=0;s<o.length;s+=1)o[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),O(e,"error",i[23])},m(s,c){p(s,e,c),m(e,t);for(let d=0;d<o.length;d+=1)o[d].m(e,null);i[31](e),a||(n=F(e,"change",i[27]),a=!0)},p(s,c){if(c[0]&8192){l=s[13];let d;for(d=0;d<l.length;d+=1){const f=St(s,l,d);o[d]?o[d].p(f,c):(o[d]=Pt(f),o[d].c(),o[d].m(e,null))}for(;d<o.length;d+=1)o[d].d(1);o.length=l.length}c[0]&2097152&&(e.disabled=s[21]),c[0]&3&&r!==(r=s[1]||s[0])&&u(e,"aria-label",r),c[0]&8388608&&O(e,"error",s[23])},d(s){s&&A(e),Ve(o,s),i[31](null),a=!1,n()}}}function Ot(i){let e,t,r,a;return{c(){e=y("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(n,l){p(n,e,l),r||(a=F(e,"click",i[25]),r=!0)},p(n,l){l[0]&1&&t!==(t=`${n[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(n){n&&A(e),r=!1,a()}}}function Bt(i,e){let t,r=(e[49].label||e[49].value)+"",a,n,l,o,s,c,d,f,h,k,v;function _(){return e[32](e[49])}return{key:i,first:null,c(){t=y("li"),a=V(r),n=j(),u(t,"id",l=e[49].label),u(t,"role","option"),u(t,"aria-label",o=e[49].label||e[49].value),u(t,"aria-selected",s=e[12].includes(e[49].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[49].value}`),u(t,"data-index",d=e[53]),u(t,"data-value",f=e[49].value),u(t,"style",h="display: block"),O(t,"dropdown-item--disabled",!1),O(t,"dropdown-item--tabbed",e[53]===e[16]),O(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(w,b){p(w,t,b),m(t,a),m(t,n),k||(v=F(t,"click",_),k=!0)},p(w,b){e=w,b[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&U(a,r),b[0]&8192&&l!==(l=e[49].label)&&u(t,"id",l),b[0]&8192&&o!==(o=e[49].label||e[49].value)&&u(t,"aria-label",o),b[0]&12288&&s!==(s=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),b[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),b[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),b[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),b[0]&73728&&O(t,"dropdown-item--tabbed",e[53]===e[16]),b[0]&12288&&O(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(w){w&&A(t),k=!1,v()}}}function Pt(i){let e,t=i[49].label+"",r,a,n,l,o;return{c(){e=y("option"),r=V(t),a=j(),e.selected=n=i[49].selected,e.__value=l=i[49].value,e.value=e.__value,u(e,"aria-label",o=i[49].label)},m(s,c){p(s,e,c),m(e,r),m(e,a)},p(s,c){c[0]&8192&&t!==(t=s[49].label+"")&&U(r,t),c[0]&8192&&n!==(n=s[49].selected)&&(e.selected=n),c[0]&8192&&l!==(l=s[49].value)&&(e.__value=l,e.value=e.__value),c[0]&8192&&o!==(o=s[49].label)&&u(e,"aria-label",o)},d(s){s&&A(e)}}}function Ur(i){let e,t,r;function a(o,s){return o[22]?Fr:Qr}let n=a(i),l=n(i);return{c(){e=y("div"),l.c(),this.c=x,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
32
|
${Z(i[8],i[9],i[10],i[11])}
|
|
33
33
|
--width: ${i[5]||i[17]}
|
|
34
|
-
`),O(e,"dropdown-native",i[22])},m(o,s){p(o,e,s),l.m(e,null),i[34](e)},p(o,s){
|
|
34
|
+
`),O(e,"dropdown-native",i[22])},m(o,s){p(o,e,s),l.m(e,null),i[34](e)},p(o,s){n===(n=a(o))&&l?l.p(o,s):(l.d(1),l=n(o),l&&(l.c(),l.m(e,null))),s[0]&1&&t!==(t=`${o[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&134944&&r!==(r=`
|
|
35
35
|
${Z(o[8],o[9],o[10],o[11])}
|
|
36
36
|
--width: ${o[5]||o[17]}
|
|
37
|
-
`)&&u(e,"style",r),s[0]&4194304&&O(e,"dropdown-native",o[22])},i:x,o:x,d(o){o&&A(e),l.d(),i[34](null)}}}function qr(i,e,t){let r,n,
|
|
37
|
+
`)&&u(e,"style",r),s[0]&4194304&&O(e,"dropdown-native",o[22])},i:x,o:x,d(o){o&&A(e),l.d(),i[34](null)}}}function qr(i,e,t){let r,a,n,l,{name:o}=e,{arialabel:s=""}=e,{value:c=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:k=""}=e,{disabled:v="false"}=e,{error:_="false"}=e,{multiselect:w="false"}=e,{native:b="false"}=e,{mt:z=null}=e,{mr:D=null}=e,{mb:L=null}=e,{ml:M=null}=e,E=[],I=[],N="",T=!1,H=0,se,J,ie,ee;q(async()=>{await ge(),t(12,E=Be()),t(13,I=Le()),l||(t(17,se=Oe(I)),$e(),Ie());const R=J.querySelector("slot");R==null||R.addEventListener("slotchange",ae=>{t(14,N=""),t(12,E=Be()),t(13,I=Le())})}),Ri(()=>{et()});function ne(){const R=J.querySelector("slot");return R?R.assignedElements():[...(l?ee:J).children]}function Le(){return ne().filter(ae=>ae.tagName==="GOA-DROPDOWN-ITEM").map(ae=>{const le=ae,ce=ae.getAttribute("value")||le.value,Pe=ae.getAttribute("label")||le.label||ce,zi=E.includes(ce);return zi&&(t(14,N=Pe),t(12,E=[ce])),{selected:zi,value:ce,label:Pe}})}function Oe(R){let ae,le=0;return R.length===0&&h!==""?`${h.length+12}ch`:(R.forEach(ce=>{const Pe=ce.label||ce.value||"";!ae&&le<Pe.length&&(le=Pe.length,ae=`${Math.max(20,le+12)}ch`)}),ae)}function $e(){J.addEventListener("focus",ki,!0),J.addEventListener("blur",pi,!0)}function et(){J.removeEventListener("focus",ki,!0),J.removeEventListener("blur",pi,!0)}function Be(){let R;try{R=JSON.parse(c||"[]")}catch{R=[c]}return(typeof R=="object"?R:[R]).map(le=>`${le}`)}async function xe(){r||T||(t(15,T=!0),await ge(),ie.addEventListener("blur",re),ie.addEventListener("mouseover",xi))}function re(){ie.removeEventListener("blur",re),ie.removeEventListener("mouseover",xi),Ie(),t(15,T=!1)}function Ie(){t(16,H=I.findIndex(R=>E.includes(R.value)))}function ve(R,ae,le){if(r)return;t(14,N=ae);let ce;n?(E.push(R),ce={name:o,values:E}):(t(12,E=[R]),ce={name:o,value:R}),J.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:ce})),le&&re()}const tt=R=>{switch(R.key){case" ":case"Enter":T?re():xe(),R.preventDefault();break;case"Escape":T&&re(),R.preventDefault();break;case"ArrowDown":if(R.altKey){T?re():xe();break}S(),R.preventDefault();break;case"ArrowUp":if(R.altKey){T?re():xe();break}Ne(),R.preventDefault();break}};function S(){H<I.length-1&&(t(16,H++,H),ve(I[H].value,I[H].label,!1))}function Ne(){H>0&&(t(16,H--,H),ve(I[H].value,I[H].label,!1))}function ki(){J.addEventListener("keydown",tt)}function pi(){J.removeEventListener("keydown",tt)}function xi(R){t(16,H=Number(R.target.dataset.index))}function Dn(R){const ae=R.currentTarget,le=I[ae.selectedIndex];ve(le.value,le.label)}function jn(R){te[R?"unshift":"push"](()=>{ee=R,t(20,ee),t(13,I)})}const Rn=R=>ve(R.value,R.label,!0);function Hn(R){te[R?"unshift":"push"](()=>{ie=R,t(19,ie)})}function Sn(R){te[R?"unshift":"push"](()=>{J=R,t(18,J)})}return i.$$set=R=>{"name"in R&&t(0,o=R.name),"arialabel"in R&&t(1,s=R.arialabel),"value"in R&&t(28,c=R.value),"leadingicon"in R&&t(2,d=R.leadingicon),"maxheight"in R&&t(3,f=R.maxheight),"placeholder"in R&&t(4,h=R.placeholder),"width"in R&&t(5,k=R.width),"disabled"in R&&t(6,v=R.disabled),"error"in R&&t(7,_=R.error),"multiselect"in R&&t(29,w=R.multiselect),"native"in R&&t(30,b=R.native),"mt"in R&&t(8,z=R.mt),"mr"in R&&t(9,D=R.mr),"mb"in R&&t(10,L=R.mb),"ml"in R&&t(11,M=R.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(21,r=Q(v)),i.$$.dirty[0]&128&&t(23,a=Q(_)),i.$$.dirty[0]&536870912&&(n=Q(w)),i.$$.dirty[0]&1073741824&&t(22,l=Q(b))},[o,s,d,f,h,k,v,_,z,D,L,M,E,I,N,T,H,se,J,ie,ee,r,l,a,xe,re,ve,Dn,c,w,b,jn,Rn,Hn,Sn]}class Wr extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin: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;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--goa-color-greyscale-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--goa-color-greyscale-700)}.dropdown-item--selected{background:var(--goa-color-interactive-default);color:var(--goa-color-greyscale-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive-hover);color:var(--goa-color-greyscale-white)}.dropdown-native{border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-white);transition:box-shadow 0.1s ease-in}.dropdown-native:has(select:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive-error)}.dropdown-native:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}select{border:none;background-color:transparent;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);appearance:none;padding:calc(var(--goa-space-xs) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},qr,Ur,B,{name:0,arialabel:1,value:28,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:29,native:30,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),g()}get value(){return this.$$.ctx[28]}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 width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[29]}set multiselect(e){this.$$set({multiselect:e}),g()}get native(){return this.$$.ctx[30]}set native(e){this.$$set({native:e}),g()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-dropdown",Wr);function Kr(i){return{c(){this.c=x},m:x,p:x,i:x,o:x,d:x}}class Xr extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Kr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",Xr);function Jr(i){let e;return{c(){e=y("div"),e.innerHTML=`<slot></slot>
|
|
38
38
|
|
|
39
|
-
<span tabindex="0"></span>`,this.c=x,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:x,i:x,o:x,d(t){t&&A(e),i[4](null)}}}function $r(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function en(i,e,t){let r,{active:n}=e,a=!1,l,o,s=!1;function c(){document.removeEventListener("focus",z,!0)}function d(){document.addEventListener("focus",z,!0)}function f(L){if(!L)return!1;for(const M of L)if(b(M)||f(M.childNodes)||h(M)||k(M))return!0;return!1}function h(L){if(!(L instanceof HTMLSlotElement))return!1;if(f(L.assignedNodes()))return!0}function k(L){var M;if(!(L instanceof HTMLElement))return!1;if(f((M=L.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function v(L){if(!L)return!1;for(let M=L.length-1;M>=0;M--){let E=L[M];if(b(E)||v(E.childNodes)||_(E)||w(E))return!0}return!1}function _(L){if(!(L instanceof HTMLSlotElement))return!1;if(v(L.assignedNodes()))return!0}function w(L){var M;if(!(L instanceof HTMLElement))return!1;if(v((M=L.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function b(L){if(!$r(L))return!1;try{a=!0,L.focus()}catch{}finally{a=!1}return document.activeElement===L}function z(L){var M;if(a)return;const E=(M=o.firstChild)===null||M===void 0?void 0:M.assignedElements();if(!(E==null?void 0:E.length))return;const I=E[0];if(L.composedPath().includes(I)){l=L.target;return}f(I.childNodes),l==document.activeElement&&v(I.childNodes),l=document.activeElement}function D(L){te[L?"unshift":"push"](()=>{o=L,t(0,o)})}return i.$$set=L=>{"active"in L&&t(1,n=L.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=Q(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,D]}class tn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},en,Jr,B,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),g()}}customElements.define("goa-focus-trap",tn);function Gt(i){let e;return{c(){e=y("goa-divider"),C(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&A(e)}}}function rn(i){let e,t,r,n,a,l,o,s,c,d,f,h,k,v=i[2]&&i[2].length>0&&Gt();return{c(){e=y("div"),t=y("div"),r=y("div"),r.innerHTML='<slot name="nav"></slot>',n=j(),v&&v.c(),a=j(),l=y("div"),o=y("div"),o.innerHTML='<slot name="meta"></slot>',s=j(),c=y("div"),d=y("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=j(),h=y("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=x,u(r,"class","nav-links"),u(o,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(c,"class","abgov"),O(c,"with-meta-links",i[3]&&i[3].length>0),u(l,"class","meta-section"),O(l,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(_,w){p(_,e,w),m(e,t),m(t,r),m(t,n),v&&v.m(t,null),m(t,a),m(t,l),m(l,o),m(l,s),m(l,c),m(c,d),m(c,f),m(c,h),i[5](e)},p(_,[w]){_[2]&&_[2].length>0?v||(v=Gt(),v.c(),v.m(t,a)):v&&(v.d(1),v=null),w&8&&O(c,"with-meta-links",_[3]&&_[3].length>0),w&8&&O(l,"with-meta-links",_[3]&&_[3].length>0),w&1&&k!==(k=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",k)},i:x,o:x,d(_){_&&A(e),v&&v.d(),i[5](null)}}}function nn(i,e,t){let{maxcontentwidth:r=""}=e,n,a,l;const o=new Date().getFullYear();q(async()=>{await ge();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,a=c.assignedElements()),t(3,l=d.assignedElements())});function s(c){te[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,a,l,o,s]}class an extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},nn,rn,B,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-footer",an);function Yt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Zt(i){let e,t,r=i[3].innerHTML+"",n,a;return{c(){e=y("li"),t=y("a"),n=V(r),u(t,"href",a=i[3].href)},m(l,o){p(l,e,o),m(e,t),m(t,n)},p(l,o){o&2&&r!==(r=l[3].innerHTML+"")&&U(n,r),o&2&&a!==(a=l[3].href)&&u(t,"href",a)},d(l){l&&A(e)}}}function on(i){let e,t,r,n,a=i[1],l=[];for(let o=0;o<a.length;o+=1)l[o]=Zt(Yt(i,a,o));return{c(){e=y("section"),t=y("div"),t.innerHTML="<slot></slot>",r=j(),n=y("ul");for(let o=0;o<l.length;o+=1)l[o].c();this.c=x,u(t,"class","hidden")},m(o,s){p(o,e,s),m(e,t),m(e,r),m(e,n);for(let c=0;c<l.length;c+=1)l[c].m(n,null);i[2](e)},p(o,[s]){if(s&2){a=o[1];let c;for(c=0;c<a.length;c+=1){const d=Yt(o,a,c);l[c]?l[c].p(d,s):(l[c]=Zt(d),l[c].c(),l[c].m(n,null))}for(;c<l.length;c+=1)l[c].d(1);l.length=a.length}},i:x,o:x,d(o){o&&A(e),Ve(l,o),i[2](null)}}}function ln(i,e,t){let r,n=[];q(async()=>{if(await ge(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function a(l){te[l?"unshift":"push"](()=>{r=l,t(0,r)})}return[r,n,a]}class sn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ln,on,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",sn);function Vt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Qt(i){let e,t,r,n;return{c(){e=y("div"),t=V(i[0]),r=j(),n=y("goa-divider"),u(e,"class","title"),C(n,"spacing","small")},m(a,l){p(a,e,l),m(e,t),p(a,r,l),p(a,n,l)},p(a,l){l&1&&U(t,a[0])},d(a){a&&A(e),a&&A(r),a&&A(n)}}}function Ft(i){let e,t,r=i[5].innerHTML+"",n,a;return{c(){e=y("li"),t=y("a"),n=V(r),u(t,"href",a=i[5].href)},m(l,o){p(l,e,o),m(e,t),m(t,n)},p(l,o){o&8&&r!==(r=l[5].innerHTML+"")&&U(n,r),o&8&&a!==(a=l[5].href)&&u(t,"href",a)},d(l){l&&A(e)}}}function cn(i){let e,t,r,n,a,l,o=i[0]&&Qt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Ft(Vt(i,s,d));return{c(){e=y("section"),o&&o.c(),t=j(),r=y("div"),r.innerHTML="<slot></slot>",n=j(),a=y("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=x,u(r,"class","hidden"),u(a,"class","links"),u(a,"style",l=`
|
|
39
|
+
<span tabindex="0"></span>`,this.c=x,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:x,i:x,o:x,d(t){t&&A(e),i[4](null)}}}function $r(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function ea(i,e,t){let r,{active:a}=e,n=!1,l,o,s=!1;function c(){document.removeEventListener("focus",z,!0)}function d(){document.addEventListener("focus",z,!0)}function f(L){if(!L)return!1;for(const M of L)if(b(M)||f(M.childNodes)||h(M)||k(M))return!0;return!1}function h(L){if(!(L instanceof HTMLSlotElement))return!1;if(f(L.assignedNodes()))return!0}function k(L){var M;if(!(L instanceof HTMLElement))return!1;if(f((M=L.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function v(L){if(!L)return!1;for(let M=L.length-1;M>=0;M--){let E=L[M];if(b(E)||v(E.childNodes)||_(E)||w(E))return!0}return!1}function _(L){if(!(L instanceof HTMLSlotElement))return!1;if(v(L.assignedNodes()))return!0}function w(L){var M;if(!(L instanceof HTMLElement))return!1;if(v((M=L.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function b(L){if(!$r(L))return!1;try{n=!0,L.focus()}catch{}finally{n=!1}return document.activeElement===L}function z(L){var M;if(n)return;const E=(M=o.firstChild)===null||M===void 0?void 0:M.assignedElements();if(!(E==null?void 0:E.length))return;const I=E[0];if(L.composedPath().includes(I)){l=L.target;return}f(I.childNodes),l==document.activeElement&&v(I.childNodes),l=document.activeElement}function D(L){te[L?"unshift":"push"](()=>{o=L,t(0,o)})}return i.$$set=L=>{"active"in L&&t(1,a=L.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=Q(a)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,a,s,r,D]}class ta extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ea,Jr,B,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),g()}}customElements.define("goa-focus-trap",ta);function Gt(i){let e;return{c(){e=y("goa-divider"),C(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&A(e)}}}function ia(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,v=i[2]&&i[2].length>0&&Gt();return{c(){e=y("div"),t=y("div"),r=y("div"),r.innerHTML='<slot name="nav"></slot>',a=j(),v&&v.c(),n=j(),l=y("div"),o=y("div"),o.innerHTML='<slot name="meta"></slot>',s=j(),c=y("div"),d=y("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=j(),h=y("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=x,u(r,"class","nav-links"),u(o,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(c,"class","abgov"),O(c,"with-meta-links",i[3]&&i[3].length>0),u(l,"class","meta-section"),O(l,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(_,w){p(_,e,w),m(e,t),m(t,r),m(t,a),v&&v.m(t,null),m(t,n),m(t,l),m(l,o),m(l,s),m(l,c),m(c,d),m(c,f),m(c,h),i[5](e)},p(_,[w]){_[2]&&_[2].length>0?v||(v=Gt(),v.c(),v.m(t,n)):v&&(v.d(1),v=null),w&8&&O(c,"with-meta-links",_[3]&&_[3].length>0),w&8&&O(l,"with-meta-links",_[3]&&_[3].length>0),w&1&&k!==(k=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",k)},i:x,o:x,d(_){_&&A(e),v&&v.d(),i[5](null)}}}function ra(i,e,t){let{maxcontentwidth:r=""}=e,a,n,l;const o=new Date().getFullYear();q(async()=>{await ge();const c=a.querySelector("slot[name=nav]"),d=a.querySelector("slot[name=meta]");t(2,n=c.assignedElements()),t(3,l=d.assignedElements())});function s(c){te[c?"unshift":"push"](()=>{a=c,t(1,a)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,a,n,l,o,s]}class aa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ra,ia,B,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-footer",aa);function Yt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Zt(i){let e,t,r=i[3].innerHTML+"",a,n;return{c(){e=y("li"),t=y("a"),a=V(r),u(t,"href",n=i[3].href)},m(l,o){p(l,e,o),m(e,t),m(t,a)},p(l,o){o&2&&r!==(r=l[3].innerHTML+"")&&U(a,r),o&2&&n!==(n=l[3].href)&&u(t,"href",n)},d(l){l&&A(e)}}}function na(i){let e,t,r,a,n=i[1],l=[];for(let o=0;o<n.length;o+=1)l[o]=Zt(Yt(i,n,o));return{c(){e=y("section"),t=y("div"),t.innerHTML="<slot></slot>",r=j(),a=y("ul");for(let o=0;o<l.length;o+=1)l[o].c();this.c=x,u(t,"class","hidden")},m(o,s){p(o,e,s),m(e,t),m(e,r),m(e,a);for(let c=0;c<l.length;c+=1)l[c].m(a,null);i[2](e)},p(o,[s]){if(s&2){n=o[1];let c;for(c=0;c<n.length;c+=1){const d=Yt(o,n,c);l[c]?l[c].p(d,s):(l[c]=Zt(d),l[c].c(),l[c].m(a,null))}for(;c<l.length;c+=1)l[c].d(1);l.length=n.length}},i:x,o:x,d(o){o&&A(e),Ve(l,o),i[2](null)}}}function oa(i,e,t){let r,a=[];q(async()=>{if(await ge(),t(1,a=r.querySelector("slot").assignedElements()),!a.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,a=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function n(l){te[l?"unshift":"push"](()=>{r=l,t(0,r)})}return[r,a,n]}class la extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},oa,na,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",la);function Vt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Qt(i){let e,t,r,a;return{c(){e=y("div"),t=V(i[0]),r=j(),a=y("goa-divider"),u(e,"class","title"),C(a,"spacing","small")},m(n,l){p(n,e,l),m(e,t),p(n,r,l),p(n,a,l)},p(n,l){l&1&&U(t,n[0])},d(n){n&&A(e),n&&A(r),n&&A(a)}}}function Ft(i){let e,t,r=i[5].innerHTML+"",a,n;return{c(){e=y("li"),t=y("a"),a=V(r),u(t,"href",n=i[5].href)},m(l,o){p(l,e,o),m(e,t),m(t,a)},p(l,o){o&8&&r!==(r=l[5].innerHTML+"")&&U(a,r),o&8&&n!==(n=l[5].href)&&u(t,"href",n)},d(l){l&&A(e)}}}function sa(i){let e,t,r,a,n,l,o=i[0]&&Qt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Ft(Vt(i,s,d));return{c(){e=y("section"),o&&o.c(),t=j(),r=y("div"),r.innerHTML="<slot></slot>",a=j(),n=y("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=x,u(r,"class","hidden"),u(n,"class","links"),u(n,"style",l=`
|
|
40
40
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
41
41
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
42
42
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
43
43
|
--wide-column-count: ${i[1]};
|
|
44
|
-
`)},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,
|
|
44
|
+
`)},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,a),m(e,n);for(let h=0;h<c.length;h+=1)c[h].m(n,null);i[4](e)},p(d,[f]){if(d[0]?o?o.p(d,f):(o=Qt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&8){s=d[3];let h;for(h=0;h<s.length;h+=1){const k=Vt(d,s,h);c[h]?c[h].p(k,f):(c[h]=Ft(k),c[h].c(),c[h].m(n,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=s.length}f&2&&l!==(l=`
|
|
45
45
|
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
46
46
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
47
47
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
48
48
|
--wide-column-count: ${d[1]};
|
|
49
|
-
`)&&u(
|
|
49
|
+
`)&&u(n,"style",l)},i:x,o:x,d(d){d&&A(e),o&&o.d(),Ve(c,d),i[4](null)}}}function ca(i,e,t){let{heading:r=""}=e,{maxcolumncount:a=1}=e,n,l=[];q(async()=>{if(await ge(),t(3,l=n.querySelector("slot").assignedElements()),!l.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,l=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}zt(n,":host",{"flex-grow":a})});function o(s){te[s?"unshift":"push"](()=>{n=s,t(2,n)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,a=s.maxcolumncount)},[r,a,n,l,o]}class da extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text-default)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ca,sa,B,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),g()}}customElements.define("goa-app-footer-nav-section",da);function Ut(i){let e,t,r,a=i[8]&&i[9].includes(i[8]),n=a&&qt(i);return{c(){e=y("div"),t=V(i[5]),r=j(),n&&n.c(),u(e,"class","label")},m(l,o){p(l,e,o),m(e,t),m(e,r),n&&n.m(e,null)},p(l,o){o&32&&U(t,l[5]),o&256&&(a=l[8]&&l[9].includes(l[8])),a?n?n.p(l,o):(n=qt(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(l){l&&A(e),n&&n.d()}}}function qt(i){let e,t,r,a;return{c(){e=y("em"),t=V("("),r=V(i[8]),a=V(")")},m(n,l){p(n,e,l),m(e,t),m(e,r),m(e,a)},p(n,l){l&256&&U(r,n[8])},d(n){n&&A(e)}}}function Wt(i){let e,t,r,a;return{c(){e=y("div"),t=y("goa-icon"),r=j(),a=V(i[7]),C(t,"type","warning"),C(t,"size","small"),C(t,"theme","filled"),$(t,"pointer-events","none"),u(e,"class","error-msg")},m(n,l){p(n,e,l),m(e,t),m(e,r),m(e,a)},p(n,l){l&128&&U(a,n[7])},d(n){n&&A(e)}}}function Kt(i){let e,t;return{c(){e=y("div"),t=V(i[6]),u(e,"class","help-msg")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&64&&U(t,r[6])},d(r){r&&A(e)}}}function ua(i){let e,t,r,a,n,l,o=i[5]&&Ut(i),s=i[7]&&Wt(i),c=i[6]&&Kt(i);return{c(){e=y("div"),o&&o.c(),t=j(),r=y("div"),r.innerHTML="<slot></slot>",a=j(),s&&s.c(),n=j(),c&&c.c(),this.c=x,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",l=Z(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),m(e,r),m(e,a),s&&s.m(e,null),m(e,n),c&&c.m(e,null)},p(d,[f]){d[5]?o?o.p(d,f):(o=Ut(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),d[7]?s?s.p(d,f):(s=Wt(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Kt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&l!==(l=Z(d[1],d[2],d[3],d[4]))&&u(e,"style",l)},i:x,o:x,d(d){d&&A(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function fa(i,e,t){const[r,a]=W("Requirement type",["optional","required"],!1);let{testid:n=""}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:k=""}=e;return q(()=>{a(k)}),i.$$set=v=>{"testid"in v&&t(0,n=v.testid),"mt"in v&&t(1,l=v.mt),"mr"in v&&t(2,o=v.mr),"mb"in v&&t(3,s=v.mb),"ml"in v&&t(4,c=v.ml),"label"in v&&t(5,d=v.label),"helptext"in v&&t(6,f=v.helptext),"error"in v&&t(7,h=v.error),"requirement"in v&&t(8,k=v.requirement)},[n,l,o,s,c,d,f,h,k,r]}class ga extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:0.5rem 0}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},fa,ua,B,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),g()}}customElements.define("goa-form-item",ga);function ha(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","goa-grid"),u(e,"style",r=`
|
|
50
50
|
${Z(i[2],i[3],i[4],i[5])}
|
|
51
51
|
--min-child-width: ${i[1]||0};
|
|
52
52
|
gap: var(--goa-space-${i[0]})
|
|
53
|
-
`)},m(n
|
|
54
|
-
${Z(
|
|
55
|
-
--min-child-width: ${
|
|
56
|
-
gap: var(--goa-space-${
|
|
57
|
-
`)&&u(e,"style",r)},i:x,o:x,d(
|
|
53
|
+
`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&63&&r!==(r=`
|
|
54
|
+
${Z(a[2],a[3],a[4],a[5])}
|
|
55
|
+
--min-child-width: ${a[1]||0};
|
|
56
|
+
gap: var(--goa-space-${a[0]})
|
|
57
|
+
`)&&u(e,"style",r)},i:x,o:x,d(a){a&&A(e)}}}function ma(i,e,t){let{gap:r="m"}=e,{minchildwidth:a=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:s=null}=e;return q(()=>{st("Grid",{minchildwidth:a})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,a=c.minchildwidth),"mt"in c&&t(2,n=c.mt),"mr"in c&&t(3,l=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,a,n,l,o,s]}class ba extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ma,ha,B,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth: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-grid",ba);function va(i){let e,t,r,a,n,l,o,s;return{c(){e=y("div"),t=y("goa-page-block"),r=y("h1"),a=V(i[0]),n=j(),l=y("div"),l.innerHTML="<slot></slot>",o=j(),s=y("slot"),this.c=x,u(l,"class","goa-hero-banner-content"),u(l,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),$(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]+")"),$(e,"background-size","cover"),$(e,"background-position","center"),$(e,"background-repeat","no-repeat"),$(e,"min-height",i[2])},m(c,d){p(c,e,d),m(e,t),m(t,r),m(r,a),m(t,n),m(t,l),m(t,o),m(t,s)},p(c,[d]){d&1&&U(a,c[0]),d&2&&$(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]+")"),d&4&&$(e,"min-height",c[2])},i:x,o:x,d(c){c&&A(e)}}}function ya(i,e,t){let{heading:r}=e,{backgroundurl:a}=e,{minheight:n="600px"}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"backgroundurl"in l&&t(1,a=l.backgroundurl),"minheight"in l&&t(2,n=l.minheight)},[r,a,n]}class wa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand-default);color:var(--goa-color-greyscale-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--goa-color-greyscale-white);font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ya,va,B,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),g()}}customElements.define("goa-hero-banner",wa);function _a(i){let e,t,r,a,n;return{c(){e=y("button"),t=y("goa-icon"),this.c=x,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[9]),u(e,"style",r=""+(Z(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(l,o){p(l,e,o),m(e,t),a||(n=F(e,"click",ka),a=!0)},p(l,[o]){o&8&&C(t,"title",l[3]),o&1&&C(t,"type",l[0]),o&2&&C(t,"size",l[1]),o&4&&C(t,"theme",l[2]),o&512&&C(t,"inverted",l[9]),o&1504&&r!==(r=""+(Z(l[5],l[6],l[7],l[8])+"; --pading-size: "+l[10]))&&u(e,"style",r),o&8&&u(e,"title",l[3]),o&2048&&(e.disabled=l[11]),o&4096&&u(e,"class",l[12]),o&16&&u(e,"data-testid",l[4])},i:x,o:x,d(l){l&&A(e),a=!1,n()}}}function ka(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function pa(i,e,t){let r,a,n,l;const[o,s]=W("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:k=""}=e,{testid:v=""}=e,{disabled:_="false"}=e,{inverted:w="false"}=e,{mt:b=null}=e,{mr:z=null}=e,{mb:D=null}=e,{ml:L=null}=e;return q(()=>{s(h)}),i.$$set=M=>{"icon"in M&&t(0,c=M.icon),"size"in M&&t(1,d=M.size),"theme"in M&&t(2,f=M.theme),"variant"in M&&t(13,h=M.variant),"title"in M&&t(3,k=M.title),"testid"in M&&t(4,v=M.testid),"disabled"in M&&t(14,_=M.disabled),"inverted"in M&&t(15,w=M.inverted),"mt"in M&&t(5,b=M.mt),"mr"in M&&t(6,z=M.mr),"mb"in M&&t(7,D=M.mb),"ml"in M&&t(8,L=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,n=Q(w)),i.$$.dirty&8704&&t(12,r=`${h} ${n?"inverted":""}`),i.$$.dirty&16384&&t(11,a=Q(_)),i.$$.dirty&2&&t(10,l={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,k,v,b,z,D,L,n,l,a,r,h,_,w]}class xa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--goa-font-family-sans)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive-default);fill:var(--goa-color-interactive-default);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus,button:active{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-interactive-focus);color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-interactive-hover)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},pa,_a,B,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),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[13]}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[14]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted: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-icon-button",xa);function Xt(i){let e,t;return{c(){e=y("ion-icon"),C(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,a){p(r,e,a)},p(r,a){a&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&C(e,"name",t)},d(r){r&&A(e)}}}function za(i){let e,t,r=i[4]&&Xt(i);return{c(){e=y("div"),r&&r.c(),this.c=x,u(e,"class","goa-icon"),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",t=`
|
|
58
58
|
${Z(i[0],i[1],i[2],i[3])}
|
|
59
59
|
--size: ${i[11]};
|
|
60
60
|
--fill-color: ${i[6]};
|
|
61
61
|
--hover-color: ${i[7]};
|
|
62
62
|
--opacity: ${i[8]};
|
|
63
|
-
`),O(e,"inverted",i[12])},m(n
|
|
64
|
-
${Z(
|
|
65
|
-
--size: ${
|
|
66
|
-
--fill-color: ${
|
|
67
|
-
--hover-color: ${
|
|
68
|
-
--opacity: ${
|
|
69
|
-
`)&&u(e,"style",t),
|
|
63
|
+
`),O(e,"inverted",i[12])},m(a,n){p(a,e,n),r&&r.m(e,null)},p(a,[n]){a[4]?r?r.p(a,n):(r=Xt(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),n&1024&&u(e,"data-testid",a[10]),n&512&&u(e,"title",a[9]),n&2511&&t!==(t=`
|
|
64
|
+
${Z(a[0],a[1],a[2],a[3])}
|
|
65
|
+
--size: ${a[11]};
|
|
66
|
+
--fill-color: ${a[6]};
|
|
67
|
+
--hover-color: ${a[7]};
|
|
68
|
+
--opacity: ${a[8]};
|
|
69
|
+
`)&&u(e,"style",t),n&4096&&O(e,"inverted",a[12])},i:x,o:x,d(a){a&&A(e),r&&r.d()}}}function Ma(i,e,t){let r,a,{mt:n=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:s=null}=e,{type:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{inverted:h="false"}=e,{fillcolor:k=""}=e,{hovercolor:v=""}=e,{opacity:_=1}=e,{title:w=""}=e,{testid:b=""}=e;return i.$$set=z=>{"mt"in z&&t(0,n=z.mt),"mr"in z&&t(1,l=z.mr),"mb"in z&&t(2,o=z.mb),"ml"in z&&t(3,s=z.ml),"type"in z&&t(4,c=z.type),"size"in z&&t(13,d=z.size),"theme"in z&&t(5,f=z.theme),"inverted"in z&&t(14,h=z.inverted),"fillcolor"in z&&t(6,k=z.fillcolor),"hovercolor"in z&&t(7,v=z.hovercolor),"opacity"in z&&t(8,_=z.opacity),"title"in z&&t(9,w=z.title),"testid"in z&&t(10,b=z.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(h)),i.$$.dirty&8192&&t(11,a={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[n,l,o,s,c,f,k,v,_,w,b,a,r,d,h]}class Ca extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ma,za,B,{mt:0,mr:1,mb:2,ml:3,type:4,size:13,theme:5,inverted:14,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","hovercolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[13]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-icon",Ca);function Jt(i){let e,t;return{c(){e=y("div"),t=V(i[14]),u(e,"class","prefix")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a[0]&16384&&U(t,r[14])},d(r){r&&A(e)}}}function $t(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[5])},m(t,r){p(t,e,r)},p(t,r){r[0]&32&&C(e,"type",t[5])},d(t){t&&A(e)}}}function ei(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[6])},m(t,r){p(t,e,r)},p(t,r){r[0]&64&&C(e,"type",t[6])},d(t){t&&A(e)}}}function ti(i){let e,t,r;return{c(){e=y("goa-icon-button"),C(e,"disabled",i[21]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"icon",i[6]),C(e,"data-testid","trailing-icon-button")},m(a,n){p(a,e,n),t||(r=F(e,"click",Aa),t=!0)},p(a,n){n[0]&2097152&&C(e,"disabled",a[21]),n[0]&64&&C(e,"icon",a[6])},d(a){a&&A(e),t=!1,r()}}}function ii(i){let e,t;return{c(){e=y("span"),t=V(i[15]),u(e,"class","suffix")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a[0]&32768&&U(t,r[15])},d(r){r&&A(e)}}}function Ea(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,v,_,w,b,z,D,L=i[14]&&Jt(i),M=i[5]&&$t(i),E=i[6]&&!i[24]&&ei(i),I=i[6]&&i[24]&&ti(i),N=i[15]&&ii(i);return{c(){e=y("div"),t=y("div"),L&&L.c(),r=j(),a=y("div"),a.innerHTML='<slot name="leadingContent"></slot>',n=j(),M&&M.c(),l=j(),o=y("input"),f=j(),E&&E.c(),h=j(),I&&I.c(),k=j(),N&&N.c(),v=j(),_=y("div"),_.innerHTML='<slot name="trailingContent"></slot>',this.c=x,u(a,"class","leading-content"),u(o,"class",s=`input--${i[7]}`),u(o,"style",c=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[23],o.disabled=i[21],u(o,"data-testid",i[8]),u(o,"autocapitalize",i[3]),u(o,"name",i[2]),u(o,"type",i[1]),o.value=i[0],u(o,"placeholder",i[4]),u(o,"min",i[11]),u(o,"max",i[12]),u(o,"step",i[13]),u(o,"role","textbox"),u(o,"aria-label",d=i[10]||i[2]),u(_,"class","trailing-content"),u(t,"class",w=`
|
|
70
70
|
goa-input
|
|
71
71
|
${i[21]?"goa-input--disabled":""}
|
|
72
72
|
variant--${i[7]}
|
|
@@ -74,7 +74,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
74
74
|
`),O(t,"error",i[22]),u(e,"class","container"),u(e,"style",b=`
|
|
75
75
|
${Z(i[16],i[17],i[18],i[19])};
|
|
76
76
|
--width: ${i[9]};
|
|
77
|
-
`)},m(T,H){p(T,e,H),m(e,t),L&&L.m(t,null),m(t,r),m(t,
|
|
77
|
+
`)},m(T,H){p(T,e,H),m(e,t),L&&L.m(t,null),m(t,r),m(t,a),m(t,n),M&&M.m(t,null),m(t,l),m(t,o),i[33](o),m(t,f),E&&E.m(t,null),m(t,h),I&&I.m(t,null),m(t,k),N&&N.m(t,null),m(t,v),m(t,_),z||(D=[F(o,"keyup",i[25]),F(o,"change",i[25])],z=!0)},p(T,H){T[14]?L?L.p(T,H):(L=Jt(T),L.c(),L.m(t,r)):L&&(L.d(1),L=null),T[5]?M?M.p(T,H):(M=$t(T),M.c(),M.m(t,l)):M&&(M.d(1),M=null),H[0]&128&&s!==(s=`input--${T[7]}`)&&u(o,"class",s),H[0]&64&&c!==(c=`--search-icon-offset: ${T[6]?"-0.5rem":"0"}`)&&u(o,"style",c),H[0]&8388608&&(o.readOnly=T[23]),H[0]&2097152&&(o.disabled=T[21]),H[0]&256&&u(o,"data-testid",T[8]),H[0]&8&&u(o,"autocapitalize",T[3]),H[0]&4&&u(o,"name",T[2]),H[0]&2&&u(o,"type",T[1]),H[0]&1&&o.value!==T[0]&&(o.value=T[0]),H[0]&16&&u(o,"placeholder",T[4]),H[0]&2048&&u(o,"min",T[11]),H[0]&4096&&u(o,"max",T[12]),H[0]&8192&&u(o,"step",T[13]),H[0]&1028&&d!==(d=T[10]||T[2])&&u(o,"aria-label",d),T[6]&&!T[24]?E?E.p(T,H):(E=ei(T),E.c(),E.m(t,h)):E&&(E.d(1),E=null),T[6]&&T[24]?I?I.p(T,H):(I=ti(T),I.c(),I.m(t,k)):I&&(I.d(1),I=null),T[15]?N?N.p(T,H):(N=ii(T),N.c(),N.m(t,v)):N&&(N.d(1),N=null),H[0]&2097282&&w!==(w=`
|
|
78
78
|
goa-input
|
|
79
79
|
${T[21]?"goa-input--disabled":""}
|
|
80
80
|
variant--${T[7]}
|
|
@@ -82,58 +82,57 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
|
|
|
82
82
|
`)&&u(t,"class",w),H[0]&6291586&&O(t,"error",T[22]),H[0]&983552&&b!==(b=`
|
|
83
83
|
${Z(T[16],T[17],T[18],T[19])};
|
|
84
84
|
--width: ${T[9]};
|
|
85
|
-
`)&&u(e,"style",b)},i:x,o:x,d(T){T&&A(e),L&&L.d(),M&&M.d(),i[33](null),E&&E.d(),I&&I.d(),N&&N.d(),z=!1,oe(D)}}}function
|
|
86
|
-
center center no-repeat}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},
|
|
87
|
-
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(l,"data-testid","site-text"),u(l,"class","site-text")},m(f,h){p(f,e,h),m(e,r),p(f,a,h),p(f,l,h),m(l,o),m(l,s),m(l,c),d&&d.m(l,null)},p(f,h){h&1&&t!==(t=li(f[0])+"")&&U(r,t),h&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,h):(d=ai(f),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},d(f){f&&A(e),f&&A(a),f&&A(l),d&&d.d()}}}function ai(i){let e,t,r,n;return{c(){e=y("span"),t=V("\u2014 help us improve it by giving "),r=y("a"),n=V("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(a,l){p(a,e,l),m(e,t),m(e,r),m(r,n)},p(a,l){l&4&&u(r,"href",a[2])},d(a){a&&A(e)}}}function oi(i){let e,t;return{c(){e=y("div"),t=V(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&2&&U(t,r[1])},d(r){r&&A(e)}}}function Nn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,a,l,o=i[0]==="live"&&ri(),s=r&&ni(i),c=i[1]&&oi(i);return{c(){e=y("header"),o&&o.c(),t=j(),s&&s.c(),n=j(),a=y("div"),l=j(),c&&c.c(),this.c=x,u(a,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,a),m(e,l),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=ri(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ni(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=oi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&A(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function li(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Dn(i,e,t){const[r,n]=W("Microsite header type",["live","alpha","beta"],!0);let{type:a}=e,{version:l=""}=e,{feedbackurl:o=""}=e;return q(()=>{n(a)}),i.$$set=s=>{"type"in s&&t(0,a=s.type),"version"in s&&t(1,l=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[a,l,o]}class jn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Dn,Nn,B,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(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",jn);function si(i){let e,t,r,n,a,l,o,s,c,d,f,h,k,v,_,w,b,z,D,L,M,E,I,N=i[3]!==null&&ci(i),T=i[0]&&di(i),H=i[4]&&ui(i);function se(ee,ae){return Rn}let ie=se()(i);return{c(){e=y("goa-focus-trap"),t=y("div"),r=y("div"),n=j(),a=y("div"),N&&N.c(),l=j(),o=y("div"),T&&T.c(),s=j(),H&&H.c(),c=j(),d=y("div"),ie.c(),f=j(),h=y("slot"),k=j(),v=y("div"),v.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(v,"class","modal-actions"),u(v,"data-testid","modal-actions"),u(o,"class","content"),u(a,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",b=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(ee,ae){p(ee,e,ae),m(e,t),m(t,r),m(t,n),m(t,a),N&&N.m(a,null),m(a,l),m(a,o),T&&T.m(o,null),m(o,s),H&&H.m(o,null),m(o,c),m(o,d),ie.m(d,null),m(d,f),m(d,h),m(o,k),m(o,v),M=!0,E||(I=[F(r,"click",i[8]),ft(z=Nt.call(null,t,{enable:i[7]}))],E=!0)},p(ee,ae){i=ee,i[3]!==null?N?N.p(i,ae):(N=ci(i),N.c(),N.m(a,l)):N&&(N.d(1),N=null),i[0]?T?T.p(i,ae):(T=di(i),T.c(),T.m(o,s)):T&&(T.d(1),T=null),i[4]?H?H.p(i,ae):(H=ui(i),H.c(),H.m(o,c)):H&&(H.d(1),H=null),(!M||ae&4&&b!==(b=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",b),z&&fe(z.update)&&ae&128&&z.update.call(null,{enable:i[7]}),(!M||ae&2)&&C(e,"active",i[1])},i(ee){M||(de(()=>{w&&w.end(1),_=_t(a,It,{duration:i[6],y:200}),_.start()}),de(()=>{L&&L.end(1),D=_t(t,Ae,{duration:i[6]}),D.start()}),M=!0)},o(ee){_&&_.invalidate(),w=kt(a,It,{delay:i[6],duration:i[6],y:-100}),D&&D.invalidate(),L=kt(t,Ae,{delay:i[6],duration:i[6]}),M=!1},d(ee){ee&&A(e),N&&N.d(),T&&T.d(),H&&H.d(),ie.d(),ee&&w&&w.end(),ee&&L&&L.end(),E=!1,oe(I)}}}function ci(i){let e,t,r,n;return{c(){e=y("div"),t=y("goa-icon"),C(t,"type",i[5]),C(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(a,l){p(a,e,l),m(e,t)},p(a,l){l&32&&C(t,"type",a[5]),l&8&&r!==(r=a[3]==="important"?"false":"true")&&C(t,"inverted",r),l&8&&n!==(n="callout-bar "+a[3])&&u(e,"class",n)},d(a){a&&A(e)}}}function di(i){let e,t;return{c(){e=y("div"),t=V(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),m(e,t)},p(r,n){n&1&&U(t,r[0])},d(r){r&&A(e)}}}function ui(i){let e,t,r,n;return{c(){e=y("div"),t=y("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),C(t,"variant","nocolor"),u(e,"class","modal-close")},m(a,l){p(a,e,l),m(e,t),r||(n=F(t,"click",i[8]),r=!0)},p:x,d(a){a&&A(e),r=!1,n()}}}function Rn(i){let e;return{c(){e=y("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&A(e)}}}function Hn(i){let e,t,r=i[7]&&si(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[7]?r?(r.p(n,a),a&128&&K(r,1)):(r=si(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),X(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){X(r),t=!1},d(n){r&&r.d(n),n&&A(e)}}}function Sn(i,e,t){let r,n,a,l;const[o,s]=W("Callout variant",["emergency","important","information","success","event"]),[c,d]=W("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:h="false"}=e,{open:k="false"}=e,{transition:v="none"}=e,{width:_=""}=e,{calloutvariant:w=null}=e;function b(z){!r||(z.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),z.stopPropagation())}return q(()=>{s(w),d(v)}),i.$$set=z=>{"heading"in z&&t(0,f=z.heading),"closable"in z&&t(9,h=z.closable),"open"in z&&t(1,k=z.open),"transition"in z&&t(10,v=z.transition),"width"in z&&t(2,_=z.width),"calloutvariant"in z&&t(3,w=z.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=Q(h)),i.$$.dirty&2&&t(7,n=Q(k)),i.$$.dirty&1024&&t(6,a=v==="none"?0:v==="slow"?400:200),i.$$.dirty&8&&t(5,l=w==="emergency"?"warning":w==="important"?"alert-circle":w==="information"?"information-circle":w==="success"?"checkmark-circle":w==="event"?"calendar":"")},[f,k,_,w,r,l,a,n,b,h,v]}class On extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.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 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:var(--goa-shadow-modal);border-radius:4px;max-height:90%;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--goa-font-size-7);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Sn,Hn,B,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(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[9]}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[10]}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",On);function fi(i){let e,t,r,n,a,l,o,s,c,d,f,h,k,v,_;return{c(){e=y("div"),t=y("div"),r=y("goa-icon"),a=j(),l=y("div"),l.innerHTML="<slot></slot>",o=j(),s=y("div"),c=y("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(l,"class","content"),C(c,"icon","close"),C(c,"variant","dark"),C(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(w,b){p(w,e,b),m(e,t),m(t,r),m(e,a),m(e,l),m(e,o),m(e,s),m(s,c),k=!0,v||(_=F(c,"click",i[3]),v=!0)},p(w,b){(!k||b&4)&&C(r,"type",w[2]),(!k||b&1&&n!==(n=w[0]==="important"?"false":"true"))&&C(r,"inverted",n),(!k||b&1&&d!==(d=w[0]==="important"?"false":"true"))&&C(c,"inverted",d),(!k||b&1&&f!==(f="notification "+w[0]))&&u(e,"class",f)},i(w){k||(de(()=>{h||(h=Je(e,Ae,{},!0)),h.run(1)}),k=!0)},o(w){h||(h=Je(e,Ae,{},!1)),h.run(0),k=!1},d(w){w&&A(e),w&&h&&h.end(),v=!1,_()}}}function Bn(i){let e,t,r=i[1]&&fi(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[1]?r?(r.p(n,a),a&2&&K(r,1)):(r=fi(n),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),X(r,1,1,()=>{r=null}),Ee())},i(n){t||(K(r),t=!0)},o(n){X(r),t=!1},d(n){r&&r.d(n),n&&A(e)}}}function Pn(i,e,t){let r;const[n,a]=W("Notification type",["emergency","important","information","event"],!0);let{type:l=""}=e,o=!0;q(()=>{a(l)});function s(c){t(1,o=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}return i.$$set=c=>{"type"in c&&t(0,l=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=l==="emergency"?"warning":l==="important"?"alert-circle":l==="information"?"information-circle":l==="event"?"calendar":"")},[l,o,r,s]}class Gn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Pn,Bn,B,{type:0},null),e&&(e.target&&p(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",Gn);const Yn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Zn(i){return Yn.test(i)}function Vn(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,a){p(n,e,a),m(e,t)},p(n,[a]){a&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:x,o:x,d(n){n&&A(e)}}}function Qn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:a}=e;function l(o){return!!(["full"].includes(n)||Zn(o))}return q(()=>{l(n)||console.error("Invalid PageBlock width"),t(0,a=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,a=o._width)},[a,n]}class Fn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Qn,Vn,B,{width:1,_width:0},null),e&&(e.target&&p(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",Fn);function gi(i,e,t){const r=i.slice();return r[22]=e[t],r}function hi(i,e){let t,r,n,a,l,o,s,c,d,f=(e[22].label||e[22].value)+"",h,k,v,_,w;function b(){return e[16](e[22])}return{key:i,first:null,c(){t=y("label"),r=y("input"),o=j(),s=y("div"),c=j(),d=y("span"),h=V(f),k=j(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=a=e[22].value===e[0],u(r,"aria-label",l=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",v="radio-option-"+e[22].value),u(t,"class","goa-radio"),O(t,"goa-radio--disabled",e[12]),O(t,"goa-radio--error",e[11]),this.first=t},m(z,D){p(z,t,D),m(t,r),m(t,o),m(t,s),m(t,c),m(t,d),m(d,h),m(t,k),_||(w=F(r,"change",b),_=!0)},p(z,D){e=z,D&2&&u(r,"name",e[1]),D&512&&n!==(n=e[22].value)&&(r.value=n),D&4096&&(r.disabled=e[12]),D&513&&a!==(a=e[22].value===e[0])&&(r.checked=a),D&18&&l!==(l=e[4]||e[1])&&u(r,"aria-label",l),D&512&&f!==(f=(e[22].label||e[22].value)+"")&&U(h,f),D&512&&v!==(v="radio-option-"+e[22].value)&&u(t,"data-testid",v),D&4096&&O(t,"goa-radio--disabled",e[12]),D&2048&&O(t,"goa-radio--error",e[11])},d(z){z&&A(t),_=!1,w()}}}function Un(i){let e,t,r,n=[],a=new Map,l,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=gi(i,s,d),h=c(f);a.set(h,n[d]=hi(h,f))}return{c(){e=y("div"),t=y("slot"),r=j();for(let d=0;d<n.length;d+=1)n[d].c();this.c=x,u(e,"style",l=Z(i[5],i[6],i[7],i[8])),u(e,"class",o=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,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(d,[f]){f&14867&&(s=d[9],n=xt(n,f,c,1,d,s,a,e,pt,hi,null,gi)),f&480&&l!==(l=Z(d[5],d[6],d[7],d[8]))&&u(e,"style",l),f&4&&o!==(o=`goa-radio-group--${d[2]}`)&&u(e,"class",o),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&A(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function qn(i,e,t){let r,n;const[a,l]=W("Radio group orientation",["vertical","horizontal"]);let{name:o}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:k=""}=e,{mt:v=null}=e,{mr:_=null}=e,{mb:w=null}=e,{ml:b=null}=e,z=[],D;q(async()=>{await ge(),t(9,z=M())});function L(){const T=D.querySelector("slot");return T?[...T.assignedElements()]:[...D.children]}function M(){return L().map(H=>{const se=H,J=H.getAttribute("value")||se.value,ie=H.getAttribute("label")||H.innerText||se.label||se.innerText;return{value:J,label:ie}})}function E(T){T!==s&&(t(0,s=T),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:s}})))}q(()=>{l(c)});const I=T=>E(T.value);function N(T){te[T?"unshift":"push"](()=>{D=T,t(10,D)})}return i.$$set=T=>{"name"in T&&t(1,o=T.name),"value"in T&&t(0,s=T.value),"orientation"in T&&t(2,c=T.orientation),"disabled"in T&&t(14,d=T.disabled),"error"in T&&t(15,f=T.error),"testid"in T&&t(3,h=T.testid),"arialabel"in T&&t(4,k=T.arialabel),"mt"in T&&t(5,v=T.mt),"mr"in T&&t(6,_=T.mr),"mb"in T&&t(7,w=T.mb),"ml"in T&&t(8,b=T.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(d)),i.$$.dirty&32768&&t(11,n=Q(f))},[s,o,c,h,k,v,_,w,b,z,D,n,r,E,d,f,I,N]}class Wn extends P{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}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(--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"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
88
|
-
var(--goa-color-interactive-hover)}input[type="radio"]:
|
|
89
|
-
var(--goa-color-interactive-hover)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid 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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},qn,Un,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&&p(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",Wn);function Kn(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
85
|
+
`)&&u(e,"style",b)},i:x,o:x,d(T){T&&A(e),L&&L.d(),M&&M.d(),i[33](null),E&&E.d(),I&&I.d(),N&&N.d(),z=!1,oe(D)}}}function Aa(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Ta(i,e,t){let r,a,n,l,o;const[s,c]=W("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=W("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:k=""}=e,{value:v=""}=e,{autocapitalize:_="off"}=e,{placeholder:w=""}=e,{leadingicon:b=null}=e,{trailingicon:z=null}=e,{variant:D="goa"}=e,{disabled:L="false"}=e,{handletrailingiconclick:M="false"}=e,{focused:E="false"}=e,{readonly:I="false"}=e,{error:N="false"}=e,{testid:T=""}=e,{width:H="30ch"}=e,{arialabel:se=null}=e,{min:J=""}=e,{max:ie=""}=e,{step:ee=1}=e,{prefix:ne=""}=e,{suffix:Le=""}=e,{debounce:Oe=0}=e,{mt:$e=null}=e,{mr:et=null}=e,{mb:Be=null}=e,{ml:xe=null}=e,re,Ie=null;function ve(S){const Ne=S.target;!Ne||(Ie!=null&&clearTimeout(Ie),Ie=setTimeout(()=>{Ne.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:k,value:Ne.value}}))},Oe),t(0,v=Ne.value))}q(()=>{c(h),f(_),(ne!=""||Le!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function tt(S){te[S?"unshift":"push"](()=>{re=S,t(20,re)})}return i.$$set=S=>{"type"in S&&t(1,h=S.type),"name"in S&&t(2,k=S.name),"value"in S&&t(0,v=S.value),"autocapitalize"in S&&t(3,_=S.autocapitalize),"placeholder"in S&&t(4,w=S.placeholder),"leadingicon"in S&&t(5,b=S.leadingicon),"trailingicon"in S&&t(6,z=S.trailingicon),"variant"in S&&t(7,D=S.variant),"disabled"in S&&t(26,L=S.disabled),"handletrailingiconclick"in S&&t(27,M=S.handletrailingiconclick),"focused"in S&&t(28,E=S.focused),"readonly"in S&&t(29,I=S.readonly),"error"in S&&t(30,N=S.error),"testid"in S&&t(8,T=S.testid),"width"in S&&t(9,H=S.width),"arialabel"in S&&t(10,se=S.arialabel),"min"in S&&t(11,J=S.min),"max"in S&&t(12,ie=S.max),"step"in S&&t(13,ee=S.step),"prefix"in S&&t(14,ne=S.prefix),"suffix"in S&&t(15,Le=S.suffix),"debounce"in S&&t(31,Oe=S.debounce),"mt"in S&&t(16,$e=S.mt),"mr"in S&&t(17,et=S.mr),"mb"in S&&t(18,Be=S.mb),"ml"in S&&t(19,xe=S.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=Q(M)),i.$$.dirty[0]&268435456&&t(32,a=Q(E)),i.$$.dirty[0]&536870912&&t(23,n=Q(I)),i.$$.dirty[0]&1073741824&&t(22,l=Q(N)),i.$$.dirty[0]&67108864&&t(21,o=Q(L)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&2&&a&&re&&setTimeout(()=>re.focus(),1),i.$$.dirty[0]&1048578&&re&&h==="search"&&re.addEventListener("search",S=>{ve(S)})},[v,h,k,_,w,b,z,D,T,H,se,J,ie,ee,ne,Le,$e,et,Be,xe,re,o,l,n,r,ve,L,M,E,I,N,Oe,a,tt]}class La extends P{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{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,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-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)}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);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.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,.error:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}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>')
|
|
86
|
+
center center no-repeat}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ta,Ea,B,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:31,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&p(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[26]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[30]}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[31]}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",La);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=j(),r=y("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(a,n){p(a,e,n),p(a,t,n),p(a,r,n)},d(a){a&&A(e),a&&A(t),a&&A(r)}}}function ai(i){let e,t=li(i[0])+"",r,a,n,l,o,s,c,d=i[2]&&ni(i);return{c(){e=y("div"),r=V(t),n=j(),l=y("div"),o=V("This is a new "),s=y("a"),s.textContent="Alberta Government",c=V(` service
|
|
87
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",a="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(l,"data-testid","site-text"),u(l,"class","site-text")},m(f,h){p(f,e,h),m(e,r),p(f,n,h),p(f,l,h),m(l,o),m(l,s),m(l,c),d&&d.m(l,null)},p(f,h){h&1&&t!==(t=li(f[0])+"")&&U(r,t),h&1&&a!==(a="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",a),f[2]?d?d.p(f,h):(d=ni(f),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},d(f){f&&A(e),f&&A(n),f&&A(l),d&&d.d()}}}function ni(i){let e,t,r,a;return{c(){e=y("span"),t=V("\u2014 help us improve it by giving "),r=y("a"),a=V("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(n,l){p(n,e,l),m(e,t),m(e,r),m(r,a)},p(n,l){l&4&&u(r,"href",n[2])},d(n){n&&A(e)}}}function oi(i){let e,t;return{c(){e=y("div"),t=V(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&2&&U(t,r[1])},d(r){r&&A(e)}}}function Ia(i){let e,t,r=["alpha","beta"].includes(i[0]),a,n,l,o=i[0]==="live"&&ri(),s=r&&ai(i),c=i[1]&&oi(i);return{c(){e=y("header"),o&&o.c(),t=j(),s&&s.c(),a=j(),n=y("div"),l=j(),c&&c.c(),this.c=x,u(n,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),o&&o.m(e,null),m(e,t),s&&s.m(e,null),m(e,a),m(e,n),m(e,l),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=ri(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ai(d),s.c(),s.m(e,a)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=oi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&A(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function li(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Na(i,e,t){const[r,a]=W("Microsite header type",["live","alpha","beta"],!0);let{type:n}=e,{version:l=""}=e,{feedbackurl:o=""}=e;return q(()=>{a(n)}),i.$$set=s=>{"type"in s&&t(0,n=s.type),"version"in s&&t(1,l=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[n,l,o]}class Da extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Na,Ia,B,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(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",Da);function si(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,v,_,w,b,z,D,L,M,E,I,N=i[3]!==null&&ci(i),T=i[0]&&di(i),H=i[4]&&ui(i);function se(ee,ne){return ja}let ie=se()(i);return{c(){e=y("goa-focus-trap"),t=y("div"),r=y("div"),a=j(),n=y("div"),N&&N.c(),l=j(),o=y("div"),T&&T.c(),s=j(),H&&H.c(),c=j(),d=y("div"),ie.c(),f=j(),h=y("slot"),k=j(),v=y("div"),v.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(v,"class","modal-actions"),u(v,"data-testid","modal-actions"),u(o,"class","content"),u(n,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",b=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(ee,ne){p(ee,e,ne),m(e,t),m(t,r),m(t,a),m(t,n),N&&N.m(n,null),m(n,l),m(n,o),T&&T.m(o,null),m(o,s),H&&H.m(o,null),m(o,c),m(o,d),ie.m(d,null),m(d,f),m(d,h),m(o,k),m(o,v),M=!0,E||(I=[F(r,"click",i[8]),ft(z=Nt.call(null,t,{enable:i[7]}))],E=!0)},p(ee,ne){i=ee,i[3]!==null?N?N.p(i,ne):(N=ci(i),N.c(),N.m(n,l)):N&&(N.d(1),N=null),i[0]?T?T.p(i,ne):(T=di(i),T.c(),T.m(o,s)):T&&(T.d(1),T=null),i[4]?H?H.p(i,ne):(H=ui(i),H.c(),H.m(o,c)):H&&(H.d(1),H=null),(!M||ne&4&&b!==(b=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",b),z&&fe(z.update)&&ne&128&&z.update.call(null,{enable:i[7]}),(!M||ne&2)&&C(e,"active",i[1])},i(ee){M||(de(()=>{w&&w.end(1),_=_t(n,It,{duration:i[6],y:200}),_.start()}),de(()=>{L&&L.end(1),D=_t(t,Ae,{duration:i[6]}),D.start()}),M=!0)},o(ee){_&&_.invalidate(),w=kt(n,It,{delay:i[6],duration:i[6],y:-100}),D&&D.invalidate(),L=kt(t,Ae,{delay:i[6],duration:i[6]}),M=!1},d(ee){ee&&A(e),N&&N.d(),T&&T.d(),H&&H.d(),ie.d(),ee&&w&&w.end(),ee&&L&&L.end(),E=!1,oe(I)}}}function ci(i){let e,t,r,a;return{c(){e=y("div"),t=y("goa-icon"),C(t,"type",i[5]),C(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",a="callout-bar "+i[3])},m(n,l){p(n,e,l),m(e,t)},p(n,l){l&32&&C(t,"type",n[5]),l&8&&r!==(r=n[3]==="important"?"false":"true")&&C(t,"inverted",r),l&8&&a!==(a="callout-bar "+n[3])&&u(e,"class",a)},d(n){n&&A(e)}}}function di(i){let e,t;return{c(){e=y("div"),t=V(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,a){p(r,e,a),m(e,t)},p(r,a){a&1&&U(t,r[0])},d(r){r&&A(e)}}}function ui(i){let e,t,r,a;return{c(){e=y("div"),t=y("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),C(t,"variant","nocolor"),u(e,"class","modal-close")},m(n,l){p(n,e,l),m(e,t),r||(a=F(t,"click",i[8]),r=!0)},p:x,d(n){n&&A(e),r=!1,a()}}}function ja(i){let e;return{c(){e=y("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&A(e)}}}function Ra(i){let e,t,r=i[7]&&si(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(a,n){r&&r.m(a,n),p(a,e,n),t=!0},p(a,[n]){a[7]?r?(r.p(a,n),n&128&&K(r,1)):(r=si(a),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),X(r,1,1,()=>{r=null}),Ee())},i(a){t||(K(r),t=!0)},o(a){X(r),t=!1},d(a){r&&r.d(a),a&&A(e)}}}function Ha(i,e,t){let r,a,n,l;const[o,s]=W("Callout variant",["emergency","important","information","success","event"]),[c,d]=W("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:h="false"}=e,{open:k="false"}=e,{transition:v="none"}=e,{width:_=""}=e,{calloutvariant:w=null}=e;function b(z){!r||(z.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),z.stopPropagation())}return q(()=>{s(w),d(v)}),i.$$set=z=>{"heading"in z&&t(0,f=z.heading),"closable"in z&&t(9,h=z.closable),"open"in z&&t(1,k=z.open),"transition"in z&&t(10,v=z.transition),"width"in z&&t(2,_=z.width),"calloutvariant"in z&&t(3,w=z.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=Q(h)),i.$$.dirty&2&&t(7,a=Q(k)),i.$$.dirty&1024&&t(6,n=v==="none"?0:v==="slow"?400:200),i.$$.dirty&8&&t(5,l=w==="emergency"?"warning":w==="important"?"alert-circle":w==="information"?"information-circle":w==="success"?"checkmark-circle":w==="event"?"calendar":"")},[f,k,_,w,r,l,n,a,b,h,v]}class Sa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.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 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:var(--goa-shadow-modal);border-radius:4px;max-height:90%;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--goa-font-size-7);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ha,Ra,B,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(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[9]}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[10]}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",Sa);function fi(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,v,_;return{c(){e=y("div"),t=y("div"),r=y("goa-icon"),n=j(),l=y("div"),l.innerHTML="<slot></slot>",o=j(),s=y("div"),c=y("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",a=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(l,"class","content"),C(c,"icon","close"),C(c,"variant","dark"),C(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(w,b){p(w,e,b),m(e,t),m(t,r),m(e,n),m(e,l),m(e,o),m(e,s),m(s,c),k=!0,v||(_=F(c,"click",i[3]),v=!0)},p(w,b){(!k||b&4)&&C(r,"type",w[2]),(!k||b&1&&a!==(a=w[0]==="important"?"false":"true"))&&C(r,"inverted",a),(!k||b&1&&d!==(d=w[0]==="important"?"false":"true"))&&C(c,"inverted",d),(!k||b&1&&f!==(f="notification "+w[0]))&&u(e,"class",f)},i(w){k||(de(()=>{h||(h=Je(e,Ae,{},!0)),h.run(1)}),k=!0)},o(w){h||(h=Je(e,Ae,{},!1)),h.run(0),k=!1},d(w){w&&A(e),w&&h&&h.end(),v=!1,_()}}}function Oa(i){let e,t,r=i[1]&&fi(i);return{c(){r&&r.c(),e=_e(),this.c=x},m(a,n){r&&r.m(a,n),p(a,e,n),t=!0},p(a,[n]){a[1]?r?(r.p(a,n),n&2&&K(r,1)):(r=fi(a),r.c(),K(r,1),r.m(e.parentNode,e)):r&&(Ce(),X(r,1,1,()=>{r=null}),Ee())},i(a){t||(K(r),t=!0)},o(a){X(r),t=!1},d(a){r&&r.d(a),a&&A(e)}}}function Ba(i,e,t){let r;const[a,n]=W("Notification type",["emergency","important","information","event"],!0);let{type:l=""}=e,o=!0;q(()=>{n(l)});function s(c){t(1,o=!1),c.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),c.stopPropagation()}return i.$$set=c=>{"type"in c&&t(0,l=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=l==="emergency"?"warning":l==="important"?"alert-circle":l==="information"?"information-circle":l==="event"?"calendar":"")},[l,o,r,s]}class Pa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ba,Oa,B,{type:0},null),e&&(e.target&&p(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",Pa);const Ga=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Ya(i){return Ga.test(i)}function Za(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&1&&r!==(r=`--max-width: ${a[0]}`)&&u(e,"style",r)},i:x,o:x,d(a){a&&A(e)}}}function Va(i,e,t){const r={full:"100%"};let{width:a}=e,{_width:n}=e;function l(o){return!!(["full"].includes(a)||Ya(o))}return q(()=>{l(a)||console.error("Invalid PageBlock width"),t(0,n=r[a]||a)}),i.$$set=o=>{"width"in o&&t(1,a=o.width),"_width"in o&&t(0,n=o._width)},[n,a]}class Qa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Va,Za,B,{width:1,_width:0},null),e&&(e.target&&p(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",Qa);function gi(i,e,t){const r=i.slice();return r[22]=e[t],r}function hi(i,e){let t,r,a,n,l,o,s,c,d,f=(e[22].label||e[22].value)+"",h,k,v,_,w;function b(){return e[16](e[22])}return{key:i,first:null,c(){t=y("label"),r=y("input"),o=j(),s=y("div"),c=j(),d=y("span"),h=V(f),k=j(),u(r,"type","radio"),u(r,"name",e[1]),r.value=a=e[22].value,r.disabled=e[12],r.checked=n=e[22].value===e[0],u(r,"aria-label",l=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",v="radio-option-"+e[22].value),u(t,"class","goa-radio"),O(t,"goa-radio--disabled",e[12]),O(t,"goa-radio--error",e[11]),this.first=t},m(z,D){p(z,t,D),m(t,r),m(t,o),m(t,s),m(t,c),m(t,d),m(d,h),m(t,k),_||(w=F(r,"change",b),_=!0)},p(z,D){e=z,D&2&&u(r,"name",e[1]),D&512&&a!==(a=e[22].value)&&(r.value=a),D&4096&&(r.disabled=e[12]),D&513&&n!==(n=e[22].value===e[0])&&(r.checked=n),D&18&&l!==(l=e[4]||e[1])&&u(r,"aria-label",l),D&512&&f!==(f=(e[22].label||e[22].value)+"")&&U(h,f),D&512&&v!==(v="radio-option-"+e[22].value)&&u(t,"data-testid",v),D&4096&&O(t,"goa-radio--disabled",e[12]),D&2048&&O(t,"goa-radio--error",e[11])},d(z){z&&A(t),_=!1,w()}}}function Fa(i){let e,t,r,a=[],n=new Map,l,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=gi(i,s,d),h=c(f);n.set(h,a[d]=hi(h,f))}return{c(){e=y("div"),t=y("slot"),r=j();for(let d=0;d<a.length;d+=1)a[d].c();this.c=x,u(e,"style",l=Z(i[5],i[6],i[7],i[8])),u(e,"class",o=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,e,f),m(e,t),m(e,r);for(let h=0;h<a.length;h+=1)a[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],a=xt(a,f,c,1,d,s,n,e,pt,hi,null,gi)),f&480&&l!==(l=Z(d[5],d[6],d[7],d[8]))&&u(e,"style",l),f&4&&o!==(o=`goa-radio-group--${d[2]}`)&&u(e,"class",o),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&A(e);for(let f=0;f<a.length;f+=1)a[f].d();i[17](null)}}}function Ua(i,e,t){let r,a;const[n,l]=W("Radio group orientation",["vertical","horizontal"]);let{name:o}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:k=""}=e,{mt:v=null}=e,{mr:_=null}=e,{mb:w=null}=e,{ml:b=null}=e,z=[],D;q(async()=>{await ge(),t(9,z=M())});function L(){const T=D.querySelector("slot");return T?[...T.assignedElements()]:[...D.children]}function M(){return L().map(H=>{const se=H,J=H.getAttribute("value")||se.value,ie=H.getAttribute("label")||H.innerText||se.label||se.innerText;return{value:J,label:ie}})}function E(T){T!==s&&(t(0,s=T),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:s}})))}q(()=>{l(c)});const I=T=>E(T.value);function N(T){te[T?"unshift":"push"](()=>{D=T,t(10,D)})}return i.$$set=T=>{"name"in T&&t(1,o=T.name),"value"in T&&t(0,s=T.value),"orientation"in T&&t(2,c=T.orientation),"disabled"in T&&t(14,d=T.disabled),"error"in T&&t(15,f=T.error),"testid"in T&&t(3,h=T.testid),"arialabel"in T&&t(4,k=T.arialabel),"mt"in T&&t(5,v=T.mt),"mr"in T&&t(6,_=T.mr),"mb"in T&&t(7,w=T.mb),"ml"in T&&t(8,b=T.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(d)),i.$$.dirty&32768&&t(11,a=Q(f))},[s,o,c,h,k,v,_,w,b,z,D,a,r,E,d,f,I,N]}class qa extends P{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{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
|
|
88
|
+
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>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ua,Fa,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&&p(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",qa);function Wa(i){let e,t,r;return{c(){e=y("div"),t=y("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
90
89
|
--max-height: ${i[3]};
|
|
91
90
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
92
91
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
93
92
|
margin: ${i[2]}rem 0;
|
|
94
93
|
padding: 0 ${i[1]}rem;
|
|
95
|
-
`)},m(n
|
|
96
|
-
--max-height: ${
|
|
97
|
-
overflow-y: ${
|
|
98
|
-
overflow-x: ${
|
|
99
|
-
margin: ${
|
|
100
|
-
padding: 0 ${
|
|
101
|
-
`)&&u(e,"style",r)},i:x,o:x,d(n){n&&A(e)}}}function Xn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:a=0}=e,{height:l=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,n=o.hpadding),"vpadding"in o&&t(2,a=o.vpadding),"height"in o&&t(3,l=o.height)},[r,n,a,l]}class Jn extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Xn,Kn,B,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(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",Jn);function mi(i,e,t){const r=i.slice();return r[13]=e[t],r}function $n(i){let e,t;return{c(){e=y("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&A(e)}}}function ea(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let l=0;l<r.length;l+=1)n[l]=bi(mi(i,r,l));const a=l=>X(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=_e()},m(l,o){for(let s=0;s<n.length;s+=1)n[s].m(l,o);p(l,e,o),t=!0},p(l,o){if(o&6){r=Array(Number.parseInt(l[2]+""));let s;for(s=0;s<r.length;s+=1){const c=mi(l,r,s);n[s]?(n[s].p(c,o),K(n[s],1)):(n[s]=bi(c),n[s].c(),K(n[s],1),n[s].m(e.parentNode,e))}for(Ce(),s=r.length;s<n.length;s+=1)a(s);Ee()}},i(l){if(!t){for(let o=0;o<r.length;o+=1)K(n[o]);t=!0}},o(l){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)X(n[o]);t=!1},d(l){Ve(n,l),l&&A(e)}}}function ta(i){let e,t,r,n,a,l,o,s,c,d;return r=new be({props:{type:"avatar",size:i[1]}}),l=new be({props:{type:"title",size:i[1]}}),s=new be({props:{type:"text-small",size:i[1]}}),{c(){e=y("div"),t=y("div"),pe(r.$$.fragment),n=j(),a=y("div"),pe(l.$$.fragment),o=j(),pe(s.$$.fragment),u(t,"class","profile-avatar"),u(a,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){p(f,e,h),m(e,t),he(r,t,null),m(e,n),m(e,a),he(l,a,null),m(a,o),he(s,a,null),d=!0},p(f,h){const k={};h&2&&(k.size=f[1]),r.$set(k);const v={};h&2&&(v.size=f[1]),l.$set(v);const _={};h&2&&(_.size=f[1]),s.$set(_),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(l.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){X(r.$$.fragment,f),X(l.$$.fragment,f),X(s.$$.fragment,f),d=!1},d(f){f&&A(e),me(r),me(l),me(s)}}}function ia(i){let e,t,r,n,a,l,o,s,c;return t=new be({props:{type:"image",size:i[1]}}),a=new be({props:{type:"header",size:i[1]}}),o=new be({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=y("div"),pe(t.$$.fragment),r=j(),n=y("div"),pe(a.$$.fragment),l=j(),pe(o.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),$(e,"--max-width",i[0])},m(d,f){p(d,e,f),he(t,e,null),m(e,r),m(e,n),he(a,n,null),m(n,l),he(o,n,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const k={};f&2&&(k.size=d[1]),a.$set(k);const v={};f&2&&(v.size=d[1]),f&4&&(v.linecount=d[2]),o.$set(v),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&$(e,"--max-width",d[0])},i(d){c||(K(t.$$.fragment,d),K(a.$$.fragment,d),K(o.$$.fragment,d),c=!0)},o(d){X(t.$$.fragment,d),X(a.$$.fragment,d),X(o.$$.fragment,d),c=!1},d(d){d&&A(e),me(t),me(a),me(o)}}}function bi(i){let e,t;return e=new be({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){pe(e.$$.fragment)},m(r,n){he(e,r,n),t=!0},p(r,n){const a={};n&2&&(a.size=r[1]),n&4&&(a.linecount=r[2]),e.$set(a)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){X(e.$$.fragment,r),t=!1},d(r){me(e,r)}}}function ra(i){let e,t,r,n,a;const l=[ia,ta,ea,$n],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=l[t](i),{c(){e=y("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",n=""+(Z(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),o[t].m(e,null),a=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(Ce(),X(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,d):(r=o[t]=l[t](c),r.c()),K(r,1),r.m(e,null)),(!a||d&16)&&u(e,"data-testid",c[4]),(!a||d&480&&n!==(n=""+(Z(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){a||(K(r),a=!0)},o(c){X(r),a=!1},d(c){c&&A(e),o[t].d()}}}function na(i,e,t){const[r,n]=W("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[a,l]=W("Skeleton size",["1","2","3","4"]);let{maxwidth:o=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:k=null}=e,{mb:v=null}=e,{ml:_=null}=e;return q(()=>{n(d),l(s)}),i.$$set=w=>{"maxwidth"in w&&t(0,o=w.maxwidth),"size"in w&&t(1,s=w.size),"linecount"in w&&t(2,c=w.linecount),"type"in w&&t(3,d=w.type),"testid"in w&&t(4,f=w.testid),"mt"in w&&t(5,h=w.mt),"mr"in w&&t(6,k=w.mr),"mb"in w&&t(7,v=w.mb),"ml"in w&&t(8,_=w.ml)},[o,s,c,d,f,h,k,v,_]}class be extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-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-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.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:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;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(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},na,ra,B,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid: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-skeleton",be);function aa(i){let e;return{c(){e=y("div"),this.c=x},m(t,r){p(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&A(e),i[3](null)}}}function oa(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,a;q(()=>{zt(a,":host",{width:`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function l(o){te[o?"unshift":"push"](()=>{a=o,t(0,a)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,n=o.vspacing)},[a,r,n,l]}class la extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},oa,aa,B,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",la);const Te=[];function sa(i,e=x){let t;const r=new Set;function n(o){if(B(i,o)&&(i=o,t)){const s=!Te.length;for(const c of r)c[1](),Te.push(c,i);if(s){for(let c=0;c<Te.length;c+=2)Te[c][0](Te[c+1]);Te.length=0}}}function a(o){n(o(i))}function l(o,s=x){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||x),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:a,subscribe:l}}function vi(i){return Object.prototype.toString.call(i)==="[object Date]"}function ct(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((n,a)=>ct(i[a],n));return n=>r.map(a=>a(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(vi(i)&&vi(e)){i=i.getTime(),e=e.getTime();const a=e-i;return l=>new Date(i+l*a)}const r=Object.keys(e),n={};return r.forEach(a=>{n[a]=ct(i[a],e[a])}),a=>{const l={};return r.forEach(o=>{l[o]=n[o](a)}),l}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function ca(i,e={}){const t=sa(i);let r,n=i;function a(l,o){if(i==null)return t.set(i=l),Promise.resolve();n=l;let s=r,c=!1,{delay:d=0,duration:f=400,easing:h=De,interpolate:k=ct}=dt(dt({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const v=Ye()+d;let _;return r=Ze(w=>{if(w<v)return!0;c||(_=k(i,l),typeof f=="function"&&(f=f(i,l)),c=!0),s&&(s.abort(),s=null);const b=w-v;return b>f?(t.set(i=l),!1):(t.set(i=_(h(b/f))),!0)}),r.promise}return{set:a,update:(l,o)=>a(l(n,i),o),subscribe:t.subscribe}}function yi(i){let e,t,r,n,a,l,o,s,c;return{c(){e=we("svg"),t=we("circle"),a=we("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(a,"d",l=i[9](i[7])),u(a,"stroke-width",i[4]),u(a,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(a,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),m(e,t),m(e,a)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&l!==(l=d[9](d[7]))&&u(a,"d",l),f&16&&u(a,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(a,"stroke",o),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&A(e)}}}function da(i){let e,t=i[6]&&yi(i);return{c(){t&&t.c(),e=_e(),this.c=x},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=yi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:x,o:x,d(r){t&&t.d(r),r&&A(e)}}}function ua(i,e,t){let r,n,a,l,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,k="infinite";const v=ca(0,{duration:500,easing:Dr});Ei(i,v,b=>t(7,s=b));function _(b){const z=a+l*Math.cos(b),D=a+l*Math.sin(b);return z+" "+D}function w(b){switch(k){case"progress":{const z=_(-Math.PI/2),D=_(-Math.PI/2+2*Math.PI*(b/100)),L=b%100<50?0:1;return`M ${z} A ${l} ${l} 0 ${L} 1 ${D}`}case"infinite":{const z=_(Math.PI*1.5),D=_(0);return`M ${z} A ${l} ${l} 0 1 0 ${D}`}}}return i.$$set=b=>{"size"in b&&t(10,c=b.size),"invert"in b&&t(0,d=b.invert),"progress"in b&&t(11,f=b.progress),"testid"in b&&t(1,h=b.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const b=parseFloat(f+"");b>=0&&(v.set(b||1),t(2,k="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,a=r/2),i.$$.dirty&24&&t(12,l=a-n/2),i.$$.dirty&6148&&t(6,o=k==="infinite"?l:l&&f)},[d,h,k,a,n,r,o,s,v,w,c,f,l]}class fa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ua,da,B,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","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 progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",fa);function ga(i){let e,t,r,n,a;return{c(){e=y("table"),t=y("slot"),r=j(),n=y("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
94
|
+
`)},m(a,n){p(a,e,n),m(e,t)},p(a,[n]){n&15&&r!==(r=`
|
|
95
|
+
--max-height: ${a[3]};
|
|
96
|
+
overflow-y: ${a[0]==="vertical"?"auto":"hidden"};
|
|
97
|
+
overflow-x: ${a[0]==="horizontal"?"auto":"hidden"};
|
|
98
|
+
margin: ${a[2]}rem 0;
|
|
99
|
+
padding: 0 ${a[1]}rem;
|
|
100
|
+
`)&&u(e,"style",r)},i:x,o:x,d(a){a&&A(e)}}}function Ka(i,e,t){let{direction:r="vertical"}=e,{hpadding:a=0}=e,{vpadding:n=0}=e,{height:l=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,a=o.hpadding),"vpadding"in o&&t(2,n=o.vpadding),"height"in o&&t(3,l=o.height)},[r,a,n,l]}class Xa extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ka,Wa,B,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(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",Xa);function mi(i,e,t){const r=i.slice();return r[13]=e[t],r}function Ja(i){let e,t;return{c(){e=y("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,a){p(r,e,a)},p(r,a){a&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&A(e)}}}function $a(i){let e,t,r=Array(Number.parseInt(i[2]+"")),a=[];for(let l=0;l<r.length;l+=1)a[l]=bi(mi(i,r,l));const n=l=>X(a[l],1,1,()=>{a[l]=null});return{c(){for(let l=0;l<a.length;l+=1)a[l].c();e=_e()},m(l,o){for(let s=0;s<a.length;s+=1)a[s].m(l,o);p(l,e,o),t=!0},p(l,o){if(o&6){r=Array(Number.parseInt(l[2]+""));let s;for(s=0;s<r.length;s+=1){const c=mi(l,r,s);a[s]?(a[s].p(c,o),K(a[s],1)):(a[s]=bi(c),a[s].c(),K(a[s],1),a[s].m(e.parentNode,e))}for(Ce(),s=r.length;s<a.length;s+=1)n(s);Ee()}},i(l){if(!t){for(let o=0;o<r.length;o+=1)K(a[o]);t=!0}},o(l){a=a.filter(Boolean);for(let o=0;o<a.length;o+=1)X(a[o]);t=!1},d(l){Ve(a,l),l&&A(e)}}}function en(i){let e,t,r,a,n,l,o,s,c,d;return r=new be({props:{type:"avatar",size:i[1]}}),l=new be({props:{type:"title",size:i[1]}}),s=new be({props:{type:"text-small",size:i[1]}}),{c(){e=y("div"),t=y("div"),pe(r.$$.fragment),a=j(),n=y("div"),pe(l.$$.fragment),o=j(),pe(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){p(f,e,h),m(e,t),he(r,t,null),m(e,a),m(e,n),he(l,n,null),m(n,o),he(s,n,null),d=!0},p(f,h){const k={};h&2&&(k.size=f[1]),r.$set(k);const v={};h&2&&(v.size=f[1]),l.$set(v);const _={};h&2&&(_.size=f[1]),s.$set(_),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(K(r.$$.fragment,f),K(l.$$.fragment,f),K(s.$$.fragment,f),d=!0)},o(f){X(r.$$.fragment,f),X(l.$$.fragment,f),X(s.$$.fragment,f),d=!1},d(f){f&&A(e),me(r),me(l),me(s)}}}function tn(i){let e,t,r,a,n,l,o,s,c;return t=new be({props:{type:"image",size:i[1]}}),n=new be({props:{type:"header",size:i[1]}}),o=new be({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=y("div"),pe(t.$$.fragment),r=j(),a=y("div"),pe(n.$$.fragment),l=j(),pe(o.$$.fragment),u(a,"class","card-content"),u(e,"class",s="card card-"+i[1]),$(e,"--max-width",i[0])},m(d,f){p(d,e,f),he(t,e,null),m(e,r),m(e,a),he(n,a,null),m(a,l),he(o,a,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const k={};f&2&&(k.size=d[1]),n.$set(k);const v={};f&2&&(v.size=d[1]),f&4&&(v.linecount=d[2]),o.$set(v),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&$(e,"--max-width",d[0])},i(d){c||(K(t.$$.fragment,d),K(n.$$.fragment,d),K(o.$$.fragment,d),c=!0)},o(d){X(t.$$.fragment,d),X(n.$$.fragment,d),X(o.$$.fragment,d),c=!1},d(d){d&&A(e),me(t),me(n),me(o)}}}function bi(i){let e,t;return e=new be({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){pe(e.$$.fragment)},m(r,a){he(e,r,a),t=!0},p(r,a){const n={};a&2&&(n.size=r[1]),a&4&&(n.linecount=r[2]),e.$set(n)},i(r){t||(K(e.$$.fragment,r),t=!0)},o(r){X(e.$$.fragment,r),t=!1},d(r){me(e,r)}}}function rn(i){let e,t,r,a,n;const l=[tn,en,$a,Ja],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=l[t](i),{c(){e=y("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",a=""+(Z(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),o[t].m(e,null),n=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(Ce(),X(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,d):(r=o[t]=l[t](c),r.c()),K(r,1),r.m(e,null)),(!n||d&16)&&u(e,"data-testid",c[4]),(!n||d&480&&a!==(a=""+(Z(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",a)},i(c){n||(K(r),n=!0)},o(c){X(r),n=!1},d(c){c&&A(e),o[t].d()}}}function an(i,e,t){const[r,a]=W("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[n,l]=W("Skeleton size",["1","2","3","4"]);let{maxwidth:o=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:k=null}=e,{mb:v=null}=e,{ml:_=null}=e;return q(()=>{a(d),l(s)}),i.$$set=w=>{"maxwidth"in w&&t(0,o=w.maxwidth),"size"in w&&t(1,s=w.size),"linecount"in w&&t(2,c=w.linecount),"type"in w&&t(3,d=w.type),"testid"in w&&t(4,f=w.testid),"mt"in w&&t(5,h=w.mt),"mr"in w&&t(6,k=w.mr),"mb"in w&&t(7,v=w.mb),"ml"in w&&t(8,_=w.ml)},[o,s,c,d,f,h,k,v,_]}class be extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-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-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.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:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;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(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},an,rn,B,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid: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-skeleton",be);function nn(i){let e;return{c(){e=y("div"),this.c=x},m(t,r){p(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&A(e),i[3](null)}}}function on(i,e,t){let{hspacing:r="none"}=e,{vspacing:a="none"}=e,n;q(()=>{zt(n,":host",{width:`var(--goa-space-${r})`,height:`var(--goa-space-${a})`})});function l(o){te[o?"unshift":"push"](()=>{n=o,t(0,n)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,a=o.vspacing)},[n,r,a,l]}class ln extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},on,nn,B,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",ln);const Te=[];function sn(i,e=x){let t;const r=new Set;function a(o){if(B(i,o)&&(i=o,t)){const s=!Te.length;for(const c of r)c[1](),Te.push(c,i);if(s){for(let c=0;c<Te.length;c+=2)Te[c][0](Te[c+1]);Te.length=0}}}function n(o){a(o(i))}function l(o,s=x){const c=[o,s];return r.add(c),r.size===1&&(t=e(a)||x),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:a,update:n,subscribe:l}}function vi(i){return Object.prototype.toString.call(i)==="[object Date]"}function ct(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((a,n)=>ct(i[n],a));return a=>r.map(n=>n(a))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(vi(i)&&vi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return l=>new Date(i+l*n)}const r=Object.keys(e),a={};return r.forEach(n=>{a[n]=ct(i[n],e[n])}),n=>{const l={};return r.forEach(o=>{l[o]=a[o](n)}),l}}if(t==="number"){const r=e-i;return a=>i+a*r}throw new Error(`Cannot interpolate ${t} values`)}function cn(i,e={}){const t=sn(i);let r,a=i;function n(l,o){if(i==null)return t.set(i=l),Promise.resolve();a=l;let s=r,c=!1,{delay:d=0,duration:f=400,easing:h=De,interpolate:k=ct}=dt(dt({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=a),Promise.resolve();const v=Ye()+d;let _;return r=Ze(w=>{if(w<v)return!0;c||(_=k(i,l),typeof f=="function"&&(f=f(i,l)),c=!0),s&&(s.abort(),s=null);const b=w-v;return b>f?(t.set(i=l),!1):(t.set(i=_(h(b/f))),!0)}),r.promise}return{set:n,update:(l,o)=>n(l(a,i),o),subscribe:t.subscribe}}function yi(i){let e,t,r,a,n,l,o,s,c;return{c(){e=we("svg"),t=we("circle"),n=we("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",a=i[3]-i[4]/2),u(n,"d",l=i[9](i[7])),u(n,"stroke-width",i[4]),u(n,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),m(e,t),m(e,n)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&a!==(a=d[3]-d[4]/2)&&u(t,"r",a),f&128&&l!==(l=d[9](d[7]))&&u(n,"d",l),f&16&&u(n,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(n,"stroke",o),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&A(e)}}}function dn(i){let e,t=i[6]&&yi(i);return{c(){t&&t.c(),e=_e(),this.c=x},m(r,a){t&&t.m(r,a),p(r,e,a)},p(r,[a]){r[6]?t?t.p(r,a):(t=yi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:x,o:x,d(r){t&&t.d(r),r&&A(e)}}}function un(i,e,t){let r,a,n,l,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,k="infinite";const v=cn(0,{duration:500,easing:Dr});Ei(i,v,b=>t(7,s=b));function _(b){const z=n+l*Math.cos(b),D=n+l*Math.sin(b);return z+" "+D}function w(b){switch(k){case"progress":{const z=_(-Math.PI/2),D=_(-Math.PI/2+2*Math.PI*(b/100)),L=b%100<50?0:1;return`M ${z} A ${l} ${l} 0 ${L} 1 ${D}`}case"infinite":{const z=_(Math.PI*1.5),D=_(0);return`M ${z} A ${l} ${l} 0 1 0 ${D}`}}}return i.$$set=b=>{"size"in b&&t(10,c=b.size),"invert"in b&&t(0,d=b.invert),"progress"in b&&t(11,f=b.progress),"testid"in b&&t(1,h=b.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const b=parseFloat(f+"");b>=0&&(v.set(b||1),t(2,k="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,a=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=r/2),i.$$.dirty&24&&t(12,l=n-a/2),i.$$.dirty&6148&&t(6,o=k==="infinite"?l:l&&f)},[d,h,k,n,a,r,o,s,v,w,c,f,l]}class fn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},un,dn,B,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","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 progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",fn);function gn(i){let e,t,r,a,n;return{c(){e=y("table"),t=y("slot"),r=j(),a=y("template"),a.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
102
101
|
<tbody><tr><td></td></tr></tbody>
|
|
103
|
-
<tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",
|
|
102
|
+
<tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",n=`
|
|
104
103
|
${i[0]?`width: ${i[0]};`:""}
|
|
105
104
|
${Z(i[2],i[3],i[4],i[5])}
|
|
106
|
-
`),O(e,"sticky",i[7])},m(l,o){p(l,e,o),m(e,t),m(e,r),m(e,
|
|
105
|
+
`),O(e,"sticky",i[7])},m(l,o){p(l,e,o),m(e,t),m(e,r),m(e,a),i[9](e)},p(l,[o]){o&2&&u(e,"class",l[1]),o&61&&n!==(n=`
|
|
107
106
|
${l[0]?`width: ${l[0]};`:""}
|
|
108
107
|
${Z(l[2],l[3],l[4],l[5])}
|
|
109
|
-
`)&&u(e,"style",
|
|
108
|
+
`)&&u(e,"style",n),o&130&&O(e,"sticky",l[7])},i:x,o:x,d(l){l&&A(e),i[9](null)}}}function hn(i,e,t){let r;const[a,n]=W("Table variant",["normal","relaxed"],!0);let{width:l=""}=e,{stickyheader:o="false"}=e,{variant:s="normal"}=e,{mt:c=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:h=null}=e,k;q(()=>{n(s),v();const w=k.querySelector("slot");if(!w||w.assignedElements().length===0)return;const b=w.assignedElements()[0].querySelectorAll("template table > *");k.append(...b.length>0?b:w.assignedElements())});async function v(){await ge();const w=k.querySelectorAll("goa-table-sort-header");w.forEach(b=>{b.addEventListener("click",()=>{const z=b.getAttribute("name");let D;w.forEach(L=>{if(L.getAttribute("name")===z){const E=L.getAttribute("direction")==="desc"?"asc":"desc";D=E==="asc"?1:-1,L.setAttribute("direction",E)}else L.setAttribute("direction","none")}),b.dispatchEvent(new CustomEvent("_sort",{composed:!0,bubbles:!1,cancelable:!0,detail:{sortBy:z,sortDir:D}}))})})}function _(w){te[w?"unshift":"push"](()=>{k=w,t(6,k)})}return i.$$set=w=>{"width"in w&&t(0,l=w.width),"stickyheader"in w&&t(8,o=w.stickyheader),"variant"in w&&t(1,s=w.variant),"mt"in w&&t(2,c=w.mt),"mr"in w&&t(3,d=w.mr),"mb"in w&&t(4,f=w.mb),"ml"in w&&t(5,h=w.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=Q(o))},[l,s,c,d,f,h,k,r,o,_]}class mn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{overflow-x:auto}table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:0.75rem 1rem;border-bottom:1px solid var(--goa-color-greyscale-200);line-height:1rem}table.relaxed td{padding:1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700);vertical-align:bottom}th:has(goa-table-sort-header){padding:0}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},hn,gn,B,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get stickyheader(){return this.$$.ctx[8]}set stickyheader(e){this.$$set({stickyheader: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-table",mn);function bn(i){let e,t;return{c(){e=y("img"),u(e,"alt",i[0]),u(e,"class",i[0]),ze(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjE2IgogICBoZWlnaHQ9IjIyIgogICB2aWV3Qm94PSIwIDAgMTYgMjIiCiAgIGZpbGw9Im5vbmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEwNjgiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEwNzIiIC8+CiAgPHBhdGgKICAgICBkPSJtIDAuNTk0Mzc0NzEsNy45MDkwOTkgNi41NTIxODc5OSw3LjY0NjI1IGMgMC4xMDU2MSwwLjEyMzE4IDAuMjM2NjIsMC4yMjIwNiAwLjM4NDA0LDAuMjg5ODUgMC4xNDc0MiwwLjA2Nzc5IDAuMzA3NzYsMC4xMDI4OSAwLjQ3MDAyLDAuMTAyODkgMC4xNjIyNiwwIDAuMzIyNiwtMC4wMzUxIDAuNDcwMDIsLTAuMTAyODkgMC4xNDc0MiwtMC4wNjc3OSAwLjI3ODQzLC0wLjE2NjY3IDAuMzg0MDQsLTAuMjg5ODUgbCA2LjU1MjE4MDMsLTcuNjQ2MjUgYyAwLjYyNTMsLTAuNzI5ODQgMC4xMDY5LC0xLjg1NzE4OCAtMC44NTQxLC0xLjg1NzE4OCBIIDEuNDQ2NTYyNyBjIC0wLjk2MDkzNzk5LDAgLTEuNDc5Mzc1NjksMS4xMjczNDggLTAuODUyMTg3OTksMS44NTcxODggeiIKICAgICBmaWxsPSIjMDA3MGM0IgogICAgIGlkPSJwYXRoMTA2NiIgLz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,a){p(r,e,a)},p(r,a){a&1&&u(e,"alt",r[0]),a&1&&u(e,"class",r[0])},d(r){r&&A(e)}}}function vn(i){let e,t;return{c(){e=y("img"),u(e,"alt","not sorted"),ze(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMTUuMzU5ODg3IgogICBoZWlnaHQ9IjIxLjg0NDI1IgogICB2aWV3Qm94PSIwIDAgNC4wNjM5NzAxIDUuNzc5NjI0NCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNTE3IgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM1MTQiIC8+CiAgPGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05LjM0NTE0MDMsLTguNzQ0OTg2NikiPgogICAgPHBhdGgKICAgICAgIGQ9Im0gOS40MTc3Njg0LDEyLjM5NzYzMSAxLjczMzU5ODYsMi4wMjMwNyBjIDAuMDI3OTQsMC4wMzI1OSAwLjA2MjYxLDAuMDU4NzUgMC4xMDE2MTEsMC4wNzY2OSAwLjAzOSwwLjAxNzk0IDAuMDgxNDMsMC4wMjcyMiAwLjEyNDM1OSwwLjAyNzIyIDAuMDQyOTMsMCAwLjA4NTM1LC0wLjAwOTMgMC4xMjQzNiwtMC4wMjcyMiAwLjAzOSwtMC4wMTc5NCAwLjA3MzY3LC0wLjA0NDEgMC4xMDE2MSwtMC4wNzY2OSBsIDEuNzMzNTk4LC0yLjAyMzA3IGMgMC4xNjU0NDQsLTAuMTkzMTA0IDAuMDI4MjgsLTAuNDkxMzgxIC0wLjIyNTk4MSwtMC40OTEzODEgSCA5LjY0MzI0MjQgYyAtMC4yNTQyNDgsMCAtMC4zOTE0MTgsMC4yOTgyNzcgLTAuMjI1NDc0LDAuNDkxMzgxIHoiCiAgICAgICBmaWxsPSIjYWRhZGFkIgogICAgICAgaWQ9InBhdGgzMzUiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gMTMuMzM2NDk0LDEwLjg3MTk2OCAxMS42MDI4ODksOC44NDg4OTY2IGMgLTAuMDI3OTQsLTAuMDMyNTkgLTAuMDYyNjEsLTAuMDU4NzUgLTAuMTAxNjExLC0wLjA3NjY5IC0wLjAzOSwtMC4wMTc5NCAtMC4wODE0MywtMC4wMjcyMiAtMC4xMjQzNTksLTAuMDI3MjIgLTAuMDQyOTMsMCAtMC4wODUzNSwwLjAwOTMgLTAuMTI0MzYsMC4wMjcyMiAtMC4wMzkwMSwwLjAxNzk0IC0wLjA3MzY3LDAuMDQ0MSAtMC4xMDE2MTMsMC4wNzY2OSBMIDkuNDE3MzQ3MSwxMC44NzE5NjggYyAtMC4xNjU0NDcsMC4xOTMxMDMgLTAuMDI4MjgsMC40OTEzNzkgMC4yMjU5NzEsMC40OTEzNzkgaCAzLjQ2NzY5NzkgYyAwLjI1NDIzOCwwIDAuMzkxNDI1LC0wLjI5ODI3NiAwLjIyNTQ3OCwtMC40OTEzNzkgeiIKICAgICAgIGZpbGw9IiNhZGFkYWQiCiAgICAgICBpZD0icGF0aDIiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogIDwvZz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,a){p(r,e,a)},p:x,d(r){r&&A(e)}}}function yn(i){let e,t,r;function a(o,s){return o[0]==="none"?vn:bn}let n=a(i),l=n(i);return{c(){e=y("button"),t=y("slot"),r=j(),l.c(),this.c=x},m(o,s){p(o,e,s),m(e,t),m(e,r),l.m(e,null)},p(o,[s]){n===(n=a(o))&&l?l.p(o,s):(l.d(1),l=n(o),l&&(l.c(),l.m(e,null)))},i:x,o:x,d(o){o&&A(e),l.d()}}}function wn(i,e,t){let{direction:r="none"}=e;return i.$$set=a=>{"direction"in a&&t(0,r=a.direction)},[r]}class _n extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:flex-end}button{border:none;background:none;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;padding:1rem;width:100%;height:100%;text-align:left;gap:0.25rem;align-items:flex-end;justify-content:stretch}button *{align-self:flex-end}img{width:16px;height:22px;scale:0.7}button:hover{background-color:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-default)}img.asc{transform:rotate(180deg)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},wn,yn,B,{direction:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}}customElements.define("goa-table-sort-header",_n);function kn(i){let e,t,r,a,n,l,o;return{c(){e=y("div"),t=y("textarea"),a=j(),this.c=x,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),O(t,"error",i[14]),u(e,"class","container"),u(e,"style",n=`
|
|
110
109
|
${Z(i[7],i[8],i[9],i[10])};
|
|
111
110
|
--width: ${i[5]};
|
|
112
|
-
`)},m(s,c){p(s,e,c),m(e,t),m(e,
|
|
111
|
+
`)},m(s,c){p(s,e,c),m(e,t),m(e,a),l||(o=F(t,"keyup",i[15]),l=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&u(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&u(t,"data-testid",s[4]),c&16384&&O(t,"error",s[14]),c&1952&&n!==(n=`
|
|
113
112
|
${Z(s[7],s[8],s[9],s[10])};
|
|
114
113
|
--width: ${s[5]};
|
|
115
|
-
`)&&u(e,"style",
|
|
116
|
-
}.error:hover,.error:focus
|
|
114
|
+
`)&&u(e,"style",n)},i:x,o:x,d(s){s&&A(e),l=!1,o()}}}function pn(i,e,t){let r,a,n,{name:l}=e,{value:o=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:k="false"}=e,{disabled:v="false"}=e,{arialabel:_=""}=e,{mt:w=null}=e,{mr:b=null}=e,{mb:z=null}=e,{ml:D=null}=e,{maxcharcount:L=0}=e;function M(E){const N=E.target.value;a||(E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:E,name:l,value:N}})),E.stopPropagation())}return i.$$set=E=>{"name"in E&&t(0,l=E.name),"value"in E&&t(1,o=E.value),"placeholder"in E&&t(2,s=E.placeholder),"rows"in E&&t(3,c=E.rows),"testid"in E&&t(4,d=E.testid),"width"in E&&t(5,f=E.width),"error"in E&&t(16,h=E.error),"readonly"in E&&t(17,k=E.readonly),"disabled"in E&&t(18,v=E.disabled),"arialabel"in E&&t(6,_=E.arialabel),"mt"in E&&t(7,w=E.mt),"mr"in E&&t(8,b=E.mr),"mb"in E&&t(9,z=E.mb),"ml"in E&&t(10,D=E.ml),"maxcharcount"in E&&t(11,L=E.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=Q(h)),i.$$.dirty&262144&&t(12,a=Q(v)),i.$$.dirty&131072&&t(13,n=Q(k))},[l,o,s,c,d,f,_,w,b,z,D,L,a,n,r,M,h,k,v]}class xn extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:0.75rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}.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;border:1px solid var(--goa-color-greyscale-700);border-radius:3px;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%;resize:vertical}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.goa-textarea:disabled,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--goa-font-size-2)}.counter-error{color:var(--goa-color-interactive-error)
|
|
115
|
+
}.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-s) var(--goa-color-interactive-error)}.error:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error:active,.error:focus{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},pn,kn,B,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&p(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","arialabel","mt","mr","mb","ml","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[16]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),g()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),g()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",xn);function zn(i){let e;return{c(){e=y("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
117
116
|
|
|
118
117
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
119
118
|
|
|
120
119
|
<main><slot></slot></main>
|
|
121
120
|
|
|
122
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class
|
|
121
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class Mn extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
123
122
|
"content"
|
|
124
123
|
"nav"
|
|
125
124
|
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
126
125
|
"nav content"
|
|
127
|
-
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,
|
|
126
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,zn,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",Mn);function Cn(i){let e;return{c(){e=y("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
128
127
|
|
|
129
128
|
<main><slot></slot></main>
|
|
130
129
|
|
|
131
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class
|
|
130
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&A(e)}}}class En extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Cn,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",En);function An(i){let e,t,r,a,n,l,o;return{c(){e=y("div"),t=y("header"),t.innerHTML='<slot name="header"></slot>',r=j(),a=y("section"),a.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
132
131
|
|
|
133
|
-
<main><slot></slot></main>`,
|
|
132
|
+
<main><slot></slot></main>`,n=j(),l=y("footer"),l.innerHTML='<slot name="footer"></slot>',this.c=x,u(t,"class","header"),u(a,"class","content"),u(l,"class","footer"),u(e,"class","page"),u(e,"style",o=`
|
|
134
133
|
--max-content-width: ${i[1]||"100%"};
|
|
135
134
|
--nav-column-width: ${i[0]||"256px"};
|
|
136
|
-
`)},m(s,c){p(s,e,c),m(e,t),m(e,r),m(e,
|
|
135
|
+
`)},m(s,c){p(s,e,c),m(e,t),m(e,r),m(e,a),m(e,n),m(e,l)},p(s,[c]){c&3&&o!==(o=`
|
|
137
136
|
--max-content-width: ${s[1]||"100%"};
|
|
138
137
|
--nav-column-width: ${s[0]||"256px"};
|
|
139
|
-
`)&&u(e,"style",o)},i:x,o:x,d(s){s&&A(e)}}}function
|
|
138
|
+
`)&&u(e,"style",o)},i:x,o:x,d(s){s&&A(e)}}}function Tn(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=n=>{"navcolumnwidth"in n&&t(0,r=n.navcolumnwidth),"maxcontentwidth"in n&&t(1,a=n.maxcontentwidth)},[r,a]}class Ln extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--goa-color-greyscale-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Tn,An,B,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),g()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-two-column-layout",Ln);function wi(i){let e,t,r,a,n,l,o,s,c,d;return{c(){e=y("goa-block"),t=y("span"),t.textContent="Page",r=j(),a=y("input"),n=j(),l=y("goa-input"),o=j(),s=y("span"),c=V("of "),d=V(i[8]),u(a,"type","hidden"),C(l,"type","number"),C(l,"value",i[0]),C(l,"width","8ch"),C(l,"debounce","500"),C(l,"min","1"),C(l,"max",i[8]),C(e,"data-testid","page-selector"),C(e,"alignment","center"),C(e,"gap","s")},m(f,h){p(f,e,h),m(e,t),m(e,r),m(e,a),i[12](a),m(e,n),m(e,l),i[13](l),m(e,o),m(e,s),m(s,c),m(s,d)},p(f,h){h&1&&C(l,"value",f[0]),h&256&&C(l,"max",f[8]),h&256&&U(d,f[8])},d(f){f&&A(e),i[12](null),i[13](null)}}}function In(i){let e,t,r,a,n,l,o,s,c,d,f,h,k,v=i[1]==="all"&&wi(i);return{c(){e=y("goa-block"),t=y("div"),v&&v.c(),r=j(),a=y("goa-block"),n=y("goa-button"),l=V("Previous"),s=j(),c=y("goa-button"),d=V("Next"),this.c=x,C(n,"type","tertiary"),C(n,"leadingicon","arrow-back"),C(n,"disabled",o=i[0]==1?"true":"false"),C(c,"type","tertiary"),C(c,"trailingicon","arrow-forward"),C(c,"disabled",f=i[0]==i[8]?"true":"false"),C(a,"alignment","center"),C(a,"gap","m"),C(a,"data-testid","page-links"),u(t,"class","controls"),C(e,"id","root"),C(e,"ml",i[5]),C(e,"mr",i[3]),C(e,"mb",i[4]),C(e,"mt",i[2])},m(_,w){p(_,e,w),m(e,t),v&&v.m(t,null),m(t,r),m(t,a),m(a,n),m(n,l),m(a,s),m(a,c),m(c,d),h||(k=[F(n,"click",i[14]),F(c,"click",i[15])],h=!0)},p(_,[w]){_[1]==="all"?v?v.p(_,w):(v=wi(_),v.c(),v.m(t,r)):v&&(v.d(1),v=null),w&1&&o!==(o=_[0]==1?"true":"false")&&C(n,"disabled",o),w&257&&f!==(f=_[0]==_[8]?"true":"false")&&C(c,"disabled",f),w&32&&C(e,"ml",_[5]),w&8&&C(e,"mr",_[3]),w&16&&C(e,"mb",_[4]),w&4&&C(e,"mt",_[2])},i:x,o:x,d(_){_&&A(e),v&&v.d(),h=!1,oe(k)}}}function Nn(i,e,t){let r;const[a,n]=W("Pagination variant",["all","links-only"]);let{pagenumber:l}=e,{itemcount:o}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:k=null}=e,v=null,_=null;q(async()=>{await ge(),st("GoAPagination",{itemcount:o,pagenumber:l}),n(c),v&&v.addEventListener("_change",M=>{const E=Number.parseInt(M.detail.value);M.stopPropagation(),!isNaN(E)&&_.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:E}}))})});function w(M,E){const I=Number.parseInt(l+"")+E;I>0&&I<=r&&M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:I}})),M.preventDefault()}function b(M){te[M?"unshift":"push"](()=>{_=M,t(7,_)})}function z(M){te[M?"unshift":"push"](()=>{v=M,t(6,v)})}const D=M=>w(M,-1),L=M=>w(M,1);return i.$$set=M=>{"pagenumber"in M&&t(0,l=M.pagenumber),"itemcount"in M&&t(10,o=M.itemcount),"perpagecount"in M&&t(11,s=M.perpagecount),"variant"in M&&t(1,c=M.variant),"mt"in M&&t(2,d=M.mt),"mr"in M&&t(3,f=M.mr),"mb"in M&&t(4,h=M.mb),"ml"in M&&t(5,k=M.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(o/s))},[l,c,d,f,h,k,v,_,r,w,o,s,b,z,D,L]}class _i extends P{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>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Nn,In,B,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(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",_i),ye.Pagination=_i,Object.defineProperty(ye,"__esModule",{value:!0}),ye[Symbol.toStringTag]="Module"});
|