@abgov/web-components 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web-components.es.js +2620 -1160
- package/web-components.umd.js +79 -48
package/web-components.umd.js
CHANGED
|
@@ -1,100 +1,131 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
`;for(let
|
|
1
|
+
(function(se,y){typeof exports=="object"&&typeof module!="undefined"?y(exports):typeof define=="function"&&define.amd?define(["exports"],y):(se=typeof globalThis!="undefined"?globalThis:se||self,y(se["web-components"]={}))})(this,function(se){"use strict";function y(){}const Te=i=>i;function rt(i,e){for(const t in e)i[t]=e[t];return i}function Ze(i){return i()}function nt(){return Object.create(null)}function ee(i){i.forEach(Ze)}function ce(i){return typeof i=="function"}function D(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Se;function De(i,e){return Se||(Se=document.createElement("a")),Se.href=e,i===Se.href}function _i(i){return Object.keys(i).length===0}function ki(i,...e){if(i==null)return y;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function pi(i,e,t){i.$$.on_destroy.push(ki(e,t))}function lt(i){return i&&ce(i.destroy)?i.destroy:y}const at=typeof window!="undefined";let Ne=at?()=>window.performance.now():()=>Date.now(),Je=at?i=>requestAnimationFrame(i):y;const pe=new Set;function ot(i){pe.forEach(e=>{e.c(i)||(pe.delete(e),e.f())}),pe.size!==0&&Je(ot)}function je(i){let e;return pe.size===0&&Je(ot),{promise:new Promise(t=>{pe.add(e={c:i,f:t})}),abort(){pe.delete(e)}}}function g(i,e){i.appendChild(e)}function st(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=b("style");return Ei(st(i),e),e.sheet}function Ei(i,e){return g(i.head||i,e),e.sheet}function k(i,e,t){i.insertBefore(e,t||null)}function T(i){i.parentNode.removeChild(i)}function Oe(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function b(i){return document.createElement(i)}function ge(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function q(i){return document.createTextNode(i)}function A(){return q(" ")}function be(){return q("")}function X(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function d(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function M(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:d(i,e,t)}function Ci(i){return Array.from(i.childNodes)}function K(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function Z(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 zi(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const n=document.createEvent("CustomEvent");return n.initCustomEvent(i,t,r,e),n}function O(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ie=new Map;let Pe=0;function Mi(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Li(i,e){const t={stylesheet:xi(e),rules:{}};return Ie.set(i,t),t}function Fe(i,e,t,r,n,l,a,o=0){const s=16.666/r;let c=`{
|
|
2
|
+
`;for(let p=0;p<=1;p+=s){const E=e+(t-e)*l(p);c+=p*100+`%{${a(E,1-E)}}
|
|
3
3
|
`}const u=c+`100% {${a(t,1-t)}}
|
|
4
|
-
}`,f=`__svelte_${vi(u)}_${l}`,g=et(i),{stylesheet:k,rules:y}=Ae.get(g)||pi(g,i);y[f]||(y[f]=!0,k.insertRule(`@keyframes ${f} ${u}`,k.cssRules.length));const _=i.style.animation||"";return i.style.animation=`${_?`${_}, `:""}${f} ${r}ms linear ${n}ms 1 both`,He+=1,f}function Se(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),n=t.length-r.length;n&&(i.style.animation=r.join(", "),He-=n,He||wi())}function wi(){Ge(()=>{He||(Ae.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&C(e)}),Ae.clear())})}let _e;function ke(i){_e=i}function tt(){if(!_e)throw new Error("Function called outside component initialization");return _e}function X(i){tt().$$.on_mount.push(i)}function it(i){tt().$$.on_destroy.push(i)}const xe=[],$=[],Be=[],rt=[],nt=Promise.resolve();let Ve=!1;function ot(){Ve||(Ve=!0,nt.then(h))}function De(){return ot(),nt}function ie(i){Be.push(i)}const Ue=new Set;let Ne=0;function h(){const i=_e;do{for(;Ne<xe.length;){const e=xe[Ne];Ne++,ke(e),yi(e.$$)}for(ke(null),xe.length=0,Ne=0;$.length;)$.pop()();for(let e=0;e<Be.length;e+=1){const t=Be[e];Ue.has(t)||(Ue.add(t),t())}Be.length=0}while(xe.length);for(;rt.length;)rt.pop()();Ve=!1,Ue.clear(),ke(i)}function yi(i){if(i.fragment!==null){i.update(),Q(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ie)}}let Ee;function We(){return Ee||(Ee=Promise.resolve(),Ee.then(()=>{Ee=null})),Ee}function he(i,e,t){i.dispatchEvent(bi(`${e?"intro":"outro"}${t}`))}const Oe=new Set;let re;function be(){re={r:0,c:[],p:re}}function ve(){re.r||Q(re.c),re=re.p}function G(i,e){i&&i.i&&(Oe.delete(i),i.i(e))}function W(i,e,t,r){if(i&&i.o){if(Oe.has(i))return;Oe.add(i),re.c.push(()=>{Oe.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ke={duration:0};function at(i,e,t){let r=e(i,t),n=!1,o,a,l=0;function s(){o&&Se(i,o)}function c(){const{delay:f=0,duration:g=300,easing:k=ye,tick:y=p,css:_}=r||Ke;_&&(o=Ie(i,0,1,g,f,k,_,l++)),y(0,1);const E=Le()+f,x=E+g;a&&a.abort(),n=!0,ie(()=>he(i,!0,"start")),a=Te(v=>{if(n){if(v>=x)return y(1,0),he(i,!0,"end"),s(),n=!1;if(v>=E){const M=k((v-E)/g);y(M,1-M)}}return n})}let u=!1;return{start(){u||(u=!0,Se(i),ae(r)?(r=r(),We().then(c)):c())},invalidate(){u=!1},end(){n&&(s(),n=!1)}}}function lt(i,e,t){let r=e(i,t),n=!0,o;const a=re;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=ye,tick:f=p,css:g}=r||Ke;g&&(o=Ie(i,1,0,c,s,u,g));const k=Le()+s,y=k+c;ie(()=>he(i,!1,"start")),Te(_=>{if(n){if(_>=y)return f(0,1),he(i,!1,"end"),--a.r||Q(a.c),!1;if(_>=k){const E=u((_-k)/c);f(1-E,E)}}return n})}return ae(r)?We().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),n&&(o&&Se(i,o),n=!1)}}}function je(i,e,t,r){let n=e(i,t),o=r?0:1,a=null,l=null,s=null;function c(){s&&Se(i,s)}function u(g,k){const y=g.b-o;return k*=Math.abs(y),{a:o,b:g.b,d:y,duration:k,start:g.start,end:g.start+k,group:g.group}}function f(g){const{delay:k=0,duration:y=300,easing:_=ye,tick:E=p,css:x}=n||Ke,v={start:Le()+k,b:g};g||(v.group=re,re.r+=1),a||l?l=v:(x&&(c(),s=Ie(i,o,g,y,k,_,x)),g&&E(0,1),a=u(v,y),ie(()=>he(i,g,"start")),Te(M=>{if(l&&M>l.start&&(a=u(l,y),l=null,he(i,a.b,"start"),x&&(c(),s=Ie(i,o,a.b,a.duration,0,_,n.css))),a){if(M>=a.end)E(o=a.b,1-o),he(i,a.b,"end"),l||(a.b?c():--a.group.r||Q(a.group.c)),a=null;else if(M>=a.start){const L=M-a.start;o=a.a+a.d*_(L/a.duration),E(o,1-o)}}return!!(a||l)}))}return{run(g){ae(n)?We().then(()=>{n=n(),f(g)}):f(g)},end(){c(),a=l=null}}}function _i(i,e){i.d(1),e.delete(i.key)}function ki(i,e,t,r,n,o,a,l,s,c,u,f){let g=i.length,k=o.length,y=g;const _={};for(;y--;)_[i[y].key]=y;const E=[],x=new Map,v=new Map;for(y=k;y--;){const T=f(n,o,y),j=t(T);let K=a.get(j);K?r&&K.p(T,e):(K=c(j,T),K.c()),x.set(j,E[y]=K),j in _&&v.set(j,Math.abs(y-_[j]))}const M=new Set,L=new Set;function R(T){G(T,1),T.m(l,u),a.set(T.key,T),u=T.first,k--}for(;g&&k;){const T=E[k-1],j=i[g-1],K=T.key,ne=j.key;T===j?(u=T.first,g--,k--):x.has(ne)?!a.has(K)||M.has(K)?R(T):L.has(ne)?g--:v.get(K)>v.get(ne)?(L.add(K),R(T)):(M.add(ne),g--):(s(j,a),g--)}for(;g--;){const T=i[g];x.has(T.key)||s(T,a)}for(;k;)R(E[k-1]);return E}function ge(i){i&&i.c()}function se(i,e,t,r){const{fragment:n,after_update:o}=i.$$;n&&n.m(e,t),r||ie(()=>{const a=i.$$.on_mount.map(qe).filter(ae);i.$$.on_destroy?i.$$.on_destroy.push(...a):Q(a),i.$$.on_mount=[]}),o.forEach(ie)}function ce(i,e){const t=i.$$;t.fragment!==null&&(Q(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function xi(i,e){i.$$.dirty[0]===-1&&(xe.push(i),ot(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,n,o,a,l=[-1]){const s=_e;ke(i);const c=i.$$={fragment:null,ctx:[],props:o,update:p,not_equal:n,bound:Ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ye(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,g,...k)=>{const y=k.length?k[0]:g;return c.ctx&&n(c.ctx[f],c.ctx[f]=y)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](y),u&&xi(i,f)),g}):[],c.update(),u=!0,Q(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=mi(e.target);c.fragment&&c.fragment.l(f),f.forEach(C)}else c.fragment&&c.fragment.c();e.intro&&G(i.$$.fragment),se(i,e.target,e.anchor,e.customElement),h()}ke(s)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(qe).filter(ae);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){Q(this.$$.on_disconnect)}$destroy(){ce(this,1),this.$destroy=p}$on(i,e){if(!ae(e))return p;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&&!di(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});function Ei(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("div"),t=b("img"),n=A(),o=b("img"),l=A(),s=b("span"),c=P(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),Me(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")||d(t,"src",r),d(o,"alt","GoA Logo"),d(o,"class","image-desktop"),Me(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(o,"src",a),d(s,"class","title"),d(e,"class","app-link")},m(u,f){w(u,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(u,f){f&1&&V(c,u[0])},d(u){u&&C(e)}}}function zi(i){let e,t,r,n,o,a,l,s,c;return{c(){e=b("a"),t=b("img"),n=A(),o=b("img"),l=A(),s=b("span"),c=P(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),Me(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")||d(t,"src",r),d(o,"alt","GoA Logo"),d(o,"class","image-desktop"),Me(o.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(o,"src",a),d(s,"class","title"),d(e,"href",i[1]),d(e,"class","app-link")},m(u,f){w(u,e,f),m(e,t),m(e,n),m(e,o),m(e,l),m(e,s),m(s,c)},p(u,f){f&1&&V(c,u[0]),f&2&&d(e,"href",u[1])},d(u){u&&C(e)}}}function Ci(i){let e,t,r,n,o;function a(c,u){return c[1]?zi:Ei}let l=a(i),s=l(i);return{c(){e=b("div"),t=b("div"),s.c(),r=A(),n=b("div"),n.innerHTML="<slot></slot>",this.c=p,d(t,"class","content"),d(e,"class","app-header"),d(e,"data-testid",i[2]),d(e,"style",o=`--max-content-width: ${i[3]||"100%"}`)},m(c,u){w(c,e,u),m(e,t),s.m(t,null),m(t,r),m(t,n)},p(c,[u]){l===(l=a(c))&&s?s.p(c,u):(s.d(1),s=l(c),s&&(s.c(),s.m(t,r))),u&4&&d(e,"data-testid",c[2]),u&8&&o!==(o=`--max-content-width: ${c[3]||"100%"}`)&&d(e,"style",o)},i:p,o:p,d(c){c&&C(e),s.d()}}}function Mi(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:o=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"url"in l&&t(1,n=l.url),"testid"in l&&t(2,o=l.testid),"maxcontentwidth"in l&&t(3,a=l.maxcontentwidth)},[r,n,o,a]}class Li extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mi,Ci,S,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&w(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",Li);function q(i){return i==="false"?!1:i===""?!0:!!i}function Ti(i){return i?"true":"false"}function Ri(i){let e;return{c(){e=b("div"),F(e,"height","1.2rem"),F(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p,d(t){t&&C(e)}}}function Ai(i){let e;return{c(){e=b("goa-icon"),z(e,"type",i[4]),z(e,"size","small")},m(t,r){w(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&C(e)}}}function st(i){let e,t;return{c(){e=b("div"),t=P(i[2]),d(e,"class","goa-badge-content")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&4&&V(t,r[2])},d(r){r&&C(e)}}}function Hi(i){let e,t,r;function n(s,c){return s[3]?Ai:Ri}let o=n(i),a=o(i),l=i[2]&&st(i);return{c(){e=b("div"),a.c(),t=A(),l&&l.c(),this.c=p,d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+i[0]),B(e,"icon-only",i[3]&&!i[2])},m(s,c){w(s,e,c),a.m(e,null),m(e,t),l&&l.m(e,null)},p(s,[c]){o===(o=n(s))&&a?a.p(s,c):(a.d(1),a=o(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=st(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&13&&B(e,"icon-only",s[3]&&!s[2])},i:p,o:p,d(s){s&&C(e),a.d(),l&&l.d()}}}function Ii(i,e,t){let r,n,{type:o}=e,{testid:a=""}=e,{content:l=""}=e,{icon:s="false"}=e;return X(()=>{!r&&!l&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"testid"in c&&t(1,a=c.testid),"content"in c&&t(2,l=c.content),"icon"in c&&t(5,s=c.icon)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=q(s)),i.$$.dirty&1&&t(4,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[o])},[o,a,l,r,n,s]}class Si extends D{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);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm);padding-bottom:var(--font-valign-fix)}.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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ii,Hi,S,{type:0,testid:1,content:2,icon:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","content","icon"]}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[5]}set icon(e){this.$$set({icon:e}),h()}}customElements.define("goa-badge",Si);function Bi(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,F(e,"--alignment","flex-"+i[1]),F(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,n){w(r,e,n),m(e,t)},p(r,[n]){n&2&&F(e,"--alignment","flex-"+r[1]),n&1&&F(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:p,o:p,d(r){r&&C(e)}}}function Di(i,e,t){let{gap:r="medium"}=e,{alignment:n}=e;return i.$$set=o=>{"gap"in o&&t(0,r=o.gap),"alignment"in o&&t(1,n=o.alignment)},[r,n]}class Ni extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Di,Bi,S,{gap:0,alignment:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),h()}}customElements.define("goa-button-group",Ni);function Oi(i){let e,t,r,n,o=i[3]&&ct(i),a=i[4]&&dt(i);return{c(){o&&o.c(),e=A(),t=b("slot"),r=A(),a&&a.c(),n=le(),d(t,"class","text")},m(l,s){o&&o.m(l,s),w(l,e,s),w(l,t,s),w(l,r,s),a&&a.m(l,s),w(l,n,s)},p(l,s){l[3]?o?o.p(l,s):(o=ct(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?a?a.p(l,s):(a=dt(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(l){o&&o.d(l),l&&C(e),l&&C(t),l&&C(r),a&&a.d(l),l&&C(n)}}}function ji(i){let e,t,r;return{c(){e=b("slot"),t=A(),r=b("goa-icon"),d(e,"class","text"),z(r,"id","trailing-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(n,o){w(n,e,o),w(n,t,o),w(n,r,o)},p,d(n){n&&C(e),n&&C(t),n&&C(r)}}}function ct(i){let e;return{c(){e=b("goa-icon"),z(e,"id","leading-icon"),z(e,"type",i[3]),z(e,"inverted",i[6])},m(t,r){w(t,e,r)},p(t,r){r&8&&z(e,"type",t[3]),r&64&&z(e,"inverted",t[6])},d(t){t&&C(e)}}}function dt(i){let e;return{c(){e=b("goa-icon"),z(e,"id","trailing-icon"),z(e,"type",i[4]),z(e,"inverted",i[6])},m(t,r){w(t,e,r)},p(t,r){r&16&&z(e,"type",t[4]),r&64&&z(e,"inverted",t[6])},d(t){t&&C(e)}}}function Pi(i){let e,t,r,n;function o(s,c){return s[0]==="start"?ji:Oi}let a=o(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=p,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),e.disabled=i[7],d(e,"data-testid",i[5]),B(e,"leading",i[3]),B(e,"trailing",i[4]||i[0]==="start")},m(s,c){w(s,e,c),l.m(e,null),r||(n=U(e,"click",Fi),r=!0)},p(s,[c]){a===(a=o(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",t),c&128&&(e.disabled=s[7]),c&32&&d(e,"data-testid",s[5]),c&15&&B(e,"leading",s[3]),c&23&&B(e,"trailing",s[4]||s[0]==="start")},i:p,o:p,d(s){s&&C(e),l.d(),r=!1,n()}}}function Fi(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function qi(i,e,t){let r,n;const o=["primary","submit","secondary","tertiary","start"],a=["normal","compact"],l=["normal","destructive"];function s(v){return o.includes(v)}function c(v){return a.includes(v)}function u(v){return l.includes(v)}let{type:f="primary"}=e,{size:g="normal"}=e,{variant:k="normal"}=e,{disabled:y="false"}=e,{leadingicon:_=null}=e,{trailingicon:E=null}=e,{testid:x=""}=e;return X(()=>{s(f)||console.error("Invalid button type"),c(g)||console.error("Invalid button size"),u(k)||console.error("Invalid button variant")}),i.$$set=v=>{"type"in v&&t(0,f=v.type),"size"in v&&t(1,g=v.size),"variant"in v&&t(2,k=v.variant),"disabled"in v&&t(8,y=v.disabled),"leadingicon"in v&&t(3,_=v.leadingicon),"trailingicon"in v&&t(4,E=v.trailingicon),"testid"in v&&t(5,x=v.testid)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=q(y)),i.$$.dirty&1&&t(6,n=f==="primary"||f==="start")},[f,g,k,_,E,x,n,r,y]}class Gi extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix)}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>`,O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},qi,Pi,S,{type:0,size:1,variant:2,disabled:8,leadingicon:3,trailingicon:4,testid:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid"]}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[8]}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()}}customElements.define("goa-button",Gi);function ut(i){let e,t;return{c(){e=b("h3"),t=P(i[1])},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&C(e)}}}function Vi(i){let e,t,r,n,o,a,l,s,c,u=i[1]&&ut(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=A(),l=b("span"),u&&u.c(),s=A(),c=b("slot"),this.c=p,z(r,"type",i[3]),z(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class",o="icon "+i[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",i[2])},m(f,g){w(f,e,g),m(e,t),m(t,r),m(e,a),m(e,l),u&&u.m(l,null),m(l,s),m(l,c)},p(f,[g]){g&8&&z(r,"type",f[3]),g&1&&n!==(n=f[0]==="important"?"false":"true")&&z(r,"inverted",n),g&1&&o!==(o="icon "+f[0])&&d(t,"class",o),f[1]?u?u.p(f,g):(u=ut(f),u.c(),u.m(l,s)):u&&(u.d(1),u=null),g&4&&d(e,"data-testid",f[2])},i:p,o:p,d(f){f&&C(e),u&&u.d()}}}function Ui(i,e,t){let r,{type:n}=e,{heading:o=""}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,n=l.type),"heading"in l&&t(1,o=l.heading),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="success"?"checkmark-circle":n==="event"?"calendar":"")},[n,o,a,r]}class Wi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.75rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ui,Vi,S,{type:0,heading:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",Wi);function Ki(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=p},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&C(e)}}}class Zi extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Ki,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",Zi);function Xi(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&C(e)}}}class Yi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Xi,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",Yi);function Ji(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-group")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&C(e)}}}class Qi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},null,Ji,S,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",Qi);function $i(i){let e;return{c(){e=b("div"),this.c=p,d(e,"class","card-image"),F(e,"background-image","url("+i[0]+")"),F(e,"height",i[1]),F(e,"background-size","cover"),F(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&F(e,"background-image","url("+t[0]+")"),r&2&&F(e,"height",t[1])},i:p,o:p,d(t){t&&C(e)}}}function er(i,e,t){let{src:r}=e,{height:n="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,n=o.height)},[r,n]}class tr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},er,$i,S,{src:0,height:1},null),e&&(e.target&&w(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",tr);function ir(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"data-testid",i[2]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(n,o){w(n,e,o),m(e,t)},p(n,[o]){o&4&&d(e,"data-testid",n[2]),o&3&&r!==(r="--width: "+n[1]+"px; "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&d(e,"style",r)},i:p,o:p,d(n){n&&C(e)}}}function rr(i,e,t){let{elevation:r=0}=e,{width:n=320}=e,{testId:o=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,n=a.width),"testId"in a&&t(2,o=a.testId)},[r,n,o]}class nr extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
-
}}</style>`,
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
}`,f=`__svelte_${Mi(u)}_${o}`,m=st(i),{stylesheet:_,rules:w}=Ie.get(m)||Li(m,i);w[f]||(w[f]=!0,_.insertRule(`@keyframes ${f} ${u}`,_.cssRules.length));const C=i.style.animation||"";return i.style.animation=`${C?`${C}, `:""}${f} ${r}ms linear ${n}ms 1 both`,Pe+=1,f}function qe(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(", "),Pe-=n,Pe||Ti())}function Ti(){Je(()=>{Pe||(Ie.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&T(e)}),Ie.clear())})}let Re;function Ae(i){Re=i}function ct(){if(!Re)throw new Error("Function called outside component initialization");return Re}function Q(i){ct().$$.on_mount.push(i)}function ut(i){ct().$$.on_destroy.push(i)}const He=[],te=[],Ge=[],dt=[],ft=Promise.resolve();let Qe=!1;function ht(){Qe||(Qe=!0,ft.then(h))}function ue(){return ht(),ft}function re(i){Ge.push(i)}const $e=new Set;let Ve=0;function h(){const i=Re;do{for(;Ve<He.length;){const e=He[Ve];Ve++,Ae(e),Ri(e.$$)}for(Ae(null),He.length=0,Ve=0;te.length;)te.pop()();for(let e=0;e<Ge.length;e+=1){const t=Ge[e];$e.has(t)||($e.add(t),t())}Ge.length=0}while(He.length);for(;dt.length;)dt.pop()();Qe=!1,$e.clear(),Ae(i)}function Ri(i){if(i.fragment!==null){i.update(),ee(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(re)}}let Be;function et(){return Be||(Be=Promise.resolve(),Be.then(()=>{Be=null})),Be}function ve(i,e,t){i.dispatchEvent(zi(`${e?"intro":"outro"}${t}`))}const Ue=new Set;let ne;function xe(){ne={r:0,c:[],p:ne}}function Ee(){ne.r||ee(ne.c),ne=ne.p}function U(i,e){i&&i.i&&(Ue.delete(i),i.i(e))}function Y(i,e,t,r){if(i&&i.o){if(Ue.has(i))return;Ue.add(i),ne.c.push(()=>{Ue.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const tt={duration:0};function mt(i,e,t){let r=e(i,t),n=!1,l,a,o=0;function s(){l&&qe(i,l)}function c(){const{delay:f=0,duration:m=300,easing:_=Te,tick:w=y,css:C}=r||tt;C&&(l=Fe(i,0,1,m,f,_,C,o++)),w(0,1);const p=Ne()+f,E=p+m;a&&a.abort(),n=!0,re(()=>ve(i,!0,"start")),a=je(x=>{if(n){if(x>=E)return w(1,0),ve(i,!0,"end"),s(),n=!1;if(x>=p){const L=_((x-p)/m);w(L,1-L)}}return n})}let u=!1;return{start(){u||(u=!0,qe(i),ce(r)?(r=r(),et().then(c)):c())},invalidate(){u=!1},end(){n&&(s(),n=!1)}}}function gt(i,e,t){let r=e(i,t),n=!0,l;const a=ne;a.r+=1;function o(){const{delay:s=0,duration:c=300,easing:u=Te,tick:f=y,css:m}=r||tt;m&&(l=Fe(i,1,0,c,s,u,m));const _=Ne()+s,w=_+c;re(()=>ve(i,!1,"start")),je(C=>{if(n){if(C>=w)return f(0,1),ve(i,!1,"end"),--a.r||ee(a.c),!1;if(C>=_){const p=u((C-_)/c);f(1-p,p)}}return n})}return ce(r)?et().then(()=>{r=r(),o()}):o(),{end(s){s&&r.tick&&r.tick(1,0),n&&(l&&qe(i,l),n=!1)}}}function We(i,e,t,r){let n=e(i,t),l=r?0:1,a=null,o=null,s=null;function c(){s&&qe(i,s)}function u(m,_){const w=m.b-l;return _*=Math.abs(w),{a:l,b:m.b,d:w,duration:_,start:m.start,end:m.start+_,group:m.group}}function f(m){const{delay:_=0,duration:w=300,easing:C=Te,tick:p=y,css:E}=n||tt,x={start:Ne()+_,b:m};m||(x.group=ne,ne.r+=1),a||o?o=x:(E&&(c(),s=Fe(i,l,m,w,_,C,E)),m&&p(0,1),a=u(x,w),re(()=>ve(i,m,"start")),je(L=>{if(o&&L>o.start&&(a=u(o,w),o=null,ve(i,a.b,"start"),E&&(c(),s=Fe(i,l,a.b,a.duration,0,C,n.css))),a){if(L>=a.end)p(l=a.b,1-l),ve(i,a.b,"end"),o||(a.b?c():--a.group.r||ee(a.group.c)),a=null;else if(L>=a.start){const z=L-a.start;l=a.a+a.d*C(z/a.duration),p(l,1-l)}}return!!(a||o)}))}return{run(m){ce(n)?et().then(()=>{n=n(),f(m)}):f(m)},end(){c(),a=o=null}}}function Ai(i,e){i.d(1),e.delete(i.key)}function Hi(i,e,t,r,n,l,a,o,s,c,u,f){let m=i.length,_=l.length,w=m;const C={};for(;w--;)C[i[w].key]=w;const p=[],E=new Map,x=new Map;for(w=_;w--;){const v=f(n,l,w),F=t(v);let H=a.get(F);H?r&&H.p(v,e):(H=c(F,v),H.c()),E.set(F,p[w]=H),F in C&&x.set(F,Math.abs(w-C[F]))}const L=new Set,z=new Set;function R(v){U(v,1),v.m(o,u),a.set(v.key,v),u=v.first,_--}for(;m&&_;){const v=p[_-1],F=i[m-1],H=v.key,W=F.key;v===F?(u=v.first,m--,_--):E.has(W)?!a.has(H)||L.has(H)?R(v):z.has(W)?m--:x.get(H)>x.get(W)?(z.add(H),R(v)):(L.add(W),m--):(s(F,a),m--)}for(;m--;){const v=i[m];E.has(v.key)||s(v,a)}for(;_;)R(p[_-1]);return p}function we(i){i&&i.c()}function de(i,e,t,r){const{fragment:n,after_update:l}=i.$$;n&&n.m(e,t),r||re(()=>{const a=i.$$.on_mount.map(Ze).filter(ce);i.$$.on_destroy?i.$$.on_destroy.push(...a):ee(a),i.$$.on_mount=[]}),l.forEach(re)}function fe(i,e){const t=i.$$;t.fragment!==null&&(ee(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Bi(i,e){i.$$.dirty[0]===-1&&(He.push(i),ht(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function I(i,e,t,r,n,l,a,o=[-1]){const s=Re;Ae(i);const c=i.$$={fragment:null,ctx:[],props:l,update:y,not_equal:n,bound:nt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:nt(),dirty:o,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=t?t(i,e.props||{},(f,m,..._)=>{const w=_.length?_[0]:m;return c.ctx&&n(c.ctx[f],c.ctx[f]=w)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](w),u&&Bi(i,f)),m}):[],c.update(),u=!0,ee(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(T)}else c.fragment&&c.fragment.c();e.intro&&U(i.$$.fragment),de(i,e.target,e.anchor,e.customElement),h()}Ae(s)}let N;typeof HTMLElement=="function"&&(N=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(Ze).filter(ce);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ee(this.$$.on_disconnect)}$destroy(){fe(this,1),this.$destroy=y}$on(i,e){if(!ce(e))return y;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)}});function Si(i){let e,t,r,n,l,a,o,s,c;return{c(){e=b("div"),t=b("img"),n=A(),l=b("img"),o=A(),s=b("span"),c=q(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),De(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")||d(t,"src",r),d(l,"alt","GoA Logo"),d(l,"class","image-desktop"),De(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(l,"src",a),d(s,"class","title"),d(e,"class","app-link")},m(u,f){k(u,e,f),g(e,t),g(e,n),g(e,l),g(e,o),g(e,s),g(s,c)},p(u,f){f&1&&K(c,u[0])},d(u){u&&T(e)}}}function Di(i){let e,t,r,n,l,a,o,s,c;return{c(){e=b("a"),t=b("img"),n=A(),l=b("img"),o=A(),s=b("span"),c=q(i[0]),d(t,"alt","GoA Logo"),d(t,"class","image-mobile"),De(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")||d(t,"src",r),d(l,"alt","GoA Logo"),d(l,"class","image-desktop"),De(l.src,a="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(l,"src",a),d(s,"class","title"),d(e,"href",i[1]),d(e,"class","app-link")},m(u,f){k(u,e,f),g(e,t),g(e,n),g(e,l),g(e,o),g(e,s),g(s,c)},p(u,f){f&1&&K(c,u[0]),f&2&&d(e,"href",u[1])},d(u){u&&T(e)}}}function Ni(i){let e,t,r,n,l;function a(c,u){return c[1]?Di:Si}let o=a(i),s=o(i);return{c(){e=b("div"),t=b("div"),s.c(),r=A(),n=b("div"),n.innerHTML="<slot></slot>",this.c=y,d(t,"class","content"),d(e,"class","app-header"),d(e,"data-testid",i[2]),d(e,"style",l=`--max-content-width: ${i[3]||"100%"}`)},m(c,u){k(c,e,u),g(e,t),s.m(t,null),g(t,r),g(t,n)},p(c,[u]){o===(o=a(c))&&s?s.p(c,u):(s.d(1),s=o(c),s&&(s.c(),s.m(t,r))),u&4&&d(e,"data-testid",c[2]),u&8&&l!==(l=`--max-content-width: ${c[3]||"100%"}`)&&d(e,"style",l)},i:y,o:y,d(c){c&&T(e),s.d()}}}function ji(i,e,t){let{heading:r=""}=e,{url:n=""}=e,{testid:l=""}=e,{maxcontentwidth:a=""}=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,l=o.testid),"maxcontentwidth"in o&&t(3,a=o.maxcontentwidth)},[r,n,l,a]}class Oi extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ji,Ni,D,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(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 P(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 bt(i,e,t,r){const n=document.createElement("style"),l=Object.entries(t).map(a=>`${a[0]}: ${a[1]};`).join(" ");r?n.innerHTML=`@media (${r}) { ${e} {${l}} }`:n.innerHTML=`${e} {${l}}`,i.appendChild(n)}function V(i){return i==="false"?!1:i===""?!0:!!i}function Ii(i){return i?"true":"false"}function Pi(i,e){Object.entries(e).forEach(t=>{t[1]||console.error(`${i}: ${t[0]} is required`)})}function Ce(i,e,t=!1){return[e,n=>{!t&&!n||e.includes(n)||console.error(`[${n}] is an invalid ${i.toLowerCase()}`)}]}function Fi(i){let e;return{c(){e=b("div"),Z(e,"height","1.2rem"),Z(e,"margin-left","-0.25rem")},m(t,r){k(t,e,r)},p:y,d(t){t&&T(e)}}}function qi(i){let e;return{c(){e=b("goa-icon"),M(e,"type",i[8]),M(e,"size","small")},m(t,r){k(t,e,r)},p(t,r){r&256&&M(e,"type",t[8])},d(t){t&&T(e)}}}function vt(i){let e,t;return{c(){e=b("div"),t=q(i[2]),d(e,"class","goa-badge-content")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&4&&K(t,r[2])},d(r){r&&T(e)}}}function Gi(i){let e,t,r,n;function l(c,u){return c[7]?qi:Fi}let a=l(i),o=a(i),s=i[2]&&vt(i);return{c(){e=b("div"),o.c(),t=A(),s&&s.c(),this.c=y,d(e,"style",r=P(i[3],i[4],i[5],i[6])),d(e,"data-testid",i[1]),d(e,"data-type","goa-badge"),d(e,"class",n="goa-badge badge-"+i[0]),j(e,"icon-only",i[7]&&!i[2])},m(c,u){k(c,e,u),o.m(e,null),g(e,t),s&&s.m(e,null)},p(c,[u]){a===(a=l(c))&&o?o.p(c,u):(o.d(1),o=a(c),o&&(o.c(),o.m(e,t))),c[2]?s?s.p(c,u):(s=vt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),u&120&&r!==(r=P(c[3],c[4],c[5],c[6]))&&d(e,"style",r),u&2&&d(e,"data-testid",c[1]),u&1&&n!==(n="goa-badge badge-"+c[0])&&d(e,"class",n),u&133&&j(e,"icon-only",c[7]&&!c[2])},i:y,o:y,d(c){c&&T(e),o.d(),s&&s.d()}}}function Vi(i,e,t){let r,n,{type:l}=e,{testid:a=""}=e,{content:o=""}=e,{icon:s="false"}=e,{mt:c=null}=e,{mr:u=null}=e,{mb:f=null}=e,{ml:m=null}=e;return Q(()=>{!r&&!o&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=_=>{"type"in _&&t(0,l=_.type),"testid"in _&&t(1,a=_.testid),"content"in _&&t(2,o=_.content),"icon"in _&&t(9,s=_.icon),"mt"in _&&t(3,c=_.mt),"mr"in _&&t(4,u=_.mr),"mb"in _&&t(5,f=_.mb),"ml"in _&&t(6,m=_.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=V(s)),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"}[l])},[l,a,o,c,u,f,m,r,n,s]}class Ui extends N{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>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Vi,Gi,D,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(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",Ui);function Wi(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"data-testid",i[1]),d(e,"style",r=""+(P(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&2&&d(e,"data-testid",n[1]),l&125&&r!==(r=""+(P(n[2],n[3],n[4],n[5])+"; --alignment: "+n[6]+"; --gap-size: "+(n[0]==="relaxed"?"1rem":"0.75rem")))&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function Ki(i,e,t){let r,{alignment:n="start"}=e,{gap:l="relaxed"}=e,{testid:a=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:u=null}=e;const[f,m]=Ce("alignment",["start","end","center"]),[_,w]=Ce("gap",["relaxed","compact"]);return Q(()=>{m(n),w(l)}),i.$$set=C=>{"alignment"in C&&t(7,n=C.alignment),"gap"in C&&t(0,l=C.gap),"testid"in C&&t(1,a=C.testid),"mt"in C&&t(2,o=C.mt),"mr"in C&&t(3,s=C.mr),"mb"in C&&t(4,c=C.mb),"ml"in C&&t(5,u=C.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[n])},[l,a,o,s,c,u,r,n]}class Xi extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Ki,Wi,D,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),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",Xi);function Yi(i){let e,t,r,n,l=i[3]&&wt(i),a=i[4]&&yt(i);return{c(){l&&l.c(),e=A(),t=b("slot"),r=A(),a&&a.c(),n=be(),d(t,"class","text")},m(o,s){l&&l.m(o,s),k(o,e,s),k(o,t,s),k(o,r,s),a&&a.m(o,s),k(o,n,s)},p(o,s){o[3]?l?l.p(o,s):(l=wt(o),l.c(),l.m(e.parentNode,e)):l&&(l.d(1),l=null),o[4]?a?a.p(o,s):(a=yt(o),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null)},d(o){l&&l.d(o),o&&T(e),o&&T(t),o&&T(r),a&&a.d(o),o&&T(n)}}}function Zi(i){let e,t,r;return{c(){e=b("slot"),t=A(),r=b("goa-icon"),d(e,"class","text"),M(r,"id","trailing-icon"),M(r,"type","arrow-forward"),M(r,"inverted","true")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},p:y,d(n){n&&T(e),n&&T(t),n&&T(r)}}}function wt(i){let e;return{c(){e=b("goa-icon"),M(e,"id","leading-icon"),M(e,"type",i[3]),M(e,"inverted",i[10])},m(t,r){k(t,e,r)},p(t,r){r&8&&M(e,"type",t[3]),r&1024&&M(e,"inverted",t[10])},d(t){t&&T(e)}}}function yt(i){let e;return{c(){e=b("goa-icon"),M(e,"id","trailing-icon"),M(e,"type",i[4]),M(e,"inverted",i[10])},m(t,r){k(t,e,r)},p(t,r){r&16&&M(e,"type",t[4]),r&1024&&M(e,"inverted",t[10])},d(t){t&&T(e)}}}function Ji(i){let e,t,r,n,l;function a(c,u){return c[0]==="start"?Zi:Yi}let o=a(i),s=o(i);return{c(){e=b("button"),s.c(),this.c=y,d(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),d(e,"style",r=P(i[6],i[7],i[8],i[9])),e.disabled=i[11],d(e,"data-testid",i[5]),j(e,"leading",i[3]),j(e,"trailing",i[4]||i[0]==="start")},m(c,u){k(c,e,u),s.m(e,null),n||(l=[X(e,"click",_t),X(e,"click",_t)],n=!0)},p(c,[u]){o===(o=a(c))&&s?s.p(c,u):(s.d(1),s=o(c),s&&(s.c(),s.m(e,null))),u&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&d(e,"class",t),u&960&&r!==(r=P(c[6],c[7],c[8],c[9]))&&d(e,"style",r),u&2048&&(e.disabled=c[11]),u&32&&d(e,"data-testid",c[5]),u&15&&j(e,"leading",c[3]),u&23&&j(e,"trailing",c[4]||c[0]==="start")},i:y,o:y,d(c){c&&T(e),s.d(),n=!1,ee(l)}}}function _t(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function Qi(i,e,t){let r,n;const[l,a]=Ce("Button type",["primary","submit","secondary","tertiary","start"],!0),[o,s]=Ce("Button size",["normal","compact"],!0),[c,u]=Ce("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:m="normal"}=e,{variant:_="normal"}=e,{disabled:w="false"}=e,{leadingicon:C=null}=e,{trailingicon:p=null}=e,{testid:E=""}=e,{mt:x=null}=e,{mr:L=null}=e,{mb:z=null}=e,{ml:R=null}=e;return Q(()=>{a(f),s(m),u(_)}),i.$$set=v=>{"type"in v&&t(0,f=v.type),"size"in v&&t(1,m=v.size),"variant"in v&&t(2,_=v.variant),"disabled"in v&&t(12,w=v.disabled),"leadingicon"in v&&t(3,C=v.leadingicon),"trailingicon"in v&&t(4,p=v.trailingicon),"testid"in v&&t(5,E=v.testid),"mt"in v&&t(6,x=v.mt),"mr"in v&&t(7,L=v.mr),"mb"in v&&t(8,z=v.mb),"ml"in v&&t(9,R=v.ml)},i.$$.update=()=>{i.$$.dirty&4096&&t(11,r=V(w)),i.$$.dirty&1&&t(10,n=f==="primary"||f==="start")},[f,m,_,C,p,E,x,L,z,R,n,r,w]}class $i extends N{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--fs-lg);font-weight:400;height:var(--button-height);letter-spacing:0.5px;line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
7
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(
|
|
8
|
+
--font-valign-fix
|
|
9
|
+
)}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>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Qi,Ji,D,{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&&k(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",$i);function kt(i){let e,t;return{c(){e=b("h3"),t=q(i[5])},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&32&&K(t,r[5])},d(r){r&&T(e)}}}function er(i){let e,t,r,n,l,a,o,s,c,u,f=i[5]&&kt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=A(),o=b("span"),f&&f.c(),s=A(),c=b("slot"),this.c=y,M(r,"type",i[7]),M(r,"inverted",n=i[4]==="important"?"false":"true"),d(t,"class",l="icon "+i[4]),d(o,"class","content"),d(e,"style",u=P(i[0],i[1],i[2],i[3])),d(e,"class","notification"),d(e,"data-testid",i[6])},m(m,_){k(m,e,_),g(e,t),g(t,r),g(e,a),g(e,o),f&&f.m(o,null),g(o,s),g(o,c)},p(m,[_]){_&128&&M(r,"type",m[7]),_&16&&n!==(n=m[4]==="important"?"false":"true")&&M(r,"inverted",n),_&16&&l!==(l="icon "+m[4])&&d(t,"class",l),m[5]?f?f.p(m,_):(f=kt(m),f.c(),f.m(o,s)):f&&(f.d(1),f=null),_&15&&u!==(u=P(m[0],m[1],m[2],m[3]))&&d(e,"style",u),_&64&&d(e,"data-testid",m[6])},i:y,o:y,d(m){m&&T(e),f&&f.d()}}}function tr(i,e,t){let r,{mt:n=null}=e,{mr:l=null}=e,{mb:a="l"}=e,{ml:o=null}=e,{type:s}=e,{heading:c=""}=e,{testid:u=""}=e;return i.$$set=f=>{"mt"in f&&t(0,n=f.mt),"mr"in f&&t(1,l=f.mr),"mb"in f&&t(2,a=f.mb),"ml"in f&&t(3,o=f.ml),"type"in f&&t(4,s=f.type),"heading"in f&&t(5,c=f.heading),"testid"in f&&t(6,u=f.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="success"?"checkmark-circle":s==="event"?"calendar":"")},[n,l,a,o,s,c,u,r]}class ir extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},tr,er,D,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&k(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",ir);function rr(i){let e;return{c(){e=b("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=y},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class nr extends N{constructor(e){super();I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,rr,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",nr);function lr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=y,d(e,"class","card-content")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class ar extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,lr,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",ar);function or(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=y,d(e,"class","card-group")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class sr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,or,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",sr);function cr(i){let e;return{c(){e=b("div"),this.c=y,Z(e,"background-image","url("+i[0]+")"),Z(e,"height",i[1]),Z(e,"background-size","cover"),Z(e,"background-position","center")},m(t,r){k(t,e,r)},p(t,[r]){r&1&&Z(e,"background-image","url("+t[0]+")"),r&2&&Z(e,"height",t[1])},i:y,o:y,d(t){t&&T(e)}}}function ur(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 dr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ur,cr,D,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",dr);function fr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"data-testid",i[7]),d(e,"class","card"),d(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+P(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){k(n,e,l),g(e,t)},p(n,[l]){l&128&&d(e,"data-testid",n[7]),l&127&&r!==(r="--width: "+n[1]+"; --height: "+(n[2]==="auto"?"auto":"100%")+"; "+P(n[3],n[4],n[5],n[6])+" "+(n[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${n[0]});`)+"")&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function hr(i,e,t){let{elevation:r=0}=e,{width:n="100%"}=e,{height:l="auto"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:u=""}=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,a=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,u=f.testid)},[r,n,l,a,o,s,c,u]}class mr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},hr,fr,D,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(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",mr);function gr(i){let e,t;return{c(){e=ge("svg"),t=ge("path"),d(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,n){k(r,e,n),g(e,t)},d(r){r&&T(e)}}}function br(i){let e,t;return{c(){e=ge("svg"),t=ge("rect"),d(t,"width","15"),d(t,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,n){k(r,e,n),g(e,t)},d(r){r&&T(e)}}}function vr(i){let e,t,r,n,l,a,o,s,c,u,f,m;function _(p,E){if(p[9])return br;if(p[8])return gr}let w=_(i),C=w&&w(i);return{c(){e=b("label"),t=b("div"),r=b("input"),l=A(),C&&C.c(),a=A(),o=b("div"),s=b("slot"),c=q(i[1]),this.c=y,d(r,"id",i[0]),d(r,"name",i[0]),r.checked=i[8],r.disabled=i[11],d(r,"type","checkbox"),r.value=n=`${i[2]}`,d(t,"class","goa-checkbox-container"),j(t,"goa-checkbox--selected",i[8]),d(o,"class","goa-checkbox-text"),d(o,"data-testid","text"),d(e,"data-testid",i[3]),d(e,"for",i[0]),d(e,"style",u=P(i[4],i[5],i[6],i[7])),d(e,"class","goa-checkbox"),j(e,"goa-checkbox--disabled",i[11]),j(e,"goa-checkbox--error",i[10])},m(p,E){k(p,e,E),g(e,t),g(t,r),g(t,l),C&&C.m(t,null),g(e,a),g(e,o),g(o,s),g(s,c),f||(m=X(r,"change",i[12]),f=!0)},p(p,[E]){E&1&&d(r,"id",p[0]),E&1&&d(r,"name",p[0]),E&256&&(r.checked=p[8]),E&2048&&(r.disabled=p[11]),E&4&&n!==(n=`${p[2]}`)&&(r.value=n),w!==(w=_(p))&&(C&&C.d(1),C=w&&w(p),C&&(C.c(),C.m(t,null))),E&256&&j(t,"goa-checkbox--selected",p[8]),E&2&&K(c,p[1]),E&8&&d(e,"data-testid",p[3]),E&1&&d(e,"for",p[0]),E&240&&u!==(u=P(p[4],p[5],p[6],p[7]))&&d(e,"style",u),E&2048&&j(e,"goa-checkbox--disabled",p[11]),E&1024&&j(e,"goa-checkbox--error",p[10])},i:y,o:y,d(p){p&&T(e),C&&C.d(),f=!1,m()}}}function wr(i,e,t){let r,n,l,a,{name:o}=e,{checked:s="false"}=e,{text:c=""}=e,{value:u=""}=e,{disabled:f="false"}=e,{error:m="false"}=e,{testid:_=""}=e,{mt:w=null}=e,{mr:C=null}=e,{mb:p=null}=e,{ml:E=null}=e,x;Q(()=>{x=u});function L(z){const R=!l,v=R?`${x||"checked"}`:"";t(13,s=Ii(R)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,checked:R,value:v}}))}return i.$$set=z=>{"name"in z&&t(0,o=z.name),"checked"in z&&t(13,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,u=z.value),"disabled"in z&&t(14,f=z.disabled),"error"in z&&t(15,m=z.error),"testid"in z&&t(3,_=z.testid),"mt"in z&&t(4,w=z.mt),"mr"in z&&t(5,C=z.mr),"mb"in z&&t(6,p=z.mb),"ml"in z&&t(7,E=z.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(11,r=V(f)),i.$$.dirty&32768&&t(10,n=V(m)),i.$$.dirty&8192&&t(8,l=V(s))},t(9,a=!1),[o,c,u,_,w,C,p,E,l,a,n,r,L,s,f,m]}class yr extends N{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>',I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},wr,vr,D,{name:0,checked:13,text:1,value:2,disabled:14,error:15,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[13]}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[14]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error: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-checkbox",yr);function pt(i){let e;return{c(){e=b("goa-icon"),M(e,"class","leading-icon"),M(e,"size","medium"),M(e,"type",i[4])},m(t,r){k(t,e,r)},p(t,r){r&16&&M(e,"type",t[4])},d(t){t&&T(e)}}}function xt(i){let e,t,r;return{c(){e=b("goa-icon"),M(e,"class","delete-icon"),M(e,"size","medium"),M(e,"theme","filled"),M(e,"type","close-circle"),M(e,"fillcolor",t=i[10]?"var(--goa-color-status-emergency)":i[9]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),M(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(n,l){k(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)")&&M(e,"fillcolor",t),l&1536&&r!==(r=n[10]?n[9]?1:.5:1)&&M(e,"opacity",r)},d(n){n&&T(e)}}}function _r(i){let e,t,r,n,l,a,o,s,c=i[4]&&pt(i),u=i[11]&&xt(i);return{c(){e=b("div"),c&&c.c(),t=A(),r=b("div"),n=q(i[5]),l=A(),u&&u.c(),this.c=y,d(r,"class","text"),d(e,"data-testid",i[7]),d(e,"class","chip"),d(e,"style",a=P(i[0],i[1],i[2],i[3])),d(e,"tabindex","0"),j(e,"deletable",i[11]),j(e,"error",i[10]),j(e,"variant",i[6])},m(f,m){k(f,e,m),c&&c.m(e,null),g(e,t),g(e,r),g(r,n),g(e,l),u&&u.m(e,null),i[15](e),o||(s=[X(e,"click",i[16]),X(e,"mouseover",i[17]),X(e,"mouseout",i[18]),X(e,"focus",i[19]),X(e,"blur",i[20])],o=!0)},p(f,[m]){f[4]?c?c.p(f,m):(c=pt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),m&32&&K(n,f[5]),f[11]?u?u.p(f,m):(u=xt(f),u.c(),u.m(e,null)):u&&(u.d(1),u=null),m&128&&d(e,"data-testid",f[7]),m&15&&a!==(a=P(f[0],f[1],f[2],f[3]))&&d(e,"style",a),m&2048&&j(e,"deletable",f[11]),m&1024&&j(e,"error",f[10]),m&64&&j(e,"variant",f[6])},i:y,o:y,d(f){f&&T(e),c&&c.d(),u&&u.d(),i[15](null),o=!1,ee(s)}}}function kr(i,e,t){let{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,{leadingicon:o=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:u}=e,{variant:f}=e,{testid:m=""}=e,_,w=!1,C,p;function E(H){_.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function x(H){te[H?"unshift":"push"](()=>{_=H,t(8,_)})}const L=H=>p&&E(H),z=()=>t(9,w=!0),R=()=>t(9,w=!1),v=()=>t(9,w=!1),F=()=>t(9,w=!1);return i.$$set=H=>{"mt"in H&&t(0,r=H.mt),"mr"in H&&t(1,n=H.mr),"mb"in H&&t(2,l=H.mb),"ml"in H&&t(3,a=H.ml),"leadingicon"in H&&t(4,o=H.leadingicon),"error"in H&&t(13,s=H.error),"deletable"in H&&t(14,c=H.deletable),"content"in H&&t(5,u=H.content),"variant"in H&&t(6,f=H.variant),"testid"in H&&t(7,m=H.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,C=V(s)),i.$$.dirty&16384&&t(11,p=V(c))},[r,n,l,a,o,u,f,m,_,w,C,p,E,s,c,x,L,z,R,v,F]}class pr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},kr,_r,D,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(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",pr);function xr(i){const e=i-1;return e*e*e+1}function Er(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:l=>`opacity: ${l*n}`}}function Et(i,{delay:e=0,duration:t=400,easing:r=xr,x:n=0,y:l=0,opacity:a=0}={}){const o=getComputedStyle(i),s=+o.opacity,c=o.transform==="none"?"":o.transform,u=s*(1-a);return{delay:e,duration:t,easing:r,css:(f,m)=>`
|
|
10
|
+
transform: ${c} translate(${(1-f)*n}px, ${(1-f)*l}px);
|
|
11
|
+
opacity: ${s-u*m}`}}function Ct(i,e){let t=!1;function r(){if(!n())return;const o=a();o>0&&(t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=o+"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 a(){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||l()},destroy(){l()}}}function zt(i){let e,t,r,n;const l=[zr,Cr],a=[];function o(s,c){return s[3]?0:s[4]?1:-1}return~(e=o(i))&&(t=a[e]=l[e](i)),{c(){t&&t.c(),r=be()},m(s,c){~e&&a[e].m(s,c),k(s,r,c),n=!0},p(s,c){let u=e;e=o(s),e===u?~e&&a[e].p(s,c):(t&&(xe(),Y(a[u],1,1,()=>{a[u]=null}),Ee()),~e?(t=a[e],t?t.p(s,c):(t=a[e]=l[e](s),t.c()),U(t,1),t.m(r.parentNode,r)):t=null)},i(s){n||(U(t),n=!0)},o(s){Y(t),n=!1},d(s){~e&&a[e].d(s),s&&T(r)}}}function Cr(i){let e,t,r,n,l=i[0]&&Mt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=A(),l&&l.c(),M(t,"size",i[2]),M(t,"progress",i[1]),d(e,"class",n="spinner-"+i[2]),j(e,"inline",i[4])},m(a,o){k(a,e,o),g(e,t),g(e,r),l&&l.m(e,null)},p(a,o){o&4&&M(t,"size",a[2]),o&2&&M(t,"progress",a[1]),a[0]?l?l.p(a,o):(l=Mt(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null),o&4&&n!==(n="spinner-"+a[2])&&d(e,"class",n),o&20&&j(e,"inline",a[4])},i:y,o:y,d(a){a&&T(e),l&&l.d()}}}function zr(i){let e,t,r,n,l,a,o,s=i[0]&&Lt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=A(),s&&s.c(),M(t,"size",i[2]),M(t,"progress",i[1]),j(e,"fullscreen",i[3])},m(c,u){k(c,e,u),g(e,t),g(e,r),s&&s.m(e,null),l=!0,a||(o=lt(Ct.call(null,e,{enable:!0})),a=!0)},p(c,u){(!l||u&4)&&M(t,"size",c[2]),(!l||u&2)&&M(t,"progress",c[1]),c[0]?s?s.p(c,u):(s=Lt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!l||u&8)&&j(e,"fullscreen",c[3])},i(c){l||(re(()=>{n||(n=We(e,ze,{duration:300},!0)),n.run(1)}),l=!0)},o(c){n||(n=We(e,ze,{duration:300},!1)),n.run(0),l=!1},d(c){c&&T(e),s&&s.d(),c&&n&&n.end(),a=!1,o()}}}function Mt(i){let e,t;return{c(){e=b("div"),t=q(i[0]),d(e,"class","message")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function Lt(i){let e,t;return{c(){e=b("div"),t=q(i[0]),d(e,"class","message")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function Mr(i){let e,t,r=i[5]&&zt(i);return{c(){r&&r.c(),e=be(),this.c=y},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[5]?r?(r.p(n,l),l&32&&U(r,1)):(r=zt(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Lr(i,e,t){let r,{variant:n="inline"}=e,{size:l="large"}=e,{message:a=""}=e,{progress:o=-1}=e,{visible:s="false"}=e,c,u,f;return Q(async()=>{t(2,c=l==="small"?"large":"xlarge"),t(3,u=n==="fullscreen"),t(4,f=n==="inline")}),i.$$set=m=>{"variant"in m&&t(6,n=m.variant),"size"in m&&t(7,l=m.size),"message"in m&&t(0,a=m.message),"progress"in m&&t(1,o=m.progress),"visible"in m&&t(8,s=m.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=V(s))},[a,o,c,u,f,r,n,l,s]}class Tr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Lr,Mr,D,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&k(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",Tr);function Rr(i){let e,t,r,n,l,a,o,s,c,u;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',n=A(),l=b("div"),l.innerHTML='<slot name="actions"></slot>',o=A(),s=b("div"),s.innerHTML="<slot></slot>",this.c=y,d(r,"class","title"),d(l,"class","actions"),d(t,"class",a="heading--"+i[1]),d(s,"class","content"),d(e,"data-testid",i[3]),d(e,"style",c=P(i[4],i[5],i[6],i[7])),d(e,"class",u=`
|
|
9
12
|
goa-container
|
|
10
13
|
goa-container--${i[0]}
|
|
11
14
|
padding--${i[2]}
|
|
12
15
|
accent--${i[1]}
|
|
13
|
-
`)},m(
|
|
16
|
+
`)},m(f,m){k(f,e,m),g(e,t),g(t,r),g(t,n),g(t,l),g(e,o),g(e,s)},p(f,[m]){m&2&&a!==(a="heading--"+f[1])&&d(t,"class",a),m&8&&d(e,"data-testid",f[3]),m&240&&c!==(c=P(f[4],f[5],f[6],f[7]))&&d(e,"style",c),m&7&&u!==(u=`
|
|
14
17
|
goa-container
|
|
15
|
-
goa-container--${
|
|
16
|
-
padding--${
|
|
17
|
-
accent--${
|
|
18
|
-
`)&&d(e,"class",c)},i:p,o:p,d(u){u&&C(e)}}}function _r(i,e,t){let{type:r="interactive"}=e,{accent:n="filled"}=e,{padding:o="relaxed"}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"accent"in a&&t(1,n=a.accent),"padding"in a&&t(2,o=a.padding)},[r,n,o]}class kr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},_r,yr,S,{type:0,accent:1,padding:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding"]}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()}}customElements.define("goa-container",kr);const we=[];function wt(i,e=p){let t;const r=new Set;function n(l){if(S(i,l)&&(i=l,t)){const s=!we.length;for(const c of r)c[1](),we.push(c,i);if(s){for(let c=0;c<we.length;c+=2)we[c][0](we[c+1]);we.length=0}}}function o(l){n(l(i))}function a(l,s=p){const c=[l,s];return r.add(c),r.size===1&&(t=e(n)||p),l(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:o,subscribe:a}}const Pe={};class xr{constructor(){this.store=wt()}subscribe(e){this.store.subscribe(t=>{e(t)})}notify(e){this.store.update(()=>e)}}function yt(i){const e=new xr;return Pe[i]=e,e}function _t(i){return Pe[i]}function kt(i){!Pe[i]||delete Pe[i]}const xt="bind";function Et(i,e,t){const r=i.slice();return r[39]=e[t],r[41]=t,r}function zt(i){let e,t,r,n;return{c(){e=b("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(o,a){w(o,e,a),r||(n=U(e,"click",i[17]),r=!0)},p(o,a){a[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(o){o&&C(e),r=!1,n()}}}function Ct(i){let e,t=(i[39].label||i[39].value)+"",r,n,o,a,l,s,c,u,f;function g(){return i[21](i[39])}return{c(){e=b("li"),r=P(t),d(e,"id",n=i[39].label),d(e,"role","option"),d(e,"aria-label",o=i[39].label||i[39].value),d(e,"aria-selected",a=i[8].includes(i[39].value)?"true":"false"),d(e,"class","goa-dropdown-option"),d(e,"data-testid",l=`dropdown-item-${i[39].value}`),d(e,"data-index",s=i[41]),d(e,"style",c="display: block"),B(e,"goa-dropdown-option--disabled",!1),B(e,"goa-dropdown-option--tabbed",i[41]===i[12]),B(e,"goa-dropdown-option--selected",i[8].includes(i[39].value))},m(k,y){w(k,e,y),m(e,r),u||(f=U(e,"click",g),u=!0)},p(k,y){i=k,y[0]&512&&t!==(t=(i[39].label||i[39].value)+"")&&V(r,t),y[0]&512&&n!==(n=i[39].label)&&d(e,"id",n),y[0]&512&&o!==(o=i[39].label||i[39].value)&&d(e,"aria-label",o),y[0]&768&&a!==(a=i[8].includes(i[39].value)?"true":"false")&&d(e,"aria-selected",a),y[0]&512&&l!==(l=`dropdown-item-${i[39].value}`)&&d(e,"data-testid",l),y[0]&4096&&B(e,"goa-dropdown-option--tabbed",i[41]===i[12]),y[0]&768&&B(e,"goa-dropdown-option--selected",i[8].includes(i[39].value))},d(k){k&&C(e),u=!1,f()}}}function Er(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y,_=i[11]&&zt(i),E=i[9],x=[];for(let v=0;v<E.length;v+=1)x[v]=Ct(Et(i,E,v));return{c(){e=b("div"),_&&_.c(),t=A(),r=b("goa-input"),a=A(),l=b("ul");for(let v=0;v<x.length;v+=1)x[v].c();s=A(),c=b("slot"),this.c=p,z(r,"error",i[7]),z(r,"disabled",i[6]),z(r,"leadingicon",i[2]),z(r,"placeholder",i[4]),z(r,"width","100%"),z(r,"data-testid",n=`${i[0]}-dropdown-input`),z(r,"role","combobox"),z(r,"aria-label",o=i[1]||i[0]),z(r,"aria-expanded",i[11]),z(r,"aria-controls","menu"),z(r,"readonly",""),z(r,"trailingicon","chevron-down"),z(r,"type","text"),z(r,"value",i[10]),d(l,"id","menu"),d(l,"role","listbox"),d(l,"aria-activedescendant",i[10]),d(l,"data-testid","dropdown-menu"),d(l,"tabindex","0"),d(l,"class","goa-dropdown-list"),d(l,"style",u=`overflow-y: auto; max-height: ${i[3]}`),B(l,"dropdown-active",i[11]),d(e,"data-testid",f=`${i[0]}-dropdown`),d(e,"class","goa-dropdown-box"),d(e,"style",g=`--width: ${i[5]||i[13]}`)},m(v,M){w(v,e,M),_&&_.m(e,null),m(e,t),m(e,r),m(e,a),m(e,l);for(let L=0;L<x.length;L+=1)x[L].m(l,null);m(l,s),m(l,c),i[22](l),i[23](e),k||(y=U(r,"click",i[16]),k=!0)},p(v,M){if(v[11]?_?_.p(v,M):(_=zt(v),_.c(),_.m(e,t)):_&&(_.d(1),_=null),M[0]&128&&z(r,"error",v[7]),M[0]&64&&z(r,"disabled",v[6]),M[0]&4&&z(r,"leadingicon",v[2]),M[0]&16&&z(r,"placeholder",v[4]),M[0]&1&&n!==(n=`${v[0]}-dropdown-input`)&&z(r,"data-testid",n),M[0]&3&&o!==(o=v[1]||v[0])&&z(r,"aria-label",o),M[0]&2048&&z(r,"aria-expanded",v[11]),M[0]&1024&&z(r,"value",v[10]),M[0]&267008){E=v[9];let L;for(L=0;L<E.length;L+=1){const R=Et(v,E,L);x[L]?x[L].p(R,M):(x[L]=Ct(R),x[L].c(),x[L].m(l,s))}for(;L<x.length;L+=1)x[L].d(1);x.length=E.length}M[0]&1024&&d(l,"aria-activedescendant",v[10]),M[0]&8&&u!==(u=`overflow-y: auto; max-height: ${v[3]}`)&&d(l,"style",u),M[0]&2048&&B(l,"dropdown-active",v[11]),M[0]&1&&f!==(f=`${v[0]}-dropdown`)&&d(e,"data-testid",f),M[0]&8224&&g!==(g=`--width: ${v[5]||v[13]}`)&&d(e,"style",g)},i:p,o:p,d(v){v&&C(e),_&&_.d(),Re(x,v),i[22](null),i[23](null),k=!1,y()}}}const zr="276px";function Cr(i,e,t){let r,n,{name:o}=e,{arialabel:a=""}=e,{value:l=""}=e,{leadingicon:s=null}=e,{maxheight:c=zr}=e,{placeholder:u=""}=e,{width:f=""}=e,{disabled:g="false"}=e,{error:k="false"}=e,{multiselect:y="false"}=e,_=[],E=[],x="",v=!1,M=0,L=0,R,T,j,K;X(()=>{const H=10;let te=0;const oe=setInterval(async()=>{te++,o&&T&&(ne(),Z(),Y(),clearInterval(oe)),te>H&&(console.error("goa-dropdown: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(oe))},10)}),it(()=>{ue(),kt(o)});function ne(){T.addEventListener("focus",li,!0),T.addEventListener("blur",si,!0)}function ue(){T.removeEventListener("focus",li,!0),T.removeEventListener("blur",si,!0)}function Z(){let H;try{H=JSON.parse(l||"[]")}catch{H=[l]}t(8,_=(typeof H=="object"?H:[H]).map(oe=>`${oe}`))}function Y(){K=yt(o),K.subscribe(H=>{switch(H==null?void 0:H.type){case xt:{const te=H,oe=_.includes(te.value);t(9,E=[...E,Object.assign(Object.assign({},te),{selected:oe})]),oe&&t(10,x=te.label),!f&&L<te.label.length&&(L=te.label.length,t(13,R=`${Math.max(20,L+12)}ch`)),Fe();break}}})}async function J(){r||v||(t(11,v=!0),await De(),j.addEventListener("blur",ee),j.addEventListener("mouseover",ci))}function ee(){j.removeEventListener("blur",ee),j.removeEventListener("mouseover",ci),Fe(),t(11,v=!1)}function Fe(){t(12,M=E.findIndex(H=>_.includes(H.value)))}function I(H,te,oe){r||(t(10,x=te),n?(_.push(H),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,values:_}}))):(t(8,_=[H]),T.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:_[0]}}))),oe&&ee())}const ze=H=>{switch(H.key){case" ":case"Enter":v?ee():J(),H.preventDefault();break;case"Escape":v&&ee(),H.preventDefault();break;case"ArrowDown":if(H.altKey){v?ee():J();break}uo(),H.preventDefault();break;case"ArrowUp":if(H.altKey){v?ee():J();break}fo(),H.preventDefault();break}};function uo(){M<E.length-1&&(t(12,M++,M),I(E[M].value,E[M].label,!1))}function fo(){M>0&&(t(12,M--,M),I(E[M].value,E[M].label,!1))}function li(){T.addEventListener("keydown",ze)}function si(){T.removeEventListener("keydown",ze)}function ci(H){t(12,M=Number(H.target.dataset.index))}const ho=H=>I(H.value,H.label,!0);function go(H){$[H?"unshift":"push"](()=>{j=H,t(15,j)})}function mo(H){$[H?"unshift":"push"](()=>{T=H,t(14,T)})}return i.$$set=H=>{"name"in H&&t(0,o=H.name),"arialabel"in H&&t(1,a=H.arialabel),"value"in H&&t(19,l=H.value),"leadingicon"in H&&t(2,s=H.leadingicon),"maxheight"in H&&t(3,c=H.maxheight),"placeholder"in H&&t(4,u=H.placeholder),"width"in H&&t(5,f=H.width),"disabled"in H&&t(6,g=H.disabled),"error"in H&&t(7,k=H.error),"multiselect"in H&&t(20,y=H.multiselect)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=q(g)),i.$$.dirty[0]&1048576&&(n=q(y))},[o,a,s,c,u,f,g,k,_,E,x,v,M,R,T,j,J,ee,I,l,y,ho,go,mo]}class Mr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Cr,Er,S,{name:0,arialabel:1,value:19,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:20},null,[-1,-1]),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),h()}get value(){return this.$$.ctx[19]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[20]}set multiselect(e){this.$$set({multiselect:e}),h()}}customElements.define("goa-dropdown",Mr);function Lr(i){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function Tr(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:o=""}=e,a;return X(()=>{const l=setInterval(()=>{if(r&&n){if(a=_t(r),!a)return;a.notify({type:xt,name:r,label:o,value:n}),clearInterval(l)}},10)}),i.$$set=l=>{"name"in l&&t(0,r=l.name),"value"in l&&t(1,n=l.value),"label"in l&&t(2,o=l.label)},[r,n,o]}class Rr extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Tr,Lr,S,{name:0,value:1,label:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Rr);function Ar(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","goa-flex-col"),F(e,"gap",i[0])},m(r,n){w(r,e,n),m(e,t)},p(r,[n]){n&1&&F(e,"gap",r[0])},i:p,o:p,d(r){r&&C(e)}}}function Hr(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Ir extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);margin-bottom:3rem}.goa-flex-col{display:flex;flex-direction:column;gap:var(--gap)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Hr,Ar,S,{gap:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-col",Ir);function Sr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","goa-flex-row"),F(e,"gap",i[0])},m(r,n){w(r,e,n),m(e,t)},p(r,[n]){n&1&&F(e,"gap",r[0])},i:p,o:p,d(r){r&&C(e)}}}function Br(i,e,t){let r,{gap:n=""}=e;return i.$$set=o=>{"gap"in o&&t(1,n=o.gap)},i.$$.update=()=>{i.$$.dirty&2&&t(0,r=n==="small"?"1rem":n==="medium"?"2rem":n==="large"?"3rem":"0")},[r,n]}class Dr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-flex-row{display:grid;grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:var(--gap);margin-bottom:1rem}}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Br,Sr,S,{gap:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Dr);function Nr(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
18
|
+
goa-container--${f[0]}
|
|
19
|
+
padding--${f[2]}
|
|
20
|
+
accent--${f[1]}
|
|
21
|
+
`)&&d(e,"class",u)},i:y,o:y,d(f){f&&T(e)}}}function Ar(i,e,t){let{type:r="interactive"}=e,{accent:n="filled"}=e,{padding:l="relaxed"}=e,{testid:a=""}=e,{mt:o=null}=e,{mr:s=null}=e,{mb:c="m"}=e,{ml:u=null}=e;return i.$$set=f=>{"type"in f&&t(0,r=f.type),"accent"in f&&t(1,n=f.accent),"padding"in f&&t(2,l=f.padding),"testid"in f&&t(3,a=f.testid),"mt"in f&&t(4,o=f.mt),"mr"in f&&t(5,s=f.mr),"mb"in f&&t(6,c=f.mb),"ml"in f&&t(7,u=f.ml)},[r,n,l,a,o,s,c,u]}class Hr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Ar,Rr,D,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(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",Hr);const Me=[];function Tt(i,e=y){let t;const r=new Set;function n(o){if(D(i,o)&&(i=o,t)){const s=!Me.length;for(const c of r)c[1](),Me.push(c,i);if(s){for(let c=0;c<Me.length;c+=2)Me[c][0](Me[c+1]);Me.length=0}}}function l(o){n(o(i))}function a(o,s=y){const c=[o,s];return r.add(c),r.size===1&&(t=e(n)||y),o(i),()=>{r.delete(c),r.size===0&&(t(),t=null)}}return{set:n,update:l,subscribe:a}}const Ke={};class Br{constructor(){this.store=Tt()}subscribe(e){this.store.subscribe(t=>{!t||e(t)})}notify(e){(async()=>{await ue(),this.store.update(()=>e)})()}}function Xe(i){let e=Ke[i];return e||(e=new Br),Ke[i]=e,e}function Rt(i){!Ke[i]||delete Ke[i]}function At(i,e,t){const r=i.slice();return r[44]=e[t],r[46]=t,r}function Ht(i){let e,t,r,n;return{c(){e=b("div"),d(e,"data-testid",t=`${i[0]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(l,a){k(l,e,a),r||(n=X(e,"click",i[21]),r=!0)},p(l,a){a[0]&1&&t!==(t=`${l[0]}-dropdown-background`)&&d(e,"data-testid",t)},d(l){l&&T(e),r=!1,n()}}}function Bt(i){let e,t=(i[44].label||i[44].value)+"",r,n,l,a,o,s,c,u,f;function m(){return i[26](i[44])}return{c(){e=b("li"),r=q(t),d(e,"id",n=i[44].label),d(e,"role","option"),d(e,"aria-label",l=i[44].label||i[44].value),d(e,"aria-selected",a=i[13].includes(i[44].value)?"true":"false"),d(e,"class","goa-dropdown-option"),d(e,"data-testid",o=`dropdown-item-${i[44].value}`),d(e,"data-index",s=i[46]),d(e,"style",c="display: block"),j(e,"goa-dropdown-option--disabled",!1),j(e,"goa-dropdown-option--tabbed",i[46]===i[17]),j(e,"goa-dropdown-option--selected",i[13].includes(i[44].value))},m(_,w){k(_,e,w),g(e,r),u||(f=X(e,"click",m),u=!0)},p(_,w){i=_,w[0]&16384&&t!==(t=(i[44].label||i[44].value)+"")&&K(r,t),w[0]&16384&&n!==(n=i[44].label)&&d(e,"id",n),w[0]&16384&&l!==(l=i[44].label||i[44].value)&&d(e,"aria-label",l),w[0]&24576&&a!==(a=i[13].includes(i[44].value)?"true":"false")&&d(e,"aria-selected",a),w[0]&16384&&o!==(o=`dropdown-item-${i[44].value}`)&&d(e,"data-testid",o),w[0]&131072&&j(e,"goa-dropdown-option--tabbed",i[46]===i[17]),w[0]&24576&&j(e,"goa-dropdown-option--selected",i[13].includes(i[44].value))},d(_){_&&T(e),u=!1,f()}}}function Sr(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C=i[16]&&Ht(i),p=i[14],E=[];for(let x=0;x<p.length;x+=1)E[x]=Bt(At(i,p,x));return{c(){e=b("div"),C&&C.c(),t=A(),r=b("goa-input"),a=A(),o=b("ul");for(let x=0;x<E.length;x+=1)E[x].c();s=A(),c=b("slot"),this.c=y,M(r,"error",i[7]),M(r,"disabled",i[6]),M(r,"leadingicon",i[2]),M(r,"placeholder",i[4]),M(r,"width","100%"),M(r,"data-testid",n=`${i[0]}-dropdown-input`),M(r,"role","combobox"),M(r,"aria-label",l=i[1]||i[0]),M(r,"aria-expanded",i[16]),M(r,"aria-controls","menu"),M(r,"readonly",""),M(r,"trailingicon","chevron-down"),M(r,"type","text"),M(r,"value",i[15]),d(o,"id","menu"),d(o,"role","listbox"),d(o,"aria-activedescendant",i[15]),d(o,"data-testid","dropdown-menu"),d(o,"tabindex","0"),d(o,"class","goa-dropdown-list"),d(o,"style",u=`overflow-y: auto; max-height: ${i[3]}`),j(o,"dropdown-active",i[16]),d(e,"data-testid",f=`${i[0]}-dropdown`),d(e,"class","goa-dropdown-box"),d(e,"style",m=`
|
|
22
|
+
${P(i[8],i[9],i[10],i[11])}
|
|
23
|
+
--width: ${i[5]||i[18]}
|
|
24
|
+
`)},m(x,L){k(x,e,L),C&&C.m(e,null),g(e,t),g(e,r),g(e,a),g(e,o);for(let z=0;z<E.length;z+=1)E[z].m(o,null);g(o,s),g(o,c),i[27](o),i[28](e),_||(w=X(r,"click",i[20]),_=!0)},p(x,L){if(x[16]?C?C.p(x,L):(C=Ht(x),C.c(),C.m(e,t)):C&&(C.d(1),C=null),L[0]&128&&M(r,"error",x[7]),L[0]&64&&M(r,"disabled",x[6]),L[0]&4&&M(r,"leadingicon",x[2]),L[0]&16&&M(r,"placeholder",x[4]),L[0]&1&&n!==(n=`${x[0]}-dropdown-input`)&&M(r,"data-testid",n),L[0]&3&&l!==(l=x[1]||x[0])&&M(r,"aria-label",l),L[0]&65536&&M(r,"aria-expanded",x[16]),L[0]&32768&&M(r,"value",x[15]),L[0]&4349952){p=x[14];let z;for(z=0;z<p.length;z+=1){const R=At(x,p,z);E[z]?E[z].p(R,L):(E[z]=Bt(R),E[z].c(),E[z].m(o,s))}for(;z<E.length;z+=1)E[z].d(1);E.length=p.length}L[0]&32768&&d(o,"aria-activedescendant",x[15]),L[0]&8&&u!==(u=`overflow-y: auto; max-height: ${x[3]}`)&&d(o,"style",u),L[0]&65536&&j(o,"dropdown-active",x[16]),L[0]&1&&f!==(f=`${x[0]}-dropdown`)&&d(e,"data-testid",f),L[0]&266016&&m!==(m=`
|
|
25
|
+
${P(x[8],x[9],x[10],x[11])}
|
|
26
|
+
--width: ${x[5]||x[18]}
|
|
27
|
+
`)&&d(e,"style",m)},i:y,o:y,d(x){x&&T(e),C&&C.d(),Oe(E,x),i[27](null),i[28](null),_=!1,w()}}}const Dr="276px";function Nr(i,e,t){let r,n,{name:l}=e,{arialabel:a=""}=e,{value:o=""}=e,{leadingicon:s=null}=e,{maxheight:c=Dr}=e,{placeholder:u=""}=e,{width:f=""}=e,{disabled:m="false"}=e,{error:_="false"}=e,{multiselect:w="false"}=e,{mt:C=null}=e,{mr:p=null}=e,{mb:E=null}=e,{ml:x=null}=e,L=[],z=[],R="",v=!1,F=0,H=0,W,G,ie,Le,le=!1;ut(()=>{$(),Rt(l)});function J(){G.addEventListener("focus",vi,!0),G.addEventListener("blur",wi,!0)}function $(){G.removeEventListener("focus",vi,!0),G.removeEventListener("blur",wi,!0)}function Ye(){let S;try{S=JSON.parse(o||"[]")}catch{S=[o]}t(13,L=(typeof S=="object"?S:[S]).map(ke=>`${ke}`))}function oe(){Le=Xe(l),Le.subscribe(S=>{const me=S,ke=L.includes(me.value);t(14,z=[...z,Object.assign(Object.assign({},me),{selected:ke})]),ke&&t(15,R=me.label),!f&&H<me.label.length&&(H=me.label.length,t(18,W=`${Math.max(20,H+12)}ch`)),B()})}async function ye(){r||v||(t(16,v=!0),await ue(),ie.addEventListener("blur",ae),ie.addEventListener("mouseover",yi))}function ae(){ie.removeEventListener("blur",ae),ie.removeEventListener("mouseover",yi),B(),t(16,v=!1)}function B(){t(17,F=z.findIndex(S=>L.includes(S.value)))}function _e(S,me,ke){r||(t(15,R=me),n?(L.push(S),G.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,values:L}}))):(t(13,L=[S]),G.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:L[0]}}))),ke&&ae())}const bi=S=>{switch(S.key){case" ":case"Enter":v?ae():ye(),S.preventDefault();break;case"Escape":v&&ae(),S.preventDefault();break;case"ArrowDown":if(S.altKey){v?ae():ye();break}kl(),S.preventDefault();break;case"ArrowUp":if(S.altKey){v?ae():ye();break}pl(),S.preventDefault();break}};function kl(){F<z.length-1&&(t(17,F++,F),_e(z[F].value,z[F].label,!1))}function pl(){F>0&&(t(17,F--,F),_e(z[F].value,z[F].label,!1))}function vi(){G.addEventListener("keydown",bi)}function wi(){G.removeEventListener("keydown",bi)}function yi(S){t(17,F=Number(S.target.dataset.index))}const xl=S=>_e(S.value,S.label,!0);function El(S){te[S?"unshift":"push"](()=>{ie=S,t(19,ie)})}function Cl(S){te[S?"unshift":"push"](()=>{G=S,t(12,G)})}return i.$$set=S=>{"name"in S&&t(0,l=S.name),"arialabel"in S&&t(1,a=S.arialabel),"value"in S&&t(23,o=S.value),"leadingicon"in S&&t(2,s=S.leadingicon),"maxheight"in S&&t(3,c=S.maxheight),"placeholder"in S&&t(4,u=S.placeholder),"width"in S&&t(5,f=S.width),"disabled"in S&&t(6,m=S.disabled),"error"in S&&t(7,_=S.error),"multiselect"in S&&t(24,w=S.multiselect),"mt"in S&&t(8,C=S.mt),"mr"in S&&t(9,p=S.mr),"mb"in S&&t(10,E=S.mb),"ml"in S&&t(11,x=S.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&(r=V(m)),i.$$.dirty[0]&16777216&&(n=V(w)),i.$$.dirty[0]&33558529&&(async()=>{await ue(),l&&G&&!le&&(t(25,le=!0),J(),Ye(),oe())})()},[l,a,s,c,u,f,m,_,C,p,E,x,G,L,z,R,v,F,W,ie,ye,ae,_e,o,w,le,xl,El,Cl]}class jr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.goa-dropdown-box{width:var(--width)}}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Nr,Sr,D,{name:0,arialabel:1,value:23,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:24,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),h()}get value(){return this.$$.ctx[23]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get multiselect(){return this.$$.ctx[24]}set multiselect(e){this.$$set({multiselect:e}),h()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-dropdown",jr);function Or(i){return{c(){this.c=y},m:y,p:y,i:y,o:y,d:y}}function Ir(i,e,t){let{name:r=""}=e,{value:n=""}=e,{label:l=""}=e,a,o=!1;return i.$$set=s=>{"name"in s&&t(0,r=s.name),"value"in s&&t(1,n=s.value),"label"in s&&t(2,l=s.label)},i.$$.update=()=>{i.$$.dirty&31&&(async()=>{await ue(),o||(t(4,o=!0),t(3,a=Xe(r)),a.notify({type:"bind",name:r,label:l,value:n}))})()},[r,n,l,a,o]}class Pr extends N{constructor(e){super();I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Ir,Or,D,{name:0,value:1,label:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Pr);function Fr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"class","goa-grid"),d(e,"style",r=`
|
|
28
|
+
${P(i[2],i[3],i[4],i[5])}
|
|
29
|
+
--min-child-width: ${i[1]||0};
|
|
30
|
+
gap: var(--goa-spacing-${i[0]})
|
|
31
|
+
`)},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&63&&r!==(r=`
|
|
32
|
+
${P(n[2],n[3],n[4],n[5])}
|
|
33
|
+
--min-child-width: ${n[1]||0};
|
|
34
|
+
gap: var(--goa-spacing-${n[0]})
|
|
35
|
+
`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function qr(i,e,t){let{gap:r="m"}=e,{minchildwidth:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e;return Q(()=>{Pi("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,l=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,o=c.mb),"ml"in c&&t(5,s=c.ml)},[r,n,l,a,o,s]}class Gr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},qr,Fr,D,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth: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-grid",Gr);function Vr(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
19
36
|
|
|
20
|
-
<span tabindex="0"></span>`,this.c=
|
|
37
|
+
<span tabindex="0"></span>`,this.c=y,d(e,"id","root")},m(t,r){k(t,e,r),i[4](e)},p:y,i:y,o:y,d(t){t&&T(e),i[4](null)}}}function Ur(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 Wr(i,e,t){let r,{active:n}=e,l=!1,a,o,s=!1;function c(){document.removeEventListener("focus",x,!0)}function u(){document.addEventListener("focus",x,!0)}function f(z){if(!z)return!1;for(const R of z)if(E(R)||f(R.childNodes)||m(R)||_(R))return!0;return!1}function m(z){if(!(z instanceof HTMLSlotElement))return!1;if(f(z.assignedNodes()))return!0}function _(z){var R;if(!(z instanceof HTMLElement))return!1;if(f((R=z.shadowRoot)===null||R===void 0?void 0:R.childNodes))return!0}function w(z){if(!z)return!1;for(let R=z.length-1;R>=0;R--){let v=z[R];if(E(v)||w(v.childNodes)||C(v)||p(v))return!0}return!1}function C(z){if(!(z instanceof HTMLSlotElement))return!1;if(w(z.assignedNodes()))return!0}function p(z){var R;if(!(z instanceof HTMLElement))return!1;if(w((R=z.shadowRoot)===null||R===void 0?void 0:R.childNodes))return!0}function E(z){if(!Ur(z))return!1;try{l=!0,z.focus()}catch{}finally{l=!1}return document.activeElement===z}function x(z){var R;if(l)return;const v=(R=o.firstChild)===null||R===void 0?void 0:R.assignedElements();if(!(v==null?void 0:v.length))return;const F=v[0];if(z.composedPath().includes(F)){a=z.target;return}f(F.childNodes),a==document.activeElement&&w(F.childNodes),a=document.activeElement}function L(z){te[z?"unshift":"push"](()=>{o=z,t(0,o)})}return i.$$set=z=>{"active"in z&&t(1,n=z.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=V(n)),i.$$.dirty&12&&(r&&!s&&(u(),t(2,s=!0)),!r&&s&&(c(),t(2,s=!1)))},[o,n,s,r,L]}class Kr extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>#root{display:inline}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Wr,Vr,D,{active:1},null),e&&(e.target&&k(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",Kr);function St(i,e,t){const r=i.slice();return r[3]=e[t],r}function Dt(i){let e,t,r=i[3].innerHTML+"",n,l;return{c(){e=b("li"),t=b("a"),n=q(r),d(t,"href",l=i[3].href)},m(a,o){k(a,e,o),g(e,t),g(t,n)},p(a,o){o&2&&r!==(r=a[3].innerHTML+"")&&K(n,r),o&2&&l!==(l=a[3].href)&&d(t,"href",l)},d(a){a&&T(e)}}}function Xr(i){let e,t,r,n,l=i[1],a=[];for(let o=0;o<l.length;o+=1)a[o]=Dt(St(i,l,o));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=A(),n=b("ul");for(let o=0;o<a.length;o+=1)a[o].c();this.c=y,d(t,"class","hidden")},m(o,s){k(o,e,s),g(e,t),g(e,r),g(e,n);for(let c=0;c<a.length;c+=1)a[c].m(n,null);i[2](e)},p(o,[s]){if(s&2){l=o[1];let c;for(c=0;c<l.length;c+=1){const u=St(o,l,c);a[c]?a[c].p(u,s):(a[c]=Dt(u),a[c].c(),a[c].m(n,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=l.length}},i:y,o:y,d(o){o&&T(e),Oe(a,o),i[2](null)}}}function Yr(i,e,t){let r,n=[];Q(async()=>{if(await ue(),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 l(a){te[a?"unshift":"push"](()=>{r=a,t(0,r)})}return[r,n,l]}class Zr extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Yr,Xr,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",Zr);function Nt(i,e,t){const r=i.slice();return r[5]=e[t],r}function jt(i){let e,t,r,n;return{c(){e=b("div"),t=q(i[0]),r=A(),n=b("goa-divider"),d(e,"class","title"),M(n,"spacing","small")},m(l,a){k(l,e,a),g(e,t),k(l,r,a),k(l,n,a)},p(l,a){a&1&&K(t,l[0])},d(l){l&&T(e),l&&T(r),l&&T(n)}}}function Ot(i){let e,t,r=i[5].innerHTML+"",n,l;return{c(){e=b("li"),t=b("a"),n=q(r),d(t,"href",l=i[5].href)},m(a,o){k(a,e,o),g(e,t),g(t,n)},p(a,o){o&8&&r!==(r=a[5].innerHTML+"")&&K(n,r),o&8&&l!==(l=a[5].href)&&d(t,"href",l)},d(a){a&&T(e)}}}function Jr(i){let e,t,r,n,l,a,o=i[0]&&jt(i),s=i[3],c=[];for(let u=0;u<s.length;u+=1)c[u]=Ot(Nt(i,s,u));return{c(){e=b("section"),o&&o.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),l=b("ul");for(let u=0;u<c.length;u+=1)c[u].c();this.c=y,d(r,"class","hidden"),d(l,"class","links"),d(l,"style",a=`
|
|
21
38
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
22
39
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
23
40
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
24
41
|
--wide-column-count: ${i[1]};
|
|
25
|
-
`)},m(u,f){
|
|
42
|
+
`)},m(u,f){k(u,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),g(e,l);for(let m=0;m<c.length;m+=1)c[m].m(l,null);i[4](e)},p(u,[f]){if(u[0]?o?o.p(u,f):(o=jt(u),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&8){s=u[3];let m;for(m=0;m<s.length;m+=1){const _=Nt(u,s,m);c[m]?c[m].p(_,f):(c[m]=Ot(_),c[m].c(),c[m].m(l,null))}for(;m<c.length;m+=1)c[m].d(1);c.length=s.length}f&2&&a!==(a=`
|
|
26
43
|
--narrow-display-type: ${Math.ceil(u[1]/2)>1?"block":"flex"};
|
|
27
44
|
--narrow-column-count: ${Math.ceil(u[1]/2)};
|
|
28
45
|
--wide-display-type: ${u[1]>1?"block":"flex"};
|
|
29
46
|
--wide-column-count: ${u[1]};
|
|
30
|
-
`)&&d(o,"style",a)},i:p,o:p,d(u){u&&C(e),l&&l.d(),Re(c,u),i[4](null)}}}function Ur(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,o,a=[];X(async()=>{if(await De(),t(3,a=o.querySelector("slot").assignedElements()),!a.map(u=>u.hasAttribute("href")).reduce((u,f)=>u&&f,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}const c=document.createElement("style");c.innerHTML=`
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
`,o.appendChild(c)});function l(s){$[s?"unshift":"push"](()=>{o=s,t(2,o)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,o,a,l]}class Wr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.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)}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Ur,Vr,S,{heading:0,maxcolumncount:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",Wr);function Ht(i){let e;return{c(){e=b("goa-divider"),z(e,"spacing","small")},m(t,r){w(t,e,r)},d(t){t&&C(e)}}}function Kr(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y=i[2]?.length&&Ht();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=A(),y&&y.c(),o=A(),a=b("div"),l=b("div"),l.innerHTML='<slot name="meta"></slot>',s=A(),c=b("div"),u=b("a"),u.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=A(),g=b("a"),g.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=p,d(r,"class","nav-links"),d(l,"class","meta-links"),d(u,"href","https://alberta.ca"),d(g,"href","https://alberta.ca"),d(g,"class","goa-copyright"),d(c,"class","abgov"),B(c,"with-meta-links",i[3]?.length),d(a,"class","meta-section"),B(a,"with-meta-links",i[3]?.length),d(t,"class","content"),d(e,"class","app-footer"),d(e,"style",k=`--max-content-width: ${i[0]||"100%"}`)},m(_,E){w(_,e,E),m(e,t),m(t,r),m(t,n),y&&y.m(t,null),m(t,o),m(t,a),m(a,l),m(a,s),m(a,c),m(c,u),m(c,f),m(c,g),i[5](e)},p(_,[E]){_[2]?.length?y||(y=Ht(),y.c(),y.m(t,o)):y&&(y.d(1),y=null),E&8&&B(c,"with-meta-links",_[3]?.length),E&8&&B(a,"with-meta-links",_[3]?.length),E&1&&k!==(k=`--max-content-width: ${_[0]||"100%"}`)&&d(e,"style",k)},i:p,o:p,d(_){_&&C(e),y&&y.d(),i[5](null)}}}function Zr(i,e,t){let{maxcontentwidth:r=""}=e,n,o,a;const l=new Date().getFullYear();X(async()=>{await De();const c=n.querySelector("slot[name=nav]"),u=n.querySelector("slot[name=meta]");t(2,o=c.assignedElements()),t(3,a=u.assignedElements())});function s(c){$[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,o,a,l,s]}class Xr extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Zr,Kr,S,{maxcontentwidth:0},null),e&&(e.target&&w(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",Xr);function It(i){let e,t,r,n=i[3]&&i[4].includes(i[3]),o=n&&St(i);return{c(){e=b("div"),t=P(i[0]),r=A(),o&&o.c(),d(e,"class","label")},m(a,l){w(a,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(a,l){l&1&&V(t,a[0]),l&8&&(n=a[3]&&a[4].includes(a[3])),n?o?o.p(a,l):(o=St(a),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(a){a&&C(e),o&&o.d()}}}function St(i){let e,t,r,n;return{c(){e=b("em"),t=P("("),r=P(i[3]),n=P(")")},m(o,a){w(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&8&&V(r,o[3])},d(o){o&&C(e)}}}function Bt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),r=A(),n=P(i[2]),z(t,"type","warning"),z(t,"size","small"),z(t,"theme","filled"),F(t,"pointer-events","none"),d(e,"class","error-msg")},m(o,a){w(o,e,a),m(e,t),m(e,r),m(e,n)},p(o,a){a&4&&V(n,o[2])},d(o){o&&C(e)}}}function Dt(i){let e,t;return{c(){e=b("div"),t=P(i[1]),d(e,"class","help-msg")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&C(e)}}}function Yr(i){let e,t,r,n,o,a=i[0]&&It(i),l=i[2]&&Bt(i),s=i[1]&&Dt(i);return{c(){e=b("div"),a&&a.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),l&&l.c(),o=A(),s&&s.c(),this.c=p,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){w(c,e,u),a&&a.m(e,null),m(e,t),m(e,r),m(e,n),l&&l.m(e,null),m(e,o),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=It(c),a.c(),a.m(e,t)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Bt(c),l.c(),l.m(e,o)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Dt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&C(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function Jr(i,e,t){const r=["optional","required",""];function n(c){return r.includes(c)}let{label:o=""}=e,{helptext:a=""}=e,{error:l=""}=e,{requirement:s=""}=e;return X(()=>{n(s)||console.error("Invalid requirement type",s)}),i.$$set=c=>{"label"in c&&t(0,o=c.label),"helptext"in c&&t(1,a=c.helptext),"error"in c&&t(2,l=c.error),"requirement"in c&&t(3,s=c.requirement)},[o,a,l,s,r]}class Qr extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Jr,Yr,S,{label:0,helptext:1,error:2,requirement:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","requirement"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[3]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",Qr);function $r(i){let e,t,r,n,o,a,l,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=P(i[0]),o=A(),a=b("div"),a.innerHTML="<slot></slot>",l=A(),s=b("slot"),this.c=p,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),z(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),F(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]+")"),F(e,"background-size","cover"),F(e,"background-position","center"),F(e,"background-repeat","no-repeat")},m(c,u){w(c,e,u),m(e,t),m(t,r),m(r,n),m(t,o),m(t,a),m(t,l),m(t,s)},p(c,[u]){u&1&&V(n,c[0]),u&2&&F(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:p,o:p,d(c){c&&C(e)}}}function en(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=o=>{"heading"in o&&t(0,r=o.heading),"backgroundurl"in o&&t(1,n=o.backgroundurl)},[r,n]}class tn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},en,$r,S,{heading:0,backgroundurl:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",tn);function rn(i){let e,t,r,n;return{c(){e=b("button"),t=b("goa-icon"),this.c=p,z(t,"title",i[3]),z(t,"type",i[0]),z(t,"size",i[1]),z(t,"theme",i[2]),z(t,"inverted",i[5]),F(e,"--size",i[6]),d(e,"title",i[3]),e.disabled=i[7],d(e,"class",i[8]),d(e,"data-testid",i[4])},m(o,a){w(o,e,a),m(e,t),r||(n=U(e,"click",nn),r=!0)},p(o,[a]){a&8&&z(t,"title",o[3]),a&1&&z(t,"type",o[0]),a&2&&z(t,"size",o[1]),a&4&&z(t,"theme",o[2]),a&32&&z(t,"inverted",o[5]),a&64&&F(e,"--size",o[6]),a&8&&d(e,"title",o[3]),a&128&&(e.disabled=o[7]),a&256&&d(e,"class",o[8]),a&16&&d(e,"data-testid",o[4])},i:p,o:p,d(o){o&&C(e),r=!1,n()}}}function nn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function on(i,e,t){let r,n,o,a,{icon:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:k}=e,{inverted:y}=e;return i.$$set=_=>{"icon"in _&&t(0,l=_.icon),"size"in _&&t(1,s=_.size),"theme"in _&&t(2,c=_.theme),"variant"in _&&t(9,u=_.variant),"title"in _&&t(3,f=_.title),"testId"in _&&t(4,g=_.testId),"disabled"in _&&t(10,k=_.disabled),"inverted"in _&&t(11,y=_.inverted)},i.$$.update=()=>{i.$$.dirty&2048&&t(5,o=q(y)),i.$$.dirty&544&&t(8,r=`${u} ${o?"inverted":""}`),i.$$.dirty&1024&&t(7,n=q(k)),i.$$.dirty&2&&t(6,a={small:"1rem",medium:"1rem",large:"2rem"}[s])},[l,s,c,f,g,o,a,n,r,u,k,y]}class an extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}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;padding:0 0.75rem}.color{border-radius:0.5rem;padding:calc(var(--size) / 4);color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.nocolor{border-radius:0.5rem;padding:calc(var(--size) / 4)}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},on,rn,S,{icon:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testId","disabled","inverted"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",an);function Nt(i){let e,t;return{c(){e=b("ion-icon"),z(e,"name",t=i[1]==="filled"||i[0].indexOf("logo")===0?i[0]:`${i[0]}-${i[1]}`)},m(r,n){w(r,e,n)},p(r,n){n&3&&t!==(t=r[1]==="filled"||r[0].indexOf("logo")===0?r[0]:`${r[0]}-${r[1]}`)&&z(e,"name",t)},d(r){r&&C(e)}}}function ln(i){let e,t,r,n=i[0]&&Nt(i);return{c(){e=b("div"),n&&n.c(),this.c=p,d(e,"class","goa-icon"),d(e,"data-testid",t=`icon-${i[0]}`),d(e,"title",i[5]),d(e,"style",r=`
|
|
35
|
-
--
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
--
|
|
39
|
-
|
|
40
|
-
--
|
|
41
|
-
--
|
|
42
|
-
|
|
43
|
-
--opacity: ${o[4]};
|
|
44
|
-
`)&&d(e,"style",r),a&128&&B(e,"inverted",o[7])},i:p,o:p,d(o){o&&C(e),n&&n.d()}}}function sn(i,e,t){let r,n,{type:o}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s="false"}=e,{fillcolor:c=""}=e,{hovercolor:u=""}=e,{opacity:f=1}=e,{title:g=""}=e;return i.$$set=k=>{"type"in k&&t(0,o=k.type),"size"in k&&t(8,a=k.size),"theme"in k&&t(1,l=k.theme),"inverted"in k&&t(9,s=k.inverted),"fillcolor"in k&&t(2,c=k.fillcolor),"hovercolor"in k&&t(3,u=k.hovercolor),"opacity"in k&&t(4,f=k.opacity),"title"in k&&t(5,g=k.title)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(s)),i.$$.dirty&256&&t(6,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[a])},[o,l,c,u,f,g,n,r,a,s]}class cn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},sn,ln,S,{type:0,size:8,theme:1,inverted:9,fillcolor:2,hovercolor:3,opacity:4,title:5},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted","fillcolor","hovercolor","opacity","title"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[9]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[2]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[3]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[4]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[5]}set title(e){this.$$set({title:e}),h()}}customElements.define("goa-icon",cn);function Ot(i){let e,t;return{c(){e=b("div"),t=P(i[14]),d(e,"class","prefix")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&16384&&V(t,r[14])},d(r){r&&C(e)}}}function jt(i){let e;return{c(){e=b("goa-icon"),z(e,"class","goa-input-leading-icon"),z(e,"data-testid","leading-icon"),z(e,"type",i[5])},m(t,r){w(t,e,r)},p(t,r){r&32&&z(e,"type",t[5])},d(t){t&&C(e)}}}function Pt(i){let e;return{c(){e=b("goa-icon"),z(e,"class","goa-input-trailing-icon"),z(e,"data-testid","trailing-icon"),z(e,"size","medium"),z(e,"type",i[6])},m(t,r){w(t,e,r)},p(t,r){r&64&&z(e,"type",t[6])},d(t){t&&C(e)}}}function Ft(i){let e,t,r;return{c(){e=b("goa-icon-button"),z(e,"disabled",i[17]),z(e,"variant","nocolor"),z(e,"size","medium"),z(e,"icon",i[6]),z(e,"data-testid","trailing-icon-button")},m(n,o){w(n,e,o),t||(r=U(e,"click",un),t=!0)},p(n,o){o&131072&&z(e,"disabled",n[17]),o&64&&z(e,"icon",n[6])},d(n){n&&C(e),t=!1,r()}}}function qt(i){let e,t;return{c(){e=b("span"),t=P(i[15]),d(e,"class","suffix")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&32768&&V(t,r[15])},d(r){r&&C(e)}}}function dn(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y,_,E=i[14]&&Ot(i),x=i[5]&&jt(i),v=i[6]&&!i[20]&&Pt(i),M=i[6]&&i[20]&&Ft(i),L=i[15]&&qt(i);return{c(){e=b("div"),t=b("div"),E&&E.c(),r=A(),x&&x.c(),n=A(),o=b("input"),c=A(),v&&v.c(),u=A(),M&&M.c(),f=A(),L&&L.c(),this.c=p,d(o,"class",a=`input--${i[7]}`),d(o,"style",l=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),o.readOnly=i[19],o.disabled=i[17],d(o,"data-testid",i[8]),d(o,"autocapitalize",i[3]),d(o,"name",i[2]),d(o,"type",i[1]),o.value=i[0],d(o,"placeholder",i[4]),d(o,"min",i[11]),d(o,"max",i[12]),d(o,"step",i[13]),d(o,"role","textbox"),d(o,"aria-label",s=i[10]||i[2]),d(t,"class",g=`
|
|
47
|
+
`)&&d(l,"style",a)},i:y,o:y,d(u){u&&T(e),o&&o.d(),Oe(c,u),i[4](null)}}}function Qr(i,e,t){let{heading:r=""}=e,{maxcolumncount:n=1}=e,l,a=[];Q(async()=>{if(await ue(),t(3,a=l.querySelector("slot").assignedElements()),!a.map(c=>c.hasAttribute("href")).reduce((c,u)=>c&&u,!0)){t(3,a=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}bt(l,":host",{"flex-grow":n})});function o(s){te[s?"unshift":"push"](()=>{l=s,t(2,l)})}return i.$$set=s=>{"heading"in s&&t(0,r=s.heading),"maxcolumncount"in s&&t(1,n=s.maxcolumncount)},[r,n,l,a,o]}class $r extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.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)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Qr,Jr,D,{heading:0,maxcolumncount:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),h()}}customElements.define("goa-app-footer-nav-section",$r);function It(i){let e;return{c(){e=b("goa-divider"),M(e,"spacing","small")},m(t,r){k(t,e,r)},d(t){t&&T(e)}}}function en(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w=i[2]?.length&&It();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',n=A(),w&&w.c(),l=A(),a=b("div"),o=b("div"),o.innerHTML='<slot name="meta"></slot>',s=A(),c=b("div"),u=b("a"),u.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=A(),m=b("a"),m.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=y,d(r,"class","nav-links"),d(o,"class","meta-links"),d(u,"href","https://alberta.ca"),d(m,"href","https://alberta.ca"),d(m,"class","goa-copyright"),d(c,"class","abgov"),j(c,"with-meta-links",i[3]?.length),d(a,"class","meta-section"),j(a,"with-meta-links",i[3]?.length),d(t,"class","content"),d(e,"class","app-footer"),d(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(C,p){k(C,e,p),g(e,t),g(t,r),g(t,n),w&&w.m(t,null),g(t,l),g(t,a),g(a,o),g(a,s),g(a,c),g(c,u),g(c,f),g(c,m),i[5](e)},p(C,[p]){C[2]?.length?w||(w=It(),w.c(),w.m(t,l)):w&&(w.d(1),w=null),p&8&&j(c,"with-meta-links",C[3]?.length),p&8&&j(a,"with-meta-links",C[3]?.length),p&1&&_!==(_=`--max-content-width: ${C[0]||"100%"}`)&&d(e,"style",_)},i:y,o:y,d(C){C&&T(e),w&&w.d(),i[5](null)}}}function tn(i,e,t){let{maxcontentwidth:r=""}=e,n,l,a;const o=new Date().getFullYear();Q(async()=>{await ue();const c=n.querySelector("slot[name=nav]"),u=n.querySelector("slot[name=meta]");t(2,l=c.assignedElements()),t(3,a=u.assignedElements())});function s(c){te[c?"unshift":"push"](()=>{n=c,t(1,n)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,r=c.maxcontentwidth)},[r,n,l,a,o,s]}class rn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},tn,en,D,{maxcontentwidth:0},null),e&&(e.target&&k(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",rn);function Pt(i){let e,t,r,n=i[8]&&i[9].includes(i[8]),l=n&&Ft(i);return{c(){e=b("div"),t=q(i[5]),r=A(),l&&l.c(),d(e,"class","label")},m(a,o){k(a,e,o),g(e,t),g(e,r),l&&l.m(e,null)},p(a,o){o&32&&K(t,a[5]),o&256&&(n=a[8]&&a[9].includes(a[8])),n?l?l.p(a,o):(l=Ft(a),l.c(),l.m(e,null)):l&&(l.d(1),l=null)},d(a){a&&T(e),l&&l.d()}}}function Ft(i){let e,t,r,n;return{c(){e=b("em"),t=q("("),r=q(i[8]),n=q(")")},m(l,a){k(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&256&&K(r,l[8])},d(l){l&&T(e)}}}function qt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),r=A(),n=q(i[7]),M(t,"type","warning"),M(t,"size","small"),M(t,"theme","filled"),Z(t,"pointer-events","none"),d(e,"class","error-msg")},m(l,a){k(l,e,a),g(e,t),g(e,r),g(e,n)},p(l,a){a&128&&K(n,l[7])},d(l){l&&T(e)}}}function Gt(i){let e,t;return{c(){e=b("div"),t=q(i[6]),d(e,"class","help-msg")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&64&&K(t,r[6])},d(r){r&&T(e)}}}function nn(i){let e,t,r,n,l,a,o=i[5]&&Pt(i),s=i[7]&&qt(i),c=i[6]&&Gt(i);return{c(){e=b("div"),o&&o.c(),t=A(),r=b("div"),r.innerHTML="<slot></slot>",n=A(),s&&s.c(),l=A(),c&&c.c(),this.c=y,d(r,"class","form-item-input"),d(e,"data-testid",i[0]),d(e,"style",a=P(i[1],i[2],i[3],i[4])),d(e,"class","goa-form-item")},m(u,f){k(u,e,f),o&&o.m(e,null),g(e,t),g(e,r),g(e,n),s&&s.m(e,null),g(e,l),c&&c.m(e,null)},p(u,[f]){u[5]?o?o.p(u,f):(o=Pt(u),o.c(),o.m(e,t)):o&&(o.d(1),o=null),u[7]?s?s.p(u,f):(s=qt(u),s.c(),s.m(e,l)):s&&(s.d(1),s=null),u[6]?c?c.p(u,f):(c=Gt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&d(e,"data-testid",u[0]),f&30&&a!==(a=P(u[1],u[2],u[3],u[4]))&&d(e,"style",a)},i:y,o:y,d(u){u&&T(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ln(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:o=null}=e;const s=["optional","required",""];function c(w){return s.includes(w)}let{label:u=""}=e,{helptext:f=""}=e,{error:m=""}=e,{requirement:_=""}=e;return Q(()=>{c(_)||console.error("Invalid requirement type",_)}),i.$$set=w=>{"testid"in w&&t(0,r=w.testid),"mt"in w&&t(1,n=w.mt),"mr"in w&&t(2,l=w.mr),"mb"in w&&t(3,a=w.mb),"ml"in w&&t(4,o=w.ml),"label"in w&&t(5,u=w.label),"helptext"in w&&t(6,f=w.helptext),"error"in w&&t(7,m=w.error),"requirement"in w&&t(8,_=w.requirement)},[r,n,l,a,o,u,f,m,_,s]}class an extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}.label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);line-height:var(--lh-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ln,nn,D,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),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()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),h()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),h()}}customElements.define("goa-form-item",an);function on(i){let e,t,r,n,l,a,o,s;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),n=q(i[0]),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("slot"),this.c=y,d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),M(t,"width","full"),d(e,"class","goa-hero"),d(e,"data-testid","background"),Z(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]+")"),Z(e,"background-size","cover"),Z(e,"background-position","center"),Z(e,"background-repeat","no-repeat")},m(c,u){k(c,e,u),g(e,t),g(t,r),g(r,n),g(t,l),g(t,a),g(t,o),g(t,s)},p(c,[u]){u&1&&K(n,c[0]),u&2&&Z(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:y,o:y,d(c){c&&T(e)}}}function sn(i,e,t){let{heading:r}=e,{backgroundurl:n}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"backgroundurl"in l&&t(1,n=l.backgroundurl)},[r,n]}class cn extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},sn,on,D,{heading:0,backgroundurl:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",cn);function un(i){let e,t,r,n,l;return{c(){e=b("button"),t=b("goa-icon"),this.c=y,M(t,"title",i[3]),M(t,"type",i[0]),M(t,"size",i[1]),M(t,"theme",i[2]),M(t,"inverted",i[9]),d(e,"style",r=""+(P(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),d(e,"title",i[3]),e.disabled=i[11],d(e,"class",i[12]),d(e,"data-testid",i[4])},m(a,o){k(a,e,o),g(e,t),n||(l=X(e,"click",dn),n=!0)},p(a,[o]){o&8&&M(t,"title",a[3]),o&1&&M(t,"type",a[0]),o&2&&M(t,"size",a[1]),o&4&&M(t,"theme",a[2]),o&512&&M(t,"inverted",a[9]),o&1504&&r!==(r=""+(P(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&d(e,"style",r),o&8&&d(e,"title",a[3]),o&2048&&(e.disabled=a[11]),o&4096&&d(e,"class",a[12]),o&16&&d(e,"data-testid",a[4])},i:y,o:y,d(a){a&&T(e),n=!1,l()}}}function dn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function fn(i,e,t){let r,n,l,a,{icon:o}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testid:m=""}=e,{disabled:_="false"}=e,{inverted:w="false"}=e,{mt:C=null}=e,{mr:p=null}=e,{mb:E=null}=e,{ml:x=null}=e;return i.$$set=L=>{"icon"in L&&t(0,o=L.icon),"size"in L&&t(1,s=L.size),"theme"in L&&t(2,c=L.theme),"variant"in L&&t(13,u=L.variant),"title"in L&&t(3,f=L.title),"testid"in L&&t(4,m=L.testid),"disabled"in L&&t(14,_=L.disabled),"inverted"in L&&t(15,w=L.inverted),"mt"in L&&t(5,C=L.mt),"mr"in L&&t(6,p=L.mr),"mb"in L&&t(7,E=L.mb),"ml"in L&&t(8,x=L.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,l=V(w)),i.$$.dirty&8704&&t(12,r=`${u} ${l?"inverted":""}`),i.$$.dirty&16384&&t(11,n=V(_)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[s])},[o,s,c,f,m,C,p,E,x,l,a,n,r,u,_,w]}class hn extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}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);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--color-gray-100);border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);outline:none}button:focus,button:active{background-color:var(--color-gray-100);border-color:var(--goa-color-interactive--active);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-primary-dark)}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(--color-white)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},fn,un,D,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted: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-icon-button",hn);function Vt(i){let e,t;return{c(){e=b("ion-icon"),M(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,n){k(r,e,n)},p(r,n){n&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&M(e,"name",t)},d(r){r&&T(e)}}}function mn(i){let e,t,r=i[4]&&Vt(i);return{c(){e=b("div"),r&&r.c(),this.c=y,d(e,"class","goa-icon"),d(e,"data-testid",i[10]),d(e,"title",i[9]),d(e,"style",t=`
|
|
48
|
+
${P(i[0],i[1],i[2],i[3])}
|
|
49
|
+
--size: ${i[11]};
|
|
50
|
+
--fill-color: ${i[6]};
|
|
51
|
+
--hover-color: ${i[7]};
|
|
52
|
+
--opacity: ${i[8]};
|
|
53
|
+
`),j(e,"inverted",i[12])},m(n,l){k(n,e,l),r&&r.m(e,null)},p(n,[l]){n[4]?r?r.p(n,l):(r=Vt(n),r.c(),r.m(e,null)):r&&(r.d(1),r=null),l&1024&&d(e,"data-testid",n[10]),l&512&&d(e,"title",n[9]),l&2511&&t!==(t=`
|
|
54
|
+
${P(n[0],n[1],n[2],n[3])}
|
|
55
|
+
--size: ${n[11]};
|
|
56
|
+
--fill-color: ${n[6]};
|
|
57
|
+
--hover-color: ${n[7]};
|
|
58
|
+
--opacity: ${n[8]};
|
|
59
|
+
`)&&d(e,"style",t),l&4096&&j(e,"inverted",n[12])},i:y,o:y,d(n){n&&T(e),r&&r.d()}}}function gn(i,e,t){let r,n,{mt:l=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:s=null}=e,{type:c}=e,{size:u="medium"}=e,{theme:f="outline"}=e,{inverted:m="false"}=e,{fillcolor:_=""}=e,{hovercolor:w=""}=e,{opacity:C=1}=e,{title:p=""}=e,{testid:E=""}=e;return i.$$set=x=>{"mt"in x&&t(0,l=x.mt),"mr"in x&&t(1,a=x.mr),"mb"in x&&t(2,o=x.mb),"ml"in x&&t(3,s=x.ml),"type"in x&&t(4,c=x.type),"size"in x&&t(13,u=x.size),"theme"in x&&t(5,f=x.theme),"inverted"in x&&t(14,m=x.inverted),"fillcolor"in x&&t(6,_=x.fillcolor),"hovercolor"in x&&t(7,w=x.hovercolor),"opacity"in x&&t(8,C=x.opacity),"title"in x&&t(9,p=x.title),"testid"in x&&t(10,E=x.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=V(m)),i.$$.dirty&8192&&t(11,n={small:"1.25rem",medium:"1.5rem",large:"2rem"}[u])},[l,a,o,s,c,f,_,w,C,p,E,n,r,u,m]}class bn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},gn,mn,D,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),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 size(){return this.$$.ctx[13]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),h()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-icon",bn);function Ut(i){let e,t;return{c(){e=b("div"),t=q(i[14]),d(e,"class","prefix")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n[0]&16384&&K(t,r[14])},d(r){r&&T(e)}}}function Wt(i){let e;return{c(){e=b("goa-icon"),M(e,"class","goa-input-leading-icon"),M(e,"data-testid","leading-icon"),M(e,"type",i[5])},m(t,r){k(t,e,r)},p(t,r){r[0]&32&&M(e,"type",t[5])},d(t){t&&T(e)}}}function Kt(i){let e;return{c(){e=b("goa-icon"),M(e,"class","goa-input-trailing-icon"),M(e,"data-testid","trailing-icon"),M(e,"size","medium"),M(e,"type",i[6])},m(t,r){k(t,e,r)},p(t,r){r[0]&64&&M(e,"type",t[6])},d(t){t&&T(e)}}}function Xt(i){let e,t,r;return{c(){e=b("goa-icon-button"),M(e,"disabled",i[21]),M(e,"variant","nocolor"),M(e,"size","medium"),M(e,"icon",i[6]),M(e,"data-testid","trailing-icon-button")},m(n,l){k(n,e,l),t||(r=X(e,"click",wn),t=!0)},p(n,l){l[0]&2097152&&M(e,"disabled",n[21]),l[0]&64&&M(e,"icon",n[6])},d(n){n&&T(e),t=!1,r()}}}function Yt(i){let e,t;return{c(){e=b("span"),t=q(i[15]),d(e,"class","suffix")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n[0]&32768&&K(t,r[15])},d(r){r&&T(e)}}}function vn(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C,p=i[14]&&Ut(i),E=i[5]&&Wt(i),x=i[6]&&!i[24]&&Kt(i),L=i[6]&&i[24]&&Xt(i),z=i[15]&&Yt(i);return{c(){e=b("div"),t=b("div"),p&&p.c(),r=A(),E&&E.c(),n=A(),l=b("input"),c=A(),x&&x.c(),u=A(),L&&L.c(),f=A(),z&&z.c(),this.c=y,d(l,"class",a=`input--${i[7]}`),d(l,"style",o=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),l.readOnly=i[23],l.disabled=i[21],d(l,"data-testid",i[8]),d(l,"autocapitalize",i[3]),d(l,"name",i[2]),d(l,"type",i[1]),l.value=i[0],d(l,"placeholder",i[4]),d(l,"min",i[11]),d(l,"max",i[12]),d(l,"step",i[13]),d(l,"role","textbox"),d(l,"aria-label",s=i[10]||i[2]),d(t,"class",m=`
|
|
45
60
|
goa-input
|
|
46
|
-
${i[
|
|
61
|
+
${i[21]?"goa-input--disabled":""}
|
|
47
62
|
variant--${i[7]}
|
|
48
63
|
type--${i[1]}
|
|
49
|
-
`),
|
|
64
|
+
`),j(t,"error",i[22]),d(e,"class","container"),d(e,"style",_=`
|
|
65
|
+
${P(i[16],i[17],i[18],i[19])};
|
|
50
66
|
--width: ${i[9]};
|
|
51
|
-
`)},m(R,
|
|
67
|
+
`)},m(R,v){k(R,e,v),g(e,t),p&&p.m(t,null),g(t,r),E&&E.m(t,null),g(t,n),g(t,l),i[32](l),g(t,c),x&&x.m(t,null),g(t,u),L&&L.m(t,null),g(t,f),z&&z.m(t,null),w||(C=[X(l,"keyup",i[25]),X(l,"change",i[25])],w=!0)},p(R,v){R[14]?p?p.p(R,v):(p=Ut(R),p.c(),p.m(t,r)):p&&(p.d(1),p=null),R[5]?E?E.p(R,v):(E=Wt(R),E.c(),E.m(t,n)):E&&(E.d(1),E=null),v[0]&128&&a!==(a=`input--${R[7]}`)&&d(l,"class",a),v[0]&64&&o!==(o=`--search-icon-offset: ${R[6]?"-0.5rem":"0"}`)&&d(l,"style",o),v[0]&8388608&&(l.readOnly=R[23]),v[0]&2097152&&(l.disabled=R[21]),v[0]&256&&d(l,"data-testid",R[8]),v[0]&8&&d(l,"autocapitalize",R[3]),v[0]&4&&d(l,"name",R[2]),v[0]&2&&d(l,"type",R[1]),v[0]&1&&l.value!==R[0]&&(l.value=R[0]),v[0]&16&&d(l,"placeholder",R[4]),v[0]&2048&&d(l,"min",R[11]),v[0]&4096&&d(l,"max",R[12]),v[0]&8192&&d(l,"step",R[13]),v[0]&1028&&s!==(s=R[10]||R[2])&&d(l,"aria-label",s),R[6]&&!R[24]?x?x.p(R,v):(x=Kt(R),x.c(),x.m(t,u)):x&&(x.d(1),x=null),R[6]&&R[24]?L?L.p(R,v):(L=Xt(R),L.c(),L.m(t,f)):L&&(L.d(1),L=null),R[15]?z?z.p(R,v):(z=Yt(R),z.c(),z.m(t,null)):z&&(z.d(1),z=null),v[0]&2097282&&m!==(m=`
|
|
52
68
|
goa-input
|
|
53
|
-
${R[
|
|
69
|
+
${R[21]?"goa-input--disabled":""}
|
|
54
70
|
variant--${R[7]}
|
|
55
71
|
type--${R[1]}
|
|
56
|
-
`)&&d(t,"class",
|
|
72
|
+
`)&&d(t,"class",m),v[0]&6291586&&j(t,"error",R[22]),v[0]&983552&&_!==(_=`
|
|
73
|
+
${P(R[16],R[17],R[18],R[19])};
|
|
57
74
|
--width: ${R[9]};
|
|
58
|
-
`)&&d(e,"style",
|
|
59
|
-
center center no-repeat}</style>`,
|
|
60
|
-
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,g){w(f,e,g),m(e,r),w(f,o,g),w(f,a,g),m(a,l),m(a,s),m(a,c),u&&u.m(a,null)},p(f,g){g&1&&t!==(t=Kt(f[0])+"")&&V(r,t),g&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,g):(u=Ut(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&C(e),f&&C(o),f&&C(a),u&&u.d()}}}function Ut(i){let e,t,r,n;return{c(){e=b("span"),t=P("\u2014 help us improve it by giving "),r=b("a"),n=P("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(o,a){w(o,e,a),m(e,t),m(e,r),m(r,n)},p(o,a){a&4&&d(r,"href",o[2])},d(o){o&&C(e)}}}function Wt(i){let e,t;return{c(){e=b("div"),t=P(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&2&&V(t,r[1])},d(r){r&&C(e)}}}function gn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,o,a,l=i[0]==="live"&&Gt(),s=r&&Vt(i),c=i[1]&&Wt(i);return{c(){e=b("header"),l&&l.c(),t=A(),s&&s.c(),n=A(),o=b("div"),a=A(),c&&c.c(),this.c=p,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){w(u,e,f),l&&l.m(e,null),m(e,t),s&&s.m(e,null),m(e,n),m(e,o),m(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=Gt(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Vt(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=Wt(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:p,o:p,d(u){u&&C(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function Kt(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function mn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:o=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,o=a.feedbackurl)},[r,n,o]}class bn extends D{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.5rem 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.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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},mn,gn,S,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&w(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",bn);function Zt(i){let e,t,r,n,o,a,l,s,c,u,f,g,k,y,_,E,x,v,M,L,R,T=i[0]&&Xt(i),j=i[3]&&Yt(i);function K(Z,Y){return vn}let ue=K()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),o=b("div"),T&&T.c(),a=A(),j&&j.c(),l=A(),s=b("div"),ue.c(),c=A(),u=b("slot"),f=A(),g=b("div"),g.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(s,"data-testid","modal-content"),d(s,"class","modal-content"),d(g,"data-testid","modal-actions"),d(g,"class","modal-actions"),d(o,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",_=""+((i[2]&&`--width: ${i[2]};`)+";")),z(e,"active",i[1])},m(Z,Y){w(Z,e,Y),m(e,t),m(t,r),m(t,n),m(t,o),T&&T.m(o,null),m(o,a),j&&j.m(o,null),m(o,l),m(o,s),ue.m(s,null),m(s,c),m(s,u),m(o,f),m(o,g),M=!0,L||(R=[U(r,"click",i[6]),Je(E=mt.call(null,t,{enable:i[5]}))],L=!0)},p(Z,Y){i=Z,i[0]?T?T.p(i,Y):(T=Xt(i),T.c(),T.m(o,a)):T&&(T.d(1),T=null),i[3]?j?j.p(i,Y):(j=Yt(i),j.c(),j.m(o,l)):j&&(j.d(1),j=null),(!M||Y&4&&_!==(_=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",_),E&&ae(E.update)&&Y&32&&E.update.call(null,{enable:i[5]}),(!M||Y&2)&&z(e,"active",i[1])},i(Z){M||(ie(()=>{y&&y.end(1),k=at(o,gt,{duration:i[4],y:200}),k.start()}),ie(()=>{v&&v.end(1),x=at(t,pe,{duration:i[4]}),x.start()}),M=!0)},o(Z){k&&k.invalidate(),y=lt(o,gt,{delay:i[4],duration:i[4],y:-100}),x&&x.invalidate(),v=lt(t,pe,{delay:i[4],duration:i[4]}),M=!1},d(Z){Z&&C(e),T&&T.d(),j&&j.d(),ue.d(),Z&&y&&y.end(),Z&&v&&v.end(),L=!1,Q(R)}}}function Xt(i){let e,t;return{c(){e=b("div"),t=P(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){w(r,e,n),m(e,t)},p(r,n){n&1&&V(t,r[0])},d(r){r&&C(e)}}}function Yt(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"icon","close"),d(e,"class","modal-close")},m(o,a){w(o,e,a),m(e,t),r||(n=U(t,"click",i[6]),r=!0)},p,d(o){o&&C(e),r=!1,n()}}}function vn(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50"),z(e,"hpadding","1.75")},m(t,r){w(t,e,r)},d(t){t&&C(e)}}}function pn(i){let e,t,r=i[5]&&Zt(i);return{c(){r&&r.c(),e=le(),this.c=p},m(n,o){r&&r.m(n,o),w(n,e,o),t=!0},p(n,[o]){n[5]?r?(r.p(n,o),o&32&&G(r,1)):(r=Zt(n),r.c(),G(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(G(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&C(e)}}}function wn(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:u=""}=e;function f(g){!r||(g.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),g.stopPropagation())}return i.$$set=g=>{"heading"in g&&t(0,a=g.heading),"closable"in g&&t(7,l=g.closable),"open"in g&&t(1,s=g.open),"transition"in g&&t(8,c=g.transition),"width"in g&&t(2,u=g.width)},i.$$.update=()=>{i.$$.dirty&128&&t(3,r=q(l)),i.$$.dirty&2&&t(5,n=q(s)),i.$$.dirty&256&&t(4,o=c==="none"?0:c==="slow"?400:200)},[a,s,u,r,o,n,f,l,c]}class yn extends D{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}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},wn,pn,S,{heading:0,closable:7,open:1,transition:8,width:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[8]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",yn);function Jt(i){let e,t,r,n,o,a,l,s,c,u,f,g,k;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),n=A(),o=b("div"),o.innerHTML="<slot></slot>",a=A(),l=b("div"),s=b("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",""),d(t,"class","icon"),d(o,"class","content"),z(s,"icon","close"),z(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+i[0])},m(y,_){w(y,e,_),m(e,t),m(t,r),m(e,n),m(e,o),m(e,a),m(e,l),m(l,s),f=!0,g||(k=U(s,"click",i[3]),g=!0)},p(y,_){(!f||_&4)&&z(r,"type",y[2]),(!f||_&1&&c!==(c="notification "+y[0]))&&d(e,"class",c)},i(y){f||(ie(()=>{u||(u=je(e,pe,{},!0)),u.run(1)}),f=!0)},o(y){u||(u=je(e,pe,{},!1)),u.run(0),f=!1},d(y){y&&C(e),y&&u&&u.end(),g=!1,k()}}}function _n(i){let e,t,r=i[1]&&Jt(i);return{c(){r&&r.c(),e=le(),this.c=p},m(n,o){r&&r.m(n,o),w(n,e,o),t=!0},p(n,[o]){n[1]?r?(r.p(n,o),o&2&&G(r,1)):(r=Jt(n),r.c(),G(r,1),r.m(e.parentNode,e)):r&&(be(),W(r,1,1,()=>{r=null}),ve())},i(n){t||(G(r),t=!0)},o(n){W(r),t=!1},d(n){r&&r.d(n),n&&C(e)}}}function kn(i,e,t){let r,{type:n}=e,o=!0;function a(){t(1,o=!1)}return i.$$set=l=>{"type"in l&&t(0,n=l.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="caution"?"alert-circle":n==="information"?"information-circle":"calendar")},[n,o,r,a]}class xn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},kn,_n,S,{type:0},null),e&&(e.target&&w(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",xn);const En=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function zn(i){return En.test(i)}function Cn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){w(n,e,o),m(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:p,o:p,d(n){n&&C(e)}}}function Mn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||zn(l))}return X(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class Ln extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Mn,Cn,S,{width:1,_width:0},null),e&&(e.target&&w(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",Ln);const Qt="bind";function $t(i,e,t){const r=i.slice();return r[14]=e[t],r}function ei(i,e){let t,r,n,o,a,l,s,c,u=(e[14].label||e[14].value)+"",f,g,k,y,_;function E(){return e[11](e[14])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=A(),l=b("div"),s=A(),c=b("span"),f=P(u),g=A(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[14].value,r.disabled=e[7],r.checked=o=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",k="radio-option-"+e[14].value),d(t,"class","goa-radio"),B(t,"goa-radio--disabled",e[7]),B(t,"goa-radio--error",e[5]),this.first=t},m(x,v){w(x,t,v),m(t,r),m(t,a),m(t,l),m(t,s),m(t,c),m(c,f),m(t,g),y||(_=U(r,"change",E),y=!0)},p(x,v){e=x,v&2&&d(r,"name",e[1]),v&16&&n!==(n=e[14].value)&&(r.value=n),v&128&&(r.disabled=e[7]),v&17&&o!==(o=e[14].value===e[0])&&(r.checked=o),v&16&&u!==(u=(e[14].label||e[14].value)+"")&&V(f,u),v&16&&k!==(k="radio-option-"+e[14].value)&&d(t,"data-testid",k),v&128&&B(t,"goa-radio--disabled",e[7]),v&32&&B(t,"goa-radio--error",e[5])},d(x){x&&C(t),y=!1,_()}}}function Tn(i){let e,t,r,n=[],o=new Map,a,l=i[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=$t(i,l,c),f=s(u);o.set(f,n[c]=ei(f,u))}return{c(){e=b("div"),t=b("slot"),r=A();for(let c=0;c<n.length;c+=1)n[c].c();this.c=p,d(e,"class",a=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(c,u){w(c,e,u),m(e,t),m(e,r);for(let f=0;f<n.length;f+=1)n[f].m(e,null);i[12](e)},p(c,[u]){u&435&&(l=c[4],n=ki(n,u,s,1,c,l,o,e,_i,ei,null,$t)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:p,o:p,d(c){c&&C(e);for(let u=0;u<n.length;u+=1)n[u].d();i[12](null)}}}function Rn(i,e,t){let r,{name:n}=e,{value:o}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,g,k;X(()=>{const x=10;let v=0;const M=setInterval(async()=>{v++,n&&(g=yt(n),g.subscribe(L=>{switch(L==null?void 0:L.type){case Qt:t(4,u=[...u,L])}}),clearInterval(M)),v>x&&(console.error("goa-radio: missing the required `name` attribute. It must match the children's name attribute."),clearInterval(M))},10)});function y(x){x!==o&&(t(0,o=x),k.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:o}})))}it(()=>{kt(n)});const _=x=>y(x.value);function E(x){$[x?"unshift":"push"](()=>{k=x,t(6,k)})}return i.$$set=x=>{"name"in x&&t(1,n=x.name),"value"in x&&t(0,o=x.value),"orientation"in x&&t(2,a=x.orientation),"disabled"in x&&t(9,l=x.disabled),"error"in x&&t(10,s=x.error),"testid"in x&&t(3,c=x.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=q(l)),i.$$.dirty&1024&&t(5,f=q(s))},[o,n,a,c,u,f,k,r,y,l,s,_,E]}class An extends D{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 var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Rn,Tn,S,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",An);function Hn(i){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function In(i,e,t){let{value:r}=e,{label:n}=e,{name:o}=e,a;return X(()=>{const l=10;let s=0;const c=setInterval(()=>{if(s++,o){if(a=_t(o),!a)return;a.notify({type:Qt,value:r,label:n}),clearInterval(c)}s>l&&(console.error("goa-radio-item: missing the required `name` attribute. It must match the parent's name attribute."),clearInterval(c))},10)}),i.$$set=l=>{"value"in l&&t(0,r=l.value),"label"in l&&t(1,n=l.label),"name"in l&&t(2,o=l.name)},[r,n,o]}class Sn extends D{constructor(e){super();O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},In,Hn,S,{value:0,label:1,name:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",Sn);function Bn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
75
|
+
`)&&d(e,"style",_)},i:y,o:y,d(R){R&&T(e),p&&p.d(),E&&E.d(),i[32](null),x&&x.d(),L&&L.d(),z&&z.d(),w=!1,ee(C)}}}function wn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function yn(i,e,t){let r,n,l,a,o,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{autocapitalize:f="off"}=e,{placeholder:m=""}=e,{leadingicon:_=null}=e,{trailingicon:w=null}=e,{variant:C="goa"}=e,{disabled:p="false"}=e,{handletrailingiconclick:E="false"}=e,{focused:x="false"}=e,{readonly:L="false"}=e,{error:z="false"}=e,{testid:R=""}=e,{width:v="30ch"}=e,{arialabel:F=null}=e,{min:H=null}=e,{max:W=null}=e,{step:G=null}=e,{prefix:ie=""}=e,{suffix:Le=""}=e,{mt:le=null}=e,{mr:J=null}=e,{mb:$=null}=e,{ml:Ye=null}=e,oe;function ye(B){const _e=B.target;B.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:_e.value}})),t(0,u=_e.value)}function ae(B){te[B?"unshift":"push"](()=>{oe=B,t(20,oe)})}return i.$$set=B=>{"type"in B&&t(1,s=B.type),"name"in B&&t(2,c=B.name),"value"in B&&t(0,u=B.value),"autocapitalize"in B&&t(3,f=B.autocapitalize),"placeholder"in B&&t(4,m=B.placeholder),"leadingicon"in B&&t(5,_=B.leadingicon),"trailingicon"in B&&t(6,w=B.trailingicon),"variant"in B&&t(7,C=B.variant),"disabled"in B&&t(26,p=B.disabled),"handletrailingiconclick"in B&&t(27,E=B.handletrailingiconclick),"focused"in B&&t(28,x=B.focused),"readonly"in B&&t(29,L=B.readonly),"error"in B&&t(30,z=B.error),"testid"in B&&t(8,R=B.testid),"width"in B&&t(9,v=B.width),"arialabel"in B&&t(10,F=B.arialabel),"min"in B&&t(11,H=B.min),"max"in B&&t(12,W=B.max),"step"in B&&t(13,G=B.step),"prefix"in B&&t(14,ie=B.prefix),"suffix"in B&&t(15,Le=B.suffix),"mt"in B&&t(16,le=B.mt),"mr"in B&&t(17,J=B.mr),"mb"in B&&t(18,$=B.mb),"ml"in B&&t(19,Ye=B.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=V(E)),i.$$.dirty[0]&268435456&&t(31,n=V(x)),i.$$.dirty[0]&536870912&&t(23,l=V(L)),i.$$.dirty[0]&1073741824&&t(22,a=V(z)),i.$$.dirty[0]&67108864&&t(21,o=V(p)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&1&&n&&oe&&setTimeout(()=>oe.focus(),1),i.$$.dirty[0]&1048578&&oe&&s==="search"&&oe.addEventListener("search",B=>{ye(B)})},[u,s,c,f,m,_,w,C,R,v,F,H,W,G,ie,Le,le,J,$,Ye,oe,o,a,l,r,ye,p,E,x,L,z,n,ae]}class _n extends N{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}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.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);font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent;width:0;flex:1 1 auto}input[type=text],input[type=date],input[type="datetime-local"],input[type=number]{font-family:var(--font-family)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix{background-color:var(--color-gray-100);padding:0 0.75rem;display:flex;align-items:center}.prefix{border-top-left-radius:var(--input-border-radius);border-bottom-left-radius:var(--input-border-radius);border-right:1px solid var(--color-gray-600)}.suffix{border-top-right-radius:var(--input-border-radius);border-bottom-right-radius:var(--input-border-radius);border-left:1px solid var(--color-gray-600)}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>')
|
|
76
|
+
center center no-repeat}</style>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},yn,vn,D,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),h()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),h()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),h()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),h()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),h()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),h()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),h()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),h()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),h()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),h()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),h()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-input",_n);function Zt(i){let e,t,r;return{c(){e=b("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=A(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-type service-type--live"),d(r,"data-testid","type"),d(r,"class","site-text")},m(n,l){k(n,e,l),k(n,t,l),k(n,r,l)},d(n){n&&T(e),n&&T(t),n&&T(r)}}}function Jt(i){let e,t=ei(i[0])+"",r,n,l,a,o,s,c,u=i[2]&&Qt(i);return{c(){e=b("div"),r=q(t),l=A(),a=b("div"),o=q("This is a new "),s=b("a"),s.textContent="Alberta Government",c=q(` service
|
|
77
|
+
`),u&&u.c(),d(e,"data-testid","type"),d(e,"class",n="service-type service-type--"+i[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){k(f,e,m),g(e,r),k(f,l,m),k(f,a,m),g(a,o),g(a,s),g(a,c),u&&u.m(a,null)},p(f,m){m&1&&t!==(t=ei(f[0])+"")&&K(r,t),m&1&&n!==(n="service-type service-type--"+f[0].toLowerCase())&&d(e,"class",n),f[2]?u?u.p(f,m):(u=Qt(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&T(e),f&&T(l),f&&T(a),u&&u.d()}}}function Qt(i){let e,t,r,n;return{c(){e=b("span"),t=q("\u2014 help us improve it by giving "),r=b("a"),n=q("feedback"),d(r,"href",i[2]),d(e,"data-testid","feedback")},m(l,a){k(l,e,a),g(e,t),g(e,r),g(r,n)},p(l,a){a&4&&d(r,"href",l[2])},d(l){l&&T(e)}}}function $t(i){let e,t;return{c(){e=b("div"),t=q(i[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&2&&K(t,r[1])},d(r){r&&T(e)}}}function kn(i){let e,t,r=["alpha","beta"].includes(i[0]),n,l,a,o=i[0]==="live"&&Zt(),s=r&&Jt(i),c=i[1]&&$t(i);return{c(){e=b("header"),o&&o.c(),t=A(),s&&s.c(),n=A(),l=b("div"),a=A(),c&&c.c(),this.c=y,d(l,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),o&&o.m(e,null),g(e,t),s&&s.m(e,null),g(e,n),g(e,l),g(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?o||(o=Zt(),o.c(),o.m(e,t)):o&&(o.d(1),o=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=Jt(u),s.c(),s.m(e,n)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=$t(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:y,o:y,d(u){u&&T(e),o&&o.d(),s&&s.d(),c&&c.d()}}}function ei(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function pn(i,e,t){let{type:r}=e,{version:n=""}=e,{feedbackurl:l=""}=e;return i.$$set=a=>{"type"in a&&t(0,r=a.type),"version"in a&&t(1,n=a.version),"feedbackurl"in a&&t(2,l=a.feedbackurl)},[r,n,l]}class xn extends N{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.5rem 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.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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},pn,kn,D,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["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",xn);function ti(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C,p,E,x,L,z,R,v,F,H=i[3]!==null&&ii(i),W=i[0]&&ri(i),G=i[4]&&ni(i);function ie(J,$){return En}let le=ie()(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),n=A(),l=b("div"),H&&H.c(),a=A(),o=b("div"),W&&W.c(),s=A(),G&&G.c(),c=A(),u=b("div"),le.c(),f=A(),m=b("slot"),_=A(),w=b("div"),w.innerHTML='<slot name="actions"></slot>',d(r,"data-testid","modal-overlay"),d(r,"class","modal-overlay"),d(u,"data-testid","modal-content"),d(u,"class","modal-content"),d(w,"class","modal-actions"),d(w,"data-testid","modal-actions"),d(o,"class","content"),d(l,"class","modal-pane"),d(t,"data-testid","modal"),d(t,"class","modal"),d(t,"style",E=""+((i[2]&&`--width: ${i[2]};`)+";")),M(e,"active",i[1])},m(J,$){k(J,e,$),g(e,t),g(t,r),g(t,n),g(t,l),H&&H.m(l,null),g(l,a),g(l,o),W&&W.m(o,null),g(o,s),G&&G.m(o,null),g(o,c),g(o,u),le.m(u,null),g(u,f),g(u,m),g(o,_),g(o,w),R=!0,v||(F=[X(r,"click",i[8]),lt(x=Ct.call(null,t,{enable:i[7]}))],v=!0)},p(J,$){i=J,i[3]!==null?H?H.p(i,$):(H=ii(i),H.c(),H.m(l,a)):H&&(H.d(1),H=null),i[0]?W?W.p(i,$):(W=ri(i),W.c(),W.m(o,s)):W&&(W.d(1),W=null),i[4]?G?G.p(i,$):(G=ni(i),G.c(),G.m(o,c)):G&&(G.d(1),G=null),(!R||$&4&&E!==(E=""+((i[2]&&`--width: ${i[2]};`)+";")))&&d(t,"style",E),x&&ce(x.update)&&$&128&&x.update.call(null,{enable:i[7]}),(!R||$&2)&&M(e,"active",i[1])},i(J){R||(re(()=>{p&&p.end(1),C=mt(l,Et,{duration:i[6],y:200}),C.start()}),re(()=>{z&&z.end(1),L=mt(t,ze,{duration:i[6]}),L.start()}),R=!0)},o(J){C&&C.invalidate(),p=gt(l,Et,{delay:i[6],duration:i[6],y:-100}),L&&L.invalidate(),z=gt(t,ze,{delay:i[6],duration:i[6]}),R=!1},d(J){J&&T(e),H&&H.d(),W&&W.d(),G&&G.d(),le.d(),J&&p&&p.end(),J&&z&&z.end(),v=!1,ee(F)}}}function ii(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon"),M(t,"type",i[5]),M(t,"inverted",r=i[3]==="important"?"false":"true"),d(e,"class",n="callout-bar "+i[3])},m(l,a){k(l,e,a),g(e,t)},p(l,a){a&32&&M(t,"type",l[5]),a&8&&r!==(r=l[3]==="important"?"false":"true")&&M(t,"inverted",r),a&8&&n!==(n="callout-bar "+l[3])&&d(e,"class",n)},d(l){l&&T(e)}}}function ri(i){let e,t;return{c(){e=b("div"),t=q(i[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function ni(i){let e,t,r,n;return{c(){e=b("div"),t=b("goa-icon-button"),M(t,"data-testid","modal-close-button"),M(t,"icon","close"),M(t,"variant","nocolor"),d(e,"class","modal-close")},m(l,a){k(l,e,a),g(e,t),r||(n=X(t,"click",i[8]),r=!0)},p:y,d(l){l&&T(e),r=!1,n()}}}function En(i){let e;return{c(){e=b("goa-scrollable"),e.innerHTML="<slot></slot>",M(e,"direction","vertical"),M(e,"height","50")},m(t,r){k(t,e,r)},d(t){t&&T(e)}}}function Cn(i){let e,t,r=i[7]&&ti(i);return{c(){r&&r.c(),e=be(),this.c=y},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[7]?r?(r.p(n,l),l&128&&U(r,1)):(r=ti(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function zn(i,e,t){let r,n,l,a;const[o,s]=Ce("Callout variant",["emergency","important","information","success","event"]);let{heading:c=""}=e,{closable:u="false"}=e,{open:f="false"}=e,{transition:m="none"}=e,{width:_=""}=e,{calloutvariant:w=null}=e;function C(p){!r||(p.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),p.stopPropagation())}return Q(()=>{s(w)}),i.$$set=p=>{"heading"in p&&t(0,c=p.heading),"closable"in p&&t(9,u=p.closable),"open"in p&&t(1,f=p.open),"transition"in p&&t(10,m=p.transition),"width"in p&&t(2,_=p.width),"calloutvariant"in p&&t(3,w=p.calloutvariant)},i.$$.update=()=>{i.$$.dirty&512&&t(4,r=V(u)),i.$$.dirty&2&&t(7,n=V(f)),i.$$.dirty&1024&&t(6,l=m==="none"?0:m==="slow"?400:200),i.$$.dirty&8&&t(5,a=w==="emergency"?"warning":w==="important"?"alert-circle":w==="information"?"information-circle":w==="success"?"checkmark-circle":w==="event"?"calendar":"")},[c,f,_,w,r,a,l,n,C,u,m]}class Mn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},zn,Cn,D,{heading:0,closable:9,open:1,transition:10,width:2,calloutvariant:3},null),e&&(e.target&&k(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",Mn);function li(i){let e,t,r,n,l,a,o,s,c,u,f,m,_,w,C;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),l=A(),a=b("div"),a.innerHTML="<slot></slot>",o=A(),s=b("div"),c=b("goa-icon-button"),M(r,"type",i[2]),M(r,"inverted",n=i[0]==="important"?"false":"true"),d(t,"class","icon"),d(a,"class","content"),M(c,"icon","close"),M(c,"variant","dark"),M(c,"inverted",u=i[0]==="important"?"false":"true"),d(s,"class","close"),d(e,"class",f="notification "+i[0])},m(p,E){k(p,e,E),g(e,t),g(t,r),g(e,l),g(e,a),g(e,o),g(e,s),g(s,c),_=!0,w||(C=X(c,"click",i[3]),w=!0)},p(p,E){(!_||E&4)&&M(r,"type",p[2]),(!_||E&1&&n!==(n=p[0]==="important"?"false":"true"))&&M(r,"inverted",n),(!_||E&1&&u!==(u=p[0]==="important"?"false":"true"))&&M(c,"inverted",u),(!_||E&1&&f!==(f="notification "+p[0]))&&d(e,"class",f)},i(p){_||(re(()=>{m||(m=We(e,ze,{},!0)),m.run(1)}),_=!0)},o(p){m||(m=We(e,ze,{},!1)),m.run(0),_=!1},d(p){p&&T(e),p&&m&&m.end(),w=!1,C()}}}function Ln(i){let e,t,r=i[1]&&li(i);return{c(){r&&r.c(),e=be(),this.c=y},m(n,l){r&&r.m(n,l),k(n,e,l),t=!0},p(n,[l]){n[1]?r?(r.p(n,l),l&2&&U(r,1)):(r=li(n),r.c(),U(r,1),r.m(e.parentNode,e)):r&&(xe(),Y(r,1,1,()=>{r=null}),Ee())},i(n){t||(U(r),t=!0)},o(n){Y(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function Tn(i,e,t){let r,{type:n=""}=e;const l=["emergency","important","information","event"];function a(c){return l.includes(c)}let o=!0;Q(()=>{a(n)||console.error("Invalid notification type")});function s(){t(1,o=!1)}return i.$$set=c=>{"type"in c&&t(0,n=c.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,o,r,s]}class Rn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Tn,Ln,D,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",Rn);const An=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Hn(i){return An.test(i)}function Bn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"class","page-content"),d(e,"style",r=`--max-width: ${i[0]}`)},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&1&&r!==(r=`--max-width: ${n[0]}`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function Sn(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:l}=e;function a(o){return!!(["full"].includes(n)||Hn(o))}return Q(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,l=r[n]||n)}),i.$$set=o=>{"width"in o&&t(1,n=o.width),"_width"in o&&t(0,l=o._width)},[l,n]}class Dn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Sn,Bn,D,{width:1,_width:0},null),e&&(e.target&&k(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",Dn);function ai(i,e,t){const r=i.slice();return r[19]=e[t],r}function oi(i,e){let t,r,n,l,a,o,s,c,u=(e[19].label||e[19].value)+"",f,m,_,w,C;function p(){return e[17](e[19])}return{key:i,first:null,c(){t=b("label"),r=b("input"),a=A(),o=b("div"),s=A(),c=b("span"),f=q(u),m=A(),d(r,"type","radio"),d(r,"name",e[1]),r.value=n=e[19].value,r.disabled=e[11],r.checked=l=e[19].value===e[0],d(o,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(t,"data-testid",_="radio-option-"+e[19].value),d(t,"class","goa-radio"),j(t,"goa-radio--disabled",e[11]),j(t,"goa-radio--error",e[9]),this.first=t},m(E,x){k(E,t,x),g(t,r),g(t,a),g(t,o),g(t,s),g(t,c),g(c,f),g(t,m),w||(C=X(r,"change",p),w=!0)},p(E,x){e=E,x&2&&d(r,"name",e[1]),x&256&&n!==(n=e[19].value)&&(r.value=n),x&2048&&(r.disabled=e[11]),x&257&&l!==(l=e[19].value===e[0])&&(r.checked=l),x&256&&u!==(u=(e[19].label||e[19].value)+"")&&K(f,u),x&256&&_!==(_="radio-option-"+e[19].value)&&d(t,"data-testid",_),x&2048&&j(t,"goa-radio--disabled",e[11]),x&512&&j(t,"goa-radio--error",e[9])},d(E){E&&T(t),w=!1,C()}}}function Nn(i){let e,t,r,n=[],l=new Map,a,o,s=i[8];const c=u=>u[19].value;for(let u=0;u<s.length;u+=1){let f=ai(i,s,u),m=c(f);l.set(m,n[u]=oi(m,f))}return{c(){e=b("div"),t=b("slot"),r=A();for(let u=0;u<n.length;u+=1)n[u].c();this.c=y,d(e,"style",a=P(i[4],i[5],i[6],i[7])),d(e,"class",o=`goa-radio-group--${i[2]}`),d(e,"data-testid",i[3])},m(u,f){k(u,e,f),g(e,t),g(e,r);for(let m=0;m<n.length;m+=1)n[m].m(e,null);i[18](e)},p(u,[f]){f&6915&&(s=u[8],n=Hi(n,f,c,1,u,s,l,e,Ai,oi,null,ai)),f&240&&a!==(a=P(u[4],u[5],u[6],u[7]))&&d(e,"style",a),f&4&&o!==(o=`goa-radio-group--${u[2]}`)&&d(e,"class",o),f&8&&d(e,"data-testid",u[3])},i:y,o:y,d(u){u&&T(e);for(let f=0;f<n.length;f+=1)n[f].d();i[18](null)}}}function jn(i,e,t){let r,{name:n}=e,{value:l}=e,{orientation:a="vertical"}=e,{disabled:o="false"}=e,{error:s="false"}=e,{testid:c=""}=e,{mt:u=null}=e,{mr:f=null}=e,{mb:m=null}=e,{ml:_=null}=e,w=[],C,p,E=!1,x;function L(v){v!==l&&(t(0,l=v),x.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:n,value:l}})))}ut(()=>{Rt(n)});const z=v=>L(v.value);function R(v){te[v?"unshift":"push"](()=>{x=v,t(10,x)})}return i.$$set=v=>{"name"in v&&t(1,n=v.name),"value"in v&&t(0,l=v.value),"orientation"in v&&t(2,a=v.orientation),"disabled"in v&&t(13,o=v.disabled),"error"in v&&t(14,s=v.error),"testid"in v&&t(3,c=v.testid),"mt"in v&&t(4,u=v.mt),"mr"in v&&t(5,f=v.mr),"mb"in v&&t(6,m=v.mb),"ml"in v&&t(7,_=v.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(11,r=V(o)),i.$$.dirty&16384&&t(9,C=V(s)),i.$$.dirty&98562&&n&&!E&&(t(16,E=!0),t(15,p=Xe(n)),p.subscribe(v=>{!v||t(8,w=[...w,v])}))},[l,n,a,c,u,f,m,_,w,C,x,r,L,o,s,p,E,z,R]}class On extends N{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
|
|
78
|
+
var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
79
|
+
var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},jn,Nn,D,{name:1,value:0,orientation:2,disabled:13,error:14,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[14]}set error(e){this.$$set({error: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-radio-group",On);function In(i){return{c(){this.c=y},m:y,p:y,i:y,o:y,d:y}}function Pn(i,e,t){let{value:r}=e,{label:n}=e,{name:l}=e,a,o=!1;return i.$$set=s=>{"value"in s&&t(0,r=s.value),"label"in s&&t(1,n=s.label),"name"in s&&t(2,l=s.name)},i.$$.update=()=>{i.$$.dirty&31&&(async()=>{await ue(),o||(t(4,o=!0),t(3,a=Xe(l)),a.notify({type:"bind",value:r,label:n}))})()},[r,n,l,a,o]}class Fn extends N{constructor(e){super();I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Pn,In,D,{value:0,label:1,name:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",Fn);function qn(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
61
80
|
--max-height: ${i[3]};
|
|
62
81
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
63
82
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
64
83
|
margin: ${i[2]}rem 0;
|
|
65
84
|
padding: 0 ${i[1]}rem;
|
|
66
|
-
`)},m(n,
|
|
85
|
+
`)},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&15&&r!==(r=`
|
|
67
86
|
--max-height: ${n[3]};
|
|
68
87
|
overflow-y: ${n[0]==="vertical"?"auto":"hidden"};
|
|
69
88
|
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
70
89
|
margin: ${n[2]}rem 0;
|
|
71
90
|
padding: 0 ${n[1]}rem;
|
|
72
|
-
`)&&d(e,"style",r)},i:p,o:p,d(n){n&&C(e)}}}function Dn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:o=0}=e,{height:a=0}=e;return i.$$set=l=>{"direction"in l&&t(0,r=l.direction),"hpadding"in l&&t(1,n=l.hpadding),"vpadding"in l&&t(2,o=l.vpadding),"height"in l&&t(3,a=l.height)},[r,n,o,a]}class Nn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Dn,Bn,S,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&w(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",Nn);function ti(i,e,t){const r=i.slice();return r[4]=e[t],r}function On(i){let e,t;return{c(){e=b("div"),d(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){w(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&d(e,"class",t)},i:p,o:p,d(r){r&&C(e)}}}function jn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=ii(ti(i,r,a));const o=a=>W(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=le()},m(a,l){for(let s=0;s<n.length;s+=1)n[s].m(a,l);w(a,e,l),t=!0},p(a,l){if(l&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=ti(a,r,s);n[s]?(n[s].p(c,l),G(n[s],1)):(n[s]=ii(c),n[s].c(),G(n[s],1),n[s].m(e.parentNode,e))}for(be(),s=r.length;s<n.length;s+=1)o(s);ve()}},i(a){if(!t){for(let l=0;l<r.length;l+=1)G(n[l]);t=!0}},o(a){n=n.filter(Boolean);for(let l=0;l<n.length;l+=1)W(n[l]);t=!1},d(a){Re(n,a),a&&C(e)}}}function Pn(i){let e,t,r,n,o,a,l,s,c,u;return r=new de({props:{type:"avatar",size:i[1]}}),a=new de({props:{type:"title",size:i[1]}}),s=new de({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ge(r.$$.fragment),n=A(),o=b("div"),ge(a.$$.fragment),l=A(),ge(s.$$.fragment),d(t,"class","profile-avatar"),d(o,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,g){w(f,e,g),m(e,t),se(r,t,null),m(e,n),m(e,o),se(a,o,null),m(o,l),se(s,o,null),u=!0},p(f,g){const k={};g&2&&(k.size=f[1]),r.$set(k);const y={};g&2&&(y.size=f[1]),a.$set(y);const _={};g&2&&(_.size=f[1]),s.$set(_),(!u||g&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(G(r.$$.fragment,f),G(a.$$.fragment,f),G(s.$$.fragment,f),u=!0)},o(f){W(r.$$.fragment,f),W(a.$$.fragment,f),W(s.$$.fragment,f),u=!1},d(f){f&&C(e),ce(r),ce(a),ce(s)}}}function Fn(i){let e,t,r,n,o,a,l,s,c;return t=new de({props:{type:"image",size:i[1]}}),o=new de({props:{type:"header",size:i[1]}}),l=new de({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=b("div"),ge(t.$$.fragment),r=A(),n=b("div"),ge(o.$$.fragment),a=A(),ge(l.$$.fragment),d(n,"class","card-content"),d(e,"class",s="card card-"+i[1]),F(e,"--max-width",i[0])},m(u,f){w(u,e,f),se(t,e,null),m(e,r),m(e,n),se(o,n,null),m(n,a),se(l,n,null),c=!0},p(u,f){const g={};f&2&&(g.size=u[1]),t.$set(g);const k={};f&2&&(k.size=u[1]),o.$set(k);const y={};f&2&&(y.size=u[1]),l.$set(y),(!c||f&2&&s!==(s="card card-"+u[1]))&&d(e,"class",s),(!c||f&1)&&F(e,"--max-width",u[0])},i(u){c||(G(t.$$.fragment,u),G(o.$$.fragment,u),G(l.$$.fragment,u),c=!0)},o(u){W(t.$$.fragment,u),W(o.$$.fragment,u),W(l.$$.fragment,u),c=!1},d(u){u&&C(e),ce(t),ce(o),ce(l)}}}function ii(i){let e,t;return e=new de({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ge(e.$$.fragment)},m(r,n){se(e,r,n),t=!0},p(r,n){const o={};n&2&&(o.size=r[1]),n&4&&(o.linecount=r[2]),e.$set(o)},i(r){t||(G(e.$$.fragment,r),t=!0)},o(r){W(e.$$.fragment,r),t=!1},d(r){ce(e,r)}}}function qn(i){let e,t,r,n;const o=[Fn,Pn,jn,On],a=[];function l(s,c){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return e=l(i),t=a[e]=o[e](i),{c(){t.c(),r=le(),this.c=p},m(s,c){a[e].m(s,c),w(s,r,c),n=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(be(),W(a[u],1,1,()=>{a[u]=null}),ve(),t=a[e],t?t.p(s,c):(t=a[e]=o[e](s),t.c()),G(t,1),t.m(r.parentNode,r))},i(s){n||(G(t),n=!0)},o(s){W(t),n=!1},d(s){a[e].d(s),s&&C(r)}}}function Gn(i,e,t){let{maxwidth:r=""}=e,{size:n=1}=e,{linecount:o=3}=e,{type:a}=e;return i.$$set=l=>{"maxwidth"in l&&t(0,r=l.maxwidth),"size"in l&&t(1,n=l.size),"linecount"in l&&t(2,o=l.linecount),"type"in l&&t(3,a=l.type)},[r,n,o,a]}class de extends D{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>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Gn,qn,S,{maxwidth:0,size:1,linecount:2,type:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type"]}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()}}customElements.define("goa-skeleton",de);function ri(i){return Object.prototype.toString.call(i)==="[object Date]"}function Ze(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((n,o)=>Ze(i[o],n));return n=>r.map(o=>o(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ri(i)&&ri(e)){i=i.getTime(),e=e.getTime();const o=e-i;return a=>new Date(i+a*o)}const r=Object.keys(e),n={};return r.forEach(o=>{n[o]=Ze(i[o],e[o])}),o=>{const a={};return r.forEach(l=>{a[l]=n[l](o)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Vn(i,e={}){const t=wt(i);let r,n=i;function o(a,l){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:g=ye,interpolate:k=Ze}=Xe(Xe({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const y=Le()+u;let _;return r=Te(E=>{if(E<y)return!0;c||(_=k(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const x=E-y;return x>f?(t.set(i=a),!1):(t.set(i=_(g(x/f))),!0)}),r.promise}return{set:o,update:(a,l)=>o(a(n,i),l),subscribe:t.subscribe}}function ni(i){let e,t,r,n,o,a,l,s,c;return{c(){e=fe("svg"),t=fe("circle"),o=fe("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",n=i[3]-i[4]/2),d(o,"d",a=i[9](i[7])),d(o,"stroke-width",i[4]),d(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(o,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[2]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[1]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){w(u,e,f),m(e,t),m(e,o)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&n!==(n=u[3]-u[4]/2)&&d(t,"r",n),f&128&&a!==(a=u[9](u[7]))&&d(o,"d",a),f&16&&d(o,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(o,"stroke",l),f&4&&s!==(s=`spinner-${u[2]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&2&&d(e,"data-testid",u[1])},d(u){u&&C(e)}}}function Un(i){let e,t=i[6]&&ni(i);return{c(){t&&t.c(),e=le(),this.c=p},m(r,n){t&&t.m(r,n),w(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=ni(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:p,o:p,d(r){t&&t.d(r),r&&C(e)}}}function Wn(i,e,t){let r,n,o,a,l,s,{size:c}=e,{invert:u=!1}=e,{progress:f=-1}=e,{testid:g=""}=e,k="infinite";const y=Vn(0,{duration:500,easing:gr});fi(i,y,x=>t(7,s=x));function _(x){const v=o+a*Math.cos(x),M=o+a*Math.sin(x);return v+" "+M}function E(x){switch(k){case"progress":{const v=_(-Math.PI/2),M=_(-Math.PI/2+2*Math.PI*(x/100)),L=x%100<50?0:1;return`M ${v} A ${a} ${a} 0 ${L} 1 ${M}`}case"infinite":{const v=_(Math.PI*1.5),M=_(0);return`M ${v} A ${a} ${a} 0 1 0 ${M}`}}}return i.$$set=x=>{"size"in x&&t(10,c=x.size),"invert"in x&&t(0,u=x.invert),"progress"in x&&t(11,f=x.progress),"testid"in x&&t(1,g=x.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const x=parseFloat(f+"");x>=0&&(y.set(x||1),t(2,k="progress"))}i.$$.dirty&1024&&t(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,n=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,a=o-n/2),i.$$.dirty&6148&&t(6,l=k==="infinite"?a:a&&f)},[u,g,k,o,n,r,l,s,y,E,c,f,a]}class Kn extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",O(this,{target:this.shadowRoot,props:N(this.attributes),customElement:!0},Wn,Un,S,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&w(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",Kn);function Zn(i){let e,t,r,n,o,a,l;return{c(){e=b("div"),t=b("textarea"),n=A(),this.c=p,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"aria-label",r=i[6]||i[0]),d(t,"class","goa-textarea"),t.disabled=i[8],t.readOnly=i[9],d(t,"data-testid",i[4]),B(t,"error",i[10]),d(e,"class","container"),d(e,"style",o=`
|
|
91
|
+
`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function Gn(i,e,t){let{direction:r="vertical"}=e,{hpadding:n=0}=e,{vpadding:l=0}=e,{height:a=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,l=o.vpadding),"height"in o&&t(3,a=o.height)},[r,n,l,a]}class Vn extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Gn,qn,D,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&k(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",Vn);function si(i,e,t){const r=i.slice();return r[9]=e[t],r}function Un(i){let e,t;return{c(){e=b("div"),d(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,n){k(r,e,n)},p(r,n){n&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&d(e,"class",t)},i:y,o:y,d(r){r&&T(e)}}}function Wn(i){let e,t,r=Array(i[2]),n=[];for(let a=0;a<r.length;a+=1)n[a]=ci(si(i,r,a));const l=a=>Y(n[a],1,1,()=>{n[a]=null});return{c(){for(let a=0;a<n.length;a+=1)n[a].c();e=be()},m(a,o){for(let s=0;s<n.length;s+=1)n[s].m(a,o);k(a,e,o),t=!0},p(a,o){if(o&6){r=Array(a[2]);let s;for(s=0;s<r.length;s+=1){const c=si(a,r,s);n[s]?(n[s].p(c,o),U(n[s],1)):(n[s]=ci(c),n[s].c(),U(n[s],1),n[s].m(e.parentNode,e))}for(xe(),s=r.length;s<n.length;s+=1)l(s);Ee()}},i(a){if(!t){for(let o=0;o<r.length;o+=1)U(n[o]);t=!0}},o(a){n=n.filter(Boolean);for(let o=0;o<n.length;o+=1)Y(n[o]);t=!1},d(a){Oe(n,a),a&&T(e)}}}function Kn(i){let e,t,r,n,l,a,o,s,c,u;return r=new he({props:{type:"avatar",size:i[1]}}),a=new he({props:{type:"title",size:i[1]}}),s=new he({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),we(r.$$.fragment),n=A(),l=b("div"),we(a.$$.fragment),o=A(),we(s.$$.fragment),d(t,"class","profile-avatar"),d(l,"class","profile-name"),d(e,"class",c="profile profile-"+i[1])},m(f,m){k(f,e,m),g(e,t),de(r,t,null),g(e,n),g(e,l),de(a,l,null),g(l,o),de(s,l,null),u=!0},p(f,m){const _={};m&2&&(_.size=f[1]),r.$set(_);const w={};m&2&&(w.size=f[1]),a.$set(w);const C={};m&2&&(C.size=f[1]),s.$set(C),(!u||m&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(U(r.$$.fragment,f),U(a.$$.fragment,f),U(s.$$.fragment,f),u=!0)},o(f){Y(r.$$.fragment,f),Y(a.$$.fragment,f),Y(s.$$.fragment,f),u=!1},d(f){f&&T(e),fe(r),fe(a),fe(s)}}}function Xn(i){let e,t,r,n,l,a,o,s,c;return t=new he({props:{type:"image",size:i[1]}}),l=new he({props:{type:"header",size:i[1]}}),o=new he({props:{type:"lines",size:i[1],linecount:3}}),{c(){e=b("div"),we(t.$$.fragment),r=A(),n=b("div"),we(l.$$.fragment),a=A(),we(o.$$.fragment),d(n,"class","card-content"),d(e,"class",s="card card-"+i[1]),Z(e,"--max-width",i[0])},m(u,f){k(u,e,f),de(t,e,null),g(e,r),g(e,n),de(l,n,null),g(n,a),de(o,n,null),c=!0},p(u,f){const m={};f&2&&(m.size=u[1]),t.$set(m);const _={};f&2&&(_.size=u[1]),l.$set(_);const w={};f&2&&(w.size=u[1]),o.$set(w),(!c||f&2&&s!==(s="card card-"+u[1]))&&d(e,"class",s),(!c||f&1)&&Z(e,"--max-width",u[0])},i(u){c||(U(t.$$.fragment,u),U(l.$$.fragment,u),U(o.$$.fragment,u),c=!0)},o(u){Y(t.$$.fragment,u),Y(l.$$.fragment,u),Y(o.$$.fragment,u),c=!1},d(u){u&&T(e),fe(t),fe(l),fe(o)}}}function ci(i){let e,t;return e=new he({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){we(e.$$.fragment)},m(r,n){de(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||(U(e.$$.fragment,r),t=!0)},o(r){Y(e.$$.fragment,r),t=!1},d(r){fe(e,r)}}}function Yn(i){let e,t,r,n,l;const a=[Xn,Kn,Wn,Un],o=[];function s(c,u){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:3}return t=s(i),r=o[t]=a[t](i),{c(){e=b("div"),r.c(),this.c=y,d(e,"data-testid",i[4]),d(e,"style",n=""+(P(i[5],i[6],i[7],i[8])+";"))},m(c,u){k(c,e,u),o[t].m(e,null),l=!0},p(c,[u]){let f=t;t=s(c),t===f?o[t].p(c,u):(xe(),Y(o[f],1,1,()=>{o[f]=null}),Ee(),r=o[t],r?r.p(c,u):(r=o[t]=a[t](c),r.c()),U(r,1),r.m(e,null)),(!l||u&16)&&d(e,"data-testid",c[4]),(!l||u&480&&n!==(n=""+(P(c[5],c[6],c[7],c[8])+";")))&&d(e,"style",n)},i(c){l||(U(r),l=!0)},o(c){Y(r),l=!1},d(c){c&&T(e),o[t].d()}}}function Zn(i,e,t){let{maxwidth:r=""}=e,{size:n=1}=e,{linecount:l=3}=e,{type:a}=e,{testid:o=""}=e,{mt:s=null}=e,{mr:c=null}=e,{mb:u=null}=e,{ml:f=null}=e;return i.$$set=m=>{"maxwidth"in m&&t(0,r=m.maxwidth),"size"in m&&t(1,n=m.size),"linecount"in m&&t(2,l=m.linecount),"type"in m&&t(3,a=m.type),"testid"in m&&t(4,o=m.testid),"mt"in m&&t(5,s=m.mt),"mr"in m&&t(6,c=m.mr),"mb"in m&&t(7,u=m.mb),"ml"in m&&t(8,f=m.ml)},[r,n,l,a,o,s,c,u,f]}class he extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},Zn,Yn,D,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),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",he);function ui(i){return Object.prototype.toString.call(i)==="[object Date]"}function it(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)=>it(i[l],n));return n=>r.map(l=>l(n))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(ui(i)&&ui(e)){i=i.getTime(),e=e.getTime();const l=e-i;return a=>new Date(i+a*l)}const r=Object.keys(e),n={};return r.forEach(l=>{n[l]=it(i[l],e[l])}),l=>{const a={};return r.forEach(o=>{a[o]=n[o](l)}),a}}if(t==="number"){const r=e-i;return n=>i+n*r}throw new Error(`Cannot interpolate ${t} values`)}function Jn(i,e={}){const t=Tt(i);let r,n=i;function l(a,o){if(i==null)return t.set(i=a),Promise.resolve();n=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:m=Te,interpolate:_=it}=rt(rt({},e),o);if(f===0)return s&&(s.abort(),s=null),t.set(i=n),Promise.resolve();const w=Ne()+u;let C;return r=je(p=>{if(p<w)return!0;c||(C=_(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const E=p-w;return E>f?(t.set(i=a),!1):(t.set(i=C(m(E/f))),!0)}),r.promise}return{set:l,update:(a,o)=>l(a(n,i),o),subscribe:t.subscribe}}function di(i){let e,t,r,n,l,a,o,s,c;return{c(){e=ge("svg"),t=ge("circle"),l=ge("path"),d(t,"cx",i[3]),d(t,"cy",i[3]),d(t,"stroke",r=i[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(t,"stroke-width",i[4]),d(t,"r",n=i[3]-i[4]/2),d(l,"d",a=i[9](i[7])),d(l,"stroke-width",i[4]),d(l,"stroke",o=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(l,"stroke-linecap","round"),d(e,"class",s=`spinner-${i[2]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),d(e,"width",i[5]),d(e,"height",i[5]),d(e,"data-testid",i[1]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){k(u,e,f),g(e,t),g(e,l)},p(u,f){f&8&&d(t,"cx",u[3]),f&8&&d(t,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(t,"stroke",r),f&16&&d(t,"stroke-width",u[4]),f&24&&n!==(n=u[3]-u[4]/2)&&d(t,"r",n),f&128&&a!==(a=u[9](u[7]))&&d(l,"d",a),f&16&&d(l,"stroke-width",u[4]),f&1&&o!==(o=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(l,"stroke",o),f&4&&s!==(s=`spinner-${u[2]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&2&&d(e,"data-testid",u[1])},d(u){u&&T(e)}}}function Qn(i){let e,t=i[6]&&di(i);return{c(){t&&t.c(),e=be(),this.c=y},m(r,n){t&&t.m(r,n),k(r,e,n)},p(r,[n]){r[6]?t?t.p(r,n):(t=di(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:y,o:y,d(r){t&&t.d(r),r&&T(e)}}}function $n(i,e,t){let r,n,l,a,o,s,{size:c}=e,{invert:u=!1}=e,{progress:f=-1}=e,{testid:m=""}=e,_="infinite";const w=Jn(0,{duration:500,easing:Er});pi(i,w,E=>t(7,s=E));function C(E){const x=l+a*Math.cos(E),L=l+a*Math.sin(E);return x+" "+L}function p(E){switch(_){case"progress":{const x=C(-Math.PI/2),L=C(-Math.PI/2+2*Math.PI*(E/100)),z=E%100<50?0:1;return`M ${x} A ${a} ${a} 0 ${z} 1 ${L}`}case"infinite":{const x=C(Math.PI*1.5),L=C(0);return`M ${x} A ${a} ${a} 0 1 0 ${L}`}}}return i.$$set=E=>{"size"in E&&t(10,c=E.size),"invert"in E&&t(0,u=E.invert),"progress"in E&&t(11,f=E.progress),"testid"in E&&t(1,m=E.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const E=parseFloat(f+"");E>=0&&(w.set(E||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,l=r/2),i.$$.dirty&24&&t(12,a=l-n/2),i.$$.dirty&6148&&t(6,o=_==="infinite"?a:a&&f)},[u,m,_,l,n,r,o,s,w,p,c,f,a]}class el extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},$n,Qn,D,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(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",el);function tl(i){let e,t,r,n,l,a,o;return{c(){e=b("div"),t=b("textarea"),n=A(),this.c=y,d(t,"name",i[0]),d(t,"placeholder",i[2]),t.value=i[1],d(t,"rows",i[3]),d(t,"aria-label",r=i[6]||i[0]),d(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],d(t,"data-testid",i[4]),j(t,"error",i[14]),d(e,"class","container"),d(e,"style",l=`
|
|
92
|
+
${P(i[7],i[8],i[9],i[10])};
|
|
73
93
|
--width: ${i[5]};
|
|
74
|
-
`)},m(s,c){
|
|
94
|
+
`)},m(s,c){k(s,e,c),g(e,t),g(e,n),a||(o=X(t,"keyup",i[15]),a=!0)},p(s,[c]){c&1&&d(t,"name",s[0]),c&4&&d(t,"placeholder",s[2]),c&2&&(t.value=s[1]),c&8&&d(t,"rows",s[3]),c&65&&r!==(r=s[6]||s[0])&&d(t,"aria-label",r),c&4096&&(t.disabled=s[12]),c&8192&&(t.readOnly=s[13]),c&16&&d(t,"data-testid",s[4]),c&16384&&j(t,"error",s[14]),c&1952&&l!==(l=`
|
|
95
|
+
${P(s[7],s[8],s[9],s[10])};
|
|
75
96
|
--width: ${s[5]};
|
|
76
|
-
`)&&d(e,"style",
|
|
77
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,
|
|
97
|
+
`)&&d(e,"style",l)},i:y,o:y,d(s){s&&T(e),a=!1,o()}}}function il(i,e,t){let r,n,l,{name:a}=e,{value:o=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:u=""}=e,{width:f="60ch"}=e,{error:m="false"}=e,{readonly:_="false"}=e,{disabled:w="false"}=e,{arialabel:C=""}=e,{mt:p=null}=e,{mr:E=null}=e,{mb:x=null}=e,{ml:L=null}=e,{maxcharcount:z=0}=e;function R(v){const H=v.target.value;n||(v.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:v,name:a,value:H}})),v.stopPropagation())}return i.$$set=v=>{"name"in v&&t(0,a=v.name),"value"in v&&t(1,o=v.value),"placeholder"in v&&t(2,s=v.placeholder),"rows"in v&&t(3,c=v.rows),"testid"in v&&t(4,u=v.testid),"width"in v&&t(5,f=v.width),"error"in v&&t(16,m=v.error),"readonly"in v&&t(17,_=v.readonly),"disabled"in v&&t(18,w=v.disabled),"arialabel"in v&&t(6,C=v.arialabel),"mt"in v&&t(7,p=v.mt),"mr"in v&&t(8,E=v.mr),"mb"in v&&t(9,x=v.mb),"ml"in v&&t(10,L=v.ml),"maxcharcount"in v&&t(11,z=v.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=V(m)),i.$$.dirty&262144&&t(12,n=V(w)),i.$$.dirty&131072&&t(13,l=V(_))},[a,o,s,c,u,f,C,p,E,x,L,z,n,l,r,R,m,_,w]}class rl extends N{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--textarea-padding-vertical, 0.5rem) var(--textarea-padding-horizontal, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--fs-sm)}.counter-error{color:var(--goa-color-interactive--error)
|
|
98
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}</style>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},il,tl,D,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}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}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),h()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),h()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),h()}}customElements.define("goa-textarea",rl);function nl(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
78
99
|
|
|
79
100
|
<main><slot></slot></main>
|
|
80
101
|
|
|
81
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=
|
|
102
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=y,d(e,"class","page")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class ll extends N{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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,nl,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",ll);function al(i){let e,t,r,n,l,a,o;return{c(){e=b("div"),t=b("header"),t.innerHTML='<slot name="header"></slot>',r=A(),n=b("section"),n.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
82
103
|
|
|
83
|
-
<main><slot></slot></main>`,
|
|
104
|
+
<main><slot></slot></main>`,l=A(),a=b("footer"),a.innerHTML='<slot name="footer"></slot>',this.c=y,d(t,"class","header"),d(n,"class","content"),d(a,"class","footer"),d(e,"class","page"),d(e,"style",o=`
|
|
84
105
|
--max-content-width: ${i[1]||"100%"};
|
|
85
106
|
--nav-column-width: ${i[0]||"var(--layout-nav-column-width)"};
|
|
86
|
-
`)},m(s,c){
|
|
107
|
+
`)},m(s,c){k(s,e,c),g(e,t),g(e,r),g(e,n),g(e,l),g(e,a)},p(s,[c]){c&3&&o!==(o=`
|
|
87
108
|
--max-content-width: ${s[1]||"100%"};
|
|
88
109
|
--nav-column-width: ${s[0]||"var(--layout-nav-column-width)"};
|
|
89
|
-
`)&&d(e,"style",
|
|
110
|
+
`)&&d(e,"style",o)},i:y,o:y,d(s){s&&T(e)}}}function ol(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=l=>{"navcolumnwidth"in l&&t(0,r=l.navcolumnwidth),"maxcontentwidth"in l&&t(1,n=l.maxcontentwidth)},[r,n]}class sl extends N{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(--color-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>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},ol,al,D,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),h()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-two-column-layout",sl);function cl(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
90
111
|
|
|
91
112
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
92
113
|
|
|
93
114
|
<main><slot></slot></main>
|
|
94
115
|
|
|
95
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=
|
|
116
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=y,d(e,"class","page")},m(t,r){k(t,e,r)},p:y,i:y,o:y,d(t){t&&T(e)}}}class ul extends N{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"
|
|
96
117
|
"content"
|
|
97
118
|
"nav"
|
|
98
119
|
"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"
|
|
99
120
|
"nav content"
|
|
100
|
-
"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-gray-100)}</style>`,
|
|
121
|
+
"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-gray-100)}</style>`,I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},null,cl,D,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",ul);function fi(i){let e,t;return{c(){e=b("div"),t=q(i[0]),d(e,"slot","title"),d(e,"class","title")},m(r,n){k(r,e,n),g(e,t)},p(r,n){n&1&&K(t,r[0])},d(r){r&&T(e)}}}function hi(i){let e;return{c(){e=b("div"),d(e,"class","actions"),d(e,"slot","actions")},m(t,r){k(t,e,r),e.innerHTML=i[1]},p(t,r){r&2&&(e.innerHTML=t[1])},d(t){t&&T(e)}}}function dl(i){let e,t,r,n,l=i[0]&&fi(i),a=i[1]&&hi(i);return{c(){e=b("goa-container"),l&&l.c(),t=A(),a&&a.c(),r=A(),n=b("div"),this.c=y,d(n,"class","content"),d(n,"slot",""),M(e,"type",i[3]),M(e,"accent",i[4])},m(o,s){k(o,e,s),l&&l.m(e,null),g(e,t),a&&a.m(e,null),g(e,r),g(e,n),n.innerHTML=i[2]},p(o,[s]){o[0]?l?l.p(o,s):(l=fi(o),l.c(),l.m(e,t)):l&&(l.d(1),l=null),o[1]?a?a.p(o,s):(a=hi(o),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(n.innerHTML=o[2]),s&8&&M(e,"type",o[3]),s&16&&M(e,"accent",o[4])},i:y,o:y,d(o){o&&T(e),l&&l.d(),a&&a.d()}}}function fl(i,e,t){let{title:r}=e,{actions:n=""}=e,{content:l}=e,{type:a="default"}=e,{accent:o="thick"}=e;return i.$$set=s=>{"title"in s&&t(0,r=s.title),"actions"in s&&t(1,n=s.actions),"content"in s&&t(2,l=s.content),"type"in s&&t(3,a=s.type),"accent"in s&&t(4,o=s.accent)},[r,n,l,a,o]}class hl extends N{constructor(e){super();I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},fl,dl,D,{title:0,actions:1,content:2,type:3,accent:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","type","accent"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[4]}set accent(e){this.$$set({accent:e}),h()}}customElements.define("test-container",hl);function ml(i){let e,t;return{c(){e=b("hr"),this.c=y,d(e,"data-testid",i[0]),d(e,"style",t=P(i[1],i[2],i[3],i[4]))},m(r,n){k(r,e,n)},p(r,[n]){n&1&&d(e,"data-testid",r[0]),n&30&&t!==(t=P(r[1],r[2],r[3],r[4]))&&d(e,"style",t)},i:y,o:y,d(r){r&&T(e)}}}function gl(i,e,t){let{testid:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=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,l=s.mr),"mb"in s&&t(3,a=s.mb),"ml"in s&&t(4,o=s.ml)},[r,n,l,a,o]}class bl extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--color-gray-200);border:none}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},gl,ml,D,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(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",bl);function vl(i){let e;return{c(){e=b("div"),this.c=y},m(t,r){k(t,e,r),i[3](e)},p:y,i:y,o:y,d(t){t&&T(e),i[3](null)}}}function wl(i,e,t){let{hspacing:r="none"}=e,{vspacing:n="none"}=e,l;Q(()=>{bt(l,":host",{width:`var(--goa-spacing-${r})`,height:`var(--goa-spacing-${n})`})});function a(o){te[o?"unshift":"push"](()=>{l=o,t(0,l)})}return i.$$set=o=>{"hspacing"in o&&t(1,r=o.hspacing),"vspacing"in o&&t(2,n=o.vspacing)},[l,r,n,a]}class mi extends N{constructor(e){super();I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},wl,vl,D,{hspacing:1,vspacing:2},null),e&&(e.target&&k(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",mi);function yl(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=y,d(e,"class","block"),d(e,"style",r=`
|
|
122
|
+
${P(i[3],i[4],i[5],i[6])}
|
|
123
|
+
--gap: var(--goa-spacing-${i[0]});
|
|
124
|
+
--alignment: ${i[2]};
|
|
125
|
+
--direction: ${i[1]};
|
|
126
|
+
`)},m(n,l){k(n,e,l),g(e,t)},p(n,[l]){l&127&&r!==(r=`
|
|
127
|
+
${P(n[3],n[4],n[5],n[6])}
|
|
128
|
+
--gap: var(--goa-spacing-${n[0]});
|
|
129
|
+
--alignment: ${n[2]};
|
|
130
|
+
--direction: ${n[1]};
|
|
131
|
+
`)&&d(e,"style",r)},i:y,o:y,d(n){n&&T(e)}}}function _l(i,e,t){let{gap:r="m"}=e,{direction:n="row"}=e,{alignment:l="start"}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=u=>{"gap"in u&&t(0,r=u.gap),"direction"in u&&t(1,n=u.direction),"alignment"in u&&t(2,l=u.alignment),"mt"in u&&t(3,a=u.mt),"mr"in u&&t(4,o=u.mr),"mb"in u&&t(5,s=u.mb),"ml"in u&&t(6,c=u.ml)},[r,n,l,a,o,s,c]}class gi extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",I(this,{target:this.shadowRoot,props:O(this.attributes),customElement:!0},_l,yl,D,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),h()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment: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-block",gi),se.Block=gi,se.Spacer=mi,Object.defineProperty(se,"__esModule",{value:!0}),se[Symbol.toStringTag]="Module"});
|