@abgov/web-components 1.0.0-alpha.157 → 1.0.0-alpha.159
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 +7 -1
- package/web-components.es.js +1590 -352
- package/index.css +0 -1
- package/web-components.umd.js +0 -138
package/web-components.umd.js
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://p.typekit.net/p.css?s=1&k=nur5yta&ht=tk&f=26036.26037.26044.26046.26047&a=14638192&app=typekit&e=css";@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:acumin-pro-semi-condensed,sans-serif;font-weight:400;font-size:var(--goa-font-size-4);color:var(--goa-color-text-default)}body{margin:0;scroll-behavior:smooth;line-height:var(--goa-line-height-2)}*,*:before,*:after{box-sizing:border-box}p{margin:0;margin-bottom:1rem}hr{border-width:0;border-top:1px solid #ccc;height:0;padding:0;margin:2rem 0}ul,ol{padding-left:0;padding-left:1rem}li>ul,li>ol,li>ul,li>ol{padding-left:0;margin-top:0}dl{margin-top:0}dd{margin-left:.5rem}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}::placeholder{color:#999;opacity:1}:-ms-input-placeholder{color:#999}::-ms-input-placeholder{color:#999}h1{font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}h2{font-size:var(--goa-font-size-9);line-height:var(--goa-line-height-6);font-weight:var(--goa-font-weight-regular)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4);font-weight:var(--goa-font-weight-regular)}h4,h5,h6{font-size:var(--goa-font-size-4);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-bold)}h3+h1{margin-top:-1rem}p{margin-bottom:1rem;font-size:var(--goa-font-size-4)}em{font-size:var(--goa-font-size-1);line-height:var(--goa-line-height-1);color:var(--goa-color-greyscale-200)}small{font-size:var(--goa-font-size-1);font-style:normal;color:var(--goa-color-greyscale-200)}goa-two-column-layout h1:first-of-type,goa-two-column-layout h2:first-of-type,goa-two-column-layout h3:first-of-type,goa-container h1:first-of-type,goa-container h2:first-of-type,goa-container h3:first-of-type{margin-top:0}goa-two-column-layout [slot=nav] a{display:block;padding:.5rem 0}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/l?subset_id=1&fvd=n4&v=3) format("woff2"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/d?subset_id=1&fvd=n4&v=3) format("woff"),url(https://use.typekit.net/af/3f7b4d/00000000000000003b9acb2d/27/a?subset_id=1&fvd=n4&v=3) format("opentype");font-style:normal;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/l?subset_id=1&fvd=i4&v=3) format("woff2"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/d?subset_id=1&fvd=i4&v=3) format("woff"),url(https://use.typekit.net/af/761912/00000000000000003b9acb2e/27/a?subset_id=1&fvd=i4&v=3) format("opentype");font-style:italic;font-weight:400}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/l?subset_id=1&fvd=n7&v=3) format("woff2"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/d?subset_id=1&fvd=n7&v=3) format("woff"),url(https://use.typekit.net/af/ee7f3d/00000000000000003b9acb33/27/a?subset_id=1&fvd=n7&v=3) format("opentype");font-style:normal;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/l?subset_id=1&fvd=i7&v=3) format("woff2"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/d?subset_id=1&fvd=i7&v=3) format("woff"),url(https://use.typekit.net/af/503f80/00000000000000003b9acb34/27/a?subset_id=1&fvd=i7&v=3) format("opentype");font-style:italic;font-weight:700}@font-face{font-family:acumin-pro-semi-condensed;src:url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/l?subset_id=1&fvd=n6&v=3) format("woff2"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/d?subset_id=1&fvd=n6&v=3) format("woff"),url(https://use.typekit.net/af/e60e87/00000000000000003b9acb31/27/a?subset_id=1&fvd=n6&v=3) format("opentype");font-style:normal;font-weight:600}@font-face{font-family:roboto-mono;src:url(https://fonts.gstatic.com/s/robotomono/v22/L0xuDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vq_ROW4.woff2) format("woff2");font-style:normal;font-weight:400}:root{--font-valign-fix: .1rem;--shadow-0: 0 0 rgba(0, 0, 0, 0);--shadow-1: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .24);--shadow-2: 0 3px 6px rgba(0, 0, 0, .15), 0 2px 4px rgba(0, 0, 0, .12);--shadow-3: 0 10px 20px rgba(0, 0, 0, .15), 0 3px 6px rgba(0, 0, 0, .1);--shadow-4: 0 15px 25px rgba(0, 0, 0, .15), 0 5px 10px rgba(0, 0, 0, .05);--shadow-5: 0 20px 40px rgba(0, 0, 0, .2)}ol.goa-ordered-list li,ul.goa-unordered-list li{padding:var(--goa-space-xs)}ol.goa-ordered-list ol,ol.goa-ordered-list ul,ul.goa-unordered-list ol,ul.goa-unordered-list ul{margin-left:var(--goa-space-l)}ul.goa-unordered-list li::marker{color:var(--goa-color-brand-default)}:root{--goa-color-brand-default: #0081a2;--goa-color-brand-dark: #005072;--goa-color-brand-light: #c8eefa;--goa-color-interactive-default: #0070c4;--goa-color-interactive-hover: #004f84;--goa-color-interactive-error: #ec040b;--goa-color-interactive-focus: #feba35;--goa-color-interactive-disabled: #80b7e1;--goa-color-text-default: #333333;--goa-color-text-secondary: #666666;--goa-color-text-light: #ffffff;--goa-color-text-disabled: #666666;--goa-color-info-default: #005daa;--goa-color-info-light: #b2d4ed;--goa-color-info-dark: #00347a;--goa-color-info-background: #eff8ff;--goa-color-warning-default: #feba35;--goa-color-warning-light: #fcefd0;--goa-color-warning-dark: #c68a00;--goa-color-warning-background: #fff6e5;--goa-color-emergency-default: #ec040b;--goa-color-emergency-light: #ffcecf;--goa-color-emergency-dark: #b00000;--goa-color-emergency-background: #fff1f2;--goa-color-success-default: #00853f;--goa-color-success-light: #c6e0d0;--goa-color-success-dark: #005715;--goa-color-success-background: #eef9f3;--goa-color-greyscale-100: #f1f1f1;--goa-color-greyscale-200: #dcdcdc;--goa-color-greyscale-400: #adadad;--goa-color-greyscale-500: #949494;--goa-color-greyscale-600: #858585;--goa-color-greyscale-700: #666666;--goa-color-greyscale-black: #333333;--goa-color-greyscale-white: #ffffff;--goa-font-weight-regular: 400;--goa-font-weight-medium: 500;--goa-font-weight-bold: 700;--goa-font-size-1: .75rem;--goa-font-size-2: .875rem;--goa-font-size-3: 1rem;--goa-font-size-4: 1.125rem;--goa-font-size-5: 1.25rem;--goa-font-size-6: 1.375rem;--goa-font-size-7: 1.5rem;--goa-font-size-8: 2rem;--goa-font-size-9: 2.25rem;--goa-font-size-10: 3rem;--goa-space-none: 0rem;--goa-space-3xs: .125rem;--goa-space-2xs: .25rem;--goa-space-xs: .5rem;--goa-space-s: .75rem;--goa-space-m: 1rem;--goa-space-l: 1.5rem;--goa-space-xl: 2rem;--goa-space-2xl: 3rem;--goa-space-3xl: 4rem;--goa-space-4xl: 8rem;--goa-border-radius-none: 0rem;--goa-border-radius-m: .25rem;--goa-opacity-background-modal: 50%;--goa-opacity-background-loading: 90%;--goa-line-height-1: 1.25rem;--goa-line-height-2: 1.5rem;--goa-line-height-3: 1.75rem;--goa-line-height-4: 2rem;--goa-line-height-5: 2.5rem;--goa-line-height-6: 2.75rem;--goa-line-height-7: 3.5rem;--goa-line-height-05: 1.125rem;--goa-font-family-sans: acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-font-family-number: roboto-mono, monospace;--goa-typography-heading-xs: 700 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-s: 700 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-m: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-l: 400 2.25rem/2.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-heading-xl: 700 3rem/3.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-xs: 400 .875rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-s: 400 1rem/1.5rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-m: 400 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-body-l: 400 1.5rem/2rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-button-default: 400 1.125rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;--goa-typography-number-m: 500 1.125rem/1.75rem roboto-mono, monospace;--goa-border-width-s: 1px;--goa-border-width-m: 2px;--goa-border-width-l: 3px;--goa-letter-spacing-button: .0125rem;--goa-icon-size-s: 1rem;--goa-icon-size-m: 1.25rem;--goa-icon-size-l: 1.5rem;--goa-shadow-modal: 6px 6px 6px 0px rgba(0,0,0,.16)}
|
|
2
|
-
`;document.head.appendChild(__vite_style__);(function(p){typeof define=="function"&&define.amd?define(p):p()})(function(){"use strict";function p(){}const Ne=i=>i;function dt(i,e){for(const t in e)i[t]=e[t];return i}function rt(i){return i()}function ut(){return Object.create(null)}function oe(i){i.forEach(rt)}function fe(i){return typeof i=="function"}function B(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let Pe;function xe(i,e){return Pe||(Pe=document.createElement("a")),Pe.href=e,i===Pe.href}function xi(i){return Object.keys(i).length===0}function zi(i,...e){if(i==null)return p;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Mi(i,e,t){i.$$.on_destroy.push(zi(e,t))}function ft(i){return i&&fe(i.destroy)?i.destroy:p}const gt=typeof window!="undefined";let Ge=gt?()=>window.performance.now():()=>Date.now(),at=gt?i=>requestAnimationFrame(i):p;const ze=new Set;function ht(i){ze.forEach(e=>{e.c(i)||(ze.delete(e),e.f())}),ze.size!==0&&at(ht)}function Ye(i){let e;return ze.size===0&&at(ht),{promise:new Promise(t=>{ze.add(e={c:i,f:t})}),abort(){ze.delete(e)}}}function m(i,e){i.appendChild(e)}function mt(i){if(!i)return document;const e=i.getRootNode?i.getRootNode():i.ownerDocument;return e&&e.host?e:i.ownerDocument}function Ci(i){const e=b("style");return Ei(mt(i),e),e.sheet}function Ei(i,e){return m(i.head||i,e),e.sheet}function x(i,e,t){i.insertBefore(e,t||null)}function L(i){i.parentNode.removeChild(i)}function Ze(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 ye(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function V(i){return document.createTextNode(i)}function H(){return V(" ")}function we(){return V("")}function F(i,e,t,r){return i.addEventListener(e,t,r),()=>i.removeEventListener(e,t,r)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function z(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function Ai(i){return Array.from(i.childNodes)}function q(i,e){e=""+e,i.wholeText!==e&&(i.data=e)}function ie(i,e,t,r){t===null?i.style.removeProperty(e):i.style.setProperty(e,t,r?"important":"")}function O(i,e,t){i.classList[t?"add":"remove"](e)}function Li(i,e,{bubbles:t=!1,cancelable:r=!1}={}){const a=document.createEvent("CustomEvent");return a.initCustomEvent(i,t,r,e),a}function G(i){const e={};for(const t of i)e[t.name]=t.value;return e}const Ve=new Map;let Qe=0;function Ti(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Ii(i,e){const t={stylesheet:Ci(e),rules:{}};return Ve.set(i,t),t}function Fe(i,e,t,r,a,o,n,l=0){const c=16.666/r;let s=`{
|
|
3
|
-
`;for(let w=0;w<=1;w+=c){const v=e+(t-e)*o(w);s+=w*100+`%{${n(v,1-v)}}
|
|
4
|
-
`}const d=s+`100% {${n(t,1-t)}}
|
|
5
|
-
}`,f=`__svelte_${Ti(d)}_${l}`,h=mt(i),{stylesheet:_,rules:y}=Ve.get(h)||Ii(h,i);y[f]||(y[f]=!0,_.insertRule(`@keyframes ${f} ${d}`,_.cssRules.length));const k=i.style.animation||"";return i.style.animation=`${k?`${k}, `:""}${f} ${r}ms linear ${a}ms 1 both`,Qe+=1,f}function Ue(i,e){const t=(i.style.animation||"").split(", "),r=t.filter(e?o=>o.indexOf(e)<0:o=>o.indexOf("__svelte")===-1),a=t.length-r.length;a&&(i.style.animation=r.join(", "),Qe-=a,Qe||Ni())}function Ni(){at(()=>{Qe||(Ve.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&L(e)}),Ve.clear())})}let De;function He(i){De=i}function bt(){if(!De)throw new Error("Function called outside component initialization");return De}function W(i){bt().$$.on_mount.push(i)}function Di(i){bt().$$.on_destroy.push(i)}const je=[],$=[],qe=[],vt=[],yt=Promise.resolve();let nt=!1;function wt(){nt||(nt=!0,yt.then(g))}function ge(){return wt(),yt}function de(i){qe.push(i)}const ot=new Set;let We=0;function g(){const i=De;do{for(;We<je.length;){const e=je[We];We++,He(e),Hi(e.$$)}for(He(null),je.length=0,We=0;$.length;)$.pop()();for(let e=0;e<qe.length;e+=1){const t=qe[e];ot.has(t)||(ot.add(t),t())}qe.length=0}while(je.length);for(;vt.length;)vt.pop()();nt=!1,ot.clear(),He(i)}function Hi(i){if(i.fragment!==null){i.update(),oe(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(de)}}let Re;function lt(){return Re||(Re=Promise.resolve(),Re.then(()=>{Re=null})),Re}function _e(i,e,t){i.dispatchEvent(Li(`${e?"intro":"outro"}${t}`))}const Ke=new Set;let ue;function Me(){ue={r:0,c:[],p:ue}}function Ce(){ue.r||oe(ue.c),ue=ue.p}function J(i,e){i&&i.i&&(Ke.delete(i),i.i(e))}function ee(i,e,t,r){if(i&&i.o){if(Ke.has(i))return;Ke.add(i),ue.c.push(()=>{Ke.delete(i),r&&(t&&i.d(1),r())}),i.o(e)}else r&&r()}const st={duration:0};function _t(i,e,t){let r=e(i,t),a=!1,o,n,l=0;function c(){o&&Ue(i,o)}function s(){const{delay:f=0,duration:h=300,easing:_=Ne,tick:y=p,css:k}=r||st;k&&(o=Fe(i,0,1,h,f,_,k,l++)),y(0,1);const w=Ge()+f,v=w+h;n&&n.abort(),a=!0,de(()=>_e(i,!0,"start")),n=Ye(C=>{if(a){if(C>=v)return y(1,0),_e(i,!0,"end"),c(),a=!1;if(C>=w){const N=_((C-w)/h);y(N,1-N)}}return a})}let d=!1;return{start(){d||(d=!0,Ue(i),fe(r)?(r=r(),lt().then(s)):s())},invalidate(){d=!1},end(){a&&(c(),a=!1)}}}function kt(i,e,t){let r=e(i,t),a=!0,o;const n=ue;n.r+=1;function l(){const{delay:c=0,duration:s=300,easing:d=Ne,tick:f=p,css:h}=r||st;h&&(o=Fe(i,1,0,s,c,d,h));const _=Ge()+c,y=_+s;de(()=>_e(i,!1,"start")),Ye(k=>{if(a){if(k>=y)return f(0,1),_e(i,!1,"end"),--n.r||oe(n.c),!1;if(k>=_){const w=d((k-_)/s);f(1-w,w)}}return a})}return fe(r)?lt().then(()=>{r=r(),l()}):l(),{end(c){c&&r.tick&&r.tick(1,0),a&&(o&&Ue(i,o),a=!1)}}}function Xe(i,e,t,r){let a=e(i,t),o=r?0:1,n=null,l=null,c=null;function s(){c&&Ue(i,c)}function d(h,_){const y=h.b-o;return _*=Math.abs(y),{a:o,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:k=Ne,tick:w=p,css:v}=a||st,C={start:Ge()+_,b:h};h||(C.group=ue,ue.r+=1),n||l?l=C:(v&&(s(),c=Fe(i,o,h,y,_,k,v)),h&&w(0,1),n=d(C,y),de(()=>_e(i,h,"start")),Ye(N=>{if(l&&N>l.start&&(n=d(l,y),l=null,_e(i,n.b,"start"),v&&(s(),c=Fe(i,o,n.b,n.duration,0,k,a.css))),n){if(N>=n.end)w(o=n.b,1-o),_e(i,n.b,"end"),l||(n.b?s():--n.group.r||oe(n.group.c)),n=null;else if(N>=n.start){const I=N-n.start;o=n.a+n.d*k(I/n.duration),w(o,1-o)}}return!!(n||l)}))}return{run(h){fe(a)?lt().then(()=>{a=a(),f(h)}):f(h)},end(){s(),n=l=null}}}function pt(i,e){i.d(1),e.delete(i.key)}function xt(i,e,t,r,a,o,n,l,c,s,d,f){let h=i.length,_=o.length,y=h;const k={};for(;y--;)k[i[y].key]=y;const w=[],v=new Map,C=new Map;for(y=_;y--;){const A=f(a,o,y),E=t(A);let D=n.get(E);D?r&&D.p(A,e):(D=s(E,A),D.c()),v.set(E,w[y]=D),E in k&&C.set(E,Math.abs(y-k[E]))}const N=new Set,I=new Set;function M(A){J(A,1),A.m(l,d),n.set(A.key,A),d=A.first,_--}for(;h&&_;){const A=w[_-1],E=i[h-1],D=A.key,T=E.key;A===E?(d=A.first,h--,_--):v.has(T)?!n.has(D)||N.has(D)?M(A):I.has(T)?h--:C.get(D)>C.get(T)?(I.add(D),M(A)):(N.add(T),h--):(c(E,n),h--)}for(;h--;){const A=i[h];v.has(A.key)||c(A,n)}for(;_;)M(w[_-1]);return w}function ke(i){i&&i.c()}function he(i,e,t,r){const{fragment:a,after_update:o}=i.$$;a&&a.m(e,t),r||de(()=>{const n=i.$$.on_mount.map(rt).filter(fe);i.$$.on_destroy?i.$$.on_destroy.push(...n):oe(n),i.$$.on_mount=[]}),o.forEach(de)}function me(i,e){const t=i.$$;t.fragment!==null&&(oe(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function ji(i,e){i.$$.dirty[0]===-1&&(je.push(i),wt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function Y(i,e,t,r,a,o,n,l=[-1]){const c=De;He(i);const s=i.$$={fragment:null,ctx:[],props:o,update:p,not_equal:a,bound:ut(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(c?c.$$.context:[])),callbacks:ut(),dirty:l,skip_bound:!1,root:e.target||c.$$.root};n&&n(s.root);let d=!1;if(s.ctx=t?t(i,e.props||{},(f,h,..._)=>{const y=_.length?_[0]:h;return s.ctx&&a(s.ctx[f],s.ctx[f]=y)&&(!s.skip_bound&&s.bound[f]&&s.bound[f](y),d&&ji(i,f)),h}):[],s.update(),d=!0,oe(s.before_update),s.fragment=r?r(s.ctx):!1,e.target){if(e.hydrate){const f=Ai(e.target);s.fragment&&s.fragment.l(f),f.forEach(L)}else s.fragment&&s.fragment.c();e.intro&&J(i.$$.fragment),he(i,e.target,e.anchor,e.customElement),g()}He(c)}let P;typeof HTMLElement=="function"&&(P=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(rt).filter(fe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){oe(this.$$.on_disconnect)}$destroy(){me(this,1),this.$destroy=p}$on(i,e){if(!fe(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&&!xi(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var Yn="",Zn="",Vn="",Qn="",Fn="";const Ri={"0":"none","1":"3xs","2":"2xs","3":"xs","4":"s","5":"m","6":"l","7":"xl","8":"2xl","9":"3xl","10":"4xl"};function Je(i){return Number.isInteger(+i)?Ri[i]||"":i}function Z(i,e,t,r){return i=Je(i),t=Je(t),r=Je(r),e=Je(e),[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,r&&`margin-left:var(--goa-space-${r});`].join(" ")}function zt(i,e,t,r){const a=document.createElement("style"),o=Object.entries(t).map(n=>`${n[0]}: ${n[1]};`).join(" ");r?a.innerHTML=`@media (${r}) { ${e} {${o}} }`:a.innerHTML=`${e} {${o}}`,i.appendChild(a)}function Q(i){return i==="false"?!1:i===""?!0:!!i}function Si(i){return i?"true":"false"}function $e(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function X(i,e,t=!1){return[e,a=>{!t&&!a||e.includes(a)||console.error(`[${a}] is an invalid ${i.toLowerCase()}`)}]}function Oi(i){let e,t,r,a,o,n,l,c,s,d,f,h,_,y,k,w,v,C,N,I,M,A;return{c(){e=b("div"),t=b("details"),r=b("summary"),a=b("goa-icon"),n=H(),l=b("div"),c=b("span"),s=V(i[0]),h=H(),_=b("span"),y=V(i[1]),k=H(),w=b("div"),w.innerHTML='<slot name="headingcontent"></slot>',C=H(),N=b("div"),N.innerHTML="<slot></slot>",this.c=p,z(a,"type","chevron-forward"),z(a,"fillcolor",o=i[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(c,"class",d="heading heading-"+i[2]),u(c,"data-testid",f=`${i[3]}-heading`),u(_,"class","secondary-text"),u(w,"class","heading-content"),u(l,"class","title"),u(r,"class",v=`container-${i[2]}`),u(N,"class","content"),t.open=i[9],u(e,"style",I=Z(i[4],i[5],i[6],i[7])),u(e,"class",`
|
|
6
|
-
goa-accordion
|
|
7
|
-
`),u(e,"data-testid",i[3])},m(E,D){x(E,e,D),m(e,t),m(t,r),m(r,a),m(r,n),m(r,l),m(l,c),m(c,s),m(l,h),m(l,_),m(_,y),m(l,k),m(l,w),m(t,C),m(t,N),M||(A=[F(r,"mouseover",i[11]),F(r,"mouseout",i[12]),F(r,"focus",i[13]),F(r,"blur",i[14])],M=!0)},p(E,[D]){D&256&&o!==(o=E[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&z(a,"fillcolor",o),D&1&&q(s,E[0]),D&4&&d!==(d="heading heading-"+E[2])&&u(c,"class",d),D&8&&f!==(f=`${E[3]}-heading`)&&u(c,"data-testid",f),D&2&&q(y,E[1]),D&4&&v!==(v=`container-${E[2]}`)&&u(r,"class",v),D&512&&(t.open=E[9]),D&240&&I!==(I=Z(E[4],E[5],E[6],E[7]))&&u(e,"style",I),D&8&&u(e,"data-testid",E[3])},i:p,o:p,d(E){E&&L(e),M=!1,oe(A)}}}function Bi(i,e,t){let r;const[a,o]=X("Accordion heading size",["small","medium"]);let{open:n="false"}=e,{heading:l=""}=e,{secondarytext:c=""}=e,{headingsize:s="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:_="xs"}=e,{ml:y=null}=e,k=!1;W(()=>{$e("GoAAccordion",{heading:l}),o(s)});const w=()=>t(8,k=!0),v=()=>t(8,k=!1),C=()=>t(8,k=!1),N=()=>t(8,k=!1);return i.$$set=I=>{"open"in I&&t(10,n=I.open),"heading"in I&&t(0,l=I.heading),"secondarytext"in I&&t(1,c=I.secondarytext),"headingsize"in I&&t(2,s=I.headingsize),"testid"in I&&t(3,d=I.testid),"mt"in I&&t(4,f=I.mt),"mr"in I&&t(5,h=I.mr),"mb"in I&&t(6,_=I.mb),"ml"in I&&t(7,y=I.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,r=Q(n))},[l,c,s,d,f,h,_,y,k,r,n,w,v,C,N]}class Pi extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-accordion,.goa-accordion *{box-sizing:border-box}summary{min-height:3.5rem;border-width:var(--goa-border-width-s);border-style:solid;border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-text-default);;;padding:0.875rem 1rem 0 0;cursor:pointer;list-style:none;display:flex;align-items:flex-start;position:relative}summary.container-medium{min-height:4rem}summary::marker,summary::-webkit-details-marker{display:none}summary .title{display:flex;align-items:center;flex:1}.title span{padding-bottom:var(--goa-space-3xs, 0)}summary .heading{font:var(--goa-typography-heading-s);padding-right:1rem}summary .secondary-text{font:var(--goa-typography-body-s);line-height:1.5rem;padding-right:1rem}summary .heading-content{flex:1
|
|
8
|
-
}.content{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-left:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-right:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);padding:1.5rem;padding-left:3.5rem;padding-right:2rem}summary goa-icon{padding:0.125rem 1rem}summary.container-medium goa-icon{padding:0.375rem 1rem}details[open] goa-icon{transform:rotate(90deg)}details[open] summary{border-bottom-left-radius:var(--goa-border-radius-none);border-bottom-right-radius:var(--goa-border-radius-none)}summary:hover{background-color:var(--goa-color-greyscale-200)}summary:focus,summary:active{background-color:var(--goa-color-greyscale-100);outline:none}summary:active::before,summary:focus::before{content:"";position:absolute;top:-1px;right:-1px;bottom:-1px;left:-1px;border:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);border-radius:4px}summary .heading.heading-medium{line-height:2rem;font:var(--goa-typography-heading-m)}@media(max-width: 640px){summary{align-items:flex-start}summary .title{flex-direction:column;align-items:flex-start}}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Bi,Oi,B,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),g()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),g()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-accordion",Pi);function Gi(i){let e,t,r,a,o,n,l,c,s;return{c(){e=b("div"),t=b("img"),a=H(),o=b("img"),l=H(),c=b("span"),s=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),xe(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(o,"alt","GoA Logo"),u(o,"class","image-desktop"),xe(o.src,n="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(o,"src",n),u(c,"class","title"),u(e,"class","app-link")},m(d,f){x(d,e,f),m(e,t),m(e,a),m(e,o),m(e,l),m(e,c),m(c,s)},p(d,f){f&1&&q(s,d[0])},d(d){d&&L(e)}}}function Yi(i){let e,t,r,a,o,n,l,c,s;return{c(){e=b("a"),t=b("img"),a=H(),o=b("img"),l=H(),c=b("span"),s=V(i[0]),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),xe(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(o,"alt","GoA Logo"),u(o,"class","image-desktop"),xe(o.src,n="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(o,"src",n),u(c,"class","title"),u(e,"href",i[1]),u(e,"class","app-link")},m(d,f){x(d,e,f),m(e,t),m(e,a),m(e,o),m(e,l),m(e,c),m(c,s)},p(d,f){f&1&&q(s,d[0]),f&2&&u(e,"href",d[1])},d(d){d&&L(e)}}}function Zi(i){let e,t,r,a,o;function n(s,d){return s[1]?Yi:Gi}let l=n(i),c=l(i);return{c(){e=b("div"),t=b("div"),c.c(),r=H(),a=b("div"),a.innerHTML="<slot></slot>",this.c=p,u(t,"class","content"),u(e,"class","app-header"),u(e,"data-testid",i[2]),u(e,"style",o=`--max-content-width: ${i[3]||"100%"}`)},m(s,d){x(s,e,d),m(e,t),c.m(t,null),m(t,r),m(t,a)},p(s,[d]){l===(l=n(s))&&c?c.p(s,d):(c.d(1),c=l(s),c&&(c.c(),c.m(t,r))),d&4&&u(e,"data-testid",s[2]),d&8&&o!==(o=`--max-content-width: ${s[3]||"100%"}`)&&u(e,"style",o)},i:p,o:p,d(s){s&&L(e),c.d()}}}function Vi(i,e,t){let{heading:r=""}=e,{url:a=""}=e,{testid:o=""}=e,{maxcontentwidth:n=""}=e;return i.$$set=l=>{"heading"in l&&t(0,r=l.heading),"url"in l&&t(1,a=l.url),"testid"in l&&t(2,o=l.testid),"maxcontentwidth"in l&&t(3,n=l.maxcontentwidth)},[r,a,o,n]}class Qi extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Vi,Zi,B,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),g()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),g()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-header",Qi);function Fi(i){let e;return{c(){e=b("div"),ie(e,"height","1.2rem"),ie(e,"margin-left","-0.25rem")},m(t,r){x(t,e,r)},p,d(t){t&&L(e)}}}function Ui(i){let e;return{c(){e=b("goa-icon"),z(e,"type",i[8]),z(e,"size","small")},m(t,r){x(t,e,r)},p(t,r){r&256&&z(e,"type",t[8])},d(t){t&&L(e)}}}function Mt(i){let e,t;return{c(){e=b("div"),t=V(i[2]),u(e,"class","goa-badge-content")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a&4&&q(t,r[2])},d(r){r&&L(e)}}}function qi(i){let e,t,r,a;function o(s,d){return s[7]?Ui:Fi}let n=o(i),l=n(i),c=i[2]&&Mt(i);return{c(){e=b("div"),l.c(),t=H(),c&&c.c(),this.c=p,u(e,"style",r=Z(i[3],i[4],i[5],i[6])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",a="goa-badge badge-"+i[0]),O(e,"icon-only",i[7]&&!i[2])},m(s,d){x(s,e,d),l.m(e,null),m(e,t),c&&c.m(e,null)},p(s,[d]){n===(n=o(s))&&l?l.p(s,d):(l.d(1),l=n(s),l&&(l.c(),l.m(e,t))),s[2]?c?c.p(s,d):(c=Mt(s),c.c(),c.m(e,null)):c&&(c.d(1),c=null),d&120&&r!==(r=Z(s[3],s[4],s[5],s[6]))&&u(e,"style",r),d&2&&u(e,"data-testid",s[1]),d&1&&a!==(a="goa-badge badge-"+s[0])&&u(e,"class",a),d&133&&O(e,"icon-only",s[7]&&!s[2])},i:p,o:p,d(s){s&&L(e),l.d(),c&&c.d()}}}function Wi(i,e,t){let r,a;const[o,n]=X("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:l}=e,{testid:c=""}=e,{content:s=""}=e,{icon:d="false"}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:_=null}=e,{ml:y=null}=e;return W(()=>{n(l),!r&&!s&&console.warn("GoABadge must have either then content or icon property set")}),i.$$set=k=>{"type"in k&&t(0,l=k.type),"testid"in k&&t(1,c=k.testid),"content"in k&&t(2,s=k.content),"icon"in k&&t(9,d=k.icon),"mt"in k&&t(3,f=k.mt),"mr"in k&&t(4,h=k.mr),"mb"in k&&t(5,_=k.mb),"ml"in k&&t(6,y=k.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(7,r=Q(d)),i.$$.dirty&1&&t(8,a={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[l])},[l,c,s,f,h,_,y,r,a,d]}class Ki extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Wi,qi,B,{type:0,testid:1,content:2,icon:9,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","testid","content","icon","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),g()}get icon(){return this.$$.ctx[9]}set icon(e){this.$$set({icon:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-badge",Ki);function Xi(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"class","block"),u(e,"style",r=`
|
|
9
|
-
${Z(i[3],i[4],i[5],i[6])};
|
|
10
|
-
--gap: var(--goa-space-${i[0]});
|
|
11
|
-
--alignment: ${i[2]};
|
|
12
|
-
--direction: ${i[1]};
|
|
13
|
-
`)},m(a,o){x(a,e,o),m(e,t)},p(a,[o]){o&127&&r!==(r=`
|
|
14
|
-
${Z(a[3],a[4],a[5],a[6])};
|
|
15
|
-
--gap: var(--goa-space-${a[0]});
|
|
16
|
-
--alignment: ${a[2]};
|
|
17
|
-
--direction: ${a[1]};
|
|
18
|
-
`)&&u(e,"style",r)},i:p,o:p,d(a){a&&L(e)}}}function Ji(i,e,t){let{gap:r="m"}=e,{direction:a="row"}=e,{alignment:o="start"}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:c=null}=e,{ml:s=null}=e;return i.$$set=d=>{"gap"in d&&t(0,r=d.gap),"direction"in d&&t(1,a=d.direction),"alignment"in d&&t(2,o=d.alignment),"mt"in d&&t(3,n=d.mt),"mr"in d&&t(4,l=d.mr),"mb"in d&&t(5,c=d.mb),"ml"in d&&t(6,s=d.ml)},[r,a,o,n,l,c,s]}class $i extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ji,Xi,B,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),g()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-block",$i);function er(i){let e,t,r,a,o=i[3]&&Ct(i),n=i[4]&&Et(i);return{c(){o&&o.c(),e=H(),t=b("span"),t.innerHTML="<slot></slot>",r=H(),n&&n.c(),a=we(),u(t,"class","text")},m(l,c){o&&o.m(l,c),x(l,e,c),x(l,t,c),x(l,r,c),n&&n.m(l,c),x(l,a,c)},p(l,c){l[3]?o?o.p(l,c):(o=Ct(l),o.c(),o.m(e.parentNode,e)):o&&(o.d(1),o=null),l[4]?n?n.p(l,c):(n=Et(l),n.c(),n.m(a.parentNode,a)):n&&(n.d(1),n=null)},d(l){o&&o.d(l),l&&L(e),l&&L(t),l&&L(r),n&&n.d(l),l&&L(a)}}}function tr(i){let e,t,r;return{c(){e=b("span"),e.innerHTML="<slot></slot>",t=H(),r=b("goa-icon"),u(e,"class","text"),z(r,"id","trailing-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(a,o){x(a,e,o),x(a,t,o),x(a,r,o)},p,d(a){a&&L(e),a&&L(t),a&&L(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[11])},m(t,r){x(t,e,r)},p(t,r){r&8&&z(e,"type",t[3]),r&2048&&z(e,"inverted",t[11])},d(t){t&&L(e)}}}function Et(i){let e;return{c(){e=b("goa-icon"),z(e,"id","trailing-icon"),z(e,"type",i[4]),z(e,"inverted",i[11])},m(t,r){x(t,e,r)},p(t,r){r&16&&z(e,"type",t[4]),r&2048&&z(e,"inverted",t[11])},d(t){t&&L(e)}}}function ir(i){let e,t,r,a,o;function n(s,d){return s[0]==="start"?tr:er}let l=n(i),c=l(i);return{c(){e=b("button"),c.c(),this.c=p,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",r=Z(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),O(e,"leading",i[3]),O(e,"trailing",i[4]||i[0]==="start")},m(s,d){x(s,e,d),c.m(e,null),a||(o=[F(e,"click",i[12]),F(e,"click",i[12])],a=!0)},p(s,[d]){l===(l=n(s))&&c?c.p(s,d):(c.d(1),c=l(s),c&&(c.c(),c.m(e,null))),d&7&&t!==(t=""+(s[0]+" "+s[1]+" "+s[2]))&&u(e,"class",t),d&960&&r!==(r=Z(s[6],s[7],s[8],s[9]))&&u(e,"style",r),d&1024&&(e.disabled=s[10]),d&32&&u(e,"data-testid",s[5]),d&15&&O(e,"leading",s[3]),d&23&&O(e,"trailing",s[4]||s[0]==="start")},i:p,o:p,d(s){s&&L(e),c.d(),a=!1,oe(o)}}}function rr(i,e,t){let r,a;const[o,n]=X("Button type",["primary","submit","secondary","tertiary","start"],!0),[l,c]=X("Button size",["normal","compact"],!0),[s,d]=X("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:_="normal"}=e,{disabled:y="false"}=e,{leadingicon:k=null}=e,{trailingicon:w=null}=e,{testid:v=""}=e,{mt:C=null}=e,{mr:N=null}=e,{mb:I=null}=e,{ml:M=null}=e;function A(E){r||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return W(()=>{n(f),c(h),d(_)}),i.$$set=E=>{"type"in E&&t(0,f=E.type),"size"in E&&t(1,h=E.size),"variant"in E&&t(2,_=E.variant),"disabled"in E&&t(13,y=E.disabled),"leadingicon"in E&&t(3,k=E.leadingicon),"trailingicon"in E&&t(4,w=E.trailingicon),"testid"in E&&t(5,v=E.testid),"mt"in E&&t(6,C=E.mt),"mr"in E&&t(7,N=E.mr),"mb"in E&&t(8,I=E.mb),"ml"in E&&t(9,M=E.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,r=Q(y)),i.$$.dirty&1&&t(11,a=f==="primary"||f==="start")},[f,h,_,k,w,v,C,N,I,M,r,a,A,y]}class ar extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
19
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},rr,ir,B,{type:0,size:1,variant:2,disabled:13,leadingicon:3,trailingicon:4,testid:5,mt:6,mr:7,mb:8,ml:9},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),g()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button",ar);function nr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"data-testid",i[1]),u(e,"style",r=""+(Z(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(a,o){x(a,e,o),m(e,t)},p(a,[o]){o&2&&u(e,"data-testid",a[1]),o&125&&r!==(r=""+(Z(a[2],a[3],a[4],a[5])+"; --alignment: "+a[6]+"; --gap-size: "+(a[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",r)},i:p,o:p,d(a){a&&L(e)}}}function or(i,e,t){let r,{alignment:a="start"}=e,{gap:o="relaxed"}=e,{testid:n=""}=e,{mt:l=null}=e,{mr:c=null}=e,{mb:s=null}=e,{ml:d=null}=e;const[f,h]=X("alignment",["start","end","center"]),[_,y]=X("gap",["relaxed","compact"]);return W(()=>{h(a),y(o)}),i.$$set=k=>{"alignment"in k&&t(7,a=k.alignment),"gap"in k&&t(0,o=k.gap),"testid"in k&&t(1,n=k.testid),"mt"in k&&t(2,l=k.mt),"mr"in k&&t(3,c=k.mr),"mb"in k&&t(4,s=k.mb),"ml"in k&&t(5,d=k.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,r={start:"flex-start",end:"flex-end",center:"center"}[a])},[o,n,l,c,s,d,r,a]}class lr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},or,nr,B,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),g()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-button-group",lr);function At(i){let e,t;return{c(){e=b("h3"),t=V(i[5])},m(r,a){x(r,e,a),m(e,t)},p(r,a){a&32&&q(t,r[5])},d(r){r&&L(e)}}}function sr(i){let e,t,r,a,o,n,l,c,s,d,f=i[5]&&At(i);return{c(){e=b("div"),t=b("span"),r=b("goa-icon"),n=H(),l=b("span"),f&&f.c(),c=H(),s=b("slot"),this.c=p,z(r,"type",i[7]),z(r,"inverted",a=i[4]==="important"?"false":"true"),u(t,"class",o="icon "+i[4]),u(l,"class","content"),u(e,"style",d=Z(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6])},m(h,_){x(h,e,_),m(e,t),m(t,r),m(e,n),m(e,l),f&&f.m(l,null),m(l,c),m(l,s)},p(h,[_]){_&128&&z(r,"type",h[7]),_&16&&a!==(a=h[4]==="important"?"false":"true")&&z(r,"inverted",a),_&16&&o!==(o="icon "+h[4])&&u(t,"class",o),h[5]?f?f.p(h,_):(f=At(h),f.c(),f.m(l,c)):f&&(f.d(1),f=null),_&15&&d!==(d=Z(h[0],h[1],h[2],h[3]))&&u(e,"style",d),_&64&&u(e,"data-testid",h[6])},i:p,o:p,d(h){h&&L(e),f&&f.d()}}}function cr(i,e,t){let r;const[a,o]=X("Callout type",["emergency","important","information","event","success"],!0);let{mt:n=null}=e,{mr:l=null}=e,{mb:c="l"}=e,{ml:s=null}=e,{type:d}=e,{heading:f=""}=e,{testid:h=""}=e;return W(()=>{o(d)}),i.$$set=_=>{"mt"in _&&t(0,n=_.mt),"mr"in _&&t(1,l=_.mr),"mb"in _&&t(2,c=_.mb),"ml"in _&&t(3,s=_.ml),"type"in _&&t(4,d=_.type),"heading"in _&&t(5,f=_.heading),"testid"in _&&t(6,h=_.testid)},i.$$.update=()=>{i.$$.dirty&16&&t(7,r=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[n,l,c,s,d,f,h,r]}class dr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},cr,sr,B,{mt:0,mr:1,mb:2,ml:3,type:4,heading:5,testid:6},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),g()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-callout",dr);function ur(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){x(t,e,r)},p,i:p,o:p,d(t){t&&L(e)}}}class fr extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,ur,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-actions",fr);function gr(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",r="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+Z(i[3],i[4],i[5],i[6])+" "+(i[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${i[0]});`)+"")},m(a,o){x(a,e,o),m(e,t)},p(a,[o]){o&128&&u(e,"data-testid",a[7]),o&127&&r!==(r="--width: "+a[1]+"; --height: "+(a[2]==="auto"?"auto":"100%")+"; "+Z(a[3],a[4],a[5],a[6])+" "+(a[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${a[0]});`)+"")&&u(e,"style",r)},i:p,o:p,d(a){a&&L(e)}}}function hr(i,e,t){let{elevation:r=0}=e,{width:a="100%"}=e,{height:o="auto"}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:c=null}=e,{ml:s=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,r=f.elevation),"width"in f&&t(1,a=f.width),"height"in f&&t(2,o=f.height),"mt"in f&&t(3,n=f.mt),"mr"in f&&t(4,l=f.mr),"mb"in f&&t(5,c=f.mb),"ml"in f&&t(6,s=f.ml),"testid"in f&&t(7,d=f.testid)},[r,a,o,n,l,c,s,d]}class mr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},hr,gr,B,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),g()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),g()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-card",mr);function br(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,u(e,"class","card-content")},m(t,r){x(t,e,r)},p,i:p,o:p,d(t){t&&L(e)}}}class vr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,br,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-content",vr);function yr(i){let e;return{c(){e=b("div"),e.innerHTML="<slot></slot>",this.c=p,u(e,"class","card-group")},m(t,r){x(t,e,r)},p,i:p,o:p,d(t){t&&L(e)}}}class wr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,yr,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-card-group",wr);function _r(i){let e;return{c(){e=b("div"),this.c=p,ie(e,"background-image","url("+i[0]+")"),ie(e,"height",i[1]),ie(e,"background-size","cover"),ie(e,"background-position","center")},m(t,r){x(t,e,r)},p(t,[r]){r&1&&ie(e,"background-image","url("+t[0]+")"),r&2&&ie(e,"height",t[1])},i:p,o:p,d(t){t&&L(e)}}}function kr(i,e,t){let{src:r}=e,{height:a="100%"}=e;return i.$$set=o=>{"src"in o&&t(0,r=o.src),"height"in o&&t(1,a=o.height)},[r,a]}class pr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},kr,_r,B,{src:0,height:1},null),e&&(e.target&&x(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",pr);function xr(i){let e,t;return{c(){e=ye("svg"),t=ye("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(r,a){x(r,e,a),m(e,t)},d(r){r&&L(e)}}}function zr(i){let e,t;return{c(){e=ye("svg"),t=ye("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(r,a){x(r,e,a),m(e,t)},d(r){r&&L(e)}}}function Mr(i){let e,t,r,a,o,n,l,c,s,d,f,h,_;function y(v,C){if(v[10])return zr;if(v[9])return xr}let k=y(i),w=k&&k(i);return{c(){e=b("label"),t=b("div"),r=b("input"),n=H(),w&&w.c(),l=H(),c=b("div"),s=b("slot"),d=V(i[1]),this.c=p,u(r,"id",i[0]),u(r,"name",i[0]),r.checked=i[9],r.disabled=i[12],u(r,"type","checkbox"),r.value=a=`${i[2]}`,u(r,"aria-label",o=i[4]||i[0]),u(t,"class","goa-checkbox-container"),O(t,"goa-checkbox--selected",i[9]),u(c,"class","goa-checkbox-text"),u(c,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=Z(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),O(e,"goa-checkbox--disabled",i[12]),O(e,"goa-checkbox--error",i[11])},m(v,C){x(v,e,C),m(e,t),m(t,r),m(t,n),w&&w.m(t,null),m(e,l),m(e,c),m(c,s),m(s,d),h||(_=F(r,"change",i[13]),h=!0)},p(v,[C]){C&1&&u(r,"id",v[0]),C&1&&u(r,"name",v[0]),C&512&&(r.checked=v[9]),C&4096&&(r.disabled=v[12]),C&4&&a!==(a=`${v[2]}`)&&(r.value=a),C&17&&o!==(o=v[4]||v[0])&&u(r,"aria-label",o),k!==(k=y(v))&&(w&&w.d(1),w=k&&k(v),w&&(w.c(),w.m(t,null))),C&512&&O(t,"goa-checkbox--selected",v[9]),C&2&&q(d,v[1]),C&8&&u(e,"data-testid",v[3]),C&1&&u(e,"for",v[0]),C&480&&f!==(f=Z(v[5],v[6],v[7],v[8]))&&u(e,"style",f),C&4096&&O(e,"goa-checkbox--disabled",v[12]),C&2048&&O(e,"goa-checkbox--error",v[11])},i:p,o:p,d(v){v&&L(e),w&&w.d(),h=!1,_()}}}function Cr(i,e,t){let r,a,o,n,{name:l}=e,{checked:c="false"}=e,{text:s=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:_=""}=e,{arialabel:y=""}=e,{mt:k=null}=e,{mr:w=null}=e,{mb:v=null}=e,{ml:C=null}=e,N;W(()=>{N=d});function I(M){const A=!o,E=A?`${N||"checked"}`:"";t(14,c=Si(A)),M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:A,value:E}}))}return i.$$set=M=>{"name"in M&&t(0,l=M.name),"checked"in M&&t(14,c=M.checked),"text"in M&&t(1,s=M.text),"value"in M&&t(2,d=M.value),"disabled"in M&&t(15,f=M.disabled),"error"in M&&t(16,h=M.error),"testid"in M&&t(3,_=M.testid),"arialabel"in M&&t(4,y=M.arialabel),"mt"in M&&t(5,k=M.mt),"mr"in M&&t(6,w=M.mr),"mb"in M&&t(7,v=M.mb),"ml"in M&&t(8,C=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,r=Q(f)),i.$$.dirty&65536&&t(11,a=Q(h)),i.$$.dirty&16384&&t(9,o=Q(c))},t(10,n=!1),[l,s,d,_,y,k,w,v,C,o,n,a,r,I,c,f,h]}class Er extends P{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);border:none}.goa-checkbox-container:focus-within,.goa-checkbox-container:focus,.goa-checkbox-container:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border:1px solid var(--goa-color-greyscale-700);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400);box-shadow:none}.goa-checkbox--disabled,input[type=checkbox][disabled]:hover{cursor:default}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>',Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Cr,Mr,B,{name:0,checked:14,text:1,value:2,disabled:15,error:16,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),g()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),g()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),g()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-checkbox",Er);function Lt(i){let e;return{c(){e=b("goa-icon"),z(e,"class","leading-icon"),z(e,"size","medium"),z(e,"type",i[4])},m(t,r){x(t,e,r)},p(t,r){r&16&&z(e,"type",t[4])},d(t){t&&L(e)}}}function Tt(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[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),z(e,"opacity",r=i[10]?i[9]?1:.5:1)},m(a,o){x(a,e,o)},p(a,o){o&1536&&t!==(t=a[10]?"var(--goa-color-emergency-default)":a[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&z(e,"fillcolor",t),o&1536&&r!==(r=a[10]?a[9]?1:.5:1)&&z(e,"opacity",r)},d(a){a&&L(e)}}}function Ar(i){let e,t,r,a,o,n,l,c,s=i[4]&&Lt(i),d=i[11]&&Tt(i);return{c(){e=b("div"),s&&s.c(),t=H(),r=b("div"),a=V(i[5]),o=H(),d&&d.c(),this.c=p,u(r,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",n=Z(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),O(e,"deletable",i[11]),O(e,"error",i[10]),O(e,"variant",i[6])},m(f,h){x(f,e,h),s&&s.m(e,null),m(e,t),m(e,r),m(r,a),m(e,o),d&&d.m(e,null),i[15](e),l||(c=[F(e,"click",i[16]),F(e,"mouseover",i[17]),F(e,"mouseout",i[18]),F(e,"focus",i[19]),F(e,"blur",i[20])],l=!0)},p(f,[h]){f[4]?s?s.p(f,h):(s=Lt(f),s.c(),s.m(e,t)):s&&(s.d(1),s=null),h&32&&q(a,f[5]),f[11]?d?d.p(f,h):(d=Tt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&n!==(n=Z(f[0],f[1],f[2],f[3]))&&u(e,"style",n),h&2048&&O(e,"deletable",f[11]),h&1024&&O(e,"error",f[10]),h&64&&O(e,"variant",f[6])},i:p,o:p,d(f){f&&L(e),s&&s.d(),d&&d.d(),i[15](null),l=!1,oe(c)}}}function Lr(i,e,t){let{mt:r=null}=e,{mr:a=null}=e,{mb:o=null}=e,{ml:n=null}=e,{leadingicon:l=null}=e,{error:c="false"}=e,{deletable:s="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,_,y=!1,k,w;function v(D){_.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),D.stopPropagation()}function C(D){$[D?"unshift":"push"](()=>{_=D,t(8,_)})}const N=D=>w&&v(D),I=()=>t(9,y=!0),M=()=>t(9,y=!1),A=()=>t(9,y=!1),E=()=>t(9,y=!1);return i.$$set=D=>{"mt"in D&&t(0,r=D.mt),"mr"in D&&t(1,a=D.mr),"mb"in D&&t(2,o=D.mb),"ml"in D&&t(3,n=D.ml),"leadingicon"in D&&t(4,l=D.leadingicon),"error"in D&&t(13,c=D.error),"deletable"in D&&t(14,s=D.deletable),"content"in D&&t(5,d=D.content),"variant"in D&&t(6,f=D.variant),"testid"in D&&t(7,h=D.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,k=Q(c)),i.$$.dirty&16384&&t(11,w=Q(s))},[r,a,o,n,l,d,f,h,_,y,k,w,v,c,s,C,N,I,M,A,E]}class Tr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Lr,Ar,B,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),g()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),g()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),g()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-chip",Tr);function Ir(i){const e=i-1;return e*e*e+1}function Nr(i){return Math.pow(i-1,3)*(1-i)+1}function Ee(i,{delay:e=0,duration:t=400,easing:r=Ne}={}){const a=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:r,css:o=>`opacity: ${o*a}`}}function It(i,{delay:e=0,duration:t=400,easing:r=Ir,x:a=0,y:o=0,opacity:n=0}={}){const l=getComputedStyle(i),c=+l.opacity,s=l.transform==="none"?"":l.transform,d=c*(1-n);return{delay:e,duration:t,easing:r,css:(f,h)=>`
|
|
20
|
-
transform: ${s} translate(${(1-f)*a}px, ${(1-f)*o}px);
|
|
21
|
-
opacity: ${c-d*h}`}}function Nt(i,e){let t=!1;function r(){if(!a())return;const l=n();t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=l+"px"}function a(){return document.body.style.overflow!=="hidden"}function o(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function n(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const l=document.createElement("div");l.style.visibility="hidden",l.style.overflow="scroll",document.body.appendChild(l);const c=document.createElement("div");l.appendChild(c);const s=l.offsetWidth-c.offsetWidth;return l.parentNode.removeChild(l),s}return e.enable&&r(),{update(){e.enable||o()},destroy(){o()}}}function Dt(i){let e,t,r,a;const o=[Hr,Dr],n=[];function l(c,s){return c[3]?0:c[4]?1:-1}return~(e=l(i))&&(t=n[e]=o[e](i)),{c(){t&&t.c(),r=we()},m(c,s){~e&&n[e].m(c,s),x(c,r,s),a=!0},p(c,s){let d=e;e=l(c),e===d?~e&&n[e].p(c,s):(t&&(Me(),ee(n[d],1,1,()=>{n[d]=null}),Ce()),~e?(t=n[e],t?t.p(c,s):(t=n[e]=o[e](c),t.c()),J(t,1),t.m(r.parentNode,r)):t=null)},i(c){a||(J(t),a=!0)},o(c){ee(t),a=!1},d(c){~e&&n[e].d(c),c&&L(r)}}}function Dr(i){let e,t,r,a,o=i[0]&&Ht(i);return{c(){e=b("div"),t=b("goa-spinner"),r=H(),o&&o.c(),z(t,"size",i[2]),z(t,"progress",i[1]),u(e,"class",a="spinner-"+i[2]),O(e,"inline",i[4])},m(n,l){x(n,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(n,l){l&4&&z(t,"size",n[2]),l&2&&z(t,"progress",n[1]),n[0]?o?o.p(n,l):(o=Ht(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),l&4&&a!==(a="spinner-"+n[2])&&u(e,"class",a),l&20&&O(e,"inline",n[4])},i:p,o:p,d(n){n&&L(e),o&&o.d()}}}function Hr(i){let e,t,r,a,o,n,l,c=i[0]&&jt(i);return{c(){e=b("div"),t=b("goa-spinner"),r=H(),c&&c.c(),z(t,"size",i[2]),z(t,"progress",i[1]),O(e,"fullscreen",i[3])},m(s,d){x(s,e,d),m(e,t),m(e,r),c&&c.m(e,null),o=!0,n||(l=ft(Nt.call(null,e,{enable:!0})),n=!0)},p(s,d){(!o||d&4)&&z(t,"size",s[2]),(!o||d&2)&&z(t,"progress",s[1]),s[0]?c?c.p(s,d):(c=jt(s),c.c(),c.m(e,null)):c&&(c.d(1),c=null),(!o||d&8)&&O(e,"fullscreen",s[3])},i(s){o||(de(()=>{a||(a=Xe(e,Ee,{duration:300},!0)),a.run(1)}),o=!0)},o(s){a||(a=Xe(e,Ee,{duration:300},!1)),a.run(0),o=!1},d(s){s&&L(e),c&&c.d(),s&&a&&a.end(),n=!1,l()}}}function Ht(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"class","message")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a&1&&q(t,r[0])},d(r){r&&L(e)}}}function jt(i){let e,t;return{c(){e=b("div"),t=V(i[0]),u(e,"class","message")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a&1&&q(t,r[0])},d(r){r&&L(e)}}}function jr(i){let e,t,r=i[5]&&Dt(i);return{c(){r&&r.c(),e=we(),this.c=p},m(a,o){r&&r.m(a,o),x(a,e,o),t=!0},p(a,[o]){a[5]?r?(r.p(a,o),o&32&&J(r,1)):(r=Dt(a),r.c(),J(r,1),r.m(e.parentNode,e)):r&&(Me(),ee(r,1,1,()=>{r=null}),Ce())},i(a){t||(J(r),t=!0)},o(a){ee(r),t=!1},d(a){r&&r.d(a),a&&L(e)}}}function Rr(i,e,t){let r;const[a,o]=X("Circular progress variant",["fullscreen","inline"]),[n,l]=X("Button size",["small","large"]);let{variant:c="inline"}=e,{size:s="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,_,y,k;return W(async()=>{o(c),l(s),t(2,_=s==="small"?"large":"xlarge"),t(3,y=c==="fullscreen"),t(4,k=c==="inline")}),i.$$set=w=>{"variant"in w&&t(6,c=w.variant),"size"in w&&t(7,s=w.size),"message"in w&&t(0,d=w.message),"progress"in w&&t(1,f=w.progress),"visible"in w&&t(8,h=w.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,r=Q(h))},[d,f,_,y,k,r,c,s,h]}class Sr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Rr,jr,B,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),g()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),g()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),g()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),g()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),g()}}customElements.define("goa-circular-progress",Sr);function Or(i){let e,t,r,a,o,n,l,c,s,d;return{c(){e=b("div"),t=b("header"),r=b("div"),r.innerHTML='<slot name="title"></slot>',a=H(),o=b("div"),o.innerHTML='<slot name="actions"></slot>',l=H(),c=b("div"),c.innerHTML="<slot></slot>",this.c=p,u(r,"class","title"),u(o,"class","actions"),u(t,"class",n="heading--"+i[1]),u(c,"class","content"),u(e,"data-testid",i[3]),u(e,"style",s=Z(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
22
|
-
goa-container
|
|
23
|
-
goa-container--${i[0]}
|
|
24
|
-
padding--${i[2]}
|
|
25
|
-
accent--${i[1]}
|
|
26
|
-
`)},m(f,h){x(f,e,h),m(e,t),m(t,r),m(t,a),m(t,o),m(e,l),m(e,c)},p(f,[h]){h&2&&n!==(n="heading--"+f[1])&&u(t,"class",n),h&8&&u(e,"data-testid",f[3]),h&240&&s!==(s=Z(f[4],f[5],f[6],f[7]))&&u(e,"style",s),h&7&&d!==(d=`
|
|
27
|
-
goa-container
|
|
28
|
-
goa-container--${f[0]}
|
|
29
|
-
padding--${f[2]}
|
|
30
|
-
accent--${f[1]}
|
|
31
|
-
`)&&u(e,"class",d)},i:p,o:p,d(f){f&&L(e)}}}function Br(i,e,t){const[r,a]=X("Container type",["interactive","info","error","success","important","non-interactive"]),[o,n]=X("Container accent",["thick","thin","filled"]),[l,c]=X("Container padding",["relaxed","compact"]);let{type:s="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:_=null}=e,{mr:y=null}=e,{mb:k="m"}=e,{ml:w=null}=e;return W(()=>{a(s),n(d),c(f)}),i.$$set=v=>{"type"in v&&t(0,s=v.type),"accent"in v&&t(1,d=v.accent),"padding"in v&&t(2,f=v.padding),"testid"in v&&t(3,h=v.testid),"mt"in v&&t(4,_=v.mt),"mr"in v&&t(5,y=v.mr),"mb"in v&&t(6,k=v.mb),"ml"in v&&t(7,w=v.ml)},[s,d,f,h,_,y,k,w]}class Pr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--goa-font-size-4);border-width:1px;border-style:solid;border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.content{border-bottom:1px solid var(--goa-color-greyscale-200);border-left:1px solid var(--goa-color-greyscale-200);border-right:1px solid var(--goa-color-greyscale-200);border-bottom-left-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{border-top:1px solid var(--goa-color-greyscale-200);border-top-left-radius:var(--goa-border-radius-m);border-top-right-radius:var(--goa-border-radius-m)}.heading--thin .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Br,Or,B,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),g()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-container",Pr);function Gr(i){let e,t,r,a,o,n,l,c,s,d;return{c(){e=b("details"),t=b("summary"),r=b("goa-icon"),o=H(),n=b("span"),l=V(i[0]),c=H(),s=b("div"),s.innerHTML="<slot></slot>",this.c=p,z(r,"mt","1"),z(r,"mr","2"),z(r,"type","chevron-forward"),z(r,"fillcolor",a=i[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(s,"class","content"),u(e,"style",d=Z(i[1],i[2],i[3],i[4]))},m(f,h){x(f,e,h),m(e,t),m(t,r),m(t,o),m(t,n),m(n,l),i[7](t),m(e,c),m(e,s)},p(f,[h]){h&32&&a!==(a=f[5]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&z(r,"fillcolor",a),h&1&&q(l,f[0]),h&30&&d!==(d=Z(f[1],f[2],f[3],f[4]))&&u(e,"style",d)},i:p,o:p,d(f){f&&L(e),i[7](null)}}}function Yr(i,e,t){let{heading:r}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:n=null}=e,{ml:l=null}=e,c=!1,s;W(()=>{$e("Details",{heading:r}),s.addEventListener("mouseover",()=>{t(5,c=!0)}),s.addEventListener("mouseout",()=>{t(5,c=!1)})});function d(f){$[f?"unshift":"push"](()=>{s=f,t(6,s)})}return i.$$set=f=>{"heading"in f&&t(0,r=f.heading),"mt"in f&&t(1,a=f.mt),"mr"in f&&t(2,o=f.mr),"mb"in f&&t(3,n=f.mb),"ml"in f&&t(4,l=f.ml)},[r,a,o,n,l,c,s,d]}class Zr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{font-family:var(--goa-font-family-sans)}details{max-width:75ch;position:relative}details ::slotted(*){font:var(--goa-typography-body-m)}summary{padding:0.5rem;margin-bottom:0.5rem;cursor:pointer;list-style:none;display:flex;align-items:flex-start}goa-icon{position:absolute}details[open] goa-icon{transform:translateX(-1px) rotate(90deg);top:0.75rem}details summary::-webkit-details-marker{display:none}summary{border-radius:var(--goa-border-radius-m)}summary:focus,summary:active{outline:3px solid var(--goa-color-interactive-focus);border-radius:var(--goa-border-radius-m);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}summary:hover{background-color:var(--goa-color-greyscale-100)}summary span{margin-left:2rem;text-decoration:underline;color:var(--goa-color-interactive-default);padding-bottom:var(--font-valign-fix);line-height:var(--goa-line-height-3)}summary:hover span{color:var(--goa-color-interactive-hover)}.content{border-left:4px solid var(--goa-color-greyscale-200);padding:1rem;margin-left:1.1rem;margin-bottom:var(--goa-space-s)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Yr,Gr,B,{heading:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","mt","mr","mb","ml"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-details",Zr);function Vr(i){let e,t;return{c(){e=b("hr"),this.c=p,u(e,"data-testid",i[0]),u(e,"style",t=Z(i[1],i[2],i[3],i[4]))},m(r,a){x(r,e,a)},p(r,[a]){a&1&&u(e,"data-testid",r[0]),a&30&&t!==(t=Z(r[1],r[2],r[3],r[4]))&&u(e,"style",t)},i:p,o:p,d(r){r&&L(e)}}}function Qr(i,e,t){let{testid:r=""}=e,{mt:a=null}=e,{mr:o=null}=e,{mb:n=null}=e,{ml:l=null}=e;return i.$$set=c=>{"testid"in c&&t(0,r=c.testid),"mt"in c&&t(1,a=c.mt),"mr"in c&&t(2,o=c.mr),"mb"in c&&t(3,n=c.mb),"ml"in c&&t(4,l=c.ml)},[r,a,o,n,l]}class Fr extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Qr,Vr,B,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-divider",Fr);function Rt(i,e,t){const r=i.slice();return r[49]=e[t],r[53]=t,r}function St(i,e,t){const r=i.slice();return r[49]=e[t],r}function Ur(i){let e,t,r,a,o,n,l,c,s=[],d=new Map,f,h,_,y=i[15]&&Ot(i),k=i[13];const w=v=>v[53];for(let v=0;v<k.length;v+=1){let C=Rt(i,k,v),N=w(C);d.set(N,s[v]=Bt(N,C))}return{c(){y&&y.c(),e=H(),t=b("goa-input"),o=H(),n=b("slot"),l=H(),c=b("ul");for(let v=0;v<s.length;v+=1)s[v].c();z(t,"error",i[7]),z(t,"disabled",i[6]),z(t,"leadingicon",i[2]),z(t,"placeholder",i[4]),z(t,"aria-controls","menu"),z(t,"aria-expanded",i[15]),z(t,"arialabel",r=i[1]||i[0]),z(t,"data-testid",a=`${i[0]}-dropdown-input`),z(t,"readonly",""),z(t,"role","combobox"),z(t,"trailingicon","chevron-down"),z(t,"type","text"),z(t,"value",i[14]),z(t,"width","100%"),z(t,"name",i[0]),u(c,"id","menu"),u(c,"role","listbox"),u(c,"aria-activedescendant",i[14]),u(c,"data-testid","dropdown-menu"),u(c,"tabindex","0"),u(c,"class","dropdown-list"),u(c,"style",f=`overflow-y: auto; max-height: ${i[3]}`),O(c,"dropdown-active",i[15])},m(v,C){y&&y.m(v,C),x(v,e,C),x(v,t,C),x(v,o,C),x(v,n,C),x(v,l,C),x(v,c,C);for(let N=0;N<s.length;N+=1)s[N].m(c,null);i[33](c),h||(_=F(t,"click",i[24]),h=!0)},p(v,C){v[15]?y?y.p(v,C):(y=Ot(v),y.c(),y.m(e.parentNode,e)):y&&(y.d(1),y=null),C[0]&128&&z(t,"error",v[7]),C[0]&64&&z(t,"disabled",v[6]),C[0]&4&&z(t,"leadingicon",v[2]),C[0]&16&&z(t,"placeholder",v[4]),C[0]&32768&&z(t,"aria-expanded",v[15]),C[0]&3&&r!==(r=v[1]||v[0])&&z(t,"arialabel",r),C[0]&1&&a!==(a=`${v[0]}-dropdown-input`)&&z(t,"data-testid",a),C[0]&16384&&z(t,"value",v[14]),C[0]&1&&z(t,"name",v[0]),C[0]&67186688&&(k=v[13],s=xt(s,C,w,1,v,k,d,c,pt,Bt,null,Rt)),C[0]&16384&&u(c,"aria-activedescendant",v[14]),C[0]&8&&f!==(f=`overflow-y: auto; max-height: ${v[3]}`)&&u(c,"style",f),C[0]&32768&&O(c,"dropdown-active",v[15])},d(v){y&&y.d(v),v&&L(e),v&&L(t),v&&L(o),v&&L(n),v&&L(l),v&&L(c);for(let C=0;C<s.length;C+=1)s[C].d();i[33](null),h=!1,_()}}}function qr(i){let e,t,r,a,o,n=i[13],l=[];for(let c=0;c<n.length;c+=1)l[c]=Pt(St(i,n,c));return{c(){e=b("select"),t=b("slot");for(let c=0;c<l.length;c+=1)l[c].c();e.disabled=i[21],u(e,"aria-label",r=i[1]||i[0]),O(e,"error",i[23])},m(c,s){x(c,e,s),m(e,t);for(let d=0;d<l.length;d+=1)l[d].m(e,null);i[31](e),a||(o=F(e,"change",i[27]),a=!0)},p(c,s){if(s[0]&8192){n=c[13];let d;for(d=0;d<n.length;d+=1){const f=St(c,n,d);l[d]?l[d].p(f,s):(l[d]=Pt(f),l[d].c(),l[d].m(e,null))}for(;d<l.length;d+=1)l[d].d(1);l.length=n.length}s[0]&2097152&&(e.disabled=c[21]),s[0]&3&&r!==(r=c[1]||c[0])&&u(e,"aria-label",r),s[0]&8388608&&O(e,"error",c[23])},d(c){c&&L(e),Ze(l,c),i[31](null),a=!1,o()}}}function Ot(i){let e,t,r,a;return{c(){e=b("div"),u(e,"data-testid",t=`${i[0]}-dropdown-background`),u(e,"class","dropdown-background")},m(o,n){x(o,e,n),r||(a=F(e,"click",i[25]),r=!0)},p(o,n){n[0]&1&&t!==(t=`${o[0]}-dropdown-background`)&&u(e,"data-testid",t)},d(o){o&&L(e),r=!1,a()}}}function Bt(i,e){let t,r=(e[49].label||e[49].value)+"",a,o,n,l,c,s,d,f,h,_,y;function k(){return e[32](e[49])}return{key:i,first:null,c(){t=b("li"),a=V(r),o=H(),u(t,"id",n=e[49].label),u(t,"role","option"),u(t,"aria-label",l=e[49].label||e[49].value),u(t,"aria-selected",c=e[12].includes(e[49].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",s=`dropdown-item-${e[49].value}`),u(t,"data-index",d=e[53]),u(t,"data-value",f=e[49].value),u(t,"style",h="display: block"),O(t,"dropdown-item--disabled",!1),O(t,"dropdown-item--tabbed",e[53]===e[16]),O(t,"dropdown-item--selected",e[12].includes(e[49].value)),this.first=t},m(w,v){x(w,t,v),m(t,a),m(t,o),_||(y=F(t,"click",k),_=!0)},p(w,v){e=w,v[0]&8192&&r!==(r=(e[49].label||e[49].value)+"")&&q(a,r),v[0]&8192&&n!==(n=e[49].label)&&u(t,"id",n),v[0]&8192&&l!==(l=e[49].label||e[49].value)&&u(t,"aria-label",l),v[0]&12288&&c!==(c=e[12].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",c),v[0]&8192&&s!==(s=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",s),v[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),v[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),v[0]&73728&&O(t,"dropdown-item--tabbed",e[53]===e[16]),v[0]&12288&&O(t,"dropdown-item--selected",e[12].includes(e[49].value))},d(w){w&&L(t),_=!1,y()}}}function Pt(i){let e,t=i[49].label+"",r,a,o,n,l;return{c(){e=b("option"),r=V(t),a=H(),e.selected=o=i[49].selected,e.__value=n=i[49].value,e.value=e.__value,u(e,"aria-label",l=i[49].label)},m(c,s){x(c,e,s),m(e,r),m(e,a)},p(c,s){s[0]&8192&&t!==(t=c[49].label+"")&&q(r,t),s[0]&8192&&o!==(o=c[49].selected)&&(e.selected=o),s[0]&8192&&n!==(n=c[49].value)&&(e.__value=n,e.value=e.__value),s[0]&8192&&l!==(l=c[49].label)&&u(e,"aria-label",l)},d(c){c&&L(e)}}}function Wr(i){let e,t,r;function a(l,c){return l[22]?qr:Ur}let o=a(i),n=o(i);return{c(){e=b("div"),n.c(),this.c=p,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",r=`
|
|
32
|
-
${Z(i[8],i[9],i[10],i[11])}
|
|
33
|
-
--width: ${i[5]||i[17]}
|
|
34
|
-
`),O(e,"dropdown-native",i[22])},m(l,c){x(l,e,c),n.m(e,null),i[34](e)},p(l,c){o===(o=a(l))&&n?n.p(l,c):(n.d(1),n=o(l),n&&(n.c(),n.m(e,null))),c[0]&1&&t!==(t=`${l[0]}-dropdown`)&&u(e,"data-testid",t),c[0]&134944&&r!==(r=`
|
|
35
|
-
${Z(l[8],l[9],l[10],l[11])}
|
|
36
|
-
--width: ${l[5]||l[17]}
|
|
37
|
-
`)&&u(e,"style",r),c[0]&4194304&&O(e,"dropdown-native",l[22])},i:p,o:p,d(l){l&&L(e),n.d(),i[34](null)}}}function Kr(i,e,t){let r,a,o,n,{name:l}=e,{arialabel:c=""}=e,{value:s=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:_=""}=e,{disabled:y="false"}=e,{error:k="false"}=e,{multiselect:w="false"}=e,{native:v="false"}=e,{mt:C=null}=e,{mr:N=null}=e,{mb:I=null}=e,{ml:M=null}=e,A=[],E=[],D="",T=!1,S=0,le,U,K,te;W(async()=>{await ge(),t(12,A=Oe()),t(13,E=Le()),n||(t(17,le=Se(E)),et(),Te());const j=U.querySelector("slot");j==null||j.addEventListener("slotchange",ae=>{t(14,D=""),t(12,A=Oe()),t(13,E=Le())})}),Di(()=>{tt()});function ne(){const j=U.querySelector("slot");return j?j.assignedElements():[...(n?te:U).children]}function Le(){return ne().filter(ae=>ae.tagName==="GOA-DROPDOWN-ITEM").map(ae=>{const se=ae,ce=ae.getAttribute("value")||se.value,Be=ae.getAttribute("label")||se.label||ce,pi=A.includes(ce);return pi&&(t(14,D=Be),t(12,A=[ce])),{selected:pi,value:ce,label:Be}})}function Se(j){let ae,se=0;return j.length===0&&h!==""?`${h.length+12}ch`:(j.forEach(ce=>{const Be=ce.label||ce.value||"";!ae&&se<Be.length&&(se=Be.length,ae=`${Math.max(20,se+12)}ch`)}),ae)}function et(){U.addEventListener("focus",wi,!0),U.addEventListener("blur",_i,!0)}function tt(){U.removeEventListener("focus",wi,!0),U.removeEventListener("blur",_i,!0)}function Oe(){let j;try{j=JSON.parse(s||"[]")}catch{j=[s]}return(typeof j=="object"?j:[j]).map(se=>`${se}`)}async function pe(){r||T||(t(15,T=!0),await ge(),K.addEventListener("blur",re),K.addEventListener("mouseover",ki))}function re(){K.removeEventListener("blur",re),K.removeEventListener("mouseover",ki),Te(),t(15,T=!1)}function Te(){t(16,S=E.findIndex(j=>A.includes(j.value)))}function ve(j,ae,se){if(r)return;t(14,D=ae);let ce;o?(A.push(j),ce={name:l,values:A}):(t(12,A=[j]),ce={name:l,value:j}),U.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:ce})),se&&re()}const it=j=>{switch(j.key){case" ":case"Enter":T?re():pe(),j.preventDefault();break;case"Escape":T&&re(),j.preventDefault();break;case"ArrowDown":if(j.altKey){T?re():pe();break}R(),j.preventDefault();break;case"ArrowUp":if(j.altKey){T?re():pe();break}Ie(),j.preventDefault();break}};function R(){S<E.length-1&&(t(16,S++,S),ve(E[S].value,E[S].label,!1))}function Ie(){S>0&&(t(16,S--,S),ve(E[S].value,E[S].label,!1))}function wi(){U.addEventListener("keydown",it)}function _i(){U.removeEventListener("keydown",it)}function ki(j){t(16,S=Number(j.target.dataset.index))}function Sn(j){const ae=j.currentTarget,se=E[ae.selectedIndex];ve(se.value,se.label)}function On(j){$[j?"unshift":"push"](()=>{te=j,t(20,te),t(13,E)})}const Bn=j=>ve(j.value,j.label,!0);function Pn(j){$[j?"unshift":"push"](()=>{K=j,t(19,K)})}function Gn(j){$[j?"unshift":"push"](()=>{U=j,t(18,U)})}return i.$$set=j=>{"name"in j&&t(0,l=j.name),"arialabel"in j&&t(1,c=j.arialabel),"value"in j&&t(28,s=j.value),"leadingicon"in j&&t(2,d=j.leadingicon),"maxheight"in j&&t(3,f=j.maxheight),"placeholder"in j&&t(4,h=j.placeholder),"width"in j&&t(5,_=j.width),"disabled"in j&&t(6,y=j.disabled),"error"in j&&t(7,k=j.error),"multiselect"in j&&t(29,w=j.multiselect),"native"in j&&t(30,v=j.native),"mt"in j&&t(8,C=j.mt),"mr"in j&&t(9,N=j.mr),"mb"in j&&t(10,I=j.mb),"ml"in j&&t(11,M=j.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(21,r=Q(y)),i.$$.dirty[0]&128&&t(23,a=Q(k)),i.$$.dirty[0]&536870912&&(o=Q(w)),i.$$.dirty[0]&1073741824&&t(22,n=Q(v))},[l,c,d,f,h,_,y,k,C,N,I,M,A,E,D,T,S,le,U,K,te,r,n,a,pe,re,ve,Sn,s,w,v,On,Bn,Pn,Gn]}class Xr extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--goa-color-greyscale-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--goa-color-greyscale-700)}.dropdown-item--selected{background:var(--goa-color-interactive-default);color:var(--goa-color-greyscale-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive-hover);color:var(--goa-color-greyscale-white)}.dropdown-native{border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-white);transition:box-shadow 0.1s ease-in}.dropdown-native:has(select:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive-error)}.dropdown-native:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}select{border:none;background-color:transparent;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);appearance:none;padding:calc(var(--goa-space-xs) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Kr,Wr,B,{name:0,arialabel:1,value:28,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:29,native:30,mt:8,mr:9,mb:10,ml:11},null,[-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),g()}get value(){return this.$$.ctx[28]}set value(e){this.$$set({value:e}),g()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get multiselect(){return this.$$.ctx[29]}set multiselect(e){this.$$set({multiselect:e}),g()}get native(){return this.$$.ctx[30]}set native(e){this.$$set({native:e}),g()}get mt(){return this.$$.ctx[8]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[9]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[10]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[11]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-dropdown",Xr);function Jr(i){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}class $r extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Jr,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",$r);function ea(i){let e;return{c(){e=b("div"),e.innerHTML=`<slot></slot>
|
|
38
|
-
|
|
39
|
-
<span tabindex="0"></span>`,this.c=p},m(t,r){x(t,e,r),i[4](e)},p,i:p,o:p,d(t){t&&L(e),i[4](null)}}}function ta(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 ia(i,e,t){let r,{active:a}=e,o=!1,n,l,c=!1;function s(){document.removeEventListener("focus",C,!0)}function d(){document.addEventListener("focus",C,!0)}function f(I){if(!I)return!1;for(const M of I)if(v(M)||f(M.childNodes)||h(M)||_(M))return!0;return!1}function h(I){if(!(I instanceof HTMLSlotElement))return!1;if(f(I.assignedNodes()))return!0}function _(I){var M;if(!(I instanceof HTMLElement))return!1;if(f((M=I.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function y(I){if(!I)return!1;for(let M=I.length-1;M>=0;M--){let A=I[M];if(v(A)||y(A.childNodes)||k(A)||w(A))return!0}return!1}function k(I){if(!(I instanceof HTMLSlotElement))return!1;if(y(I.assignedNodes()))return!0}function w(I){var M;if(!(I instanceof HTMLElement))return!1;if(y((M=I.shadowRoot)===null||M===void 0?void 0:M.childNodes))return!0}function v(I){if(!ta(I))return!1;try{o=!0,I&&I.focus()}finally{o=!1}return document.activeElement===I}function C(I){var M;if(o)return;const A=(M=l.firstChild)===null||M===void 0?void 0:M.assignedElements();if(!(A==null?void 0:A.length))return;const E=A[0];if(I.composedPath().includes(E)){n=I.target;return}f(E.childNodes),n==document.activeElement&&y(E.childNodes),n=document.activeElement}function N(I){$[I?"unshift":"push"](()=>{l=I,t(0,l)})}return i.$$set=I=>{"active"in I&&t(1,a=I.active)},i.$$.update=()=>{i.$$.dirty&2&&t(3,r=Q(a)),i.$$.dirty&12&&(r&&!c&&(d(),t(2,c=!0)),!r&&c&&(s(),t(2,c=!1)))},[l,a,c,r,N]}class ra extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>div{display:inline}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ia,ea,B,{active:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["active"]}get active(){return this.$$.ctx[1]}set active(e){this.$$set({active:e}),g()}}customElements.define("goa-focus-trap",ra);function Gt(i){let e;return{c(){e=b("goa-divider"),z(e,"spacing","small")},m(t,r){x(t,e,r)},d(t){t&&L(e)}}}function aa(i){let e,t,r,a,o,n,l,c,s,d,f,h,_,y=i[2]&&i[2].length>0&&Gt();return{c(){e=b("div"),t=b("div"),r=b("div"),r.innerHTML='<slot name="nav"></slot>',a=H(),y&&y.c(),o=H(),n=b("div"),l=b("div"),l.innerHTML='<slot name="meta"></slot>',c=H(),s=b("div"),d=b("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=H(),h=b("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=p,u(r,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(s,"class","abgov"),O(s,"with-meta-links",i[3]&&i[3].length>0),u(n,"class","meta-section"),O(n,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",_=`--max-content-width: ${i[0]||"100%"}`)},m(k,w){x(k,e,w),m(e,t),m(t,r),m(t,a),y&&y.m(t,null),m(t,o),m(t,n),m(n,l),m(n,c),m(n,s),m(s,d),m(s,f),m(s,h),i[5](e)},p(k,[w]){k[2]&&k[2].length>0?y||(y=Gt(),y.c(),y.m(t,o)):y&&(y.d(1),y=null),w&8&&O(s,"with-meta-links",k[3]&&k[3].length>0),w&8&&O(n,"with-meta-links",k[3]&&k[3].length>0),w&1&&_!==(_=`--max-content-width: ${k[0]||"100%"}`)&&u(e,"style",_)},i:p,o:p,d(k){k&&L(e),y&&y.d(),i[5](null)}}}function na(i,e,t){let{maxcontentwidth:r=""}=e,a,o,n;const l=new Date().getFullYear();W(async()=>{await ge();const s=a.querySelector("slot[name=nav]"),d=a.querySelector("slot[name=meta]");t(2,o=s.assignedElements()),t(3,n=d.assignedElements())});function c(s){$[s?"unshift":"push"](()=>{a=s,t(1,a)})}return i.$$set=s=>{"maxcontentwidth"in s&&t(0,r=s.maxcontentwidth)},[r,a,o,n,l,c]}class oa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},na,aa,B,{maxcontentwidth:0},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-app-footer",oa);function Yt(i,e,t){const r=i.slice();return r[3]=e[t],r}function Zt(i){let e,t,r=i[3].innerHTML+"",a,o;return{c(){e=b("li"),t=b("a"),a=V(r),u(t,"href",o=i[3].href)},m(n,l){x(n,e,l),m(e,t),m(t,a)},p(n,l){l&2&&r!==(r=n[3].innerHTML+"")&&q(a,r),l&2&&o!==(o=n[3].href)&&u(t,"href",o)},d(n){n&&L(e)}}}function la(i){let e,t,r,a,o=i[1],n=[];for(let l=0;l<o.length;l+=1)n[l]=Zt(Yt(i,o,l));return{c(){e=b("section"),t=b("div"),t.innerHTML="<slot></slot>",r=H(),a=b("ul");for(let l=0;l<n.length;l+=1)n[l].c();this.c=p,u(t,"class","hidden")},m(l,c){x(l,e,c),m(e,t),m(e,r),m(e,a);for(let s=0;s<n.length;s+=1)n[s].m(a,null);i[2](e)},p(l,[c]){if(c&2){o=l[1];let s;for(s=0;s<o.length;s+=1){const d=Yt(l,o,s);n[s]?n[s].p(d,c):(n[s]=Zt(d),n[s].c(),n[s].m(a,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=o.length}},i:p,o:p,d(l){l&&L(e),Ze(n,l),i[2](null)}}}function sa(i,e,t){let r,a=[];W(async()=>{if(await ge(),t(1,a=r.querySelector("slot").assignedElements()),!a.map(l=>l.hasAttribute("href")).reduce((l,c)=>l&&c,!0)){t(1,a=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function o(n){$[n?"unshift":"push"](()=>{r=n,t(0,r)})}return[r,a,o]}class ca extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},sa,la,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",ca);function Vt(i,e,t){const r=i.slice();return r[5]=e[t],r}function Qt(i){let e,t,r,a;return{c(){e=b("div"),t=V(i[0]),r=H(),a=b("goa-divider"),u(e,"class","title"),z(a,"spacing","small")},m(o,n){x(o,e,n),m(e,t),x(o,r,n),x(o,a,n)},p(o,n){n&1&&q(t,o[0])},d(o){o&&L(e),o&&L(r),o&&L(a)}}}function Ft(i){let e,t,r=i[5].innerHTML+"",a,o;return{c(){e=b("li"),t=b("a"),a=V(r),u(t,"href",o=i[5].href)},m(n,l){x(n,e,l),m(e,t),m(t,a)},p(n,l){l&8&&r!==(r=n[5].innerHTML+"")&&q(a,r),l&8&&o!==(o=n[5].href)&&u(t,"href",o)},d(n){n&&L(e)}}}function da(i){let e,t,r,a,o,n,l=i[0]&&Qt(i),c=i[3],s=[];for(let d=0;d<c.length;d+=1)s[d]=Ft(Vt(i,c,d));return{c(){e=b("section"),l&&l.c(),t=H(),r=b("div"),r.innerHTML="<slot></slot>",a=H(),o=b("ul");for(let d=0;d<s.length;d+=1)s[d].c();this.c=p,u(r,"class","hidden"),u(o,"class","links"),u(o,"style",n=`
|
|
40
|
-
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
41
|
-
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
42
|
-
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
43
|
-
--wide-column-count: ${i[1]};
|
|
44
|
-
`)},m(d,f){x(d,e,f),l&&l.m(e,null),m(e,t),m(e,r),m(e,a),m(e,o);for(let h=0;h<s.length;h+=1)s[h].m(o,null);i[4](e)},p(d,[f]){if(d[0]?l?l.p(d,f):(l=Qt(d),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&8){c=d[3];let h;for(h=0;h<c.length;h+=1){const _=Vt(d,c,h);s[h]?s[h].p(_,f):(s[h]=Ft(_),s[h].c(),s[h].m(o,null))}for(;h<s.length;h+=1)s[h].d(1);s.length=c.length}f&2&&n!==(n=`
|
|
45
|
-
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
46
|
-
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
47
|
-
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
48
|
-
--wide-column-count: ${d[1]};
|
|
49
|
-
`)&&u(o,"style",n)},i:p,o:p,d(d){d&&L(e),l&&l.d(),Ze(s,d),i[4](null)}}}function ua(i,e,t){let{heading:r=""}=e,{maxcolumncount:a=1}=e,o,n=[];W(async()=>{if(await ge(),t(3,n=o.querySelector("slot").assignedElements()),!n.map(s=>s.hasAttribute("href")).reduce((s,d)=>s&&d,!0)){t(3,n=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}zt(o,":host",{"flex-grow":a})});function l(c){$[c?"unshift":"push"](()=>{o=c,t(2,o)})}return i.$$set=c=>{"heading"in c&&t(0,r=c.heading),"maxcolumncount"in c&&t(1,a=c.maxcolumncount)},[r,a,o,n,l]}class fa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text-default)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ua,da,B,{heading:0,maxcolumncount:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),g()}}customElements.define("goa-app-footer-nav-section",fa);function Ut(i){let e,t,r,a=i[8]&&i[9].includes(i[8]),o=a&&qt(i);return{c(){e=b("div"),t=V(i[5]),r=H(),o&&o.c(),u(e,"class","label")},m(n,l){x(n,e,l),m(e,t),m(e,r),o&&o.m(e,null)},p(n,l){l&32&&q(t,n[5]),l&256&&(a=n[8]&&n[9].includes(n[8])),a?o?o.p(n,l):(o=qt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&L(e),o&&o.d()}}}function qt(i){let e,t,r,a;return{c(){e=b("em"),t=V("("),r=V(i[8]),a=V(")")},m(o,n){x(o,e,n),m(e,t),m(e,r),m(e,a)},p(o,n){n&256&&q(r,o[8])},d(o){o&&L(e)}}}function Wt(i){let e,t,r,a;return{c(){e=b("div"),t=b("goa-icon"),r=H(),a=V(i[7]),z(t,"type","warning"),z(t,"size","small"),z(t,"theme","filled"),ie(t,"pointer-events","none"),u(e,"class","error-msg")},m(o,n){x(o,e,n),m(e,t),m(e,r),m(e,a)},p(o,n){n&128&&q(a,o[7])},d(o){o&&L(e)}}}function Kt(i){let e,t;return{c(){e=b("div"),t=V(i[6]),u(e,"class","help-msg")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a&64&&q(t,r[6])},d(r){r&&L(e)}}}function ga(i){let e,t,r,a,o,n,l=i[5]&&Ut(i),c=i[7]&&Wt(i),s=i[6]&&Kt(i);return{c(){e=b("div"),l&&l.c(),t=H(),r=b("div"),r.innerHTML="<slot></slot>",a=H(),c&&c.c(),o=H(),s&&s.c(),this.c=p,u(r,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",n=Z(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){x(d,e,f),l&&l.m(e,null),m(e,t),m(e,r),m(e,a),c&&c.m(e,null),m(e,o),s&&s.m(e,null)},p(d,[f]){d[5]?l?l.p(d,f):(l=Ut(d),l.c(),l.m(e,t)):l&&(l.d(1),l=null),d[7]?c?c.p(d,f):(c=Wt(d),c.c(),c.m(e,o)):c&&(c.d(1),c=null),d[6]?s?s.p(d,f):(s=Kt(d),s.c(),s.m(e,null)):s&&(s.d(1),s=null),f&1&&u(e,"data-testid",d[0]),f&30&&n!==(n=Z(d[1],d[2],d[3],d[4]))&&u(e,"style",n)},i:p,o:p,d(d){d&&L(e),l&&l.d(),c&&c.d(),s&&s.d()}}}function ha(i,e,t){const[r,a]=X("Requirement type",["optional","required"],!1);let{testid:o=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:c=null}=e,{ml:s=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:_=""}=e;return W(()=>{a(_)}),i.$$set=y=>{"testid"in y&&t(0,o=y.testid),"mt"in y&&t(1,n=y.mt),"mr"in y&&t(2,l=y.mr),"mb"in y&&t(3,c=y.mb),"ml"in y&&t(4,s=y.ml),"label"in y&&t(5,d=y.label),"helptext"in y&&t(6,f=y.helptext),"error"in y&&t(7,h=y.error),"requirement"in y&&t(8,_=y.requirement)},[o,n,l,c,s,d,f,h,_,r]}class ma extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:0.5rem 0}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},ha,ga,B,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["testid","mt","mr","mb","ml","label","helptext","error","requirement"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),g()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),g()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),g()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),g()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),g()}}customElements.define("goa-form-item",ma);function ba(i){let e,t,r;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"class","goa-grid"),u(e,"style",r=`
|
|
50
|
-
${Z(i[2],i[3],i[4],i[5])}
|
|
51
|
-
--min-child-width: ${i[1]||0};
|
|
52
|
-
gap: var(--goa-space-${i[0]})
|
|
53
|
-
`)},m(a,o){x(a,e,o),m(e,t)},p(a,[o]){o&63&&r!==(r=`
|
|
54
|
-
${Z(a[2],a[3],a[4],a[5])}
|
|
55
|
-
--min-child-width: ${a[1]||0};
|
|
56
|
-
gap: var(--goa-space-${a[0]})
|
|
57
|
-
`)&&u(e,"style",r)},i:p,o:p,d(a){a&&L(e)}}}function va(i,e,t){let{gap:r="m"}=e,{minchildwidth:a=""}=e,{mt:o=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:c=null}=e;return W(()=>{$e("Grid",{minchildwidth:a})}),i.$$set=s=>{"gap"in s&&t(0,r=s.gap),"minchildwidth"in s&&t(1,a=s.minchildwidth),"mt"in s&&t(2,o=s.mt),"mr"in s&&t(3,n=s.mr),"mb"in s&&t(4,l=s.mb),"ml"in s&&t(5,c=s.ml)},[r,a,o,n,l,c]}class ya extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},va,ba,B,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),g()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-grid",ya);function wa(i){let e,t,r,a,o,n,l,c;return{c(){e=b("div"),t=b("goa-page-block"),r=b("h1"),a=V(i[0]),o=H(),n=b("div"),n.innerHTML="<slot></slot>",l=H(),c=b("slot"),this.c=p,u(n,"class","goa-hero-banner-content"),u(n,"role","note"),u(c,"name","actions"),z(t,"width","full"),u(e,"class","goa-hero"),u(e,"data-testid","background"),ie(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]+")"),ie(e,"background-size","cover"),ie(e,"background-position","center"),ie(e,"background-repeat","no-repeat"),ie(e,"min-height",i[2])},m(s,d){x(s,e,d),m(e,t),m(t,r),m(r,a),m(t,o),m(t,n),m(t,l),m(t,c)},p(s,[d]){d&1&&q(a,s[0]),d&2&&ie(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("+s[1]+")"),d&4&&ie(e,"min-height",s[2])},i:p,o:p,d(s){s&&L(e)}}}function _a(i,e,t){let{heading:r}=e,{backgroundurl:a}=e,{minheight:o="600px"}=e;return i.$$set=n=>{"heading"in n&&t(0,r=n.heading),"backgroundurl"in n&&t(1,a=n.backgroundurl),"minheight"in n&&t(2,o=n.minheight)},[r,a,o]}class ka extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand-default);color:var(--goa-color-greyscale-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--goa-color-greyscale-white);font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},_a,wa,B,{heading:0,backgroundurl:1,minheight:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","backgroundurl","minheight"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),g()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),g()}}customElements.define("goa-hero-banner",ka);function pa(i){let e,t,r,a,o;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[9]),u(e,"style",r=""+(Z(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(n,l){x(n,e,l),m(e,t),a||(o=F(e,"click",xa),a=!0)},p(n,[l]){l&8&&z(t,"title",n[3]),l&1&&z(t,"type",n[0]),l&2&&z(t,"size",n[1]),l&4&&z(t,"theme",n[2]),l&512&&z(t,"inverted",n[9]),l&1504&&r!==(r=""+(Z(n[5],n[6],n[7],n[8])+"; --pading-size: "+n[10]))&&u(e,"style",r),l&8&&u(e,"title",n[3]),l&2048&&(e.disabled=n[11]),l&4096&&u(e,"class",n[12]),l&16&&u(e,"data-testid",n[4])},i:p,o:p,d(n){n&&L(e),a=!1,o()}}}function xa(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function za(i,e,t){let r,a,o,n;const[l,c]=X("Icon Button Variant",["color","nocolor","dark"],!0);let{icon:s}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:_=""}=e,{testid:y=""}=e,{disabled:k="false"}=e,{inverted:w="false"}=e,{mt:v=null}=e,{mr:C=null}=e,{mb:N=null}=e,{ml:I=null}=e;return W(()=>{c(h)}),i.$$set=M=>{"icon"in M&&t(0,s=M.icon),"size"in M&&t(1,d=M.size),"theme"in M&&t(2,f=M.theme),"variant"in M&&t(13,h=M.variant),"title"in M&&t(3,_=M.title),"testid"in M&&t(4,y=M.testid),"disabled"in M&&t(14,k=M.disabled),"inverted"in M&&t(15,w=M.inverted),"mt"in M&&t(5,v=M.mt),"mr"in M&&t(6,C=M.mr),"mb"in M&&t(7,N=M.mb),"ml"in M&&t(8,I=M.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,o=Q(w)),i.$$.dirty&8704&&t(12,r=`${h} ${o?"inverted":""}`),i.$$.dirty&16384&&t(11,a=Q(k)),i.$$.dirty&2&&t(10,n={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[s,d,f,_,y,v,C,N,I,o,n,a,r,h,k,w]}class Ma extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--goa-font-family-sans)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive-default);fill:var(--goa-color-interactive-default);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus,button:active{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-interactive-focus);color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-interactive-hover)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},za,pa,B,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),g()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),g()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-icon-button",Ma);function Xt(i){let e,t;return{c(){e=b("ion-icon"),z(e,"name",t=i[5]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[5]}`)},m(r,a){x(r,e,a)},p(r,a){a&48&&t!==(t=r[5]==="filled"||r[4].indexOf("logo")===0?r[4]:`${r[4]}-${r[5]}`)&&z(e,"name",t)},d(r){r&&L(e)}}}function Ca(i){let e,t,r=i[4]&&Xt(i);return{c(){e=b("div"),r&&r.c(),this.c=p,u(e,"class","goa-icon"),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",t=`
|
|
58
|
-
${Z(i[0],i[1],i[2],i[3])}
|
|
59
|
-
--size: ${i[11]};
|
|
60
|
-
--fill-color: ${i[6]};
|
|
61
|
-
--hover-color: ${i[7]};
|
|
62
|
-
--opacity: ${i[8]};
|
|
63
|
-
`),O(e,"inverted",i[12])},m(a,o){x(a,e,o),r&&r.m(e,null)},p(a,[o]){a[4]?r?r.p(a,o):(r=Xt(a),r.c(),r.m(e,null)):r&&(r.d(1),r=null),o&1024&&u(e,"data-testid",a[10]),o&512&&u(e,"title",a[9]),o&2511&&t!==(t=`
|
|
64
|
-
${Z(a[0],a[1],a[2],a[3])}
|
|
65
|
-
--size: ${a[11]};
|
|
66
|
-
--fill-color: ${a[6]};
|
|
67
|
-
--hover-color: ${a[7]};
|
|
68
|
-
--opacity: ${a[8]};
|
|
69
|
-
`)&&u(e,"style",t),o&4096&&O(e,"inverted",a[12])},i:p,o:p,d(a){a&&L(e),r&&r.d()}}}function Ea(i,e,t){let r,a,{mt:o=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:c=null}=e,{type:s}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{inverted:h="false"}=e,{fillcolor:_=""}=e,{hovercolor:y=""}=e,{opacity:k=1}=e,{title:w=""}=e,{testid:v=""}=e;return i.$$set=C=>{"mt"in C&&t(0,o=C.mt),"mr"in C&&t(1,n=C.mr),"mb"in C&&t(2,l=C.mb),"ml"in C&&t(3,c=C.ml),"type"in C&&t(4,s=C.type),"size"in C&&t(13,d=C.size),"theme"in C&&t(5,f=C.theme),"inverted"in C&&t(14,h=C.inverted),"fillcolor"in C&&t(6,_=C.fillcolor),"hovercolor"in C&&t(7,y=C.hovercolor),"opacity"in C&&t(8,k=C.opacity),"title"in C&&t(9,w=C.title),"testid"in C&&t(10,v=C.testid)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(h)),i.$$.dirty&8192&&t(11,a={small:"1.25rem",medium:"1.5rem",large:"2rem"}[d])},[o,n,l,c,s,f,_,y,k,w,v,a,r,d,h]}class Aa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ea,Ca,B,{mt:0,mr:1,mb:2,ml:3,type:4,size:13,theme:5,inverted:14,fillcolor:6,hovercolor:7,opacity:8,title:9,testid:10},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","hovercolor","opacity","title","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),g()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),g()}get size(){return this.$$.ctx[13]}set size(e){this.$$set({size:e}),g()}get theme(){return this.$$.ctx[5]}set theme(e){this.$$set({theme:e}),g()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),g()}get fillcolor(){return this.$$.ctx[6]}set fillcolor(e){this.$$set({fillcolor:e}),g()}get hovercolor(){return this.$$.ctx[7]}set hovercolor(e){this.$$set({hovercolor:e}),g()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),g()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),g()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-icon",Aa);function Jt(i){let e,t;return{c(){e=b("div"),t=V(i[14]),u(e,"class","prefix")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a[0]&16384&&q(t,r[14])},d(r){r&&L(e)}}}function $t(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){x(t,e,r)},p(t,r){r[0]&32&&z(e,"type",t[5])},d(t){t&&L(e)}}}function ei(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){x(t,e,r)},p(t,r){r[0]&64&&z(e,"type",t[6])},d(t){t&&L(e)}}}function ti(i){let e,t,r;return{c(){e=b("goa-icon-button"),z(e,"disabled",i[21]),z(e,"variant","nocolor"),z(e,"size","medium"),z(e,"icon",i[6]),z(e,"data-testid","trailing-icon-button")},m(a,o){x(a,e,o),t||(r=F(e,"click",Ta),t=!0)},p(a,o){o[0]&2097152&&z(e,"disabled",a[21]),o[0]&64&&z(e,"icon",a[6])},d(a){a&&L(e),t=!1,r()}}}function ii(i){let e,t;return{c(){e=b("span"),t=V(i[15]),u(e,"class","suffix")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a[0]&32768&&q(t,r[15])},d(r){r&&L(e)}}}function La(i){let e,t,r,a,o,n,l,c,s,d,f,h,_,y,k,w,v,C,N,I=i[14]&&Jt(i),M=i[5]&&$t(i),A=i[6]&&!i[24]&&ei(i),E=i[6]&&i[24]&&ti(i),D=i[15]&&ii(i);return{c(){e=b("div"),t=b("div"),I&&I.c(),r=H(),a=b("div"),a.innerHTML='<slot name="leadingContent"></slot>',o=H(),M&&M.c(),n=H(),l=b("input"),f=H(),A&&A.c(),h=H(),E&&E.c(),_=H(),D&&D.c(),y=H(),k=b("div"),k.innerHTML='<slot name="trailingContent"></slot>',this.c=p,u(a,"class","leading-content"),u(l,"class",c=`input--${i[7]}`),u(l,"style",s=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),l.readOnly=i[23],l.disabled=i[21],u(l,"data-testid",i[8]),u(l,"autocapitalize",i[3]),u(l,"name",i[2]),u(l,"type",i[1]),l.value=i[0],u(l,"placeholder",i[4]),u(l,"min",i[11]),u(l,"max",i[12]),u(l,"step",i[13]),u(l,"role","textbox"),u(l,"aria-label",d=i[10]||i[2]),u(k,"class","trailing-content"),u(t,"class",w=`
|
|
70
|
-
goa-input
|
|
71
|
-
${i[21]?"goa-input--disabled":""}
|
|
72
|
-
variant--${i[7]}
|
|
73
|
-
type--${i[1]}
|
|
74
|
-
`),O(t,"error",i[22]),u(e,"class","container"),u(e,"style",v=`
|
|
75
|
-
${Z(i[16],i[17],i[18],i[19])};
|
|
76
|
-
--width: ${i[9]};
|
|
77
|
-
`)},m(T,S){x(T,e,S),m(e,t),I&&I.m(t,null),m(t,r),m(t,a),m(t,o),M&&M.m(t,null),m(t,n),m(t,l),i[33](l),m(t,f),A&&A.m(t,null),m(t,h),E&&E.m(t,null),m(t,_),D&&D.m(t,null),m(t,y),m(t,k),C||(N=[F(l,"keyup",i[25]),F(l,"change",i[25])],C=!0)},p(T,S){T[14]?I?I.p(T,S):(I=Jt(T),I.c(),I.m(t,r)):I&&(I.d(1),I=null),T[5]?M?M.p(T,S):(M=$t(T),M.c(),M.m(t,n)):M&&(M.d(1),M=null),S[0]&128&&c!==(c=`input--${T[7]}`)&&u(l,"class",c),S[0]&64&&s!==(s=`--search-icon-offset: ${T[6]?"-0.5rem":"0"}`)&&u(l,"style",s),S[0]&8388608&&(l.readOnly=T[23]),S[0]&2097152&&(l.disabled=T[21]),S[0]&256&&u(l,"data-testid",T[8]),S[0]&8&&u(l,"autocapitalize",T[3]),S[0]&4&&u(l,"name",T[2]),S[0]&2&&u(l,"type",T[1]),S[0]&1&&l.value!==T[0]&&(l.value=T[0]),S[0]&16&&u(l,"placeholder",T[4]),S[0]&2048&&u(l,"min",T[11]),S[0]&4096&&u(l,"max",T[12]),S[0]&8192&&u(l,"step",T[13]),S[0]&1028&&d!==(d=T[10]||T[2])&&u(l,"aria-label",d),T[6]&&!T[24]?A?A.p(T,S):(A=ei(T),A.c(),A.m(t,h)):A&&(A.d(1),A=null),T[6]&&T[24]?E?E.p(T,S):(E=ti(T),E.c(),E.m(t,_)):E&&(E.d(1),E=null),T[15]?D?D.p(T,S):(D=ii(T),D.c(),D.m(t,y)):D&&(D.d(1),D=null),S[0]&2097282&&w!==(w=`
|
|
78
|
-
goa-input
|
|
79
|
-
${T[21]?"goa-input--disabled":""}
|
|
80
|
-
variant--${T[7]}
|
|
81
|
-
type--${T[1]}
|
|
82
|
-
`)&&u(t,"class",w),S[0]&6291586&&O(t,"error",T[22]),S[0]&983552&&v!==(v=`
|
|
83
|
-
${Z(T[16],T[17],T[18],T[19])};
|
|
84
|
-
--width: ${T[9]};
|
|
85
|
-
`)&&u(e,"style",v)},i:p,o:p,d(T){T&&L(e),I&&I.d(),M&&M.d(),i[33](null),A&&A.d(),E&&E.d(),D&&D.d(),C=!1,oe(N)}}}function Ta(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Ia(i,e,t){let r,a,o,n,l;const[c,s]=X("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=X("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:_=""}=e,{value:y=""}=e,{autocapitalize:k="off"}=e,{placeholder:w=""}=e,{leadingicon:v=null}=e,{trailingicon:C=null}=e,{variant:N="goa"}=e,{disabled:I="false"}=e,{handletrailingiconclick:M="false"}=e,{focused:A="false"}=e,{readonly:E="false"}=e,{error:D="false"}=e,{testid:T=""}=e,{width:S="30ch"}=e,{arialabel:le=null}=e,{min:U=""}=e,{max:K=""}=e,{step:te=1}=e,{prefix:ne=""}=e,{suffix:Le=""}=e,{debounce:Se=0}=e,{mt:et=null}=e,{mr:tt=null}=e,{mb:Oe=null}=e,{ml:pe=null}=e,re,Te=null;function ve(R){const Ie=R.target;!Ie||(Te!=null&&clearTimeout(Te),Te=setTimeout(()=>{Ie.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:_,value:Ie.value}}))},Se),t(0,y=Ie.value))}W(()=>{s(h),f(k),(ne!=""||Le!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.")});function it(R){$[R?"unshift":"push"](()=>{re=R,t(20,re)})}return i.$$set=R=>{"type"in R&&t(1,h=R.type),"name"in R&&t(2,_=R.name),"value"in R&&t(0,y=R.value),"autocapitalize"in R&&t(3,k=R.autocapitalize),"placeholder"in R&&t(4,w=R.placeholder),"leadingicon"in R&&t(5,v=R.leadingicon),"trailingicon"in R&&t(6,C=R.trailingicon),"variant"in R&&t(7,N=R.variant),"disabled"in R&&t(26,I=R.disabled),"handletrailingiconclick"in R&&t(27,M=R.handletrailingiconclick),"focused"in R&&t(28,A=R.focused),"readonly"in R&&t(29,E=R.readonly),"error"in R&&t(30,D=R.error),"testid"in R&&t(8,T=R.testid),"width"in R&&t(9,S=R.width),"arialabel"in R&&t(10,le=R.arialabel),"min"in R&&t(11,U=R.min),"max"in R&&t(12,K=R.max),"step"in R&&t(13,te=R.step),"prefix"in R&&t(14,ne=R.prefix),"suffix"in R&&t(15,Le=R.suffix),"debounce"in R&&t(31,Se=R.debounce),"mt"in R&&t(16,et=R.mt),"mr"in R&&t(17,tt=R.mr),"mb"in R&&t(18,Oe=R.mb),"ml"in R&&t(19,pe=R.ml)},i.$$.update=()=>{i.$$.dirty[0]&134217728&&t(24,r=Q(M)),i.$$.dirty[0]&268435456&&t(32,a=Q(A)),i.$$.dirty[0]&536870912&&t(23,o=Q(E)),i.$$.dirty[0]&1073741824&&t(22,n=Q(D)),i.$$.dirty[0]&67108864&&t(21,l=Q(I)),i.$$.dirty[0]&1048576|i.$$.dirty[1]&2&&a&&re&&setTimeout(()=>re.focus(),1),i.$$.dirty[0]&1048578&&re&&h==="search"&&re.addEventListener("search",R=>{ve(R)})},[y,h,_,k,w,v,C,N,T,S,le,U,K,te,ne,Le,et,tt,Oe,pe,re,l,n,o,r,ve,I,M,A,E,D,Se,a,it]}class Na extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error,.error:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover{border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}input[type="search"]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
86
|
-
center center no-repeat}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ia,La,B,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:26,handletrailingiconclick:27,focused:28,readonly:29,error:30,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:31,mt:16,mr:17,mb:18,ml:19},null,[-1,-1]),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","min","max","step","prefix","suffix","debounce","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),g()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),g()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),g()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),g()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),g()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),g()}get disabled(){return this.$$.ctx[26]}set disabled(e){this.$$set({disabled:e}),g()}get handletrailingiconclick(){return this.$$.ctx[27]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),g()}get focused(){return this.$$.ctx[28]}set focused(e){this.$$set({focused:e}),g()}get readonly(){return this.$$.ctx[29]}set readonly(e){this.$$set({readonly:e}),g()}get error(){return this.$$.ctx[30]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),g()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),g()}get min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),g()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),g()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),g()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),g()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),g()}get debounce(){return this.$$.ctx[31]}set debounce(e){this.$$set({debounce:e}),g()}get mt(){return this.$$.ctx[16]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[17]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[18]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[19]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-input",Na);function ri(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=H(),r=b("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"class","service-type service-type--live"),u(r,"data-testid","type"),u(r,"class","site-text")},m(a,o){x(a,e,o),x(a,t,o),x(a,r,o)},d(a){a&&L(e),a&&L(t),a&&L(r)}}}function ai(i){let e,t=li(i[0])+"",r,a,o,n,l,c,s,d=i[2]&&ni(i);return{c(){e=b("div"),r=V(t),o=H(),n=b("div"),l=V("This is a new "),c=b("a"),c.textContent="Alberta Government",s=V(` service
|
|
87
|
-
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",a="service-type service-type--"+i[0].toLowerCase()),u(c,"href","https://www.alberta.ca/index.aspx"),u(n,"data-testid","site-text"),u(n,"class","site-text")},m(f,h){x(f,e,h),m(e,r),x(f,o,h),x(f,n,h),m(n,l),m(n,c),m(n,s),d&&d.m(n,null)},p(f,h){h&1&&t!==(t=li(f[0])+"")&&q(r,t),h&1&&a!==(a="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",a),f[2]?d?d.p(f,h):(d=ni(f),d.c(),d.m(n,null)):d&&(d.d(1),d=null)},d(f){f&&L(e),f&&L(o),f&&L(n),d&&d.d()}}}function ni(i){let e,t,r,a;return{c(){e=b("span"),t=V("\u2014 help us improve it by giving "),r=b("a"),a=V("feedback"),u(r,"href",i[2]),u(e,"data-testid","feedback")},m(o,n){x(o,e,n),m(e,t),m(e,r),m(r,a)},p(o,n){n&4&&u(r,"href",o[2])},d(o){o&&L(e)}}}function oi(i){let e,t;return{c(){e=b("div"),t=V(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,a){x(r,e,a),m(e,t)},p(r,a){a&2&&q(t,r[1])},d(r){r&&L(e)}}}function Da(i){let e,t,r=["alpha","beta"].includes(i[0]),a,o,n,l=i[0]==="live"&&ri(),c=r&&ai(i),s=i[1]&&oi(i);return{c(){e=b("header"),l&&l.c(),t=H(),c&&c.c(),a=H(),o=b("div"),n=H(),s&&s.c(),this.c=p,u(o,"class","spacer"),u(e,"class","goa-official-site-header")},m(d,f){x(d,e,f),l&&l.m(e,null),m(e,t),c&&c.m(e,null),m(e,a),m(e,o),m(e,n),s&&s.m(e,null)},p(d,[f]){d[0]==="live"?l||(l=ri(),l.c(),l.m(e,t)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(d[0])),r?c?c.p(d,f):(c=ai(d),c.c(),c.m(e,a)):c&&(c.d(1),c=null),d[1]?s?s.p(d,f):(s=oi(d),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(d){d&&L(e),l&&l.d(),c&&c.d(),s&&s.d()}}}function li(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Ha(i,e,t){const[r,a]=X("Microsite header type",["live","alpha","beta"],!0);let{type:o}=e,{version:n=""}=e,{feedbackurl:l=""}=e;return W(()=>{a(o)}),i.$$set=c=>{"type"in c&&t(0,o=c.type),"version"in c&&t(1,n=c.version),"feedbackurl"in c&&t(2,l=c.feedbackurl)},[o,n,l]}class ja extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ha,Da,B,{type:0,version:1,feedbackurl:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type","version","feedbackurl"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),g()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),g()}}customElements.define("goa-microsite-header",ja);function si(i){let e,t,r,a,o,n,l,c,s,d,f,h,_,y,k,w,v,C,N,I,M,A,E,D,T=i[3]!==null&&ci(i);function S(te,ne){return te[0]?Sa:Ra}let le=S(i),U=le(i),K=i[7]&&di(i);return{c(){e=b("goa-focus-trap"),t=b("div"),r=b("div"),a=H(),o=b("div"),T&&T.c(),n=H(),l=b("div"),c=b("header"),s=b("div"),U.c(),d=H(),K&&K.c(),f=H(),h=b("div"),_=b("goa-scrollable"),_.innerHTML="<slot></slot>",y=H(),k=b("div"),k.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(s,"data-testid","modal-title"),u(s,"class","modal-title"),z(_,"direction","vertical"),z(_,"hpadding","1.9rem"),z(_,"maxheight","70vh"),u(h,"data-testid","modal-content"),u(h,"class","modal-content"),u(k,"class","modal-actions"),u(k,"data-testid","modal-actions"),u(l,"class","content"),u(o,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",C=i[2]&&`--width: ${i[2]};`),z(e,"active",i[1])},m(te,ne){x(te,e,ne),m(e,t),m(t,r),m(t,a),m(t,o),T&&T.m(o,null),m(o,n),m(o,l),m(l,c),m(c,s),U.m(s,null),m(c,d),K&&K.m(c,null),m(l,f),m(l,h),m(h,_),i[14](_),i[15](h),m(l,y),m(l,k),A=!0,E||(D=[F(r,"click",i[10]),F(_,"_scroll",i[11]),ft(N=Nt.call(null,t,{enable:i[6]}))],E=!0)},p(te,ne){i=te,i[3]!==null?T?T.p(i,ne):(T=ci(i),T.c(),T.m(o,n)):T&&(T.d(1),T=null),le===(le=S(i))&&U?U.p(i,ne):(U.d(1),U=le(i),U&&(U.c(),U.m(s,null))),i[7]?K?K.p(i,ne):(K=di(i),K.c(),K.m(c,null)):K&&(K.d(1),K=null),(!A||ne&4&&C!==(C=i[2]&&`--width: ${i[2]};`))&&u(t,"style",C),N&&fe(N.update)&&ne&64&&N.update.call(null,{enable:i[6]}),(!A||ne&2)&&z(e,"active",i[1])},i(te){A||(de(()=>{v&&v.end(1),w=_t(o,It,{duration:i[9],y:200}),w.start()}),de(()=>{M&&M.end(1),I=_t(t,Ee,{duration:i[9]}),I.start()}),A=!0)},o(te){w&&w.invalidate(),v=kt(o,It,{delay:i[9],duration:i[9],y:-100}),I&&I.invalidate(),M=kt(t,Ee,{delay:i[9],duration:i[9]}),A=!1},d(te){te&&L(e),T&&T.d(),U.d(),K&&K.d(),i[14](null),i[15](null),te&&v&&v.end(),te&&M&&M.end(),E=!1,oe(D)}}}function ci(i){let e,t,r,a;return{c(){e=b("div"),t=b("goa-icon"),z(t,"type",i[8]),z(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",a="callout-bar "+i[3])},m(o,n){x(o,e,n),m(e,t)},p(o,n){n&256&&z(t,"type",o[8]),n&8&&r!==(r=o[3]==="important"?"false":"true")&&z(t,"inverted",r),n&8&&a!==(a="callout-bar "+o[3])&&u(e,"class",a)},d(o){o&&L(e)}}}function Ra(i){let e;return{c(){e=b("slot"),u(e,"name","heading")},m(t,r){x(t,e,r)},p,d(t){t&&L(e)}}}function Sa(i){let e;return{c(){e=V(i[0])},m(t,r){x(t,e,r)},p(t,r){r&1&&q(e,t[0])},d(t){t&&L(e)}}}function di(i){let e,t,r,a;return{c(){e=b("div"),t=b("goa-icon-button"),z(t,"data-testid","modal-close-button"),z(t,"icon","close"),z(t,"variant","nocolor"),u(e,"class","modal-close")},m(o,n){x(o,e,n),m(e,t),r||(a=F(t,"click",i[10]),r=!0)},p,d(o){o&&L(e),r=!1,a()}}}function Oa(i){let e,t,r=i[6]&&si(i);return{c(){r&&r.c(),e=we(),this.c=p},m(a,o){r&&r.m(a,o),x(a,e,o),t=!0},p(a,[o]){a[6]?r?(r.p(a,o),o&64&&J(r,1)):(r=si(a),r.c(),J(r,1),r.m(e.parentNode,e)):r&&(Me(),ee(r,1,1,()=>{r=null}),Ce())},i(a){t||(J(r),t=!0)},o(a){ee(r),t=!1},d(a){r&&r.d(a),a&&L(e)}}}function Ba(i,e,t){let r,a,o,n,{heading:l=""}=e,{closable:c="false"}=e,{open:s="false"}=e,{transition:d="none"}=e,{width:f=""}=e,{calloutvariant:h=null}=e,_=null,y=null;const[k,w]=X("Callout variant",["emergency","important","information","success","event"]),[v,C]=X("Modal transition",["fast","slow","none"]);W(()=>{w(h),C(d)});function N(E){!r||(E.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),E.stopPropagation())}function I(E){const D=E.detail.scrollHeight>E.detail.offsetHeight;if(a&&D){const T=E.detail.scrollTop==0,S=Math.abs(E.detail.scrollHeight-E.detail.scrollTop-E.detail.offsetHeight)<1;_.classList.remove("scroll-top","scroll-bottom","scroll-middle"),T?_.classList.add("scroll-top"):S?_.classList.add("scroll-bottom"):_.classList.add("scroll-middle")}}function M(E){$[E?"unshift":"push"](()=>{y=E,t(5,y),t(6,a),t(1,s)})}function A(E){$[E?"unshift":"push"](()=>{_=E,t(4,_),t(6,a),t(1,s)})}return i.$$set=E=>{"heading"in E&&t(0,l=E.heading),"closable"in E&&t(12,c=E.closable),"open"in E&&t(1,s=E.open),"transition"in E&&t(13,d=E.transition),"width"in E&&t(2,f=E.width),"calloutvariant"in E&&t(3,h=E.calloutvariant)},i.$$.update=()=>{i.$$.dirty&4096&&t(7,r=Q(c)),i.$$.dirty&2&&t(6,a=Q(s)),i.$$.dirty&64&&(a||t(4,_=t(5,y=null))),i.$$.dirty&112&&a&&y&&_&&y.scrollHeight>y.offsetHeight&&_.classList.add("scroll-top"),i.$$.dirty&8192&&t(9,o=d==="none"?0:d==="slow"?400:200),i.$$.dirty&8&&t(8,n=h==="emergency"?"warning":h==="important"?"alert-circle":h==="information"?"information-circle":h==="success"?"checkmark-circle":h==="event"?"calendar":"")},[l,s,f,h,_,y,a,r,n,o,N,I,c,d,M,A]}class Pa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}:host *{box-sizing:border-box}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem}.content header{display:flex;align-items:center;margin-bottom:2rem;justify-content:space-between}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;box-shadow:var(--goa-shadow-modal);border-radius:4px;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:1.5rem 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font-size:var(--goa-font-size-7);flex:0 0 auto}.scroll-top{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-middle{box-shadow:inset 0px -8px 6px -6px rgba(0, 0, 0, 0.1), inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}.scroll-bottom{box-shadow:inset 0px 8px 6px -6px rgba(0, 0, 0, 0.1)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ba,Oa,B,{heading:0,closable:12,open:1,transition:13,width:2,calloutvariant:3},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),g()}get closable(){return this.$$.ctx[12]}set closable(e){this.$$set({closable:e}),g()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),g()}get transition(){return this.$$.ctx[13]}set transition(e){this.$$set({transition:e}),g()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),g()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),g()}}customElements.define("goa-modal",Pa);function ui(i){let e,t,r,a,o,n,l,c,s,d,f,h,_,y,k;return{c(){e=b("div"),t=b("div"),r=b("goa-icon"),o=H(),n=b("div"),n.innerHTML="<slot></slot>",l=H(),c=b("div"),s=b("goa-icon-button"),z(r,"type",i[2]),z(r,"inverted",a=i[0]==="important"?"false":"true"),u(t,"class","icon"),u(n,"class","content"),z(s,"icon","close"),z(s,"variant","dark"),z(s,"inverted",d=i[0]==="important"?"false":"true"),u(c,"class","close"),u(e,"class",f="notification "+i[0])},m(w,v){x(w,e,v),m(e,t),m(t,r),m(e,o),m(e,n),m(e,l),m(e,c),m(c,s),_=!0,y||(k=F(s,"click",i[3]),y=!0)},p(w,v){(!_||v&4)&&z(r,"type",w[2]),(!_||v&1&&a!==(a=w[0]==="important"?"false":"true"))&&z(r,"inverted",a),(!_||v&1&&d!==(d=w[0]==="important"?"false":"true"))&&z(s,"inverted",d),(!_||v&1&&f!==(f="notification "+w[0]))&&u(e,"class",f)},i(w){_||(de(()=>{h||(h=Xe(e,Ee,{},!0)),h.run(1)}),_=!0)},o(w){h||(h=Xe(e,Ee,{},!1)),h.run(0),_=!1},d(w){w&&L(e),w&&h&&h.end(),y=!1,k()}}}function Ga(i){let e,t,r=i[1]&&ui(i);return{c(){r&&r.c(),e=we(),this.c=p},m(a,o){r&&r.m(a,o),x(a,e,o),t=!0},p(a,[o]){a[1]?r?(r.p(a,o),o&2&&J(r,1)):(r=ui(a),r.c(),J(r,1),r.m(e.parentNode,e)):r&&(Me(),ee(r,1,1,()=>{r=null}),Ce())},i(a){t||(J(r),t=!0)},o(a){ee(r),t=!1},d(a){r&&r.d(a),a&&L(e)}}}function Ya(i,e,t){let r;const[a,o]=X("Notification type",["emergency","important","information","event"],!0);let{type:n=""}=e,l=!0;W(()=>{o(n)});function c(s){t(1,l=!1),s.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),s.stopPropagation()}return i.$$set=s=>{"type"in s&&t(0,n=s.type)},i.$$.update=()=>{i.$$.dirty&1&&t(2,r=n==="emergency"?"warning":n==="important"?"alert-circle":n==="information"?"information-circle":n==="event"?"calendar":"")},[n,l,r,c]}class Za extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ya,Ga,B,{type:0},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),g()}}customElements.define("goa-notification",Za);const Va=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function Qa(i){return Va.test(i)}function Fa(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(a,o){x(a,e,o),m(e,t)},p(a,[o]){o&1&&r!==(r=`--max-width: ${a[0]}`)&&u(e,"style",r)},i:p,o:p,d(a){a&&L(e)}}}function Ua(i,e,t){const r={full:"100%"};let{width:a}=e,{_width:o}=e;function n(l){return!!(["full"].includes(a)||Qa(l))}return W(()=>{n(a)||console.error("Invalid PageBlock width"),t(0,o=r[a]||a)}),i.$$set=l=>{"width"in l&&t(1,a=l.width),"_width"in l&&t(0,o=l._width)},[o,a]}class qa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ua,Fa,B,{width:1,_width:0},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),g()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),g()}}customElements.define("goa-page-block",qa);function fi(i){let e,t,r,a,o,n,l,c,s,d;return{c(){e=b("goa-block"),t=b("span"),t.textContent="Page",r=H(),a=b("input"),o=H(),n=b("goa-input"),l=H(),c=b("span"),s=V("of "),d=V(i[8]),u(a,"type","hidden"),z(n,"type","number"),z(n,"value",i[0]),z(n,"width","8ch"),z(n,"debounce","500"),z(n,"min","1"),z(n,"max",i[8]),z(e,"data-testid","page-selector"),z(e,"alignment","center"),z(e,"gap","s")},m(f,h){x(f,e,h),m(e,t),m(e,r),m(e,a),i[12](a),m(e,o),m(e,n),i[13](n),m(e,l),m(e,c),m(c,s),m(c,d)},p(f,h){h&1&&z(n,"value",f[0]),h&256&&z(n,"max",f[8]),h&256&&q(d,f[8])},d(f){f&&L(e),i[12](null),i[13](null)}}}function Wa(i){let e,t,r,a,o,n,l,c,s,d,f,h,_,y=i[1]==="all"&&fi(i);return{c(){e=b("goa-block"),t=b("div"),y&&y.c(),r=H(),a=b("goa-block"),o=b("goa-button"),n=V("Previous"),c=H(),s=b("goa-button"),d=V("Next"),this.c=p,z(o,"type","tertiary"),z(o,"leadingicon","arrow-back"),z(o,"disabled",l=i[0]==1?"true":"false"),z(s,"type","tertiary"),z(s,"trailingicon","arrow-forward"),z(s,"disabled",f=i[0]==i[8]?"true":"false"),z(a,"alignment","center"),z(a,"gap","m"),z(a,"data-testid","page-links"),u(t,"class","controls"),z(e,"id","root"),z(e,"ml",i[5]),z(e,"mr",i[3]),z(e,"mb",i[4]),z(e,"mt",i[2])},m(k,w){x(k,e,w),m(e,t),y&&y.m(t,null),m(t,r),m(t,a),m(a,o),m(o,n),m(a,c),m(a,s),m(s,d),h||(_=[F(o,"click",i[14]),F(s,"click",i[15])],h=!0)},p(k,[w]){k[1]==="all"?y?y.p(k,w):(y=fi(k),y.c(),y.m(t,r)):y&&(y.d(1),y=null),w&1&&l!==(l=k[0]==1?"true":"false")&&z(o,"disabled",l),w&257&&f!==(f=k[0]==k[8]?"true":"false")&&z(s,"disabled",f),w&32&&z(e,"ml",k[5]),w&8&&z(e,"mr",k[3]),w&16&&z(e,"mb",k[4]),w&4&&z(e,"mt",k[2])},i:p,o:p,d(k){k&&L(e),y&&y.d(),h=!1,oe(_)}}}function Ka(i,e,t){let r;const[a,o]=X("Pagination variant",["all","links-only"]);let{pagenumber:n}=e,{itemcount:l}=e,{perpagecount:c=10}=e,{variant:s="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:_=null}=e,y=null,k=null;W(async()=>{await ge(),$e("GoAPagination",{itemcount:l,pagenumber:n}),o(s),y&&y.addEventListener("_change",M=>{const A=Number.parseInt(M.detail.value);M.stopPropagation(),!isNaN(A)&&k.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:A}}))})});function w(M,A){const E=Number.parseInt(n+"")+A;E>0&&E<=r&&M.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:E}})),M.preventDefault()}function v(M){$[M?"unshift":"push"](()=>{k=M,t(7,k)})}function C(M){$[M?"unshift":"push"](()=>{y=M,t(6,y)})}const N=M=>w(M,-1),I=M=>w(M,1);return i.$$set=M=>{"pagenumber"in M&&t(0,n=M.pagenumber),"itemcount"in M&&t(10,l=M.itemcount),"perpagecount"in M&&t(11,c=M.perpagecount),"variant"in M&&t(1,s=M.variant),"mt"in M&&t(2,d=M.mt),"mr"in M&&t(3,f=M.mr),"mb"in M&&t(4,h=M.mb),"ml"in M&&t(5,_=M.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/c))},[n,s,d,f,h,_,y,k,r,w,l,c,v,C,N,I]}class Xa extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Ka,Wa,B,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),g()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),g()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-pagination",Xa);function gi(i,e,t){const r=i.slice();return r[22]=e[t],r}function hi(i,e){let t,r,a,o,n,l,c,s,d,f=(e[22].label||e[22].value)+"",h,_,y,k,w;function v(){return e[16](e[22])}return{key:i,first:null,c(){t=b("label"),r=b("input"),l=H(),c=b("div"),s=H(),d=b("span"),h=V(f),_=H(),u(r,"type","radio"),u(r,"name",e[1]),r.value=a=e[22].value,r.disabled=e[12],r.checked=o=e[22].value===e[0],u(r,"aria-label",n=e[4]||e[1]),u(c,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",y="radio-option-"+e[22].value),u(t,"class","goa-radio"),O(t,"goa-radio--disabled",e[12]),O(t,"goa-radio--error",e[11]),this.first=t},m(C,N){x(C,t,N),m(t,r),m(t,l),m(t,c),m(t,s),m(t,d),m(d,h),m(t,_),k||(w=F(r,"change",v),k=!0)},p(C,N){e=C,N&2&&u(r,"name",e[1]),N&512&&a!==(a=e[22].value)&&(r.value=a),N&4096&&(r.disabled=e[12]),N&513&&o!==(o=e[22].value===e[0])&&(r.checked=o),N&18&&n!==(n=e[4]||e[1])&&u(r,"aria-label",n),N&512&&f!==(f=(e[22].label||e[22].value)+"")&&q(h,f),N&512&&y!==(y="radio-option-"+e[22].value)&&u(t,"data-testid",y),N&4096&&O(t,"goa-radio--disabled",e[12]),N&2048&&O(t,"goa-radio--error",e[11])},d(C){C&&L(t),k=!1,w()}}}function Ja(i){let e,t,r,a=[],o=new Map,n,l,c=i[9];const s=d=>d[22].value;for(let d=0;d<c.length;d+=1){let f=gi(i,c,d),h=s(f);o.set(h,a[d]=hi(h,f))}return{c(){e=b("div"),t=b("slot"),r=H();for(let d=0;d<a.length;d+=1)a[d].c();this.c=p,u(e,"style",n=Z(i[5],i[6],i[7],i[8])),u(e,"class",l=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){x(d,e,f),m(e,t),m(e,r);for(let h=0;h<a.length;h+=1)a[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(c=d[9],a=xt(a,f,s,1,d,c,o,e,pt,hi,null,gi)),f&480&&n!==(n=Z(d[5],d[6],d[7],d[8]))&&u(e,"style",n),f&4&&l!==(l=`goa-radio-group--${d[2]}`)&&u(e,"class",l),f&8&&u(e,"data-testid",d[3])},i:p,o:p,d(d){d&&L(e);for(let f=0;f<a.length;f+=1)a[f].d();i[17](null)}}}function $a(i,e,t){let r,a;const[o,n]=X("Radio group orientation",["vertical","horizontal"]);let{name:l}=e,{value:c}=e,{orientation:s="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:_=""}=e,{mt:y=null}=e,{mr:k=null}=e,{mb:w=null}=e,{ml:v=null}=e,C=[],N;W(async()=>{await ge(),t(9,C=M())});function I(){const T=N.querySelector("slot");return T?[...T.assignedElements()]:[...N.children]}function M(){return I().map(S=>{const le=S,U=S.getAttribute("value")||le.value,K=S.getAttribute("label")||S.innerText||le.label||le.innerText;return{value:U,label:K}})}function A(T){T!==c&&(t(0,c=T),N.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:c}})))}W(()=>{n(s)});const E=T=>A(T.value);function D(T){$[T?"unshift":"push"](()=>{N=T,t(10,N)})}return i.$$set=T=>{"name"in T&&t(1,l=T.name),"value"in T&&t(0,c=T.value),"orientation"in T&&t(2,s=T.orientation),"disabled"in T&&t(14,d=T.disabled),"error"in T&&t(15,f=T.error),"testid"in T&&t(3,h=T.testid),"arialabel"in T&&t(4,_=T.arialabel),"mt"in T&&t(5,y=T.mt),"mr"in T&&t(6,k=T.mr),"mb"in T&&t(7,w=T.mb),"ml"in T&&t(8,v=T.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,r=Q(d)),i.$$.dirty&32768&&t(11,a=Q(f))},[c,l,s,h,_,y,k,w,v,C,N,a,r,A,d,f,E,D]}class en extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:hover~.goa-radio-icon{border:1px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:checked:hover~.goa-radio-icon{border:7px solid var(--goa-color-interactive-hover);box-shadow:0 0 0 1px var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon,input[type="radio"]:active~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive-default)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700);box-shadow:none}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
88
|
-
var(--goa-color-interactive-hover);box-shadow:none}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:hover~.goa-radio-icon{box-shadow:0 0 0 1px var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},$a,Ja,B,{name:1,value:0,orientation:2,disabled:14,error:15,testid:3,arialabel:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),g()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),g()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),g()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),g()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),g()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-radio-group",en);function tn(i){let e,t,r,a,o;return{c(){e=b("div"),t=b("slot"),this.c=p,u(e,"class","goa-scrollable"),u(e,"style",r=`
|
|
89
|
-
max-height: ${i[3]||"50vh"};
|
|
90
|
-
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
91
|
-
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
92
|
-
margin: ${i[2]} 0;
|
|
93
|
-
padding: 0 ${i[1]};
|
|
94
|
-
`)},m(n,l){x(n,e,l),m(e,t),i[8](e),a||(o=F(e,"scroll",i[5]),a=!0)},p(n,[l]){l&15&&r!==(r=`
|
|
95
|
-
max-height: ${n[3]||"50vh"};
|
|
96
|
-
overflow-y: ${n[0]==="vertical"?"auto":"hidden"};
|
|
97
|
-
overflow-x: ${n[0]==="horizontal"?"auto":"hidden"};
|
|
98
|
-
margin: ${n[2]} 0;
|
|
99
|
-
padding: 0 ${n[1]};
|
|
100
|
-
`)&&u(e,"style",r)},i:p,o:p,d(n){n&&L(e),i[8](null),a=!1,o()}}}function rn(i,e,t){let{direction:r="vertical"}=e,{hpadding:a=""}=e,{vpadding:o=""}=e,{maxheight:n=""}=e,{offsetHeight:l}=e,{scrollHeight:c}=e,s;function d(h){h.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:s.offsetHeight,scrollHeight:s.scrollHeight,scrollTop:s.scrollTop}})),h.stopPropagation()}W(()=>{t(6,l=s.offsetHeight),t(7,c=s.scrollHeight)});function f(h){$[h?"unshift":"push"](()=>{s=h,t(4,s)})}return i.$$set=h=>{"direction"in h&&t(0,r=h.direction),"hpadding"in h&&t(1,a=h.hpadding),"vpadding"in h&&t(2,o=h.vpadding),"maxheight"in h&&t(3,n=h.maxheight),"offsetHeight"in h&&t(6,l=h.offsetHeight),"scrollHeight"in h&&t(7,c=h.scrollHeight)},[r,a,o,n,s,d,l,c,f]}class an extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},rn,tn,B,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),g()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),g()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),g()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),g()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),g()}}customElements.define("goa-scrollable",an);function mi(i,e,t){const r=i.slice();return r[13]=e[t],r}function nn(i){let e,t;return{c(){e=b("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(r,a){x(r,e,a)},p(r,a){a&10&&t!==(t="skeleton "+r[3]+` ${r[3]}-${r[1]}`)&&u(e,"class",t)},i:p,o:p,d(r){r&&L(e)}}}function on(i){let e,t,r=Array(Number.parseInt(i[2]+"")),a=[];for(let n=0;n<r.length;n+=1)a[n]=bi(mi(i,r,n));const o=n=>ee(a[n],1,1,()=>{a[n]=null});return{c(){for(let n=0;n<a.length;n+=1)a[n].c();e=we()},m(n,l){for(let c=0;c<a.length;c+=1)a[c].m(n,l);x(n,e,l),t=!0},p(n,l){if(l&6){r=Array(Number.parseInt(n[2]+""));let c;for(c=0;c<r.length;c+=1){const s=mi(n,r,c);a[c]?(a[c].p(s,l),J(a[c],1)):(a[c]=bi(s),a[c].c(),J(a[c],1),a[c].m(e.parentNode,e))}for(Me(),c=r.length;c<a.length;c+=1)o(c);Ce()}},i(n){if(!t){for(let l=0;l<r.length;l+=1)J(a[l]);t=!0}},o(n){a=a.filter(Boolean);for(let l=0;l<a.length;l+=1)ee(a[l]);t=!1},d(n){Ze(a,n),n&&L(e)}}}function ln(i){let e,t,r,a,o,n,l,c,s,d;return r=new be({props:{type:"avatar",size:i[1]}}),n=new be({props:{type:"title",size:i[1]}}),c=new be({props:{type:"text-small",size:i[1]}}),{c(){e=b("div"),t=b("div"),ke(r.$$.fragment),a=H(),o=b("div"),ke(n.$$.fragment),l=H(),ke(c.$$.fragment),u(t,"class","profile-avatar"),u(o,"class","profile-name"),u(e,"class",s="profile profile-"+i[1])},m(f,h){x(f,e,h),m(e,t),he(r,t,null),m(e,a),m(e,o),he(n,o,null),m(o,l),he(c,o,null),d=!0},p(f,h){const _={};h&2&&(_.size=f[1]),r.$set(_);const y={};h&2&&(y.size=f[1]),n.$set(y);const k={};h&2&&(k.size=f[1]),c.$set(k),(!d||h&2&&s!==(s="profile profile-"+f[1]))&&u(e,"class",s)},i(f){d||(J(r.$$.fragment,f),J(n.$$.fragment,f),J(c.$$.fragment,f),d=!0)},o(f){ee(r.$$.fragment,f),ee(n.$$.fragment,f),ee(c.$$.fragment,f),d=!1},d(f){f&&L(e),me(r),me(n),me(c)}}}function sn(i){let e,t,r,a,o,n,l,c,s;return t=new be({props:{type:"image",size:i[1]}}),o=new be({props:{type:"header",size:i[1]}}),l=new be({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=b("div"),ke(t.$$.fragment),r=H(),a=b("div"),ke(o.$$.fragment),n=H(),ke(l.$$.fragment),u(a,"class","card-content"),u(e,"class",c="card card-"+i[1]),ie(e,"--max-width",i[0])},m(d,f){x(d,e,f),he(t,e,null),m(e,r),m(e,a),he(o,a,null),m(a,n),he(l,a,null),s=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const _={};f&2&&(_.size=d[1]),o.$set(_);const y={};f&2&&(y.size=d[1]),f&4&&(y.linecount=d[2]),l.$set(y),(!s||f&2&&c!==(c="card card-"+d[1]))&&u(e,"class",c),(!s||f&1)&&ie(e,"--max-width",d[0])},i(d){s||(J(t.$$.fragment,d),J(o.$$.fragment,d),J(l.$$.fragment,d),s=!0)},o(d){ee(t.$$.fragment,d),ee(o.$$.fragment,d),ee(l.$$.fragment,d),s=!1},d(d){d&&L(e),me(t),me(o),me(l)}}}function bi(i){let e,t;return e=new be({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){ke(e.$$.fragment)},m(r,a){he(e,r,a),t=!0},p(r,a){const o={};a&2&&(o.size=r[1]),a&4&&(o.linecount=r[2]),e.$set(o)},i(r){t||(J(e.$$.fragment,r),t=!0)},o(r){ee(e.$$.fragment,r),t=!1},d(r){me(e,r)}}}function cn(i){let e,t,r,a,o;const n=[sn,ln,on,nn],l=[];function c(s,d){return s[3]==="card"?0:s[3]==="profile"?1:s[3]==="lines"?2:3}return t=c(i),r=l[t]=n[t](i),{c(){e=b("div"),r.c(),this.c=p,u(e,"data-testid",i[4]),u(e,"style",a=""+(Z(i[5],i[6],i[7],i[8])+";"))},m(s,d){x(s,e,d),l[t].m(e,null),o=!0},p(s,[d]){let f=t;t=c(s),t===f?l[t].p(s,d):(Me(),ee(l[f],1,1,()=>{l[f]=null}),Ce(),r=l[t],r?r.p(s,d):(r=l[t]=n[t](s),r.c()),J(r,1),r.m(e,null)),(!o||d&16)&&u(e,"data-testid",s[4]),(!o||d&480&&a!==(a=""+(Z(s[5],s[6],s[7],s[8])+";")))&&u(e,"style",a)},i(s){o||(J(r),o=!0)},o(s){ee(r),o=!1},d(s){s&&L(e),l[t].d()}}}function dn(i,e,t){const[r,a]=X("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","profile","lines"],!0),[o,n]=X("Skeleton size",["1","2","3","4"]);let{maxwidth:l=""}=e,{size:c="1"}=e,{linecount:s=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:_=null}=e,{mb:y=null}=e,{ml:k=null}=e;return W(()=>{a(d),n(c)}),i.$$set=w=>{"maxwidth"in w&&t(0,l=w.maxwidth),"size"in w&&t(1,c=w.size),"linecount"in w&&t(2,s=w.linecount),"type"in w&&t(3,d=w.type),"testid"in w&&t(4,f=w.testid),"mt"in w&&t(5,h=w.mt),"mr"in w&&t(6,_=w.mr),"mb"in w&&t(7,y=w.mb),"ml"in w&&t(8,k=w.ml)},[l,c,s,d,f,h,_,y,k]}class be extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},dn,cn,B,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),g()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),g()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),g()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-skeleton",be);function un(i){let e;return{c(){e=b("div"),this.c=p},m(t,r){x(t,e,r),i[3](e)},p,i:p,o:p,d(t){t&&L(e),i[3](null)}}}function fn(i,e,t){let{hspacing:r="none"}=e,{vspacing:a="none"}=e,o;W(()=>{zt(o,":host",{width:`var(--goa-space-${r})`,height:`var(--goa-space-${a})`})});function n(l){$[l?"unshift":"push"](()=>{o=l,t(0,o)})}return i.$$set=l=>{"hspacing"in l&&t(1,r=l.hspacing),"vspacing"in l&&t(2,a=l.vspacing)},[o,r,a,n]}class gn extends P{constructor(e){super();Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},fn,un,B,{hspacing:1,vspacing:2},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),g()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),g()}}customElements.define("goa-spacer",gn);const Ae=[];function hn(i,e=p){let t;const r=new Set;function a(l){if(B(i,l)&&(i=l,t)){const c=!Ae.length;for(const s of r)s[1](),Ae.push(s,i);if(c){for(let s=0;s<Ae.length;s+=2)Ae[s][0](Ae[s+1]);Ae.length=0}}}function o(l){a(l(i))}function n(l,c=p){const s=[l,c];return r.add(s),r.size===1&&(t=e(a)||p),l(i),()=>{r.delete(s),r.size===0&&(t(),t=null)}}return{set:a,update:o,subscribe:n}}function vi(i){return Object.prototype.toString.call(i)==="[object Date]"}function ct(i,e){if(i===e||i!==i)return()=>i;const t=typeof i;if(t!==typeof e||Array.isArray(i)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(i)){const r=e.map((a,o)=>ct(i[o],a));return a=>r.map(o=>o(a))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(vi(i)&&vi(e)){i=i.getTime(),e=e.getTime();const o=e-i;return n=>new Date(i+n*o)}const r=Object.keys(e),a={};return r.forEach(o=>{a[o]=ct(i[o],e[o])}),o=>{const n={};return r.forEach(l=>{n[l]=a[l](o)}),n}}if(t==="number"){const r=e-i;return a=>i+a*r}throw new Error(`Cannot interpolate ${t} values`)}function mn(i,e={}){const t=hn(i);let r,a=i;function o(n,l){if(i==null)return t.set(i=n),Promise.resolve();a=n;let c=r,s=!1,{delay:d=0,duration:f=400,easing:h=Ne,interpolate:_=ct}=dt(dt({},e),l);if(f===0)return c&&(c.abort(),c=null),t.set(i=a),Promise.resolve();const y=Ge()+d;let k;return r=Ye(w=>{if(w<y)return!0;s||(k=_(i,n),typeof f=="function"&&(f=f(i,n)),s=!0),c&&(c.abort(),c=null);const v=w-y;return v>f?(t.set(i=n),!1):(t.set(i=k(h(v/f))),!0)}),r.promise}return{set:o,update:(n,l)=>o(n(a,i),l),subscribe:t.subscribe}}function yi(i){let e,t,r,a,o,n,l,c,s;return{c(){e=ye("svg"),t=ye("circle"),o=ye("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",r=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",a=i[3]-i[4]/2),u(o,"d",n=i[9](i[7])),u(o,"stroke-width",i[4]),u(o,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(o,"stroke-linecap","round"),u(e,"class",c=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",s="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){x(d,e,f),m(e,t),m(e,o)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&r!==(r=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",r),f&16&&u(t,"stroke-width",d[4]),f&24&&a!==(a=d[3]-d[4]/2)&&u(t,"r",a),f&128&&n!==(n=d[9](d[7]))&&u(o,"d",n),f&16&&u(o,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(o,"stroke",l),f&4&&c!==(c=`spinner-${d[2]}`)&&u(e,"class",c),f&32&&s!==(s="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",s),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&L(e)}}}function bn(i){let e,t=i[6]&&yi(i);return{c(){t&&t.c(),e=we(),this.c=p},m(r,a){t&&t.m(r,a),x(r,e,a)},p(r,[a]){r[6]?t?t.p(r,a):(t=yi(r),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:p,o:p,d(r){t&&t.d(r),r&&L(e)}}}function vn(i,e,t){let r,a,o,n,l,c,{size:s}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,_="infinite";const y=mn(0,{duration:500,easing:Nr});Mi(i,y,v=>t(7,c=v));function k(v){const C=o+n*Math.cos(v),N=o+n*Math.sin(v);return C+" "+N}function w(v){switch(_){case"progress":{const C=k(-Math.PI/2),N=k(-Math.PI/2+2*Math.PI*(v/100)),I=v%100<50?0:1;return`M ${C} A ${n} ${n} 0 ${I} 1 ${N}`}case"infinite":{const C=k(Math.PI*1.5),N=k(0);return`M ${C} A ${n} ${n} 0 1 0 ${N}`}}}return i.$$set=v=>{"size"in v&&t(10,s=v.size),"invert"in v&&t(0,d=v.invert),"progress"in v&&t(11,f=v.progress),"testid"in v&&t(1,h=v.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const v=parseFloat(f+"");v>=0&&(y.set(v||1),t(2,_="progress"))}i.$$.dirty&1024&&t(5,r=s&&{small:16,medium:32,large:64,xlarge:100}[s]),i.$$.dirty&1024&&t(4,a=s&&{small:2,medium:4,large:7,xlarge:9}[s]),i.$$.dirty&32&&t(3,o=r/2),i.$$.dirty&24&&t(12,n=o-a/2),i.$$.dirty&6148&&t(6,l=_==="infinite"?n:n&&f)},[d,h,_,o,a,r,l,c,y,w,s,f,n]}class yn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},vn,bn,B,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),g()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),g()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),g()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),g()}}customElements.define("goa-spinner",yn);function wn(i){let e,t,r,a,o;return{c(){e=b("table"),t=b("slot"),r=H(),a=b("template"),a.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
101
|
-
<tbody><tr><td></td></tr></tbody>
|
|
102
|
-
<tfoot><tr><td></td></tr></tfoot>`,this.c=p,u(e,"class",i[1]),u(e,"style",o=`
|
|
103
|
-
${i[0]?`width: ${i[0]};`:""}
|
|
104
|
-
${Z(i[2],i[3],i[4],i[5])}
|
|
105
|
-
`),O(e,"sticky",i[7])},m(n,l){x(n,e,l),m(e,t),m(e,r),m(e,a),i[9](e)},p(n,[l]){l&2&&u(e,"class",n[1]),l&61&&o!==(o=`
|
|
106
|
-
${n[0]?`width: ${n[0]};`:""}
|
|
107
|
-
${Z(n[2],n[3],n[4],n[5])}
|
|
108
|
-
`)&&u(e,"style",o),l&130&&O(e,"sticky",n[7])},i:p,o:p,d(n){n&&L(e),i[9](null)}}}function _n(i,e,t){let r;const[a,o]=X("Table variant",["normal","relaxed"],!0);let{width:n=""}=e,{stickyheader:l="false"}=e,{variant:c="normal"}=e,{mt:s=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:h=null}=e,_;W(()=>{o(c),y();const w=_.querySelector("slot");if(!w||w.assignedElements().length===0)return;const v=w.assignedElements()[0].querySelectorAll("template table > *");_.append(...v.length>0?v:w.assignedElements())});async function y(){await ge();const w=_.querySelectorAll("goa-table-sort-header");w.forEach(v=>{v.addEventListener("click",()=>{const C=v.getAttribute("name");let N;w.forEach(I=>{if(I.getAttribute("name")===C){const A=I.getAttribute("direction")==="desc"?"asc":"desc";N=A==="asc"?1:-1,I.setAttribute("direction",A)}else I.setAttribute("direction","none")}),v.dispatchEvent(new CustomEvent("_sort",{composed:!0,bubbles:!1,cancelable:!0,detail:{sortBy:C,sortDir:N}}))})})}function k(w){$[w?"unshift":"push"](()=>{_=w,t(6,_)})}return i.$$set=w=>{"width"in w&&t(0,n=w.width),"stickyheader"in w&&t(8,l=w.stickyheader),"variant"in w&&t(1,c=w.variant),"mt"in w&&t(2,s=w.mt),"mr"in w&&t(3,d=w.mr),"mb"in w&&t(4,f=w.mb),"ml"in w&&t(5,h=w.ml)},i.$$.update=()=>{i.$$.dirty&256&&t(7,r=Q(l))},[n,c,s,d,f,h,_,r,l,k]}class kn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{overflow-x:auto}table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{font:var(--goa-typography-body-m);padding:0.75rem 1rem;border-bottom:1px solid var(--goa-color-greyscale-200)}table .goa-table-number-column{font:var(--goa-typography-number-m);text-align:right}table.relaxed td{padding:1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700);vertical-align:bottom}th:has(goa-table-sort-header){padding:0}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},_n,wn,B,{width:0,stickyheader:8,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),g()}get stickyheader(){return this.$$.ctx[8]}set stickyheader(e){this.$$set({stickyheader:e}),g()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),g()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),g()}}customElements.define("goa-table",kn);function pn(i){let e,t;return{c(){e=b("img"),u(e,"alt",i[0]),u(e,"class",i[0]),xe(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjE2IgogICBoZWlnaHQ9IjIyIgogICB2aWV3Qm94PSIwIDAgMTYgMjIiCiAgIGZpbGw9Im5vbmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEwNjgiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEwNzIiIC8+CiAgPHBhdGgKICAgICBkPSJtIDAuNTk0Mzc0NzEsNy45MDkwOTkgNi41NTIxODc5OSw3LjY0NjI1IGMgMC4xMDU2MSwwLjEyMzE4IDAuMjM2NjIsMC4yMjIwNiAwLjM4NDA0LDAuMjg5ODUgMC4xNDc0MiwwLjA2Nzc5IDAuMzA3NzYsMC4xMDI4OSAwLjQ3MDAyLDAuMTAyODkgMC4xNjIyNiwwIDAuMzIyNiwtMC4wMzUxIDAuNDcwMDIsLTAuMTAyODkgMC4xNDc0MiwtMC4wNjc3OSAwLjI3ODQzLC0wLjE2NjY3IDAuMzg0MDQsLTAuMjg5ODUgbCA2LjU1MjE4MDMsLTcuNjQ2MjUgYyAwLjYyNTMsLTAuNzI5ODQgMC4xMDY5LC0xLjg1NzE4OCAtMC44NTQxLC0xLjg1NzE4OCBIIDEuNDQ2NTYyNyBjIC0wLjk2MDkzNzk5LDAgLTEuNDc5Mzc1NjksMS4xMjczNDggLTAuODUyMTg3OTksMS44NTcxODggeiIKICAgICBmaWxsPSIjMDA3MGM0IgogICAgIGlkPSJwYXRoMTA2NiIgLz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,a){x(r,e,a)},p(r,a){a&1&&u(e,"alt",r[0]),a&1&&u(e,"class",r[0])},d(r){r&&L(e)}}}function xn(i){let e,t;return{c(){e=b("img"),u(e,"alt","not sorted"),xe(e.src,t="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMTUuMzU5ODg3IgogICBoZWlnaHQ9IjIxLjg0NDI1IgogICB2aWV3Qm94PSIwIDAgNC4wNjM5NzAxIDUuNzc5NjI0NCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNTE3IgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM1MTQiIC8+CiAgPGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05LjM0NTE0MDMsLTguNzQ0OTg2NikiPgogICAgPHBhdGgKICAgICAgIGQ9Im0gOS40MTc3Njg0LDEyLjM5NzYzMSAxLjczMzU5ODYsMi4wMjMwNyBjIDAuMDI3OTQsMC4wMzI1OSAwLjA2MjYxLDAuMDU4NzUgMC4xMDE2MTEsMC4wNzY2OSAwLjAzOSwwLjAxNzk0IDAuMDgxNDMsMC4wMjcyMiAwLjEyNDM1OSwwLjAyNzIyIDAuMDQyOTMsMCAwLjA4NTM1LC0wLjAwOTMgMC4xMjQzNiwtMC4wMjcyMiAwLjAzOSwtMC4wMTc5NCAwLjA3MzY3LC0wLjA0NDEgMC4xMDE2MSwtMC4wNzY2OSBsIDEuNzMzNTk4LC0yLjAyMzA3IGMgMC4xNjU0NDQsLTAuMTkzMTA0IDAuMDI4MjgsLTAuNDkxMzgxIC0wLjIyNTk4MSwtMC40OTEzODEgSCA5LjY0MzI0MjQgYyAtMC4yNTQyNDgsMCAtMC4zOTE0MTgsMC4yOTgyNzcgLTAuMjI1NDc0LDAuNDkxMzgxIHoiCiAgICAgICBmaWxsPSIjYWRhZGFkIgogICAgICAgaWQ9InBhdGgzMzUiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gMTMuMzM2NDk0LDEwLjg3MTk2OCAxMS42MDI4ODksOC44NDg4OTY2IGMgLTAuMDI3OTQsLTAuMDMyNTkgLTAuMDYyNjEsLTAuMDU4NzUgLTAuMTAxNjExLC0wLjA3NjY5IC0wLjAzOSwtMC4wMTc5NCAtMC4wODE0MywtMC4wMjcyMiAtMC4xMjQzNTksLTAuMDI3MjIgLTAuMDQyOTMsMCAtMC4wODUzNSwwLjAwOTMgLTAuMTI0MzYsMC4wMjcyMiAtMC4wMzkwMSwwLjAxNzk0IC0wLjA3MzY3LDAuMDQ0MSAtMC4xMDE2MTMsMC4wNzY2OSBMIDkuNDE3MzQ3MSwxMC44NzE5NjggYyAtMC4xNjU0NDcsMC4xOTMxMDMgLTAuMDI4MjgsMC40OTEzNzkgMC4yMjU5NzEsMC40OTEzNzkgaCAzLjQ2NzY5NzkgYyAwLjI1NDIzOCwwIDAuMzkxNDI1LC0wLjI5ODI3NiAwLjIyNTQ3OCwtMC40OTEzNzkgeiIKICAgICAgIGZpbGw9IiNhZGFkYWQiCiAgICAgICBpZD0icGF0aDIiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogIDwvZz4KPC9zdmc+Cg==")||u(e,"src",t)},m(r,a){x(r,e,a)},p,d(r){r&&L(e)}}}function zn(i){let e,t,r;function a(l,c){return l[0]==="none"?xn:pn}let o=a(i),n=o(i);return{c(){e=b("button"),t=b("slot"),r=H(),n.c(),this.c=p},m(l,c){x(l,e,c),m(e,t),m(e,r),n.m(e,null)},p(l,[c]){o===(o=a(l))&&n?n.p(l,c):(n.d(1),n=o(l),n&&(n.c(),n.m(e,null)))},i:p,o:p,d(l){l&&L(e),n.d()}}}function Mn(i,e,t){let{direction:r="none"}=e;return i.$$set=a=>{"direction"in a&&t(0,r=a.direction)},[r]}class Cn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:flex-end}button{border:none;background:none;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;padding:1rem;width:100%;height:100%;text-align:left;gap:0.25rem;align-items:flex-end;justify-content:stretch}button *{align-self:flex-end}img{width:16px;height:22px;scale:0.7}button:hover{background-color:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-default)}img.asc{transform:rotate(180deg)}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},Mn,zn,B,{direction:0},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["direction"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),g()}}customElements.define("goa-table-sort-header",Cn);function En(i){let e,t,r,a,o,n,l;return{c(){e=b("div"),t=b("textarea"),a=H(),this.c=p,u(t,"name",i[0]),u(t,"placeholder",i[2]),t.value=i[1],u(t,"rows",i[3]),u(t,"aria-label",r=i[6]||i[0]),u(t,"class","goa-textarea"),t.disabled=i[12],t.readOnly=i[13],u(t,"data-testid",i[4]),O(t,"error",i[14]),u(e,"class","container"),u(e,"style",o=`
|
|
109
|
-
${Z(i[7],i[8],i[9],i[10])};
|
|
110
|
-
--width: ${i[5]};
|
|
111
|
-
`)},m(c,s){x(c,e,s),m(e,t),m(e,a),n||(l=F(t,"keyup",i[15]),n=!0)},p(c,[s]){s&1&&u(t,"name",c[0]),s&4&&u(t,"placeholder",c[2]),s&2&&(t.value=c[1]),s&8&&u(t,"rows",c[3]),s&65&&r!==(r=c[6]||c[0])&&u(t,"aria-label",r),s&4096&&(t.disabled=c[12]),s&8192&&(t.readOnly=c[13]),s&16&&u(t,"data-testid",c[4]),s&16384&&O(t,"error",c[14]),s&1952&&o!==(o=`
|
|
112
|
-
${Z(c[7],c[8],c[9],c[10])};
|
|
113
|
-
--width: ${c[5]};
|
|
114
|
-
`)&&u(e,"style",o)},i:p,o:p,d(c){c&&L(e),n=!1,l()}}}function An(i,e,t){let r,a,o,{name:n}=e,{value:l=""}=e,{placeholder:c=""}=e,{rows:s=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:_="false"}=e,{disabled:y="false"}=e,{arialabel:k=""}=e,{mt:w=null}=e,{mr:v=null}=e,{mb:C=null}=e,{ml:N=null}=e,{maxcharcount:I=0}=e;function M(A){const D=A.target.value;a||(A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:A,name:n,value:D}})),A.stopPropagation())}return i.$$set=A=>{"name"in A&&t(0,n=A.name),"value"in A&&t(1,l=A.value),"placeholder"in A&&t(2,c=A.placeholder),"rows"in A&&t(3,s=A.rows),"testid"in A&&t(4,d=A.testid),"width"in A&&t(5,f=A.width),"error"in A&&t(16,h=A.error),"readonly"in A&&t(17,_=A.readonly),"disabled"in A&&t(18,y=A.disabled),"arialabel"in A&&t(6,k=A.arialabel),"mt"in A&&t(7,w=A.mt),"mr"in A&&t(8,v=A.mr),"mb"in A&&t(9,C=A.mb),"ml"in A&&t(10,N=A.ml),"maxcharcount"in A&&t(11,I=A.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(14,r=Q(h)),i.$$.dirty&262144&&t(12,a=Q(y)),i.$$.dirty&131072&&t(13,o=Q(_))},[n,l,c,s,d,f,k,w,v,C,N,I,a,o,r,M,h,_,y]}class Ln extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:0.75rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;border:1px solid var(--goa-color-greyscale-700);border-radius:3px;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%;resize:vertical}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.goa-textarea:disabled,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--goa-font-size-2)}.counter-error{color:var(--goa-color-interactive-error)
|
|
115
|
-
}.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-s) var(--goa-color-interactive-error)}.error:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error:active,.error:focus{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},An,En,B,{name:0,value:1,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","mt","mr","mb","ml","maxcharcount"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),g()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),g()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),g()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),g()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),g()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),g()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),g()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),g()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),g()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),g()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),g()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),g()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),g()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),g()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),g()}}customElements.define("goa-textarea",Ln);function Tn(i){let e;return{c(){e=b("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
116
|
-
|
|
117
|
-
<nav class="nav"><slot name="nav"></slot></nav>
|
|
118
|
-
|
|
119
|
-
<main><slot></slot></main>
|
|
120
|
-
|
|
121
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=p,u(e,"class","page")},m(t,r){x(t,e,r)},p,i:p,o:p,d(t){t&&L(e)}}}class In extends P{constructor(e){super();this.shadowRoot.innerHTML=`<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
122
|
-
"content"
|
|
123
|
-
"nav"
|
|
124
|
-
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
125
|
-
"nav content"
|
|
126
|
-
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`,Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Tn,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",In);function Nn(i){let e;return{c(){e=b("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
127
|
-
|
|
128
|
-
<main><slot></slot></main>
|
|
129
|
-
|
|
130
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=p,u(e,"class","page")},m(t,r){x(t,e,r)},p,i:p,o:p,d(t){t&&L(e)}}}class Dn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>.page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},null,Nn,B,{},null),e&&e.target&&x(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",Dn);function Hn(i){let e,t,r,a,o,n,l;return{c(){e=b("div"),t=b("header"),t.innerHTML='<slot name="header"></slot>',r=H(),a=b("section"),a.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
131
|
-
|
|
132
|
-
<main><slot></slot></main>`,o=H(),n=b("footer"),n.innerHTML='<slot name="footer"></slot>',this.c=p,u(t,"class","header"),u(a,"class","content"),u(n,"class","footer"),u(e,"class","page"),u(e,"style",l=`
|
|
133
|
-
--max-content-width: ${i[1]||"100%"};
|
|
134
|
-
--nav-column-width: ${i[0]||"256px"};
|
|
135
|
-
`)},m(c,s){x(c,e,s),m(e,t),m(e,r),m(e,a),m(e,o),m(e,n)},p(c,[s]){s&3&&l!==(l=`
|
|
136
|
-
--max-content-width: ${c[1]||"100%"};
|
|
137
|
-
--nav-column-width: ${c[0]||"256px"};
|
|
138
|
-
`)&&u(e,"style",l)},i:p,o:p,d(c){c&&L(e)}}}function jn(i,e,t){let{navcolumnwidth:r=""}=e,{maxcontentwidth:a=""}=e;return i.$$set=o=>{"navcolumnwidth"in o&&t(0,r=o.navcolumnwidth),"maxcontentwidth"in o&&t(1,a=o.maxcontentwidth)},[r,a]}class Rn extends P{constructor(e){super();this.shadowRoot.innerHTML="<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--goa-color-greyscale-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>",Y(this,{target:this.shadowRoot,props:G(this.attributes),customElement:!0},jn,Hn,B,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&x(e.target,this,e.anchor),e.props&&(this.$set(e.props),g()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),g()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),g()}}customElements.define("goa-two-column-layout",Rn)});
|