@abgov/web-components 1.16.0-alpha.1 → 1.16.0-alpha.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/web-components",
3
- "version": "1.16.0-alpha.1",
3
+ "version": "1.16.0-alpha.2",
4
4
  "description": "Government of Alberta - UI Web components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/GovAlta/ui-components/issues"
@@ -12991,7 +12991,7 @@ class Modal extends SvelteElement {
12991
12991
  constructor(options) {
12992
12992
  super();
12993
12993
  const style = document.createElement('style');
12994
- style.textContent = `: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:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}}.modal-pane{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)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}@media screen and (max-width: 623px){.modal-pane{max-width:var(--maxwidth)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.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)}`;
12994
+ style.textContent = `: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:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}@media screen and (min-width: 1024px){.modal-pane{max-width:var(--maxwidth)}}.modal-pane{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)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.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)}`;
12995
12995
  this.shadowRoot.appendChild(style);
12996
12996
 
12997
12997
  init(
@@ -85,7 +85,7 @@ var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@im
85
85
  center center no-repeat}`,this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},sl,al,X,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:34,handletrailingiconclick:35,focused:36,readonly:37,error:38,testid:8,width:9,arialabel:10,arialabelledby:11,min:12,max:13,step:14,prefix:15,suffix:16,debounce:39,maxlength:17,id:18,mt:19,mr:20,mb:21,ml:22},null,[-1,-1]),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","name","value","autocapitalize","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width","arialabel","arialabelledby","min","max","step","prefix","suffix","debounce","maxlength","id","mt","mr","mb","ml"]}get type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),m()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),m()}get autocapitalize(){return this.$$.ctx[3]}set autocapitalize(e){this.$$set({autocapitalize:e}),m()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),m()}get leadingicon(){return this.$$.ctx[5]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get trailingicon(){return this.$$.ctx[6]}set trailingicon(e){this.$$set({trailingicon:e}),m()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),m()}get disabled(){return this.$$.ctx[34]}set disabled(e){this.$$set({disabled:e}),m()}get handletrailingiconclick(){return this.$$.ctx[35]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),m()}get focused(){return this.$$.ctx[36]}set focused(e){this.$$set({focused:e}),m()}get readonly(){return this.$$.ctx[37]}set readonly(e){this.$$set({readonly:e}),m()}get error(){return this.$$.ctx[38]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[8]}set testid(e){this.$$set({testid:e}),m()}get width(){return this.$$.ctx[9]}set width(e){this.$$set({width:e}),m()}get arialabel(){return this.$$.ctx[10]}set arialabel(e){this.$$set({arialabel:e}),m()}get arialabelledby(){return this.$$.ctx[11]}set arialabelledby(e){this.$$set({arialabelledby:e}),m()}get min(){return this.$$.ctx[12]}set min(e){this.$$set({min:e}),m()}get max(){return this.$$.ctx[13]}set max(e){this.$$set({max:e}),m()}get step(){return this.$$.ctx[14]}set step(e){this.$$set({step:e}),m()}get prefix(){return this.$$.ctx[15]}set prefix(e){this.$$set({prefix:e}),m()}get suffix(){return this.$$.ctx[16]}set suffix(e){this.$$set({suffix:e}),m()}get debounce(){return this.$$.ctx[39]}set debounce(e){this.$$set({debounce:e}),m()}get maxlength(){return this.$$.ctx[17]}set maxlength(e){this.$$set({maxlength:e}),m()}get id(){return this.$$.ctx[18]}set id(e){this.$$set({id:e}),m()}get mt(){return this.$$.ctx[19]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[20]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[21]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[22]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-input",cl);function ur(i){let e,t,r,n,o;return{c(){e=_("div"),t=G("An official site of the "),r=_("a"),n=G("Alberta Government"),u(r,"href","https://www.alberta.ca/index.aspx"),u(r,"target",o=`_${i[4]}`),u(e,"data-testid","type"),u(e,"class","site-text")},m(a,l){C(a,e,l),p(e,t),p(e,r),p(r,n)},p(a,l){l&16&&o!==(o=`_${a[4]}`)&&u(r,"target",o)},d(a){a&&T(e)}}}function fr(i){let e,t=mr(i[0])+"",r,n,o,a,l,s,c,d,f,g=i[2]&&gr(i);return{c(){e=_("div"),r=G(t),o=R(),a=_("div"),l=G("This is a new "),s=_("a"),c=G("Alberta Government"),f=G(` service
86
86
  `),g&&g.c(),u(e,"data-testid","type"),u(e,"class",n="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(s,"target",d=`_${i[4]}`),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(h,b){C(h,e,b),p(e,r),C(h,o,b),C(h,a,b),p(a,l),p(a,s),p(s,c),p(a,f),g&&g.m(a,null)},p(h,b){b&1&&t!==(t=mr(h[0])+"")&&ie(r,t),b&1&&n!==(n="service-type service-type--"+h[0].toLowerCase())&&u(e,"class",n),b&16&&d!==(d=`_${h[4]}`)&&u(s,"target",d),h[2]?g?g.p(h,b):(g=gr(h),g.c(),g.m(a,null)):g&&(g.d(1),g=null)},d(h){h&&T(e),h&&T(o),h&&T(a),g&&g.d()}}}function gr(i){let e,t,r,n,o;return{c(){e=_("span"),t=G("\u2014 help us improve it by giving "),r=_("a"),n=G("feedback"),u(r,"href",i[2]),u(r,"target",o=`_${i[5]}`),u(e,"data-testid","feedback")},m(a,l){C(a,e,l),p(e,t),p(e,r),p(r,n)},p(a,l){l&4&&u(r,"href",a[2]),l&32&&o!==(o=`_${a[5]}`)&&u(r,"target",o)},d(a){a&&T(e)}}}function hr(i){let e,t;return{c(){e=_("div"),t=G(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(r,n){C(r,e,n),p(e,t)},p(r,n){n&2&&ie(t,r[1])},d(r){r&&T(e)}}}function dl(i){let e,t,r,n=["alpha","beta"].includes(i[0]),o,a,l,s,c=i[0]==="live"&&ur(i),d=n&&fr(i),f=i[1]&&hr(i);return{c(){e=_("header"),t=_("div"),c&&c.c(),r=R(),d&&d.c(),o=R(),a=_("div"),l=R(),f&&f.c(),this.c=z,u(a,"class","spacer"),u(t,"class","content-container"),u(e,"class","goa-official-site-header"),u(e,"style",s=`--max-content-width: ${i[3]}`)},m(g,h){C(g,e,h),p(e,t),c&&c.m(t,null),p(t,r),d&&d.m(t,null),p(t,o),p(t,a),p(t,l),f&&f.m(t,null)},p(g,[h]){g[0]==="live"?c?c.p(g,h):(c=ur(g),c.c(),c.m(t,r)):c&&(c.d(1),c=null),h&1&&(n=["alpha","beta"].includes(g[0])),n?d?d.p(g,h):(d=fr(g),d.c(),d.m(t,o)):d&&(d.d(1),d=null),g[1]?f?f.p(g,h):(f=hr(g),f.c(),f.m(t,null)):f&&(f.d(1),f=null),h&8&&s!==(s=`--max-content-width: ${g[3]}`)&&u(e,"style",s)},i:z,o:z,d(g){g&&T(e),c&&c.d(),d&&d.d(),f&&f.d()}}}function mr(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function ul(i,e,t){const[r,n]=fe("Microsite header type",["live","alpha","beta"],!0);let{type:o}=e,{version:a=""}=e,{feedbackurl:l=""}=e,{maxcontentwidth:s="100%"}=e,{headerurltarget:c="blank"}=e,{feedbackurltarget:d="blank"}=e;const[f,g]=fe("URL target values",["self","blank"]);return ne(()=>{setTimeout(()=>n(o),1),g(c),g(d)}),i.$$set=h=>{"type"in h&&t(0,o=h.type),"version"in h&&t(1,a=h.version),"feedbackurl"in h&&t(2,l=h.feedbackurl),"maxcontentwidth"in h&&t(3,s=h.maxcontentwidth),"headerurltarget"in h&&t(4,c=h.headerurltarget),"feedbackurltarget"in h&&t(5,d=h.feedbackurltarget)},[o,a,l,s,c,d]}class fl extends K{constructor(e){super();const t=document.createElement("style");t.textContent=`: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}a[target="_blank"]::after{content:"";width:var(--goa-icon-size-s);height:var(--goa-icon-size-s);background-color:var(--goa-color-interactive-default);display:inline-block;margin-left:var(--goa-space-2xs);vertical-align:sub;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22ionicon%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M384%20224v184a40%2040%200%200%201-40%2040H104a40%2040%200%200%201-40-40V168a40%2040%200%200%201%2040-40h167.48M336%2064h112v112M224%20288%20440%2072%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%2232%22%2F%3E%3C%2Fsvg%3E")
87
87
  center bottom no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20class%3D%22ionicon%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M384%20224v184a40%2040%200%200%201-40%2040H104a40%2040%200%200%201-40-40V168a40%2040%200%200%201%2040-40h167.48M336%2064h112v112M224%20288%20440%2072%22%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%2232%22%2F%3E%3C%2Fsvg%3E")
88
- center bottom no-repeat}a[target="_blank"]:hover:after{background-color:var(--goa-color-interactive-hover)}.goa-official-site-header{font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);padding:0.5rem 1rem}.content-container{display:flex;align-items:start;justify-content:space-between;max-width:min(var(--max-content-width), 100%);margin:0 auto}@media screen and (max-width: 623px){@media not (max-color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media screen and (min-width: 1024px){.goa-official-site-header{padding:0.25rem 4.5rem}}.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)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}`,this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},ul,dl,X,{type:0,version:1,feedbackurl:2,maxcontentwidth:3,headerurltarget:4,feedbackurltarget:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","version","feedbackurl","maxcontentwidth","headerurltarget","feedbackurltarget"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),m()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),m()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get headerurltarget(){return this.$$.ctx[4]}set headerurltarget(e){this.$$set({headerurltarget:e}),m()}get feedbackurltarget(){return this.$$.ctx[5]}set feedbackurltarget(e){this.$$set({feedbackurltarget:e}),m()}}customElements.define("goa-microsite-header",fl);function br(i){let e,t,r,n,o,a,l,s,c,d,f,g,h,b,y,w,v,H,S,P,E,x,L,M,D=i[3]!==null&&vr(i);function O(A,U){return A[1]?hl:gl}let F=O(i),re=F(i),N=i[9]&&pr(i);return{c(){e=_("goa-focus-trap"),t=_("div"),r=_("div"),n=R(),o=_("div"),D&&D.c(),a=R(),l=_("div"),s=_("header"),c=_("div"),re.c(),d=R(),N&&N.c(),f=R(),g=_("div"),h=_("goa-scrollable"),h.innerHTML="<slot></slot>",b=R(),y=_("div"),y.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),k(h,"direction","vertical"),k(h,"hpadding","1.9rem"),k(h,"maxheight","70vh"),u(g,"data-testid","modal-content"),u(g,"class","modal-content"),u(y,"class","modal-actions"),u(y,"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",H=`--maxwidth: ${i[0]};`),k(e,"open",i[2])},m(A,U){C(A,e,U),p(e,t),p(t,r),p(t,n),p(t,o),D&&D.m(o,null),p(o,a),p(o,l),p(l,s),p(s,c),re.m(c,null),p(s,d),N&&N.m(s,null),i[17](s),p(l,f),p(l,g),p(g,h),i[18](h),i[19](g),p(l,b),p(l,y),i[20](t),x=!0,L||(M=[Z(r,"click",i[12]),Z(h,"_scroll",i[13]),oi(S=Oi.call(null,t,{enable:i[7]}))],L=!0)},p(A,U){i=A,i[3]!==null?D?D.p(i,U):(D=vr(i),D.c(),D.m(o,a)):D&&(D.d(1),D=null),F===(F=O(i))&&re?re.p(i,U):(re.d(1),re=F(i),re&&(re.c(),re.m(c,null))),i[9]?N?N.p(i,U):(N=pr(i),N.c(),N.m(s,null)):N&&(N.d(1),N=null),(!x||U&1&&H!==(H=`--maxwidth: ${i[0]};`))&&u(t,"style",H),S&&je(S.update)&&U&128&&S.update.call(null,{enable:i[7]}),(!x||U&4)&&k(e,"open",i[2])},i(A){x||(Pe(()=>{!x||(v&&v.end(1),w=hi(o,Ri,{duration:i[11],y:200}),w.start())}),Pe(()=>{!x||(E&&E.end(1),P=hi(t,lt,{duration:i[11]}),P.start())}),x=!0)},o(A){w&&w.invalidate(),v=mi(o,Ri,{delay:i[11],duration:i[11],y:-100}),P&&P.invalidate(),E=mi(t,lt,{delay:i[11],duration:i[11]}),x=!1},d(A){A&&T(e),D&&D.d(),re.d(),N&&N.d(),i[17](null),i[18](null),i[19](null),A&&v&&v.end(),i[20](null),A&&E&&E.end(),L=!1,ke(M)}}}function vr(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon"),k(t,"type",i[10]),k(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(o,a){C(o,e,a),p(e,t)},p(o,a){a&1024&&k(t,"type",o[10]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&k(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&u(e,"class",n)},d(o){o&&T(e)}}}function gl(i){let e;return{c(){e=_("slot"),u(e,"name","heading")},m(t,r){C(t,e,r)},p:z,d(t){t&&T(e)}}}function hl(i){let e;return{c(){e=G(i[1])},m(t,r){C(t,e,r)},p(t,r){r&2&&ie(e,t[1])},d(t){t&&T(e)}}}function pr(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"data-testid","modal-close-button"),k(t,"icon","close"),k(t,"variant","nocolor"),u(e,"class","modal-close")},m(o,a){C(o,e,a),p(e,t),r||(n=Z(t,"click",i[12]),r=!0)},p:z,d(o){o&&T(e),r=!1,n()}}}function ml(i){let e,t,r=i[7]&&br(i);return{c(){r&&r.c(),e=Se(),this.c=z},m(n,o){r&&r.m(n,o),C(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&se(r,1)):(r=br(n),r.c(),se(r,1),r.m(e.parentNode,e)):r&&(Ze(),pe(r,1,1,()=>{r=null}),Ge())},i(n){t||(se(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function bl(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{calloutvariant:d=null}=e,{maxwidth:f="60ch"}=e,{width:g=""}=e,h=null,b=null,y=null,w=null;const[v,H]=fe("Callout variant",["emergency","important","information","success","event"]),[S,P]=fe("Modal transition",["fast","slow","none"]);let E=!1;ne(async()=>{await Ce(),H(d),P(c),g&&(t(0,f=g),console.warn("`width` is deprecated. Please use `maxwidth` instead."))});function x(A){!r||(h?.dispatchEvent(new CustomEvent("_close",{composed:!0})),A.stopPropagation())}const L=A=>{switch(A.key){case"Escape":x(A),A.preventDefault();break}};function M(A){const U=A.detail.scrollHeight>A.detail.offsetHeight;if(E&&U){const Y=A.detail.scrollTop==0,te=Math.abs(A.detail.scrollHeight-A.detail.scrollTop-A.detail.offsetHeight)<1;b.classList.remove("scroll-top","scroll-bottom","scroll-middle"),Y?b.classList.add("scroll-top"):te?b.classList.add("scroll-bottom"):b.classList.add("scroll-middle")}}function D(){const A=w.querySelector("slot");return A?[...A.assignedElements()]:[...w.children]}function O(A){$[A?"unshift":"push"](()=>{w=A,t(6,w),t(7,E),t(2,s)})}function F(A){$[A?"unshift":"push"](()=>{y=A,t(5,y),t(7,E),t(2,s)})}function re(A){$[A?"unshift":"push"](()=>{b=A,t(4,b),t(7,E),t(2,s)})}function N(A){$[A?"unshift":"push"](()=>{h=A,t(8,h),t(7,E),t(2,s)})}return i.$$set=A=>{"heading"in A&&t(1,a=A.heading),"closable"in A&&t(14,l=A.closable),"open"in A&&t(2,s=A.open),"transition"in A&&t(15,c=A.transition),"calloutvariant"in A&&t(3,d=A.calloutvariant),"maxwidth"in A&&t(0,f=A.maxwidth),"width"in A&&t(16,g=A.width)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=ae(l)),i.$$.dirty&4&&setTimeout(()=>t(7,E=ae(s)),1),i.$$.dirty&128&&(E||(t(4,b=t(5,y=t(8,h=t(6,w=null)))),window.removeEventListener("keydown",L))),i.$$.dirty&176&&E&&y&&b&&y.scrollHeight>y.offsetHeight&&b.classList.add("scroll-top"),i.$$.dirty&208&&E&&b){window.addEventListener("keydown",L);const A=D();(w.querySelector("div.modal-title").textContent||w.querySelector("div.modal-close")||A.length)&&w.classList.add("has-content")}i.$$.dirty&32768&&t(11,n=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,o=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[f,a,s,d,b,y,w,E,h,r,o,n,x,M,l,c,g,O,F,re,N]}class vl extends K{constructor(e){super();const t=document.createElement("style");t.textContent=":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:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}}.modal-pane{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)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}@media screen and (max-width: 623px){.modal-pane{max-width:var(--maxwidth)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.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)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},bl,ml,X,{heading:1,closable:14,open:2,transition:15,calloutvariant:3,maxwidth:0,width:16},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","closable","open","transition","calloutvariant","maxwidth","width"]}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),m()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),m()}get open(){return this.$$.ctx[2]}set open(e){this.$$set({open:e}),m()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),m()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),m()}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),m()}get width(){return this.$$.ctx[16]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-modal",vl);function wr(i){let e,t,r,n,o,a,l,s,c,d,f,g,h,b,y,w,v,H;return{c(){e=_("div"),t=_("div"),r=_("div"),n=_("goa-icon"),a=R(),l=_("div"),l.innerHTML="<slot></slot>",s=R(),c=_("div"),d=_("button"),f=_("goa-icon"),k(n,"type",i[4]),k(n,"inverted",o=i[0]==="important"?"false":"true"),u(r,"class","icon"),u(l,"class","content"),k(f,"type","close"),k(f,"inverted",g=i[0]==="important"?"false":"true"),u(d,"class",i[0]),u(c,"class","close"),u(t,"class","content-container"),u(t,"role","alert"),u(t,"aria-live",i[2]),u(t,"aria-atomic","true"),u(e,"class",h="notification "+i[0]),u(e,"style",b=`--max-content-width: ${i[1]}`)},m(S,P){C(S,e,P),p(e,t),p(t,r),p(r,n),p(t,a),p(t,l),p(t,s),p(t,c),p(c,d),p(d,f),w=!0,v||(H=Z(d,"click",i[5]),v=!0)},p(S,P){(!w||P&16)&&k(n,"type",S[4]),(!w||P&1&&o!==(o=S[0]==="important"?"false":"true"))&&k(n,"inverted",o),(!w||P&1&&g!==(g=S[0]==="important"?"false":"true"))&&k(f,"inverted",g),(!w||P&1)&&u(d,"class",S[0]),(!w||P&4)&&u(t,"aria-live",S[2]),(!w||P&1&&h!==(h="notification "+S[0]))&&u(e,"class",h),(!w||P&2&&b!==(b=`--max-content-width: ${S[1]}`))&&u(e,"style",b)},i(S){w||(Pe(()=>{!w||(y||(y=Rt(e,lt,{},!0)),y.run(1))}),w=!0)},o(S){y||(y=Rt(e,lt,{},!1)),y.run(0),w=!1},d(S){S&&T(e),S&&y&&y.end(),v=!1,H()}}}function pl(i){let e,t,r=i[3]&&wr(i);return{c(){r&&r.c(),e=Se(),this.c=z},m(n,o){r&&r.m(n,o),C(n,e,o),t=!0},p(n,[o]){n[3]?r?(r.p(n,o),o&8&&se(r,1)):(r=wr(n),r.c(),se(r,1),r.m(e.parentNode,e)):r&&(Ze(),pe(r,1,1,()=>{r=null}),Ge())},i(n){t||(se(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function wl(i,e,t){let r;const[n,o]=fe("Notification type",["emergency","important","information","event"],!0),[a,l]=fe("Aria-Live type",["assertive","off","polite"],!0);let{type:s=""}=e,{maxcontentwidth:c="100%"}=e,{arialive:d="polite"}=e,f=!0;ne(()=>{l(d),setTimeout(()=>o(s),1)});function g(h){t(3,f=!1),h.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),h.stopPropagation()}return i.$$set=h=>{"type"in h&&t(0,s=h.type),"maxcontentwidth"in h&&t(1,c=h.maxcontentwidth),"arialive"in h&&t(2,d=h.arialive)},i.$$.update=()=>{i.$$.dirty&1&&t(4,r=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="event"?"calendar":"")},[s,c,d,f,r,g]}class _l extends K{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:var(--goa-space-l) var(--goa-space-m);display:flex}@media screen and (max-width: 623px){@media not (max-color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media screen and (min-width: 1024px){.notification{padding:var(--goa-space-l) calc(3 * var(--goa-space-l))}}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.information,.event{background-color:var(--goa-color-info-default);color:var(--goa-color-text-light)}.icon{flex:0 0 auto}.content-container{display:flex;flex-direction:row;flex:1 1 auto;gap:var(--goa-space-m);margin:0 auto;max-width:min(var(--max-content-width), 100%)}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}::slotted(a:focus){outline:auto!important;border-radius:var(--goa-border-radius-m)}.notification.important ::slotted(a:focus){outline:unset!important;box-shadow:0 0 0 3px var(--goa-color-greyscale-black);border-radius:var(--goa-border-radius-m)}.close{flex:0 0 auto}.close button{background-color:transparent;border:none;cursor:pointer;padding:var(--goa-space-2xs);margin:0;outline:none;border-radius:var(--goa-border-radius-m);display:inline-flex}.close button.information:hover,.close button.information:focus,.close button.event:hover,.close button.event:focus{background-color:var(--goa-color-info-dark)}.close button.information:focus,.close button.event:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}.close button.important:hover,.close button.important:focus{background-color:var(--goa-color-warning-dark)}.close button.important:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-black)}.close button.emergency:hover,.close button.emergency:focus{background-color:var(--goa-color-emergency-dark)}.close button.emergency:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},wl,pl,X,{type:0,maxcontentwidth:1,arialive:2},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","maxcontentwidth","arialive"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get arialive(){return this.$$.ctx[2]}set arialive(e){this.$$set({arialive:e}),m()}}customElements.define("goa-notification",_l);const yl=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function kl(i){return yl.test(i)}function Cl(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=z,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){C(n,e,o),p(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:z,o:z,d(n){n&&T(e)}}}function xl(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||kl(l))}return ne(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class El extends K{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1rem}@media screen and (max-width: 623px){@media not (max-color:2147477350){.page-content{padding:0 2rem}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.page-content{padding:0 2rem}}}@media screen and (min-width: 1024px){.page-content{padding:0 4.5rem}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},xl,Cl,X,{width:1,_width:0},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),m()}}customElements.define("goa-page-block",El);function _r(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function yr(i){let e,t,r,n,o,a,l,s,c,d,f={length:i[8]},g=[];for(let h=0;h<f.length;h+=1)g[h]=kr(_r(i,f,h));return{c(){e=_("goa-block"),t=_("span"),t.textContent="Page",r=R(),n=_("input"),o=R(),a=_("goa-dropdown");for(let h=0;h<g.length;h+=1)g[h].c();l=R(),s=_("span"),c=G("of "),d=G(i[8]),u(n,"type","hidden"),k(a,"value",i[0]),k(a,"width","70px"),k(e,"data-testid","page-selector"),k(e,"alignment","center"),k(e,"gap","s")},m(h,b){C(h,e,b),p(e,t),p(e,r),p(e,n),i[12](n),p(e,o),p(e,a);for(let y=0;y<g.length;y+=1)g[y]&&g[y].m(a,null);i[13](a),p(e,l),p(e,s),p(s,c),p(s,d)},p(h,b){if(b&256){f={length:h[8]};let y;for(y=0;y<f.length;y+=1){const w=_r(h,f,y);g[y]?g[y].p(w,b):(g[y]=kr(w),g[y].c(),g[y].m(a,null))}for(;y<g.length;y+=1)g[y].d(1);g.length=f.length}b&1&&k(a,"value",h[0]),b&256&&ie(d,h[8])},d(h){h&&T(e),i[12](null),Be(g,h),i[13](null)}}}function kr(i){let e;return{c(){e=_("goa-dropdown-item"),k(e,"value",i[20]+1),k(e,"label",i[20]+1)},m(t,r){C(t,e,r)},p:z,d(t){t&&T(e)}}}function Ml(i){let e,t,r,n,o,a,l,s,c,d,f,g,h,b=i[1]==="all"&&yr(i);return{c(){e=_("goa-block"),t=_("div"),b&&b.c(),r=R(),n=_("goa-block"),o=_("goa-button"),a=G("Previous"),s=R(),c=_("goa-button"),d=G("Next"),this.c=z,k(o,"type","tertiary"),k(o,"leadingicon","arrow-back"),k(o,"disabled",l=i[0]==1?"true":"false"),k(c,"type","tertiary"),k(c,"trailingicon","arrow-forward"),k(c,"disabled",f=i[0]==i[8]?"true":"false"),k(n,"alignment","center"),k(n,"gap","m"),k(n,"data-testid","page-links"),u(t,"class","controls"),k(e,"id","root"),k(e,"ml",i[5]),k(e,"mr",i[3]),k(e,"mb",i[4]),k(e,"mt",i[2])},m(y,w){C(y,e,w),p(e,t),b&&b.m(t,null),p(t,r),p(t,n),p(n,o),p(o,a),p(n,s),p(n,c),p(c,d),g||(h=[Z(o,"click",i[14]),Z(c,"click",i[15])],g=!0)},p(y,[w]){y[1]==="all"?b?b.p(y,w):(b=yr(y),b.c(),b.m(t,r)):b&&(b.d(1),b=null),w&1&&l!==(l=y[0]==1?"true":"false")&&k(o,"disabled",l),w&257&&f!==(f=y[0]==y[8]?"true":"false")&&k(c,"disabled",f),w&32&&k(e,"ml",y[5]),w&8&&k(e,"mr",y[3]),w&16&&k(e,"mb",y[4]),w&4&&k(e,"mt",y[2])},i:z,o:z,d(y){y&&T(e),b&&b.d(),g=!1,ke(h)}}}function zl(i,e,t){let r;const[n,o]=fe("Pagination variant",["all","links-only"]);let{pagenumber:a}=e,{itemcount:l}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:g="m"}=e,{ml:h=null}=e,b=null,y=null;ne(async()=>{await Ce(),_t("GoAPagination",{itemcount:l,pagenumber:a}),o(c),b&&b.addEventListener("_change",E=>{const x=Number.parseInt(E.detail.value);E.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:x}}))})});function w(E,x){const L=Number.parseInt(a+"")+x;L>0&&L<=r&&E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:L}})),E.preventDefault()}function v(E){$[E?"unshift":"push"](()=>{y=E,t(7,y)})}function H(E){$[E?"unshift":"push"](()=>{b=E,t(6,b)})}const S=E=>w(E,-1),P=E=>w(E,1);return i.$$set=E=>{"pagenumber"in E&&t(0,a=E.pagenumber),"itemcount"in E&&t(10,l=E.itemcount),"perpagecount"in E&&t(11,s=E.perpagecount),"variant"in E&&t(1,c=E.variant),"mt"in E&&t(2,d=E.mt),"mr"in E&&t(3,f=E.mr),"mb"in E&&t(4,g=E.mb),"ml"in E&&t(5,h=E.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/s))},[a,c,d,f,g,h,b,y,r,w,l,s,v,H,S,P]}class Cr extends K{constructor(e){super();const t=document.createElement("style");t.textContent="span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media screen and (max-width: 623px){@media not (max-color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},zl,Ml,X,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),m()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),m()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),m()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-pagination",Cr);function xr(i){let e,t,r,n,o,a,l,s,c,d;return{c(){e=_("div"),t=R(),r=_("div"),n=_("section"),o=_("goa-focus-trap"),a=_("div"),a.innerHTML="<slot></slot>",u(e,"data-testid","popover-background"),u(e,"class","popover-background"),k(o,"open","true"),u(n,"data-testid","popover-content"),u(n,"class","popover-content"),u(n,"style",l=`
88
+ center bottom no-repeat}a[target="_blank"]:hover:after{background-color:var(--goa-color-interactive-hover)}.goa-official-site-header{font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);padding:0.5rem 1rem}.content-container{display:flex;align-items:start;justify-content:space-between;max-width:min(var(--max-content-width), 100%);margin:0 auto}@media screen and (max-width: 623px){@media not (max-color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}}@media screen and (min-width: 1024px){.goa-official-site-header{padding:0.25rem 4.5rem}}.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)}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}`,this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},ul,dl,X,{type:0,version:1,feedbackurl:2,maxcontentwidth:3,headerurltarget:4,feedbackurltarget:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","version","feedbackurl","maxcontentwidth","headerurltarget","feedbackurltarget"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),m()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),m()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get headerurltarget(){return this.$$.ctx[4]}set headerurltarget(e){this.$$set({headerurltarget:e}),m()}get feedbackurltarget(){return this.$$.ctx[5]}set feedbackurltarget(e){this.$$set({feedbackurltarget:e}),m()}}customElements.define("goa-microsite-header",fl);function br(i){let e,t,r,n,o,a,l,s,c,d,f,g,h,b,y,w,v,H,S,P,E,x,L,M,D=i[3]!==null&&vr(i);function O(A,U){return A[1]?hl:gl}let F=O(i),re=F(i),N=i[9]&&pr(i);return{c(){e=_("goa-focus-trap"),t=_("div"),r=_("div"),n=R(),o=_("div"),D&&D.c(),a=R(),l=_("div"),s=_("header"),c=_("div"),re.c(),d=R(),N&&N.c(),f=R(),g=_("div"),h=_("goa-scrollable"),h.innerHTML="<slot></slot>",b=R(),y=_("div"),y.innerHTML='<slot name="actions"></slot>',u(r,"data-testid","modal-overlay"),u(r,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),k(h,"direction","vertical"),k(h,"hpadding","1.9rem"),k(h,"maxheight","70vh"),u(g,"data-testid","modal-content"),u(g,"class","modal-content"),u(y,"class","modal-actions"),u(y,"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",H=`--maxwidth: ${i[0]};`),k(e,"open",i[2])},m(A,U){C(A,e,U),p(e,t),p(t,r),p(t,n),p(t,o),D&&D.m(o,null),p(o,a),p(o,l),p(l,s),p(s,c),re.m(c,null),p(s,d),N&&N.m(s,null),i[17](s),p(l,f),p(l,g),p(g,h),i[18](h),i[19](g),p(l,b),p(l,y),i[20](t),x=!0,L||(M=[Z(r,"click",i[12]),Z(h,"_scroll",i[13]),oi(S=Oi.call(null,t,{enable:i[7]}))],L=!0)},p(A,U){i=A,i[3]!==null?D?D.p(i,U):(D=vr(i),D.c(),D.m(o,a)):D&&(D.d(1),D=null),F===(F=O(i))&&re?re.p(i,U):(re.d(1),re=F(i),re&&(re.c(),re.m(c,null))),i[9]?N?N.p(i,U):(N=pr(i),N.c(),N.m(s,null)):N&&(N.d(1),N=null),(!x||U&1&&H!==(H=`--maxwidth: ${i[0]};`))&&u(t,"style",H),S&&je(S.update)&&U&128&&S.update.call(null,{enable:i[7]}),(!x||U&4)&&k(e,"open",i[2])},i(A){x||(Pe(()=>{!x||(v&&v.end(1),w=hi(o,Ri,{duration:i[11],y:200}),w.start())}),Pe(()=>{!x||(E&&E.end(1),P=hi(t,lt,{duration:i[11]}),P.start())}),x=!0)},o(A){w&&w.invalidate(),v=mi(o,Ri,{delay:i[11],duration:i[11],y:-100}),P&&P.invalidate(),E=mi(t,lt,{delay:i[11],duration:i[11]}),x=!1},d(A){A&&T(e),D&&D.d(),re.d(),N&&N.d(),i[17](null),i[18](null),i[19](null),A&&v&&v.end(),i[20](null),A&&E&&E.end(),L=!1,ke(M)}}}function vr(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon"),k(t,"type",i[10]),k(t,"inverted",r=i[3]==="important"?"false":"true"),u(e,"class",n="callout-bar "+i[3])},m(o,a){C(o,e,a),p(e,t)},p(o,a){a&1024&&k(t,"type",o[10]),a&8&&r!==(r=o[3]==="important"?"false":"true")&&k(t,"inverted",r),a&8&&n!==(n="callout-bar "+o[3])&&u(e,"class",n)},d(o){o&&T(e)}}}function gl(i){let e;return{c(){e=_("slot"),u(e,"name","heading")},m(t,r){C(t,e,r)},p:z,d(t){t&&T(e)}}}function hl(i){let e;return{c(){e=G(i[1])},m(t,r){C(t,e,r)},p(t,r){r&2&&ie(e,t[1])},d(t){t&&T(e)}}}function pr(i){let e,t,r,n;return{c(){e=_("div"),t=_("goa-icon-button"),k(t,"data-testid","modal-close-button"),k(t,"icon","close"),k(t,"variant","nocolor"),u(e,"class","modal-close")},m(o,a){C(o,e,a),p(e,t),r||(n=Z(t,"click",i[12]),r=!0)},p:z,d(o){o&&T(e),r=!1,n()}}}function ml(i){let e,t,r=i[7]&&br(i);return{c(){r&&r.c(),e=Se(),this.c=z},m(n,o){r&&r.m(n,o),C(n,e,o),t=!0},p(n,[o]){n[7]?r?(r.p(n,o),o&128&&se(r,1)):(r=br(n),r.c(),se(r,1),r.m(e.parentNode,e)):r&&(Ze(),pe(r,1,1,()=>{r=null}),Ge())},i(n){t||(se(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function bl(i,e,t){let r,n,o,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{calloutvariant:d=null}=e,{maxwidth:f="60ch"}=e,{width:g=""}=e,h=null,b=null,y=null,w=null;const[v,H]=fe("Callout variant",["emergency","important","information","success","event"]),[S,P]=fe("Modal transition",["fast","slow","none"]);let E=!1;ne(async()=>{await Ce(),H(d),P(c),g&&(t(0,f=g),console.warn("`width` is deprecated. Please use `maxwidth` instead."))});function x(A){!r||(h?.dispatchEvent(new CustomEvent("_close",{composed:!0})),A.stopPropagation())}const L=A=>{switch(A.key){case"Escape":x(A),A.preventDefault();break}};function M(A){const U=A.detail.scrollHeight>A.detail.offsetHeight;if(E&&U){const Y=A.detail.scrollTop==0,te=Math.abs(A.detail.scrollHeight-A.detail.scrollTop-A.detail.offsetHeight)<1;b.classList.remove("scroll-top","scroll-bottom","scroll-middle"),Y?b.classList.add("scroll-top"):te?b.classList.add("scroll-bottom"):b.classList.add("scroll-middle")}}function D(){const A=w.querySelector("slot");return A?[...A.assignedElements()]:[...w.children]}function O(A){$[A?"unshift":"push"](()=>{w=A,t(6,w),t(7,E),t(2,s)})}function F(A){$[A?"unshift":"push"](()=>{y=A,t(5,y),t(7,E),t(2,s)})}function re(A){$[A?"unshift":"push"](()=>{b=A,t(4,b),t(7,E),t(2,s)})}function N(A){$[A?"unshift":"push"](()=>{h=A,t(8,h),t(7,E),t(2,s)})}return i.$$set=A=>{"heading"in A&&t(1,a=A.heading),"closable"in A&&t(14,l=A.closable),"open"in A&&t(2,s=A.open),"transition"in A&&t(15,c=A.transition),"calloutvariant"in A&&t(3,d=A.calloutvariant),"maxwidth"in A&&t(0,f=A.maxwidth),"width"in A&&t(16,g=A.width)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,r=ae(l)),i.$$.dirty&4&&setTimeout(()=>t(7,E=ae(s)),1),i.$$.dirty&128&&(E||(t(4,b=t(5,y=t(8,h=t(6,w=null)))),window.removeEventListener("keydown",L))),i.$$.dirty&176&&E&&y&&b&&y.scrollHeight>y.offsetHeight&&b.classList.add("scroll-top"),i.$$.dirty&208&&E&&b){window.addEventListener("keydown",L);const A=D();(w.querySelector("div.modal-title").textContent||w.querySelector("div.modal-close")||A.length)&&w.classList.add("has-content")}i.$$.dirty&32768&&t(11,n=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,o=d==="emergency"?"warning":d==="important"?"alert-circle":d==="information"?"information-circle":d==="success"?"checkmark-circle":d==="event"?"calendar":"")},[f,a,s,d,b,y,w,E,h,r,o,n,x,M,l,c,g,O,F,re,N]}class vl extends K{constructor(e){super();const t=document.createElement("style");t.textContent=":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:var(--goa-space-xl)}.content header{display:flex;justify-content:space-between}.content header.has-content{margin-bottom:var(--goa-space-l)}@media screen and (max-width: 623px){.content{margin:var(--goa-space-l)}.content header.has-content{margin-bottom:var(--goa-space-m)}.modal-actions ::slotted(*){padding:var(--goa-space-l) 0 0}}@media screen and (min-width: 1024px){.modal-pane{max-width:var(--maxwidth)}}.modal-pane{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)}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}.modal-content{margin:0 -2rem;line-height:1.75rem}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-title{font:var(--goa-typography-heading-m)}.modal-close{padding-left:var(--goa-space-m);margin-top:var(--goa-space-2xs)}.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)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},bl,ml,X,{heading:1,closable:14,open:2,transition:15,calloutvariant:3,maxwidth:0,width:16},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","closable","open","transition","calloutvariant","maxwidth","width"]}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),m()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),m()}get open(){return this.$$.ctx[2]}set open(e){this.$$set({open:e}),m()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),m()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),m()}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),m()}get width(){return this.$$.ctx[16]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-modal",vl);function wr(i){let e,t,r,n,o,a,l,s,c,d,f,g,h,b,y,w,v,H;return{c(){e=_("div"),t=_("div"),r=_("div"),n=_("goa-icon"),a=R(),l=_("div"),l.innerHTML="<slot></slot>",s=R(),c=_("div"),d=_("button"),f=_("goa-icon"),k(n,"type",i[4]),k(n,"inverted",o=i[0]==="important"?"false":"true"),u(r,"class","icon"),u(l,"class","content"),k(f,"type","close"),k(f,"inverted",g=i[0]==="important"?"false":"true"),u(d,"class",i[0]),u(c,"class","close"),u(t,"class","content-container"),u(t,"role","alert"),u(t,"aria-live",i[2]),u(t,"aria-atomic","true"),u(e,"class",h="notification "+i[0]),u(e,"style",b=`--max-content-width: ${i[1]}`)},m(S,P){C(S,e,P),p(e,t),p(t,r),p(r,n),p(t,a),p(t,l),p(t,s),p(t,c),p(c,d),p(d,f),w=!0,v||(H=Z(d,"click",i[5]),v=!0)},p(S,P){(!w||P&16)&&k(n,"type",S[4]),(!w||P&1&&o!==(o=S[0]==="important"?"false":"true"))&&k(n,"inverted",o),(!w||P&1&&g!==(g=S[0]==="important"?"false":"true"))&&k(f,"inverted",g),(!w||P&1)&&u(d,"class",S[0]),(!w||P&4)&&u(t,"aria-live",S[2]),(!w||P&1&&h!==(h="notification "+S[0]))&&u(e,"class",h),(!w||P&2&&b!==(b=`--max-content-width: ${S[1]}`))&&u(e,"style",b)},i(S){w||(Pe(()=>{!w||(y||(y=Rt(e,lt,{},!0)),y.run(1))}),w=!0)},o(S){y||(y=Rt(e,lt,{},!1)),y.run(0),w=!1},d(S){S&&T(e),S&&y&&y.end(),v=!1,H()}}}function pl(i){let e,t,r=i[3]&&wr(i);return{c(){r&&r.c(),e=Se(),this.c=z},m(n,o){r&&r.m(n,o),C(n,e,o),t=!0},p(n,[o]){n[3]?r?(r.p(n,o),o&8&&se(r,1)):(r=wr(n),r.c(),se(r,1),r.m(e.parentNode,e)):r&&(Ze(),pe(r,1,1,()=>{r=null}),Ge())},i(n){t||(se(r),t=!0)},o(n){pe(r),t=!1},d(n){r&&r.d(n),n&&T(e)}}}function wl(i,e,t){let r;const[n,o]=fe("Notification type",["emergency","important","information","event"],!0),[a,l]=fe("Aria-Live type",["assertive","off","polite"],!0);let{type:s=""}=e,{maxcontentwidth:c="100%"}=e,{arialive:d="polite"}=e,f=!0;ne(()=>{l(d),setTimeout(()=>o(s),1)});function g(h){t(3,f=!1),h.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),h.stopPropagation()}return i.$$set=h=>{"type"in h&&t(0,s=h.type),"maxcontentwidth"in h&&t(1,c=h.maxcontentwidth),"arialive"in h&&t(2,d=h.arialive)},i.$$.update=()=>{i.$$.dirty&1&&t(4,r=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="event"?"calendar":"")},[s,c,d,f,r,g]}class _l extends K{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:var(--goa-space-l) var(--goa-space-m);display:flex}@media screen and (max-width: 623px){@media not (max-color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}}@media screen and (min-width: 1024px){.notification{padding:var(--goa-space-l) calc(3 * var(--goa-space-l))}}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.information,.event{background-color:var(--goa-color-info-default);color:var(--goa-color-text-light)}.icon{flex:0 0 auto}.content-container{display:flex;flex-direction:row;flex:1 1 auto;gap:var(--goa-space-m);margin:0 auto;max-width:min(var(--max-content-width), 100%)}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}::slotted(a:focus){outline:auto!important;border-radius:var(--goa-border-radius-m)}.notification.important ::slotted(a:focus){outline:unset!important;box-shadow:0 0 0 3px var(--goa-color-greyscale-black);border-radius:var(--goa-border-radius-m)}.close{flex:0 0 auto}.close button{background-color:transparent;border:none;cursor:pointer;padding:var(--goa-space-2xs);margin:0;outline:none;border-radius:var(--goa-border-radius-m);display:inline-flex}.close button.information:hover,.close button.information:focus,.close button.event:hover,.close button.event:focus{background-color:var(--goa-color-info-dark)}.close button.information:focus,.close button.event:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}.close button.important:hover,.close button.important:focus{background-color:var(--goa-color-warning-dark)}.close button.important:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-black)}.close button.emergency:hover,.close button.emergency:focus{background-color:var(--goa-color-emergency-dark)}.close button.emergency:focus{box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},wl,pl,X,{type:0,maxcontentwidth:1,arialive:2},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","maxcontentwidth","arialive"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}get arialive(){return this.$$.ctx[2]}set arialive(e){this.$$set({arialive:e}),m()}}customElements.define("goa-notification",_l);const yl=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function kl(i){return yl.test(i)}function Cl(i){let e,t,r;return{c(){e=_("div"),t=_("slot"),this.c=z,u(e,"class","page-content"),u(e,"style",r=`--max-width: ${i[0]}`)},m(n,o){C(n,e,o),p(e,t)},p(n,[o]){o&1&&r!==(r=`--max-width: ${n[0]}`)&&u(e,"style",r)},i:z,o:z,d(n){n&&T(e)}}}function xl(i,e,t){const r={full:"100%"};let{width:n}=e,{_width:o}=e;function a(l){return!!(["full"].includes(n)||kl(l))}return ne(()=>{a(n)||console.error("Invalid PageBlock width"),t(0,o=r[n]||n)}),i.$$set=l=>{"width"in l&&t(1,n=l.width),"_width"in l&&t(0,o=l._width)},[o,n]}class El extends K{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1rem}@media screen and (max-width: 623px){@media not (max-color:2147477350){.page-content{padding:0 2rem}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.page-content{padding:0 2rem}}}@media screen and (min-width: 1024px){.page-content{padding:0 4.5rem}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},xl,Cl,X,{width:1,_width:0},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),m()}}customElements.define("goa-page-block",El);function _r(i,e,t){const r=i.slice();return r[18]=e[t],r[20]=t,r}function yr(i){let e,t,r,n,o,a,l,s,c,d,f={length:i[8]},g=[];for(let h=0;h<f.length;h+=1)g[h]=kr(_r(i,f,h));return{c(){e=_("goa-block"),t=_("span"),t.textContent="Page",r=R(),n=_("input"),o=R(),a=_("goa-dropdown");for(let h=0;h<g.length;h+=1)g[h].c();l=R(),s=_("span"),c=G("of "),d=G(i[8]),u(n,"type","hidden"),k(a,"value",i[0]),k(a,"width","70px"),k(e,"data-testid","page-selector"),k(e,"alignment","center"),k(e,"gap","s")},m(h,b){C(h,e,b),p(e,t),p(e,r),p(e,n),i[12](n),p(e,o),p(e,a);for(let y=0;y<g.length;y+=1)g[y]&&g[y].m(a,null);i[13](a),p(e,l),p(e,s),p(s,c),p(s,d)},p(h,b){if(b&256){f={length:h[8]};let y;for(y=0;y<f.length;y+=1){const w=_r(h,f,y);g[y]?g[y].p(w,b):(g[y]=kr(w),g[y].c(),g[y].m(a,null))}for(;y<g.length;y+=1)g[y].d(1);g.length=f.length}b&1&&k(a,"value",h[0]),b&256&&ie(d,h[8])},d(h){h&&T(e),i[12](null),Be(g,h),i[13](null)}}}function kr(i){let e;return{c(){e=_("goa-dropdown-item"),k(e,"value",i[20]+1),k(e,"label",i[20]+1)},m(t,r){C(t,e,r)},p:z,d(t){t&&T(e)}}}function Ml(i){let e,t,r,n,o,a,l,s,c,d,f,g,h,b=i[1]==="all"&&yr(i);return{c(){e=_("goa-block"),t=_("div"),b&&b.c(),r=R(),n=_("goa-block"),o=_("goa-button"),a=G("Previous"),s=R(),c=_("goa-button"),d=G("Next"),this.c=z,k(o,"type","tertiary"),k(o,"leadingicon","arrow-back"),k(o,"disabled",l=i[0]==1?"true":"false"),k(c,"type","tertiary"),k(c,"trailingicon","arrow-forward"),k(c,"disabled",f=i[0]==i[8]?"true":"false"),k(n,"alignment","center"),k(n,"gap","m"),k(n,"data-testid","page-links"),u(t,"class","controls"),k(e,"id","root"),k(e,"ml",i[5]),k(e,"mr",i[3]),k(e,"mb",i[4]),k(e,"mt",i[2])},m(y,w){C(y,e,w),p(e,t),b&&b.m(t,null),p(t,r),p(t,n),p(n,o),p(o,a),p(n,s),p(n,c),p(c,d),g||(h=[Z(o,"click",i[14]),Z(c,"click",i[15])],g=!0)},p(y,[w]){y[1]==="all"?b?b.p(y,w):(b=yr(y),b.c(),b.m(t,r)):b&&(b.d(1),b=null),w&1&&l!==(l=y[0]==1?"true":"false")&&k(o,"disabled",l),w&257&&f!==(f=y[0]==y[8]?"true":"false")&&k(c,"disabled",f),w&32&&k(e,"ml",y[5]),w&8&&k(e,"mr",y[3]),w&16&&k(e,"mb",y[4]),w&4&&k(e,"mt",y[2])},i:z,o:z,d(y){y&&T(e),b&&b.d(),g=!1,ke(h)}}}function zl(i,e,t){let r;const[n,o]=fe("Pagination variant",["all","links-only"]);let{pagenumber:a}=e,{itemcount:l}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:g="m"}=e,{ml:h=null}=e,b=null,y=null;ne(async()=>{await Ce(),_t("GoAPagination",{itemcount:l,pagenumber:a}),o(c),b&&b.addEventListener("_change",E=>{const x=Number.parseInt(E.detail.value);E.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:x}}))})});function w(E,x){const L=Number.parseInt(a+"")+x;L>0&&L<=r&&E.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:L}})),E.preventDefault()}function v(E){$[E?"unshift":"push"](()=>{y=E,t(7,y)})}function H(E){$[E?"unshift":"push"](()=>{b=E,t(6,b)})}const S=E=>w(E,-1),P=E=>w(E,1);return i.$$set=E=>{"pagenumber"in E&&t(0,a=E.pagenumber),"itemcount"in E&&t(10,l=E.itemcount),"perpagecount"in E&&t(11,s=E.perpagecount),"variant"in E&&t(1,c=E.variant),"mt"in E&&t(2,d=E.mt),"mr"in E&&t(3,f=E.mr),"mb"in E&&t(4,g=E.mb),"ml"in E&&t(5,h=E.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,r=Math.ceil(l/s))},[a,c,d,f,g,h,b,y,r,w,l,s,v,H,S,P]}class Cr extends K{constructor(e){super();const t=document.createElement("style");t.textContent="span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media screen and (max-width: 623px){@media not (max-color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.controls{flex-direction:row;justify-content:space-between}}}",this.shadowRoot.appendChild(t),J(this,{target:this.shadowRoot,props:Q(this.attributes),customElement:!0},zl,Ml,X,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&C(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),m()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),m()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),m()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-pagination",Cr);function xr(i){let e,t,r,n,o,a,l,s,c,d;return{c(){e=_("div"),t=R(),r=_("div"),n=_("section"),o=_("goa-focus-trap"),a=_("div"),a.innerHTML="<slot></slot>",u(e,"data-testid","popover-background"),u(e,"class","popover-background"),k(o,"open","true"),u(n,"data-testid","popover-content"),u(n,"class","popover-content"),u(n,"style",l=`
89
89
  ${xe("width",i[2])}
90
90
  max-width: ${i[1]<i[2]?i[2]:i[1]};
91
91
  padding: ${i[19]?"var(--goa-space-m)":"0"};