@abgov/web-components 1.0.0-alpha.143 → 1.0.0-alpha.145
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/index.css +1 -0
- package/package.json +1 -1
- package/web-components.es.js +177 -150
- package/web-components.umd.js +54 -57
package/web-components.umd.js
CHANGED
|
@@ -1,139 +1,136 @@
|
|
|
1
|
-
(
|
|
2
|
-
`;for(let
|
|
3
|
-
|
|
4
|
-
}`,f=`__svelte_${Ti(d)}_${a}`,m=dt(i),{stylesheet:y,rules:w}=Pe.get(m)||Mi(m,i);w[f]||(w[f]=!0,y.insertRule(`@keyframes ${f} ${d}`,y.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,qe+=1,f}function Ve(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?l=>l.indexOf(e)<0:l=>l.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),qe-=n,qe||Li())}function Li(){$e(()=>{qe||(Pe.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&M(e)}),Pe.clear())})}let Le;function Ae(i){Le=i}function ut(){if(!Le)throw new Error("Function called outside component initialization");return Le}function Z(i){ut().$$.on_mount.push(i)}function Ai(i){ut().$$.on_destroy.push(i)}const Re=[],ne=[],Ge=[],ft=[],ht=Promise.resolve();let et=!1;function mt(){et||(et=!0,ht.then(h))}function Ee(){return mt(),ht}function oe(i){Ge.push(i)}const tt=new Set;let Ue=0;function h(){const i=Le;do{for(;Ue<Re.length;){const e=Re[Ue];Ue++,Ae(e),Ri(e.$$)}for(Ae(null),Re.length=0,Ue=0;ne.length;)ne.pop()();for(let e=0;e<Ge.length;e+=1){const t=Ge[e];tt.has(t)||(tt.add(t),t())}Ge.length=0}while(Re.length);for(;ft.length;)ft.pop()();et=!1,tt.clear(),Ae(i)}function Ri(i){if(i.fragment!==null){i.update(),le(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(oe)}}let He;function it(){return He||(He=Promise.resolve(),He.then(()=>{He=null})),He}function we(i,e,t){i.dispatchEvent(zi(`${e?"intro":"outro"}${t}`))}const We=new Set;let se;function xe(){se={r:0,c:[],p:se}}function Ce(){se.r||le(se.c),se=se.p}function W(i,e){i&&i.i&&(We.delete(i),i.i(e))}function J(i,e,t,r){if(i&&i.o){if(We.has(i))return;We.add(i),se.c.push(()=>{We.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const rt={duration:0};function gt(i,e,t){let r=e(i,t),n=!1,l,o,a=0;function s(){l&&Ve(i,l)}function c(){const{delay:f=0,duration:m=300,easing:y=Me,tick:w=E,css:_}=r||rt;_&&(l=Fe(i,0,1,m,f,y,_,a++)),w(0,1);const k=Oe()+f,g=k+m;o&&o.abort(),n=!0,oe(()=>we(i,!0,"start")),o=je(x=>{if(n){if(x>=g)return w(1,0),we(i,!0,"end"),s(),n=!1;if(x>=k){const H=y((x-k)/m);w(H,1-H)}}return n})}let d=!1;return{start(){d||(d=!0,Ve(i),ue(r)?(r=r(),it().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function bt(i,e,t){let r=e(i,t),n=!0,l;const o=se;o.r+=1;function a(){const{delay:s=0,duration:c=300,easing:d=Me,tick:f=E,css:m}=r||rt;m&&(l=Fe(i,1,0,c,s,d,m));const y=Oe()+s,w=y+c;oe(()=>we(i,!1,"start")),je(_=>{if(n){if(_>=w)return f(0,1),we(i,!1,"end"),--o.r||le(o.c),!1;if(_>=y){const k=d((_-y)/c);f(1-k,k)}}return n})}return ue(r)?it().then(()=>{r=r(),a()}):a(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&Ve(i,l),n=!1)}}}function Ke(i,e,t,r){let n=e(i,t),l=r?0:1,o=null,a=null,s=null;function c(){s&&Ve(i,s)}function d(m,y){const w=m.b-l;return y*=Math.abs(w),{a:l,b:m.b,d:w,duration:y,start:m.start,end:m.start+y,group:m.group}}function f(m){const{delay:y=0,duration:w=300,easing:_=Me,tick:k=E,css:g}=n||rt,x={start:Oe()+y,b:m};m||(x.group=se,se.r+=1),o||a?a=x:(g&&(c(),s=Fe(i,l,m,w,y,_,g)),m&&k(0,1),o=d(x,w),oe(()=>we(i,m,"start")),je(H=>{if(a&&H>a.start&&(o=d(a,w),a=null,we(i,o.b,"start"),g&&(c(),s=Fe(i,l,o.b,o.duration,0,_,n.css))),o){if(H>=o.end)k(l=o.b,1-l),we(i,o.b,"end"),a||(o.b?c():--o.group.r||le(o.group.c)),o=null;else if(H>=o.start){const A=H-o.start;l=o.a+o.d*_(A/o.duration),k(l,1-l)}}return!!(o||a)}))}return{run(m){ue(n)?it().then(()=>{n=n(),f(m)}):f(m)},end(){c(),o=a=null}}}function vt(i,e){i.d(1),e.delete(i.key)}function wt(i,e,t,r,n,l,o,a,s,c,d,f){let m=i.length,y=l.length,w=m;const _={};for(;w--;)_[i[w].key]=w;const k=[],g=new Map,x=new Map;for(w=y;w--;){const C=f(n,l,w),O=t(C);let R=o.get(O);R?r&&R.p(C,e):(R=c(O,C),R.c()),g.set(O,k[w]=R),O in _&&x.set(O,Math.abs(w-_[O]))}const H=new Set,A=new Set;function T(C){W(C,1),C.m(a,d),o.set(C.key,C),d=C.first,y--}for(;m&&y;){const C=k[y-1],O=i[m-1],R=C.key,L=O.key;C===O?(d=C.first,m--,y--):g.has(L)?!o.has(R)||H.has(R)?T(C):A.has(L)?m--:x.get(R)>x.get(L)?(A.add(R),T(C)):(H.add(L),m--):(s(O,o),m--)}for(;m--;){const C=i[m];g.has(C.key)||s(C,o)}for(;y;)T(k[y-1]);return k}function _e(i){i&&i.c()}function fe(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||oe(()=>{const o=i.$$.on_mount.map(Qe).filter(ue);i.$$.on_destroy?i.$$.on_destroy.push(...o):le(o),i.$$.on_mount=[]}),l.forEach(oe)}function he(i,e){const t=i.$$;t.fragment!==null&&(le(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Hi(i,e){i.$$.dirty[0]===-1&&(Re.push(i),mt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function F(i,e,t,r,n,l,o,a=[-1]){const s=Le;Ae(i);const c=i.$$={fragment:null,ctx:[],props:l,update:E,not_equal:n,bound:at(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:at(),dirty:a,skip_bound:!1,root:e.target||s.$$.root};o&&o(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,m,...y)=>{const w=y.length?y[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),d&&Hi(i,f)),m}):[],c.update(),d=!0,le(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Ci(e.target);c.fragment&&c.fragment.l(f),f.forEach(M)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),fe(i,e.target,e.anchor,e.customElement),h()}Ae(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Qe).filter(ue);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){le(this.$$.on_disconnect)}$destroy(){he(this,1),this.$destroy=E}$on(i,e){if(!ue(e))return 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&&!yi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Si(i){let e,t,r,n,l,o,a,s,c;return{c(){e=v("div"),t=v("img"),n=S(),l=v("img"),a=S(),s=v("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ne(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ne(l.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"src",o),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),b(e,t),b(e,n),b(e,l),b(e,a),b(e,s),b(s,c)},p(d,f){f&1&&K(c,d[0])},d(d){d&&M(e)}}}function Bi(i){let e,t,r,n,l,o,a,s,c;return{c(){e=v("a"),t=v("img"),n=S(),l=v("img"),a=S(),s=v("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Ne(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(l,"alt","GoA Logo"),u(l,"class","image-desktop"),Ne(l.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(l,"src",o),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),b(e,t),b(e,n),b(e,l),b(e,a),b(e,s),b(s,c)},p(d,f){f&1&&K(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&M(e)}}}function Di(i){let e,t,r,n,l;function o(c,d){return c[1]?Bi:Si}let a=o(i),s=a(i);return{c(){e=v("div"),t=v("div"),s.c(),r=S(),n=v("div"),n.innerHTML="<slot></slot>",this.c=E,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),b(e,t),s.m(t,null),b(t,r),b(t,n)},p(c,[d]){a===(a=o(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",l)},i:E,o:E,d(c){c&&M(e),s.d()}}}function Ni(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:o=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,n=a.url),"testid"in a&&t(2,l=a.testid),"maxcontentwidth"in a&&t(3,o=a.maxcontentwidth)},[r,n,l,o]}class Oi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;background-color:var(--color-white);border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ni,Di,I,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-header",Oi);function V(i,e,t,r){return[i&&`margin-top:var(--goa-spacing-${i});`,e&&`margin-right:var(--goa-spacing-${e});`,t&&`margin-bottom:var(--goa-spacing-${t});`,r&&`margin-left:var(--goa-spacing-${r});`].join(" ")}function _t(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(o=>`${o[0]}: ${o[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function U(i){return i==="false"?!1:i===""?!0:!!i}function ji(i){return i?"true":"false"}function Ii(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function X(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Pi(i){let e;return{c(){e=v("div"),Q(e,"height","1.2rem"),Q(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:E,d(t){t&&M(e)}}}function qi(i){let e;return{c(){e=v("goa-icon"),z(e,"type",i[8]),z(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&z(e,"type",t[8])},d(t){t&&M(e)}}}function yt(i){let e,t;return{c(){e=v("div"),t=G(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&4&&K(t,r[2])},d(r){r&&M(e)}}}function Fi(i){let e,t,r,n;function l(c,d){return c[7]?qi:Pi}let o=l(i),a=o(i),s=i[2]&&yt(i);return{c(){e=v("div"),a.c(),t=S(),s&&s.c(),this.c=E,u(e,"style",r=V(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),j(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),a.m(e,null),b(e,t),s&&s.m(e,null)},p(c,[d]){o===(o=l(c))&&a?a.p(c,d):(a.d(1),a=o(c),a&&(a.c(),a.m(e,t))),c[2]?s?s.p(c,d):(s=yt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=V(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&j(e,"icon-only",c[7]&&!c[2])},i:E,o:E,d(c){c&&M(e),a.d(),s&&s.d()}}}function Vi(i,e,t){let r,n;const[l,o]=X("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:a}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:m=null}=e,{mb:y=null}=e,{ml:w=null}=e;return Z(()=>{o(a),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,a=_.type),"testid"in _&&t(1,s=_.testid),"content"in _&&t(2,c=_.content),"icon"in _&&t(9,d=_.icon),"mt"in _&&t(3,f=_.mt),"mr"in _&&t(4,m=_.mr),"mb"in _&&t(5,y=_.mb),"ml"in _&&t(6,w=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=U(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[a])},[a,s,c,f,m,y,w,r,n,d]}class Gi extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(
|
|
5
|
-
--font-valign-fix
|
|
6
|
-
)}.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-important{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)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Vi,Fi,I,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-badge",Gi);function Ui(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"class","block"),u(e,"style",r=`
|
|
1
|
+
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://p.typekit.net/p.css?s=1&k=nur5yta&ht=tk&f=26036.26037.26044.26046.26047&a=14638192&app=typekit&e=css";@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:acumin-pro-semi-condensed,sans-serif;font-weight:400;font-size:var(--goa-font-size-4);color:var(--goa-color-text-default)}body{margin:0;scroll-behavior:smooth;line-height:var(--goa-line-height-2)}*,*:before,*:after{box-sizing:border-box}p{margin:0;margin-bottom:1rem}hr{border-width:0;border-top:1px solid #ccc;height:0;padding:0;margin:2rem 0}ul,ol{padding-left:0;padding-left:1rem}li>ul,li>ol,li>ul,li>ol{padding-left:0;margin-top:0}dl{margin-top:0}dd{margin-left:.5rem}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}::placeholder{color:#999;opacity:1}:-ms-input-placeholder{color:#999}::-ms-input-placeholder{color:#999}h1{font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}h2{font-size:var(--goa-font-size-9);line-height:var(--goa-line-height-6);font-weight:var(--goa-font-weight-regular)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4);font-weight:var(--goa-font-weight-regular)}h4,h5,h6{font-size:var(--goa-font-size-4);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-bold)}h3+h1{margin-top:-1rem}p{margin-bottom:1rem;font-size:var(--goa-font-size-4)}em{font-size:var(--goa-font-size-1);line-height:var(--goa-line-height-1);color:var(--goa-color-greyscale-200)}small{font-size:var(--goa-font-size-1);font-style:normal;color:var(--goa-color-greyscale-200)}goa-two-column-layout h1:first-of-type,goa-two-column-layout h2:first-of-type,goa-two-column-layout h3:first-of-type,goa-container h1:first-of-type,goa-container h2:first-of-type,goa-container h3:first-of-type{margin-top:0}goa-two-column-layout [slot=nav] a{display:block;padding:.5rem 0}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/l?subset_id=1&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/d?subset_id=1&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/a?subset_id=1&fvd=n4&v=3) format("opentype");font-style:normal;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/l?subset_id=1&fvd=i4&v=3) format("woff2"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/d?subset_id=1&fvd=i4&v=3) format("woff"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/a?subset_id=1&fvd=i4&v=3) format("opentype");font-style:italic;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/l?subset_id=1&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/d?subset_id=1&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/a?subset_id=1&fvd=n7&v=3) format("opentype");font-style:normal;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/l?subset_id=1&fvd=i7&v=3) format("woff2"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/d?subset_id=1&fvd=i7&v=3) format("woff"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/a?subset_id=1&fvd=i7&v=3) format("opentype");font-style:italic;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/l?subset_id=1&fvd=n6&v=3) format("woff2"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/d?subset_id=1&fvd=n6&v=3) format("woff"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/a?subset_id=1&fvd=n6&v=3) format("opentype");font-style:normal;font-weight:600}@font-face{font-family:roboto-mono;src:url(https://fonts.gstatic.com/s/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format("woff2");font-style:normal;font-weight:400}:root{--font-valign-fix: .1rem;--shadow-0: 0 0 rgba(0, 0, 0, 0);--shadow-1: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24);--shadow-2: 0 3px 6px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .12);--shadow-3: 0 10px 20px rgba(0, 0, 0, .15), 0 3px 6px rgba(0, 0, 0, .1);--shadow-4: 0 15px 25px rgba(0, 0, 0, .15), 0 5px 10px rgba(0, 0, 0, .05);--shadow-5: 0 20px 40px rgba(0, 0, 0, .2)}:root{--goa-color-brand-default: #0081a2;--goa-color-brand-dark: #005072;--goa-color-brand-light: #c8eefa;--goa-color-interactive-default: #0070c4;--goa-color-interactive-hover: #004f84;--goa-color-interactive-error: #ec040b;--goa-color-interactive-focus: #feba35;--goa-color-interactive-disabled: #80b7e1;--goa-color-text-default: #333333;--goa-color-text-secondary: #666666;--goa-color-text-light: #ffffff;--goa-color-text-disabled: #666666;--goa-color-info-default: #005daa;--goa-color-info-light: #b2d4ed;--goa-color-info-dark: #00347a;--goa-color-info-background: #eff8ff;--goa-color-warning-default: #feba35;--goa-color-warning-light: #fcefd0;--goa-color-warning-dark: #c68a00;--goa-color-warning-background: #fff6e5;--goa-color-emergency-default: #ec040b;--goa-color-emergency-light: #ffcecf;--goa-color-emergency-dark: #b00000;--goa-color-emergency-background: #fff1f2;--goa-color-success-default: #00853f;--goa-color-success-light: #c6e0d0;--goa-color-success-dark: #005715;--goa-color-success-background: #eef9f3;--goa-color-greyscale-100: #f1f1f1;--goa-color-greyscale-200: #dcdcdc;--goa-color-greyscale-400: #adadad;--goa-color-greyscale-500: #949494;--goa-color-greyscale-600: #858585;--goa-color-greyscale-700: #666666;--goa-color-greyscale-black: #333333;--goa-color-greyscale-white: #ffffff;--goa-font-weight-regular: 400;--goa-font-weight-medium: 500;--goa-font-weight-bold: 700;--goa-font-size-1: .75rem;--goa-font-size-2: .875rem;--goa-font-size-3: 1rem;--goa-font-size-4: 1.125rem;--goa-font-size-5: 1.25rem;--goa-font-size-6: 1.375rem;--goa-font-size-7: 1.5rem;--goa-font-size-8: 2rem;--goa-font-size-9: 2.25rem;--goa-font-size-10: 3rem;--goa-space-none: 0rem;--goa-space-3xs: .125rem;--goa-space-2xs: .25rem;--goa-space-xs: .5rem;--goa-space-s: .75rem;--goa-space-m: 1rem;--goa-space-l: 1.5rem;--goa-space-xl: 2rem;--goa-space-2xl: 3rem;--goa-space-3xl: 4rem;--goa-space-4xl: 8rem;--goa-border-radius-none: 0rem;--goa-border-radius-m: .25rem;--goa-opacity-background-modal: 50%;--goa-opacity-background-loading: 90%;--goa-line-height-1: 1.25rem;--goa-line-height-2: 1.5rem;--goa-line-height-3: 1.75rem;--goa-line-height-4: 2rem;--goa-line-height-5: 2.5rem;--goa-line-height-6: 2.75rem;--goa-line-height-7: 3.5rem;--goa-line-height-05: 1.125rem;--goa-font-family-sans: acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-font-family-number: roboto-mono, monospace;--goa-typography-heading-xs: 700 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-s: 700 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-m: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-l: 400 2.25rem/2.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-xl: 700 3rem/3.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-xs: 400 .875rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-s: 400 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-m: 400 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-l: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-button-default: 400 1.125rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-number-m: 500 1.125rem/1.75rem roboto-mono, monospace;--goa-border-width-s: 1px;--goa-border-width-m: 2px;--goa-border-width-l: 3px;--goa-letter-spacing-button: .0125rem;--goa-icon-size-s: 1rem;--goa-icon-size-m: 1.25rem;--goa-icon-size-l: 1.5rem;--goa-shadow-modal: 6px 6px 6px 0px rgba(0,0,0,.16)}
|
|
2
|
+
`;document.head.appendChild(__vite_style__);(function(x){typeof define=="function"&&define.amd?define(x):x()})(function(){"use strict";function x(){}const Te=i=>i;function ot(i,e){for(const t in e)i[t]=e[t];return i}function $e(i){return i()}function lt(){return Object.create(null)}function oe(i){i.forEach($e)}function ge(i){return typeof i=="function"}function I(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Ne;function Oe(i,e){return Ne||(Ne=document.createElement("a")),Ne.href=e,i===Ne.href}function _i(i){return Object.keys(i).length===0}function ki(i,...e){if(i==null)return x;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function pi(i,e,t){i.$$.on_destroy.push(ki(e,t))}function st(i){return i&&ge(i.destroy)?i.destroy:x}const ct=typeof window!="undefined";let je=ct?()=>window.performance.now():()=>Date.now(),et=ct?i=>requestAnimationFrame(i):x;const ke=new Set;function dt(i){ke.forEach(e=>{e.c(i)||(ke.delete(e),e.f())}),ke.size!==0&&et(dt)}function Ie(i){let e;return ke.size===0&&et(dt),{promise:new Promise(t=>{ke.add(e={c:i,f:t})}),abort(){ke.delete(e)}}}function b(i,e){i.appendChild(e)}function ut(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function xi(i){const e=v("style");return Ei(ut(i),e),e.sheet}function Ei(i,e){return b(i.head||i,e),e.sheet}function p(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode.removeChild(i)}function Pe(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function v(i){return document.createElement(i)}function ve(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function G(i){return document.createTextNode(i)}function B(){return G(" ")}function ye(){return G("")}function J(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function C(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function zi(i){return Array.from(i.childNodes)}function K(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function $(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function j(i,e,t){i.classList[t?"add":"remove"](e)}function Ci(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function q(i){const e={};for(const t of i)e[t.name]=t.value;return e}const qe=new Map;let Fe=0;function Mi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ti(i,e){const t={stylesheet:xi(e),rules:{}};return qe.set(i,t),t}function Ve(i,e,t,r,n,a,l,o=0){const s=16.666/r;let c=`{
|
|
3
|
+
`;for(let k=0;k<=1;k+=s){const m=e+(t-e)*a(k);c+=k*100+`%{${l(m,1-m)}}
|
|
4
|
+
`}const d=c+`100% {${l(t,1-t)}}
|
|
5
|
+
}`,f=`__svelte_${Mi(d)}_${o}`,h=ut(i),{stylesheet:_,rules:y}=qe.get(h)||Ti(h,i);y[f]||(y[f]=!0,_.insertRule(`@keyframes ${f} ${d}`,_.cssRules.length));const w=i.style.animation||"";return i.style.animation=`${w?`${w}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Fe+=1,f}function Ge(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?a=>a.indexOf(e)<0:a=>a.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),Fe-=n,Fe||Li())}function Li(){et(()=>{Fe||(qe.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&T(e)}),qe.clear())})}let Le;function Re(i){Le=i}function ft(){if(!Le)throw new Error("Function called outside component initialization");return Le}function X(i){ft().$$.on_mount.push(i)}function Ri(i){ft().$$.on_destroy.push(i)}const Ae=[],ne=[],Ue=[],gt=[],ht=Promise.resolve();let tt=!1;function mt(){tt||(tt=!0,ht.then(g))}function pe(){return mt(),ht}function ue(i){Ue.push(i)}const it=new Set;let We=0;function g(){const i=Le;do{for(;We<Ae.length;){const e=Ae[We];We++,Re(e),Ai(e.$$)}for(Re(null),Ae.length=0,We=0;ne.length;)ne.pop()();for(let e=0;e<Ue.length;e+=1){const t=Ue[e];it.has(t)||(it.add(t),t())}Ue.length=0}while(Ae.length);for(;gt.length;)gt.pop()();tt=!1,it.clear(),Re(i)}function Ai(i){if(i.fragment!==null){i.update(),oe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ue)}}let He;function rt(){return He||(He=Promise.resolve(),He.then(()=>{He=null})),He}function we(i,e,t){i.dispatchEvent(Ci(`${e?"intro":"outro"}${t}`))}const Ke=new Set;let fe;function xe(){fe={r:0,c:[],p:fe}}function Ee(){fe.r||oe(fe.c),fe=fe.p}function W(i,e){i&&i.i&&(Ke.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Ke.has(i))return;Ke.add(i),fe.c.push(()=>{Ke.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const nt={duration:0};function bt(i,e,t){let r=e(i,t),n=!1,a,l,o=0;function s(){a&&Ge(i,a)}function c(){const{delay:f=0,duration:h=300,easing:_=Te,tick:y=x,css:w}=r||nt;w&&(a=Ve(i,0,1,h,f,_,w,o++)),y(0,1);const k=je()+f,m=k+h;l&&l.abort(),n=!0,ue(()=>we(i,!0,"start")),l=Ie(E=>{if(n){if(E>=m)return y(1,0),we(i,!0,"end"),s(),n=!1;if(E>=k){const S=_((E-k)/h);y(S,1-S)}}return n})}let d=!1;return{start(){d||(d=!0,Ge(i),ge(r)?(r=r(),rt().then(c)):c())},invalidate(){d=!1},end(){n&&(s(),n=!1)}}}function vt(i,e,t){let r=e(i,t),n=!0,a;const l=fe;l.r+=1;function o(){const{delay:s=0,duration:c=300,easing:d=Te,tick:f=x,css:h}=r||nt;h&&(a=Ve(i,1,0,c,s,d,h));const _=je()+s,y=_+c;ue(()=>we(i,!1,"start")),Ie(w=>{if(n){if(w>=y)return f(0,1),we(i,!1,"end"),--l.r||oe(l.c),!1;if(w>=_){const k=d((w-_)/c);f(1-k,k)}}return n})}return ge(r)?rt().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),n&&(a&&Ge(i,a),n=!1)}}}function Xe(i,e,t,r){let n=e(i,t),a=r?0:1,l=null,o=null,s=null;function c(){s&&Ge(i,s)}function d(h,_){const y=h.b-a;return _*=Math.abs(y),{a,b:h.b,d:y,duration:_,start:h.start,end:h.start+_,group:h.group}}function f(h){const{delay:_=0,duration:y=300,easing:w=Te,tick:k=x,css:m}=n||nt,E={start:je()+_,b:h};h||(E.group=fe,fe.r+=1),l||o?o=E:(m&&(c(),s=Ve(i,a,h,y,_,w,m)),h&&k(0,1),l=d(E,y),ue(()=>we(i,h,"start")),Ie(S=>{if(o&&S>o.start&&(l=d(o,y),o=null,we(i,l.b,"start"),m&&(c(),s=Ve(i,a,l.b,l.duration,0,w,n.css))),l){if(S>=l.end)k(a=l.b,1-a),we(i,l.b,"end"),o||(l.b?c():--l.group.r||oe(l.group.c)),l=null;else if(S>=l.start){const R=S-l.start;a=l.a+l.d*w(R/l.duration),k(a,1-a)}}return!!(l||o)}))}return{run(h){ge(n)?rt().then(()=>{n=n(),f(h)}):f(h)},end(){c(),l=o=null}}}function yt(i,e){i.d(1),e.delete(i.key)}function wt(i,e,t,r,n,a,l,o,s,c,d,f){let h=i.length,_=a.length,y=h;const w={};for(;y--;)w[i[y].key]=y;const k=[],m=new Map,E=new Map;for(y=_;y--;){const z=f(n,a,y),O=t(z);let A=l.get(O);A?r&&A.p(z,e):(A=c(O,z),A.c()),m.set(O,k[y]=A),O in w&&E.set(O,Math.abs(y-w[O]))}const S=new Set,R=new Set;function M(z){W(z,1),z.m(o,d),l.set(z.key,z),d=z.first,_--}for(;h&&_;){const z=k[_-1],O=i[h-1],A=z.key,L=O.key;z===O?(d=z.first,h--,_--):m.has(L)?!l.has(A)||S.has(A)?M(z):R.has(L)?h--:E.get(A)>E.get(L)?(R.add(A),M(z)):(S.add(L),h--):(s(O,l),h--)}for(;h--;){const z=i[h];m.has(z.key)||s(z,l)}for(;_;)M(k[_-1]);return k}function _e(i){i&&i.c()}function he(i,e,t,r){const{fragment:n,after_update:a}=i.$$;n&&n.m(e,t),r||ue(()=>{const l=i.$$.on_mount.map($e).filter(ge);i.$$.on_destroy?i.$$.on_destroy.push(...l):oe(l),i.$$.on_mount=[]}),a.forEach(ue)}function me(i,e){const t=i.$$;t.fragment!==null&&(oe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Hi(i,e){i.$$.dirty[0]===-1&&(Ae.push(i),mt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function F(i,e,t,r,n,a,l,o=[-1]){const s=Le;Re(i);const c=i.$$={fragment:null,ctx:[],props:a,update:x,not_equal:n,bound:lt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:lt(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};l&&l(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,..._)=>{const y=_.length?_[0]:h;return c.ctx&&n(c.ctx[f],c.ctx[f]=y)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](y),d&&Hi(i,f)),h}):[],c.update(),d=!0,oe(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=zi(e.target);c.fragment&&c.fragment.l(f),f.forEach(T)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),he(i,e.target,e.anchor,e.customElement),g()}Re(s)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map($e).filter(ge);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){oe(this.$$.on_disconnect)}$destroy(){me(this,1),this.$destroy=x}$on(i,e){if(!ge(e))return x;const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!_i(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var Ca="",Ma="",Ta="",La="";function Si(i){let e,t,r,n,a,l,o,s,c;return{c(){e=v("div"),t=v("img"),n=B(),a=v("img"),o=B(),s=v("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Oe(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(a,"alt","GoA Logo"),u(a,"class","image-desktop"),Oe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(a,"src",l),u(s,"class","title"),u(e,"class","app-link")},m(d,f){p(d,e,f),b(e,t),b(e,n),b(e,a),b(e,o),b(e,s),b(s,c)},p(d,f){f&1&&K(c,d[0])},d(d){d&&T(e)}}}function Bi(i){let e,t,r,n,a,l,o,s,c;return{c(){e=v("a"),t=v("img"),n=B(),a=v("img"),o=B(),s=v("span"),c=G(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),Oe(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(a,"alt","GoA Logo"),u(a,"class","image-desktop"),Oe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||u(a,"src",l),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){p(d,e,f),b(e,t),b(e,n),b(e,a),b(e,o),b(e,s),b(s,c)},p(d,f){f&1&&K(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&T(e)}}}function Di(i){let e,t,r,n,a;function l(c,d){return c[1]?Bi:Si}let o=l(i),s=o(i);return{c(){e=v("div"),t=v("div"),s.c(),r=B(),n=v("div"),n.innerHTML="<slot></slot>",this.c=x,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",a=`--max-content-width: ${i[3]||"100%"}`)},m(c,d){p(c,e,d),b(e,t),s.m(t,null),b(t,r),b(t,n)},p(c,[d]){o===(o=l(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),d&4&&u(e,"data-testid",c[2]),d&8&&a!==(a=`--max-content-width: ${c[3]||"100%"}`)&&u(e,"style",a)},i:x,o:x,d(c){c&&T(e),s.d()}}}function Ni(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:a=""}=e,{maxcontentwidth:l=""}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"url"in o&&t(1,n=o.url),"testid"in o&&t(2,a=o.testid),"maxcontentwidth"in o&&t(3,l=o.maxcontentwidth)},[r,n,a,l]}class Oi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ni,Di,I,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",Oi);function V(i,e,t,r){return[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,r&&`margin-left:var(--goa-space-${r});`].join(" ")}function _t(i,e,t,r){const n=document.createElement("style"),a=Object.entries(t).map(l=>`${l[0]}: ${l[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${a}} }`:n.innerHTML=`${e} {${a}}`,i.appendChild(n)}function U(i){return i==="false"?!1:i===""?!0:!!i}function ji(i){return i?"true":"false"}function Ii(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function Z(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Pi(i){let e;return{c(){e=v("div"),$(e,"height","1.2rem"),$(e,"margin-left","-0.25rem")},m(t,r){p(t,e,r)},p:x,d(t){t&&T(e)}}}function qi(i){let e;return{c(){e=v("goa-icon"),C(e,"type",i[8]),C(e,"size","small")},m(t,r){p(t,e,r)},p(t,r){r&256&&C(e,"type",t[8])},d(t){t&&T(e)}}}function kt(i){let e,t;return{c(){e=v("div"),t=G(i[2]),u(e,"class","goa-badge-content")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&4&&K(t,r[2])},d(r){r&&T(e)}}}function Fi(i){let e,t,r,n;function a(c,d){return c[7]?qi:Pi}let l=a(i),o=l(i),s=i[2]&&kt(i);return{c(){e=v("div"),o.c(),t=B(),s&&s.c(),this.c=x,u(e,"style",r=V(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",n="goa-badge badge-"+i[0]),j(e,"icon-only",i[7]&&!i[2])},m(c,d){p(c,e,d),o.m(e,null),b(e,t),s&&s.m(e,null)},p(c,[d]){l===(l=a(c))&&o?o.p(c,d):(o.d(1),o=l(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,d):(s=kt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&120&&r!==(r=V(c[3],c[4],c[5],c[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",c[1]),d&1&&n!==(n="goa-badge badge-"+c[0])&&u(e,"class",n),d&133&&j(e,"icon-only",c[7]&&!c[2])},i:x,o:x,d(c){c&&T(e),o.d(),s&&s.d()}}}function Vi(i,e,t){let r,n;const[a,l]=Z("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:o}=e,{testid:s=""}=e,{content:c=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:_=null}=e,{ml:y=null}=e;return X(()=>{l(o),!r&&!c&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=w=>{"type"in w&&t(0,o=w.type),"testid"in w&&t(1,s=w.testid),"content"in w&&t(2,c=w.content),"icon"in w&&t(9,d=w.icon),"mt"in w&&t(3,f=w.mt),"mr"in w&&t(4,h=w.mr),"mb"in w&&t(5,_=w.mb),"ml"in w&&t(6,y=w.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=U(d)),i.$$.dirty&1&&t(8,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,s,c,f,h,_,y,r,n,d]}class Gi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Vi,Fi,I,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",Gi);function Ui(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=x,u(e,"class","block"),u(e,"style",r=`
|
|
7
6
|
${V(i[3],i[4],i[5],i[6])}
|
|
8
|
-
--gap: var(--goa-
|
|
7
|
+
--gap: var(--goa-space-${i[0]});
|
|
9
8
|
--alignment: ${i[2]};
|
|
10
9
|
--direction: ${i[1]};
|
|
11
|
-
`)},m(n,
|
|
10
|
+
`)},m(n,a){p(n,e,a),b(e,t)},p(n,[a]){a&127&&r!==(r=`
|
|
12
11
|
${V(n[3],n[4],n[5],n[6])}
|
|
13
|
-
--gap: var(--goa-
|
|
12
|
+
--gap: var(--goa-space-${n[0]});
|
|
14
13
|
--alignment: ${n[2]};
|
|
15
14
|
--direction: ${n[1]};
|
|
16
|
-
`)&&u(e,"style",r)},i:
|
|
17
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(
|
|
18
|
-
|
|
19
|
-
)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color: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-color: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-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ji,Yi,I,{type:0,size:1,variant:2,disabled:12,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[12]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button",Qi);function $i(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"data-testid",i[1]),u(e,"style",r=""+(V(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&2&&u(e,"data-testid",n[1]),l&125&&r!==(r=""+(V(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function er(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:o=""}=e,{mt:a=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,m]=X("alignment",["start","end","center"]),[y,w]=X("gap",["relaxed","compact"]);return Z(()=>{m(n),w(l)}),i.$$set=_=>{"alignment"in _&&t(7,n=_.alignment),"gap"in _&&t(0,l=_.gap),"testid"in _&&t(1,o=_.testid),"mt"in _&&t(2,a=_.mt),"mr"in _&&t(3,s=_.mr),"mb"in _&&t(4,c=_.mb),"ml"in _&&t(5,d=_.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,o,a,s,c,d,r,n]}class tr extends P{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);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},er,$i,I,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),h()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button-group",tr);function xt(i){let e,t;return{c(){e=v("h3"),t=G(i[5])},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&32&&K(t,r[5])},d(r){r&&M(e)}}}function ir(i){let e,t,r,n,l,o,a,s,c,d,f=i[5]&&xt(i);return{c(){e=v("div"),t=v("span"),r=v("goa-icon"),o=S(),a=v("span"),f&&f.c(),s=S(),c=v("slot"),this.c=E,z(r,"type",i[7]),z(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",l="icon "+i[4]),u(a,"class","content"),u(e,"style",d=V(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(m,y){p(m,e,y),b(e,t),b(t,r),b(e,o),b(e,a),f&&f.m(a,null),b(a,s),b(a,c)},p(m,[y]){y&128&&z(r,"type",m[7]),y&16&&n!==(n=m[4]==="important"?"false":"true")&&z(r,"inverted",n),y&16&&l!==(l="icon "+m[4])&&u(t,"class",l),m[5]?f?f.p(m,y):(f=xt(m),f.c(),f.m(a,s)):f&&(f.d(1),f=null),y&15&&d!==(d=V(m[0],m[1],m[2],m[3]))&&u(e,"style",d),y&64&&u(e,"data-testid",m[6])},i:E,o:E,d(m){m&&M(e),f&&f.d()}}}function rr(i,e,t){let r;const[n,l]=X("Callout type",["emergency","important","information","event","success"],!0);let{mt:o=null}=e,{mr:a=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:m=""}=e;return Z(()=>{l(d)}),i.$$set=y=>{"mt"in y&&t(0,o=y.mt),"mr"in y&&t(1,a=y.mr),"mb"in y&&t(2,s=y.mb),"ml"in y&&t(3,c=y.ml),"type"in y&&t(4,d=y.type),"heading"in y&&t(5,f=y.heading),"testid"in y&&t(6,m=y.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[o,a,s,c,d,f,m,r]}class nr extends P{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}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.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},rr,ir,I,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",nr);function lr(i){let e;return{c(){e=v("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=E},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class ar extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,lr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ar);function or(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+V(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&128&&u(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+V(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function sr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:o=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,l=f.height),"mt"in f&&t(3,o=f.mt),"mr"in f&&t(4,a=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,l,o,a,s,c,d]}class cr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},sr,or,I,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-card",cr);function dr(i){let e;return{c(){e=v("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,dr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",ur);function fr(i){let e;return{c(){e=v("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:E,i:E,o:E,d(t){t&&M(e)}}}class hr extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,fr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",hr);function mr(i){let e;return{c(){e=v("div"),this.c=E,Q(e,"background-image","url("+i[0]+")"),Q(e,"height",i[1]),Q(e,"background-size","cover"),Q(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&Q(e,"background-image","url("+t[0]+")"),r&2&&Q(e,"height",t[1])},i:E,o:E,d(t){t&&M(e)}}}function gr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=l=>{"src"in l&&t(0,r=l.src),"height"in l&&t(1,n=l.height)},[r,n]}class br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},gr,mr,I,{src:0,height:1},null),e&&(e.target&&p(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",br);function vr(i){let e,t;return{c(){e=be("svg"),t=be("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),b(e,t)},d(r){r&&M(e)}}}function wr(i){let e,t;return{c(){e=be("svg"),t=be("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),b(e,t)},d(r){r&&M(e)}}}function _r(i){let e,t,r,n,l,o,a,s,c,d,f,m,y;function w(g,x){if(g[10])return wr;if(g[9])return vr}let _=w(i),k=_&&_(i);return{c(){e=v("label"),t=v("div"),r=v("input"),o=S(),k&&k.c(),a=S(),s=v("div"),c=v("slot"),d=G(i[1]),this.c=E,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",l=i[4]||i[0]),u(t,"class","goa-checkbox-container"),j(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=V(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),j(e,"goa-checkbox--disabled",i[12]),j(e,"goa-checkbox--error",i[11])},m(g,x){p(g,e,x),b(e,t),b(t,r),b(t,o),k&&k.m(t,null),b(e,a),b(e,s),b(s,c),b(c,d),m||(y=Y(r,"change",i[13]),m=!0)},p(g,[x]){x&1&&u(r,"id",g[0]),x&1&&u(r,"name",g[0]),x&512&&(r.checked=g[9]),x&4096&&(r.disabled=g[12]),x&4&&n!==(n=`${g[2]}`)&&(r.value=n),x&17&&l!==(l=g[4]||g[0])&&u(r,"aria-label",l),_!==(_=w(g))&&(k&&k.d(1),k=_&&_(g),k&&(k.c(),k.m(t,null))),x&512&&j(t,"goa-checkbox--selected",g[9]),x&2&&K(d,g[1]),x&8&&u(e,"data-testid",g[3]),x&1&&u(e,"for",g[0]),x&480&&f!==(f=V(g[5],g[6],g[7],g[8]))&&u(e,"style",f),x&4096&&j(e,"goa-checkbox--disabled",g[12]),x&2048&&j(e,"goa-checkbox--error",g[11])},i:E,o:E,d(g){g&&M(e),k&&k.d(),m=!1,y()}}}function yr(i,e,t){let r,n,l,o,{name:a}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:m="false"}=e,{testid:y=""}=e,{arialabel:w=""}=e,{mt:_=null}=e,{mr:k=null}=e,{mb:g=null}=e,{ml:x=null}=e,H;Z(()=>{H=d});function A(T){const C=!l,O=C?`${H||"checked"}`:"";t(14,s=ji(C)),T.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,checked:C,value:O}}))}return i.$$set=T=>{"name"in T&&t(0,a=T.name),"checked"in T&&t(14,s=T.checked),"text"in T&&t(1,c=T.text),"value"in T&&t(2,d=T.value),"disabled"in T&&t(15,f=T.disabled),"error"in T&&t(16,m=T.error),"testid"in T&&t(3,y=T.testid),"arialabel"in T&&t(4,w=T.arialabel),"mt"in T&&t(5,_=T.mt),"mr"in T&&t(6,k=T.mr),"mb"in T&&t(7,g=T.mb),"ml"in T&&t(8,x=T.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=U(f)),i.$$.dirty&65536&&t(11,n=U(m)),i.$$.dirty&16384&&t(9,l=U(s))},t(10,o=!1),[a,c,d,y,w,_,k,g,x,l,o,n,r,A,s,f,m]}class kr extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive--hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},yr,_r,I,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked: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 disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-checkbox",kr);function Ct(i){let e;return{c(){e=v("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&M(e)}}}function zt(i){let e,t,r;return{c(){e=v("goa-icon"),z(e,"class","delete-icon"),z(e,"size","medium"),z(e,"theme","filled"),z(e,"type","close-circle"),z(e,"fillcolor",t=i[10]?"var(--goa-color-status-emergency)":i[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),z(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){p(n,e,l)},p(n,l){l&1536&&t!==(t=n[10]?"var(--goa-color-status-emergency)":n[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&z(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&z(e,"opacity",r)},d(n){n&&M(e)}}}function pr(i){let e,t,r,n,l,o,a,s,c=i[4]&&Ct(i),d=i[11]&&zt(i);return{c(){e=v("div"),c&&c.c(),t=S(),r=v("div"),n=G(i[5]),l=S(),d&&d.c(),this.c=E,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",o=V(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),j(e,"deletable",i[11]),j(e,"error",i[10]),j(e,"variant",i[6])},m(f,m){p(f,e,m),c&&c.m(e,null),b(e,t),b(e,r),b(r,n),b(e,l),d&&d.m(e,null),i[15](e),a||(s=[Y(e,"click",i[16]),Y(e,"mouseover",i[17]),Y(e,"mouseout",i[18]),Y(e,"focus",i[19]),Y(e,"blur",i[20])],a=!0)},p(f,[m]){f[4]?c?c.p(f,m):(c=Ct(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),m&32&&K(n,f[5]),f[11]?d?d.p(f,m):(d=zt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),m&128&&u(e,"data-testid",f[7]),m&15&&o!==(o=V(f[0],f[1],f[2],f[3]))&&u(e,"style",o),m&2048&&j(e,"deletable",f[11]),m&1024&&j(e,"error",f[10]),m&64&&j(e,"variant",f[6])},i:E,o:E,d(f){f&&M(e),c&&c.d(),d&&d.d(),i[15](null),a=!1,le(s)}}}function Er(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:o=null}=e,{leadingicon:a=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:m=""}=e,y,w=!1,_,k;function g(R){y.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),R.stopPropagation()}function x(R){ne[R?"unshift":"push"](()=>{y=R,t(8,y)})}const H=R=>k&&g(R),A=()=>t(9,w=!0),T=()=>t(9,w=!1),C=()=>t(9,w=!1),O=()=>t(9,w=!1);return i.$$set=R=>{"mt"in R&&t(0,r=R.mt),"mr"in R&&t(1,n=R.mr),"mb"in R&&t(2,l=R.mb),"ml"in R&&t(3,o=R.ml),"leadingicon"in R&&t(4,a=R.leadingicon),"error"in R&&t(13,s=R.error),"deletable"in R&&t(14,c=R.deletable),"content"in R&&t(5,d=R.content),"variant"in R&&t(6,f=R.variant),"testid"in R&&t(7,m=R.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,_=U(s)),i.$$.dirty&16384&&t(11,k=U(c))},[r,n,l,o,a,d,f,m,y,w,_,k,g,s,c,x,H,A,T,C,O]}class xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--chip-font-size);font-weight:var(--fw-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix)}.chip:focus{outline:2px solid var(--goa-color-interactive--focus);background-color:var(--color-white)}.chip:hover{background-color:var(--color-gray-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-status-emergency-light)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Er,pr,I,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-chip",xr);function Cr(i){const e=i-1;return e*e*e+1}function zr(i){return Math.pow(i-1,3)*(1-i)+1}function ze(i,{delay:e=0,duration:t=400,easing:r=Me}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:l=>`opacity: ${l*n}`}}function Tt(i,{delay:e=0,duration:t=400,easing:r=Cr,x:n=0,y:l=0,opacity:o=0}={}){const a=getComputedStyle(i),s=+a.opacity,c=a.transform==="none"?"":a.transform,d=s*(1-o);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
20
|
-
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*l}px);
|
|
21
|
-
opacity: ${s-d*m}`}}function Mt(i,e){let t=!1;function r(){if(!n())return;const a=o();a>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=a+"px")}function n(){return document.body.style.overflow!=="hidden"}function l(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}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 s=document.createElement("div");a.appendChild(s);const c=a.offsetWidth-s.offsetWidth;return a.parentNode.removeChild(a),c}return e.enable&&r(),{update(){e.enable||l()},destroy(){l()}}}function Lt(i){let e,t,r,n;const l=[Mr,Tr],o=[];function a(s,c){return s[3]?0:s[4]?1:-1}return~(e=a(i))&&(t=o[e]=l[e](i)),{c(){t&&t.c(),r=ve()},m(s,c){~e&&o[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=a(s),e===d?~e&&o[e].p(s,c):(t&&(xe(),J(o[d],1,1,()=>{o[d]=null}),Ce()),~e?(t=o[e],t?t.p(s,c):(t=o[e]=l[e](s),t.c()),W(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(W(t),n=!0)},o(s){J(t),n=!1},d(s){~e&&o[e].d(s),s&&M(r)}}}function Tr(i){let e,t,r,n,l=i[0]&&At(i);return{c(){e=v("div"),t=v("goa-spinner"),r=S(),l&&l.c(),z(t,"size",i[2]),z(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),j(e,"inline",i[4])},m(o,a){p(o,e,a),b(e,t),b(e,r),l&&l.m(e,null)},p(o,a){a&4&&z(t,"size",o[2]),a&2&&z(t,"progress",o[1]),o[0]?l?l.p(o,a):(l=At(o),l.c(),l.m(e,null)):l&&(l.d(1),l=null),a&4&&n!==(n="spinner-"+o[2])&&u(e,"class",n),a&20&&j(e,"inline",o[4])},i:E,o:E,d(o){o&&M(e),l&&l.d()}}}function Mr(i){let e,t,r,n,l,o,a,s=i[0]&&Rt(i);return{c(){e=v("div"),t=v("goa-spinner"),r=S(),s&&s.c(),z(t,"size",i[2]),z(t,"progress",i[1]),j(e,"fullscreen",i[3])},m(c,d){p(c,e,d),b(e,t),b(e,r),s&&s.m(e,null),l=!0,o||(a=ot(Mt.call(null,e,{enable:!0})),o=!0)},p(c,d){(!l||d&4)&&z(t,"size",c[2]),(!l||d&2)&&z(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Rt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||d&8)&&j(e,"fullscreen",c[3])},i(c){l||(oe(()=>{n||(n=Ke(e,ze,{duration:300},!0)),n.run(1)}),l=!0)},o(c){n||(n=Ke(e,ze,{duration:300},!1)),n.run(0),l=!1},d(c){c&&M(e),s&&s.d(),c&&n&&n.end(),o=!1,a()}}}function At(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&M(e)}}}function Rt(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&M(e)}}}function Lr(i){let e,t,r=i[5]&&Lt(i);return{c(){r&&r.c(),e=ve(),this.c=E},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[5]?r?(r.p(n,l),l&32&&W(r,1)):(r=Lt(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ce())},i(n){t||(W(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Ar(i,e,t){let r;const[n,l]=X("Circular progress variant",["fullscreen","inline"]),[o,a]=X("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:m="false"}=e,y,w,_;return Z(async()=>{l(s),a(c),t(2,y=c==="small"?"large":"xlarge"),t(3,w=s==="fullscreen"),t(4,_=s==="inline")}),i.$$set=k=>{"variant"in k&&t(6,s=k.variant),"size"in k&&t(7,c=k.size),"message"in k&&t(0,d=k.message),"progress"in k&&t(1,f=k.progress),"visible"in k&&t(8,m=k.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=U(m))},[d,f,y,w,_,r,s,c,m]}class Rr extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Ar,Lr,I,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",Rr);function Hr(i){let e,t,r,n,l,o,a,s,c,d;return{c(){e=v("div"),t=v("header"),r=v("div"),r.innerHTML='<slot name="title"></slot>',n=S(),l=v("div"),l.innerHTML='<slot name="actions"></slot>',a=S(),s=v("div"),s.innerHTML="<slot></slot>",this.c=E,u(r,"class","title"),u(l,"class","actions"),u(t,"class",o="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=V(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
15
|
+
`)&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function Wi(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:a="start"}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,n=d.direction),"alignment"in d&&t(2,a=d.alignment),"mt"in d&&t(3,l=d.mt),"mr"in d&&t(4,o=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[r,n,a,l,o,s,c]}class Ki extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Wi,Ui,I,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),g()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-block",Ki);function Xi(i){let e,t,r,n,a=i[3]&&pt(i),l=i[4]&&xt(i);return{c(){a&&a.c(),e=B(),t=v("span"),t.innerHTML="<slot></slot>",r=B(),l&&l.c(),n=ye(),u(t,"class","text")},m(o,s){a&&a.m(o,s),p(o,e,s),p(o,t,s),p(o,r,s),l&&l.m(o,s),p(o,n,s)},p(o,s){o[3]?a?a.p(o,s):(a=pt(o),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null),o[4]?l?l.p(o,s):(l=xt(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){a&&a.d(o),o&&T(e),o&&T(t),o&&T(r),l&&l.d(o),o&&T(n)}}}function Zi(i){let e,t,r;return{c(){e=v("span"),e.innerHTML="<slot></slot>",t=B(),r=v("goa-icon"),u(e,"class","text"),C(r,"id","trailing-icon"),C(r,"type","arrow-forward"),C(r,"inverted","true")},m(n,a){p(n,e,a),p(n,t,a),p(n,r,a)},p:x,d(n){n&&T(e),n&&T(t),n&&T(r)}}}function pt(i){let e;return{c(){e=v("goa-icon"),C(e,"id","leading-icon"),C(e,"type",i[3]),C(e,"inverted",i[10])},m(t,r){p(t,e,r)},p(t,r){r&8&&C(e,"type",t[3]),r&1024&&C(e,"inverted",t[10])},d(t){t&&T(e)}}}function xt(i){let e;return{c(){e=v("goa-icon"),C(e,"id","trailing-icon"),C(e,"type",i[4]),C(e,"inverted",i[10])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4]),r&1024&&C(e,"inverted",t[10])},d(t){t&&T(e)}}}function Ji(i){let e,t,r,n,a;function l(c,d){return c[0]==="start"?Zi:Xi}let o=l(i),s=o(i);return{c(){e=v("button"),s.c(),this.c=x,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=V(i[6],i[7],i[8],i[9])),e.disabled=i[11],u(e,"data-testid",i[5]),j(e,"leading",i[3]),j(e,"trailing",i[4]||i[0]==="start")},m(c,d){p(c,e,d),s.m(e,null),n||(a=[J(e,"click",Et),J(e,"click",Et)],n=!0)},p(c,[d]){o===(o=l(c))&&s?s.p(c,d):(s.d(1),s=o(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&r!==(r=V(c[6],c[7],c[8],c[9]))&&u(e,"style",r),d&2048&&(e.disabled=c[11]),d&32&&u(e,"data-testid",c[5]),d&15&&j(e,"leading",c[3]),d&23&&j(e,"trailing",c[4]||c[0]==="start")},i:x,o:x,d(c){c&&T(e),s.d(),n=!1,oe(a)}}}function Et(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Yi(i,e,t){let r,n;const[a,l]=Z("Button type",["primary","submit","secondary","tertiary","start"],!0),[o,s]=Z("Button size",["normal","compact"],!0),[c,d]=Z("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:_="normal"}=e,{disabled:y="false"}=e,{leadingicon:w=null}=e,{trailingicon:k=null}=e,{testid:m=""}=e,{mt:E=null}=e,{mr:S=null}=e,{mb:R=null}=e,{ml:M=null}=e;return X(()=>{l(f),s(h),d(_)}),i.$$set=z=>{"type"in z&&t(0,f=z.type),"size"in z&&t(1,h=z.size),"variant"in z&&t(2,_=z.variant),"disabled"in z&&t(12,y=z.disabled),"leadingicon"in z&&t(3,w=z.leadingicon),"trailingicon"in z&&t(4,k=z.trailingicon),"testid"in z&&t(5,m=z.testid),"mt"in z&&t(6,E=z.mt),"mr"in z&&t(7,S=z.mr),"mb"in z&&t(8,R=z.mb),"ml"in z&&t(9,M=z.ml)},i.$$.update=()=>{i.$$.dirty&4096&&t(11,r=U(y)),i.$$.dirty&1&&t(10,n=f==="primary"||f==="start")},[f,h,_,w,k,m,E,S,R,M,n,r,y]}class Qi extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
16
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Yi,Ji,I,{type:0,size:1,variant:2,disabled:12,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[12]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",Qi);function $i(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=x,u(e,"data-testid",i[1]),u(e,"style",r=""+(V(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,a){p(n,e,a),b(e,t)},p(n,[a]){a&2&&u(e,"data-testid",n[1]),a&125&&r!==(r=""+(V(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function er(i,e,t){let r,{alignment:n="start"}=e,{gap:a="relaxed"}=e,{testid:l=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=Z("alignment",["start","end","center"]),[_,y]=Z("gap",["relaxed","compact"]);return X(()=>{h(n),y(a)}),i.$$set=w=>{"alignment"in w&&t(7,n=w.alignment),"gap"in w&&t(0,a=w.gap),"testid"in w&&t(1,l=w.testid),"mt"in w&&t(2,o=w.mt),"mr"in w&&t(3,s=w.mr),"mb"in w&&t(4,c=w.mb),"ml"in w&&t(5,d=w.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[a,l,o,s,c,d,r,n]}class tr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},er,$i,I,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",tr);function zt(i){let e,t;return{c(){e=v("h3"),t=G(i[5])},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&32&&K(t,r[5])},d(r){r&&T(e)}}}function ir(i){let e,t,r,n,a,l,o,s,c,d,f=i[5]&&zt(i);return{c(){e=v("div"),t=v("span"),r=v("goa-icon"),l=B(),o=v("span"),f&&f.c(),s=B(),c=v("slot"),this.c=x,C(r,"type",i[7]),C(r,"inverted",n=i[4]==="important"?"false":"true"),u(t,"class",a="icon "+i[4]),u(o,"class","content"),u(e,"style",d=V(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,_){p(h,e,_),b(e,t),b(t,r),b(e,l),b(e,o),f&&f.m(o,null),b(o,s),b(o,c)},p(h,[_]){_&128&&C(r,"type",h[7]),_&16&&n!==(n=h[4]==="important"?"false":"true")&&C(r,"inverted",n),_&16&&a!==(a="icon "+h[4])&&u(t,"class",a),h[5]?f?f.p(h,_):(f=zt(h),f.c(),f.m(o,s)):f&&(f.d(1),f=null),_&15&&d!==(d=V(h[0],h[1],h[2],h[3]))&&u(e,"style",d),_&64&&u(e,"data-testid",h[6])},i:x,o:x,d(h){h&&T(e),f&&f.d()}}}function rr(i,e,t){let r;const[n,a]=Z("Callout type",["emergency","important","information","event","success"],!0);let{mt:l=null}=e,{mr:o=null}=e,{mb:s="l"}=e,{ml:c=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return X(()=>{a(d)}),i.$$set=_=>{"mt"in _&&t(0,l=_.mt),"mr"in _&&t(1,o=_.mr),"mb"in _&&t(2,s=_.mb),"ml"in _&&t(3,c=_.ml),"type"in _&&t(4,d=_.type),"heading"in _&&t(5,f=_.heading),"testid"in _&&t(6,h=_.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[l,o,s,c,d,f,h,r]}class nr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},rr,ir,I,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",nr);function ar(i){let e;return{c(){e=v("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=x},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class or extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,ar,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-actions",or);function lr(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=x,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+V(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,a){p(n,e,a),b(e,t)},p(n,[a]){a&128&&u(e,"data-testid",n[7]),a&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+V(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function sr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:a="auto"}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,n=f.width),"height"in f&&t(2,a=f.height),"mt"in f&&t(3,l=f.mt),"mr"in f&&t(4,o=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[r,n,a,l,o,s,c,d]}class cr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},sr,lr,I,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",cr);function dr(i){let e;return{c(){e=v("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-content")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class ur extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,dr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-content",ur);function fr(i){let e;return{c(){e=v("div"),e.innerHTML="<slot></slot>",this.c=x,u(e,"class","card-group")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class gr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,fr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-card-group",gr);function hr(i){let e;return{c(){e=v("div"),this.c=x,$(e,"background-image","url("+i[0]+")"),$(e,"height",i[1]),$(e,"background-size","cover"),$(e,"background-position","center")},m(t,r){p(t,e,r)},p(t,[r]){r&1&&$(e,"background-image","url("+t[0]+")"),r&2&&$(e,"height",t[1])},i:x,o:x,d(t){t&&T(e)}}}function mr(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=a=>{"src"in a&&t(0,r=a.src),"height"in a&&t(1,n=a.height)},[r,n]}class br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},mr,hr,I,{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",br);function vr(i){let e,t;return{c(){e=ve("svg"),t=ve("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,n){p(r,e,n),b(e,t)},d(r){r&&T(e)}}}function yr(i){let e,t;return{c(){e=ve("svg"),t=ve("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,n){p(r,e,n),b(e,t)},d(r){r&&T(e)}}}function wr(i){let e,t,r,n,a,l,o,s,c,d,f,h,_;function y(m,E){if(m[10])return yr;if(m[9])return vr}let w=y(i),k=w&&w(i);return{c(){e=v("label"),t=v("div"),r=v("input"),l=B(),k&&k.c(),o=B(),s=v("div"),c=v("slot"),d=G(i[1]),this.c=x,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=n=`${i[2]}`,u(r,"aria-label",a=i[4]||i[0]),u(t,"class","goa-checkbox-container"),j(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=V(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),j(e,"goa-checkbox--disabled",i[12]),j(e,"goa-checkbox--error",i[11])},m(m,E){p(m,e,E),b(e,t),b(t,r),b(t,l),k&&k.m(t,null),b(e,o),b(e,s),b(s,c),b(c,d),h||(_=J(r,"change",i[13]),h=!0)},p(m,[E]){E&1&&u(r,"id",m[0]),E&1&&u(r,"name",m[0]),E&512&&(r.checked=m[9]),E&4096&&(r.disabled=m[12]),E&4&&n!==(n=`${m[2]}`)&&(r.value=n),E&17&&a!==(a=m[4]||m[0])&&u(r,"aria-label",a),w!==(w=y(m))&&(k&&k.d(1),k=w&&w(m),k&&(k.c(),k.m(t,null))),E&512&&j(t,"goa-checkbox--selected",m[9]),E&2&&K(d,m[1]),E&8&&u(e,"data-testid",m[3]),E&1&&u(e,"for",m[0]),E&480&&f!==(f=V(m[5],m[6],m[7],m[8]))&&u(e,"style",f),E&4096&&j(e,"goa-checkbox--disabled",m[12]),E&2048&&j(e,"goa-checkbox--error",m[11])},i:x,o:x,d(m){m&&T(e),k&&k.d(),h=!1,_()}}}function _r(i,e,t){let r,n,a,l,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:_=""}=e,{arialabel:y=""}=e,{mt:w=null}=e,{mr:k=null}=e,{mb:m=null}=e,{ml:E=null}=e,S;X(()=>{S=d});function R(M){const z=!a,O=z?`${S||"checked"}`:"";t(14,s=ji(z)),M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:z,value:O}}))}return i.$$set=M=>{"name"in M&&t(0,o=M.name),"checked"in M&&t(14,s=M.checked),"text"in M&&t(1,c=M.text),"value"in M&&t(2,d=M.value),"disabled"in M&&t(15,f=M.disabled),"error"in M&&t(16,h=M.error),"testid"in M&&t(3,_=M.testid),"arialabel"in M&&t(4,y=M.arialabel),"mt"in M&&t(5,w=M.mt),"mr"in M&&t(6,k=M.mr),"mb"in M&&t(7,m=M.mb),"ml"in M&&t(8,E=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=U(f)),i.$$.dirty&65536&&t(11,n=U(h)),i.$$.dirty&16384&&t(9,a=U(s))},t(10,l=!1),[o,c,d,_,y,w,k,m,E,a,l,n,r,R,s,f,h]}class kr extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox--disabled:hover{cursor:default}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive-hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},_r,wr,I,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",kr);function Ct(i){let e;return{c(){e=v("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[4])},m(t,r){p(t,e,r)},p(t,r){r&16&&C(e,"type",t[4])},d(t){t&&T(e)}}}function Mt(i){let e,t,r;return{c(){e=v("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),C(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,a){p(n,e,a)},p(n,a){a&1536&&t!==(t=n[10]?"var(--goa-color-emergency-default)":n[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&C(e,"fillcolor",t),a&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&C(e,"opacity",r)},d(n){n&&T(e)}}}function pr(i){let e,t,r,n,a,l,o,s,c=i[4]&&Ct(i),d=i[11]&&Mt(i);return{c(){e=v("div"),c&&c.c(),t=B(),r=v("div"),n=G(i[5]),a=B(),d&&d.c(),this.c=x,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",l=V(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),j(e,"deletable",i[11]),j(e,"error",i[10]),j(e,"variant",i[6])},m(f,h){p(f,e,h),c&&c.m(e,null),b(e,t),b(e,r),b(r,n),b(e,a),d&&d.m(e,null),i[15](e),o||(s=[J(e,"click",i[16]),J(e,"mouseover",i[17]),J(e,"mouseout",i[18]),J(e,"focus",i[19]),J(e,"blur",i[20])],o=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=Ct(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),h&32&&K(n,f[5]),f[11]?d?d.p(f,h):(d=Mt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&l!==(l=V(f[0],f[1],f[2],f[3]))&&u(e,"style",l),h&2048&&j(e,"deletable",f[11]),h&1024&&j(e,"error",f[10]),h&64&&j(e,"variant",f[6])},i:x,o:x,d(f){f&&T(e),c&&c.d(),d&&d.d(),i[15](null),o=!1,oe(s)}}}function xr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:a=null}=e,{ml:l=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,_,y=!1,w,k;function m(A){_.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),A.stopPropagation()}function E(A){ne[A?"unshift":"push"](()=>{_=A,t(8,_)})}const S=A=>k&&m(A),R=()=>t(9,y=!0),M=()=>t(9,y=!1),z=()=>t(9,y=!1),O=()=>t(9,y=!1);return i.$$set=A=>{"mt"in A&&t(0,r=A.mt),"mr"in A&&t(1,n=A.mr),"mb"in A&&t(2,a=A.mb),"ml"in A&&t(3,l=A.ml),"leadingicon"in A&&t(4,o=A.leadingicon),"error"in A&&t(13,s=A.error),"deletable"in A&&t(14,c=A.deletable),"content"in A&&t(5,d=A.content),"variant"in A&&t(6,f=A.variant),"testid"in A&&t(7,h=A.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,w=U(s)),i.$$.dirty&16384&&t(11,k=U(c))},[r,n,a,l,o,d,f,h,_,y,w,k,m,s,c,E,S,R,M,z,O]}class Er extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},xr,pr,I,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Er);function zr(i){const e=i-1;return e*e*e+1}function Cr(i){return Math.pow(i-1,3)*(1-i)+1}function ze(i,{delay:e=0,duration:t=400,easing:r=Te}={}){const n=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:a=>`opacity: ${a*n}`}}function Tt(i,{delay:e=0,duration:t=400,easing:r=zr,x:n=0,y:a=0,opacity:l=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,d=s*(1-l);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
17
|
+
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*a}px);
|
|
18
|
+
opacity: ${s-d*h}`}}function Lt(i,e){let t=!1;function r(){if(!n())return;const o=l();o>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"px")}function n(){return document.body.style.overflow!=="hidden"}function a(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function l(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const o=document.createElement("div");o.style.visibility="hidden",o.style.overflow="scroll",document.body.appendChild(o);const s=document.createElement("div");o.appendChild(s);const c=o.offsetWidth-s.offsetWidth;return o.parentNode.removeChild(o),c}return e.enable&&r(),{update(){e.enable||a()},destroy(){a()}}}function Rt(i){let e,t,r,n;const a=[Tr,Mr],l=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=l[e]=a[e](i)),{c(){t&&t.c(),r=ye()},m(s,c){~e&&l[e].m(s,c),p(s,r,c),n=!0},p(s,c){let d=e;e=o(s),e===d?~e&&l[e].p(s,c):(t&&(xe(),Y(l[d],1,1,()=>{l[d]=null}),Ee()),~e?(t=l[e],t?t.p(s,c):(t=l[e]=a[e](s),t.c()),W(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(W(t),n=!0)},o(s){Y(t),n=!1},d(s){~e&&l[e].d(s),s&&T(r)}}}function Mr(i){let e,t,r,n,a=i[0]&&At(i);return{c(){e=v("div"),t=v("goa-spinner"),r=B(),a&&a.c(),C(t,"size",i[2]),C(t,"progress",i[1]),u(e,"class",n="spinner-"+i[2]),j(e,"inline",i[4])},m(l,o){p(l,e,o),b(e,t),b(e,r),a&&a.m(e,null)},p(l,o){o&4&&C(t,"size",l[2]),o&2&&C(t,"progress",l[1]),l[0]?a?a.p(l,o):(a=At(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),o&4&&n!==(n="spinner-"+l[2])&&u(e,"class",n),o&20&&j(e,"inline",l[4])},i:x,o:x,d(l){l&&T(e),a&&a.d()}}}function Tr(i){let e,t,r,n,a,l,o,s=i[0]&&Ht(i);return{c(){e=v("div"),t=v("goa-spinner"),r=B(),s&&s.c(),C(t,"size",i[2]),C(t,"progress",i[1]),j(e,"fullscreen",i[3])},m(c,d){p(c,e,d),b(e,t),b(e,r),s&&s.m(e,null),a=!0,l||(o=st(Lt.call(null,e,{enable:!0})),l=!0)},p(c,d){(!a||d&4)&&C(t,"size",c[2]),(!a||d&2)&&C(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=Ht(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!a||d&8)&&j(e,"fullscreen",c[3])},i(c){a||(ue(()=>{n||(n=Xe(e,ze,{duration:300},!0)),n.run(1)}),a=!0)},o(c){n||(n=Xe(e,ze,{duration:300},!1)),n.run(0),a=!1},d(c){c&&T(e),s&&s.d(),c&&n&&n.end(),l=!1,o()}}}function At(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function Ht(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"class","message")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function Lr(i){let e,t,r=i[5]&&Rt(i);return{c(){r&&r.c(),e=ye(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[5]?r?(r.p(n,a),a&32&&W(r,1)):(r=Rt(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(W(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Rr(i,e,t){let r;const[n,a]=Z("Circular progress variant",["fullscreen","inline"]),[l,o]=Z("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,_,y,w;return X(async()=>{a(s),o(c),t(2,_=c==="small"?"large":"xlarge"),t(3,y=s==="fullscreen"),t(4,w=s==="inline")}),i.$$set=k=>{"variant"in k&&t(6,s=k.variant),"size"in k&&t(7,c=k.size),"message"in k&&t(0,d=k.message),"progress"in k&&t(1,f=k.progress),"visible"in k&&t(8,h=k.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=U(h))},[d,f,_,y,w,r,s,c,h]}class Ar extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Rr,Lr,I,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",Ar);function Hr(i){let e,t,r,n,a,l,o,s,c,d;return{c(){e=v("div"),t=v("header"),r=v("div"),r.innerHTML='<slot name="title"></slot>',n=B(),a=v("div"),a.innerHTML='<slot name="actions"></slot>',o=B(),s=v("div"),s.innerHTML="<slot></slot>",this.c=x,u(r,"class","title"),u(a,"class","actions"),u(t,"class",l="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=V(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
22
19
|
goa-container
|
|
23
20
|
goa-container--${i[0]}
|
|
24
21
|
padding--${i[2]}
|
|
25
22
|
accent--${i[1]}
|
|
26
|
-
`)},m(f,
|
|
23
|
+
`)},m(f,h){p(f,e,h),b(e,t),b(t,r),b(t,n),b(t,a),b(e,o),b(e,s)},p(f,[h]){h&2&&l!==(l="heading--"+f[1])&&u(t,"class",l),h&8&&u(e,"data-testid",f[3]),h&240&&c!==(c=V(f[4],f[5],f[6],f[7]))&&u(e,"style",c),h&7&&d!==(d=`
|
|
27
24
|
goa-container
|
|
28
25
|
goa-container--${f[0]}
|
|
29
26
|
padding--${f[2]}
|
|
30
27
|
accent--${f[1]}
|
|
31
|
-
`)&&u(e,"class",d)},i:E,o:E,d(f){f&&M(e)}}}function Sr(i,e,t){const[r,n]=X("Container type",["interactive","info","error","success","important","non-interactive"]),[l,o]=X("Container accent",["thick","thin","filled"]),[a,s]=X("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:m=""}=e,{mt:y=null}=e,{mr:w=null}=e,{mb:_="m"}=e,{ml:k=null}=e;return Z(()=>{n(c),o(d),s(f)}),i.$$set=g=>{"type"in g&&t(0,c=g.type),"accent"in g&&t(1,d=g.accent),"padding"in g&&t(2,f=g.padding),"testid"in g&&t(3,m=g.testid),"mt"in g&&t(4,y=g.mt),"mr"in g&&t(5,w=g.mr),"mb"in g&&t(6,_=g.mb),"ml"in g&&t(7,k=g.ml)},[c,d,f,m,y,w,_,k]}class Br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.content{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--non-interactive.accent--filled .content{border-color:var(--color-gray-200);background-color:var(--color-gray-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-status-warning);background-color:var(--goa-color-status-warning-50)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-status-emergency);background-color:var(--goa-color-status-emergency-50)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-status-success);background-color:var(--goa-color-status-success-50)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-status-info);background-color:var(--goa-color-status-info-50)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--interactive 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--important header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Sr,Hr,I,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-container",Br);function Dr(i){let e,t;return{c(){e=v("hr"),this.c=E,u(e,"data-testid",i[0]),u(e,"style",t=V(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=V(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:E,o:E,d(r){r&&M(e)}}}function Nr(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:a=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,l=s.mr),"mb"in s&&t(3,o=s.mb),"ml"in s&&t(4,a=s.ml)},[r,n,l,o,a]}class Or extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--color-gray-200);border:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Nr,Dr,I,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-divider",Or);function Ht(i,e,t){const r=i.slice();return r[48]=e[t],r[52]=t,r}function St(i,e,t){const r=i.slice();return r[48]=e[t],r}function jr(i){let e,t,r,n,l,o,a,s,c=[],d=new Map,f,m,y,w=i[15]&&Bt(i),_=i[13];const k=g=>g[52];for(let g=0;g<_.length;g+=1){let x=Ht(i,_,g),H=k(x);d.set(H,c[g]=Dt(H,x))}return{c(){w&&w.c(),e=S(),t=v("slot"),r=S(),n=v("goa-input"),a=S(),s=v("ul");for(let g=0;g<c.length;g+=1)c[g].c();z(n,"error",i[7]),z(n,"disabled",i[6]),z(n,"leadingicon",i[2]),z(n,"placeholder",i[4]),z(n,"aria-controls","menu"),z(n,"aria-expanded",i[15]),z(n,"aria-label",l=i[1]||i[0]),z(n,"data-testid",o=`${i[0]}-dropdown-input`),z(n,"readonly",""),z(n,"role","combobox"),z(n,"trailingicon","chevron-down"),z(n,"type","text"),z(n,"value",i[14]),z(n,"width","100%"),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[14]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","dropdown-list"),u(s,"style",f=`overflow-y: auto; max-height: ${i[3]}`),j(s,"dropdown-active",i[15])},m(g,x){w&&w.m(g,x),p(g,e,x),p(g,t,x),p(g,r,x),p(g,n,x),p(g,a,x),p(g,s,x);for(let H=0;H<c.length;H+=1)c[H].m(s,null);i[33](s),m||(y=Y(n,"click",i[24]),m=!0)},p(g,x){g[15]?w?w.p(g,x):(w=Bt(g),w.c(),w.m(e.parentNode,e)):w&&(w.d(1),w=null),x[0]&128&&z(n,"error",g[7]),x[0]&64&&z(n,"disabled",g[6]),x[0]&4&&z(n,"leadingicon",g[2]),x[0]&16&&z(n,"placeholder",g[4]),x[0]&32768&&z(n,"aria-expanded",g[15]),x[0]&3&&l!==(l=g[1]||g[0])&&z(n,"aria-label",l),x[0]&1&&o!==(o=`${g[0]}-dropdown-input`)&&z(n,"data-testid",o),x[0]&16384&&z(n,"value",g[14]),x[0]&67186688&&(_=g[13],c=wt(c,x,k,1,g,_,d,s,vt,Dt,null,Ht)),x[0]&16384&&u(s,"aria-activedescendant",g[14]),x[0]&8&&f!==(f=`overflow-y: auto; max-height: ${g[3]}`)&&u(s,"style",f),x[0]&32768&&j(s,"dropdown-active",g[15])},d(g){w&&w.d(g),g&&M(e),g&&M(t),g&&M(r),g&&M(n),g&&M(a),g&&M(s);for(let x=0;x<c.length;x+=1)c[x].d();i[33](null),m=!1,y()}}}function Ir(i){let e,t,r,n,l,o=i[13],a=[];for(let s=0;s<o.length;s+=1)a[s]=Nt(St(i,o,s));return{c(){e=v("select"),t=v("slot");for(let s=0;s<a.length;s+=1)a[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),j(e,"error",i[23])},m(s,c){p(s,e,c),b(e,t);for(let d=0;d<a.length;d+=1)a[d].m(e,null);i[31](e),n||(l=Y(e,"change",i[27]),n=!0)},p(s,c){if(c[0]&8192){o=s[13];let d;for(d=0;d<o.length;d+=1){const f=St(s,o,d);a[d]?a[d].p(f,c):(a[d]=Nt(f),a[d].c(),a[d].m(e,null))}for(;d<a.length;d+=1)a[d].d(1);a.length=o.length}c[0]&2097152&&(e.disabled=s[21]),c[0]&3&&r!==(r=s[1]||s[0])&&u(e,"aria-label",r),c[0]&8388608&&j(e,"error",s[23])},d(s){s&&M(e),Ie(a,s),i[31](null),n=!1,l()}}}function Bt(i){let e,t,r,n;return{c(){e=v("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(l,o){p(l,e,o),r||(n=Y(e,"click",i[25]),r=!0)},p(l,o){o[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(l){l&&M(e),r=!1,n()}}}function Dt(i,e){let t,r=(e[48].label||e[48].value)+"",n,l,o,a,s,c,d,f,m,y,w;function _(){return e[32](e[48])}return{key:i,first:null,c(){t=v("li"),n=G(r),l=S(),u(t,"id",o=e[48].label),u(t,"role","option"),u(t,"aria-label",a=e[48].label||e[48].value),u(t,"aria-selected",s=e[12].includes(e[48].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[48].value}`),u(t,"data-index",d=e[52]),u(t,"data-value",f=e[48].value),u(t,"style",m="display: block"),j(t,"dropdown-item--disabled",!1),j(t,"dropdown-item--tabbed",e[52]===e[16]),j(t,"dropdown-item--selected",e[12].includes(e[48].value)),this.first=t},m(k,g){p(k,t,g),b(t,n),b(t,l),y||(w=Y(t,"click",_),y=!0)},p(k,g){e=k,g[0]&8192&&r!==(r=(e[48].label||e[48].value)+"")&&K(n,r),g[0]&8192&&o!==(o=e[48].label)&&u(t,"id",o),g[0]&8192&&a!==(a=e[48].label||e[48].value)&&u(t,"aria-label",a),g[0]&12288&&s!==(s=e[12].includes(e[48].value)?"true":"false")&&u(t,"aria-selected",s),g[0]&8192&&c!==(c=`dropdown-item-${e[48].value}`)&&u(t,"data-testid",c),g[0]&8192&&d!==(d=e[52])&&u(t,"data-index",d),g[0]&8192&&f!==(f=e[48].value)&&u(t,"data-value",f),g[0]&73728&&j(t,"dropdown-item--tabbed",e[52]===e[16]),g[0]&12288&&j(t,"dropdown-item--selected",e[12].includes(e[48].value))},d(k){k&&M(t),y=!1,w()}}}function Nt(i){let e,t=i[48].label+"",r,n,l,o,a;return{c(){e=v("option"),r=G(t),n=S(),e.selected=l=i[48].selected,e.__value=o=i[48].value,e.value=e.__value,u(e,"aria-label",a=i[48].label)},m(s,c){p(s,e,c),b(e,r),b(e,n)},p(s,c){c[0]&8192&&t!==(t=s[48].label+"")&&K(r,t),c[0]&8192&&l!==(l=s[48].selected)&&(e.selected=l),c[0]&8192&&o!==(o=s[48].value)&&(e.__value=o,e.value=e.__value),c[0]&8192&&a!==(a=s[48].label)&&u(e,"aria-label",a)},d(s){s&&M(e)}}}function Pr(i){let e,t,r;function n(a,s){return a[22]?Ir:jr}let l=n(i),o=l(i);return{c(){e=v("div"),o.c(),this.c=E,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
28
|
+
`)&&u(e,"class",d)},i:x,o:x,d(f){f&&T(e)}}}function Sr(i,e,t){const[r,n]=Z("Container type",["interactive","info","error","success","important","non-interactive"]),[a,l]=Z("Container accent",["thick","thin","filled"]),[o,s]=Z("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:_=null}=e,{mr:y=null}=e,{mb:w="m"}=e,{ml:k=null}=e;return X(()=>{n(c),l(d),s(f)}),i.$$set=m=>{"type"in m&&t(0,c=m.type),"accent"in m&&t(1,d=m.accent),"padding"in m&&t(2,f=m.padding),"testid"in m&&t(3,h=m.testid),"mt"in m&&t(4,_=m.mt),"mr"in m&&t(5,y=m.mr),"mb"in m&&t(6,w=m.mb),"ml"in m&&t(7,k=m.ml)},[c,d,f,h,_,y,w,k]}class Br extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Sr,Hr,I,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-container",Br);function Dr(i){let e,t;return{c(){e=v("hr"),this.c=x,u(e,"data-testid",i[0]),u(e,"style",t=V(i[1],i[2],i[3],i[4]))},m(r,n){p(r,e,n)},p(r,[n]){n&1&&u(e,"data-testid",r[0]),n&30&&t!==(t=V(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:x,o:x,d(r){r&&T(e)}}}function Nr(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:a=null}=e,{mb:l=null}=e,{ml:o=null}=e;return i.$$set=s=>{"testid"in s&&t(0,r=s.testid),"mt"in s&&t(1,n=s.mt),"mr"in s&&t(2,a=s.mr),"mb"in s&&t(3,l=s.mb),"ml"in s&&t(4,o=s.ml)},[r,n,a,l,o]}class Or extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Nr,Dr,I,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-divider",Or);function St(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function Bt(i,e,t){const r=i.slice();return r[49]=e[t],r}function jr(i){let e,t,r,n,a,l,o,s,c=[],d=new Map,f,h,_,y=i[15]&&Dt(i),w=i[13];const k=m=>m[53];for(let m=0;m<w.length;m+=1){let E=St(i,w,m),S=k(E);d.set(S,c[m]=Nt(S,E))}return{c(){y&&y.c(),e=B(),t=v("goa-input"),a=B(),l=v("slot"),o=B(),s=v("ul");for(let m=0;m<c.length;m+=1)c[m].c();C(t,"error",i[7]),C(t,"disabled",i[6]),C(t,"leadingicon",i[2]),C(t,"placeholder",i[4]),C(t,"aria-controls","menu"),C(t,"aria-expanded",i[15]),C(t,"arialabel",r=i[1]||i[0]),C(t,"data-testid",n=`${i[0]}-dropdown-input`),C(t,"readonly",""),C(t,"role","combobox"),C(t,"trailingicon","chevron-down"),C(t,"type","text"),C(t,"value",i[14]),C(t,"width","100%"),C(t,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[14]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"class","dropdown-list"),u(s,"style",f=`overflow-y: auto; max-height: ${i[3]}`),j(s,"dropdown-active",i[15])},m(m,E){y&&y.m(m,E),p(m,e,E),p(m,t,E),p(m,a,E),p(m,l,E),p(m,o,E),p(m,s,E);for(let S=0;S<c.length;S+=1)c[S].m(s,null);i[33](s),h||(_=J(t,"click",i[24]),h=!0)},p(m,E){m[15]?y?y.p(m,E):(y=Dt(m),y.c(),y.m(e.parentNode,e)):y&&(y.d(1),y=null),E[0]&128&&C(t,"error",m[7]),E[0]&64&&C(t,"disabled",m[6]),E[0]&4&&C(t,"leadingicon",m[2]),E[0]&16&&C(t,"placeholder",m[4]),E[0]&32768&&C(t,"aria-expanded",m[15]),E[0]&3&&r!==(r=m[1]||m[0])&&C(t,"arialabel",r),E[0]&1&&n!==(n=`${m[0]}-dropdown-input`)&&C(t,"data-testid",n),E[0]&16384&&C(t,"value",m[14]),E[0]&1&&C(t,"name",m[0]),E[0]&67186688&&(w=m[13],c=wt(c,E,k,1,m,w,d,s,yt,Nt,null,St)),E[0]&16384&&u(s,"aria-activedescendant",m[14]),E[0]&8&&f!==(f=`overflow-y: auto; max-height: ${m[3]}`)&&u(s,"style",f),E[0]&32768&&j(s,"dropdown-active",m[15])},d(m){y&&y.d(m),m&&T(e),m&&T(t),m&&T(a),m&&T(l),m&&T(o),m&&T(s);for(let E=0;E<c.length;E+=1)c[E].d();i[33](null),h=!1,_()}}}function Ir(i){let e,t,r,n,a,l=i[13],o=[];for(let s=0;s<l.length;s+=1)o[s]=Ot(Bt(i,l,s));return{c(){e=v("select"),t=v("slot");for(let s=0;s<o.length;s+=1)o[s].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),j(e,"error",i[23])},m(s,c){p(s,e,c),b(e,t);for(let d=0;d<o.length;d+=1)o[d].m(e,null);i[31](e),n||(a=J(e,"change",i[27]),n=!0)},p(s,c){if(c[0]&8192){l=s[13];let d;for(d=0;d<l.length;d+=1){const f=Bt(s,l,d);o[d]?o[d].p(f,c):(o[d]=Ot(f),o[d].c(),o[d].m(e,null))}for(;d<o.length;d+=1)o[d].d(1);o.length=l.length}c[0]&2097152&&(e.disabled=s[21]),c[0]&3&&r!==(r=s[1]||s[0])&&u(e,"aria-label",r),c[0]&8388608&&j(e,"error",s[23])},d(s){s&&T(e),Pe(o,s),i[31](null),n=!1,a()}}}function Dt(i){let e,t,r,n;return{c(){e=v("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(a,l){p(a,e,l),r||(n=J(e,"click",i[25]),r=!0)},p(a,l){l[0]&1&&t!==(t=`${a[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(a){a&&T(e),r=!1,n()}}}function Nt(i,e){let t,r=(e[49].label||e[49].value)+"",n,a,l,o,s,c,d,f,h,_,y;function w(){return e[32](e[49])}return{key:i,first:null,c(){t=v("li"),n=G(r),a=B(),u(t,"id",l=e[49].label),u(t,"role","option"),u(t,"aria-label",o=e[49].label||e[49].value),u(t,"aria-selected",s=e[12].includes(e[49].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[49].value}`),u(t,"data-index",d=e[53]),u(t,"data-value",f=e[49].value),u(t,"style",h="display: block"),j(t,"dropdown-item--disabled",!1),j(t,"dropdown-item--tabbed",e[53]===e[16]),j(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(k,m){p(k,t,m),b(t,n),b(t,a),_||(y=J(t,"click",w),_=!0)},p(k,m){e=k,m[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&K(n,r),m[0]&8192&&l!==(l=e[49].label)&&u(t,"id",l),m[0]&8192&&o!==(o=e[49].label||e[49].value)&&u(t,"aria-label",o),m[0]&12288&&s!==(s=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),m[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),m[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),m[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),m[0]&73728&&j(t,"dropdown-item--tabbed",e[53]===e[16]),m[0]&12288&&j(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(k){k&&T(t),_=!1,y()}}}function Ot(i){let e,t=i[49].label+"",r,n,a,l,o;return{c(){e=v("option"),r=G(t),n=B(),e.selected=a=i[49].selected,e.__value=l=i[49].value,e.value=e.__value,u(e,"aria-label",o=i[49].label)},m(s,c){p(s,e,c),b(e,r),b(e,n)},p(s,c){c[0]&8192&&t!==(t=s[49].label+"")&&K(r,t),c[0]&8192&&a!==(a=s[49].selected)&&(e.selected=a),c[0]&8192&&l!==(l=s[49].value)&&(e.__value=l,e.value=e.__value),c[0]&8192&&o!==(o=s[49].label)&&u(e,"aria-label",o)},d(s){s&&T(e)}}}function Pr(i){let e,t,r;function n(o,s){return o[22]?Ir:jr}let a=n(i),l=a(i);return{c(){e=v("div"),l.c(),this.c=x,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
29
|
${V(i[8],i[9],i[10],i[11])}
|
|
33
30
|
--width: ${i[5]||i[17]}
|
|
34
|
-
`),j(e,"dropdown-native",i[22])},m(
|
|
35
|
-
${V(
|
|
36
|
-
--width: ${
|
|
37
|
-
`)&&u(e,"style",r),s[0]&4194304&&j(e,"dropdown-native",
|
|
31
|
+
`),j(e,"dropdown-native",i[22])},m(o,s){p(o,e,s),l.m(e,null),i[34](e)},p(o,s){a===(a=n(o))&&l?l.p(o,s):(l.d(1),l=a(o),l&&(l.c(),l.m(e,null))),s[0]&1&&t!==(t=`${o[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&134944&&r!==(r=`
|
|
32
|
+
${V(o[8],o[9],o[10],o[11])}
|
|
33
|
+
--width: ${o[5]||o[17]}
|
|
34
|
+
`)&&u(e,"style",r),s[0]&4194304&&j(e,"dropdown-native",o[22])},i:x,o:x,d(o){o&&T(e),l.d(),i[34](null)}}}function qr(i,e,t){let r,n,a,l,{name:o}=e,{arialabel:s=""}=e,{value:c=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:_=""}=e,{disabled:y="false"}=e,{error:w="false"}=e,{multiselect:k="false"}=e,{native:m="false"}=e,{mt:E=null}=e,{mr:S=null}=e,{mb:R=null}=e,{ml:M=null}=e,z=[],O=[],A="",L=!1,N=0,se,Q,te,ee;X(async()=>{await pe(),t(12,z=Se()),t(13,O=Me()),l||(t(17,se=Ze(O)),Je(),Qe());const H=Q.querySelector("slot");H==null||H.addEventListener("slotchange",ie=>{t(14,A=""),t(12,z=Se()),t(13,O=Me())})}),Ri(()=>{Ye()});function re(){const H=Q.querySelector("slot");return H?H.assignedElements():[...(l?ee:Q).children]}function Me(){return re().filter(ie=>ie.tagName==="GOA-DROPDOWN-ITEM").map(ie=>{const ae=ie,de=ie.getAttribute("value")||ae.value,De=ie.getAttribute("label")||ae.label||de,wi=z.includes(de);return wi&&(t(14,A=De),t(12,z=[de])),{selected:wi,value:de,label:De}})}function Ze(H){let ie,ae=0;return H.length===0&&h!==""?`${h.length+12}ch`:(H.forEach(de=>{const De=de.label||de.value||"";!ie&&ae<De.length&&(ae=De.length,ie=`${Math.max(20,ae+12)}ch`)}),ie)}function Je(){Q.addEventListener("focus",bi,!0),Q.addEventListener("blur",vi,!0)}function Ye(){Q.removeEventListener("focus",bi,!0),Q.removeEventListener("blur",vi,!0)}function Se(){let H;try{H=JSON.parse(c||"[]")}catch{H=[c]}return(typeof H=="object"?H:[H]).map(ae=>`${ae}`)}async function le(){r||L||(t(15,L=!0),await pe(),te.addEventListener("blur",ce),te.addEventListener("mouseover",yi))}function ce(){te.removeEventListener("blur",ce),te.removeEventListener("mouseover",yi),Qe(),t(15,L=!1)}function Qe(){t(16,N=O.findIndex(H=>z.includes(H.value)))}function D(H,ie,ae){if(r)return;t(14,A=ie);let de;a?(z.push(H),de={name:o,values:z}):(t(12,z=[H]),de={name:o,value:H}),Q.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:de})),ae&&ce()}const Be=H=>{switch(H.key){case" ":case"Enter":L?ce():le(),H.preventDefault();break;case"Escape":L&&ce(),H.preventDefault();break;case"ArrowDown":if(H.altKey){L?ce():le();break}wa(),H.preventDefault();break;case"ArrowUp":if(H.altKey){L?ce():le();break}_a(),H.preventDefault();break}};function wa(){N<O.length-1&&(t(16,N++,N),D(O[N].value,O[N].label,!1))}function _a(){N>0&&(t(16,N--,N),D(O[N].value,O[N].label,!1))}function bi(){Q.addEventListener("keydown",Be)}function vi(){Q.removeEventListener("keydown",Be)}function yi(H){t(16,N=Number(H.target.dataset.index))}function ka(H){const ie=H.currentTarget,ae=O[ie.selectedIndex];D(ae.value,ae.label)}function pa(H){ne[H?"unshift":"push"](()=>{ee=H,t(20,ee),t(13,O)})}const xa=H=>D(H.value,H.label,!0);function Ea(H){ne[H?"unshift":"push"](()=>{te=H,t(19,te)})}function za(H){ne[H?"unshift":"push"](()=>{Q=H,t(18,Q)})}return i.$$set=H=>{"name"in H&&t(0,o=H.name),"arialabel"in H&&t(1,s=H.arialabel),"value"in H&&t(28,c=H.value),"leadingicon"in H&&t(2,d=H.leadingicon),"maxheight"in H&&t(3,f=H.maxheight),"placeholder"in H&&t(4,h=H.placeholder),"width"in H&&t(5,_=H.width),"disabled"in H&&t(6,y=H.disabled),"error"in H&&t(7,w=H.error),"multiselect"in H&&t(29,k=H.multiselect),"native"in H&&t(30,m=H.native),"mt"in H&&t(8,E=H.mt),"mr"in H&&t(9,S=H.mr),"mb"in H&&t(10,R=H.mb),"ml"in H&&t(11,M=H.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(21,r=U(y)),i.$$.dirty[0]&128&&t(23,n=U(w)),i.$$.dirty[0]&536870912&&(a=U(k)),i.$$.dirty[0]&1073741824&&t(22,l=U(m))},[o,s,d,f,h,_,y,w,E,S,R,M,z,O,A,L,N,se,Q,te,ee,r,l,n,le,ce,D,ka,c,k,m,pa,xa,Ea,za]}class Fr extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--goa-color-greyscale-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--goa-color-greyscale-700)}.dropdown-item--selected{background:var(--goa-color-interactive-default);color:var(--goa-color-greyscale-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive-hover);color:var(--goa-color-greyscale-white)}.dropdown-native{border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-white)}.dropdown-native:has(select:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive-error)}select{border:none;background-color:transparent;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);appearance:none;padding:calc(var(--goa-space-xs) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},qr,Pr,I,{name:0,arialabel:1,value:28,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:29,native:30,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),g()}get value(){return this.$$.ctx[28]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[29]}set multiselect(e){this.$$set({multiselect:e}),g()}get native(){return this.$$.ctx[30]}set native(e){this.$$set({native:e}),g()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-dropdown",Fr);function Vr(i){return{c(){this.c=x},m:x,p:x,i:x,o:x,d:x}}class Gr extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,Vr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",Gr);function Ur(i){let e;return{c(){e=v("div"),e.innerHTML=`<slot></slot>
|
|
38
35
|
|
|
39
|
-
<span tabindex="0"></span>`,this.c=E,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:E,i:E,o:E,d(t){t&&M(e),i[4](null)}}}function Kr(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Zr(i,e,t){let r,{active:n}=e,l=!1,o,a,s=!1;function c(){document.removeEventListener("focus",x,!0)}function d(){document.addEventListener("focus",x,!0)}function f(A){if(!A)return!1;for(const T of A)if(g(T)||f(T.childNodes)||m(T)||y(T))return!0;return!1}function m(A){if(!(A instanceof HTMLSlotElement))return!1;if(f(A.assignedNodes()))return!0}function y(A){var T;if(!(A instanceof HTMLElement))return!1;if(f((T=A.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function w(A){if(!A)return!1;for(let T=A.length-1;T>=0;T--){let C=A[T];if(g(C)||w(C.childNodes)||_(C)||k(C))return!0}return!1}function _(A){if(!(A instanceof HTMLSlotElement))return!1;if(w(A.assignedNodes()))return!0}function k(A){var T;if(!(A instanceof HTMLElement))return!1;if(w((T=A.shadowRoot)===null||T===void 0?void 0:T.childNodes))return!0}function g(A){if(!Kr(A))return!1;try{l=!0,A.focus()}catch{}finally{l=!1}return document.activeElement===A}function x(A){var T;if(l)return;const C=(T=a.firstChild)===null||T===void 0?void 0:T.assignedElements();if(!(C==null?void 0:C.length))return;const O=C[0];if(A.composedPath().includes(O)){o=A.target;return}f(O.childNodes),o==document.activeElement&&w(O.childNodes),o=document.activeElement}function H(A){ne[A?"unshift":"push"](()=>{a=A,t(0,a)})}return i.$$set=A=>{"active"in A&&t(1,n=A.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=U(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[a,n,s,r,H]}class Xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Zr,Wr,I,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),h()}}customElements.define("goa-focus-trap",Xr);function Ot(i){let e;return{c(){e=v("goa-divider"),z(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&M(e)}}}function Yr(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w=i[2]?.length&&Ot();return{c(){e=v("div"),t=v("div"),r=v("div"),r.innerHTML='<slot name="nav"></slot>',n=S(),w&&w.c(),l=S(),o=v("div"),a=v("div"),a.innerHTML='<slot name="meta"></slot>',s=S(),c=v("div"),d=v("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=S(),m=v("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=E,u(r,"class","nav-links"),u(a,"class","meta-links"),u(d,"href","https://alberta.ca"),u(m,"href","https://alberta.ca"),u(m,"class","goa-copyright"),u(c,"class","abgov"),j(c,"with-meta-links",i[3]?.length),u(o,"class","meta-section"),j(o,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",y=`--max-content-width: ${i[0]||"100%"}`)},m(_,k){p(_,e,k),b(e,t),b(t,r),b(t,n),w&&w.m(t,null),b(t,l),b(t,o),b(o,a),b(o,s),b(o,c),b(c,d),b(c,f),b(c,m),i[5](e)},p(_,[k]){_[2]?.length?w||(w=Ot(),w.c(),w.m(t,l)):w&&(w.d(1),w=null),k&8&&j(c,"with-meta-links",_[3]?.length),k&8&&j(o,"with-meta-links",_[3]?.length),k&1&&y!==(y=`--max-content-width: ${_[0]||"100%"}`)&&u(e,"style",y)},i:E,o:E,d(_){_&&M(e),w&&w.d(),i[5](null)}}}function Jr(i,e,t){let{maxcontentwidth:r=""}=e,n,l,o;const a=new Date().getFullYear();Z(async()=>{await Ee();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,o=d.assignedElements())});function s(c){ne[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,o,a,s]}class Qr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Jr,Yr,I,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",Qr);function jt(i,e,t){const r=i.slice();return r[3]=e[t],r}function It(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=v("li"),t=v("a"),n=G(r),u(t,"href",l=i[3].href)},m(o,a){p(o,e,a),b(e,t),b(t,n)},p(o,a){a&2&&r!==(r=o[3].innerHTML+"")&&K(n,r),a&2&&l!==(l=o[3].href)&&u(t,"href",l)},d(o){o&&M(e)}}}function $r(i){let e,t,r,n,l=i[1],o=[];for(let a=0;a<l.length;a+=1)o[a]=It(jt(i,l,a));return{c(){e=v("section"),t=v("div"),t.innerHTML="<slot></slot>",r=S(),n=v("ul");for(let a=0;a<o.length;a+=1)o[a].c();this.c=E,u(t,"class","hidden")},m(a,s){p(a,e,s),b(e,t),b(e,r),b(e,n);for(let c=0;c<o.length;c+=1)o[c].m(n,null);i[2](e)},p(a,[s]){if(s&2){l=a[1];let c;for(c=0;c<l.length;c+=1){const d=jt(a,l,c);o[c]?o[c].p(d,s):(o[c]=It(d),o[c].c(),o[c].m(n,null))}for(;c<o.length;c+=1)o[c].d(1);o.length=l.length}},i:E,o:E,d(a){a&&M(e),Ie(o,a),i[2](null)}}}function en(i,e,t){let r,n=[];Z(async()=>{if(await Ee(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(a=>a.hasAttribute("href")).reduce((a,s)=>a&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function l(o){ne[o?"unshift":"push"](()=>{r=o,t(0,r)})}return[r,n,l]}class tn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},en,$r,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",tn);function Pt(i,e,t){const r=i.slice();return r[5]=e[t],r}function qt(i){let e,t,r,n;return{c(){e=v("div"),t=G(i[0]),r=S(),n=v("goa-divider"),u(e,"class","title"),z(n,"spacing","small")},m(l,o){p(l,e,o),b(e,t),p(l,r,o),p(l,n,o)},p(l,o){o&1&&K(t,l[0])},d(l){l&&M(e),l&&M(r),l&&M(n)}}}function Ft(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=v("li"),t=v("a"),n=G(r),u(t,"href",l=i[5].href)},m(o,a){p(o,e,a),b(e,t),b(t,n)},p(o,a){a&8&&r!==(r=o[5].innerHTML+"")&&K(n,r),a&8&&l!==(l=o[5].href)&&u(t,"href",l)},d(o){o&&M(e)}}}function rn(i){let e,t,r,n,l,o,a=i[0]&&qt(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Ft(Pt(i,s,d));return{c(){e=v("section"),a&&a.c(),t=S(),r=v("div"),r.innerHTML="<slot></slot>",n=S(),l=v("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=E,u(r,"class","hidden"),u(l,"class","links"),u(l,"style",o=`
|
|
36
|
+
<span tabindex="0"></span>`,this.c=x,u(e,"id","root")},m(t,r){p(t,e,r),i[4](e)},p:x,i:x,o:x,d(t){t&&T(e),i[4](null)}}}function Wr(i){if(i.tabIndex>0||i.tabIndex===0&&i.getAttribute("tabIndex")!==null)return!0;if(i.disabled)return!1;switch(i.nodeName){case"A":{const t=i;return!!t.href&&t.rel!=="ignore"}case"INPUT":{const t=i;return t.type!=="hidden"&&t.type!=="file"}case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}function Kr(i,e,t){let r,{active:n}=e,a=!1,l,o,s=!1;function c(){document.removeEventListener("focus",E,!0)}function d(){document.addEventListener("focus",E,!0)}function f(R){if(!R)return!1;for(const M of R)if(m(M)||f(M.childNodes)||h(M)||_(M))return!0;return!1}function h(R){if(!(R instanceof HTMLSlotElement))return!1;if(f(R.assignedNodes()))return!0}function _(R){var M;if(!(R instanceof HTMLElement))return!1;if(f((M=R.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function y(R){if(!R)return!1;for(let M=R.length-1;M>=0;M--){let z=R[M];if(m(z)||y(z.childNodes)||w(z)||k(z))return!0}return!1}function w(R){if(!(R instanceof HTMLSlotElement))return!1;if(y(R.assignedNodes()))return!0}function k(R){var M;if(!(R instanceof HTMLElement))return!1;if(y((M=R.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function m(R){if(!Wr(R))return!1;try{a=!0,R.focus()}catch{}finally{a=!1}return document.activeElement===R}function E(R){var M;if(a)return;const z=(M=o.firstChild)===null||M===void 0?void 0:M.assignedElements();if(!(z==null?void 0:z.length))return;const O=z[0];if(R.composedPath().includes(O)){l=R.target;return}f(O.childNodes),l==document.activeElement&&y(O.childNodes),l=document.activeElement}function S(R){ne[R?"unshift":"push"](()=>{o=R,t(0,o)})}return i.$$set=R=>{"active"in R&&t(1,n=R.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=U(n)),i.$$.dirty&12&&(r&&!s&&(d(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,S]}class Xr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Kr,Ur,I,{active:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),g()}}customElements.define("goa-focus-trap",Xr);function jt(i){let e;return{c(){e=v("goa-divider"),C(e,"spacing","small")},m(t,r){p(t,e,r)},d(t){t&&T(e)}}}function Zr(i){let e,t,r,n,a,l,o,s,c,d,f,h,_,y=i[2]?.length&&jt();return{c(){e=v("div"),t=v("div"),r=v("div"),r.innerHTML='<slot name="nav"></slot>',n=B(),y&&y.c(),a=B(),l=v("div"),o=v("div"),o.innerHTML='<slot name="meta"></slot>',s=B(),c=v("div"),d=v("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=B(),h=v("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=x,u(r,"class","nav-links"),u(o,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(c,"class","abgov"),j(c,"with-meta-links",i[3]?.length),u(l,"class","meta-section"),j(l,"with-meta-links",i[3]?.length),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(w,k){p(w,e,k),b(e,t),b(t,r),b(t,n),y&&y.m(t,null),b(t,a),b(t,l),b(l,o),b(l,s),b(l,c),b(c,d),b(c,f),b(c,h),i[5](e)},p(w,[k]){w[2]?.length?y||(y=jt(),y.c(),y.m(t,a)):y&&(y.d(1),y=null),k&8&&j(c,"with-meta-links",w[3]?.length),k&8&&j(l,"with-meta-links",w[3]?.length),k&1&&_!==(_=`--max-content-width: ${w[0]||"100%"}`)&&u(e,"style",_)},i:x,o:x,d(w){w&&T(e),y&&y.d(),i[5](null)}}}function Jr(i,e,t){let{maxcontentwidth:r=""}=e,n,a,l;const o=new Date().getFullYear();X(async()=>{await pe();const c=n.querySelector("slot[name=nav]"),d=n.querySelector("slot[name=meta]");t(2,a=c.assignedElements()),t(3,l=d.assignedElements())});function s(c){ne[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,a,l,o,s]}class Yr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Jr,Zr,I,{maxcontentwidth:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-footer",Yr);function It(i,e,t){const r=i.slice();return r[3]=e[t],r}function Pt(i){let e,t,r=i[3].innerHTML+"",n,a;return{c(){e=v("li"),t=v("a"),n=G(r),u(t,"href",a=i[3].href)},m(l,o){p(l,e,o),b(e,t),b(t,n)},p(l,o){o&2&&r!==(r=l[3].innerHTML+"")&&K(n,r),o&2&&a!==(a=l[3].href)&&u(t,"href",a)},d(l){l&&T(e)}}}function Qr(i){let e,t,r,n,a=i[1],l=[];for(let o=0;o<a.length;o+=1)l[o]=Pt(It(i,a,o));return{c(){e=v("section"),t=v("div"),t.innerHTML="<slot></slot>",r=B(),n=v("ul");for(let o=0;o<l.length;o+=1)l[o].c();this.c=x,u(t,"class","hidden")},m(o,s){p(o,e,s),b(e,t),b(e,r),b(e,n);for(let c=0;c<l.length;c+=1)l[c].m(n,null);i[2](e)},p(o,[s]){if(s&2){a=o[1];let c;for(c=0;c<a.length;c+=1){const d=It(o,a,c);l[c]?l[c].p(d,s):(l[c]=Pt(d),l[c].c(),l[c].m(n,null))}for(;c<l.length;c+=1)l[c].d(1);l.length=a.length}},i:x,o:x,d(o){o&&T(e),Pe(l,o),i[2](null)}}}function $r(i,e,t){let r,n=[];X(async()=>{if(await pe(),t(1,n=r.querySelector("slot").assignedElements()),!n.map(o=>o.hasAttribute("href")).reduce((o,s)=>o&&s,!0)){t(1,n=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function a(l){ne[l?"unshift":"push"](()=>{r=l,t(0,r)})}return[r,n,a]}class en extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},$r,Qr,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",en);function qt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Ft(i){let e,t,r,n;return{c(){e=v("div"),t=G(i[0]),r=B(),n=v("goa-divider"),u(e,"class","title"),C(n,"spacing","small")},m(a,l){p(a,e,l),b(e,t),p(a,r,l),p(a,n,l)},p(a,l){l&1&&K(t,a[0])},d(a){a&&T(e),a&&T(r),a&&T(n)}}}function Vt(i){let e,t,r=i[5].innerHTML+"",n,a;return{c(){e=v("li"),t=v("a"),n=G(r),u(t,"href",a=i[5].href)},m(l,o){p(l,e,o),b(e,t),b(t,n)},p(l,o){o&8&&r!==(r=l[5].innerHTML+"")&&K(n,r),o&8&&a!==(a=l[5].href)&&u(t,"href",a)},d(l){l&&T(e)}}}function tn(i){let e,t,r,n,a,l,o=i[0]&&Ft(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=Vt(qt(i,s,d));return{c(){e=v("section"),o&&o.c(),t=B(),r=v("div"),r.innerHTML="<slot></slot>",n=B(),a=v("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=x,u(r,"class","hidden"),u(a,"class","links"),u(a,"style",l=`
|
|
40
37
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
41
38
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
42
39
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
43
40
|
--wide-column-count: ${i[1]};
|
|
44
|
-
`)},m(d,f){p(d,e,f),
|
|
41
|
+
`)},m(d,f){p(d,e,f),o&&o.m(e,null),b(e,t),b(e,r),b(e,n),b(e,a);for(let h=0;h<c.length;h+=1)c[h].m(a,null);i[4](e)},p(d,[f]){if(d[0]?o?o.p(d,f):(o=Ft(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&8){s=d[3];let h;for(h=0;h<s.length;h+=1){const _=qt(d,s,h);c[h]?c[h].p(_,f):(c[h]=Vt(_),c[h].c(),c[h].m(a,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=s.length}f&2&&l!==(l=`
|
|
45
42
|
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
46
43
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
47
44
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
48
45
|
--wide-column-count: ${d[1]};
|
|
49
|
-
`)&&u(
|
|
46
|
+
`)&&u(a,"style",l)},i:x,o:x,d(d){d&&T(e),o&&o.d(),Pe(c,d),i[4](null)}}}function rn(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,a,l=[];X(async()=>{if(await pe(),t(3,l=a.querySelector("slot").assignedElements()),!l.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,l=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}_t(a,":host",{"flex-grow":n})});function o(s){ne[s?"unshift":"push"](()=>{a=s,t(2,a)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,a,l,o]}class nn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text-default)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},rn,tn,I,{heading:0,maxcolumncount:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),g()}}customElements.define("goa-app-footer-nav-section",nn);function Gt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),a=n&&Ut(i);return{c(){e=v("div"),t=G(i[5]),r=B(),a&&a.c(),u(e,"class","label")},m(l,o){p(l,e,o),b(e,t),b(e,r),a&&a.m(e,null)},p(l,o){o&32&&K(t,l[5]),o&256&&(n=l[8]&&l[9].includes(l[8])),n?a?a.p(l,o):(a=Ut(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null)},d(l){l&&T(e),a&&a.d()}}}function Ut(i){let e,t,r,n;return{c(){e=v("em"),t=G("("),r=G(i[8]),n=G(")")},m(a,l){p(a,e,l),b(e,t),b(e,r),b(e,n)},p(a,l){l&256&&K(r,a[8])},d(a){a&&T(e)}}}function Wt(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon"),r=B(),n=G(i[7]),C(t,"type","warning"),C(t,"size","small"),C(t,"theme","filled"),$(t,"pointer-events","none"),u(e,"class","error-msg")},m(a,l){p(a,e,l),b(e,t),b(e,r),b(e,n)},p(a,l){l&128&&K(n,a[7])},d(a){a&&T(e)}}}function Kt(i){let e,t;return{c(){e=v("div"),t=G(i[6]),u(e,"class","help-msg")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&64&&K(t,r[6])},d(r){r&&T(e)}}}function an(i){let e,t,r,n,a,l,o=i[5]&&Gt(i),s=i[7]&&Wt(i),c=i[6]&&Kt(i);return{c(){e=v("div"),o&&o.c(),t=B(),r=v("div"),r.innerHTML="<slot></slot>",n=B(),s&&s.c(),a=B(),c&&c.c(),this.c=x,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",l=V(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){p(d,e,f),o&&o.m(e,null),b(e,t),b(e,r),b(e,n),s&&s.m(e,null),b(e,a),c&&c.m(e,null)},p(d,[f]){d[5]?o?o.p(d,f):(o=Gt(d),o.c(),o.m(e,t)):o&&(o.d(1),o=null),d[7]?s?s.p(d,f):(s=Wt(d),s.c(),s.m(e,a)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=Kt(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&l!==(l=V(d[1],d[2],d[3],d[4]))&&u(e,"style",l)},i:x,o:x,d(d){d&&T(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function on(i,e,t){const[r,n]=Z("Requirement type",["optional","required"],!1);let{testid:a=""}=e,{mt:l=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:_=""}=e;return X(()=>{n(_)}),i.$$set=y=>{"testid"in y&&t(0,a=y.testid),"mt"in y&&t(1,l=y.mt),"mr"in y&&t(2,o=y.mr),"mb"in y&&t(3,s=y.mb),"ml"in y&&t(4,c=y.ml),"label"in y&&t(5,d=y.label),"helptext"in y&&t(6,f=y.helptext),"error"in y&&t(7,h=y.error),"requirement"in y&&t(8,_=y.requirement)},[a,l,o,s,c,d,f,h,_,r]}class ln extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:0.5rem 0}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},on,an,I,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),g()}}customElements.define("goa-form-item",ln);function sn(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=x,u(e,"class","goa-grid"),u(e,"style",r=`
|
|
50
47
|
${V(i[2],i[3],i[4],i[5])}
|
|
51
48
|
--min-child-width: ${i[1]||0};
|
|
52
|
-
gap: var(--goa-
|
|
53
|
-
`)},m(n,
|
|
49
|
+
gap: var(--goa-space-${i[0]})
|
|
50
|
+
`)},m(n,a){p(n,e,a),b(e,t)},p(n,[a]){a&63&&r!==(r=`
|
|
54
51
|
${V(n[2],n[3],n[4],n[5])}
|
|
55
52
|
--min-child-width: ${n[1]||0};
|
|
56
|
-
gap: var(--goa-
|
|
57
|
-
`)&&u(e,"style",r)},i:
|
|
53
|
+
gap: var(--goa-space-${n[0]})
|
|
54
|
+
`)&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function cn(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:a=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:s=null}=e;return X(()=>{Ii("Grid",{minchildwidth:n})}),i.$$set=c=>{"gap"in c&&t(0,r=c.gap),"minchildwidth"in c&&t(1,n=c.minchildwidth),"mt"in c&&t(2,a=c.mt),"mr"in c&&t(3,l=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,a,l,o,s]}class dn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},cn,sn,I,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-grid",dn);function un(i){let e,t,r,n,a,l,o,s;return{c(){e=v("div"),t=v("goa-page-block"),r=v("h1"),n=G(i[0]),a=B(),l=v("div"),l.innerHTML="<slot></slot>",o=B(),s=v("slot"),this.c=x,u(l,"class","goa-hero-banner-content"),u(l,"role","note"),u(s,"name","actions"),C(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),$(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+i[1]+")"),$(e,"background-size","cover"),$(e,"background-position","center"),$(e,"background-repeat","no-repeat"),$(e,"min-height",i[2])},m(c,d){p(c,e,d),b(e,t),b(t,r),b(r,n),b(t,a),b(t,l),b(t,o),b(t,s)},p(c,[d]){d&1&&K(n,c[0]),d&2&&$(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")"),d&4&&$(e,"min-height",c[2])},i:x,o:x,d(c){c&&T(e)}}}function fn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e,{minheight:a="600px"}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"backgroundurl"in l&&t(1,n=l.backgroundurl),"minheight"in l&&t(2,a=l.minheight)},[r,n,a]}class gn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand-default);color:var(--goa-color-greyscale-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--goa-color-greyscale-white);font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},fn,un,I,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),g()}}customElements.define("goa-hero-banner",gn);function hn(i){let e,t,r,n,a;return{c(){e=v("button"),t=v("goa-icon"),this.c=x,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[9]),u(e,"style",r=""+(V(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(l,o){p(l,e,o),b(e,t),n||(a=J(e,"click",mn),n=!0)},p(l,[o]){o&8&&C(t,"title",l[3]),o&1&&C(t,"type",l[0]),o&2&&C(t,"size",l[1]),o&4&&C(t,"theme",l[2]),o&512&&C(t,"inverted",l[9]),o&1504&&r!==(r=""+(V(l[5],l[6],l[7],l[8])+"; --pading-size: "+l[10]))&&u(e,"style",r),o&8&&u(e,"title",l[3]),o&2048&&(e.disabled=l[11]),o&4096&&u(e,"class",l[12]),o&16&&u(e,"data-testid",l[4])},i:x,o:x,d(l){l&&T(e),n=!1,a()}}}function mn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function bn(i,e,t){let r,n,a,l;const[o,s]=Z("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:_=""}=e,{testid:y=""}=e,{disabled:w="false"}=e,{inverted:k="false"}=e,{mt:m=null}=e,{mr:E=null}=e,{mb:S=null}=e,{ml:R=null}=e;return X(()=>{s(h)}),i.$$set=M=>{"icon"in M&&t(0,c=M.icon),"size"in M&&t(1,d=M.size),"theme"in M&&t(2,f=M.theme),"variant"in M&&t(13,h=M.variant),"title"in M&&t(3,_=M.title),"testid"in M&&t(4,y=M.testid),"disabled"in M&&t(14,w=M.disabled),"inverted"in M&&t(15,k=M.inverted),"mt"in M&&t(5,m=M.mt),"mr"in M&&t(6,E=M.mr),"mb"in M&&t(7,S=M.mb),"ml"in M&&t(8,R=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,a=U(k)),i.$$.dirty&8704&&t(12,r=`${h} ${a?"inverted":""}`),i.$$.dirty&16384&&t(11,n=U(w)),i.$$.dirty&2&&t(10,l={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,_,y,m,E,S,R,a,l,n,r,h,w,k]}class vn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--goa-font-family-sans)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive-default);fill:var(--goa-color-interactive-default);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus,button:active{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-interactive-focus);color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-interactive-hover)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},bn,hn,I,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-icon-button",vn);function Xt(i){let e,t;return{c(){e=v("ion-icon"),C(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){p(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&C(e,"name",t)},d(r){r&&T(e)}}}function yn(i){let e,t,r=i[4]&&Xt(i);return{c(){e=v("div"),r&&r.c(),this.c=x,u(e,"class","goa-icon"),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",t=`
|
|
58
55
|
${V(i[0],i[1],i[2],i[3])}
|
|
59
56
|
--size: ${i[11]};
|
|
60
57
|
--fill-color: ${i[6]};
|
|
61
58
|
--hover-color: ${i[7]};
|
|
62
59
|
--opacity: ${i[8]};
|
|
63
|
-
`),j(e,"inverted",i[12])},m(n,
|
|
60
|
+
`),j(e,"inverted",i[12])},m(n,a){p(n,e,a),r&&r.m(e,null)},p(n,[a]){n[4]?r?r.p(n,a):(r=Xt(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null),a&1024&&u(e,"data-testid",n[10]),a&512&&u(e,"title",n[9]),a&2511&&t!==(t=`
|
|
64
61
|
${V(n[0],n[1],n[2],n[3])}
|
|
65
62
|
--size: ${n[11]};
|
|
66
63
|
--fill-color: ${n[6]};
|
|
67
64
|
--hover-color: ${n[7]};
|
|
68
65
|
--opacity: ${n[8]};
|
|
69
|
-
`)&&u(e,"style",t),
|
|
66
|
+
`)&&u(e,"style",t),a&4096&&j(e,"inverted",n[12])},i:x,o:x,d(n){n&&T(e),r&&r.d()}}}function wn(i,e,t){let r,n,{mt:a=null}=e,{mr:l=null}=e,{mb:o=null}=e,{ml:s=null}=e,{type:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{inverted:h="false"}=e,{fillcolor:_=""}=e,{hovercolor:y=""}=e,{opacity:w=1}=e,{title:k=""}=e,{testid:m=""}=e;return i.$$set=E=>{"mt"in E&&t(0,a=E.mt),"mr"in E&&t(1,l=E.mr),"mb"in E&&t(2,o=E.mb),"ml"in E&&t(3,s=E.ml),"type"in E&&t(4,c=E.type),"size"in E&&t(13,d=E.size),"theme"in E&&t(5,f=E.theme),"inverted"in E&&t(14,h=E.inverted),"fillcolor"in E&&t(6,_=E.fillcolor),"hovercolor"in E&&t(7,y=E.hovercolor),"opacity"in E&&t(8,w=E.opacity),"title"in E&&t(9,k=E.title),"testid"in E&&t(10,m=E.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(h)),i.$$.dirty&8192&&t(11,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[a,l,o,s,c,f,_,y,w,k,m,n,r,d,h]}class _n extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},wn,yn,I,{mt:0,mr:1,mb:2,ml:3,type:4,size:13,theme:5,inverted:14,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","hovercolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[13]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-icon",_n);function Zt(i){let e,t;return{c(){e=v("div"),t=G(i[14]),u(e,"class","prefix")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n[0]&16384&&K(t,r[14])},d(r){r&&T(e)}}}function Jt(i){let e;return{c(){e=v("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),C(e,"type",i[5])},m(t,r){p(t,e,r)},p(t,r){r[0]&32&&C(e,"type",t[5])},d(t){t&&T(e)}}}function Yt(i){let e;return{c(){e=v("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[6])},m(t,r){p(t,e,r)},p(t,r){r[0]&64&&C(e,"type",t[6])},d(t){t&&T(e)}}}function Qt(i){let e,t,r;return{c(){e=v("goa-icon-button"),C(e,"disabled",i[21]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"icon",i[6]),C(e,"data-testid","trailing-icon-button")},m(n,a){p(n,e,a),t||(r=J(e,"click",pn),t=!0)},p(n,a){a[0]&2097152&&C(e,"disabled",n[21]),a[0]&64&&C(e,"icon",n[6])},d(n){n&&T(e),t=!1,r()}}}function $t(i){let e,t;return{c(){e=v("span"),t=G(i[15]),u(e,"class","suffix")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n[0]&32768&&K(t,r[15])},d(r){r&&T(e)}}}function kn(i){let e,t,r,n,a,l,o,s,c,d,f,h,_,y,w,k,m,E,S,R=i[14]&&Zt(i),M=i[5]&&Jt(i),z=i[6]&&!i[24]&&Yt(i),O=i[6]&&i[24]&&Qt(i),A=i[15]&&$t(i);return{c(){e=v("div"),t=v("div"),R&&R.c(),r=B(),n=v("div"),n.innerHTML='<slot name="leadingContent"></slot>',a=B(),M&&M.c(),l=B(),o=v("input"),f=B(),z&&z.c(),h=B(),O&&O.c(),_=B(),A&&A.c(),y=B(),w=v("div"),w.innerHTML='<slot name="trailingContent"></slot>',this.c=x,u(n,"class","leading-content"),u(o,"class",s=`input--${i[7]}`),u(o,"style",c=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[23],o.disabled=i[21],u(o,"data-testid",i[8]),u(o,"autocapitalize",i[3]),u(o,"name",i[2]),u(o,"type",i[1]),o.value=i[0],u(o,"placeholder",i[4]),u(o,"min",i[11]),u(o,"max",i[12]),u(o,"step",i[13]),u(o,"role","textbox"),u(o,"aria-label",d=i[10]||i[2]),u(w,"class","trailing-content"),u(t,"class",k=`
|
|
70
67
|
goa-input
|
|
71
68
|
${i[21]?"goa-input--disabled":""}
|
|
72
69
|
variant--${i[7]}
|
|
73
70
|
type--${i[1]}
|
|
74
|
-
`),j(t,"error",i[22]),u(e,"class","container"),u(e,"style",
|
|
71
|
+
`),j(t,"error",i[22]),u(e,"class","container"),u(e,"style",m=`
|
|
75
72
|
${V(i[16],i[17],i[18],i[19])};
|
|
76
73
|
--width: ${i[9]};
|
|
77
|
-
`)},m(L,
|
|
74
|
+
`)},m(L,N){p(L,e,N),b(e,t),R&&R.m(t,null),b(t,r),b(t,n),b(t,a),M&&M.m(t,null),b(t,l),b(t,o),i[32](o),b(t,f),z&&z.m(t,null),b(t,h),O&&O.m(t,null),b(t,_),A&&A.m(t,null),b(t,y),b(t,w),E||(S=[J(o,"keyup",i[25]),J(o,"change",i[25])],E=!0)},p(L,N){L[14]?R?R.p(L,N):(R=Zt(L),R.c(),R.m(t,r)):R&&(R.d(1),R=null),L[5]?M?M.p(L,N):(M=Jt(L),M.c(),M.m(t,l)):M&&(M.d(1),M=null),N[0]&128&&s!==(s=`input--${L[7]}`)&&u(o,"class",s),N[0]&64&&c!==(c=`--search-icon-offset: ${L[6]?"-0.5rem":"0"}`)&&u(o,"style",c),N[0]&8388608&&(o.readOnly=L[23]),N[0]&2097152&&(o.disabled=L[21]),N[0]&256&&u(o,"data-testid",L[8]),N[0]&8&&u(o,"autocapitalize",L[3]),N[0]&4&&u(o,"name",L[2]),N[0]&2&&u(o,"type",L[1]),N[0]&1&&o.value!==L[0]&&(o.value=L[0]),N[0]&16&&u(o,"placeholder",L[4]),N[0]&2048&&u(o,"min",L[11]),N[0]&4096&&u(o,"max",L[12]),N[0]&8192&&u(o,"step",L[13]),N[0]&1028&&d!==(d=L[10]||L[2])&&u(o,"aria-label",d),L[6]&&!L[24]?z?z.p(L,N):(z=Yt(L),z.c(),z.m(t,h)):z&&(z.d(1),z=null),L[6]&&L[24]?O?O.p(L,N):(O=Qt(L),O.c(),O.m(t,_)):O&&(O.d(1),O=null),L[15]?A?A.p(L,N):(A=$t(L),A.c(),A.m(t,y)):A&&(A.d(1),A=null),N[0]&2097282&&k!==(k=`
|
|
78
75
|
goa-input
|
|
79
76
|
${L[21]?"goa-input--disabled":""}
|
|
80
77
|
variant--${L[7]}
|
|
81
78
|
type--${L[1]}
|
|
82
|
-
`)&&u(t,"class",k),
|
|
79
|
+
`)&&u(t,"class",k),N[0]&6291586&&j(t,"error",L[22]),N[0]&983552&&m!==(m=`
|
|
83
80
|
${V(L[16],L[17],L[18],L[19])};
|
|
84
81
|
--width: ${L[9]};
|
|
85
|
-
`)&&u(e,"style",
|
|
86
|
-
center center no-repeat}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},xn,
|
|
87
|
-
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(o,"data-testid","site-text"),u(o,"class","site-text")},m(f,m){p(f,e,m),b(e,r),p(f,l,m),p(f,o,m),b(o,a),b(o,s),b(o,c),d&&d.m(o,null)},p(f,m){m&1&&t!==(t=ri(f[0])+"")&&K(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,m):(d=ti(f),d.c(),d.m(o,null)):d&&(d.d(1),d=null)},d(f){f&&M(e),f&&M(l),f&&M(o),d&&d.d()}}}function ti(i){let e,t,r,n;return{c(){e=v("span"),t=G("\u2014 help us improve it by giving "),r=v("a"),n=G("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(l,o){p(l,e,o),b(e,t),b(e,r),b(r,n)},p(l,o){o&4&&u(r,"href",l[2])},d(l){l&&M(e)}}}function ii(i){let e,t;return{c(){e=v("div"),t=G(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&M(e)}}}function zn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,o,a=i[0]==="live"&&$t(),s=r&&ei(i),c=i[1]&&ii(i);return{c(){e=v("header"),a&&a.c(),t=S(),s&&s.c(),n=S(),l=v("div"),o=S(),c&&c.c(),this.c=E,u(l,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),a&&a.m(e,null),b(e,t),s&&s.m(e,null),b(e,n),b(e,l),b(e,o),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?a||(a=$t(),a.c(),a.m(e,t)):a&&(a.d(1),a=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ei(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=ii(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:E,o:E,d(d){d&&M(e),a&&a.d(),s&&s.d(),c&&c.d()}}}function ri(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Tn(i,e,t){const[r,n]=X("Microsite header type",["live","alpha","beta"],!0);let{type:l}=e,{version:o=""}=e,{feedbackurl:a=""}=e;return Z(()=>{n(l)}),i.$$set=s=>{"type"in s&&t(0,l=s.type),"version"in s&&t(1,o=s.version),"feedbackurl"in s&&t(2,a=s.feedbackurl)},[l,o,a]}class Mn extends P{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-sm);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-type--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text);line-height:1.25rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Tn,zn,I,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type: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",Mn);function ni(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w,_,k,g,x,H,A,T,C,O,R=i[3]!==null&&li(i),L=i[0]&&ai(i),D=i[4]&&oi(i);function ae(ee,re){return Ln}let te=ae()(i);return{c(){e=v("goa-focus-trap"),t=v("div"),r=v("div"),n=S(),l=v("div"),R&&R.c(),o=S(),a=v("div"),L&&L.c(),s=S(),D&&D.c(),c=S(),d=v("div"),te.c(),f=S(),m=v("slot"),y=S(),w=v("div"),w.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(w,"class","modal-actions"),u(w,"data-testid","modal-actions"),u(a,"class","content"),u(l,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",g=""+((i[2]&&`--width: ${i[2]};`)+";")),z(e,"active",i[1])},m(ee,re){p(ee,e,re),b(e,t),b(t,r),b(t,n),b(t,l),R&&R.m(l,null),b(l,o),b(l,a),L&&L.m(a,null),b(a,s),D&&D.m(a,null),b(a,c),b(a,d),te.m(d,null),b(d,f),b(d,m),b(a,y),b(a,w),T=!0,C||(O=[Y(r,"click",i[8]),ot(x=Mt.call(null,t,{enable:i[7]}))],C=!0)},p(ee,re){i=ee,i[3]!==null?R?R.p(i,re):(R=li(i),R.c(),R.m(l,o)):R&&(R.d(1),R=null),i[0]?L?L.p(i,re):(L=ai(i),L.c(),L.m(a,s)):L&&(L.d(1),L=null),i[4]?D?D.p(i,re):(D=oi(i),D.c(),D.m(a,c)):D&&(D.d(1),D=null),(!T||re&4&&g!==(g=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",g),x&&ue(x.update)&&re&128&&x.update.call(null,{enable:i[7]}),(!T||re&2)&&z(e,"active",i[1])},i(ee){T||(oe(()=>{k&&k.end(1),_=gt(l,Tt,{duration:i[6],y:200}),_.start()}),oe(()=>{A&&A.end(1),H=gt(t,ze,{duration:i[6]}),H.start()}),T=!0)},o(ee){_&&_.invalidate(),k=bt(l,Tt,{delay:i[6],duration:i[6],y:-100}),H&&H.invalidate(),A=bt(t,ze,{delay:i[6],duration:i[6]}),T=!1},d(ee){ee&&M(e),R&&R.d(),L&&L.d(),D&&D.d(),te.d(),ee&&k&&k.end(),ee&&A&&A.end(),C=!1,le(O)}}}function li(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon"),z(t,"type",i[5]),z(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(l,o){p(l,e,o),b(e,t)},p(l,o){o&32&&z(t,"type",l[5]),o&8&&r!==(r=l[3]==="important"?"false":"true")&&z(t,"inverted",r),o&8&&n!==(n="callout-bar "+l[3])&&u(e,"class",n)},d(l){l&&M(e)}}}function ai(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&M(e)}}}function oi(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"icon","close"),z(t,"variant","nocolor"),u(e,"class","modal-close")},m(l,o){p(l,e,o),b(e,t),r||(n=Y(t,"click",i[8]),r=!0)},p:E,d(l){l&&M(e),r=!1,n()}}}function Ln(i){let e;return{c(){e=v("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&M(e)}}}function An(i){let e,t,r=i[7]&&ni(i);return{c(){r&&r.c(),e=ve(),this.c=E},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&W(r,1)):(r=ni(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ce())},i(n){t||(W(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Rn(i,e,t){let r,n,l,o;const[a,s]=X("Callout variant",["emergency","important","information","success","event"]),[c,d]=X("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:m="false"}=e,{open:y="false"}=e,{transition:w="none"}=e,{width:_=""}=e,{calloutvariant:k=null}=e;function g(x){!r||(x.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),x.stopPropagation())}return Z(()=>{s(k),d(w)}),i.$$set=x=>{"heading"in x&&t(0,f=x.heading),"closable"in x&&t(9,m=x.closable),"open"in x&&t(1,y=x.open),"transition"in x&&t(10,w=x.transition),"width"in x&&t(2,_=x.width),"calloutvariant"in x&&t(3,k=x.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=U(m)),i.$$.dirty&2&&t(7,n=U(y)),i.$$.dirty&1024&&t(6,l=w==="none"?0:w==="slow"?400:200),i.$$.dirty&8&&t(5,o=k==="emergency"?"warning":k==="important"?"alert-circle":k==="information"?"information-circle":k==="success"?"checkmark-circle":k==="event"?"calendar":"")},[f,y,_,k,r,o,l,n,g,m,w]}class Hn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-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)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:6px 6px 6px rgba(0, 0, 0, 0.16);border-radius:4px;max-height:90%;border:1px solid var(--color-gray-600)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--fs-xl);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Rn,An,I,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Hn);function si(i){let e,t,r,n,l,o,a,s,c,d,f,m,y,w,_;return{c(){e=v("div"),t=v("div"),r=v("goa-icon"),l=S(),o=v("div"),o.innerHTML="<slot></slot>",a=S(),s=v("div"),c=v("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(o,"class","content"),z(c,"icon","close"),z(c,"variant","dark"),z(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(k,g){p(k,e,g),b(e,t),b(t,r),b(e,l),b(e,o),b(e,a),b(e,s),b(s,c),y=!0,w||(_=Y(c,"click",i[3]),w=!0)},p(k,g){(!y||g&4)&&z(r,"type",k[2]),(!y||g&1&&n!==(n=k[0]==="important"?"false":"true"))&&z(r,"inverted",n),(!y||g&1&&d!==(d=k[0]==="important"?"false":"true"))&&z(c,"inverted",d),(!y||g&1&&f!==(f="notification "+k[0]))&&u(e,"class",f)},i(k){y||(oe(()=>{m||(m=Ke(e,ze,{},!0)),m.run(1)}),y=!0)},o(k){m||(m=Ke(e,ze,{},!1)),m.run(0),y=!1},d(k){k&&M(e),k&&m&&m.end(),w=!1,_()}}}function Sn(i){let e,t,r=i[1]&&si(i);return{c(){r&&r.c(),e=ve(),this.c=E},m(n,l){r&&r.m(n,l),p(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&W(r,1)):(r=si(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),J(r,1,1,()=>{r=null}),Ce())},i(n){t||(W(r),t=!0)},o(n){J(r),t=!1},d(n){r&&r.d(n),n&&M(e)}}}function Bn(i,e,t){let r;const[n,l]=X("Notification type",["emergency","important","information","event"],!0);let{type:o=""}=e,a=!0;Z(()=>{l(o)});function s(){t(1,a=!1)}return i.$$set=c=>{"type"in c&&t(0,o=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="event"?"calendar":"")},[o,a,r,s]}class Dn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.important{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}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Bn,Sn,I,{type:0},null),e&&(e.target&&p(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",Dn);const Nn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function On(i){return Nn.test(i)}function jn(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=E,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){p(n,e,l),b(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function In(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function o(a){return!!(["full"].includes(n)||On(a))}return Z(()=>{o(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=a=>{"width"in a&&t(1,n=a.width),"_width"in a&&t(0,l=a._width)},[l,n]}class Pn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},In,jn,I,{width:1,_width:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",Pn);function ci(i,e,t){const r=i.slice();return r[22]=e[t],r}function di(i,e){let t,r,n,l,o,a,s,c,d,f=(e[22].label||e[22].value)+"",m,y,w,_,k;function g(){return e[16](e[22])}return{key:i,first:null,c(){t=v("label"),r=v("input"),a=S(),s=v("div"),c=S(),d=v("span"),m=G(f),y=S(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=l=e[22].value===e[0],u(r,"aria-label",o=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",w="radio-option-"+e[22].value),u(t,"class","goa-radio"),j(t,"goa-radio--disabled",e[12]),j(t,"goa-radio--error",e[11]),this.first=t},m(x,H){p(x,t,H),b(t,r),b(t,a),b(t,s),b(t,c),b(t,d),b(d,m),b(t,y),_||(k=Y(r,"change",g),_=!0)},p(x,H){e=x,H&2&&u(r,"name",e[1]),H&512&&n!==(n=e[22].value)&&(r.value=n),H&4096&&(r.disabled=e[12]),H&513&&l!==(l=e[22].value===e[0])&&(r.checked=l),H&18&&o!==(o=e[4]||e[1])&&u(r,"aria-label",o),H&512&&f!==(f=(e[22].label||e[22].value)+"")&&K(m,f),H&512&&w!==(w="radio-option-"+e[22].value)&&u(t,"data-testid",w),H&4096&&j(t,"goa-radio--disabled",e[12]),H&2048&&j(t,"goa-radio--error",e[11])},d(x){x&&M(t),_=!1,k()}}}function qn(i){let e,t,r,n=[],l=new Map,o,a,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=ci(i,s,d),m=c(f);l.set(m,n[d]=di(m,f))}return{c(){e=v("div"),t=v("slot"),r=S();for(let d=0;d<n.length;d+=1)n[d].c();this.c=E,u(e,"style",o=V(i[5],i[6],i[7],i[8])),u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,e,f),b(e,t),b(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],n=wt(n,f,c,1,d,s,l,e,vt,di,null,ci)),f&480&&o!==(o=V(d[5],d[6],d[7],d[8]))&&u(e,"style",o),f&4&&a!==(a=`goa-radio-group--${d[2]}`)&&u(e,"class",a),f&8&&u(e,"data-testid",d[3])},i:E,o:E,d(d){d&&M(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function Fn(i,e,t){let r,n;const[l,o]=X("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:m=""}=e,{arialabel:y=""}=e,{mt:w=null}=e,{mr:_=null}=e,{mb:k=null}=e,{ml:g=null}=e,x=[],H;Z(async()=>{await Ee(),t(9,x=T())});function A(){const L=H.querySelector("slot");return L?[...L.assignedElements()]:[...H.children]}function T(){return A().map(D=>{const ae=D,$=D.getAttribute("value")||ae.value,te=D.getAttribute("label")||D.innerText||ae.label||ae.innerText;return{value:$,label:te}})}function C(L){L!==s&&(t(0,s=L),H.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:s}})))}Z(()=>{o(c)});const O=L=>C(L.value);function R(L){ne[L?"unshift":"push"](()=>{H=L,t(10,H)})}return i.$$set=L=>{"name"in L&&t(1,a=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=L.orientation),"disabled"in L&&t(14,d=L.disabled),"error"in L&&t(15,f=L.error),"testid"in L&&t(3,m=L.testid),"arialabel"in L&&t(4,y=L.arialabel),"mt"in L&&t(5,w=L.mt),"mr"in L&&t(6,_=L.mr),"mb"in L&&t(7,k=L.mb),"ml"in L&&t(8,g=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(d)),i.$$.dirty&32768&&t(11,n=U(f))},[s,a,c,m,y,w,_,k,g,x,H,n,r,C,d,f,O,R]}class Vn extends P{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:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
88
|
-
var(--goa-color-interactive
|
|
89
|
-
var(--goa-color-interactive
|
|
82
|
+
`)&&u(e,"style",m)},i:x,o:x,d(L){L&&T(e),R&&R.d(),M&&M.d(),i[32](null),z&&z.d(),O&&O.d(),A&&A.d(),E=!1,oe(S)}}}function pn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function xn(i,e,t){let r,n,a,l,o;const[s,c]=Z("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=Z("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:_=""}=e,{value:y=""}=e,{autocapitalize:w="off"}=e,{placeholder:k=""}=e,{leadingicon:m=null}=e,{trailingicon:E=null}=e,{variant:S="goa"}=e,{disabled:R="false"}=e,{handletrailingiconclick:M="false"}=e,{focused:z="false"}=e,{readonly:O="false"}=e,{error:A="false"}=e,{testid:L=""}=e,{width:N="30ch"}=e,{arialabel:se=null}=e,{min:Q=null}=e,{max:te=null}=e,{step:ee=null}=e,{prefix:re=""}=e,{suffix:Me=""}=e,{mt:Ze=null}=e,{mr:Je=null}=e,{mb:Ye=null}=e,{ml:Se=null}=e,le;function ce(D){const Be=D.target;D.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:_,value:Be.value}})),t(0,y=Be.value)}X(()=>{c(h),f(w),(re!=""||Me!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function Qe(D){ne[D?"unshift":"push"](()=>{le=D,t(20,le)})}return i.$$set=D=>{"type"in D&&t(1,h=D.type),"name"in D&&t(2,_=D.name),"value"in D&&t(0,y=D.value),"autocapitalize"in D&&t(3,w=D.autocapitalize),"placeholder"in D&&t(4,k=D.placeholder),"leadingicon"in D&&t(5,m=D.leadingicon),"trailingicon"in D&&t(6,E=D.trailingicon),"variant"in D&&t(7,S=D.variant),"disabled"in D&&t(26,R=D.disabled),"handletrailingiconclick"in D&&t(27,M=D.handletrailingiconclick),"focused"in D&&t(28,z=D.focused),"readonly"in D&&t(29,O=D.readonly),"error"in D&&t(30,A=D.error),"testid"in D&&t(8,L=D.testid),"width"in D&&t(9,N=D.width),"arialabel"in D&&t(10,se=D.arialabel),"min"in D&&t(11,Q=D.min),"max"in D&&t(12,te=D.max),"step"in D&&t(13,ee=D.step),"prefix"in D&&t(14,re=D.prefix),"suffix"in D&&t(15,Me=D.suffix),"mt"in D&&t(16,Ze=D.mt),"mr"in D&&t(17,Je=D.mr),"mb"in D&&t(18,Ye=D.mb),"ml"in D&&t(19,Se=D.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=U(M)),i.$$.dirty[0]&268435456&&t(31,n=U(z)),i.$$.dirty[0]&536870912&&t(23,a=U(O)),i.$$.dirty[0]&1073741824&&t(22,l=U(A)),i.$$.dirty[0]&67108864&&t(21,o=U(R)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&1&&n&&le&&setTimeout(()=>le.focus(),1),i.$$.dirty[0]&1048578&&le&&h==="search"&&le.addEventListener("search",D=>{ce(D)})},[y,h,_,w,k,m,E,S,L,N,se,Q,te,ee,re,Me,Ze,Je,Ye,Se,le,o,l,a,r,ce,R,M,z,O,A,n,Qe]}class En extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--color-white)}.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)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:0;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error: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>')
|
|
83
|
+
center center no-repeat}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},xn,kn,I,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",En);function ei(i){let e,t,r;return{c(){e=v("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=B(),r=v("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(n,a){p(n,e,a),p(n,t,a),p(n,r,a)},d(n){n&&T(e),n&&T(t),n&&T(r)}}}function ti(i){let e,t=ni(i[0])+"",r,n,a,l,o,s,c,d=i[2]&&ii(i);return{c(){e=v("div"),r=G(t),a=B(),l=v("div"),o=G("This is a new "),s=v("a"),s.textContent="Alberta Government",c=G(` service
|
|
84
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(l,"data-testid","site-text"),u(l,"class","site-text")},m(f,h){p(f,e,h),b(e,r),p(f,a,h),p(f,l,h),b(l,o),b(l,s),b(l,c),d&&d.m(l,null)},p(f,h){h&1&&t!==(t=ni(f[0])+"")&&K(r,t),h&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",n),f[2]?d?d.p(f,h):(d=ii(f),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},d(f){f&&T(e),f&&T(a),f&&T(l),d&&d.d()}}}function ii(i){let e,t,r,n;return{c(){e=v("span"),t=G("\u2014 help us improve it by giving "),r=v("a"),n=G("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(a,l){p(a,e,l),b(e,t),b(e,r),b(r,n)},p(a,l){l&4&&u(r,"href",a[2])},d(a){a&&T(e)}}}function ri(i){let e,t;return{c(){e=v("div"),t=G(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&T(e)}}}function zn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,a,l,o=i[0]==="live"&&ei(),s=r&&ti(i),c=i[1]&&ri(i);return{c(){e=v("header"),o&&o.c(),t=B(),s&&s.c(),n=B(),a=v("div"),l=B(),c&&c.c(),this.c=x,u(a,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){p(d,e,f),o&&o.m(e,null),b(e,t),s&&s.m(e,null),b(e,n),b(e,a),b(e,l),c&&c.m(e,null)},p(d,[f]){d[0]==="live"?o||(o=ei(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?s?s.p(d,f):(s=ti(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[1]?c?c.p(d,f):(c=ri(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:x,o:x,d(d){d&&T(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ni(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Cn(i,e,t){const[r,n]=Z("Microsite header type",["live","alpha","beta"],!0);let{type:a}=e,{version:l=""}=e,{feedbackurl:o=""}=e;return X(()=>{n(a)}),i.$$set=s=>{"type"in s&&t(0,a=s.type),"version"in s&&t(1,l=s.version),"feedbackurl"in s&&t(2,o=s.feedbackurl)},[a,l,o]}class Mn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Cn,zn,I,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",Mn);function ai(i){let e,t,r,n,a,l,o,s,c,d,f,h,_,y,w,k,m,E,S,R,M,z,O,A=i[3]!==null&&oi(i),L=i[0]&&li(i),N=i[4]&&si(i);function se(ee,re){return Tn}let te=se()(i);return{c(){e=v("goa-focus-trap"),t=v("div"),r=v("div"),n=B(),a=v("div"),A&&A.c(),l=B(),o=v("div"),L&&L.c(),s=B(),N&&N.c(),c=B(),d=v("div"),te.c(),f=B(),h=v("slot"),_=B(),y=v("div"),y.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(d,"data-testid","modal-content"),u(d,"class","modal-content"),u(y,"class","modal-actions"),u(y,"data-testid","modal-actions"),u(o,"class","content"),u(a,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",m=""+((i[2]&&`--width: ${i[2]};`)+";")),C(e,"active",i[1])},m(ee,re){p(ee,e,re),b(e,t),b(t,r),b(t,n),b(t,a),A&&A.m(a,null),b(a,l),b(a,o),L&&L.m(o,null),b(o,s),N&&N.m(o,null),b(o,c),b(o,d),te.m(d,null),b(d,f),b(d,h),b(o,_),b(o,y),M=!0,z||(O=[J(r,"click",i[8]),st(E=Lt.call(null,t,{enable:i[7]}))],z=!0)},p(ee,re){i=ee,i[3]!==null?A?A.p(i,re):(A=oi(i),A.c(),A.m(a,l)):A&&(A.d(1),A=null),i[0]?L?L.p(i,re):(L=li(i),L.c(),L.m(o,s)):L&&(L.d(1),L=null),i[4]?N?N.p(i,re):(N=si(i),N.c(),N.m(o,c)):N&&(N.d(1),N=null),(!M||re&4&&m!==(m=""+((i[2]&&`--width: ${i[2]};`)+";")))&&u(t,"style",m),E&&ge(E.update)&&re&128&&E.update.call(null,{enable:i[7]}),(!M||re&2)&&C(e,"active",i[1])},i(ee){M||(ue(()=>{k&&k.end(1),w=bt(a,Tt,{duration:i[6],y:200}),w.start()}),ue(()=>{R&&R.end(1),S=bt(t,ze,{duration:i[6]}),S.start()}),M=!0)},o(ee){w&&w.invalidate(),k=vt(a,Tt,{delay:i[6],duration:i[6],y:-100}),S&&S.invalidate(),R=vt(t,ze,{delay:i[6],duration:i[6]}),M=!1},d(ee){ee&&T(e),A&&A.d(),L&&L.d(),N&&N.d(),te.d(),ee&&k&&k.end(),ee&&R&&R.end(),z=!1,oe(O)}}}function oi(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon"),C(t,"type",i[5]),C(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(a,l){p(a,e,l),b(e,t)},p(a,l){l&32&&C(t,"type",a[5]),l&8&&r!==(r=a[3]==="important"?"false":"true")&&C(t,"inverted",r),l&8&&n!==(n="callout-bar "+a[3])&&u(e,"class",n)},d(a){a&&T(e)}}}function li(i){let e,t;return{c(){e=v("div"),t=G(i[0]),u(e,"data-testid","modal-title"),u(e,"class","modal-title")},m(r,n){p(r,e,n),b(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function si(i){let e,t,r,n;return{c(){e=v("div"),t=v("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),C(t,"variant","nocolor"),u(e,"class","modal-close")},m(a,l){p(a,e,l),b(e,t),r||(n=J(t,"click",i[8]),r=!0)},p:x,d(a){a&&T(e),r=!1,n()}}}function Tn(i){let e;return{c(){e=v("goa-scrollable"),e.innerHTML="<slot></slot>",C(e,"direction","vertical"),C(e,"height","50")},m(t,r){p(t,e,r)},d(t){t&&T(e)}}}function Ln(i){let e,t,r=i[7]&&ai(i);return{c(){r&&r.c(),e=ye(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[7]?r?(r.p(n,a),a&128&&W(r,1)):(r=ai(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(W(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Rn(i,e,t){let r,n,a,l;const[o,s]=Z("Callout variant",["emergency","important","information","success","event"]),[c,d]=Z("Modal transition",["fast","slow","none"]);let{heading:f=""}=e,{closable:h="false"}=e,{open:_="false"}=e,{transition:y="none"}=e,{width:w=""}=e,{calloutvariant:k=null}=e;function m(E){!r||(E.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),E.stopPropagation())}return X(()=>{s(k),d(y)}),i.$$set=E=>{"heading"in E&&t(0,f=E.heading),"closable"in E&&t(9,h=E.closable),"open"in E&&t(1,_=E.open),"transition"in E&&t(10,y=E.transition),"width"in E&&t(2,w=E.width),"calloutvariant"in E&&t(3,k=E.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=U(h)),i.$$.dirty&2&&t(7,n=U(_)),i.$$.dirty&1024&&t(6,a=y==="none"?0:y==="slow"?400:200),i.$$.dirty&8&&t(5,l=k==="emergency"?"warning":k==="important"?"alert-circle":k==="information"?"information-circle":k==="success"?"checkmark-circle":k==="event"?"calendar":"")},[f,_,w,k,r,l,a,n,m,h,y]}class An extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:var(--goa-shadow-modal);border-radius:4px;max-height:90%;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--goa-font-size-7);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Rn,Ln,I,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[9]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[10]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",An);function ci(i){let e,t,r,n,a,l,o,s,c,d,f,h,_,y,w;return{c(){e=v("div"),t=v("div"),r=v("goa-icon"),a=B(),l=v("div"),l.innerHTML="<slot></slot>",o=B(),s=v("div"),c=v("goa-icon-button"),C(r,"type",i[2]),C(r,"inverted",n=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(l,"class","content"),C(c,"icon","close"),C(c,"variant","dark"),C(c,"inverted",d=i[0]==="important"?"false":"true"),u(s,"class","close"),u(e,"class",f="notification "+i[0])},m(k,m){p(k,e,m),b(e,t),b(t,r),b(e,a),b(e,l),b(e,o),b(e,s),b(s,c),_=!0,y||(w=J(c,"click",i[3]),y=!0)},p(k,m){(!_||m&4)&&C(r,"type",k[2]),(!_||m&1&&n!==(n=k[0]==="important"?"false":"true"))&&C(r,"inverted",n),(!_||m&1&&d!==(d=k[0]==="important"?"false":"true"))&&C(c,"inverted",d),(!_||m&1&&f!==(f="notification "+k[0]))&&u(e,"class",f)},i(k){_||(ue(()=>{h||(h=Xe(e,ze,{},!0)),h.run(1)}),_=!0)},o(k){h||(h=Xe(e,ze,{},!1)),h.run(0),_=!1},d(k){k&&T(e),k&&h&&h.end(),y=!1,w()}}}function Hn(i){let e,t,r=i[1]&&ci(i);return{c(){r&&r.c(),e=ye(),this.c=x},m(n,a){r&&r.m(n,a),p(n,e,a),t=!0},p(n,[a]){n[1]?r?(r.p(n,a),a&2&&W(r,1)):(r=ci(n),r.c(),W(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(W(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Sn(i,e,t){let r;const[n,a]=Z("Notification type",["emergency","important","information","event"],!0);let{type:l=""}=e,o=!0;X(()=>{a(l)});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,l=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=l==="emergency"?"warning":l==="important"?"alert-circle":l==="information"?"information-circle":l==="event"?"calendar":"")},[l,o,r,s]}class Bn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Sn,Hn,I,{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",Bn);const Dn=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Nn(i){return Dn.test(i)}function On(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=x,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,a){p(n,e,a),b(e,t)},p(n,[a]){a&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function jn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:a}=e;function l(o){return!!(["full"].includes(n)||Nn(o))}return X(()=>{l(n)||console.error("Invalid PageBlock width"),t(0,a=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,a=o._width)},[a,n]}class In extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},jn,On,I,{width:1,_width:0},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",In);function di(i,e,t){const r=i.slice();return r[22]=e[t],r}function ui(i,e){let t,r,n,a,l,o,s,c,d,f=(e[22].label||e[22].value)+"",h,_,y,w,k;function m(){return e[16](e[22])}return{key:i,first:null,c(){t=v("label"),r=v("input"),o=B(),s=v("div"),c=B(),d=v("span"),h=G(f),_=B(),u(r,"type","radio"),u(r,"name",e[1]),r.value=n=e[22].value,r.disabled=e[12],r.checked=a=e[22].value===e[0],u(r,"aria-label",l=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[22].value),u(t,"class","goa-radio"),j(t,"goa-radio--disabled",e[12]),j(t,"goa-radio--error",e[11]),this.first=t},m(E,S){p(E,t,S),b(t,r),b(t,o),b(t,s),b(t,c),b(t,d),b(d,h),b(t,_),w||(k=J(r,"change",m),w=!0)},p(E,S){e=E,S&2&&u(r,"name",e[1]),S&512&&n!==(n=e[22].value)&&(r.value=n),S&4096&&(r.disabled=e[12]),S&513&&a!==(a=e[22].value===e[0])&&(r.checked=a),S&18&&l!==(l=e[4]||e[1])&&u(r,"aria-label",l),S&512&&f!==(f=(e[22].label||e[22].value)+"")&&K(h,f),S&512&&y!==(y="radio-option-"+e[22].value)&&u(t,"data-testid",y),S&4096&&j(t,"goa-radio--disabled",e[12]),S&2048&&j(t,"goa-radio--error",e[11])},d(E){E&&T(t),w=!1,k()}}}function Pn(i){let e,t,r,n=[],a=new Map,l,o,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=di(i,s,d),h=c(f);a.set(h,n[d]=ui(h,f))}return{c(){e=v("div"),t=v("slot"),r=B();for(let d=0;d<n.length;d+=1)n[d].c();this.c=x,u(e,"style",l=V(i[5],i[6],i[7],i[8])),u(e,"class",o=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){p(d,e,f),b(e,t),b(e,r);for(let h=0;h<n.length;h+=1)n[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],n=wt(n,f,c,1,d,s,a,e,yt,ui,null,di)),f&480&&l!==(l=V(d[5],d[6],d[7],d[8]))&&u(e,"style",l),f&4&&o!==(o=`goa-radio-group--${d[2]}`)&&u(e,"class",o),f&8&&u(e,"data-testid",d[3])},i:x,o:x,d(d){d&&T(e);for(let f=0;f<n.length;f+=1)n[f].d();i[17](null)}}}function qn(i,e,t){let r,n;const[a,l]=Z("Radio group orientation",["vertical","horizontal"]);let{name:o}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:_=""}=e,{mt:y=null}=e,{mr:w=null}=e,{mb:k=null}=e,{ml:m=null}=e,E=[],S;X(async()=>{await pe(),t(9,E=M())});function R(){const L=S.querySelector("slot");return L?[...L.assignedElements()]:[...S.children]}function M(){return R().map(N=>{const se=N,Q=N.getAttribute("value")||se.value,te=N.getAttribute("label")||N.innerText||se.label||se.innerText;return{value:Q,label:te}})}function z(L){L!==s&&(t(0,s=L),S.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:s}})))}X(()=>{l(c)});const O=L=>z(L.value);function A(L){ne[L?"unshift":"push"](()=>{S=L,t(10,S)})}return i.$$set=L=>{"name"in L&&t(1,o=L.name),"value"in L&&t(0,s=L.value),"orientation"in L&&t(2,c=L.orientation),"disabled"in L&&t(14,d=L.disabled),"error"in L&&t(15,f=L.error),"testid"in L&&t(3,h=L.testid),"arialabel"in L&&t(4,_=L.arialabel),"mt"in L&&t(5,y=L.mt),"mr"in L&&t(6,w=L.mr),"mb"in L&&t(7,k=L.mb),"ml"in L&&t(8,m=L.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=U(d)),i.$$.dirty&32768&&t(11,n=U(f))},[s,o,c,h,_,y,w,k,m,E,S,n,r,z,d,f,O,A]}class Fn extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
85
|
+
var(--goa-color-interactive-hover)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
86
|
+
var(--goa-color-interactive-hover)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},qn,Pn,I,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-radio-group",Fn);function Vn(i){let e,t,r;return{c(){e=v("div"),t=v("slot"),this.c=x,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
90
87
|
--max-height: ${i[3]};
|
|
91
88
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
92
89
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
93
90
|
margin: ${i[2]}rem 0;
|
|
94
91
|
padding: 0 ${i[1]}rem;
|
|
95
|
-
`)},m(n,
|
|
92
|
+
`)},m(n,a){p(n,e,a),b(e,t)},p(n,[a]){a&15&&r!==(r=`
|
|
96
93
|
--max-height: ${n[3]};
|
|
97
94
|
overflow-y: ${n[0]==="vertical"?"auto":"hidden"};
|
|
98
95
|
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
99
96
|
margin: ${n[2]}rem 0;
|
|
100
97
|
padding: 0 ${n[1]}rem;
|
|
101
|
-
`)&&u(e,"style",r)},i:E,o:E,d(n){n&&M(e)}}}function Un(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:l=0}=e,{height:o=0}=e;return i.$$set=a=>{"direction"in a&&t(0,r=a.direction),"hpadding"in a&&t(1,n=a.hpadding),"vpadding"in a&&t(2,l=a.vpadding),"height"in a&&t(3,o=a.height)},[r,n,l,o]}class Wn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Un,Gn,I,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-scrollable",Wn);function ui(i,e,t){const r=i.slice();return r[13]=e[t],r}function Kn(i){let e,t;return{c(){e=v("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:E,o:E,d(r){r&&M(e)}}}function Zn(i){let e,t,r=Array(i[2]),n=[];for(let o=0;o<r.length;o+=1)n[o]=fi(ui(i,r,o));const l=o=>J(n[o],1,1,()=>{n[o]=null});return{c(){for(let o=0;o<n.length;o+=1)n[o].c();e=ve()},m(o,a){for(let s=0;s<n.length;s+=1)n[s].m(o,a);p(o,e,a),t=!0},p(o,a){if(a&6){r=Array(o[2]);let s;for(s=0;s<r.length;s+=1){const c=ui(o,r,s);n[s]?(n[s].p(c,a),W(n[s],1)):(n[s]=fi(c),n[s].c(),W(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)l(s);Ce()}},i(o){if(!t){for(let a=0;a<r.length;a+=1)W(n[a]);t=!0}},o(o){n=n.filter(Boolean);for(let a=0;a<n.length;a+=1)J(n[a]);t=!1},d(o){Ie(n,o),o&&M(e)}}}function Xn(i){let e,t,r,n,l,o,a,s,c,d;return r=new me({props:{type:"avatar",size:i[1]}}),o=new me({props:{type:"title",size:i[1]}}),s=new me({props:{type:"text-small",size:i[1]}}),{c(){e=v("div"),t=v("div"),_e(r.$$.fragment),n=S(),l=v("div"),_e(o.$$.fragment),a=S(),_e(s.$$.fragment),u(t,"class","profile-avatar"),u(l,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,m){p(f,e,m),b(e,t),fe(r,t,null),b(e,n),b(e,l),fe(o,l,null),b(l,a),fe(s,l,null),d=!0},p(f,m){const y={};m&2&&(y.size=f[1]),r.$set(y);const w={};m&2&&(w.size=f[1]),o.$set(w);const _={};m&2&&(_.size=f[1]),s.$set(_),(!d||m&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(W(r.$$.fragment,f),W(o.$$.fragment,f),W(s.$$.fragment,f),d=!0)},o(f){J(r.$$.fragment,f),J(o.$$.fragment,f),J(s.$$.fragment,f),d=!1},d(f){f&&M(e),he(r),he(o),he(s)}}}function Yn(i){let e,t,r,n,l,o,a,s,c;return t=new me({props:{type:"image",size:i[1]}}),l=new me({props:{type:"header",size:i[1]}}),a=new me({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=v("div"),_e(t.$$.fragment),r=S(),n=v("div"),_e(l.$$.fragment),o=S(),_e(a.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),Q(e,"--max-width",i[0])},m(d,f){p(d,e,f),fe(t,e,null),b(e,r),b(e,n),fe(l,n,null),b(n,o),fe(a,n,null),c=!0},p(d,f){const m={};f&2&&(m.size=d[1]),t.$set(m);const y={};f&2&&(y.size=d[1]),l.$set(y);const w={};f&2&&(w.size=d[1]),a.$set(w),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&Q(e,"--max-width",d[0])},i(d){c||(W(t.$$.fragment,d),W(l.$$.fragment,d),W(a.$$.fragment,d),c=!0)},o(d){J(t.$$.fragment,d),J(l.$$.fragment,d),J(a.$$.fragment,d),c=!1},d(d){d&&M(e),he(t),he(l),he(a)}}}function fi(i){let e,t;return e=new me({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){_e(e.$$.fragment)},m(r,n){fe(e,r,n),t=!0},p(r,n){const l={};n&2&&(l.size=r[1]),n&4&&(l.linecount=r[2]),e.$set(l)},i(r){t||(W(e.$$.fragment,r),t=!0)},o(r){J(e.$$.fragment,r),t=!1},d(r){he(e,r)}}}function Jn(i){let e,t,r,n,l;const o=[Yn,Xn,Zn,Kn],a=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=a[t]=o[t](i),{c(){e=v("div"),r.c(),this.c=E,u(e,"data-testid",i[4]),u(e,"style",n=""+(V(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),a[t].m(e,null),l=!0},p(c,[d]){let f=t;t=s(c),t===f?a[t].p(c,d):(xe(),J(a[f],1,1,()=>{a[f]=null}),Ce(),r=a[t],r?r.p(c,d):(r=a[t]=o[t](c),r.c()),W(r,1),r.m(e,null)),(!l||d&16)&&u(e,"data-testid",c[4]),(!l||d&480&&n!==(n=""+(V(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){l||(W(r),l=!0)},o(c){J(r),l=!1},d(c){c&&M(e),a[t].d()}}}function Qn(i,e,t){const[r,n]=X("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[l,o]=X("Skeleton size",["1","2","3","4"]);let{maxwidth:a=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:m=null}=e,{mr:y=null}=e,{mb:w=null}=e,{ml:_=null}=e;return Z(()=>{n(d),o(s)}),i.$$set=k=>{"maxwidth"in k&&t(0,a=k.maxwidth),"size"in k&&t(1,s=k.size),"linecount"in k&&t(2,c=k.linecount),"type"in k&&t(3,d=k.type),"testid"in k&&t(4,f=k.testid),"mt"in k&&t(5,m=k.mt),"mr"in k&&t(6,y=k.mr),"mb"in k&&t(7,w=k.mb),"ml"in k&&t(8,_=k.ml)},[a,s,c,d,f,m,y,w,_]}class me extends P{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-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Qn,Jn,I,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-skeleton",me);function $n(i){let e;return{c(){e=v("div"),this.c=E},m(t,r){p(t,e,r),i[3](e)},p:E,i:E,o:E,d(t){t&&M(e),i[3](null)}}}function el(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;Z(()=>{_t(l,":host",{width:`var(--goa-spacing-${r})`,height:`var(--goa-spacing-${n})`})});function o(a){ne[a?"unshift":"push"](()=>{l=a,t(0,l)})}return i.$$set=a=>{"hspacing"in a&&t(1,r=a.hspacing),"vspacing"in a&&t(2,n=a.vspacing)},[l,r,n,o]}class tl extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},el,$n,I,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),h()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),h()}}customElements.define("goa-spacer",tl);const Te=[];function il(i,e=E){let t;const r=new Set;function n(a){if(I(i,a)&&(i=a,t)){const s=!Te.length;for(const c of r)c[1](),Te.push(c,i);if(s){for(let c=0;c<Te.length;c+=2)Te[c][0](Te[c+1]);Te.length=0}}}function l(a){n(a(i))}function o(a,s=E){const c=[a,s];return r.add(c),r.size===1&&(t=e(n)||E),a(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:o}}function hi(i){return Object.prototype.toString.call(i)==="[object Date]"}function nt(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,l)=>nt(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(hi(i)&&hi(e)){i=i.getTime(),e=e.getTime();const l=e-i;return o=>new Date(i+o*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=nt(i[l],e[l])}),l=>{const o={};return r.forEach(a=>{o[a]=n[a](l)}),o}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function rl(i,e={}){const t=il(i);let r,n=i;function l(o,a){if(i==null)return t.set(i=o),Promise.resolve();n=o;let s=r,c=!1,{delay:d=0,duration:f=400,easing:m=Me,interpolate:y=nt}=lt(lt({},e),a);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Oe()+d;let _;return r=je(k=>{if(k<w)return!0;c||(_=y(i,o),typeof f=="function"&&(f=f(i,o)),c=!0),s&&(s.abort(),s=null);const g=k-w;return g>f?(t.set(i=o),!1):(t.set(i=_(m(g/f))),!0)}),r.promise}return{set:l,update:(o,a)=>l(o(n,i),a),subscribe:t.subscribe}}function mi(i){let e,t,r,n,l,o,a,s,c;return{c(){e=be("svg"),t=be("circle"),l=be("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(l,"d",o=i[9](i[7])),u(l,"stroke-width",i[4]),u(l,"stroke",a=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),u(l,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),b(e,t),b(e,l)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&o!==(o=d[9](d[7]))&&u(l,"d",o),f&16&&u(l,"stroke-width",d[4]),f&1&&a!==(a=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&u(l,"stroke",a),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&M(e)}}}function nl(i){let e,t=i[6]&&mi(i);return{c(){t&&t.c(),e=ve(),this.c=E},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=mi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:E,o:E,d(r){t&&t.d(r),r&&M(e)}}}function ll(i,e,t){let r,n,l,o,a,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,y="infinite";const w=rl(0,{duration:500,easing:zr});pi(i,w,g=>t(7,s=g));function _(g){const x=l+o*Math.cos(g),H=l+o*Math.sin(g);return x+" "+H}function k(g){switch(y){case"progress":{const x=_(-Math.PI/2),H=_(-Math.PI/2+2*Math.PI*(g/100)),A=g%100<50?0:1;return`M ${x} A ${o} ${o} 0 ${A} 1 ${H}`}case"infinite":{const x=_(Math.PI*1.5),H=_(0);return`M ${x} A ${o} ${o} 0 1 0 ${H}`}}}return i.$$set=g=>{"size"in g&&t(10,c=g.size),"invert"in g&&t(0,d=g.invert),"progress"in g&&t(11,f=g.progress),"testid"in g&&t(1,m=g.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const g=parseFloat(f+"");g>=0&&(w.set(g||1),t(2,y="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,l=r/2),i.$$.dirty&24&&t(12,o=l-n/2),i.$$.dirty&6148&&t(6,a=y==="infinite"?o:o&&f)},[d,m,y,l,n,r,a,s,w,k,c,f,o]}class al extends P{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>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},ll,nl,I,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","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 progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",al);function ol(i){let e,t,r,n,l;return{c(){e=v("table"),t=v("slot"),r=S(),n=v("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
98
|
+
`)&&u(e,"style",r)},i:x,o:x,d(n){n&&T(e)}}}function Gn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:a=0}=e,{height:l=0}=e;return i.$$set=o=>{"direction"in o&&t(0,r=o.direction),"hpadding"in o&&t(1,n=o.hpadding),"vpadding"in o&&t(2,a=o.vpadding),"height"in o&&t(3,l=o.height)},[r,n,a,l]}class Un extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Gn,Vn,I,{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",Un);function fi(i,e,t){const r=i.slice();return r[13]=e[t],r}function Wn(i){let e,t;return{c(){e=v("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){p(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:x,o:x,d(r){r&&T(e)}}}function Kn(i){let e,t,r=Array(Number.parseInt(i[2]+"")),n=[];for(let l=0;l<r.length;l+=1)n[l]=gi(fi(i,r,l));const a=l=>Y(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ye()},m(l,o){for(let s=0;s<n.length;s+=1)n[s].m(l,o);p(l,e,o),t=!0},p(l,o){if(o&6){r=Array(Number.parseInt(l[2]+""));let s;for(s=0;s<r.length;s+=1){const c=fi(l,r,s);n[s]?(n[s].p(c,o),W(n[s],1)):(n[s]=gi(c),n[s].c(),W(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)a(s);Ee()}},i(l){if(!t){for(let o=0;o<r.length;o+=1)W(n[o]);t=!0}},o(l){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)Y(n[o]);t=!1},d(l){Pe(n,l),l&&T(e)}}}function Xn(i){let e,t,r,n,a,l,o,s,c,d;return r=new be({props:{type:"avatar",size:i[1]}}),l=new be({props:{type:"title",size:i[1]}}),s=new be({props:{type:"text-small",size:i[1]}}),{c(){e=v("div"),t=v("div"),_e(r.$$.fragment),n=B(),a=v("div"),_e(l.$$.fragment),o=B(),_e(s.$$.fragment),u(t,"class","profile-avatar"),u(a,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){p(f,e,h),b(e,t),he(r,t,null),b(e,n),b(e,a),he(l,a,null),b(a,o),he(s,a,null),d=!0},p(f,h){const _={};h&2&&(_.size=f[1]),r.$set(_);const y={};h&2&&(y.size=f[1]),l.$set(y);const w={};h&2&&(w.size=f[1]),s.$set(w),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(W(r.$$.fragment,f),W(l.$$.fragment,f),W(s.$$.fragment,f),d=!0)},o(f){Y(r.$$.fragment,f),Y(l.$$.fragment,f),Y(s.$$.fragment,f),d=!1},d(f){f&&T(e),me(r),me(l),me(s)}}}function Zn(i){let e,t,r,n,a,l,o,s,c;return t=new be({props:{type:"image",size:i[1]}}),a=new be({props:{type:"header",size:i[1]}}),o=new be({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=v("div"),_e(t.$$.fragment),r=B(),n=v("div"),_e(a.$$.fragment),l=B(),_e(o.$$.fragment),u(n,"class","card-content"),u(e,"class",s="card card-"+i[1]),$(e,"--max-width",i[0])},m(d,f){p(d,e,f),he(t,e,null),b(e,r),b(e,n),he(a,n,null),b(n,l),he(o,n,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const _={};f&2&&(_.size=d[1]),a.$set(_);const y={};f&2&&(y.size=d[1]),f&4&&(y.linecount=d[2]),o.$set(y),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&$(e,"--max-width",d[0])},i(d){c||(W(t.$$.fragment,d),W(a.$$.fragment,d),W(o.$$.fragment,d),c=!0)},o(d){Y(t.$$.fragment,d),Y(a.$$.fragment,d),Y(o.$$.fragment,d),c=!1},d(d){d&&T(e),me(t),me(a),me(o)}}}function gi(i){let e,t;return e=new be({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){_e(e.$$.fragment)},m(r,n){he(e,r,n),t=!0},p(r,n){const a={};n&2&&(a.size=r[1]),n&4&&(a.linecount=r[2]),e.$set(a)},i(r){t||(W(e.$$.fragment,r),t=!0)},o(r){Y(e.$$.fragment,r),t=!1},d(r){me(e,r)}}}function Jn(i){let e,t,r,n,a;const l=[Zn,Xn,Kn,Wn],o=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=l[t](i),{c(){e=v("div"),r.c(),this.c=x,u(e,"data-testid",i[4]),u(e,"style",n=""+(V(i[5],i[6],i[7],i[8])+";"))},m(c,d){p(c,e,d),o[t].m(e,null),a=!0},p(c,[d]){let f=t;t=s(c),t===f?o[t].p(c,d):(xe(),Y(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,d):(r=o[t]=l[t](c),r.c()),W(r,1),r.m(e,null)),(!a||d&16)&&u(e,"data-testid",c[4]),(!a||d&480&&n!==(n=""+(V(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",n)},i(c){a||(W(r),a=!0)},o(c){Y(r),a=!1},d(c){c&&T(e),o[t].d()}}}function Yn(i,e,t){const[r,n]=Z("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[a,l]=Z("Skeleton size",["1","2","3","4"]);let{maxwidth:o=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:_=null}=e,{mb:y=null}=e,{ml:w=null}=e;return X(()=>{n(d),l(s)}),i.$$set=k=>{"maxwidth"in k&&t(0,o=k.maxwidth),"size"in k&&t(1,s=k.size),"linecount"in k&&t(2,c=k.linecount),"type"in k&&t(3,d=k.type),"testid"in k&&t(4,f=k.testid),"mt"in k&&t(5,h=k.mt),"mr"in k&&t(6,_=k.mr),"mb"in k&&t(7,y=k.mb),"ml"in k&&t(8,w=k.ml)},[o,s,c,d,f,h,_,y,w]}class be extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},Yn,Jn,I,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-skeleton",be);function Qn(i){let e;return{c(){e=v("div"),this.c=x},m(t,r){p(t,e,r),i[3](e)},p:x,i:x,o:x,d(t){t&&T(e),i[3](null)}}}function $n(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,a;X(()=>{_t(a,":host",{width:`var(--goa-space-${r})`,height:`var(--goa-space-${n})`})});function l(o){ne[o?"unshift":"push"](()=>{a=o,t(0,a)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,n=o.vspacing)},[a,r,n,l]}class ea extends P{constructor(e){super();F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},$n,Qn,I,{hspacing:1,vspacing:2},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",ea);const Ce=[];function ta(i,e=x){let t;const r=new Set;function n(o){if(I(i,o)&&(i=o,t)){const s=!Ce.length;for(const c of r)c[1](),Ce.push(c,i);if(s){for(let c=0;c<Ce.length;c+=2)Ce[c][0](Ce[c+1]);Ce.length=0}}}function a(o){n(o(i))}function l(o,s=x){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||x),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:a,subscribe:l}}function hi(i){return Object.prototype.toString.call(i)==="[object Date]"}function at(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,a)=>at(i[a],n));return n=>r.map(a=>a(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(hi(i)&&hi(e)){i=i.getTime(),e=e.getTime();const a=e-i;return l=>new Date(i+l*a)}const r=Object.keys(e),n={};return r.forEach(a=>{n[a]=at(i[a],e[a])}),a=>{const l={};return r.forEach(o=>{l[o]=n[o](a)}),l}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function ia(i,e={}){const t=ta(i);let r,n=i;function a(l,o){if(i==null)return t.set(i=l),Promise.resolve();n=l;let s=r,c=!1,{delay:d=0,duration:f=400,easing:h=Te,interpolate:_=at}=ot(ot({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const y=je()+d;let w;return r=Ie(k=>{if(k<y)return!0;c||(w=_(i,l),typeof f=="function"&&(f=f(i,l)),c=!0),s&&(s.abort(),s=null);const m=k-y;return m>f?(t.set(i=l),!1):(t.set(i=w(h(m/f))),!0)}),r.promise}return{set:a,update:(l,o)=>a(l(n,i),o),subscribe:t.subscribe}}function mi(i){let e,t,r,n,a,l,o,s,c;return{c(){e=ve("svg"),t=ve("circle"),a=ve("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",n=i[3]-i[4]/2),u(a,"d",l=i[9](i[7])),u(a,"stroke-width",i[4]),u(a,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(a,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){p(d,e,f),b(e,t),b(e,a)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&n!==(n=d[3]-d[4]/2)&&u(t,"r",n),f&128&&l!==(l=d[9](d[7]))&&u(a,"d",l),f&16&&u(a,"stroke-width",d[4]),f&1&&o!==(o=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(a,"stroke",o),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&T(e)}}}function ra(i){let e,t=i[6]&&mi(i);return{c(){t&&t.c(),e=ye(),this.c=x},m(r,n){t&&t.m(r,n),p(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=mi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:x,o:x,d(r){t&&t.d(r),r&&T(e)}}}function na(i,e,t){let r,n,a,l,o,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,_="infinite";const y=ia(0,{duration:500,easing:Cr});pi(i,y,m=>t(7,s=m));function w(m){const E=a+l*Math.cos(m),S=a+l*Math.sin(m);return E+" "+S}function k(m){switch(_){case"progress":{const E=w(-Math.PI/2),S=w(-Math.PI/2+2*Math.PI*(m/100)),R=m%100<50?0:1;return`M ${E} A ${l} ${l} 0 ${R} 1 ${S}`}case"infinite":{const E=w(Math.PI*1.5),S=w(0);return`M ${E} A ${l} ${l} 0 1 0 ${S}`}}}return i.$$set=m=>{"size"in m&&t(10,c=m.size),"invert"in m&&t(0,d=m.invert),"progress"in m&&t(11,f=m.progress),"testid"in m&&t(1,h=m.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const m=parseFloat(f+"");m>=0&&(y.set(m||1),t(2,_="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,a=r/2),i.$$.dirty&24&&t(12,l=a-n/2),i.$$.dirty&6148&&t(6,o=_==="infinite"?l:l&&f)},[d,h,_,a,n,r,o,s,y,k,c,f,l]}class aa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},na,ra,I,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",aa);function oa(i){let e,t,r,n,a;return{c(){e=v("table"),t=v("slot"),r=B(),n=v("template"),n.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
102
99
|
<tbody><tr><td></td></tr></tbody>
|
|
103
|
-
<tfoot><tr><td></td></tr></tfoot>`,this.c=
|
|
100
|
+
<tfoot><tr><td></td></tr></tfoot>`,this.c=x,u(e,"class",i[1]),u(e,"style",a=`
|
|
104
101
|
${i[0]?`width: ${i[0]};`:""}
|
|
105
102
|
${V(i[2],i[3],i[4],i[5])}
|
|
106
|
-
`),j(e,"sticky",i[7])},m(o
|
|
107
|
-
${
|
|
108
|
-
${V(
|
|
109
|
-
`)&&u(e,"style",
|
|
103
|
+
`),j(e,"sticky",i[7])},m(l,o){p(l,e,o),b(e,t),b(e,r),b(e,n),i[9](e)},p(l,[o]){o&2&&u(e,"class",l[1]),o&61&&a!==(a=`
|
|
104
|
+
${l[0]?`width: ${l[0]};`:""}
|
|
105
|
+
${V(l[2],l[3],l[4],l[5])}
|
|
106
|
+
`)&&u(e,"style",a),o&130&&j(e,"sticky",l[7])},i:x,o:x,d(l){l&&T(e),i[9](null)}}}function la(i,e,t){let r;const[n,a]=Z("Table variant",["normal","relaxed"],!0);let{width:l=""}=e,{stickyheader:o="false"}=e,{variant:s="normal"}=e,{mt:c=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:h=null}=e,_;X(()=>{a(s);const w=_.querySelector("slot");if(w){const k=w.assignedElements()[0].querySelectorAll("template table > *");_.append(...k.length>0?k:w.assignedElements())}else return[..._.children]});function y(w){ne[w?"unshift":"push"](()=>{_=w,t(6,_)})}return i.$$set=w=>{"width"in w&&t(0,l=w.width),"stickyheader"in w&&t(8,o=w.stickyheader),"variant"in w&&t(1,s=w.variant),"mt"in w&&t(2,c=w.mt),"mr"in w&&t(3,d=w.mr),"mb"in w&&t(4,f=w.mb),"ml"in w&&t(5,h=w.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=U(o))},[l,s,c,d,f,h,_,r,o,y]}class sa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:0.75rem 1rem 0.5rem;border-bottom:1px solid var(--goa-color-greyscale-200);line-height:1rem}table.relaxed td{padding:1.25rem 1rem 1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;vertical-align:middle;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700)}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},la,oa,I,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get stickyheader(){return this.$$.ctx[8]}set stickyheader(e){this.$$set({stickyheader:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-table",sa);function ca(i){let e,t,r,n,a,l,o;return{c(){e=v("div"),t=v("textarea"),n=B(),this.c=x,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),j(t,"error",i[14]),u(e,"class","container"),u(e,"style",a=`
|
|
110
107
|
${V(i[7],i[8],i[9],i[10])};
|
|
111
108
|
--width: ${i[5]};
|
|
112
|
-
`)},m(s,c){p(s,e,c),b(e,t),b(e,n),
|
|
109
|
+
`)},m(s,c){p(s,e,c),b(e,t),b(e,n),l||(o=J(t,"keyup",i[15]),l=!0)},p(s,[c]){c&1&&u(t,"name",s[0]),c&4&&u(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&u(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&u(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&u(t,"data-testid",s[4]),c&16384&&j(t,"error",s[14]),c&1952&&a!==(a=`
|
|
113
110
|
${V(s[7],s[8],s[9],s[10])};
|
|
114
111
|
--width: ${s[5]};
|
|
115
|
-
`)&&u(e,"style",
|
|
116
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive
|
|
112
|
+
`)&&u(e,"style",a)},i:x,o:x,d(s){s&&T(e),l=!1,o()}}}function da(i,e,t){let r,n,a,{name:l}=e,{value:o=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:_="false"}=e,{disabled:y="false"}=e,{arialabel:w=""}=e,{mt:k=null}=e,{mr:m=null}=e,{mb:E=null}=e,{ml:S=null}=e,{maxcharcount:R=0}=e;function M(z){const A=z.target.value;n||(z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:z,name:l,value:A}})),z.stopPropagation())}return i.$$set=z=>{"name"in z&&t(0,l=z.name),"value"in z&&t(1,o=z.value),"placeholder"in z&&t(2,s=z.placeholder),"rows"in z&&t(3,c=z.rows),"testid"in z&&t(4,d=z.testid),"width"in z&&t(5,f=z.width),"error"in z&&t(16,h=z.error),"readonly"in z&&t(17,_=z.readonly),"disabled"in z&&t(18,y=z.disabled),"arialabel"in z&&t(6,w=z.arialabel),"mt"in z&&t(7,k=z.mt),"mr"in z&&t(8,m=z.mr),"mb"in z&&t(9,E=z.mb),"ml"in z&&t(10,S=z.ml),"maxcharcount"in z&&t(11,R=z.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=U(h)),i.$$.dirty&262144&&t(12,n=U(y)),i.$$.dirty&131072&&t(13,a=U(_))},[l,o,s,c,d,f,w,k,m,E,S,R,n,a,r,M,h,_,y]}class ua extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:0.75rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:3px;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%}@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,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--goa-font-size-2)}.counter-error{color:var(--goa-color-interactive-error)
|
|
113
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},da,ca,I,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","mt","mr","mb","ml","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),g()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),g()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",ua);function fa(i){let e;return{c(){e=v("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
117
114
|
|
|
118
115
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
119
116
|
|
|
120
117
|
<main><slot></slot></main>
|
|
121
118
|
|
|
122
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=
|
|
119
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class ga extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
123
120
|
"content"
|
|
124
121
|
"nav"
|
|
125
|
-
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
122
|
+
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
126
123
|
"nav content"
|
|
127
|
-
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-
|
|
124
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`,F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,fa,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",ga);function ha(i){let e;return{c(){e=v("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
128
125
|
|
|
129
126
|
<main><slot></slot></main>
|
|
130
127
|
|
|
131
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=
|
|
128
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=x,u(e,"class","page")},m(t,r){p(t,e,r)},p:x,i:x,o:x,d(t){t&&T(e)}}}class ma extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},null,ha,I,{},null),e&&e.target&&p(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",ma);function ba(i){let e,t,r,n,a,l,o;return{c(){e=v("div"),t=v("header"),t.innerHTML='<slot name="header"></slot>',r=B(),n=v("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
132
129
|
|
|
133
|
-
<main><slot></slot></main>`,
|
|
130
|
+
<main><slot></slot></main>`,a=B(),l=v("footer"),l.innerHTML='<slot name="footer"></slot>',this.c=x,u(t,"class","header"),u(n,"class","content"),u(l,"class","footer"),u(e,"class","page"),u(e,"style",o=`
|
|
134
131
|
--max-content-width: ${i[1]||"100%"};
|
|
135
|
-
--nav-column-width: ${i[0]||"
|
|
136
|
-
`)},m(s,c){p(s,e,c),b(e,t),b(e,r),b(e,n),b(e,
|
|
132
|
+
--nav-column-width: ${i[0]||"256px"};
|
|
133
|
+
`)},m(s,c){p(s,e,c),b(e,t),b(e,r),b(e,n),b(e,a),b(e,l)},p(s,[c]){c&3&&o!==(o=`
|
|
137
134
|
--max-content-width: ${s[1]||"100%"};
|
|
138
|
-
--nav-column-width: ${s[0]||"
|
|
139
|
-
`)&&u(e,"style",
|
|
135
|
+
--nav-column-width: ${s[0]||"256px"};
|
|
136
|
+
`)&&u(e,"style",o)},i:x,o:x,d(s){s&&T(e)}}}function va(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=a=>{"navcolumnwidth"in a&&t(0,r=a.navcolumnwidth),"maxcontentwidth"in a&&t(1,n=a.maxcontentwidth)},[r,n]}class ya extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--goa-color-greyscale-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",F(this,{target:this.shadowRoot,props:q(this.attributes),customElement:!0},va,ba,I,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),g()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-two-column-layout",ya)});
|