@abgov/web-components 1.0.0-alpha.85 → 1.0.0-alpha.86
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 +1 -1
- package/web-components.umd.js +1 -1
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -3228,7 +3228,7 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
|
3228
3228
|
class Chip extends SvelteElement {
|
|
3229
3229
|
constructor(options) {
|
|
3230
3230
|
super();
|
|
3231
|
-
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;margin:0.25rem;padding:0 0.75rem}.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>`;
|
|
3231
|
+
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;margin:0.25rem;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>`;
|
|
3232
3232
|
|
|
3233
3233
|
init(
|
|
3234
3234
|
this,
|
package/web-components.umd.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
`}const d=c+`100% {${a(t,1-t)}}
|
|
4
4
|
}`,f=`__svelte_${tr(d)}_${l}`,h=Je(i),{stylesheet:_,rules:y}=Le.get(h)||ir(h,i);y[f]||(y[f]=!0,_.insertRule(`@keyframes ${f} ${d}`,_.cssRules.length));const v=i.style.animation||"";return i.style.animation=`${v?`${v}, `:""}${f} ${r}ms linear ${o}ms 1 both`,Te+=1,f}function He(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=t.length-r.length;o&&(i.style.animation=r.join(", "),Te-=o,Te||rr())}function rr(){Ne(()=>{Te||(Le.forEach(i=>{const{stylesheet:e}=i;let t=e.cssRules.length;for(;t--;)e.deleteRule(t);i.rules={}}),Le.clear())})}let pe;function we(i){pe=i}function Qe(){if(!pe)throw new Error("Function called outside component initialization");return pe}function Q(i){Qe().$$.on_mount.push(i)}function $e(i){Qe().$$.on_destroy.push(i)}const _e=[],ee=[],Se=[],et=[],tt=Promise.resolve();let Oe=!1;function it(){Oe||(Oe=!0,tt.then(g))}function ye(){return it(),tt}function ie(i){Se.push(i)}const je=new Set;let Be=0;function g(){const i=pe;do{for(;Be<_e.length;){const e=_e[Be];Be++,we(e),or(e.$$)}for(we(null),_e.length=0,Be=0;ee.length;)ee.pop()();for(let e=0;e<Se.length;e+=1){const t=Se[e];je.has(t)||(je.add(t),t())}Se.length=0}while(_e.length);for(;et.length;)et.pop()();Oe=!1,je.clear(),we(i)}function or(i){if(i.fragment!==null){i.update(),$(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(ie)}}let ke;function Fe(){return ke||(ke=Promise.resolve(),ke.then(()=>{ke=null})),ke}function de(i,e,t){i.dispatchEvent(er(`${e?"intro":"outro"}${t}`))}const Ie=new Set;let re;function ge(){re={r:0,c:[],p:re}}function he(){re.r||$(re.c),re=re.p}function W(i,e){i&&i.i&&(Ie.delete(i),i.i(e))}function Z(i,e,t,r){if(i&&i.o){if(Ie.has(i))return;Ie.add(i),re.c.push(()=>{Ie.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const Ve={duration:0};function rt(i,e,t){let r=e(i,t),o=!1,n,a,l=0;function s(){n&&He(i,n)}function c(){const{delay:f=0,duration:h=300,easing:_=ve,tick:y=p,css:v}=r||Ve;v&&(n=Re(i,0,1,h,f,_,v,l++)),y(0,1);const M=Me()+f,k=M+h;a&&a.abort(),o=!0,ie(()=>de(i,!0,"start")),a=Ae(C=>{if(o){if(C>=k)return y(1,0),de(i,!0,"end"),s(),o=!1;if(C>=M){const x=_((C-M)/h);y(x,1-x)}}return o})}let d=!1;return{start(){d||(d=!0,He(i),se(r)?(r=r(),Fe().then(c)):c())},invalidate(){d=!1},end(){o&&(s(),o=!1)}}}function ot(i,e,t){let r=e(i,t),o=!0,n;const a=re;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:d=ve,tick:f=p,css:h}=r||Ve;h&&(n=Re(i,1,0,c,s,d,h));const _=Me()+s,y=_+c;ie(()=>de(i,!1,"start")),Ae(v=>{if(o){if(v>=y)return f(0,1),de(i,!1,"end"),--a.r||$(a.c),!1;if(v>=_){const M=d((v-_)/c);f(1-M,M)}}return o})}return se(r)?Fe().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&He(i,n),o=!1)}}}function De(i,e,t,r){let o=e(i,t),n=r?0:1,a=null,l=null,s=null;function c(){s&&He(i,s)}function d(h,_){const y=h.b-n;return _*=Math.abs(y),{a:n,b:h.b,d:y,duration:_,start:h.start,end:h.start+_,group:h.group}}function f(h){const{delay:_=0,duration:y=300,easing:v=ve,tick:M=p,css:k}=o||Ve,C={start:Me()+_,b:h};h||(C.group=re,re.r+=1),a||l?l=C:(k&&(c(),s=Re(i,n,h,y,_,v,k)),h&&M(0,1),a=d(C,y),ie(()=>de(i,h,"start")),Ae(x=>{if(l&&x>l.start&&(a=d(l,y),l=null,de(i,a.b,"start"),k&&(c(),s=Re(i,n,a.b,a.duration,0,v,o.css))),a){if(x>=a.end)M(n=a.b,1-n),de(i,a.b,"end"),l||(a.b?c():--a.group.r||$(a.group.c)),a=null;else if(x>=a.start){const A=x-a.start;n=a.a+a.d*v(A/a.duration),M(n,1-n)}}return!!(a||l)}))}return{run(h){se(o)?Fe().then(()=>{o=o(),f(h)}):f(h)},end(){c(),a=l=null}}}function nt(i,e){i.d(1),e.delete(i.key)}function at(i,e,t,r,o,n,a,l,s,c,d,f){let h=i.length,_=n.length,y=h;const v={};for(;y--;)v[i[y].key]=y;const M=[],k=new Map,C=new Map;for(y=_;y--;){const L=f(o,n,y),I=t(L);let K=a.get(I);K?r&&K.p(L,e):(K=c(I,L),K.c()),k.set(I,M[y]=K),I in v&&C.set(I,Math.abs(y-v[I]))}const x=new Set,A=new Set;function R(L){W(L,1),L.m(l,d),a.set(L.key,L),d=L.first,_--}for(;h&&_;){const L=M[_-1],I=i[h-1],K=L.key,Y=I.key;L===I?(d=L.first,h--,_--):k.has(Y)?!a.has(K)||x.has(K)?R(L):A.has(Y)?h--:C.get(K)>C.get(Y)?(A.add(K),R(L)):(x.add(Y),h--):(s(I,a),h--)}for(;h--;){const L=i[h];k.has(L.key)||s(L,a)}for(;_;)R(M[_-1]);return M}function ue(i){i&&i.c()}function ne(i,e,t,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=i.$$;o&&o.m(e,t),r||ie(()=>{const s=n.map(Ge).filter(se);a?a.push(...s):$(s),i.$$.on_mount=[]}),l.forEach(ie)}function ae(i,e){const t=i.$$;t.fragment!==null&&($(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function nr(i,e){i.$$.dirty[0]===-1&&(_e.push(i),it(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function O(i,e,t,r,o,n,a,l=[-1]){const s=pe;we(i);const c=i.$$={fragment:null,ctx:null,props:n,update:p,not_equal:o,bound:Ze(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Ze(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,..._)=>{const y=_.length?_[0]:h;return c.ctx&&o(c.ctx[f],c.ctx[f]=y)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](y),d&&nr(i,f)),h}):[],c.update(),d=!0,$(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=$i(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&W(i.$$.fragment),ne(i,e.target,e.anchor,e.customElement),g()}we(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(Ge).filter(se);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){$(this.$$.on_disconnect)}$destroy(){ae(this,1),this.$destroy=p}$on(i,e){const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const r=t.indexOf(e);r!==-1&&t.splice(r,1)}}$set(i){this.$$set&&!Ki(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});const ar=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function lr(i){return ar.test(i)}function sr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(o,n){w(o,e,n),m(e,t)},p(o,[n]){n&1&&r!==(r=`--max-width: ${o[0]}`)&&u(e,"style",r)},i:p,o:p,d(o){o&&E(e)}}}function cr(i,e,t){const r={full:"100%"};let{width:o}=e,{_width:n}=e;function a(l){return!!(["full"].includes(o)||lr(l))}return Q(()=>{if(!a(o))throw"Invalid PageBlock width";t(0,n=r[o]||o)}),i.$$set=l=>{"width"in l&&t(1,o=l.width),"_width"in l&&t(0,n=l._width)},[n,o]}class lt 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},cr,sr,G,{width:1,_width:0},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",lt);function dr(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("img"),o=T(),n=b("img"),l=T(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.src,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")||u(n,"src",a),u(s,"class","title"),u(e,"class","app-link")},m(d,f){w(d,e,f),m(e,t),m(e,o),m(e,n),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&q(c,d[0])},d(d){d&&E(e)}}}function ur(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("a"),t=b("img"),o=T(),n=b("img"),l=T(),s=b("span"),c=j(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),ze(t.src,r="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||u(t,"src",r),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),ze(n.src,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")||u(n,"src",a),u(s,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){w(d,e,f),m(e,t),m(e,o),m(e,n),m(e,l),m(e,s),m(s,c)},p(d,f){f&1&&q(c,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&E(e)}}}function fr(i){let e,t,r;function o(l,s){return l[1]?ur:dr}let n=o(i),a=n(i);return{c(){e=b("div"),a.c(),t=T(),r=b("div"),r.innerHTML="<slot></slot>",this.c=p,u(e,"class","app-header"),u(e,"data-testid",i[2])},m(l,s){w(l,e,s),a.m(e,null),m(e,t),m(e,r)},p(l,[s]){n===(n=o(l))&&a?a.p(l,s):(a.d(1),a=n(l),a&&(a.c(),a.m(e,t))),s&4&&u(e,"data-testid",l[2])},i:p,o:p,d(l){l&&E(e),a.d()}}}function gr(i,e,t){let{heading:r=""}=e,{url:o=""}=e,{testid:n=""}=e;return i.$$set=a=>{"heading"in a&&t(0,r=a.heading),"url"in a&&t(1,o=a.url),"testid"in a&&t(2,n=a.testid)},[r,o,n]}class st extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 1.5rem;border-bottom:1px solid var(--color-gray-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},gr,fr,G,{heading:0,url:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-app-header",st);function F(i){return i==="false"?!1:i===""?!0:!!i}function hr(i){let e;return{c(){e=b("div"),V(e,"height","1.2rem"),V(e,"margin-left","-0.25rem")},m(t,r){w(t,e,r)},p,d(t){t&&E(e)}}}function mr(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&&E(e)}}}function ct(i){let e,t;return{c(){e=b("div"),t=j(i[2]),u(e,"class","goa-badge-content")},m(r,o){w(r,e,o),m(e,t)},p(r,o){o&4&&q(t,r[2])},d(r){r&&E(e)}}}function br(i){let e,t,r;function o(s,c){return s[3]?mr:hr}let n=o(i),a=n(i),l=i[2]&&ct(i);return{c(){e=b("div"),a.c(),t=T(),l&&l.c(),this.c=p,u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(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]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,t))),s[2]?l?l.p(s,c):(l=ct(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&u(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&u(e,"class",r),c&13&&B(e,"icon-only",s[3]&&!s[2])},i:p,o:p,d(s){s&&E(e),a.d(),l&&l.d()}}}function vr(i,e,t){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return Q(()=>{!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=c=>{"type"in c&&t(0,n=c.type),"testid"in c&&t(1,a=c.testid),"icon"in c&&t(5,l=c.icon),"content"in c&&t(2,s=c.content)},i.$$.update=()=>{i.$$.dirty&32&&t(3,r=F(l)),i.$$.dirty&1&&t(4,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,r,o,l]}class dt 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);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-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},vr,br,G,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-badge",dt);function pr(i){let e,t,r,o,n=i[4]&&ut(i),a=i[5]&&ft(i);return{c(){n&&n.c(),e=T(),t=b("div"),t.innerHTML="<slot></slot>",r=T(),a&&a.c(),o=te(),u(t,"class","text")},m(l,s){n&&n.m(l,s),w(l,e,s),w(l,t,s),w(l,r,s),a&&a.m(l,s),w(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=ut(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=ft(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&E(e),l&&E(t),l&&E(r),a&&a.d(l),l&&E(o)}}}function wr(i){let e,t,r;return{c(){e=b("div"),e.innerHTML="<slot></slot>",t=T(),r=b("goa-icon"),u(e,"class","text"),z(r,"id","trailing-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(o,n){w(o,e,n),w(o,t,n),w(o,r,n)},p,d(o){o&&E(e),o&&E(t),o&&E(r)}}}function ut(i){let e;return{c(){e=b("goa-icon"),z(e,"id","leading-icon"),z(e,"type",i[4]),z(e,"inverted",i[7])},m(t,r){w(t,e,r)},p(t,r){r&16&&z(e,"type",t[4]),r&128&&z(e,"inverted",t[7])},d(t){t&&E(e)}}}function ft(i){let e;return{c(){e=b("goa-icon"),z(e,"id","trailing-icon"),z(e,"type",i[5]),z(e,"inverted",i[7])},m(t,r){w(t,e,r)},p(t,r){r&32&&z(e,"type",t[5]),r&128&&z(e,"inverted",t[7])},d(t){t&&E(e)}}}function _r(i){let e,t,r,o;function n(s,c){return s[0]==="start"?wr:pr}let a=n(i),l=a(i);return{c(){e=b("button"),l.c(),this.c=p,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"title",i[3]),e.disabled=i[8],u(e,"data-testid",i[6]),B(e,"leading",i[4]),B(e,"trailing",i[5]||i[0]==="start")},m(s,c){w(s,e,c),l.m(e,null),r||(o=U(e,"click",yr),r=!0)},p(s,[c]){a===(a=n(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]))&&u(e,"class",t),c&8&&u(e,"title",s[3]),c&256&&(e.disabled=s[8]),c&64&&u(e,"data-testid",s[6]),c&23&&B(e,"leading",s[4]),c&39&&B(e,"trailing",s[5]||s[0]==="start")},i:p,o:p,d(s){s&&E(e),l.d(),r=!1,o()}}}function yr(i){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),i.stopPropagation()}function kr(i,e,t){let r,o;const n=["primary","secondary","tertiary","start"],a=["","compact"],l=["","danger"];function s(x){return n.includes(x)}function c(x){return a.includes(x)}function d(x){return l.includes(x)}let{type:f="primary"}=e,{size:h=""}=e,{variant:_=""}=e,{title:y=""}=e,{disabled:v="false"}=e,{leadingicon:M=null}=e,{trailingicon:k=null}=e,{testid:C=""}=e;return Q(()=>{if(!s(f))throw"Invalid button type";if(!c(h))throw"Invalid button size";if(!d(_))throw"Invalid button variant"}),i.$$set=x=>{"type"in x&&t(0,f=x.type),"size"in x&&t(1,h=x.size),"variant"in x&&t(2,_=x.variant),"title"in x&&t(3,y=x.title),"disabled"in x&&t(9,v=x.disabled),"leadingicon"in x&&t(4,M=x.leadingicon),"trailingicon"in x&&t(5,k=x.trailingicon),"testid"in x&&t(6,C=x.testid)},i.$$.update=()=>{i.$$.dirty&512&&t(8,r=F(v)),i.$$.dirty&1&&t(7,o=f==="primary"||f==="start")},[f,h,_,y,M,k,C,o,r,v]}class gt 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: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
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.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background: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:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},kr,_r,G,{type:0,size:1,variant:2,title:3,disabled:9,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-button",gt);function xr(i){let e,t;return{c(){e=b("div"),t=b("slot"),this.c=p,V(e,"--alignment","flex-"+i[1]),V(e,"--gap-size",i[0]==="small"?"0.5rem":"1.25rem")},m(r,o){w(r,e,o),m(e,t)},p(r,[o]){o&2&&V(e,"--alignment","flex-"+r[1]),o&1&&V(e,"--gap-size",r[0]==="small"?"0.5rem":"1.25rem")},i:p,o:p,d(r){r&&E(e)}}}function Er(i,e,t){let{gap:r="medium"}=e,{alignment:o}=e;return i.$$set=n=>{"gap"in n&&t(0,r=n.gap),"alignment"in n&&t(1,o=n.alignment)},[r,o]}class ht 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);flex-wrap:wrap;gap:var(--gap-size)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Er,xr,G,{gap:0,alignment:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),g()}}customElements.define("goa-button-group",ht);function mt(i){let e,t;return{c(){e=b("h3"),t=j(i[1])},m(r,o){w(r,e,o),m(e,t)},p(r,o){o&2&&q(t,r[1])},d(r){r&&E(e)}}}function Cr(i){let e,t,r,o,n,a,l,s,c,d=i[1]&&mt(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),a=T(),l=b("span"),d&&d.c(),s=T(),c=b("slot"),this.c=p,z(r,"type",i[3]),z(r,"inverted",o=i[0]==="important"?"false":"true"),u(t,"class",n="icon "+i[0]),u(l,"class","content"),u(e,"class","notification"),u(e,"data-testid",i[2])},m(f,h){w(f,e,h),m(e,t),m(t,r),m(e,a),m(e,l),d&&d.m(l,null),m(l,s),m(l,c)},p(f,[h]){h&8&&z(r,"type",f[3]),h&1&&o!==(o=f[0]==="important"?"false":"true")&&z(r,"inverted",o),h&1&&n!==(n="icon "+f[0])&&u(t,"class",n),f[1]?d?d.p(f,h):(d=mt(f),d.c(),d.m(l,s)):d&&(d.d(1),d=null),h&4&&u(e,"data-testid",f[2])},i:p,o:p,d(f){f&&E(e),d&&d.d()}}}function zr(i,e,t){let r,{type:o}=e,{heading:n=""}=e,{testid:a=""}=e;return i.$$set=l=>{"type"in l&&t(0,o=l.type),"heading"in l&&t(1,n=l.heading),"testid"in l&&t(2,a=l.testid)},i.$$.update=()=>{i.$$.dirty&1&&t(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class bt 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;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:P(this.attributes),customElement:!0},zr,Cr,G,{type:0,heading:1,testid:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","heading","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",bt);function Mr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"data-testid",i[2]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"px; "+(i[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(o,n){w(o,e,n),m(e,t)},p(o,[n]){n&4&&u(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&u(e,"style",r)},i:p,o:p,d(o){o&&E(e)}}}function Ar(i,e,t){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return i.$$set=a=>{"elevation"in a&&t(0,r=a.elevation),"width"in a&&t(1,o=a.width),"testId"in a&&t(2,n=a.testId)},[r,o,n]}class vt extends N{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>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ar,Mr,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",vt);function Lr(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&&E(e)}}}class pt extends N{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Lr,G,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",pt);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,u(e,"class","card-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&E(e)}}}class wt extends N{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:P(this.attributes),customElement:!0},null,Tr,G,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",wt);function Rr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,u(e,"class","card-group")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&E(e)}}}class _t 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Rr,G,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",_t);function Hr(i){let e;return{c(){e=b("div"),this.c=p,u(e,"class","card-image"),V(e,"background-image","url("+i[0]+")"),V(e,"height",i[1]),V(e,"background-size","cover"),V(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&V(e,"background-image","url("+t[0]+")"),r&2&&V(e,"height",t[1])},i:p,o:p,d(t){t&&E(e)}}}function Sr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class yt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Sr,Hr,G,{src:0,height:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",yt);function Br(i){let e,t;return{c(){e=ce("svg"),t=ce("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){w(r,e,o),m(e,t)},d(r){r&&E(e)}}}function Ir(i){let e,t;return{c(){e=ce("svg"),t=ce("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){w(r,e,o),m(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t,r,o,n,a,l,s,c,d,f;function h(v,M){if(v[5])return Ir;if(v[4])return Br}let _=h(i),y=_&&_(i);return{c(){e=b("label"),t=b("div"),r=b("input"),n=T(),y&&y.c(),a=T(),l=b("div"),s=b("slot"),c=j(i[1]),this.c=p,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[7]),B(e,"goa-checkbox--error",i[6])},m(v,M){w(v,e,M),m(e,t),m(t,r),m(t,n),y&&y.m(t,null),m(e,a),m(e,l),m(l,s),m(s,c),d||(f=U(r,"change",i[8]),d=!0)},p(v,[M]){M&1&&u(r,"id",v[0]),M&8&&u(r,"data-testid",v[3]),M&1&&u(r,"name",v[0]),M&16&&(r.checked=v[4]),M&128&&(r.disabled=v[7]),M&4&&o!==(o=`${v[2]}`)&&(r.value=o),_!==(_=h(v))&&(y&&y.d(1),y=_&&_(v),y&&(y.c(),y.m(t,null))),M&16&&B(t,"goa-checkbox--selected",v[4]),M&2&&q(c,v[1]),M&1&&u(e,"for",v[0]),M&128&&B(e,"goa-checkbox--disabled",v[7]),M&64&&B(e,"goa-checkbox--error",v[6])},i:p,o:p,d(v){v&&E(e),y&&y.d(),d=!1,f()}}}function Gr(i,e,t){let r,o,n,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:h}=e,{testid:_=""}=e;function y(v){const M=!n,k=M?`${d||"checked"}`:"";v.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:M,value:k}}))}return i.$$set=v=>{"name"in v&&t(0,l=v.name),"checked"in v&&t(9,s=v.checked),"text"in v&&t(1,c=v.text),"value"in v&&t(2,d=v.value),"disabled"in v&&t(10,f=v.disabled),"error"in v&&t(11,h=v.error),"testid"in v&&t(3,_=v.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=F(f)),i.$$.dirty&2048&&t(6,o=F(h)),i.$$.dirty&512&&t(4,n=F(s))},t(5,a=!1),[l,c,d,_,n,a,o,r,y,s,f,h]}class kt 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>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gr,Dr,G,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[11]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",kt);function xt(i){let e;return{c(){e=b("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[0])},m(t,r){w(t,e,r)},p(t,r){r&1&&z(e,"type",t[0])},d(t){t&&E(e)}}}function Et(i){let e,t,r;return{c(){e=b("goa-icon"),z(e,"class","delete-icon"),z(e,"size","medium"),z(e,"theme","filled"),z(e,"type","close-circle"),z(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),z(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){w(o,e,n)},p(o,n){n&24&&t!==(t=o[4]?"var(--goa-color-status-emergency)":o[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&z(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&z(e,"opacity",r)},d(o){o&&E(e)}}}function Nr(i){let e,t,r,o,n,a,l,s=i[0]&&xt(i),c=i[5]&&Et(i);return{c(){e=b("div"),s&&s.c(),t=T(),r=b("div"),o=j(i[1]),n=T(),c&&c.c(),this.c=p,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),B(e,"deletable",i[5]),B(e,"error",i[4])},m(d,f){w(d,e,f),s&&s.m(e,null),m(e,t),m(e,r),m(r,o),m(e,n),c&&c.m(e,null),i[9](e),a||(l=[U(e,"click",i[10]),U(e,"mouseover",i[11]),U(e,"mouseout",i[12]),U(e,"focus",i[13]),U(e,"blur",i[14])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=xt(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&q(o,d[1]),d[5]?c?c.p(d,f):(c=Et(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&B(e,"deletable",d[5]),f&16&&B(e,"error",d[4])},i:p,o:p,d(d){d&&E(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,$(l)}}}function Pr(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,d;function f(C){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),C.stopPropagation()}function h(C){ee[C?"unshift":"push"](()=>{l=C,t(2,l)})}const _=C=>d&&f(C),y=()=>t(3,s=!0),v=()=>t(3,s=!1),M=()=>t(3,s=!1),k=()=>t(3,s=!1);return i.$$set=C=>{"leadingicon"in C&&t(0,r=C.leadingicon),"error"in C&&t(7,o=C.error),"deletable"in C&&t(8,n=C.deletable),"content"in C&&t(1,a=C.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=F(o)),i.$$.dirty&256&&t(5,d=F(n))},[r,a,l,s,c,d,f,o,n,h,_,y,v,M,k]}class Ct 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;margin:0.25rem;padding:0 0.75rem}.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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Pr,Nr,G,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Ct);function Or(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=b("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=b("div"),s.innerHTML="<slot></slot>",this.c=p,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
6
|
+
}}</style>`,O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Ar,Mr,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","testId"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),g()}}customElements.define("goa-card",vt);function Lr(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&&E(e)}}}class pt extends N{constructor(e){super();O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Lr,G,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-actions",pt);function Tr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,u(e,"class","card-content")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&E(e)}}}class wt extends N{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:P(this.attributes),customElement:!0},null,Tr,G,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-content",wt);function Rr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,u(e,"class","card-group")},m(t,r){w(t,e,r)},p,i:p,o:p,d(t){t&&E(e)}}}class _t 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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},null,Rr,G,{},null),e&&e.target&&w(e.target,this,e.anchor)}}customElements.define("goa-card-group",_t);function Hr(i){let e;return{c(){e=b("div"),this.c=p,u(e,"class","card-image"),V(e,"background-image","url("+i[0]+")"),V(e,"height",i[1]),V(e,"background-size","cover"),V(e,"background-position","center")},m(t,r){w(t,e,r)},p(t,[r]){r&1&&V(e,"background-image","url("+t[0]+")"),r&2&&V(e,"height",t[1])},i:p,o:p,d(t){t&&E(e)}}}function Sr(i,e,t){let{src:r}=e,{height:o="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,r=n.src),"height"in n&&t(1,o=n.height)},[r,o]}class yt extends N{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Sr,Hr,G,{src:0,height:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),g()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),g()}}customElements.define("goa-card-image",yt);function Br(i){let e,t;return{c(){e=ce("svg"),t=ce("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,o){w(r,e,o),m(e,t)},d(r){r&&E(e)}}}function Ir(i){let e,t;return{c(){e=ce("svg"),t=ce("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,o){w(r,e,o),m(e,t)},d(r){r&&E(e)}}}function Dr(i){let e,t,r,o,n,a,l,s,c,d,f;function h(v,M){if(v[5])return Ir;if(v[4])return Br}let _=h(i),y=_&&_(i);return{c(){e=b("label"),t=b("div"),r=b("input"),n=T(),y&&y.c(),a=T(),l=b("div"),s=b("slot"),c=j(i[1]),this.c=p,u(r,"id",i[0]),u(r,"data-testid",i[3]),u(r,"name",i[0]),r.checked=i[4],r.disabled=i[7],u(r,"type","checkbox"),r.value=o=`${i[2]}`,u(t,"class","goa-checkbox-container"),B(t,"goa-checkbox--selected",i[4]),u(l,"class","goa-checkbox-text"),u(l,"data-testid","text"),u(e,"for",i[0]),u(e,"class","goa-checkbox"),B(e,"goa-checkbox--disabled",i[7]),B(e,"goa-checkbox--error",i[6])},m(v,M){w(v,e,M),m(e,t),m(t,r),m(t,n),y&&y.m(t,null),m(e,a),m(e,l),m(l,s),m(s,c),d||(f=U(r,"change",i[8]),d=!0)},p(v,[M]){M&1&&u(r,"id",v[0]),M&8&&u(r,"data-testid",v[3]),M&1&&u(r,"name",v[0]),M&16&&(r.checked=v[4]),M&128&&(r.disabled=v[7]),M&4&&o!==(o=`${v[2]}`)&&(r.value=o),_!==(_=h(v))&&(y&&y.d(1),y=_&&_(v),y&&(y.c(),y.m(t,null))),M&16&&B(t,"goa-checkbox--selected",v[4]),M&2&&q(c,v[1]),M&1&&u(e,"for",v[0]),M&128&&B(e,"goa-checkbox--disabled",v[7]),M&64&&B(e,"goa-checkbox--error",v[6])},i:p,o:p,d(v){v&&E(e),y&&y.d(),d=!1,f()}}}function Gr(i,e,t){let r,o,n,a,{name:l}=e,{checked:s}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f}=e,{error:h}=e,{testid:_=""}=e;function y(v){const M=!n,k=M?`${d||"checked"}`:"";v.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:M,value:k}}))}return i.$$set=v=>{"name"in v&&t(0,l=v.name),"checked"in v&&t(9,s=v.checked),"text"in v&&t(1,c=v.text),"value"in v&&t(2,d=v.value),"disabled"in v&&t(10,f=v.disabled),"error"in v&&t(11,h=v.error),"testid"in v&&t(3,_=v.testid)},i.$$.update=()=>{i.$$.dirty&1024&&t(7,r=F(f)),i.$$.dirty&2048&&t(6,o=F(h)),i.$$.dirty&512&&t(4,n=F(s))},t(5,a=!1),[l,c,d,_,n,a,o,r,y,s,f,h]}class kt 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>',O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Gr,Dr,G,{name:0,checked:9,text:1,value:2,disabled:10,error:11,testid:3},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[9]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[11]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-checkbox",kt);function xt(i){let e;return{c(){e=b("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[0])},m(t,r){w(t,e,r)},p(t,r){r&1&&z(e,"type",t[0])},d(t){t&&E(e)}}}function Et(i){let e,t,r;return{c(){e=b("goa-icon"),z(e,"class","delete-icon"),z(e,"size","medium"),z(e,"theme","filled"),z(e,"type","close-circle"),z(e,"fillcolor",t=i[4]?"var(--goa-color-status-emergency)":i[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)"),z(e,"opacity",r=i[4]?i[3]?1:.5:1)},m(o,n){w(o,e,n)},p(o,n){n&24&&t!==(t=o[4]?"var(--goa-color-status-emergency)":o[3]?"var(--goa-color-interactive--hover)":"var(--color-gray-600)")&&z(e,"fillcolor",t),n&24&&r!==(r=o[4]?o[3]?1:.5:1)&&z(e,"opacity",r)},d(o){o&&E(e)}}}function Nr(i){let e,t,r,o,n,a,l,s=i[0]&&xt(i),c=i[5]&&Et(i);return{c(){e=b("div"),s&&s.c(),t=T(),r=b("div"),o=j(i[1]),n=T(),c&&c.c(),this.c=p,u(r,"class","text"),u(e,"data-testid","chip"),u(e,"class","chip"),u(e,"tabindex","0"),B(e,"deletable",i[5]),B(e,"error",i[4])},m(d,f){w(d,e,f),s&&s.m(e,null),m(e,t),m(e,r),m(r,o),m(e,n),c&&c.m(e,null),i[9](e),a||(l=[U(e,"click",i[10]),U(e,"mouseover",i[11]),U(e,"mouseout",i[12]),U(e,"focus",i[13]),U(e,"blur",i[14])],a=!0)},p(d,[f]){d[0]?s?s.p(d,f):(s=xt(d),s.c(),s.m(e,t)):s&&(s.d(1),s=null),f&2&&q(o,d[1]),d[5]?c?c.p(d,f):(c=Et(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&32&&B(e,"deletable",d[5]),f&16&&B(e,"error",d[4])},i:p,o:p,d(d){d&&E(e),s&&s.d(),c&&c.d(),i[9](null),a=!1,$(l)}}}function Pr(i,e,t){let{leadingicon:r=null}=e,{error:o="false"}=e,{deletable:n="false"}=e,{content:a}=e,l,s=!1,c,d;function f(C){l.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),C.stopPropagation()}function h(C){ee[C?"unshift":"push"](()=>{l=C,t(2,l)})}const _=C=>d&&f(C),y=()=>t(3,s=!0),v=()=>t(3,s=!1),M=()=>t(3,s=!1),k=()=>t(3,s=!1);return i.$$set=C=>{"leadingicon"in C&&t(0,r=C.leadingicon),"error"in C&&t(7,o=C.error),"deletable"in C&&t(8,n=C.deletable),"content"in C&&t(1,a=C.content)},i.$$.update=()=>{i.$$.dirty&128&&t(4,c=F(o)),i.$$.dirty&256&&t(5,d=F(n))},[r,a,l,s,c,d,f,o,n,h,_,y,v,M,k]}class Ct 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;margin:0.25rem;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>",O(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},Pr,Nr,G,{leadingicon:0,error:7,deletable:8,content:1},null),e&&(e.target&&w(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["leadingicon","error","deletable","content"]}get leadingicon(){return this.$$.ctx[0]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[8]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),g()}}customElements.define("goa-chip",Ct);function Or(i){let e,t,r,o,n,a,l,s,c;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',o=T(),n=b("div"),n.innerHTML='<slot name="actions"></slot>',l=T(),s=b("div"),s.innerHTML="<slot></slot>",this.c=p,u(r,"class","title"),u(n,"class","actions"),u(t,"class",a="heading--"+i[1]),u(s,"class","content"),u(e,"class",c=`
|
|
7
7
|
goa-container
|
|
8
8
|
goa-container--${i[0]}
|
|
9
9
|
padding--${i[2]}
|