@abgov/web-components 1.0.0-alpha.61 → 1.0.0-alpha.62
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 +568 -242
- package/web-components.umd.js +29 -27
package/web-components.umd.js
CHANGED
|
@@ -1,48 +1,50 @@
|
|
|
1
|
-
(function(D,w){typeof exports=="object"&&typeof module!="undefined"?w(exports):typeof define=="function"&&define.amd?define(["exports"],w):(D=typeof globalThis!="undefined"?globalThis:D||self,w(D["web-components"]={}))})(this,function(D){"use strict";function w(){}const
|
|
2
|
-
`;for(let
|
|
1
|
+
(function(D,w){typeof exports=="object"&&typeof module!="undefined"?w(exports):typeof define=="function"&&define.amd?define(["exports"],w):(D=typeof globalThis!="undefined"?globalThis:D||self,w(D["web-components"]={}))})(this,function(D){"use strict";function w(){}const ve=i=>i;function Xe(i,e){for(const t in e)i[t]=e[t];return i}function Se(i){return i()}function Ye(){return Object.create(null)}function $(i){i.forEach(Se)}function ae(i){return typeof i=="function"}function B(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ee;function Ne(i,e){return Ee||(Ee=document.createElement("a")),Ee.href=e,i===Ee.href}function Vi(i){return Object.keys(i).length===0}function Zi(i,...e){if(i==null)return w;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Xi(i,e,t){i.$$.on_destroy.push(Zi(e,t))}function Je(i){return i&&ae(i.destroy)?i.destroy:w}const Qe=typeof window!="undefined";let Ce=Qe?()=>window.performance.now():()=>Date.now(),je=Qe?i=>requestAnimationFrame(i):w;const ue=new Set;function $e(i){ue.forEach(e=>{e.c(i)||(ue.delete(e),e.f())}),ue.size!==0&&je($e)}function Ae(i){let e;return ue.size===0&&je($e),{promise:new Promise(t=>{ue.add(e={c:i,f:t})}),abort(){ue.delete(e)}}}function b(i,e){i.appendChild(e)}function et(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Yi(i){const e=_("style");return Ji(et(i),e),e}function Ji(i,e){b(i.head||i,e)}function p(i,e,t){i.insertBefore(e,t||null)}function E(i){i.parentNode.removeChild(i)}function _(i){return document.createElement(i)}function le(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function P(i){return document.createTextNode(i)}function T(){return P(" ")}function Q(){return P("")}function Y(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function C(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:d(i,e,t)}function Qi(i){return Array.from(i.childNodes)}function F(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function W(i,e,t,r){i.style.setProperty(e,t,r?"important":"")}function H(i,e,t){i.classList[t?"add":"remove"](e)}function $i(i,e,t=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(i,t,!1,e),r}function N(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Pe=new Set;let Me=0;function er(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Le(i,e,t,r,o,a,n,l=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let z=0;z<=1;z+=s){const k=e+(t-e)*a(z);c+=z*100+`%{${n(k,1-k)}}
|
|
3
3
|
`}const u=c+`100% {${n(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${Qi(u)}_${l}`,g=$e(i);je.add(g);const v=g.__svelte_stylesheet||(g.__svelte_stylesheet=Zi(i).sheet),m=g.__svelte_rules||(g.__svelte_rules={});m[f]||(m[f]=!0,v.insertRule(`@keyframes ${f} ${u}`,v.cssRules.length));const b=i.style.animation||"";return i.style.animation=`${b?`${b}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Ae+=1,f}function Le(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?a=>a.indexOf(e)<0:a=>a.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Ae-=o,Ae||$i())}function $i(){Ne(()=>{Ae||(je.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),je.clear())})}let ve;function ye(i){ve=i}function et(){if(!ve)throw new Error("Function called outside component initialization");return ve}function le(i){et().$$.on_mount.push(i)}function Pe(i){et().$$.on_destroy.push(i)}const _e=[],ue=[],Re=[],tt=[],it=Promise.resolve();let Oe=!1;function rt(){Oe||(Oe=!0,it.then(h))}function ot(){return rt(),it}function J(i){Re.push(i)}const Fe=new Set;let Te=0;function h(){const i=ve;do{for(;Te<_e.length;){const e=_e[Te];Te++,ye(e),er(e.$$)}for(ye(null),_e.length=0,Te=0;ue.length;)ue.pop()();for(let e=0;e<Re.length;e+=1){const t=Re[e];Fe.has(t)||(Fe.add(t),t())}Re.length=0}while(_e.length);for(;tt.length;)tt.pop()();Oe=!1,Fe.clear(),ye(i)}function er(i){if(i.fragment!==null){i.update(),Y(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(J)}}let pe;function We(){return pe||(pe=Promise.resolve(),pe.then(()=>{pe=null})),pe}function se(i,e,t){i.dispatchEvent(Ji(`${e?"intro":"outro"}${t}`))}const He=new Set;let Q;function we(){Q={r:0,c:[],p:Q}}function ke(){Q.r||Y(Q.c),Q=Q.p}function q(i,e){i&&i.i&&(He.delete(i),i.i(e))}function Z(i,e,t,r){if(i&&i.o){if(He.has(i))return;He.add(i),Q.c.push(()=>{He.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const qe={duration:0};function nt(i,e,t){let r=e(i,t),o=!1,a,n,l=0;function s(){a&&Le(i,a)}function c(){const{delay:f=0,duration:g=300,easing:v=be,tick:m=w,css:b}=r||qe;b&&(a=Me(i,0,1,g,f,v,b,l++)),m(0,1);const _=ze()+f,x=_+g;n&&n.abort(),o=!0,J(()=>se(i,!0,"start")),n=Ce(T=>{if(o){if(T>=x)return m(1,0),se(i,!0,"end"),s(),o=!1;if(T>=_){const A=v((T-_)/g);m(A,1-A)}}return o})}let u=!1;return{start(){u||(u=!0,Le(i),ne(r)?(r=r(),We().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function at(i,e,t){let r=e(i,t),o=!0,a;const n=Q;n.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=be,tick:f=w,css:g}=r||qe;g&&(a=Me(i,1,0,c,s,u,g));const v=ze()+s,m=v+c;J(()=>se(i,!1,"start")),Ce(b=>{if(o){if(b>=m)return f(0,1),se(i,!1,"end"),--n.r||Y(n.c),!1;if(b>=v){const _=u((b-v)/c);f(1-_,_)}}return o})}return ne(r)?We().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(a&&Le(i,a),o=!1)}}}function Ge(i,e,t,r){let o=e(i,t),a=r?0:1,n=null,l=null,s=null;function c(){s&&Le(i,s)}function u(g,v){const m=g.b-a;return v*=Math.abs(m),{a,b:g.b,d:m,duration:v,start:g.start,end:g.start+v,group:g.group}}function f(g){const{delay:v=0,duration:m=300,easing:b=be,tick:_=w,css:x}=o||qe,T={start:ze()+v,b:g};g||(T.group=Q,Q.r+=1),n||l?l=T:(x&&(c(),s=Me(i,a,g,m,v,b,x)),g&&_(0,1),n=u(T,m),J(()=>se(i,g,"start")),Ce(A=>{if(l&&A>l.start&&(n=u(l,m),l=null,se(i,n.b,"start"),x&&(c(),s=Me(i,a,n.b,n.duration,0,b,o.css))),n){if(A>=n.end)_(a=n.b,1-a),se(i,n.b,"end"),l||(n.b?c():--n.group.r||Y(n.group.c)),n=null;else if(A>=n.start){const C=A-n.start;a=n.a+n.d*b(C/n.duration),_(a,1-a)}}return!!(n||l)}))}return{run(g){ne(o)?We().then(()=>{o=o(),f(g)}):f(g)},end(){c(),n=l=null}}}function fe(i,e){i.d(1),e.delete(i.key)}function ge(i,e,t,r,o,a,n,l,s,c,u,f){let g=i.length,v=a.length,m=g;const b={};for(;m--;)b[i[m].key]=m;const _=[],x=new Map,T=new Map;for(m=v;m--;){const L=f(o,a,m),V=t(L);let K=n.get(V);K?r&&K.p(L,e):(K=c(V,L),K.c()),x.set(V,_[m]=K),V in b&&T.set(V,Math.abs(m-b[V]))}const A=new Set,C=new Set;function M(L){q(L,1),L.m(l,u),n.set(L.key,L),u=L.first,v--}for(;g&&v;){const L=_[v-1],V=i[g-1],K=L.key,H=V.key;L===V?(u=L.first,g--,v--):x.has(H)?!n.has(K)||A.has(K)?M(L):C.has(H)?g--:T.get(K)>T.get(H)?(C.add(K),M(L)):(A.add(H),g--):(s(V,n),g--)}for(;g--;){const L=i[g];x.has(L.key)||s(L,n)}for(;v;)M(_[v-1]);return _}function oe(i){i&&i.c()}function ie(i,e,t,r){const{fragment:o,on_mount:a,on_destroy:n,after_update:l}=i.$$;o&&o.m(e,t),r||J(()=>{const s=a.map(Be).filter(ne);n?n.push(...s):Y(s),i.$$.on_mount=[]}),l.forEach(J)}function re(i,e){const t=i.$$;t.fragment!==null&&(Y(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function tr(i,e){i.$$.dirty[0]===-1&&(_e.push(i),rt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function j(i,e,t,r,o,a,n,l=[-1]){const s=ve;ye(i);const c=i.$$={fragment:null,ctx:null,props:a,update:w,not_equal:o,bound:Xe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Xe(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};n&&n(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...v)=>{const m=v.length?v[0]:g;return c.ctx&&o(c.ctx[f],c.ctx[f]=m)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](m),u&&tr(i,f)),g}):[],c.update(),u=!0,Y(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Yi(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&q(i.$$.fragment),ie(i,e.target,e.anchor,e.customElement),h()}ye(s)}let S;typeof HTMLElement=="function"&&(S=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Be).filter(ne);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){re(this,1),this.$destroy=w}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Ki(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function ir(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","page-content")},m(t,r){k(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class lt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,ir,B,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-block",lt);function rr(i){let e,t,r,o,a,n,l,s,c,u,f,g;return{c(){e=p("div"),t=p("a"),r=p("img"),a=R(),n=p("img"),s=R(),c=p("span"),u=P(i[1]),f=R(),g=p("div"),g.innerHTML="<slot></slot>",this.c=w,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Se(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(n,"alt","GoA Logo"),d(n,"class","image-desktop"),Se(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")||d(n,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(v,m){k(v,e,m),y(e,t),y(t,r),y(t,a),y(t,n),y(t,s),y(t,c),y(c,u),y(e,f),y(e,g)},p(v,[m]){m&2&&U(u,v[1]),m&1&&d(t,"href",v[0]),m&4&&d(e,"data-testid",v[2])},i:w,o:w,d(v){v&&E(e)}}}function or(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:a=""}=e;return i.$$set=n=>{"url"in n&&t(0,r=n.url),"title"in n&&t(1,o=n.title),"testid"in n&&t(2,a=n.testid)},[r,o,a]}class st extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},or,rr,B,{url:0,title:1,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",st);const he=[];function ct(i,e=w){let t;const r=new Set;function o(l){if(B(i,l)&&(i=l,t)){const s=!he.length;for(const c of r)c[1](),he.push(c,i);if(s){for(let c=0;c<he.length;c+=2)he[c][0](he[c+1]);he.length=0}}}function a(l){o(l(i))}function n(l,s=w){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||w),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:a,subscribe:n}}const xe={};class nr{constructor(){this.store=ct()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Ke(i){const e=new nr;return xe[i]=e,e}async function Ie(i){return await dt(i,0)}async function dt(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return xe[i]?xe[i]:(await ot(),dt(i,e+1))}function Ue(i){!xe[i]||delete xe[i]}const ut="meta-link",ft="navigation-link";function gt(i,e,t){const r=i.slice();return r[16]=e[t],r}function ht(i,e,t){const r=i.slice();return r[22]=e[t],r}function mt(i,e,t){const r=i.slice();return r[19]=e[t],r}function bt(i,e,t){const r=i.slice();return r[22]=e[t],r}function vt(i){let e,t,r;function o(l,s){if(l[6].length)return lr;if(l[5].length)return ar}let a=o(i),n=a&&a(i);return{c(){e=p("div"),n&&n.c(),t=R(),r=p("hr"),d(e,"class","navigation-links"),d(r,"class","navigation-links-divider")},m(l,s){k(l,e,s),n&&n.m(e,null),k(l,t,s),k(l,r,s)},p(l,s){a===(a=o(l))&&n?n.p(l,s):(n&&n.d(1),n=a&&a(l),n&&(n.c(),n.m(e,null)))},d(l){l&&E(e),n&&n.d(),l&&E(t),l&&E(r)}}}function ar(i){let e=[],t=new Map,r,o=i[5];const a=n=>n[22].title;for(let n=0;n<o.length;n+=1){let l=ht(i,o,n),s=a(l);t.set(s,e[n]=yt(s,l))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();r=te()},m(n,l){for(let s=0;s<e.length;s+=1)e[s].m(n,l);k(n,r,l)},p(n,l){l&32&&(o=n[5],e=ge(e,l,a,1,n,o,t,r.parentNode,fe,yt,r,ht))},d(n){for(let l=0;l<e.length;l+=1)e[l].d(n);n&&E(r)}}}function lr(i){let e=[],t=new Map,r,o=i[6];const a=n=>n[19].name;for(let n=0;n<o.length;n+=1){let l=mt(i,o,n),s=a(l);t.set(s,e[n]=pt(s,l))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();r=te()},m(n,l){for(let s=0;s<e.length;s+=1)e[s].m(n,l);k(n,r,l)},p(n,l){l&64&&(o=n[6],e=ge(e,l,a,1,n,o,t,r.parentNode,fe,pt,r,mt))},d(n){for(let l=0;l<e.length;l+=1)e[l].d(n);n&&E(r)}}}function yt(i,e){let t,r=e[22].title+"",o,a;return{key:i,first:null,c(){t=p("a"),o=P(r),d(t,"href",a=e[22].url),d(t,"class","navigation-link"),this.first=t},m(n,l){k(n,t,l),y(t,o)},p(n,l){e=n,l&32&&r!==(r=e[22].title+"")&&U(o,r),l&32&&a!==(a=e[22].url)&&d(t,"href",a)},d(n){n&&E(t)}}}function _t(i,e){let t,r=e[22].title+"",o,a;return{key:i,first:null,c(){t=p("a"),o=P(r),d(t,"href",a=e[22].url),d(t,"class","navigation-link"),this.first=t},m(n,l){k(n,t,l),y(t,o)},p(n,l){e=n,l&64&&r!==(r=e[22].title+"")&&U(o,r),l&64&&a!==(a=e[22].url)&&d(t,"href",a)},d(n){n&&E(t)}}}function pt(i,e){let t,r,o=e[19].name+"",a,n,l,s,c=[],u=new Map,f,g=e[19].links;const v=m=>m[22].title;for(let m=0;m<g.length;m+=1){let b=bt(e,g,m),_=v(b);u.set(_,c[m]=_t(_,b))}return{key:i,first:null,c(){t=p("div"),r=p("span"),a=P(o),n=R(),l=p("hr"),s=R();for(let m=0;m<c.length;m+=1)c[m].c();f=R(),d(r,"class","navigation-section-name"),d(l,"class","navigation-section-name-divider"),d(t,"class","navigation-section"),this.first=t},m(m,b){k(m,t,b),y(t,r),y(r,a),y(t,n),y(t,l),y(t,s);for(let _=0;_<c.length;_+=1)c[_].m(t,null);y(t,f)},p(m,b){e=m,b&64&&o!==(o=e[19].name+"")&&U(a,o),b&64&&(g=e[19].links,c=ge(c,b,v,1,e,g,u,t,fe,_t,f,bt))},d(m){m&&E(t);for(let b=0;b<c.length;b+=1)c[b].d()}}}function wt(i){let e,t=[],r=new Map,o=i[4];const a=n=>n[16].title;for(let n=0;n<o.length;n+=1){let l=gt(i,o,n),s=a(l);r.set(s,t[n]=kt(s,l))}return{c(){e=p("div");for(let n=0;n<t.length;n+=1)t[n].c();d(e,"class","meta-links")},m(n,l){k(n,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(n,l){l&16&&(o=n[4],t=ge(t,l,a,1,n,o,r,e,fe,kt,null,gt))},d(n){n&&E(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function kt(i,e){let t,r=e[16].title+"",o,a;return{key:i,first:null,c(){t=p("a"),o=P(r),d(t,"href",a=e[16].url),d(t,"class","meta-link"),this.first=t},m(n,l){k(n,t,l),y(t,o)},p(n,l){e=n,l&16&&r!==(r=e[16].title+"")&&U(o,r),l&16&&a!==(a=e[16].url)&&d(t,"href",a)},d(n){n&&E(t)}}}function sr(i){let e,t,r,o,a,n,l,s,c,u,f,g,v,m,b,_,x,T,A=(i[6].length||i[5].length)&&vt(i),C=i[4].length&&wt(i);return{c(){e=p("div"),t=p("center"),r=p("div"),o=p("slot"),a=R(),A&&A.c(),n=R(),l=p("div"),C&&C.c(),s=R(),c=p("div"),u=p("a"),f=P("\xA9 "),g=P(i[3]),v=R(),m=p("a"),b=p("img"),x=R(),T=p("div"),this.c=w,d(u,"href",i[0]),d(u,"class","goa-copyright"),d(b,"alt","GoA Logo"),d(b,"class","logo"),Se(b.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")||d(b,"src",_),d(m,"href",i[1]),d(m,"title",i[2]),d(c,"class","logo-and-copyright"),I(c,"logo-and-copyright-with-links",i[4].length||i[5].length||i[6].length),I(l,"meta-links-logo-and-copyright",i[4].length),d(r,"class","footer"),I(r,"default-footer",i[12]),I(r,"meta-links-only-footer",i[11]),I(r,"navigation-links-only-footer",i[10]),I(r,"navigation-sections-only-footer",i[9]),I(r,"meta-and-navigation-links-only-footer",i[8]),I(r,"meta-and-navigation-sections-only-footer",i[7]),d(e,"class","app-footer-container"),d(T,"class","brand")},m(M,L){k(M,e,L),y(e,t),y(t,r),y(r,o),y(r,a),A&&A.m(r,null),y(r,n),y(r,l),C&&C.m(l,null),y(l,s),y(l,c),y(c,u),y(u,f),y(u,g),y(c,v),y(c,m),y(m,b),k(M,x,L),k(M,T,L)},p(M,[L]){M[6].length||M[5].length?A?A.p(M,L):(A=vt(M),A.c(),A.m(r,n)):A&&(A.d(1),A=null),M[4].length?C?C.p(M,L):(C=wt(M),C.c(),C.m(l,s)):C&&(C.d(1),C=null),L&8&&U(g,M[3]),L&1&&d(u,"href",M[0]),L&2&&d(m,"href",M[1]),L&4&&d(m,"title",M[2]),L&112&&I(c,"logo-and-copyright-with-links",M[4].length||M[5].length||M[6].length),L&16&&I(l,"meta-links-logo-and-copyright",M[4].length),L&4096&&I(r,"default-footer",M[12]),L&2048&&I(r,"meta-links-only-footer",M[11]),L&1024&&I(r,"navigation-links-only-footer",M[10]),L&512&&I(r,"navigation-sections-only-footer",M[9]),L&256&&I(r,"meta-and-navigation-links-only-footer",M[8]),L&128&&I(r,"meta-and-navigation-sections-only-footer",M[7])},i:w,o:w,d(M){M&&E(e),A&&A.d(),C&&C.d(),M&&E(x),M&&E(T)}}}function cr(i,e,t){let r,o,a,n,l,s,{id:c="goa-app-footer-id"}=e,{copyrighturl:u="#"}=e,{appurl:f="#"}=e,{title:g=""}=e,{copyrighttext:v="2021 Government of Alberta"}=e,m,b=[],_=[],x=[];function T(A){let C=x.filter(L=>L.name!==A.section),M=x.find(L=>L.name===A.section);M?t(6,x=[...C,{name:A.section,links:[...M.links,{title:A.title,url:A.url}]}]):t(6,x=[...C,{name:A.section,links:[{title:A.title,url:A.url}]}])}return le(async()=>{m=Ke(c),m.subscribe(A=>{switch(A==null?void 0:A.type){case ut:{const C=A;t(4,b=[...b,{title:C.title,url:C.url}]);break}case ft:{const C=A;C.section?T(C):t(5,_=[..._,{title:C.title,url:C.url}]);break}}})}),Pe(()=>{Ue(c)}),i.$$set=A=>{"id"in A&&t(13,c=A.id),"copyrighturl"in A&&t(0,u=A.copyrighturl),"appurl"in A&&t(1,f=A.appurl),"title"in A&&t(2,g=A.title),"copyrighttext"in A&&t(3,v=A.copyrighttext)},i.$$.update=()=>{i.$$.dirty&112&&t(12,r=!b.length&&!_.length&&!x.length),i.$$.dirty&112&&t(11,o=b.length&&!_.length&&!x.length),i.$$.dirty&112&&t(10,a=!b.length&&_.length&&!x.length),i.$$.dirty&112&&t(9,n=!b.length&&!_.length&&x.length),i.$$.dirty&112&&t(8,l=b.length&&_.length&&!x.length),i.$$.dirty&112&&t(7,s=b.length&&!_.length&&x.length)},[u,f,g,v,b,_,x,s,l,n,a,o,r,c]}class xt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.footer{max-width:60rem}.brand{height:1rem;background-color:var(--goa-color-brand)}.meta-links-logo-and-copyright{display:flex;flex-wrap:wrap;justify-content:space-between}.logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.logo-and-copyright-with-links{align-items:flex-end;flex-direction:column-reverse}.meta-link{margin-top:3.5em;margin-right:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base)}.logo{height:2.56rem;width:8.88rem}.app-footer-container{background-color:var(--color-gray-100)}.navigation-links,.meta-links,.navigation-section{text-align:start;display:flex;flex-flow:wrap}.navigation-section{flex-direction:column;flex:1 1 0;min-width:13.25rem}.navigation-section-name{font-size:var(--fs-xl);line-height:var(--lh-lg);font-weight:var(--fw-regular);margin-bottom:1.75rem;margin-top:1.75rem}.navigation-section-name-divider{width:75%;margin:0}.navigation-link{margin-top:1.75rem;margin-right:1.75rem;color:var(--goa-color-text);width:13.25rem;font-size:var(--fs-base)}.default-footer .logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.meta-links-only-footer{padding-top:1.19em;padding-bottom:3.5em}.navigation-links-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer,.navigation-sections-only-footer{padding-top:1.75rem;padding-bottom:3.5em}.meta-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-sections-only-footer .meta-link{margin-top:3.53rem;margin-right:1.75rem;color:var(--goa-color-text)}.default-footer .logo{margin-top:3.5rem;margin-bottom:3.5rem;display:block}.navigation-links-only-footer .logo,.meta-and-navigation-links-only-footer .logo,.meta-links-only-footer .logo{margin-top:1.75rem;margin-bottom:1.75rem}.navigation-sections-only-footer .logo,.meta-and-navigation-sections-only-footer .logo{margin-top:2.93rem;margin-bottom:1.75rem}.goa-copyright{margin-top:0;margin-bottom:0;font-size:var(--fs-base)}.navigation-links-divider{margin-top:1.75rem;margin-bottom:0}@media(max-width: 64rem){.logo{margin-top:2.125rem;margin-bottom:1.5rem}}@media(max-width: 59.9rem){.app-footer-container{padding-left:1rem;padding-right:1rem}}@media(max-width: 40rem){.logo-and-copyright{align-items:flex-start;flex-direction:column-reverse}.meta-links,.logo-and-copyright{flex:100%}.logo{width:7.8rem;height:2.25rem;margin-top:0;margin-bottom:0}.goa-copyright{font-size:var(--fs-sm)}.navigation-section-name{font-size:var(--fs-base);line-height:var(--lh-base);font-weight:var(--fw-bold);margin-bottom:1rem;margin-top:1.5rem}.navigation-link{min-width:40rem;margin-top:1.5rem;font-size:var(--fs-sm)}.meta-links-only-footer .meta-link,.meta-and-navigation-links-only-footer .meta-link,.meta-and-navigation-sections-only-footer .meta-link{margin-top:1.5rem;margin-right:1.25rem;margin-bottom:0;font-size:var(--fs-sm)}.default-footer,.meta-links-only-footer,.navigation-links-only-footer,.navigation-sections-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0.75rem;padding-bottom:2.25rem}.navigation-links-divider{margin-top:1.5rem;margin-bottom:0}.default-footer .logo{margin-top:1.5rem;margin-bottom:1.5rem}.default-footer .logo-and-copyright{align-items:flex-start}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},cr,sr,B,{id:13,copyrighturl:0,appurl:1,title:2,copyrighttext:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["id","copyrighturl","appurl","title","copyrighttext"]}get id(){return this.$$.ctx[13]}set id(e){this.$$set({id:e}),h()}get copyrighturl(){return this.$$.ctx[0]}set copyrighturl(e){this.$$set({copyrighturl:e}),h()}get appurl(){return this.$$.ctx[1]}set appurl(e){this.$$set({appurl:e}),h()}get title(){return this.$$.ctx[2]}set title(e){this.$$set({title:e}),h()}get copyrighttext(){return this.$$.ctx[3]}set copyrighttext(e){this.$$set({copyrighttext:e}),h()}}customElements.define("goa-app-footer",xt);function dr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function ur(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:a=""}=e,n;return le(async()=>{n=await Ie(r),n.notify({type:ut,url:a,title:o})}),i.$$set=l=>{"footerid"in l&&t(0,r=l.footerid),"title"in l&&t(1,o=l.title),"url"in l&&t(2,a=l.url)},[r,o,a]}class Et extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ur,dr,B,{footerid:0,title:1,url:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["footerid","title","url"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),h()}}customElements.define("goa-meta-link",Et);function fr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function gr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:a=""}=e,{section:n=""}=e,l;return le(async()=>{l=await Ie(r),l.notify({type:ft,url:a,title:o,section:n})}),i.$$set=s=>{"footerid"in s&&t(0,r=s.footerid),"title"in s&&t(1,o=s.title),"url"in s&&t(2,a=s.url),"section"in s&&t(3,n=s.section)},[r,o,a,n]}class zt extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},gr,fr,B,{footerid:0,title:1,url:2,section:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["footerid","title","url","section"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),h()}get section(){return this.$$.ctx[3]}set section(e){this.$$set({section:e}),h()}}customElements.define("goa-navigation-link",zt);function W(i){return i==="false"?!1:i===""?!0:!!i}function hr(i){let e;return{c(){e=p("div"),O(e,"height","1.2rem"),O(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:w,d(t){t&&E(e)}}}function mr(i){let e;return{c(){e=p("goa-icon"),z(e,"type",i[3]),z(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&8&&z(e,"type",t[3])},d(t){t&&E(e)}}}function Ct(i){let e,t;return{c(){e=p("div"),t=P(i[2]),d(e,"class","goa-badge-content")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&4&&U(t,r[2])},d(r){r&&E(e)}}}function br(i){let e,t,r;function o(s,c){return s[4]?mr:hr}let a=o(i),n=a(i),l=i[2]&&Ct(i);return{c(){e=p("div"),n.c(),t=R(),l&&l.c(),this.c=w,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),I(e,"icon-only",i[4]&&!i[2])},m(s,c){k(s,e,c),n.m(e,null),y(e,t),l&&l.m(e,null)},p(s,[c]){a===(a=o(s))&&n?n.p(s,c):(n.d(1),n=a(s),n&&(n.c(),n.m(e,t))),s[2]?l?l.p(s,c):(l=Ct(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&I(e,"icon-only",s[4]&&!s[2])},i:w,o:w,d(s){s&&E(e),n.d(),l&&l.d()}}}function vr(i,e,t){let r,o,{type:a}=e,{testid:n=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,a=c.type),"testid"in c&&t(1,n=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=W(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[a])},[a,n,s,o,r,l]}class At extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},vr,br,B,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",At);function yr(i){let e,t,r,o,a=i[4]&&Mt(i),n=i[5]&&Lt(i);return{c(){a&&a.c(),e=R(),t=p("slot"),r=R(),n&&n.c(),o=te()},m(l,s){a&&a.m(l,s),k(l,e,s),k(l,t,s),k(l,r,s),n&&n.m(l,s),k(l,o,s)},p(l,s){l[4]?a?a.p(l,s):(a=Mt(l),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null),l[5]?n?n.p(l,s):(n=Lt(l),n.c(),n.m(o.parentNode,o)):n&&(n.d(1),n=null)},d(l){a&&a.d(l),l&&E(e),l&&E(t),l&&E(r),n&&n.d(l),l&&E(o)}}}function _r(i){let e,t,r;return{c(){e=p("slot"),t=R(),r=p("goa-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(o,a){k(o,e,a),k(o,t,a),k(o,r,a)},p:w,d(o){o&&E(e),o&&E(t),o&&E(r)}}}function Mt(i){let e;return{c(){e=p("goa-icon"),z(e,"type",i[4]),z(e,"inverted","true")},m(t,r){k(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&E(e)}}}function Lt(i){let e;return{c(){e=p("goa-icon"),z(e,"type",i[5]),z(e,"inverted","true")},m(t,r){k(t,e,r)},p(t,r){r&32&&z(e,"type",t[5])},d(t){t&&E(e)}}}function pr(i){let e,t,r,o;function a(s,c){return s[0]==="get-started"?_r:yr}let n=a(i),l=n(i);return{c(){e=p("button"),l.c(),this.c=w,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[7],d(e,"data-testid",i[6])},m(s,c){k(s,e,c),l.m(e,null),r||(o=X(e,"click",wr),r=!0)},p(s,[c]){n===(n=a(s))&&l?l.p(s,c):(l.d(1),l=n(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",t),c&8&&d(e,"title",s[3]),c&128&&(e.disabled=s[7]),c&64&&d(e,"data-testid",s[6])},i:w,o:w,d(s){s&&E(e),l.d(),r=!1,o()}}}function wr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function kr(i,e,t){let r,{type:o="primary"}=e,{size:a="normal"}=e,{variant:n="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{leadingicon:c=null}=e,{trailingicon:u=null}=e,{testid:f=""}=e;return i.$$set=g=>{"type"in g&&t(0,o=g.type),"size"in g&&t(1,a=g.size),"variant"in g&&t(2,n=g.variant),"title"in g&&t(3,l=g.title),"disabled"in g&&t(8,s=g.disabled),"leadingicon"in g&&t(4,c=g.leadingicon),"trailingicon"in g&&t(5,u=g.trailingicon),"testid"in g&&t(6,f=g.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=W(s))},[o,a,n,l,c,u,f,r,s]}class Rt extends S{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-lg);font-weight:400;height:var(--button-height);padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.get-started{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.get-started,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.get-started:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.get-started:focus,button.get-started:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},kr,
|
|
6
|
-
}}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mr,Ar,B,{elevation:0,width:1,testId:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",Gt);function Lr(i){let e;return{c(){e=p("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=w},m(t,r){k(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class It extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Lr,B,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",It);function Rr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","card-content")},m(t,r){k(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class Dt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Rr,B,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",Dt);function Tr(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","card-group")},m(t,r){k(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class Bt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Tr,B,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Bt);function Hr(i){let e;return{c(){e=p("div"),this.c=w,d(e,"class","card-image"),O(e,"background-image","url("+i[0]+")"),O(e,"height",i[1]),O(e,"background-size","cover"),O(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&O(e,"background-image","url("+t[0]+")"),r&2&&O(e,"height",t[1])},i:w,o:w,d(t){t&&E(e)}}}function Gr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=a=>{"src"in a&&t(0,r=a.src),"height"in a&&t(1,o=a.height)},[r,o]}class St extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Gr,Hr,B,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",St);function Ir(i){let e,t;return{c(){e=ae("svg"),t=ae("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){k(r,e,o),y(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t;return{c(){e=ae("svg"),t=ae("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){k(r,e,o),y(e,t)},d(r){r&&E(e)}}}function Br(i){let e,t,r,o,a,n,l,s,c,u,f;function g(b,_){if(b[5])return Dr;if(b[4])return Ir}let v=g(i),m=v&&v(i);return{c(){e=p("label"),t=p("div"),r=p("input"),a=R(),m&&m.c(),n=R(),l=p("div"),s=p("slot"),c=P(i[1]),this.c=w,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),I(t,"goa-checkbox--selected",i[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),I(e,"goa-checkbox--disabled",i[7]),I(e,"goa-checkbox--error",i[6])},m(b,_){k(b,e,_),y(e,t),y(t,r),y(t,a),m&&m.m(t,null),y(e,n),y(e,l),y(l,s),y(s,c),u||(f=X(r,"change",i[9]),u=!0)},p(b,[_]){_&256&&d(r,"id",b[8]),_&8&&d(r,"data-testid",b[3]),_&1&&d(r,"name",b[0]),_&16&&(r.checked=b[4]),_&128&&(r.disabled=b[7]),_&4&&o!==(o=`${b[2]}`)&&(r.value=o),v!==(v=g(b))&&(m&&m.d(1),m=v&&v(b),m&&(m.c(),m.m(t,null))),_&16&&I(t,"goa-checkbox--selected",b[4]),_&2&&U(c,b[1]),_&256&&d(e,"for",b[8]),_&128&&I(e,"goa-checkbox--disabled",b[7]),_&64&&I(e,"goa-checkbox--error",b[6])},i:w,o:w,d(b){b&&E(e),m&&m.d(),u=!1,f()}}}function Sr(i,e,t){let r,o,a,n,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:g}=e,{error:v}=e,{testid:m=""}=e;function b(_){const x=!n,T=x?`${u||"checked"}`:"";_.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:x,value:T}}))}return i.$$set=_=>{"name"in _&&t(0,s=_.name),"text"in _&&t(1,c=_.text),"value"in _&&t(2,u=_.value),"checked"in _&&t(10,f=_.checked),"disabled"in _&&t(11,g=_.disabled),"error"in _&&t(12,v=_.error),"testid"in _&&t(3,m=_.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${s}`),i.$$.dirty&2048&&t(7,o=W(g)),i.$$.dirty&4096&&t(6,a=W(v)),i.$$.dirty&1024&&t(4,n=W(f))},t(5,l=!1),[s,c,u,m,n,l,a,o,r,b,f,g,v]}class Nt extends S{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Sr,Br,B,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",Nt);function jt(i){let e;return{c(){e=p("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[0])},m(t,r){k(t,e,r)},p(t,r){r&1&&z(e,"type",t[0])},d(t){t&&E(e)}}}function Pt(i){let e,t,r;return{c(){e=p("goa-icon"),z(e,"class","delete-icon"),z(e,"size","medium"),z(e,"theme","filled"),z(e,"fillcolor","var(--color-gray-600)"),z(e,"hovercolor","var(--goa-color-interactive--hover)"),z(e,"type","close-circle")},m(o,a){k(o,e,a),t||(r=X(e,"click",jr),t=!0)},p:w,d(o){o&&E(e),t=!1,r()}}}function Nr(i){let e,t,r,o,a=i[0]&&jt(i),n=i[2]&&Pt();return{c(){e=p("div"),a&&a.c(),t=R(),r=P(i[1]),o=R(),n&&n.c(),this.c=w,d(e,"class","chip"),d(e,"tabindex","0")},m(l,s){k(l,e,s),a&&a.m(e,null),y(e,t),y(e,r),y(e,o),n&&n.m(e,null)},p(l,[s]){l[0]?a?a.p(l,s):(a=jt(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&2&&U(r,l[1]),l[2]?n?n.p(l,s):(n=Pt(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},i:w,o:w,d(l){l&&E(e),a&&a.d(),n&&n.d()}}}function jr(i){this.dispatchEvent(new CustomEvent("_onDeleteIconClick",{composed:!0,bubbles:!0})),i.stopPropagation()}function Pr(i,e,t){let{leadingicon:r}=e,{error:o}=e,{deletable:a}=e,{content:n}=e,l;return i.$$set=s=>{"leadingicon"in s&&t(0,r=s.leadingicon),"error"in s&&t(3,o=s.error),"deletable"in s&&t(4,a=s.deletable),"content"in s&&t(1,n=s.content)},i.$$.update=()=>{i.$$.dirty&8,i.$$.dirty&16&&t(2,l=W(a))},[r,n,l,o,a]}class Ot extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-gray-100);border-radius:99px;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--fs-sm);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.chip:hover{background-color:var(--color-gray-200)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus)}.delete-icon{cursor:pointer;margin-right:-0.25rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Pr,Nr,B,{leadingicon:0,error:3,deletable:4,content:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[3]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[4]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-chip",Ot);function Or(i){let e,t,r,o,a,n,l,s,c;return{c(){e=p("div"),t=p("header"),r=p("div"),r.innerHTML='<slot name="title"></slot>',o=R(),a=p("div"),a.innerHTML='<slot name="actions"></slot>',l=R(),s=p("div"),s.innerHTML="<slot></slot>",this.c=w,d(r,"class","title"),d(a,"class","actions"),d(t,"class",n="heading--"+i[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(u,f){k(u,e,f),y(e,t),y(t,r),y(t,o),y(t,a),y(e,l),y(e,s)},p(u,[f]){f&2&&n!==(n="heading--"+u[1])&&d(t,"class",n),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:w,o:w,d(u){u&&E(e)}}}function Fr(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=a=>{"variant"in a&&t(0,r=a.variant),"headingsize"in a&&t(1,o=a.headingsize)},[r,o]}class Ft extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Fr,Or,B,{variant:0,headingsize:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("goa-container",Ft);const Wt="bind";function qt(i,e,t){const r=i.slice();return r[32]=e[t],r[34]=t,r}function Kt(i){let e,t,r,o;return{c(){e=p("div"),d(e,"data-testid",t=`${i[1]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(a,n){k(a,e,n),r||(o=X(e,"click",i[17]),r=!0)},p(a,n){n[0]&2&&t!==(t=`${a[1]}-dropdown-background`)&&d(e,"data-testid",t)},d(a){a&&E(e),r=!1,o()}}}function Ut(i,e){let t,r=e[32].label+"",o,a,n,l,s,c,u;function f(){return e[20](e[32])}return{key:i,first:null,c(){t=p("li"),o=P(r),a=R(),d(t,"data-testid",n=`${e[32].value}-dropdown-item`),d(t,"data-index",l=e[34]),d(t,"class","goa-dropdown-option"),d(t,"style",s="display: block"),I(t,"goa-dropdown-option--disabled",!1),I(t,"goa-dropdown-option--tabbed",e[34]===e[11]),I(t,"goa-dropdown-option--selected",e[32].value===e[0]),this.first=t},m(g,v){k(g,t,v),y(t,o),y(t,a),c||(u=X(t,"click",f),c=!0)},p(g,v){e=g,v[0]&256&&r!==(r=e[32].label+"")&&U(o,r),v[0]&256&&n!==(n=`${e[32].value}-dropdown-item`)&&d(t,"data-testid",n),v[0]&256&&l!==(l=e[34])&&d(t,"data-index",l),v[0]&2304&&I(t,"goa-dropdown-option--tabbed",e[34]===e[11]),v[0]&257&&I(t,"goa-dropdown-option--selected",e[32].value===e[0])},d(g){g&&E(t),c=!1,u()}}}function Wr(i){let e,t,r,o,a,n,l,s,c,u,f,g=[],v=new Map,m,b,_,x=i[10]&&Kt(i),T=i[8];const A=C=>C[32].value;for(let C=0;C<T.length;C+=1){let M=qt(i,T,C),L=A(M);v.set(L,g[C]=Ut(L,M))}return{c(){e=p("div"),x&&x.c(),t=R(),r=p("div"),o=p("goa-input"),s=R(),c=p("ul"),u=p("slot"),f=R();for(let C=0;C<g.length;C+=1)g[C].c();this.c=w,z(o,"error",i[15]),z(o,"disabled",i[5]),z(o,"leadingicon",i[2]),z(o,"placeholder",i[4]),z(o,"width",a=i[7]||i[12]),z(o,"id",n=`${i[1]}-dropdown-input`),z(o,"name","search"),z(o,"readonly",""),z(o,"trailingicon","chevron-down"),z(o,"type","text"),z(o,"value",i[9]),d(r,"data-testid",l=`${i[1]}-dropdown`),d(c,"tabindex","0"),d(c,"class","goa-dropdown-list"),d(c,"style",m=`overflow-y: auto; max-height: ${i[3]}px`),I(c,"dropdown-active",i[10]),d(e,"data-testid",i[6]),d(e,"class","goa-dropdown-box")},m(C,M){k(C,e,M),x&&x.m(e,null),y(e,t),y(e,r),y(r,o),y(e,s),y(e,c),y(c,u),y(c,f);for(let L=0;L<g.length;L+=1)g[L].m(c,null);i[21](c),i[22](e),b||(_=X(o,"click",i[16]),b=!0)},p(C,M){C[10]?x?x.p(C,M):(x=Kt(C),x.c(),x.m(e,t)):x&&(x.d(1),x=null),M[0]&32768&&z(o,"error",C[15]),M[0]&32&&z(o,"disabled",C[5]),M[0]&4&&z(o,"leadingicon",C[2]),M[0]&16&&z(o,"placeholder",C[4]),M[0]&4224&&a!==(a=C[7]||C[12])&&z(o,"width",a),M[0]&2&&n!==(n=`${C[1]}-dropdown-input`)&&z(o,"id",n),M[0]&512&&z(o,"value",C[9]),M[0]&2&&l!==(l=`${C[1]}-dropdown`)&&d(r,"data-testid",l),M[0]&264449&&(T=C[8],g=ge(g,M,A,1,C,T,v,c,fe,Ut,null,qt)),M[0]&8&&m!==(m=`overflow-y: auto; max-height: ${C[3]}px`)&&d(c,"style",m),M[0]&1024&&I(c,"dropdown-active",C[10]),M[0]&64&&d(e,"data-testid",C[6])},i:w,o:w,d(C){C&&E(e),x&&x.d();for(let M=0;M<g.length;M+=1)g[M].d();i[21](null),i[22](null),b=!1,_()}}}const qr=300;function Kr(i,e,t){let r,{name:o}=e,{value:a}=e,{leadingicon:n}=e,{maxheight:l=qr}=e,{placeholder:s=""}=e,{disabled:c}=e,{error:u}=e,{testid:f}=e,{width:g}=e,v=[],m="",b=!1,_=0,x=0,T,A,C,M;le(async()=>{A.addEventListener("focus",Oi,!0),A.addEventListener("blur",Fi,!0),L()}),Pe(()=>{A.removeEventListener("focus",Oi,!0),A.removeEventListener("blur",Fi,!0),Ue(o)});function L(){M=Ke(o),M.subscribe(G=>{switch(G==null?void 0:G.type){case Wt:{const ce=G,De=a===ce.value;t(8,v=[...v,Object.assign(Object.assign({},ce),{selected:De})]),De&&t(9,m=ce.label),!g&&x<ce.label.length&&(x=ce.label.length,t(12,T=`${Math.max(20,x+12)}ch`)),H();break}}})}async function V(){c||b||(t(10,b=!0),await ot(),C.addEventListener("blur",K),C.focus(),C.addEventListener("keydown",Wi),C.addEventListener("mouseover",qi))}function K(){C.removeEventListener("blur",K),C.removeEventListener("keydown",Wi),C.removeEventListener("mouseover",qi),H(),t(10,b=!1)}function H(){t(11,_=v.findIndex(G=>G.value===a))}function F(G,ce,De){t(9,m=De),t(0,a=ce),K(),A.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:G,value:a}}))}const ee=G=>{switch(G.key){case" ":V(),G.preventDefault();break}};function Oi(){A.addEventListener("keydown",ee)}function Fi(){A.removeEventListener("keydown",ee)}function Wi(G){switch(G.key){case"ArrowUp":_===0?t(11,_=v.length-1):t(11,_--,_),G.preventDefault();break;case"ArrowDown":t(11,_=(_+1)%v.length),G.preventDefault();break;case"Tab":case"Enter":F(o,v[_].value,v[_].label),G.preventDefault();break;case"Escape":K(),G.preventDefault();break}}function qi(G){t(11,_=Number(G.target.dataset.index))}const Fo=G=>F(G.name,G.value,G.label);function Wo(G){ue[G?"unshift":"push"](()=>{C=G,t(14,C)})}function qo(G){ue[G?"unshift":"push"](()=>{A=G,t(13,A)})}return i.$$set=G=>{"name"in G&&t(1,o=G.name),"value"in G&&t(0,a=G.value),"leadingicon"in G&&t(2,n=G.leadingicon),"maxheight"in G&&t(3,l=G.maxheight),"placeholder"in G&&t(4,s=G.placeholder),"disabled"in G&&t(5,c=G.disabled),"error"in G&&t(19,u=G.error),"testid"in G&&t(6,f=G.testid),"width"in G&&t(7,g=G.width)},i.$$.update=()=>{i.$$.dirty[0]&524288&&t(15,r=u?"true":"false")},[a,o,n,l,s,c,f,g,v,m,b,_,T,A,C,r,V,K,F,u,Fo,Wo,qo]}class Vt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:unset}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Kr,Wr,B,{name:1,value:0,leadingicon:2,maxheight:3,placeholder:4,disabled:5,error:19,testid:6,width:7},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","disabled","error","testid","width"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[7]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-dropdown",Vt);function Ur(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Vr(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:a=""}=e,n;return le(async()=>{n=await Ie(r),n.notify({type:Wt,name:r,label:a,value:o})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,o=l.value),"label"in l&&t(2,a=l.label)},[r,o,a]}class Zt extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Vr,Ur,B,{name:0,value:1,label:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Zt);function Zr(i){let e,t;return{c(){e=p("div"),t=p("slot"),this.c=w,d(e,"class","goa-flex-row"),O(e,"gap",i[0])},m(r,o){k(r,e,o),y(e,t)},p(r,[o]){o&1&&O(e,"gap",r[0])},i:w,o:w,d(r){r&&E(e)}}}function Xr(i,e,t){let r,{gap:o=""}=e;return i.$$set=a=>{"gap"in a&&t(1,o=a.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Xt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:block}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Xr,Zr,B,{gap:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Xt);function Yt(i){let e,t,r,o=i[3]&&Jt();return{c(){e=p("label"),t=P(i[0]),r=R(),o&&o.c(),d(e,"for","")},m(a,n){k(a,e,n),y(e,t),y(e,r),o&&o.m(e,null)},p(a,n){n&1&&U(t,a[0]),a[3]?o||(o=Jt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(a){a&&E(e),o&&o.d()}}}function Jt(i){let e;return{c(){e=p("em"),e.textContent="(optional)"},m(t,r){k(t,e,r)},d(t){t&&E(e)}}}function Qt(i){let e,t;return{c(){e=p("div"),t=P(i[2]),d(e,"class","error-msg")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&4&&U(t,r[2])},d(r){r&&E(e)}}}function $t(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"class","help-msg")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&2&&U(t,r[1])},d(r){r&&E(e)}}}function Yr(i){let e,t,r,o,a,n=i[0]&&Yt(i),l=i[2]&&Qt(i),s=i[1]&&$t(i);return{c(){e=p("div"),n&&n.c(),t=R(),r=p("div"),r.innerHTML="<slot></slot>",o=R(),l&&l.c(),a=R(),s&&s.c(),this.c=w,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){k(c,e,u),n&&n.m(e,null),y(e,t),y(e,r),y(e,o),l&&l.m(e,null),y(e,a),s&&s.m(e,null)},p(c,[u]){c[0]?n?n.p(c,u):(n=Yt(c),n.c(),n.m(e,t)):n&&(n.d(1),n=null),c[2]?l?l.p(c,u):(l=Qt(c),l.c(),l.m(e,a)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=$t(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&E(e),n&&n.d(),l&&l.d(),s&&s.d()}}}function Jr(i,e,t){let r,{label:o=""}=e,{helptext:a=""}=e,{error:n=""}=e,{optional:l}=e;return i.$$set=s=>{"label"in s&&t(0,o=s.label),"helptext"in s&&t(1,a=s.helptext),"error"in s&&t(2,n=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=W(l))},[o,a,n,r,l]}class ei extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Jr,Yr,B,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",ei);function Qr(i){let e,t,r,o,a,n,l,s;return{c(){e=p("div"),t=p("goa-page-block"),r=p("h1"),o=P(i[0]),a=R(),n=p("div"),n.innerHTML="<slot></slot>",l=R(),s=p("slot"),this.c=w,d(r,"role","heading"),d(n,"class","goa-hero-banner-content"),d(n,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),O(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]+")"),O(e,"background-size","cover"),O(e,"background-position","center"),O(e,"background-repeat","no-repeat")},m(c,u){k(c,e,u),y(e,t),y(t,r),y(r,o),y(t,a),y(t,n),y(t,l),y(t,s)},p(c,[u]){u&1&&U(o,c[0]),u&2&&O(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:w,o:w,d(c){c&&E(e)}}}function $r(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=a=>{"title"in a&&t(0,r=a.title),"backgroundurl"in a&&t(1,o=a.backgroundurl)},[r,o]}class ti extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},$r,Qr,B,{title:0,backgroundurl:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",ti);function ii(i){let e,t;return{c(){e=p("ion-icon"),O(e,"width","100%"),O(e,"height","100%"),z(e,"name",t=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(r,o){k(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"?r[0]:`${r[0]}-${r[1]}`)&&z(e,"name",t)},d(r){r&&E(e)}}}function eo(i){let e,t,r,o=i[0]&&ii(i);return{c(){e=p("div"),o&&o.c(),this.c=w,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`
|
|
4
|
+
}`,f=`__svelte_${er(u)}_${l}`,m=et(i);Pe.add(m);const y=m.__svelte_stylesheet||(m.__svelte_stylesheet=Yi(i).sheet),h=m.__svelte_rules||(m.__svelte_rules={});h[f]||(h[f]=!0,y.insertRule(`@keyframes ${f} ${u}`,y.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Me+=1,f}function Re(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?a=>a.indexOf(e)<0:a=>a.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Me-=o,Me||tr())}function tr(){je(()=>{Me||(Pe.forEach(i=>{const e=i.__svelte_stylesheet;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.__svelte_rules={}}),Pe.clear())})}let _e;function ye(i){_e=i}function tt(){if(!_e)throw new Error("Function called outside component initialization");return _e}function se(i){tt().$$.on_mount.push(i)}function Oe(i){tt().$$.on_destroy.push(i)}const we=[],fe=[],Te=[],it=[],rt=Promise.resolve();let Fe=!1;function ot(){Fe||(Fe=!0,rt.then(g))}function nt(){return ot(),rt}function ee(i){Te.push(i)}const We=new Set;let He=0;function g(){const i=_e;do{for(;He<we.length;){const e=we[He];He++,ye(e),ir(e.$$)}for(ye(null),we.length=0,He=0;fe.length;)fe.pop()();for(let e=0;e<Te.length;e+=1){const t=Te[e];We.has(t)||(We.add(t),t())}Te.length=0}while(we.length);for(;it.length;)it.pop()();Fe=!1,We.clear(),ye(i)}function ir(i){if(i.fragment!==null){i.update(),$(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ee)}}let pe;function qe(){return pe||(pe=Promise.resolve(),pe.then(()=>{pe=null})),pe}function ce(i,e,t){i.dispatchEvent($i(`${e?"intro":"outro"}${t}`))}const Ge=new Set;let te;function ke(){te={r:0,c:[],p:te}}function xe(){te.r||$(te.c),te=te.p}function V(i,e){i&&i.i&&(Ge.delete(i),i.i(e))}function X(i,e,t,r){if(i&&i.o){if(Ge.has(i))return;Ge.add(i),te.c.push(()=>{Ge.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}}const Ke={duration:0};function at(i,e,t){let r=e(i,t),o=!1,a,n,l=0;function s(){a&&Re(i,a)}function c(){const{delay:f=0,duration:m=300,easing:y=ve,tick:h=w,css:v}=r||Ke;v&&(a=Le(i,0,1,m,f,y,v,l++)),h(0,1);const z=Ce()+f,k=z+m;n&&n.abort(),o=!0,ee(()=>ce(i,!0,"start")),n=Ae(A=>{if(o){if(A>=k)return h(1,0),ce(i,!0,"end"),s(),o=!1;if(A>=z){const x=y((A-z)/m);h(x,1-x)}}return o})}let u=!1;return{start(){u||(u=!0,Re(i),ae(r)?(r=r(),qe().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function lt(i,e,t){let r=e(i,t),o=!0,a;const n=te;n.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=ve,tick:f=w,css:m}=r||Ke;m&&(a=Le(i,1,0,c,s,u,m));const y=Ce()+s,h=y+c;ee(()=>ce(i,!1,"start")),Ae(v=>{if(o){if(v>=h)return f(0,1),ce(i,!1,"end"),--n.r||$(n.c),!1;if(v>=y){const z=u((v-y)/c);f(1-z,z)}}return o})}return ae(r)?qe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(a&&Re(i,a),o=!1)}}}function Ie(i,e,t,r){let o=e(i,t),a=r?0:1,n=null,l=null,s=null;function c(){s&&Re(i,s)}function u(m,y){const h=m.b-a;return y*=Math.abs(h),{a,b:m.b,d:h,duration:y,start:m.start,end:m.start+y,group:m.group}}function f(m){const{delay:y=0,duration:h=300,easing:v=ve,tick:z=w,css:k}=o||Ke,A={start:Ce()+y,b:m};m||(A.group=te,te.r+=1),n||l?l=A:(k&&(c(),s=Le(i,a,m,h,y,v,k)),m&&z(0,1),n=u(A,h),ee(()=>ce(i,m,"start")),Ae(x=>{if(l&&x>l.start&&(n=u(l,h),l=null,ce(i,n.b,"start"),k&&(c(),s=Le(i,a,n.b,n.duration,0,v,o.css))),n){if(x>=n.end)z(a=n.b,1-a),ce(i,n.b,"end"),l||(n.b?c():--n.group.r||$(n.group.c)),n=null;else if(x>=n.start){const M=x-n.start;a=n.a+n.d*v(M/n.duration),z(a,1-a)}}return!!(n||l)}))}return{run(m){ae(o)?qe().then(()=>{o=o(),f(m)}):f(m)},end(){c(),n=l=null}}}function ge(i,e){i.d(1),e.delete(i.key)}function he(i,e,t,r,o,a,n,l,s,c,u,f){let m=i.length,y=a.length,h=m;const v={};for(;h--;)v[i[h].key]=h;const z=[],k=new Map,A=new Map;for(h=y;h--;){const R=f(o,a,h),Z=t(R);let K=n.get(Z);K?r&&K.p(R,e):(K=c(Z,R),K.c()),k.set(Z,z[h]=K),Z in v&&A.set(Z,Math.abs(h-v[Z]))}const x=new Set,M=new Set;function L(R){V(R,1),R.m(l,u),n.set(R.key,R),u=R.first,y--}for(;m&&y;){const R=z[y-1],Z=i[m-1],K=R.key,U=Z.key;R===Z?(u=R.first,m--,y--):k.has(U)?!n.has(K)||x.has(K)?L(R):M.has(U)?m--:A.get(K)>A.get(U)?(M.add(K),L(R)):(x.add(U),m--):(s(Z,n),m--)}for(;m--;){const R=i[m];k.has(R.key)||s(R,n)}for(;y;)L(z[y-1]);return z}function ne(i){i&&i.c()}function re(i,e,t,r){const{fragment:o,on_mount:a,on_destroy:n,after_update:l}=i.$$;o&&o.m(e,t),r||ee(()=>{const s=a.map(Se).filter(ae);n?n.push(...s):$(s),i.$$.on_mount=[]}),l.forEach(ee)}function oe(i,e){const t=i.$$;t.fragment!==null&&($(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function rr(i,e){i.$$.dirty[0]===-1&&(we.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function j(i,e,t,r,o,a,n,l=[-1]){const s=_e;ye(i);const c=i.$$={fragment:null,ctx:null,props:a,update:w,not_equal:o,bound:Ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ye(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};n&&n(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,m,...y)=>{const h=y.length?y[0]:m;return c.ctx&&o(c.ctx[f],c.ctx[f]=h)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](h),u&&rr(i,f)),m}):[],c.update(),u=!0,$(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Qi(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&V(i.$$.fragment),re(i,e.target,e.anchor,e.customElement),g()}ye(s)}let S;typeof HTMLElement=="function"&&(S=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Se).filter(ae);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){$(this.$$.on_disconnect)}$destroy(){oe(this,1),this.$destroy=w}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Vi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function or(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","page-content")},m(t,r){p(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class st extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,or,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-page-block",st);function nr(i){let e,t,r,o,a,n,l,s,c,u,f,m;return{c(){e=_("div"),t=_("a"),r=_("img"),a=T(),n=_("img"),s=T(),c=_("span"),u=P(i[1]),f=T(),m=_("div"),m.innerHTML="<slot></slot>",this.c=w,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),Ne(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(n,"alt","GoA Logo"),d(n,"class","image-desktop"),Ne(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")||d(n,"src",l),d(c,"class","title"),d(t,"href",i[0]),d(t,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",i[2])},m(y,h){p(y,e,h),b(e,t),b(t,r),b(t,a),b(t,n),b(t,s),b(t,c),b(c,u),b(e,f),b(e,m)},p(y,[h]){h&2&&F(u,y[1]),h&1&&d(t,"href",y[0]),h&4&&d(e,"data-testid",y[2])},i:w,o:w,d(y){y&&E(e)}}}function ar(i,e,t){let{url:r="#"}=e,{title:o=""}=e,{testid:a=""}=e;return i.$$set=n=>{"url"in n&&t(0,r=n.url),"title"in n&&t(1,o=n.title),"testid"in n&&t(2,a=n.testid)},[r,o,a]}class ct extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ar,nr,B,{url:0,title:1,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",ct);const me=[];function dt(i,e=w){let t;const r=new Set;function o(l){if(B(i,l)&&(i=l,t)){const s=!me.length;for(const c of r)c[1](),me.push(c,i);if(s){for(let c=0;c<me.length;c+=2)me[c][0](me[c+1]);me.length=0}}}function a(l){o(l(i))}function n(l,s=w){const c=[l,s];return r.add(c),r.size===1&&(t=e(o)||w),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:o,update:a,subscribe:n}}const ze={};class lr{constructor(){this.store=dt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function Ue(i){const e=new lr;return ze[i]=e,e}async function De(i){return await ut(i,0)}async function ut(i,e){if(e>10)throw new Error(`Could not find context ${i}`);return ze[i]?ze[i]:(await nt(),ut(i,e+1))}function Ve(i){!ze[i]||delete ze[i]}const ft="meta-link",gt="navigation-link";function ht(i,e,t){const r=i.slice();return r[16]=e[t],r}function mt(i,e,t){const r=i.slice();return r[22]=e[t],r}function bt(i,e,t){const r=i.slice();return r[19]=e[t],r}function vt(i,e,t){const r=i.slice();return r[22]=e[t],r}function _t(i){let e,t,r;function o(l,s){if(l[6].length)return cr;if(l[5].length)return sr}let a=o(i),n=a&&a(i);return{c(){e=_("div"),n&&n.c(),t=T(),r=_("hr"),d(e,"class","navigation-links"),d(r,"class","navigation-links-divider")},m(l,s){p(l,e,s),n&&n.m(e,null),p(l,t,s),p(l,r,s)},p(l,s){a===(a=o(l))&&n?n.p(l,s):(n&&n.d(1),n=a&&a(l),n&&(n.c(),n.m(e,null)))},d(l){l&&E(e),n&&n.d(),l&&E(t),l&&E(r)}}}function sr(i){let e=[],t=new Map,r,o=i[5];const a=n=>n[22].title;for(let n=0;n<o.length;n+=1){let l=mt(i,o,n),s=a(l);t.set(s,e[n]=yt(s,l))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();r=Q()},m(n,l){for(let s=0;s<e.length;s+=1)e[s].m(n,l);p(n,r,l)},p(n,l){l&32&&(o=n[5],e=he(e,l,a,1,n,o,t,r.parentNode,ge,yt,r,mt))},d(n){for(let l=0;l<e.length;l+=1)e[l].d(n);n&&E(r)}}}function cr(i){let e=[],t=new Map,r,o=i[6];const a=n=>n[19].name;for(let n=0;n<o.length;n+=1){let l=bt(i,o,n),s=a(l);t.set(s,e[n]=pt(s,l))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();r=Q()},m(n,l){for(let s=0;s<e.length;s+=1)e[s].m(n,l);p(n,r,l)},p(n,l){l&64&&(o=n[6],e=he(e,l,a,1,n,o,t,r.parentNode,ge,pt,r,bt))},d(n){for(let l=0;l<e.length;l+=1)e[l].d(n);n&&E(r)}}}function yt(i,e){let t,r=e[22].title+"",o,a;return{key:i,first:null,c(){t=_("a"),o=P(r),d(t,"href",a=e[22].url),d(t,"class","navigation-link"),this.first=t},m(n,l){p(n,t,l),b(t,o)},p(n,l){e=n,l&32&&r!==(r=e[22].title+"")&&F(o,r),l&32&&a!==(a=e[22].url)&&d(t,"href",a)},d(n){n&&E(t)}}}function wt(i,e){let t,r=e[22].title+"",o,a;return{key:i,first:null,c(){t=_("a"),o=P(r),d(t,"href",a=e[22].url),d(t,"class","navigation-link"),this.first=t},m(n,l){p(n,t,l),b(t,o)},p(n,l){e=n,l&64&&r!==(r=e[22].title+"")&&F(o,r),l&64&&a!==(a=e[22].url)&&d(t,"href",a)},d(n){n&&E(t)}}}function pt(i,e){let t,r,o=e[19].name+"",a,n,l,s,c=[],u=new Map,f,m=e[19].links;const y=h=>h[22].title;for(let h=0;h<m.length;h+=1){let v=vt(e,m,h),z=y(v);u.set(z,c[h]=wt(z,v))}return{key:i,first:null,c(){t=_("div"),r=_("span"),a=P(o),n=T(),l=_("hr"),s=T();for(let h=0;h<c.length;h+=1)c[h].c();f=T(),d(r,"class","navigation-section-name"),d(l,"class","navigation-section-name-divider"),d(t,"class","navigation-section"),this.first=t},m(h,v){p(h,t,v),b(t,r),b(r,a),b(t,n),b(t,l),b(t,s);for(let z=0;z<c.length;z+=1)c[z].m(t,null);b(t,f)},p(h,v){e=h,v&64&&o!==(o=e[19].name+"")&&F(a,o),v&64&&(m=e[19].links,c=he(c,v,y,1,e,m,u,t,ge,wt,f,vt))},d(h){h&&E(t);for(let v=0;v<c.length;v+=1)c[v].d()}}}function kt(i){let e,t=[],r=new Map,o=i[4];const a=n=>n[16].title;for(let n=0;n<o.length;n+=1){let l=ht(i,o,n),s=a(l);r.set(s,t[n]=xt(s,l))}return{c(){e=_("div");for(let n=0;n<t.length;n+=1)t[n].c();d(e,"class","meta-links")},m(n,l){p(n,e,l);for(let s=0;s<t.length;s+=1)t[s].m(e,null)},p(n,l){l&16&&(o=n[4],t=he(t,l,a,1,n,o,r,e,ge,xt,null,ht))},d(n){n&&E(e);for(let l=0;l<t.length;l+=1)t[l].d()}}}function xt(i,e){let t,r=e[16].title+"",o,a;return{key:i,first:null,c(){t=_("a"),o=P(r),d(t,"href",a=e[16].url),d(t,"class","meta-link"),this.first=t},m(n,l){p(n,t,l),b(t,o)},p(n,l){e=n,l&16&&r!==(r=e[16].title+"")&&F(o,r),l&16&&a!==(a=e[16].url)&&d(t,"href",a)},d(n){n&&E(t)}}}function dr(i){let e,t,r,o,a,n,l,s,c,u,f,m,y,h,v,z,k,A,x=(i[6].length||i[5].length)&&_t(i),M=i[4].length&&kt(i);return{c(){e=_("div"),t=_("center"),r=_("div"),o=_("slot"),a=T(),x&&x.c(),n=T(),l=_("div"),M&&M.c(),s=T(),c=_("div"),u=_("a"),f=P("\xA9 "),m=P(i[3]),y=T(),h=_("a"),v=_("img"),k=T(),A=_("div"),this.c=w,d(u,"href",i[0]),d(u,"class","goa-copyright"),d(v,"alt","GoA Logo"),d(v,"class","logo"),Ne(v.src,z="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(v,"src",z),d(h,"href",i[1]),d(h,"title",i[2]),d(c,"class","logo-and-copyright"),H(c,"logo-and-copyright-with-links",i[4].length||i[5].length||i[6].length),H(l,"meta-links-logo-and-copyright",i[4].length),d(r,"class","footer"),H(r,"default-footer",i[12]),H(r,"meta-links-only-footer",i[11]),H(r,"navigation-links-only-footer",i[10]),H(r,"navigation-sections-only-footer",i[9]),H(r,"meta-and-navigation-links-only-footer",i[8]),H(r,"meta-and-navigation-sections-only-footer",i[7]),d(e,"class","app-footer-container"),d(A,"class","brand")},m(L,R){p(L,e,R),b(e,t),b(t,r),b(r,o),b(r,a),x&&x.m(r,null),b(r,n),b(r,l),M&&M.m(l,null),b(l,s),b(l,c),b(c,u),b(u,f),b(u,m),b(c,y),b(c,h),b(h,v),p(L,k,R),p(L,A,R)},p(L,[R]){L[6].length||L[5].length?x?x.p(L,R):(x=_t(L),x.c(),x.m(r,n)):x&&(x.d(1),x=null),L[4].length?M?M.p(L,R):(M=kt(L),M.c(),M.m(l,s)):M&&(M.d(1),M=null),R&8&&F(m,L[3]),R&1&&d(u,"href",L[0]),R&2&&d(h,"href",L[1]),R&4&&d(h,"title",L[2]),R&112&&H(c,"logo-and-copyright-with-links",L[4].length||L[5].length||L[6].length),R&16&&H(l,"meta-links-logo-and-copyright",L[4].length),R&4096&&H(r,"default-footer",L[12]),R&2048&&H(r,"meta-links-only-footer",L[11]),R&1024&&H(r,"navigation-links-only-footer",L[10]),R&512&&H(r,"navigation-sections-only-footer",L[9]),R&256&&H(r,"meta-and-navigation-links-only-footer",L[8]),R&128&&H(r,"meta-and-navigation-sections-only-footer",L[7])},i:w,o:w,d(L){L&&E(e),x&&x.d(),M&&M.d(),L&&E(k),L&&E(A)}}}function ur(i,e,t){let r,o,a,n,l,s,{id:c="goa-app-footer-id"}=e,{copyrighturl:u="#"}=e,{appurl:f="#"}=e,{title:m=""}=e,{copyrighttext:y="2021 Government of Alberta"}=e,h,v=[],z=[],k=[];function A(x){let M=k.filter(R=>R.name!==x.section),L=k.find(R=>R.name===x.section);L?t(6,k=[...M,{name:x.section,links:[...L.links,{title:x.title,url:x.url}]}]):t(6,k=[...M,{name:x.section,links:[{title:x.title,url:x.url}]}])}return se(async()=>{h=Ue(c),h.subscribe(x=>{switch(x==null?void 0:x.type){case ft:{const M=x;t(4,v=[...v,{title:M.title,url:M.url}]);break}case gt:{const M=x;M.section?A(M):t(5,z=[...z,{title:M.title,url:M.url}]);break}}})}),Oe(()=>{Ve(c)}),i.$$set=x=>{"id"in x&&t(13,c=x.id),"copyrighturl"in x&&t(0,u=x.copyrighturl),"appurl"in x&&t(1,f=x.appurl),"title"in x&&t(2,m=x.title),"copyrighttext"in x&&t(3,y=x.copyrighttext)},i.$$.update=()=>{i.$$.dirty&112&&t(12,r=!v.length&&!z.length&&!k.length),i.$$.dirty&112&&t(11,o=v.length&&!z.length&&!k.length),i.$$.dirty&112&&t(10,a=!v.length&&z.length&&!k.length),i.$$.dirty&112&&t(9,n=!v.length&&!z.length&&k.length),i.$$.dirty&112&&t(8,l=v.length&&z.length&&!k.length),i.$$.dirty&112&&t(7,s=v.length&&!z.length&&k.length)},[u,f,m,y,v,z,k,s,l,n,a,o,r,c]}class zt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.footer{max-width:60rem}.brand{height:1rem;background-color:var(--goa-color-brand)}.meta-links-logo-and-copyright{display:flex;flex-wrap:wrap;justify-content:space-between}.logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.logo-and-copyright-with-links{align-items:flex-end;flex-direction:column-reverse}.meta-link{margin-top:3.5em;margin-right:1.75rem;color:var(--goa-color-text);font-size:var(--fs-base)}.logo{height:2.56rem;width:8.88rem}.app-footer-container{background-color:var(--color-gray-100)}.navigation-links,.meta-links,.navigation-section{text-align:start;display:flex;flex-flow:wrap}.navigation-section{flex-direction:column;flex:1 1 0;min-width:13.25rem}.navigation-section-name{font-size:var(--fs-xl);line-height:var(--lh-lg);font-weight:var(--fw-regular);margin-bottom:1.75rem;margin-top:1.75rem}.navigation-section-name-divider{width:75%;margin:0}.navigation-link{margin-top:1.75rem;margin-right:1.75rem;color:var(--goa-color-text);width:13.25rem;font-size:var(--fs-base)}.default-footer .logo-and-copyright{display:flex;align-items:center;justify-content:space-between}.meta-links-only-footer{padding-top:1.19em;padding-bottom:3.5em}.navigation-links-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer,.navigation-sections-only-footer{padding-top:1.75rem;padding-bottom:3.5em}.meta-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-links-only-footer .meta-link{margin-top:2.34rem;margin-right:1.75rem;color:var(--goa-color-text)}.meta-and-navigation-sections-only-footer .meta-link{margin-top:3.53rem;margin-right:1.75rem;color:var(--goa-color-text)}.default-footer .logo{margin-top:3.5rem;margin-bottom:3.5rem;display:block}.navigation-links-only-footer .logo,.meta-and-navigation-links-only-footer .logo,.meta-links-only-footer .logo{margin-top:1.75rem;margin-bottom:1.75rem}.navigation-sections-only-footer .logo,.meta-and-navigation-sections-only-footer .logo{margin-top:2.93rem;margin-bottom:1.75rem}.goa-copyright{margin-top:0;margin-bottom:0;font-size:var(--fs-base)}.navigation-links-divider{margin-top:1.75rem;margin-bottom:0}@media(max-width: 64rem){.logo{margin-top:2.125rem;margin-bottom:1.5rem}}@media(max-width: 59.9rem){.app-footer-container{padding-left:1rem;padding-right:1rem}}@media(max-width: 40rem){.logo-and-copyright{align-items:flex-start;flex-direction:column-reverse}.meta-links,.logo-and-copyright{flex:100%}.logo{width:7.8rem;height:2.25rem;margin-top:0;margin-bottom:0}.goa-copyright{font-size:var(--fs-sm)}.navigation-section-name{font-size:var(--fs-base);line-height:var(--lh-base);font-weight:var(--fw-bold);margin-bottom:1rem;margin-top:1.5rem}.navigation-link{min-width:40rem;margin-top:1.5rem;font-size:var(--fs-sm)}.meta-links-only-footer .meta-link,.meta-and-navigation-links-only-footer .meta-link,.meta-and-navigation-sections-only-footer .meta-link{margin-top:1.5rem;margin-right:1.25rem;margin-bottom:0;font-size:var(--fs-sm)}.default-footer,.meta-links-only-footer,.navigation-links-only-footer,.navigation-sections-only-footer,.meta-and-navigation-links-only-footer,.meta-and-navigation-sections-only-footer{padding-top:0.75rem;padding-bottom:2.25rem}.navigation-links-divider{margin-top:1.5rem;margin-bottom:0}.default-footer .logo{margin-top:1.5rem;margin-bottom:1.5rem}.default-footer .logo-and-copyright{align-items:flex-start}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ur,dr,B,{id:13,copyrighturl:0,appurl:1,title:2,copyrighttext:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["id","copyrighturl","appurl","title","copyrighttext"]}get id(){return this.$$.ctx[13]}set id(e){this.$$set({id:e}),g()}get copyrighturl(){return this.$$.ctx[0]}set copyrighturl(e){this.$$set({copyrighturl:e}),g()}get appurl(){return this.$$.ctx[1]}set appurl(e){this.$$set({appurl:e}),g()}get title(){return this.$$.ctx[2]}set title(e){this.$$set({title:e}),g()}get copyrighttext(){return this.$$.ctx[3]}set copyrighttext(e){this.$$set({copyrighttext:e}),g()}}customElements.define("goa-app-footer",zt);function fr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function gr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:a=""}=e,n;return se(async()=>{n=await De(r),n.notify({type:ft,url:a,title:o})}),i.$$set=l=>{"footerid"in l&&t(0,r=l.footerid),"title"in l&&t(1,o=l.title),"url"in l&&t(2,a=l.url)},[r,o,a]}class Et extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},gr,fr,B,{footerid:0,title:1,url:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}}customElements.define("goa-meta-link",Et);function hr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function mr(i,e,t){let{footerid:r="goa-app-footer-id"}=e,{title:o=""}=e,{url:a=""}=e,{section:n=""}=e,l;return se(async()=>{l=await De(r),l.notify({type:gt,url:a,title:o,section:n})}),i.$$set=s=>{"footerid"in s&&t(0,r=s.footerid),"title"in s&&t(1,o=s.title),"url"in s&&t(2,a=s.url),"section"in s&&t(3,n=s.section)},[r,o,a,n]}class Ct extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},mr,hr,B,{footerid:0,title:1,url:2,section:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["footerid","title","url","section"]}get footerid(){return this.$$.ctx[0]}set footerid(e){this.$$set({footerid:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get url(){return this.$$.ctx[2]}set url(e){this.$$set({url:e}),g()}get section(){return this.$$.ctx[3]}set section(e){this.$$set({section:e}),g()}}customElements.define("goa-navigation-link",Ct);function q(i){return i==="false"?!1:i===""?!0:!!i}function br(i){let e;return{c(){e=_("div"),W(e,"height","1.2rem"),W(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:w,d(t){t&&E(e)}}}function vr(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[3]),C(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&8&&C(e,"type",t[3])},d(t){t&&E(e)}}}function At(i){let e,t;return{c(){e=_("div"),t=P(i[2]),d(e,"class","goa-badge-content")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&4&&F(t,r[2])},d(r){r&&E(e)}}}function _r(i){let e,t,r;function o(s,c){return s[4]?vr:br}let a=o(i),n=a(i),l=i[2]&&At(i);return{c(){e=_("div"),n.c(),t=T(),l&&l.c(),this.c=w,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),H(e,"icon-only",i[4]&&!i[2])},m(s,c){p(s,e,c),n.m(e,null),b(e,t),l&&l.m(e,null)},p(s,[c]){a===(a=o(s))&&n?n.p(s,c):(n.d(1),n=a(s),n&&(n.c(),n.m(e,t))),s[2]?l?l.p(s,c):(l=At(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&H(e,"icon-only",s[4]&&!s[2])},i:w,o:w,d(s){s&&E(e),n.d(),l&&l.d()}}}function yr(i,e,t){let r,o,{type:a}=e,{testid:n=""}=e,{icon:l="false"}=e,{content:s=""}=e;return i.$$set=c=>{"type"in c&&t(0,a=c.type),"testid"in c&&t(1,n=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(4,r=q(l)),i.$$.dirty&1&&t(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[a])},[a,n,s,o,r,l]}class Mt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},yr,_r,B,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-badge",Mt);function wr(i){let e,t,r,o,a=i[4]&&Lt(i),n=i[5]&&Rt(i);return{c(){a&&a.c(),e=T(),t=_("slot"),r=T(),n&&n.c(),o=Q()},m(l,s){a&&a.m(l,s),p(l,e,s),p(l,t,s),p(l,r,s),n&&n.m(l,s),p(l,o,s)},p(l,s){l[4]?a?a.p(l,s):(a=Lt(l),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null),l[5]?n?n.p(l,s):(n=Rt(l),n.c(),n.m(o.parentNode,o)):n&&(n.d(1),n=null)},d(l){a&&a.d(l),l&&E(e),l&&E(t),l&&E(r),n&&n.d(l),l&&E(o)}}}function pr(i){let e,t,r;return{c(){e=_("slot"),t=T(),r=_("goa-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(o,a){p(o,e,a),p(o,t,a),p(o,r,a)},p:w,d(o){o&&E(e),o&&E(t),o&&E(r)}}}function Lt(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[4]),C(e,"inverted","true")},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&E(e)}}}function Rt(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[5]),C(e,"inverted","true")},m(t,r){p(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function kr(i){let e,t,r,o;function a(s,c){return s[0]==="get-started"?pr:wr}let n=a(i),l=n(i);return{c(){e=_("button"),l.c(),this.c=w,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"title",i[3]),e.disabled=i[7],d(e,"data-testid",i[6])},m(s,c){p(s,e,c),l.m(e,null),r||(o=Y(e,"click",xr),r=!0)},p(s,[c]){n===(n=a(s))&&l?l.p(s,c):(l.d(1),l=n(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",t),c&8&&d(e,"title",s[3]),c&128&&(e.disabled=s[7]),c&64&&d(e,"data-testid",s[6])},i:w,o:w,d(s){s&&E(e),l.d(),r=!1,o()}}}function xr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function zr(i,e,t){let r,{type:o="primary"}=e,{size:a="normal"}=e,{variant:n="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{leadingicon:c=null}=e,{trailingicon:u=null}=e,{testid:f=""}=e;return i.$$set=m=>{"type"in m&&t(0,o=m.type),"size"in m&&t(1,a=m.size),"variant"in m&&t(2,n=m.variant),"title"in m&&t(3,l=m.title),"disabled"in m&&t(8,s=m.disabled),"leadingicon"in m&&t(4,c=m.leadingicon),"trailingicon"in m&&t(5,u=m.trailingicon),"testid"in m&&t(6,f=m.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=q(s))},[o,a,n,l,c,u,f,r,s]}class Tt extends S{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-lg);font-weight:400;height:var(--button-height);padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.get-started{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.get-started,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.get-started:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.get-started:focus,button.get-started:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},zr,kr,B,{type:0,size:1,variant:2,title:3,disabled:8,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-button",Tt);function Er(i){let e,t;return{c(){e=_("div"),t=_("slot"),this.c=w,W(e,"--alignment","flex-"+i[1]),W(e,"--gap-size",i[0]==="small"?"0.5rem":"1rem")},m(r,o){p(r,e,o),b(e,t)},p(r,[o]){o&2&&W(e,"--alignment","flex-"+r[1]),o&1&&W(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:w,o:w,d(r){r&&E(e)}}}function Cr(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=a=>{"gap"in a&&t(0,r=a.gap),"alignment"in a&&t(1,o=a.alignment)},[r,o]}class Ht extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Cr,Er,B,{gap:0,alignment:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),g()}}customElements.define("goa-button-group",Ht);function Ar(i){let e,t,r,o,a,n,l,s,c,u,f;return{c(){e=_("div"),t=_("span"),r=_("goa-icon"),n=T(),l=_("span"),s=_("h3"),c=P(i[1]),u=T(),f=_("slot"),this.c=w,C(r,"type",i[3]),C(r,"inverted",o=i[0]==="important"?"false":"true"),d(t,"class",a="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(m,y){p(m,e,y),b(e,t),b(t,r),b(e,n),b(e,l),b(l,s),b(s,c),b(l,u),b(l,f)},p(m,[y]){y&8&&C(r,"type",m[3]),y&1&&o!==(o=m[0]==="important"?"false":"true")&&C(r,"inverted",o),y&1&&a!==(a="icon "+m[0])&&d(t,"class",a),y&2&&F(c,m[1]),y&4&&d(e,"data-testid",m[2])},i:w,o:w,d(m){m&&E(e)}}}function Mr(i,e,t){let r,{type:o}=e,{title:a}=e,{testid:n=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"title"in l&&t(1,a=l.title),"testid"in l&&t(2,n=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,a,n,r]}class Gt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.5rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.5rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mr,Ar,B,{type:0,title:1,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","title","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",Gt);function Lr(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=w,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,a){p(o,e,a),b(e,t)},p(o,[a]){a&4&&d(e,"data-testid",o[2]),a&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&d(e,"style",r)},i:w,o:w,d(o){o&&E(e)}}}function Rr(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:a=""}=e;return i.$$set=n=>{"elevation"in n&&t(0,r=n.elevation),"width"in n&&t(1,o=n.width),"testId"in n&&t(2,a=n.testId)},[r,o,a]}class It extends S{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
+
}}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Rr,Lr,B,{elevation:0,width:1,testId:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",It);function Tr(i){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=w},m(t,r){p(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class Dt extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Tr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Dt);function Hr(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","card-content")},m(t,r){p(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class Bt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Hr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",Bt);function Gr(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","card-group")},m(t,r){p(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class St extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Gr,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",St);function Ir(i){let e;return{c(){e=_("div"),this.c=w,d(e,"class","card-image"),W(e,"background-image","url("+i[0]+")"),W(e,"height",i[1]),W(e,"background-size","cover"),W(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&W(e,"background-image","url("+t[0]+")"),r&2&&W(e,"height",t[1])},i:w,o:w,d(t){t&&E(e)}}}function Dr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=a=>{"src"in a&&t(0,r=a.src),"height"in a&&t(1,o=a.height)},[r,o]}class Nt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Dr,Ir,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",Nt);function Br(i){let e,t;return{c(){e=le("svg"),t=le("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){p(r,e,o),b(e,t)},d(r){r&&E(e)}}}function Sr(i){let e,t;return{c(){e=le("svg"),t=le("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){p(r,e,o),b(e,t)},d(r){r&&E(e)}}}function Nr(i){let e,t,r,o,a,n,l,s,c,u,f;function m(v,z){if(v[5])return Sr;if(v[4])return Br}let y=m(i),h=y&&y(i);return{c(){e=_("label"),t=_("div"),r=_("input"),a=T(),h&&h.c(),n=T(),l=_("div"),s=_("slot"),c=P(i[1]),this.c=w,d(r,"id",i[8]),d(r,"data-testid",i[3]),d(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],d(r,"type","checkbox"),r.value=o=`${i[2]}`,d(t,"class","goa-checkbox-container"),H(t,"goa-checkbox--selected",i[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",i[8]),d(e,"class","goa-checkbox"),H(e,"goa-checkbox--disabled",i[7]),H(e,"goa-checkbox--error",i[6])},m(v,z){p(v,e,z),b(e,t),b(t,r),b(t,a),h&&h.m(t,null),b(e,n),b(e,l),b(l,s),b(s,c),u||(f=Y(r,"change",i[9]),u=!0)},p(v,[z]){z&256&&d(r,"id",v[8]),z&8&&d(r,"data-testid",v[3]),z&1&&d(r,"name",v[0]),z&16&&(r.checked=v[4]),z&128&&(r.disabled=v[7]),z&4&&o!==(o=`${v[2]}`)&&(r.value=o),y!==(y=m(v))&&(h&&h.d(1),h=y&&y(v),h&&(h.c(),h.m(t,null))),z&16&&H(t,"goa-checkbox--selected",v[4]),z&2&&F(c,v[1]),z&256&&d(e,"for",v[8]),z&128&&H(e,"goa-checkbox--disabled",v[7]),z&64&&H(e,"goa-checkbox--error",v[6])},i:w,o:w,d(v){v&&E(e),h&&h.d(),u=!1,f()}}}function jr(i,e,t){let r,o,a,n,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:m}=e,{error:y}=e,{testid:h=""}=e;function v(z){const k=!n,A=k?`${u||"checked"}`:"";z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:k,value:A}}))}return i.$$set=z=>{"name"in z&&t(0,s=z.name),"text"in z&&t(1,c=z.text),"value"in z&&t(2,u=z.value),"checked"in z&&t(10,f=z.checked),"disabled"in z&&t(11,m=z.disabled),"error"in z&&t(12,y=z.error),"testid"in z&&t(3,h=z.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(8,r=`id-${s}`),i.$$.dirty&2048&&t(7,o=q(m)),i.$$.dirty&4096&&t(6,a=q(y)),i.$$.dirty&1024&&t(4,n=q(f))},t(5,l=!1),[s,c,u,h,n,l,a,o,r,v,f,m,y]}class jt extends S{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},jr,Nr,B,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),g()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",jt);function Pt(i){let e;return{c(){e=_("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[0])},m(t,r){p(t,e,r)},p(t,r){r&1&&C(e,"type",t[0])},d(t){t&&E(e)}}}function Ot(i){let e,t,r;return{c(){e=_("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"fillcolor","var(--color-gray-600)"),C(e,"hovercolor","var(--goa-color-interactive--hover)"),C(e,"type","close-circle")},m(o,a){p(o,e,a),t||(r=Y(e,"click",Or),t=!0)},p:w,d(o){o&&E(e),t=!1,r()}}}function Pr(i){let e,t,r,o,a=i[0]&&Pt(i),n=i[2]&&Ot();return{c(){e=_("div"),a&&a.c(),t=T(),r=P(i[1]),o=T(),n&&n.c(),this.c=w,d(e,"class","chip"),d(e,"tabindex","0")},m(l,s){p(l,e,s),a&&a.m(e,null),b(e,t),b(e,r),b(e,o),n&&n.m(e,null)},p(l,[s]){l[0]?a?a.p(l,s):(a=Pt(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),s&2&&F(r,l[1]),l[2]?n?n.p(l,s):(n=Ot(),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},i:w,o:w,d(l){l&&E(e),a&&a.d(),n&&n.d()}}}function Or(i){this.dispatchEvent(new CustomEvent("_onDeleteIconClick",{composed:!0,bubbles:!0})),i.stopPropagation()}function Fr(i,e,t){let{leadingicon:r}=e,{error:o}=e,{deletable:a}=e,{content:n}=e,l;return i.$$set=s=>{"leadingicon"in s&&t(0,r=s.leadingicon),"error"in s&&t(3,o=s.error),"deletable"in s&&t(4,a=s.deletable),"content"in s&&t(1,n=s.content)},i.$$.update=()=>{i.$$.dirty&8,i.$$.dirty&16&&t(2,l=q(a))},[r,n,l,o,a]}class Ft extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-gray-100);border-radius:99px;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--fs-sm);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;margin:0.25rem;padding:0 0.75rem}.chip:hover{background-color:var(--color-gray-200)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus)}.delete-icon{cursor:pointer;margin-right:-0.25rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Fr,Pr,B,{leadingicon:0,error:3,deletable:4,content:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[3]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[4]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Ft);function Wr(i){let e,t,r,o,a,n,l,s,c;return{c(){e=_("div"),t=_("header"),r=_("div"),r.innerHTML='<slot name="title"></slot>',o=T(),a=_("div"),a.innerHTML='<slot name="actions"></slot>',l=T(),s=_("div"),s.innerHTML="<slot></slot>",this.c=w,d(r,"class","title"),d(a,"class","actions"),d(t,"class",n="heading--"+i[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+i[0])},m(u,f){p(u,e,f),b(e,t),b(t,r),b(t,o),b(t,a),b(e,l),b(e,s)},p(u,[f]){f&2&&n!==(n="heading--"+u[1])&&d(t,"class",n),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:w,o:w,d(u){u&&E(e)}}}function qr(i,e,t){let{variant:r="default"}=e,{headingsize:o="large"}=e;return i.$$set=a=>{"variant"in a&&t(0,r=a.variant),"headingsize"in a&&t(1,o=a.headingsize)},[r,o]}class Wt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},qr,Wr,B,{variant:0,headingsize:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),g()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),g()}}customElements.define("goa-container",Wt);const qt="bind";function Kt(i,e,t){const r=i.slice();return r[32]=e[t],r[34]=t,r}function Ut(i){let e,t,r,o;return{c(){e=_("div"),d(e,"data-testid",t=`${i[1]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(a,n){p(a,e,n),r||(o=Y(e,"click",i[17]),r=!0)},p(a,n){n[0]&2&&t!==(t=`${a[1]}-dropdown-background`)&&d(e,"data-testid",t)},d(a){a&&E(e),r=!1,o()}}}function Vt(i,e){let t,r=e[32].label+"",o,a,n,l,s,c,u;function f(){return e[20](e[32])}return{key:i,first:null,c(){t=_("li"),o=P(r),a=T(),d(t,"data-testid",n=`${e[32].value}-dropdown-item`),d(t,"data-index",l=e[34]),d(t,"class","goa-dropdown-option"),d(t,"style",s="display: block"),H(t,"goa-dropdown-option--disabled",!1),H(t,"goa-dropdown-option--tabbed",e[34]===e[11]),H(t,"goa-dropdown-option--selected",e[32].value===e[0]),this.first=t},m(m,y){p(m,t,y),b(t,o),b(t,a),c||(u=Y(t,"click",f),c=!0)},p(m,y){e=m,y[0]&256&&r!==(r=e[32].label+"")&&F(o,r),y[0]&256&&n!==(n=`${e[32].value}-dropdown-item`)&&d(t,"data-testid",n),y[0]&256&&l!==(l=e[34])&&d(t,"data-index",l),y[0]&2304&&H(t,"goa-dropdown-option--tabbed",e[34]===e[11]),y[0]&257&&H(t,"goa-dropdown-option--selected",e[32].value===e[0])},d(m){m&&E(t),c=!1,u()}}}function Kr(i){let e,t,r,o,a,n,l,s,c,u,f,m=[],y=new Map,h,v,z,k=i[10]&&Ut(i),A=i[8];const x=M=>M[32].value;for(let M=0;M<A.length;M+=1){let L=Kt(i,A,M),R=x(L);y.set(R,m[M]=Vt(R,L))}return{c(){e=_("div"),k&&k.c(),t=T(),r=_("div"),o=_("goa-input"),s=T(),c=_("ul"),u=_("slot"),f=T();for(let M=0;M<m.length;M+=1)m[M].c();this.c=w,C(o,"error",i[15]),C(o,"disabled",i[5]),C(o,"leadingicon",i[2]),C(o,"placeholder",i[4]),C(o,"width",a=i[7]||i[12]),C(o,"id",n=`${i[1]}-dropdown-input`),C(o,"name","search"),C(o,"readonly",""),C(o,"trailingicon","chevron-down"),C(o,"type","text"),C(o,"value",i[9]),d(r,"data-testid",l=`${i[1]}-dropdown`),d(c,"tabindex","0"),d(c,"class","goa-dropdown-list"),d(c,"style",h=`overflow-y: auto; max-height: ${i[3]}px`),H(c,"dropdown-active",i[10]),d(e,"data-testid",i[6]),d(e,"class","goa-dropdown-box")},m(M,L){p(M,e,L),k&&k.m(e,null),b(e,t),b(e,r),b(r,o),b(e,s),b(e,c),b(c,u),b(c,f);for(let R=0;R<m.length;R+=1)m[R].m(c,null);i[21](c),i[22](e),v||(z=Y(o,"click",i[16]),v=!0)},p(M,L){M[10]?k?k.p(M,L):(k=Ut(M),k.c(),k.m(e,t)):k&&(k.d(1),k=null),L[0]&32768&&C(o,"error",M[15]),L[0]&32&&C(o,"disabled",M[5]),L[0]&4&&C(o,"leadingicon",M[2]),L[0]&16&&C(o,"placeholder",M[4]),L[0]&4224&&a!==(a=M[7]||M[12])&&C(o,"width",a),L[0]&2&&n!==(n=`${M[1]}-dropdown-input`)&&C(o,"id",n),L[0]&512&&C(o,"value",M[9]),L[0]&2&&l!==(l=`${M[1]}-dropdown`)&&d(r,"data-testid",l),L[0]&264449&&(A=M[8],m=he(m,L,x,1,M,A,y,c,ge,Vt,null,Kt)),L[0]&8&&h!==(h=`overflow-y: auto; max-height: ${M[3]}px`)&&d(c,"style",h),L[0]&1024&&H(c,"dropdown-active",M[10]),L[0]&64&&d(e,"data-testid",M[6])},i:w,o:w,d(M){M&&E(e),k&&k.d();for(let L=0;L<m.length;L+=1)m[L].d();i[21](null),i[22](null),v=!1,z()}}}const Ur=300;function Vr(i,e,t){let r,{name:o}=e,{value:a}=e,{leadingicon:n}=e,{maxheight:l=Ur}=e,{placeholder:s=""}=e,{disabled:c}=e,{error:u}=e,{testid:f}=e,{width:m}=e,y=[],h="",v=!1,z=0,k=0,A,x,M,L;se(async()=>{x.addEventListener("focus",I,!0),x.addEventListener("blur",qi,!0),R()}),Oe(()=>{x.removeEventListener("focus",I,!0),x.removeEventListener("blur",qi,!0),Ve(o)});function R(){L=Ue(o),L.subscribe(G=>{switch(G==null?void 0:G.type){case qt:{const de=G,Be=a===de.value;t(8,y=[...y,Object.assign(Object.assign({},de),{selected:Be})]),Be&&t(9,h=de.label),!m&&k<de.label.length&&(k=de.label.length,t(12,A=`${Math.max(20,k+12)}ch`)),U();break}}})}async function Z(){c||v||(t(10,v=!0),await nt(),M.addEventListener("blur",K),M.focus(),M.addEventListener("keydown",Ki),M.addEventListener("mouseover",Ui))}function K(){M.removeEventListener("blur",K),M.removeEventListener("keydown",Ki),M.removeEventListener("mouseover",Ui),U(),t(10,v=!1)}function U(){t(11,z=y.findIndex(G=>G.value===a))}function O(G,de,Be){t(9,h=Be),t(0,a=de),K(),x.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:G,value:a}}))}const J=G=>{switch(G.key){case" ":Z(),G.preventDefault();break}};function I(){x.addEventListener("keydown",J)}function qi(){x.removeEventListener("keydown",J)}function Ki(G){switch(G.key){case"ArrowUp":z===0?t(11,z=y.length-1):t(11,z--,z),G.preventDefault();break;case"ArrowDown":t(11,z=(z+1)%y.length),G.preventDefault();break;case"Tab":case"Enter":O(o,y[z].value,y[z].label),G.preventDefault();break;case"Escape":K(),G.preventDefault();break}}function Ui(G){t(11,z=Number(G.target.dataset.index))}const Zo=G=>O(G.name,G.value,G.label);function Xo(G){fe[G?"unshift":"push"](()=>{M=G,t(14,M)})}function Yo(G){fe[G?"unshift":"push"](()=>{x=G,t(13,x)})}return i.$$set=G=>{"name"in G&&t(1,o=G.name),"value"in G&&t(0,a=G.value),"leadingicon"in G&&t(2,n=G.leadingicon),"maxheight"in G&&t(3,l=G.maxheight),"placeholder"in G&&t(4,s=G.placeholder),"disabled"in G&&t(5,c=G.disabled),"error"in G&&t(19,u=G.error),"testid"in G&&t(6,f=G.testid),"width"in G&&t(7,m=G.width)},i.$$.update=()=>{i.$$.dirty[0]&524288&&t(15,r=u?"true":"false")},[a,o,n,l,s,c,f,m,y,h,v,z,A,x,M,r,Z,K,O,u,Zo,Xo,Yo]}class Zt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:unset}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Vr,Kr,B,{name:1,value:0,leadingicon:2,maxheight:3,placeholder:4,disabled:5,error:19,testid:6,width:7},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","disabled","error","testid","width"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[7]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-dropdown",Zt);function Zr(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Xr(i,e,t){let{name:r=""}=e,{value:o=""}=e,{label:a=""}=e,n;return se(async()=>{n=await De(r),n.notify({type:qt,name:r,label:a,value:o})}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,o=l.value),"label"in l&&t(2,a=l.label)},[r,o,a]}class Xt extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Xr,Zr,B,{name:0,value:1,label:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),g()}}customElements.define("goa-dropdown-item",Xt);function Yr(i){let e,t;return{c(){e=_("div"),t=_("slot"),this.c=w,d(e,"class","goa-flex-row"),W(e,"gap",i[0])},m(r,o){p(r,e,o),b(e,t)},p(r,[o]){o&1&&W(e,"gap",r[0])},i:w,o:w,d(r){r&&E(e)}}}function Jr(i,e,t){let r,{gap:o=""}=e;return i.$$set=a=>{"gap"in a&&t(1,o=a.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Yt extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:block}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Jr,Yr,B,{gap:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),g()}}customElements.define("goa-flex-row",Yt);function Jt(i){let e,t,r,o=i[3]&&Qt();return{c(){e=_("label"),t=P(i[0]),r=T(),o&&o.c(),d(e,"for","")},m(a,n){p(a,e,n),b(e,t),b(e,r),o&&o.m(e,null)},p(a,n){n&1&&F(t,a[0]),a[3]?o||(o=Qt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(a){a&&E(e),o&&o.d()}}}function Qt(i){let e;return{c(){e=_("em"),e.textContent="(optional)"},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function $t(i){let e,t;return{c(){e=_("div"),t=P(i[2]),d(e,"class","error-msg")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&4&&F(t,r[2])},d(r){r&&E(e)}}}function ei(i){let e,t;return{c(){e=_("div"),t=P(i[1]),d(e,"class","help-msg")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&2&&F(t,r[1])},d(r){r&&E(e)}}}function Qr(i){let e,t,r,o,a,n=i[0]&&Jt(i),l=i[2]&&$t(i),s=i[1]&&ei(i);return{c(){e=_("div"),n&&n.c(),t=T(),r=_("div"),r.innerHTML="<slot></slot>",o=T(),l&&l.c(),a=T(),s&&s.c(),this.c=w,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){p(c,e,u),n&&n.m(e,null),b(e,t),b(e,r),b(e,o),l&&l.m(e,null),b(e,a),s&&s.m(e,null)},p(c,[u]){c[0]?n?n.p(c,u):(n=Jt(c),n.c(),n.m(e,t)):n&&(n.d(1),n=null),c[2]?l?l.p(c,u):(l=$t(c),l.c(),l.m(e,a)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=ei(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:w,o:w,d(c){c&&E(e),n&&n.d(),l&&l.d(),s&&s.d()}}}function $r(i,e,t){let r,{label:o=""}=e,{helptext:a=""}=e,{error:n=""}=e,{optional:l}=e;return i.$$set=s=>{"label"in s&&t(0,o=s.label),"helptext"in s&&t(1,a=s.helptext),"error"in s&&t(2,n=s.error),"optional"in s&&t(4,l=s.optional)},i.$$.update=()=>{i.$$.dirty&16&&t(3,r=q(l))},[o,a,n,r,l]}class ti extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0;overflow-x:hidden;white-space:nowrap;text-overflow:ellipsis}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},$r,Qr,B,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),g()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),g()}}customElements.define("goa-form-item",ti);function eo(i){let e,t,r,o,a,n,l,s;return{c(){e=_("div"),t=_("goa-page-block"),r=_("h1"),o=P(i[0]),a=T(),n=_("div"),n.innerHTML="<slot></slot>",l=T(),s=_("slot"),this.c=w,d(r,"role","heading"),d(n,"class","goa-hero-banner-content"),d(n,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),W(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]+")"),W(e,"background-size","cover"),W(e,"background-position","center"),W(e,"background-repeat","no-repeat")},m(c,u){p(c,e,u),b(e,t),b(t,r),b(r,o),b(t,a),b(t,n),b(t,l),b(t,s)},p(c,[u]){u&1&&F(o,c[0]),u&2&&W(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:w,o:w,d(c){c&&E(e)}}}function to(i,e,t){let{title:r}=e,{backgroundurl:o}=e;return i.$$set=a=>{"title"in a&&t(0,r=a.title),"backgroundurl"in a&&t(1,o=a.backgroundurl)},[r,o]}class ii extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},to,eo,B,{title:0,backgroundurl:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}}customElements.define("goa-hero-banner",ii);function ri(i){let e,t;return{c(){e=_("ion-icon"),W(e,"width","100%"),W(e,"height","100%"),C(e,"name",t=i[1]==="filled"?i[0]:`${i[0]}-${i[1]}`)},m(r,o){p(r,e,o)},p(r,o){o&3&&t!==(t=r[1]==="filled"?r[0]:`${r[0]}-${r[1]}`)&&C(e,"name",t)},d(r){r&&E(e)}}}function io(i){let e,t,r,o=i[0]&&ri(i);return{c(){e=_("div"),o&&o.c(),this.c=w,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"style",r=`
|
|
7
7
|
--size: ${i[4]};
|
|
8
8
|
--fill-color: ${i[2]};
|
|
9
9
|
--hover-color: ${i[3]};
|
|
10
|
-
`),
|
|
10
|
+
`),H(e,"inverted",i[5])},m(a,n){p(a,e,n),o&&o.m(e,null)},p(a,[n]){a[0]?o?o.p(a,n):(o=ri(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null),n&1&&t!==(t=`icon-${a[0]}`)&&d(e,"data-testid",t),n&28&&r!==(r=`
|
|
11
11
|
--size: ${a[4]};
|
|
12
12
|
--fill-color: ${a[2]};
|
|
13
13
|
--hover-color: ${a[3]};
|
|
14
|
-
`)&&d(e,"style",r),n&32&&
|
|
14
|
+
`)&&d(e,"style",r),n&32&&H(e,"inverted",a[5])},i:w,o:w,d(a){a&&E(e),o&&o.d()}}}function ro(i,e,t){let r,o,{type:a}=e,{size:n="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e,{fillcolor:c}=e,{hovercolor:u}=e;return i.$$set=f=>{"type"in f&&t(0,a=f.type),"size"in f&&t(6,n=f.size),"theme"in f&&t(1,l=f.theme),"inverted"in f&&t(7,s=f.inverted),"fillcolor"in f&&t(2,c=f.fillcolor),"hovercolor"in f&&t(3,u=f.hovercolor)},i.$$.update=()=>{i.$$.dirty&128&&t(5,r=q(s)),i.$$.dirty&64&&t(4,o={small:"1.25rem",medium:"1.5rem",large:"2rem"}[n])},[a,l,c,u,o,r,n,s]}class oi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ro,io,B,{type:0,size:6,theme:1,inverted:7,fillcolor:2,hovercolor:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[6]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[7]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),g()}}customElements.define("goa-icon",oi);function oo(i){let e,t,r,o;return{c(){e=_("button"),t=_("goa-icon"),this.c=w,C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[5]),W(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(a,n){p(a,e,n),b(e,t),r||(o=Y(e,"click",no),r=!0)},p(a,[n]){n&1&&C(t,"type",a[0]),n&2&&C(t,"size",a[1]),n&4&&C(t,"theme",a[2]),n&32&&C(t,"inverted",a[5]),n&64&&W(e,"--size",a[6]),n&8&&d(e,"title",a[3]),n&128&&(e.disabled=a[7]),n&256&&d(e,"class",a[8]),n&16&&d(e,"data-testid",a[4])},i:w,o:w,d(a){a&&E(e),r=!1,o()}}}function no(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function ao(i,e,t){let r,o,a,n,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:m=""}=e,{disabled:y}=e,{inverted:h}=e;return i.$$set=v=>{"type"in v&&t(0,l=v.type),"size"in v&&t(1,s=v.size),"theme"in v&&t(2,c=v.theme),"variant"in v&&t(9,u=v.variant),"title"in v&&t(3,f=v.title),"testId"in v&&t(4,m=v.testId),"disabled"in v&&t(10,y=v.disabled),"inverted"in v&&t(11,h=v.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,a=q(h)),i.$$.dirty&544&&t(8,r=`goa-icon-button goa-icon-button--${u} ${a?"goa-icon-button--inverted":""}`),i.$$.dirty&1024&&t(7,o=q(y)),i.$$.dirty&2&&t(6,n={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,m,a,n,o,r,u,y,h]}class ni extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9);border:none}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ao,oo,B,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),g()}}customElements.define("goa-icon-button",ni);function ai(i){let e;return{c(){e=_("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),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&&E(e)}}}function li(i){let e;return{c(){e=_("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[5])},m(t,r){p(t,e,r)},p(t,r){r&32&&C(e,"type",t[5])},d(t){t&&E(e)}}}function si(i){let e,t,r;return{c(){e=_("goa-icon-button"),C(e,"class","goa-input-trailing-icon"),C(e,"disabled",i[12]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"type",i[5]),C(e,"data-testid","trailing-icon-button")},m(o,a){p(o,e,a),t||(r=Y(e,"click",uo),t=!0)},p(o,a){a&4096&&C(e,"disabled",o[12]),a&32&&C(e,"type",o[5])},d(o){o&&E(e),t=!1,r()}}}function ci(i){let e;function t(a,n){if(a[9]>0)return so;if(a[0].length>0)return lo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=Q()},m(a,n){o&&o.m(a,n),p(a,e,n)},p(a,n){r===(r=t(a))&&o?o.p(a,n):(o&&o.d(1),o=r&&r(a),o&&(o.c(),o.m(e.parentNode,e)))},d(a){o&&o.d(a),a&&E(e)}}}function lo(i){let e,t=i[0].length+"",r;return{c(){e=_("div"),r=P(t),d(e,"class","counter")},m(o,a){p(o,e,a),b(e,r)},p(o,a){a&1&&t!==(t=o[0].length+"")&&F(r,t)},d(o){o&&E(e)}}}function so(i){let e,t=i[0].length+"",r,o=`/${i[9]}`,a;return{c(){e=_("div"),r=P(t),a=P(o),d(e,"class","counter"),H(e,"counter-error",i[0].length>i[9])},m(n,l){p(n,e,l),b(e,r),b(e,a)},p(n,l){l&1&&t!==(t=n[0].length+"")&&F(r,t),l&512&&o!==(o=`/${n[9]}`)&&F(a,o),l&513&&H(e,"counter-error",n[0].length>n[9])},d(n){n&&E(e)}}}function co(i){let e,t,r,o,a,n,l,s,c,u,f,m,y,h=i[4]&&ai(i),v=i[5]&&!i[15]&&li(i),z=i[5]&&i[15]&&si(i),k=i[11]&&ci(i);return{c(){e=_("div"),t=_("div"),h&&h.c(),r=T(),o=_("input"),l=T(),v&&v.c(),s=T(),z&&z.c(),u=T(),k&&k.c(),this.c=w,d(o,"class",a=`input--${i[6]}`),d(o,"style",n=`--search-icon-offset: ${i[5]?"-0.5rem":"0"}`),o.readOnly=i[14],o.disabled=i[12],d(o,"data-testid",i[7]),d(o,"name",i[2]),d(o,"type",i[1]),o.value=i[0],d(o,"placeholder",i[3]),d(t,"class",c=`
|
|
15
|
+
goa-input
|
|
16
|
+
${i[12]?"goa-input--disabled":""}
|
|
17
|
+
variant--${i[6]}
|
|
18
|
+
type--${i[1]}
|
|
19
|
+
`),H(t,"error",i[13]),d(e,"class","container"),d(e,"style",f=`
|
|
15
20
|
--width: ${i[8]};
|
|
16
|
-
`),
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
--width: ${
|
|
23
|
-
`)&&d(e,"style",s),
|
|
24
|
-
|
|
25
|
-
${b[10]?"goa-input--disabled":""}
|
|
26
|
-
variant--${b[6]}
|
|
27
|
-
type--${b[0]}
|
|
28
|
-
`)&&d(e,"class",c),_&3137&&I(e,"error",b[11])},i:w,o:w,d(b){b&&E(e),g&&g.d(),i[21](null),v&&v.d(),m&&m.d(),u=!1,Y(f)}}}function ao(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function lo(i,e,t){let r,o,a,n,l,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{placeholder:f=""}=e,{leadingicon:g=null}=e,{trailingicon:v=null}=e,{variant:m="goa"}=e,{disabled:b="false"}=e,{handletrailingiconclick:_="false"}=e,{focused:x="false"}=e,{readonly:T="false"}=e,{error:A="false"}=e,{testid:C=""}=e,{width:M="30ch"}=e,L;function V(H){H.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:H.target.value}})),H.stopPropagation()}function K(H){ue[H?"unshift":"push"](()=>{L=H,t(9,L)})}return i.$$set=H=>{"type"in H&&t(0,s=H.type),"name"in H&&t(1,c=H.name),"value"in H&&t(2,u=H.value),"placeholder"in H&&t(3,f=H.placeholder),"leadingicon"in H&&t(4,g=H.leadingicon),"trailingicon"in H&&t(5,v=H.trailingicon),"variant"in H&&t(6,m=H.variant),"disabled"in H&&t(15,b=H.disabled),"handletrailingiconclick"in H&&t(16,_=H.handletrailingiconclick),"focused"in H&&t(17,x=H.focused),"readonly"in H&&t(18,T=H.readonly),"error"in H&&t(19,A=H.error),"testid"in H&&t(7,C=H.testid),"width"in H&&t(8,M=H.width)},i.$$.update=()=>{i.$$.dirty&65536&&t(13,r=W(_)),i.$$.dirty&131072&&t(20,o=W(x)),i.$$.dirty&262144&&t(12,a=W(T)),i.$$.dirty&524288&&t(11,n=W(A)),i.$$.dirty&32768&&t(10,l=W(b)),i.$$.dirty&1049088&&o&&L&&setTimeout(()=>L.focus(),1),i.$$.dirty&513&&L&&s==="search"&&L.addEventListener("search",H=>{V(H)})},[s,c,u,f,g,v,m,C,M,L,l,n,a,r,V,b,_,x,T,A,o,K]}class si extends S{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}@media(min-width: 640px){.goa-input{min-width:0;width:var(--width)}}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{display:flex;align-items:center;margin-left:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center;margin-right:0.5rem}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>') center center no-repeat}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},lo,no,B,{type:0,name:1,value:2,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:15,handletrailingiconclick:16,focused:17,readonly:18,error:19,testid:7,width:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[16]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[17]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[18]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-input",si);function so(i){const e=i-1;return e*e*e+1}function co(i){return Math.pow(i-1,3)*(1-i)+1}function me(i,{delay:e=0,duration:t=400,easing:r=be}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:a=>`opacity: ${a*o}`}}function ci(i,{delay:e=0,duration:t=400,easing:r=so,x:o=0,y:a=0,opacity:n=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-n);return{delay:e,duration:t,easing:r,css:(f,g)=>`
|
|
21
|
+
`)},m(A,x){p(A,e,x),b(e,t),h&&h.m(t,null),b(t,r),b(t,o),i[24](o),b(t,l),v&&v.m(t,null),b(t,s),z&&z.m(t,null),b(e,u),k&&k.m(e,null),m||(y=[Y(o,"keyup",i[16]),Y(o,"change",i[16])],m=!0)},p(A,[x]){A[4]?h?h.p(A,x):(h=ai(A),h.c(),h.m(t,r)):h&&(h.d(1),h=null),x&64&&a!==(a=`input--${A[6]}`)&&d(o,"class",a),x&32&&n!==(n=`--search-icon-offset: ${A[5]?"-0.5rem":"0"}`)&&d(o,"style",n),x&16384&&(o.readOnly=A[14]),x&4096&&(o.disabled=A[12]),x&128&&d(o,"data-testid",A[7]),x&4&&d(o,"name",A[2]),x&2&&d(o,"type",A[1]),x&1&&o.value!==A[0]&&(o.value=A[0]),x&8&&d(o,"placeholder",A[3]),A[5]&&!A[15]?v?v.p(A,x):(v=li(A),v.c(),v.m(t,s)):v&&(v.d(1),v=null),A[5]&&A[15]?z?z.p(A,x):(z=si(A),z.c(),z.m(t,null)):z&&(z.d(1),z=null),x&4162&&c!==(c=`
|
|
22
|
+
goa-input
|
|
23
|
+
${A[12]?"goa-input--disabled":""}
|
|
24
|
+
variant--${A[6]}
|
|
25
|
+
type--${A[1]}
|
|
26
|
+
`)&&d(t,"class",c),x&12354&&H(t,"error",A[13]),A[11]?k?k.p(A,x):(k=ci(A),k.c(),k.m(e,null)):k&&(k.d(1),k=null),x&256&&f!==(f=`
|
|
27
|
+
--width: ${A[8]};
|
|
28
|
+
`)&&d(e,"style",f)},i:w,o:w,d(A){A&&E(e),h&&h.d(),i[24](null),v&&v.d(),z&&z.d(),k&&k.d(),m=!1,$(y)}}}function uo(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function fo(i,e,t){let r,o,a,n,l,s,{type:c="text"}=e,{name:u=""}=e,{value:f=""}=e,{placeholder:m=""}=e,{leadingicon:y=null}=e,{trailingicon:h=null}=e,{variant:v="goa"}=e,{disabled:z="false"}=e,{handletrailingiconclick:k="false"}=e,{focused:A="false"}=e,{readonly:x="false"}=e,{error:M="false"}=e,{testid:L=""}=e,{width:R="30ch"}=e,{showcounter:Z="false"}=e,{maxcharcount:K=0}=e,U;function O(I){I.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:u,value:I.target.value}})),t(0,f=I.target.value)}function J(I){fe[I?"unshift":"push"](()=>{U=I,t(10,U)})}return i.$$set=I=>{"type"in I&&t(1,c=I.type),"name"in I&&t(2,u=I.name),"value"in I&&t(0,f=I.value),"placeholder"in I&&t(3,m=I.placeholder),"leadingicon"in I&&t(4,y=I.leadingicon),"trailingicon"in I&&t(5,h=I.trailingicon),"variant"in I&&t(6,v=I.variant),"disabled"in I&&t(17,z=I.disabled),"handletrailingiconclick"in I&&t(18,k=I.handletrailingiconclick),"focused"in I&&t(19,A=I.focused),"readonly"in I&&t(20,x=I.readonly),"error"in I&&t(21,M=I.error),"testid"in I&&t(7,L=I.testid),"width"in I&&t(8,R=I.width),"showcounter"in I&&t(22,Z=I.showcounter),"maxcharcount"in I&&t(9,K=I.maxcharcount)},i.$$.update=()=>{i.$$.dirty&262144&&t(15,r=q(k)),i.$$.dirty&524288&&t(23,o=q(A)),i.$$.dirty&1048576&&t(14,a=q(x)),i.$$.dirty&2097152&&t(13,n=q(M)),i.$$.dirty&131072&&t(12,l=q(z)),i.$$.dirty&4194304&&t(11,s=q(Z)),i.$$.dirty&8389632&&o&&U&&setTimeout(()=>U.focus(),1),i.$$.dirty&1026&&U&&c==="search"&&U.addEventListener("search",I=>{O(I)})},[f,c,u,m,y,h,v,L,R,K,U,s,l,n,a,r,O,z,k,A,x,M,Z,o,J]}class di extends S{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}@media(min-width: 640px){.goa-input{min-width:0;width:var(--width)}}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{display:flex;align-items:center;margin-left:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center;margin-right:0.5rem}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:inline-block;color:var(--goa-color-text);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.counter{position:absolute;padding-top:0.25rem;right:0;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
29
|
+
center center no-repeat}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},fo,co,B,{type:1,name:2,value:0,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:17,handletrailingiconclick:18,focused:19,readonly:20,error:21,testid:7,width:8,showcounter:22,maxcharcount:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","showcounter","maxcharcount"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[17]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[18]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[19]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[20]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[21]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),g()}get showcounter(){return this.$$.ctx[22]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[9]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-input",di);function go(i){const e=i-1;return e*e*e+1}function ho(i){return Math.pow(i-1,3)*(1-i)+1}function be(i,{delay:e=0,duration:t=400,easing:r=ve}={}){const o=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:a=>`opacity: ${a*o}`}}function ui(i,{delay:e=0,duration:t=400,easing:r=go,x:o=0,y:a=0,opacity:n=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-n);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
29
30
|
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*a}px);
|
|
30
|
-
opacity: ${s-u*g}`}}function di(i,e){function t(){const a=o();document.body.style.overflow="hidden",document.body.style.paddingRight=a+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const a=document.createElement("div");a.style.visibility="hidden",a.style.overflow="scroll",document.body.appendChild(a);const n=document.createElement("div");a.appendChild(n);const l=a.offsetWidth-n.offsetWidth;return a.parentNode.removeChild(a),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function ui(i){let e,t,r,o,a,n,l,s,c,u,f,g,v,m,b,_,x,T,A,C,M=i[0]&&fi(i),L=i[4]&&gi(i);function V(F,ee){return F[5]?fo:uo}let K=V(i),H=K(i);return{c(){e=p("div"),t=p("div"),r=R(),o=p("div"),M&&M.c(),a=R(),L&&L.c(),n=R(),l=p("div"),H.c(),s=R(),c=p("slot"),u=R(),f=p("div"),f.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",m="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(F,ee){k(F,e,ee),y(e,t),y(e,r),y(e,o),M&&M.m(o,null),y(o,a),L&&L.m(o,null),y(o,n),y(o,l),H.m(l,null),y(l,s),y(l,c),y(o,u),y(o,f),T=!0,A||(C=[X(t,"click",i[6]),Ye(b=di.call(null,e,{enable:i[2]}))],A=!0)},p(F,ee){F[0]?M?M.p(F,ee):(M=fi(F),M.c(),M.m(o,a)):M&&(M.d(1),M=null),F[4]?L?L.p(F,ee):(L=gi(F),L.c(),L.m(o,n)):L&&(L.d(1),L=null),K!==(K=V(F))&&(H.d(1),H=K(F),H&&(H.c(),H.m(l,s))),(!T||ee&10&&m!==(m="--scroll-offset: "+F[3]+"px; "+(F[1]&&`--width: ${F[1]};`)+";"))&&d(e,"style",m),b&&ne(b.update)&&ee&4&&b.update.call(null,{enable:F[2]})},i(F){T||(J(()=>{v&&v.end(1),g=nt(o,ci,{duration:200,y:200}),g.start()}),J(()=>{x&&x.end(1),_=nt(e,me,{duration:200}),_.start()}),T=!0)},o(F){g&&g.invalidate(),v=at(o,ci,{delay:200,duration:200,y:-100}),_&&_.invalidate(),x=at(e,me,{delay:200,duration:200}),T=!1},d(F){F&&E(e),M&&M.d(),L&&L.d(),H.d(),F&&v&&v.end(),F&&x&&x.end(),A=!1,Y(C)}}}function fi(i){let e,t;return{c(){e=p("div"),t=P(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&1&&U(t,r[0])},d(r){r&&E(e)}}}function gi(i){let e,t,r,o;return{c(){e=p("div"),t=p("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"type","close"),d(e,"class","modal-close")},m(a,n){k(a,e,n),y(e,t),r||(o=X(t,"click",i[6]),r=!0)},p:w,d(a){a&&E(e),r=!1,o()}}}function uo(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",O(e,"margin","1.75rem")},m(t,r){k(t,e,r)},d(t){t&&E(e)}}}function fo(i){let e;return{c(){e=p("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50"),z(e,"hpadding","1.75")},m(t,r){k(t,e,r)},d(t){t&&E(e)}}}function go(i){let e,t,r=i[2]&&ui(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,a){r&&r.m(o,a),k(o,e,a),t=!0},p(o,[a]){o[2]?r?(r.p(o,a),a&4&&q(r,1)):(r=ui(o),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(we(),Z(r,1,1,()=>{r=null}),ke())},i(o){t||(q(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function ho(i,e,t){let r,o,a,{heading:n}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,{width:u}=e,f=0;function g(v){!r||(v.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),v.stopPropagation())}return i.$$set=v=>{"heading"in v&&t(0,n=v.heading),"closable"in v&&t(7,l=v.closable),"scrollable"in v&&t(8,s=v.scrollable),"open"in v&&t(9,c=v.open),"width"in v&&t(1,u=v.width)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=W(l)),i.$$.dirty&256&&t(5,o=W(s)),i.$$.dirty&512&&t(2,a=W(c)),i.$$.dirty&4&&a&&t(3,f=window.pageYOffset)},[n,u,a,f,r,o,g,l,s,c]}class hi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},ho,go,B,{heading:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","scrollable","open","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",hi);function mi(i){let e,t,r,o,a,n,l,s,c,u,f,g,v;return{c(){e=p("div"),t=p("div"),r=p("goa-icon"),o=R(),a=p("div"),a.innerHTML="<slot></slot>",n=R(),l=p("div"),s=p("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",""),d(t,"class","icon"),d(a,"class","content"),z(s,"type","close"),z(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(m,b){k(m,e,b),y(e,t),y(t,r),y(e,o),y(e,a),y(e,n),y(e,l),y(l,s),f=!0,g||(v=X(s,"click",i[3]),g=!0)},p(m,b){(!f||b&4)&&z(r,"type",m[2]),(!f||b&1&&c!==(c="notification "+m[0]))&&d(e,"class",c)},i(m){f||(J(()=>{u||(u=Ge(e,me,{},!0)),u.run(1)}),f=!0)},o(m){u||(u=Ge(e,me,{},!1)),u.run(0),f=!1},d(m){m&&E(e),m&&u&&u.end(),g=!1,v()}}}function mo(i){let e,t,r=i[1]&&mi(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,a){r&&r.m(o,a),k(o,e,a),t=!0},p(o,[a]){o[1]?r?(r.p(o,a),a&2&&q(r,1)):(r=mi(o),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(we(),Z(r,1,1,()=>{r=null}),ke())},i(o){t||(q(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function bo(i,e,t){let r,{type:o}=e,a=!0;function n(){t(1,a=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,a,r,n]}class bi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},bo,mo,B,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",bi);function vo(i){let e;return{c(){e=p("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","layout")},m(t,r){k(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class vi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,vo,B,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-layout",vi);function yi(i){let e,t,r,o;const a=[_o,yo],n=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(i))&&(t=n[e]=a[e](i)),{c(){t&&t.c(),r=te()},m(s,c){~e&&n[e].m(s,c),k(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&n[e].p(s,c):(t&&(we(),Z(n[u],1,1,()=>{n[u]=null}),ke()),~e?(t=n[e],t?t.p(s,c):(t=n[e]=a[e](s),t.c()),q(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(q(t),o=!0)},o(s){Z(t),o=!1},d(s){~e&&n[e].d(s),s&&E(r)}}}function yo(i){let e,t,r,o,a,n=i[1]&&_i(i);return{c(){e=p("div"),t=p("goa-spinner"),o=R(),n&&n.c(),z(t,"type",i[0]),z(t,"size",i[4]),z(t,"progress",r=i[2]||0),d(e,"class",a="spinner-"+i[4]),I(e,"inline",i[5])},m(l,s){k(l,e,s),y(e,t),y(e,o),n&&n.m(e,null)},p(l,s){s&1&&z(t,"type",l[0]),s&16&&z(t,"size",l[4]),s&4&&r!==(r=l[2]||0)&&z(t,"progress",r),l[1]?n?n.p(l,s):(n=_i(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null),s&16&&a!==(a="spinner-"+l[4])&&d(e,"class",a),s&48&&I(e,"inline",l[5])},i:w,o:w,d(l){l&&E(e),n&&n.d()}}}function _o(i){let e,t,r,o,a,n,l,s,c=i[1]&&pi(i);return{c(){e=p("div"),t=p("goa-spinner"),o=R(),c&&c.c(),z(t,"type",i[0]),z(t,"size",i[4]),z(t,"progress",r=i[2]||0),I(e,"fullscreen",i[6])},m(u,f){k(u,e,f),y(e,t),y(e,o),c&&c.m(e,null),n=!0,l||(s=Ye(di.call(null,e,{enable:!0})),l=!0)},p(u,f){(!n||f&1)&&z(t,"type",u[0]),(!n||f&16)&&z(t,"size",u[4]),(!n||f&4&&r!==(r=u[2]||0))&&z(t,"progress",r),u[1]?c?c.p(u,f):(c=pi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&I(e,"fullscreen",u[6])},i(u){n||(J(()=>{a||(a=Ge(e,me,{duration:300},!0)),a.run(1)}),n=!0)},o(u){a||(a=Ge(e,me,{duration:300},!1)),a.run(0),n=!1},d(u){u&&E(e),c&&c.d(),u&&a&&a.end(),l=!1,s()}}}function _i(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"class","message")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&2&&U(t,r[1])},d(r){r&&E(e)}}}function pi(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"class","message")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&2&&U(t,r[1])},d(r){r&&E(e)}}}function po(i){let e,t,r=i[3]&&yi(i);return{c(){r&&r.c(),e=te(),this.c=w},m(o,a){r&&r.m(o,a),k(o,e,a),t=!0},p(o,[a]){o[3]?r?(r.p(o,a),a&8&&q(r,1)):(r=yi(o),r.c(),q(r,1),r.m(e.parentNode,e)):r&&(we(),Z(r,1,1,()=>{r=null}),ke())},i(o){t||(q(r),t=!0)},o(o){Z(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function wo(i,e,t){let r,o,a,n,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:g=0}=e,{visible:v="false"}=e;return i.$$set=m=>{"type"in m&&t(0,s=m.type),"variant"in m&&t(7,c=m.variant),"size"in m&&t(8,u=m.size),"message"in m&&t(1,f=m.message),"progress"in m&&t(2,g=m.progress),"visible"in m&&t(9,v=m.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=W(v)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,a=c==="inline"),i.$$.dirty&256&&t(4,n=u==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,l=s&&r&&u)},[s,f,g,l,n,a,o,c,u,v,r]}class wi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},wo,po,B,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",wi);const ki="bind";function xi(i,e,t){const r=i.slice();return r[14]=e[t],r}function Ei(i,e){let t,r,o,a,n,l,s,c,u=(e[14].label||e[14].value)+"",f,g,v,m,b;function _(){return e[11](e[14])}return{key:i,first:null,c(){t=p("label"),r=p("input"),n=R(),l=p("div"),s=R(),c=p("span"),f=P(u),g=R(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=a=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",v="radio-option-"+e[14].value),d(t,"class","goa-radio"),I(t,"goa-radio--disabled",e[7]),I(t,"goa-radio--error",e[5]),this.first=t},m(x,T){k(x,t,T),y(t,r),y(t,n),y(t,l),y(t,s),y(t,c),y(c,f),y(t,g),m||(b=X(r,"change",_),m=!0)},p(x,T){e=x,T&2&&d(r,"name",e[1]),T&16&&o!==(o=e[14].value)&&(r.value=o),T&128&&(r.disabled=e[7]),T&17&&a!==(a=e[14].value===e[0])&&(r.checked=a),T&16&&u!==(u=(e[14].label||e[14].value)+"")&&U(f,u),T&16&&v!==(v="radio-option-"+e[14].value)&&d(t,"data-testid",v),T&128&&I(t,"goa-radio--disabled",e[7]),T&32&&I(t,"goa-radio--error",e[5])},d(x){x&&E(t),m=!1,b()}}}function ko(i){let e,t,r,o=[],a=new Map,n,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=xi(i,l,c),f=s(u);a.set(f,o[c]=Ei(f,u))}return{c(){e=p("div"),t=p("slot"),r=R();for(let c=0;c<o.length;c+=1)o[c].c();this.c=w,d(e,"class",n=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){k(c,e,u),y(e,t),y(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],o=ge(o,u,s,1,c,l,a,e,fe,Ei,null,xi)),u&4&&n!==(n=`goa-radio-group--${c[2]}`)&&d(e,"class",n),u&8&&d(e,"data-testid",c[3])},i:w,o:w,d(c){c&&E(e);for(let u=0;u<o.length;u+=1)o[u].d();i[12](null)}}}function xo(i,e,t){let r,{name:o}=e,{value:a}=e,{orientation:n="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,g,v;le(()=>{g=Ke(o),g.subscribe(x=>{switch(x==null?void 0:x.type){case ki:t(4,u=[...u,x])}})});function m(x){x!==a&&(t(0,a=x),v.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:a}})))}Pe(()=>{Ue(o)});const b=x=>m(x.value);function _(x){ue[x?"unshift":"push"](()=>{v=x,t(6,v)})}return i.$$set=x=>{"name"in x&&t(1,o=x.name),"value"in x&&t(0,a=x.value),"orientation"in x&&t(2,n=x.orientation),"disabled"in x&&t(9,l=x.disabled),"error"in x&&t(10,s=x.error),"testid"in x&&t(3,c=x.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=W(l)),i.$$.dirty&1024&&t(5,f=W(s))},[a,o,n,c,u,f,v,r,m,l,s,b,_]}class zi extends S{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:flex;flex-direction:column}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},xo,ko,B,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",zi);function Eo(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function zo(i,e,t){let{value:r}=e,{label:o}=e,{name:a}=e,n;return le(async()=>{n=await Ie(a),n.notify({type:ki,value:r,label:o})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,o=l.label),"name"in l&&t(2,a=l.name)},[r,o,a]}class Ci extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},zo,Eo,B,{value:0,label:1,name:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",Ci);function Co(i){let e,t,r;return{c(){e=p("div"),t=p("slot"),this.c=w,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
31
|
+
opacity: ${s-u*m}`}}function fi(i,e){function t(){const a=o();document.body.style.overflow="hidden",document.body.style.paddingRight=a+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const a=document.createElement("div");a.style.visibility="hidden",a.style.overflow="scroll",document.body.appendChild(a);const n=document.createElement("div");a.appendChild(n);const l=a.offsetWidth-n.offsetWidth;return a.parentNode.removeChild(a),l}return e.enable&&t(),{update(){e.enable?t():r()},destroy(){r()}}}function gi(i){let e,t,r,o,a,n,l,s,c,u,f,m,y,h,v,z,k,A,x,M,L=i[0]&&hi(i),R=i[4]&&mi(i);function Z(O,J){return O[5]?bo:mo}let K=Z(i),U=K(i);return{c(){e=_("div"),t=_("div"),r=T(),o=_("div"),L&&L.c(),a=T(),R&&R.c(),n=T(),l=_("div"),U.c(),s=T(),c=_("slot"),u=T(),f=_("div"),f.innerHTML='<slot name="actions"></slot>',d(t,"data-testid","modal-overlay"),d(t,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",h="--scroll-offset: "+i[3]+"px; "+(i[1]&&`--width: ${i[1]};`)+";")},m(O,J){p(O,e,J),b(e,t),b(e,r),b(e,o),L&&L.m(o,null),b(o,a),R&&R.m(o,null),b(o,n),b(o,l),U.m(l,null),b(l,s),b(l,c),b(o,u),b(o,f),A=!0,x||(M=[Y(t,"click",i[6]),Je(v=fi.call(null,e,{enable:i[2]}))],x=!0)},p(O,J){O[0]?L?L.p(O,J):(L=hi(O),L.c(),L.m(o,a)):L&&(L.d(1),L=null),O[4]?R?R.p(O,J):(R=mi(O),R.c(),R.m(o,n)):R&&(R.d(1),R=null),K!==(K=Z(O))&&(U.d(1),U=K(O),U&&(U.c(),U.m(l,s))),(!A||J&10&&h!==(h="--scroll-offset: "+O[3]+"px; "+(O[1]&&`--width: ${O[1]};`)+";"))&&d(e,"style",h),v&&ae(v.update)&&J&4&&v.update.call(null,{enable:O[2]})},i(O){A||(ee(()=>{y&&y.end(1),m=at(o,ui,{duration:200,y:200}),m.start()}),ee(()=>{k&&k.end(1),z=at(e,be,{duration:200}),z.start()}),A=!0)},o(O){m&&m.invalidate(),y=lt(o,ui,{delay:200,duration:200,y:-100}),z&&z.invalidate(),k=lt(e,be,{delay:200,duration:200}),A=!1},d(O){O&&E(e),L&&L.d(),R&&R.d(),U.d(),O&&y&&y.end(),O&&k&&k.end(),x=!1,$(M)}}}function hi(i){let e,t;return{c(){e=_("div"),t=P(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&1&&F(t,r[0])},d(r){r&&E(e)}}}function mi(i){let e,t,r,o;return{c(){e=_("div"),t=_("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"type","close"),d(e,"class","modal-close")},m(a,n){p(a,e,n),b(e,t),r||(o=Y(t,"click",i[6]),r=!0)},p:w,d(a){a&&E(e),r=!1,o()}}}function mo(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",W(e,"margin","1.75rem")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function bo(i){let e;return{c(){e=_("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50"),C(e,"hpadding","1.75")},m(t,r){p(t,e,r)},d(t){t&&E(e)}}}function vo(i){let e,t,r=i[2]&&gi(i);return{c(){r&&r.c(),e=Q(),this.c=w},m(o,a){r&&r.m(o,a),p(o,e,a),t=!0},p(o,[a]){o[2]?r?(r.p(o,a),a&4&&V(r,1)):(r=gi(o),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(ke(),X(r,1,1,()=>{r=null}),xe())},i(o){t||(V(r),t=!0)},o(o){X(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function _o(i,e,t){let r,o,a,{heading:n}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,{width:u}=e,f=0;function m(y){!r||(y.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),y.stopPropagation())}return i.$$set=y=>{"heading"in y&&t(0,n=y.heading),"closable"in y&&t(7,l=y.closable),"scrollable"in y&&t(8,s=y.scrollable),"open"in y&&t(9,c=y.open),"width"in y&&t(1,u=y.width)},i.$$.update=()=>{i.$$.dirty&128&&t(4,r=q(l)),i.$$.dirty&256&&t(5,o=q(s)),i.$$.dirty&512&&t(2,a=q(c)),i.$$.dirty&4&&a&&t(3,f=window.pageYOffset)},[n,u,a,f,r,o,m,l,s,c]}class bi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},_o,vo,B,{heading:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","scrollable","open","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),g()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),g()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}}customElements.define("goa-modal",bi);function vi(i){let e,t,r,o,a,n,l,s,c,u,f,m,y;return{c(){e=_("div"),t=_("div"),r=_("goa-icon"),o=T(),a=_("div"),a.innerHTML="<slot></slot>",n=T(),l=_("div"),s=_("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",""),d(t,"class","icon"),d(a,"class","content"),C(s,"type","close"),C(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(h,v){p(h,e,v),b(e,t),b(t,r),b(e,o),b(e,a),b(e,n),b(e,l),b(l,s),f=!0,m||(y=Y(s,"click",i[3]),m=!0)},p(h,v){(!f||v&4)&&C(r,"type",h[2]),(!f||v&1&&c!==(c="notification "+h[0]))&&d(e,"class",c)},i(h){f||(ee(()=>{u||(u=Ie(e,be,{},!0)),u.run(1)}),f=!0)},o(h){u||(u=Ie(e,be,{},!1)),u.run(0),f=!1},d(h){h&&E(e),h&&u&&u.end(),m=!1,y()}}}function yo(i){let e,t,r=i[1]&&vi(i);return{c(){r&&r.c(),e=Q(),this.c=w},m(o,a){r&&r.m(o,a),p(o,e,a),t=!0},p(o,[a]){o[1]?r?(r.p(o,a),a&2&&V(r,1)):(r=vi(o),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(ke(),X(r,1,1,()=>{r=null}),xe())},i(o){t||(V(r),t=!0)},o(o){X(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function wo(i,e,t){let r,{type:o}=e,a=!0;function n(){t(1,a=!1)}return i.$$set=l=>{"type"in l&&t(0,o=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,a,r,n]}class _i extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},wo,yo,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",_i);function po(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=w,d(e,"class","layout")},m(t,r){p(t,e,r)},p:w,i:w,o:w,d(t){t&&E(e)}}}class yi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,po,B,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-page-layout",yi);function wi(i){let e,t,r,o;const a=[xo,ko],n=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(i))&&(t=n[e]=a[e](i)),{c(){t&&t.c(),r=Q()},m(s,c){~e&&n[e].m(s,c),p(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&n[e].p(s,c):(t&&(ke(),X(n[u],1,1,()=>{n[u]=null}),xe()),~e?(t=n[e],t?t.p(s,c):(t=n[e]=a[e](s),t.c()),V(t,1),t.m(r.parentNode,r)):t=null)},i(s){o||(V(t),o=!0)},o(s){X(t),o=!1},d(s){~e&&n[e].d(s),s&&E(r)}}}function ko(i){let e,t,r,o,a,n=i[1]&&pi(i);return{c(){e=_("div"),t=_("goa-spinner"),o=T(),n&&n.c(),C(t,"type",i[0]),C(t,"size",i[4]),C(t,"progress",r=i[2]||0),d(e,"class",a="spinner-"+i[4]),H(e,"inline",i[5])},m(l,s){p(l,e,s),b(e,t),b(e,o),n&&n.m(e,null)},p(l,s){s&1&&C(t,"type",l[0]),s&16&&C(t,"size",l[4]),s&4&&r!==(r=l[2]||0)&&C(t,"progress",r),l[1]?n?n.p(l,s):(n=pi(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null),s&16&&a!==(a="spinner-"+l[4])&&d(e,"class",a),s&48&&H(e,"inline",l[5])},i:w,o:w,d(l){l&&E(e),n&&n.d()}}}function xo(i){let e,t,r,o,a,n,l,s,c=i[1]&&ki(i);return{c(){e=_("div"),t=_("goa-spinner"),o=T(),c&&c.c(),C(t,"type",i[0]),C(t,"size",i[4]),C(t,"progress",r=i[2]||0),H(e,"fullscreen",i[6])},m(u,f){p(u,e,f),b(e,t),b(e,o),c&&c.m(e,null),n=!0,l||(s=Je(fi.call(null,e,{enable:!0})),l=!0)},p(u,f){(!n||f&1)&&C(t,"type",u[0]),(!n||f&16)&&C(t,"size",u[4]),(!n||f&4&&r!==(r=u[2]||0))&&C(t,"progress",r),u[1]?c?c.p(u,f):(c=ki(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&H(e,"fullscreen",u[6])},i(u){n||(ee(()=>{a||(a=Ie(e,be,{duration:300},!0)),a.run(1)}),n=!0)},o(u){a||(a=Ie(e,be,{duration:300},!1)),a.run(0),n=!1},d(u){u&&E(e),c&&c.d(),u&&a&&a.end(),l=!1,s()}}}function pi(i){let e,t;return{c(){e=_("div"),t=P(i[1]),d(e,"class","message")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&2&&F(t,r[1])},d(r){r&&E(e)}}}function ki(i){let e,t;return{c(){e=_("div"),t=P(i[1]),d(e,"class","message")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&2&&F(t,r[1])},d(r){r&&E(e)}}}function zo(i){let e,t,r=i[3]&&wi(i);return{c(){r&&r.c(),e=Q(),this.c=w},m(o,a){r&&r.m(o,a),p(o,e,a),t=!0},p(o,[a]){o[3]?r?(r.p(o,a),a&8&&V(r,1)):(r=wi(o),r.c(),V(r,1),r.m(e.parentNode,e)):r&&(ke(),X(r,1,1,()=>{r=null}),xe())},i(o){t||(V(r),t=!0)},o(o){X(r),t=!1},d(o){r&&r.d(o),o&&E(e)}}}function Eo(i,e,t){let r,o,a,n,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:m=0}=e,{visible:y="false"}=e;return i.$$set=h=>{"type"in h&&t(0,s=h.type),"variant"in h&&t(7,c=h.variant),"size"in h&&t(8,u=h.size),"message"in h&&t(1,f=h.message),"progress"in h&&t(2,m=h.progress),"visible"in h&&t(9,y=h.visible)},i.$$.update=()=>{i.$$.dirty&512&&t(10,r=q(y)),i.$$.dirty&128&&t(6,o=c==="fullscreen"),i.$$.dirty&128&&t(5,a=c==="inline"),i.$$.dirty&256&&t(4,n=u==="small"?"large":"xlarge"),i.$$.dirty&1281&&t(3,l=s&&r&&u)},[s,f,m,l,n,a,o,c,u,y,r]}class xi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Eo,zo,B,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",xi);const zi="bind";function Ei(i,e,t){const r=i.slice();return r[14]=e[t],r}function Ci(i,e){let t,r,o,a,n,l,s,c,u=(e[14].label||e[14].value)+"",f,m,y,h,v;function z(){return e[11](e[14])}return{key:i,first:null,c(){t=_("label"),r=_("input"),n=T(),l=_("div"),s=T(),c=_("span"),f=P(u),m=T(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=a=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",y="radio-option-"+e[14].value),d(t,"class","goa-radio"),H(t,"goa-radio--disabled",e[7]),H(t,"goa-radio--error",e[5]),this.first=t},m(k,A){p(k,t,A),b(t,r),b(t,n),b(t,l),b(t,s),b(t,c),b(c,f),b(t,m),h||(v=Y(r,"change",z),h=!0)},p(k,A){e=k,A&2&&d(r,"name",e[1]),A&16&&o!==(o=e[14].value)&&(r.value=o),A&128&&(r.disabled=e[7]),A&17&&a!==(a=e[14].value===e[0])&&(r.checked=a),A&16&&u!==(u=(e[14].label||e[14].value)+"")&&F(f,u),A&16&&y!==(y="radio-option-"+e[14].value)&&d(t,"data-testid",y),A&128&&H(t,"goa-radio--disabled",e[7]),A&32&&H(t,"goa-radio--error",e[5])},d(k){k&&E(t),h=!1,v()}}}function Co(i){let e,t,r,o=[],a=new Map,n,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=Ei(i,l,c),f=s(u);a.set(f,o[c]=Ci(f,u))}return{c(){e=_("div"),t=_("slot"),r=T();for(let c=0;c<o.length;c+=1)o[c].c();this.c=w,d(e,"class",n=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){p(c,e,u),b(e,t),b(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],o=he(o,u,s,1,c,l,a,e,ge,Ci,null,Ei)),u&4&&n!==(n=`goa-radio-group--${c[2]}`)&&d(e,"class",n),u&8&&d(e,"data-testid",c[3])},i:w,o:w,d(c){c&&E(e);for(let u=0;u<o.length;u+=1)o[u].d();i[12](null)}}}function Ao(i,e,t){let r,{name:o}=e,{value:a}=e,{orientation:n="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,m,y;se(()=>{m=Ue(o),m.subscribe(k=>{switch(k==null?void 0:k.type){case zi:t(4,u=[...u,k])}})});function h(k){k!==a&&(t(0,a=k),y.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:a}})))}Oe(()=>{Ve(o)});const v=k=>h(k.value);function z(k){fe[k?"unshift":"push"](()=>{y=k,t(6,y)})}return i.$$set=k=>{"name"in k&&t(1,o=k.name),"value"in k&&t(0,a=k.value),"orientation"in k&&t(2,n=k.orientation),"disabled"in k&&t(9,l=k.disabled),"error"in k&&t(10,s=k.error),"testid"in k&&t(3,c=k.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(l)),i.$$.dirty&1024&&t(5,f=q(s))},[a,o,n,c,u,f,y,r,h,l,s,v,z]}class Ai extends S{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:flex;flex-direction:column}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ao,Co,B,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},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"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-radio-group",Ai);function Mo(i){return{c(){this.c=w},m:w,p:w,i:w,o:w,d:w}}function Lo(i,e,t){let{value:r}=e,{label:o}=e,{name:a}=e,n;return se(async()=>{n=await De(a),n.notify({type:zi,value:r,label:o})}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,o=l.label),"name"in l&&t(2,a=l.name)},[r,o,a]}class Mi extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Lo,Mo,B,{value:0,label:1,name:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}}customElements.define("goa-radio-item",Mi);function Ro(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=w,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
31
32
|
--max-height: ${i[3]};
|
|
32
33
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
33
34
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
34
35
|
margin: ${i[2]}rem 0;
|
|
35
36
|
padding: 0 ${i[1]}rem;
|
|
36
|
-
`)},m(o,a){
|
|
37
|
+
`)},m(o,a){p(o,e,a),b(e,t)},p(o,[a]){a&15&&r!==(r=`
|
|
37
38
|
--max-height: ${o[3]};
|
|
38
39
|
overflow-y: ${o[0]==="vertical"?"auto":"hidden"};
|
|
39
40
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
40
41
|
margin: ${o[2]}rem 0;
|
|
41
42
|
padding: 0 ${o[1]}rem;
|
|
42
|
-
`)&&d(e,"style",r)},i:w,o:w,d(o){o&&E(e)}}}function
|
|
43
|
+
`)&&d(e,"style",r)},i:w,o:w,d(o){o&&E(e)}}}function To(i,e,t){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:a=0}=e,{height:n=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,o=l.hpadding),"vpadding"in l&&t(2,a=l.vpadding),"height"in l&&t(3,n=l.height)},[r,o,a,n]}class Li extends S{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>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},To,Ro,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",Li);function Ri(i){let e,t,r;return{c(){e=_("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',t=T(),r=_("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-level service-level--live"),d(r,"data-testid","level"),d(r,"class","site-text")},m(o,a){p(o,e,a),p(o,t,a),p(o,r,a)},d(o){o&&E(e),o&&E(t),o&&E(r)}}}function Ti(i){let e,t=Ii(i[0])+"",r,o,a,n,l,s,c,u=i[2]&&Hi(i);return{c(){e=_("div"),r=P(t),a=T(),n=_("div"),l=P("This is a new "),s=_("a"),s.textContent="Alberta Government",c=P(`
|
|
43
44
|
service
|
|
44
|
-
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(n,"data-testid","site-text"),d(n,"class","site-text")},m(f,g){k(f,e,g),y(e,r),k(f,a,g),k(f,n,g),y(n,l),y(n,s),y(n,c),u&&u.m(n,null)},p(f,g){g&1&&t!==(t=Hi(f[0])+"")&&U(r,t),g&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,g):(u=Ri(f),u.c(),u.m(n,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(a),f&&E(n),u&&u.d()}}}function Ri(i){let e,t,r,o;return{c(){e=p("span"),t=P("\u2014 help us improve it by giving "),r=p("a"),o=P("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(a,n){k(a,e,n),y(e,t),y(e,r),y(r,o)},p(a,n){n&4&&d(r,"href",a[2])},d(a){a&&E(e)}}}function Ti(i){let e,t;return{c(){e=p("div"),t=P(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){k(r,e,o),y(e,t)},p(r,o){o&2&&U(t,r[1])},d(r){r&&E(e)}}}function Mo(i){let e,t,r=["alpha","beta"].includes(i[0]),o,a,n,l=i[0]==="live"&&Mi(),s=r&&Li(i),c=i[1]&&Ti(i);return{c(){e=p("header"),l&&l.c(),t=R(),s&&s.c(),o=R(),a=p("div"),n=R(),c&&c.c(),this.c=w,d(a,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),l&&l.m(e,null),y(e,t),s&&s.m(e,null),y(e,o),y(e,a),y(e,n),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Mi(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Li(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Ti(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:w,o:w,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Hi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Lo(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:a}=e;return i.$$set=n=>{"level"in n&&t(0,r=n.level),"version"in n&&t(1,o=n.version),"feedbackurl"in n&&t(2,a=n.feedbackurl)},[r,o,a]}class Gi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Lo,Mo,B,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",Gi);function Ro(i){let e,t;return{c(){e=p("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){k(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:w,o:w,d(r){r&&E(e)}}}function To(i){let e,t,r,o,a,n,l,s,c,u;return r=new $({props:{type:"avatar",size:i[1]}}),n=new $({props:{type:"title",size:i[1]}}),s=new $({props:{type:"text-small",size:i[1]}}),{c(){e=p("div"),t=p("div"),oe(r.$$.fragment),o=R(),a=p("div"),oe(n.$$.fragment),l=R(),oe(s.$$.fragment),d(t,"class","profile-avatar"),d(a,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,g){k(f,e,g),y(e,t),ie(r,t,null),y(e,o),y(e,a),ie(n,a,null),y(a,l),ie(s,a,null),u=!0},p(f,g){const v={};g&2&&(v.size=f[1]),r.$set(v);const m={};g&2&&(m.size=f[1]),n.$set(m);const b={};g&2&&(b.size=f[1]),s.$set(b),(!u||g&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(q(r.$$.fragment,f),q(n.$$.fragment,f),q(s.$$.fragment,f),u=!0)},o(f){Z(r.$$.fragment,f),Z(n.$$.fragment,f),Z(s.$$.fragment,f),u=!1},d(f){f&&E(e),re(r),re(n),re(s)}}}function Ho(i){let e,t,r,o,a,n,l,s,c,u,f,g,v;return t=new $({props:{type:"image",size:i[1]}}),a=new $({props:{type:"header",size:i[1]}}),l=new $({props:{type:"text",size:i[1]}}),c=new $({props:{type:"text",size:i[1]}}),f=new $({props:{type:"text",size:i[1]}}),{c(){e=p("div"),oe(t.$$.fragment),r=R(),o=p("div"),oe(a.$$.fragment),n=R(),oe(l.$$.fragment),s=R(),oe(c.$$.fragment),u=R(),oe(f.$$.fragment),d(o,"class","card-content"),d(e,"class",g="card card-"+i[1]),O(e,"--width",i[0]+"px")},m(m,b){k(m,e,b),ie(t,e,null),y(e,r),y(e,o),ie(a,o,null),y(o,n),ie(l,o,null),y(o,s),ie(c,o,null),y(o,u),ie(f,o,null),v=!0},p(m,b){const _={};b&2&&(_.size=m[1]),t.$set(_);const x={};b&2&&(x.size=m[1]),a.$set(x);const T={};b&2&&(T.size=m[1]),l.$set(T);const A={};b&2&&(A.size=m[1]),c.$set(A);const C={};b&2&&(C.size=m[1]),f.$set(C),(!v||b&2&&g!==(g="card card-"+m[1]))&&d(e,"class",g),(!v||b&1)&&O(e,"--width",m[0]+"px")},i(m){v||(q(t.$$.fragment,m),q(a.$$.fragment,m),q(l.$$.fragment,m),q(c.$$.fragment,m),q(f.$$.fragment,m),v=!0)},o(m){Z(t.$$.fragment,m),Z(a.$$.fragment,m),Z(l.$$.fragment,m),Z(c.$$.fragment,m),Z(f.$$.fragment,m),v=!1},d(m){m&&E(e),re(t),re(a),re(l),re(c),re(f)}}}function Go(i){let e,t,r,o;const a=[Ho,To,Ro],n=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=n[e]=a[e](i),{c(){t.c(),r=te(),this.c=w},m(s,c){n[e].m(s,c),k(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?n[e].p(s,c):(we(),Z(n[u],1,1,()=>{n[u]=null}),ke(),t=n[e],t?t.p(s,c):(t=n[e]=a[e](s),t.c()),q(t,1),t.m(r.parentNode,r))},i(s){o||(q(t),o=!0)},o(s){Z(t),o=!1},d(s){n[e].d(s),s&&E(r)}}}function Io(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:a}=e;return i.$$set=n=>{"width"in n&&t(0,r=n.width),"size"in n&&t(1,o=n.size),"type"in n&&t(2,a=n.type)},[r,o,a]}class $ extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Io,Go,B,{width:0,size:1,type:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",$);function Ii(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ve(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,a)=>Ve(i[a],o));return o=>r.map(a=>a(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Ii(i)&&Ii(e)){i=i.getTime(),e=e.getTime();const a=e-i;return n=>new Date(i+n*a)}const r=Object.keys(e),o={};return r.forEach(a=>{o[a]=Ve(i[a],e[a])}),a=>{const n={};return r.forEach(l=>{n[l]=o[l](a)}),n}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function Do(i,e={}){const t=ct(i);let r,o=i;function a(n,l){if(i==null)return t.set(i=n),Promise.resolve();o=n;let s=r,c=!1,{delay:u=0,duration:f=400,easing:g=be,interpolate:v=Ve}=Ze(Ze({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const m=ze()+u;let b;return r=Ce(_=>{if(_<m)return!0;c||(b=v(i,n),typeof f=="function"&&(f=f(i,n)),c=!0),s&&(s.abort(),s=null);const x=_-m;return x>f?(t.set(i=n),!1):(t.set(i=b(g(x/f))),!0)}),r.promise}return{set:a,update:(n,l)=>a(n(o,i),l),subscribe:t.subscribe}}function Di(i){let e,t,r,o,a,n,l,s,c;return{c(){e=ae("svg"),t=ae("circle"),a=ae("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(a,"d",n=i[9](i[7])),d(a,"stroke-width",i[4]),d(a,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(a,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){k(u,e,f),y(e,t),y(e,a)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&n!==(n=u[9](u[7]))&&d(a,"d",n),f&16&&d(a,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(a,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&E(e)}}}function Bo(i){let e,t=i[6]&&Di(i);return{c(){t&&t.c(),e=te(),this.c=w},m(r,o){t&&t.m(r,o),k(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:w,o:w,d(r){t&&t.d(r),r&&E(e)}}}function So(i,e,t){let r,o,a,n,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:g="0"}=e,{testid:v=""}=e;const m=Do(0,{duration:500,easing:co});Vi(i,m,x=>t(7,s=x));function b(x){const T=a+n*Math.cos(x),A=a+n*Math.sin(x);return T+" "+A}function _(x){switch(f){case"progress":{const T=b(-Math.PI/2),A=b(-Math.PI/2+2*Math.PI*(x/100)),C=x%100<50?0:1;return`M ${T} A ${n} ${n} 0 ${C} 1 ${A}`}case"infinite":{const T=b(Math.PI*1.5),A=b(0);return`M ${T} A ${n} ${n} 0 1 0 ${A}`}}}return i.$$set=x=>{"size"in x&&t(10,c=x.size),"invert"in x&&t(0,u=x.invert),"type"in x&&t(1,f=x.type),"progress"in x&&t(11,g=x.progress),"testid"in x&&t(2,v=x.testid)},i.$$.update=()=>{i.$$.dirty&2048&&m.set(parseFloat(g)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,a=r/2),i.$$.dirty&24&&t(12,n=a-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?n:n&&g)},[u,f,v,a,o,r,l,s,m,_,c,g,n]}class Bi extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},So,Bo,B,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",Bi);function No(i){let e,t,r,o;return{c(){e=p("textarea"),this.c=w,d(e,"name",i[0]),d(e,"placeholder",i[2]),e.value=i[1],d(e,"rows",i[3]),d(e,"style",t=`
|
|
45
|
+
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(n,"data-testid","site-text"),d(n,"class","site-text")},m(f,m){p(f,e,m),b(e,r),p(f,a,m),p(f,n,m),b(n,l),b(n,s),b(n,c),u&&u.m(n,null)},p(f,m){m&1&&t!==(t=Ii(f[0])+"")&&F(r,t),m&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,m):(u=Hi(f),u.c(),u.m(n,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(a),f&&E(n),u&&u.d()}}}function Hi(i){let e,t,r,o;return{c(){e=_("span"),t=P("\u2014 help us improve it by giving "),r=_("a"),o=P("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(a,n){p(a,e,n),b(e,t),b(e,r),b(r,o)},p(a,n){n&4&&d(r,"href",a[2])},d(a){a&&E(e)}}}function Gi(i){let e,t;return{c(){e=_("div"),t=P(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&2&&F(t,r[1])},d(r){r&&E(e)}}}function Ho(i){let e,t,r=["alpha","beta"].includes(i[0]),o,a,n,l=i[0]==="live"&&Ri(),s=r&&Ti(i),c=i[1]&&Gi(i);return{c(){e=_("header"),l&&l.c(),t=T(),s&&s.c(),o=T(),a=_("div"),n=T(),c&&c.c(),this.c=w,d(a,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){p(u,e,f),l&&l.m(e,null),b(e,t),s&&s.m(e,null),b(e,o),b(e,a),b(e,n),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Ri(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Ti(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Gi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:w,o:w,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Ii(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Go(i,e,t){let{level:r}=e,{version:o}=e,{feedbackurl:a}=e;return i.$$set=n=>{"level"in n&&t(0,r=n.level),"version"in n&&t(1,o=n.version),"feedbackurl"in n&&t(2,a=n.feedbackurl)},[r,o,a]}class Di extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Go,Ho,B,{level: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["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Di);function Io(i){let e,t;return{c(){e=_("div"),d(e,"class",t="skeleton "+i[2]+` ${i[2]}-${i[1]}`)},m(r,o){p(r,e,o)},p(r,o){o&6&&t!==(t="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",t)},i:w,o:w,d(r){r&&E(e)}}}function Do(i){let e,t,r,o,a,n,l,s,c,u;return r=new ie({props:{type:"avatar",size:i[1]}}),n=new ie({props:{type:"title",size:i[1]}}),s=new ie({props:{type:"text-small",size:i[1]}}),{c(){e=_("div"),t=_("div"),ne(r.$$.fragment),o=T(),a=_("div"),ne(n.$$.fragment),l=T(),ne(s.$$.fragment),d(t,"class","profile-avatar"),d(a,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,m){p(f,e,m),b(e,t),re(r,t,null),b(e,o),b(e,a),re(n,a,null),b(a,l),re(s,a,null),u=!0},p(f,m){const y={};m&2&&(y.size=f[1]),r.$set(y);const h={};m&2&&(h.size=f[1]),n.$set(h);const v={};m&2&&(v.size=f[1]),s.$set(v),(!u||m&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(V(r.$$.fragment,f),V(n.$$.fragment,f),V(s.$$.fragment,f),u=!0)},o(f){X(r.$$.fragment,f),X(n.$$.fragment,f),X(s.$$.fragment,f),u=!1},d(f){f&&E(e),oe(r),oe(n),oe(s)}}}function Bo(i){let e,t,r,o,a,n,l,s,c,u,f,m,y;return t=new ie({props:{type:"image",size:i[1]}}),a=new ie({props:{type:"header",size:i[1]}}),l=new ie({props:{type:"text",size:i[1]}}),c=new ie({props:{type:"text",size:i[1]}}),f=new ie({props:{type:"text",size:i[1]}}),{c(){e=_("div"),ne(t.$$.fragment),r=T(),o=_("div"),ne(a.$$.fragment),n=T(),ne(l.$$.fragment),s=T(),ne(c.$$.fragment),u=T(),ne(f.$$.fragment),d(o,"class","card-content"),d(e,"class",m="card card-"+i[1]),W(e,"--width",i[0]+"px")},m(h,v){p(h,e,v),re(t,e,null),b(e,r),b(e,o),re(a,o,null),b(o,n),re(l,o,null),b(o,s),re(c,o,null),b(o,u),re(f,o,null),y=!0},p(h,v){const z={};v&2&&(z.size=h[1]),t.$set(z);const k={};v&2&&(k.size=h[1]),a.$set(k);const A={};v&2&&(A.size=h[1]),l.$set(A);const x={};v&2&&(x.size=h[1]),c.$set(x);const M={};v&2&&(M.size=h[1]),f.$set(M),(!y||v&2&&m!==(m="card card-"+h[1]))&&d(e,"class",m),(!y||v&1)&&W(e,"--width",h[0]+"px")},i(h){y||(V(t.$$.fragment,h),V(a.$$.fragment,h),V(l.$$.fragment,h),V(c.$$.fragment,h),V(f.$$.fragment,h),y=!0)},o(h){X(t.$$.fragment,h),X(a.$$.fragment,h),X(l.$$.fragment,h),X(c.$$.fragment,h),X(f.$$.fragment,h),y=!1},d(h){h&&E(e),oe(t),oe(a),oe(l),oe(c),oe(f)}}}function So(i){let e,t,r,o;const a=[Bo,Do,Io],n=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(i),t=n[e]=a[e](i),{c(){t.c(),r=Q(),this.c=w},m(s,c){n[e].m(s,c),p(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?n[e].p(s,c):(ke(),X(n[u],1,1,()=>{n[u]=null}),xe(),t=n[e],t?t.p(s,c):(t=n[e]=a[e](s),t.c()),V(t,1),t.m(r.parentNode,r))},i(s){o||(V(t),o=!0)},o(s){X(t),o=!1},d(s){n[e].d(s),s&&E(r)}}}function No(i,e,t){let{width:r=320}=e,{size:o=1}=e,{type:a}=e;return i.$$set=n=>{"width"in n&&t(0,r=n.width),"size"in n&&t(1,o=n.size),"type"in n&&t(2,a=n.type)},[r,o,a]}class ie extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},No,So,B,{width:0,size:1,type:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-skeleton",ie);function Bi(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((o,a)=>Ze(i[a],o));return o=>r.map(a=>a(o))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Bi(i)&&Bi(e)){i=i.getTime(),e=e.getTime();const a=e-i;return n=>new Date(i+n*a)}const r=Object.keys(e),o={};return r.forEach(a=>{o[a]=Ze(i[a],e[a])}),a=>{const n={};return r.forEach(l=>{n[l]=o[l](a)}),n}}if(t==="number"){const r=e-i;return o=>i+o*r}throw new Error(`Cannot interpolate ${t} values`)}function jo(i,e={}){const t=dt(i);let r,o=i;function a(n,l){if(i==null)return t.set(i=n),Promise.resolve();o=n;let s=r,c=!1,{delay:u=0,duration:f=400,easing:m=ve,interpolate:y=Ze}=Xe(Xe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=o),Promise.resolve();const h=Ce()+u;let v;return r=Ae(z=>{if(z<h)return!0;c||(v=y(i,n),typeof f=="function"&&(f=f(i,n)),c=!0),s&&(s.abort(),s=null);const k=z-h;return k>f?(t.set(i=n),!1):(t.set(i=v(m(k/f))),!0)}),r.promise}return{set:a,update:(n,l)=>a(n(o,i),l),subscribe:t.subscribe}}function Si(i){let e,t,r,o,a,n,l,s,c;return{c(){e=le("svg"),t=le("circle"),a=le("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",o=i[3]-i[4]/2),d(a,"d",n=i[9](i[7])),d(a,"stroke-width",i[4]),d(a,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(a,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){p(u,e,f),b(e,t),b(e,a)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(t,"r",o),f&128&&n!==(n=u[9](u[7]))&&d(a,"d",n),f&16&&d(a,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(a,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&E(e)}}}function Po(i){let e,t=i[6]&&Si(i);return{c(){t&&t.c(),e=Q(),this.c=w},m(r,o){t&&t.m(r,o),p(r,e,o)},p(r,[o]){r[6]?t?t.p(r,o):(t=Si(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:w,o:w,d(r){t&&t.d(r),r&&E(e)}}}function Oo(i,e,t){let r,o,a,n,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:m="0"}=e,{testid:y=""}=e;const h=jo(0,{duration:500,easing:ho});Xi(i,h,k=>t(7,s=k));function v(k){const A=a+n*Math.cos(k),x=a+n*Math.sin(k);return A+" "+x}function z(k){switch(f){case"progress":{const A=v(-Math.PI/2),x=v(-Math.PI/2+2*Math.PI*(k/100)),M=k%100<50?0:1;return`M ${A} A ${n} ${n} 0 ${M} 1 ${x}`}case"infinite":{const A=v(Math.PI*1.5),x=v(0);return`M ${A} A ${n} ${n} 0 1 0 ${x}`}}}return i.$$set=k=>{"size"in k&&t(10,c=k.size),"invert"in k&&t(0,u=k.invert),"type"in k&&t(1,f=k.type),"progress"in k&&t(11,m=k.progress),"testid"in k&&t(2,y=k.testid)},i.$$.update=()=>{i.$$.dirty&2048&&h.set(parseFloat(m)),i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,a=r/2),i.$$.dirty&24&&t(12,n=a-o/2),i.$$.dirty&6146&&t(6,l=f==="infinite"?n:n&&m)},[u,f,y,a,o,r,l,s,h,z,c,m,n]}class Ni extends S{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Oo,Po,B,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","type","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",Ni);function ji(i){let e;function t(a,n){if(a[6]>0)return Wo;if(a[1].length>0)return Fo}let r=t(i),o=r&&r(i);return{c(){o&&o.c(),e=Q()},m(a,n){o&&o.m(a,n),p(a,e,n)},p(a,n){r===(r=t(a))&&o?o.p(a,n):(o&&o.d(1),o=r&&r(a),o&&(o.c(),o.m(e.parentNode,e)))},d(a){o&&o.d(a),a&&E(e)}}}function Fo(i){let e,t=i[1].length+"",r;return{c(){e=_("div"),r=P(t),d(e,"class","counter")},m(o,a){p(o,e,a),b(e,r)},p(o,a){a&2&&t!==(t=o[1].length+"")&&F(r,t)},d(o){o&&E(e)}}}function Wo(i){let e,t=i[1].length+"",r,o=`/${i[6]}`,a;return{c(){e=_("div"),r=P(t),a=P(o),d(e,"class","counter"),H(e,"counter-error",i[1].length>i[6])},m(n,l){p(n,e,l),b(e,r),b(e,a)},p(n,l){l&2&&t!==(t=n[1].length+"")&&F(r,t),l&64&&o!==(o=`/${n[6]}`)&&F(a,o),l&66&&H(e,"counter-error",n[1].length>n[6])},d(n){n&&E(e)}}}function qo(i){let e,t,r,o,a,n,l=i[8]&&ji(i);return{c(){e=_("div"),t=_("textarea"),r=T(),l&&l.c(),this.c=w,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"class","goa-textarea"),t.disabled=i[7],t.readOnly=i[9],d(t,"data-testid",i[4]),H(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
45
46
|
--width: ${i[5]};
|
|
46
|
-
`),
|
|
47
|
-
--width: ${
|
|
48
|
-
`)&&d(e,"style",
|
|
47
|
+
`)},m(s,c){p(s,e,c),b(e,t),b(e,r),l&&l.m(e,null),a||(n=Y(t,"keyup",i[11]),a=!0)},p(s,[c]){c&1&&d(t,"name",s[0]),c&4&&d(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&d(t,"rows",s[3]),c&128&&(t.disabled=s[7]),c&512&&(t.readOnly=s[9]),c&16&&d(t,"data-testid",s[4]),c&1024&&H(t,"error",s[10]),s[8]?l?l.p(s,c):(l=ji(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&32&&o!==(o=`
|
|
48
|
+
--width: ${s[5]};
|
|
49
|
+
`)&&d(e,"style",o)},i:w,o:w,d(s){s&&E(e),l&&l.d(),a=!1,n()}}}function Ko(i,e,t){let r,o,a,n,{name:l}=e,{value:s=""}=e,{placeholder:c=""}=e,{rows:u=3}=e,{testid:f=""}=e,{width:m="60ch"}=e,{error:y="false"}=e,{readonly:h="false"}=e,{disabled:v="false"}=e,{showcounter:z="false"}=e,{maxcharcount:k=0}=e;function A(x){const L=x.target.value;o||(x.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:x,name:l,value:L}})),x.stopPropagation())}return i.$$set=x=>{"name"in x&&t(0,l=x.name),"value"in x&&t(1,s=x.value),"placeholder"in x&&t(2,c=x.placeholder),"rows"in x&&t(3,u=x.rows),"testid"in x&&t(4,f=x.testid),"width"in x&&t(5,m=x.width),"error"in x&&t(12,y=x.error),"readonly"in x&&t(13,h=x.readonly),"disabled"in x&&t(14,v=x.disabled),"showcounter"in x&&t(15,z=x.showcounter),"maxcharcount"in x&&t(6,k=x.maxcharcount)},i.$$.update=()=>{i.$$.dirty&4096&&t(10,r=q(y)),i.$$.dirty&16384&&t(7,o=q(v)),i.$$.dirty&8192&&t(9,a=q(h)),i.$$.dirty&32768&&t(8,n=q(z))},[l,s,c,u,f,m,k,o,n,a,r,A,y,h,v,z]}class Pi extends S{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-status-emergency-dark)
|
|
50
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>`,j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ko,qo,B,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:12,readonly:13,disabled:14,showcounter:15,maxcharcount:6},null),e&&(e.target&&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","showcounter","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[13]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get showcounter(){return this.$$.ctx[15]}set showcounter(e){this.$$set({showcounter:e}),g()}get maxcharcount(){return this.$$.ctx[6]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Pi);function Oi(i){let e,t;return{c(){e=_("div"),t=P(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){p(r,e,o),b(e,t)},p(r,o){o&1&&F(t,r[0])},d(r){r&&E(e)}}}function Fi(i){let e;return{c(){e=_("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){p(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&E(e)}}}function Uo(i){let e,t,r,o,a=i[0]&&Oi(i),n=i[1]&&Fi(i);return{c(){e=_("goa-container"),a&&a.c(),t=T(),n&&n.c(),r=T(),o=_("div"),this.c=w,d(o,"class","content"),d(o,"slot",""),C(e,"variant",i[3]),C(e,"headingsize",i[4])},m(l,s){p(l,e,s),a&&a.m(e,null),b(e,t),n&&n.m(e,null),b(e,r),b(e,o),o.innerHTML=i[2]},p(l,[s]){l[0]?a?a.p(l,s):(a=Oi(l),a.c(),a.m(e,t)):a&&(a.d(1),a=null),l[1]?n?n.p(l,s):(n=Fi(l),n.c(),n.m(e,r)):n&&(n.d(1),n=null),s&4&&(o.innerHTML=l[2]),s&8&&C(e,"variant",l[3]),s&16&&C(e,"headingsize",l[4])},i:w,o:w,d(l){l&&E(e),a&&a.d(),n&&n.d()}}}function Vo(i,e,t){let{title:r}=e,{actions:o=""}=e,{content:a}=e,{variant:n="default"}=e,{headingsize:l="large"}=e;return i.$$set=s=>{"title"in s&&t(0,r=s.title),"actions"in s&&t(1,o=s.actions),"content"in s&&t(2,a=s.content),"variant"in s&&t(3,n=s.variant),"headingsize"in s&&t(4,l=s.headingsize)},[r,o,a,n,l]}class Wi extends S{constructor(e){super();j(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Vo,Uo,B,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),g()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),g()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),g()}}customElements.define("test-container",Wi),D.ContainerWrapper=Wi,D.GoAAppFooter=zt,D.GoAAppHeader=ct,D.GoABadge=Mt,D.GoAButton=Tt,D.GoAButtonGroup=Ht,D.GoACallout=Gt,D.GoACard=It,D.GoACardActions=Dt,D.GoACardContent=Bt,D.GoACardGroup=St,D.GoACardImage=Nt,D.GoACheckbox=jt,D.GoAChip=Ft,D.GoACircularProgress=xi,D.GoAContainer=Wt,D.GoADropdown=Zt,D.GoADropdownItem=Xt,D.GoAFlexRow=Yt,D.GoAFormItem=ti,D.GoAHeroBanner=ii,D.GoAIcon=oi,D.GoAIconButton=ni,D.GoAInput=di,D.GoAMetaLink=Et,D.GoAMicrositeHeader=Di,D.GoAModal=bi,D.GoANavigationLink=Ct,D.GoANotification=_i,D.GoAPageBlock=st,D.GoAPageLayout=yi,D.GoARadioGroup=Ai,D.GoARadioItem=Mi,D.GoAScrollable=Li,D.GoASkeleton=ie,D.GoASpinner=Ni,D.GoATextArea=Pi,Object.defineProperty(D,"__esModule",{value:!0}),D[Symbol.toStringTag]="Module"});
|