@abgov/web-components 1.12.2 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/html.html-data.json +1 -1
- package/index.css +1 -1
- package/package.json +1 -1
- package/web-components.es.js +451 -316
- package/web-components.umd.js +102 -102
package/web-components.umd.js
CHANGED
|
@@ -1,217 +1,217 @@
|
|
|
1
|
-
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:var(--goa-font-family-sans);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,a:visited{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}::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-three-column-layout h1:first-of-type,goa-three-column-layout h2:first-of-type,goa-three-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}@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)}goa-app-header a,goa-app-header a:visited{color:var(--goa-color-text-default)}goa-app-header a:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)!important;outline-offset:-3px!important;background:var(--goa-color-greyscale-100)!important;cursor:pointer!important;color:var(--goa-color-interactive-hover)!important}goa-app-header a:active{color:var(--goa-color-text-default)!important}goa-app-header a:hover,goa-app-header a:visited:hover,goa-app-header goa-app-header-menu:hover{background:var(--goa-color-greyscale-100);cursor:pointer!important;color:var(--goa-color-interactive-hover)}goa-app-header-menu a,goa-app-header-menu a:visited{box-shadow:inset 0 1px 0 0 var(--goa-color-greyscale-200);color:var(--goa-color-text-default);display:block;padding:calc((3rem - var(--goa-line-height-3)) / 2) 1rem;text-decoration:none}goa-app-header-menu a:first-of-type{box-shadow:none}goa-app-header-menu a:hover{background:var(--goa-color-greyscale-100)}goa-app-header-menu a:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:-3px}goa-app-header a.interactive{font-weight:var(--goa-font-weight-medium);text-decoration:underline;color:var(--goa-color-interactive-default)}goa-app-header a.interactive:hover{color:var(--goa-color-interactive-hover)}: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: #004a8f;--goa-color-info-light: #aac9e7;--goa-color-info-dark: #003b70;--goa-color-info-background: #eff8ff;--goa-color-warning-default: #f9ce2d;--goa-color-warning-light: #ffeab6;--goa-color-warning-dark: #bf8d23;--goa-color-warning-background: #fff6e5;--goa-color-emergency-default: #da291c;--goa-color-emergency-light: #fbd1ce;--goa-color-emergency-dark: #a91a10;--goa-color-emergency-background: #fff1f2;--goa-color-success-default: #006f4c;--goa-color-success-light: #cce4dc;--goa-color-success-dark: #00563a;--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(
|
|
3
|
-
`;for(let
|
|
4
|
-
`}const d=c+`100% {${
|
|
5
|
-
}`,f=`__svelte_${
|
|
1
|
+
var __vite_style__=document.createElement("style");__vite_style__.innerHTML=`@import"https://fonts.googleapis.com/css2?family=Roboto+Mono&display=swap";body,input,textarea,button,textarea{background:#fff;font-family:var(--goa-font-family-sans);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,a:visited{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}::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-three-column-layout h1:first-of-type,goa-three-column-layout h2:first-of-type,goa-three-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}@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)}goa-app-header a,goa-app-header a:visited{color:var(--goa-color-text-default)}goa-app-header a:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)!important;outline-offset:-3px!important;background:var(--goa-color-greyscale-100)!important;cursor:pointer!important;color:var(--goa-color-interactive-hover)!important}goa-app-header a:active{color:var(--goa-color-text-default)!important}goa-app-header a:hover,goa-app-header a:visited:hover,goa-app-header goa-app-header-menu:hover{background:var(--goa-color-greyscale-100);cursor:pointer!important;color:var(--goa-color-interactive-hover)}goa-app-header-menu a,goa-app-header-menu a:visited{box-shadow:inset 0 1px 0 0 var(--goa-color-greyscale-200);color:var(--goa-color-text-default);display:block;padding:calc((3rem - var(--goa-line-height-3)) / 2) 1rem;text-decoration:none}goa-app-header-menu a:first-of-type{box-shadow:none}goa-app-header-menu a:hover{background:var(--goa-color-greyscale-100)}goa-app-header-menu a:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:-3px}goa-app-header a.interactive{font-weight:var(--goa-font-weight-medium);text-decoration:underline;color:var(--goa-color-interactive-default)}goa-app-header a.interactive:hover{color:var(--goa-color-interactive-hover)}goa-table table{border-collapse:collapse}goa-table.relaxed td{padding:1rem}goa-table.sticky thead{position:sticky;top:0}goa-table td{font:var(--goa-typography-body-m);padding:.75rem 1rem;border-bottom:1px solid var(--goa-color-greyscale-200)}goa-table thead 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-600);vertical-align:bottom}goa-table th:has(goa-table-sort-header){padding:0}.goa-table-number-column{font:var(--goa-typography-number-m);text-align:right}goa-table tfoot td{background-color:var(--goa-color-greyscale-100)}goa-table tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}goa-table tfoot tr:last-child td{border-bottom:none}: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: #004a8f;--goa-color-info-light: #aac9e7;--goa-color-info-dark: #003b70;--goa-color-info-background: #eff8ff;--goa-color-warning-default: #f9ce2d;--goa-color-warning-light: #ffeab6;--goa-color-warning-dark: #bf8d23;--goa-color-warning-background: #fff6e5;--goa-color-emergency-default: #da291c;--goa-color-emergency-light: #fbd1ce;--goa-color-emergency-dark: #a91a10;--goa-color-emergency-background: #fff1f2;--goa-color-success-default: #006f4c;--goa-color-success-light: #cce4dc;--goa-color-success-dark: #00563a;--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(ge,E){typeof exports=="object"&&typeof module!="undefined"?E(exports):typeof define=="function"&&define.amd?define(["exports"],E):(ge=typeof globalThis!="undefined"?globalThis:ge||self,E(ge["web-components"]={}))})(this,function(ge){"use strict";function E(){}const Ue=i=>i;function Ct(i,e){for(const t in e)i[t]=e[t];return i}function ut(i){return i()}function xt(){return Object.create(null)}function ue(i){i.forEach(ut)}function He(i){return typeof i=="function"}function O(i,e){return i!=i?e==e:i!==e||i&&typeof i=="object"||typeof i=="function"}let et;function tt(i,e){return et||(et=document.createElement("a")),et.href=e,i===et.href}function To(i){return Object.keys(i).length===0}function Ao(i,...e){if(i==null)return E;const t=i.subscribe(...e);return t.unsubscribe?()=>t.unsubscribe():t}function Ro(i,e,t){i.$$.on_destroy.push(Ao(e,t))}function Et(i){return i&&He(i.destroy)?i.destroy:E}function zt(i){const e=typeof i=="string"&&i.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return e?[parseFloat(e[1]),e[2]||"px"]:[i,"px"]}const Lt=typeof window!="undefined";let it=Lt?()=>window.performance.now():()=>Date.now(),ft=Lt?i=>requestAnimationFrame(i):E;const Pe=new Set;function Ht(i){Pe.forEach(e=>{e.c(i)||(Pe.delete(e),e.f())}),Pe.size!==0&&ft(Ht)}function ot(i){let e;return Pe.size===0&&ft(Ht),{promise:new Promise(t=>{Pe.add(e={c:i,f:t})}),abort(){Pe.delete(e)}}}const gt=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global;function p(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 So(i){const e=_("style");return Vo(Mt(i),e),e.sheet}function Vo(i,e){return p(i.head||i,e),e.sheet}function k(i,e,t){i.insertBefore(e,t||null)}function H(i){i.parentNode&&i.parentNode.removeChild(i)}function Ze(i,e){for(let t=0;t<i.length;t+=1)i[t]&&i[t].d(e)}function _(i){return document.createElement(i)}function Be(i){return document.createElementNS("http://www.w3.org/2000/svg",i)}function q(i){return document.createTextNode(i)}function S(){return q(" ")}function be(){return q("")}function G(i,e,t,o){return i.addEventListener(e,t,o),()=>i.removeEventListener(e,t,o)}function u(i,e,t){t==null?i.removeAttribute(e):i.getAttribute(e)!==t&&i.setAttribute(e,t)}function x(i,e,t){e in i?i[e]=typeof i[e]=="boolean"&&t===""?!0:t:u(i,e,t)}function Bo(i){return Array.from(i.childNodes)}function Y(i,e){e=""+e,i.data!==e&&(i.data=e)}function Tt(i,e){i.value=e??""}function ie(i,e,t,o){t==null?i.style.removeProperty(e):i.style.setProperty(e,t,o?"important":"")}function Z(i,e,t){i.classList[t?"add":"remove"](e)}function Do(i,e,{bubbles:t=!1,cancelable:o=!1}={}){const r=document.createEvent("CustomEvent");return r.initCustomEvent(i,t,o,e),r}function j(i){const e={};for(const t of i)e[t.name]=t.value;return e}const rt=new Map;let nt=0;function No(i){let e=5381,t=i.length;for(;t--;)e=(e<<5)-e^i.charCodeAt(t);return e>>>0}function Io(i,e){const t={stylesheet:So(e),rules:{}};return rt.set(i,t),t}function at(i,e,t,o,r,n,l,a=0){const s=16.666/o;let c=`{
|
|
3
|
+
`;for(let y=0;y<=1;y+=s){const g=e+(t-e)*n(y);c+=y*100+`%{${l(g,1-g)}}
|
|
4
|
+
`}const d=c+`100% {${l(t,1-t)}}
|
|
5
|
+
}`,f=`__svelte_${No(d)}_${a}`,h=Mt(i),{stylesheet:b,rules:v}=rt.get(h)||Io(h,i);v[f]||(v[f]=!0,b.insertRule(`@keyframes ${f} ${d}`,b.cssRules.length));const w=i.style.animation||"";return i.style.animation=`${w?`${w}, `:""}${f} ${o}ms linear ${r}ms 1 both`,nt+=1,f}function lt(i,e){const t=(i.style.animation||"").split(", "),o=t.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),r=t.length-o.length;r&&(i.style.animation=o.join(", "),nt-=r,nt||Po())}function Po(){ft(()=>{nt||(rt.forEach(i=>{const{ownerNode:e}=i.stylesheet;e&&H(e)}),rt.clear())})}let Ke;function Xe(i){Ke=i}function At(){if(!Ke)throw new Error("Function called outside component initialization");return Ke}function J(i){At().$$.on_mount.push(i)}function ht(i){At().$$.on_destroy.push(i)}const Oe=[],U=[];let qe=[];const Rt=[],St=Promise.resolve();let mt=!1;function Vt(){mt||(mt=!0,St.then(m))}function se(){return Vt(),St}function we(i){qe.push(i)}const bt=new Set;let Fe=0;function m(){if(Fe!==0)return;const i=Ke;do{try{for(;Fe<Oe.length;){const e=Oe[Fe];Fe++,Xe(e),Zo(e.$$)}}catch(e){throw Oe.length=0,Fe=0,e}for(Xe(null),Oe.length=0,Fe=0;U.length;)U.pop()();for(let e=0;e<qe.length;e+=1){const t=qe[e];bt.has(t)||(bt.add(t),t())}qe.length=0}while(Oe.length);for(;Rt.length;)Rt.pop()();mt=!1,bt.clear(),Xe(i)}function Zo(i){if(i.fragment!==null){i.update(),ue(i.before_update);const e=i.dirty;i.dirty=[-1],i.fragment&&i.fragment.p(i.ctx,e),i.after_update.forEach(we)}}function Oo(i){const e=[],t=[];qe.forEach(o=>i.indexOf(o)===-1?e.push(o):t.push(o)),t.forEach(o=>o()),qe=e}let Ye;function vt(){return Ye||(Ye=Promise.resolve(),Ye.then(()=>{Ye=null})),Ye}function De(i,e,t){i.dispatchEvent(Do(`${e?"intro":"outro"}${t}`))}const st=new Set;let Le;function Me(){Le={r:0,c:[],p:Le}}function Te(){Le.r||ue(Le.c),Le=Le.p}function ee(i,e){i&&i.i&&(st.delete(i),i.i(e))}function re(i,e,t,o){if(i&&i.o){if(st.has(i))return;st.add(i),Le.c.push(()=>{st.delete(i),o&&(t&&i.d(1),o())}),i.o(e)}else o&&o()}const pt={duration:0};function Bt(i,e,t){const o={direction:"in"};let r=e(i,t,o),n=!1,l,a,s=0;function c(){l&<(i,l)}function d(){const{delay:h=0,duration:b=300,easing:v=Ue,tick:w=E,css:y}=r||pt;y&&(l=at(i,0,1,b,h,v,y,s++)),w(0,1);const g=it()+h,C=g+b;a&&a.abort(),n=!0,we(()=>De(i,!0,"start")),a=ot(A=>{if(n){if(A>=C)return w(1,0),De(i,!0,"end"),c(),n=!1;if(A>=g){const T=v((A-g)/b);w(T,1-T)}}return n})}let f=!1;return{start(){f||(f=!0,lt(i),He(r)?(r=r(o),vt().then(d)):d())},invalidate(){f=!1},end(){n&&(c(),n=!1)}}}function Dt(i,e,t){const o={direction:"out"};let r=e(i,t,o),n=!0,l;const a=Le;a.r+=1;function s(){const{delay:c=0,duration:d=300,easing:f=Ue,tick:h=E,css:b}=r||pt;b&&(l=at(i,1,0,d,c,f,b));const v=it()+c,w=v+d;we(()=>De(i,!1,"start")),ot(y=>{if(n){if(y>=w)return h(0,1),De(i,!1,"end"),--a.r||ue(a.c),!1;if(y>=v){const g=f((y-v)/d);h(1-g,g)}}return n})}return He(r)?vt().then(()=>{r=r(o),s()}):s(),{end(c){c&&r.tick&&r.tick(1,0),n&&(l&<(i,l),n=!1)}}}function ct(i,e,t,o){const r={direction:"both"};let n=e(i,t,r),l=o?0:1,a=null,s=null,c=null;function d(){c&<(i,c)}function f(b,v){const w=b.b-l;return v*=Math.abs(w),{a:l,b:b.b,d:w,duration:v,start:b.start,end:b.start+v,group:b.group}}function h(b){const{delay:v=0,duration:w=300,easing:y=Ue,tick:g=E,css:C}=n||pt,A={start:it()+v,b};b||(A.group=Le,Le.r+=1),a||s?s=A:(C&&(d(),c=at(i,l,b,w,v,y,C)),b&&g(0,1),a=f(A,w),we(()=>De(i,b,"start")),ot(T=>{if(s&&T>s.start&&(a=f(s,w),s=null,De(i,a.b,"start"),C&&(d(),c=at(i,l,a.b,a.duration,0,y,n.css))),a){if(T>=a.end)g(l=a.b,1-l),De(i,a.b,"end"),s||(a.b?d():--a.group.r||ue(a.group.c)),a=null;else if(T>=a.start){const z=T-a.start;l=a.a+a.d*y(z/a.duration),g(l,1-l)}}return!!(a||s)}))}return{run(b){He(n)?vt().then(()=>{n=n(r),h(b)}):h(b)},end(){d(),a=s=null}}}function Nt(i,e){i.d(1),e.delete(i.key)}function qo(i,e){re(i,1,1,()=>{e.delete(i.key)})}function wt(i,e,t,o,r,n,l,a,s,c,d,f){let h=i.length,b=n.length,v=h;const w={};for(;v--;)w[i[v].key]=v;const y=[],g=new Map,C=new Map,A=[];for(v=b;v--;){const R=f(r,n,v),L=t(R);let M=l.get(L);M?o&&A.push(()=>M.p(R,e)):(M=c(L,R),M.c()),g.set(L,y[v]=M),L in w&&C.set(L,Math.abs(v-w[L]))}const T=new Set,z=new Set;function V(R){ee(R,1),R.m(a,d),l.set(R.key,R),d=R.first,b--}for(;h&&b;){const R=y[b-1],L=i[h-1],M=R.key,B=L.key;R===L?(d=R.first,h--,b--):g.has(B)?!l.has(M)||T.has(M)?V(R):z.has(B)?h--:C.get(M)>C.get(B)?(z.add(M),V(R)):(T.add(B),h--):(s(L,l),h--)}for(;h--;){const R=i[h];g.has(R.key)||s(R,l)}for(;b;)V(y[b-1]);return ue(A),y}function Ce(i){i&&i.c()}function ye(i,e,t,o){const{fragment:r,after_update:n}=i.$$;r&&r.m(e,t),o||we(()=>{const l=i.$$.on_mount.map(ut).filter(He);i.$$.on_destroy?i.$$.on_destroy.push(...l):ue(l),i.$$.on_mount=[]}),n.forEach(we)}function _e(i,e){const t=i.$$;t.fragment!==null&&(Oo(t.after_update),ue(t.on_destroy),t.fragment&&t.fragment.d(e),t.on_destroy=t.fragment=null,t.ctx=[])}function Fo(i,e){i.$$.dirty[0]===-1&&(Oe.push(i),Vt(),i.$$.dirty.fill(0)),i.$$.dirty[e/31|0]|=1<<e%31}function W(i,e,t,o,r,n,l,a=[-1]){const s=Ke;Xe(i);const c=i.$$={fragment:null,ctx:[],props:n,update:E,not_equal:r,bound:xt(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:xt(),dirty:a,skip_bound:!1,root:e.target||s.$$.root};l&&l(c.root);let d=!1;if(c.ctx=t?t(i,e.props||{},(f,h,...b)=>{const v=b.length?b[0]:h;return c.ctx&&r(c.ctx[f],c.ctx[f]=v)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](v),d&&Fo(i,f)),h}):[],c.update(),d=!0,ue(c.before_update),c.fragment=o?o(c.ctx):!1,e.target){if(e.hydrate){const f=Bo(e.target);c.fragment&&c.fragment.l(f),f.forEach(H)}else c.fragment&&c.fragment.c();e.intro&&ee(i.$$.fragment),ye(i,e.target,e.anchor,e.customElement),m()}Xe(s)}let F;typeof HTMLElement=="function"&&(F=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:i}=this.$$;this.$$.on_disconnect=i.map(ut).filter(He);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(i,e,t){this[i]=t}disconnectedCallback(){ue(this.$$.on_disconnect)}$destroy(){_e(this,1),this.$destroy=E}$on(i,e){if(!He(e))return E;const t=this.$$.callbacks[i]||(this.$$.callbacks[i]=[]);return t.push(e),()=>{const o=t.indexOf(e);o!==-1&&t.splice(o,1)}}$set(i){this.$$set&&!To(i)&&(this.$$.skip_bound=!0,this.$$set(i),this.$$.skip_bound=!1)}});var $l="",es="",ts="",is="",os="";const jo={"0":"none","1":"3xs","2":"2xs","3":"xs","4":"s","5":"m","6":"l","7":"xl","8":"2xl","9":"3xl","10":"4xl"};function dt(i){return Number.isInteger(+i)?jo[i]||"":i}function K(i,e,t,o){return i=dt(i),t=dt(t),o=dt(o),e=dt(e),[i&&`margin-top:var(--goa-space-${i});`,e&&`margin-right:var(--goa-space-${e});`,t&&`margin-bottom:var(--goa-space-${t});`,o&&`margin-left:var(--goa-space-${o});`].join(" ")}function It(i,e,t,o){const r=document.createElement("style"),n=Object.entries(t).map(l=>`${l[0]}: ${l[1]};`).join(" ");o?r.innerHTML=`@media (${o}) { ${e} {${n}} }`:r.innerHTML=`${e} {${n}}`,i.appendChild(r)}function $(i){return i==="false"?!1:i===""?!0:!!i}function Wo(i){return i?"true":"false"}function Je(i,e){Object.entries(e).forEach(t=>{t[1]||console.warn(`${i}: ${t[0]} is required`)})}function te(i,e,t=!1){return[e,r=>{!t&&!r||e.includes(r)||console.error(`[${r}] is an invalid ${i.toLowerCase()}`)}]}function Go(i){const e=["January","February","March","April","May","June","July","August","September","October","November","December"],t=i||new Date,o=t.getHours(),r=t.getMinutes(),n=t.getDate(),l=e[t.getMonth()],a=t.getFullYear(),s=o===0&&12||o>12&&o-12||o,c=o===0&&"AM"||o>=12&&"PM"||"AM",d=r<10&&`0${r}`||r,f=n%10==1&&n!==11&&"st"||n%10==2&&n!==12&&"nd"||n%10==3&&n!==13&&"rd"||"th";return`${l} ${n}${f} ${a}, ${s}:${d} ${c}`}function fe(i,e){return e?`${i}: ${e};`:""}function Uo(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v,w,y,g,C,A,T,z,V;return{c(){e=_("div"),t=_("details"),o=_("summary"),r=_("goa-icon"),l=S(),a=_("div"),s=_("span"),c=q(i[0]),h=S(),b=_("span"),v=q(i[1]),w=S(),y=_("div"),y.innerHTML='<slot name="headingcontent"></slot>',C=S(),A=_("div"),A.innerHTML="<slot></slot>",this.c=E,x(r,"type","chevron-forward"),x(r,"fillcolor",n=i[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(s,"class",d="heading heading-"+i[2]),u(s,"data-testid",f=`${i[3]}-heading`),u(b,"class","secondary-text"),u(y,"class","heading-content"),u(a,"class","title"),u(o,"class",g=`container-${i[2]}`),u(A,"class","content"),t.open=i[9],u(e,"style",T=K(i[4],i[5],i[6],i[7])),u(e,"class",`
|
|
6
6
|
goa-accordion
|
|
7
|
-
`),u(e,"data-testid",i[3])},m(R,
|
|
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}.content ::slotted(p:last-child){margin-bottom:0 !important}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}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Go,Wo,O,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["open","heading","secondarytext","headingsize","testid","mt","mr","mb","ml"]}get open(){return this.$$.ctx[10]}set open(e){this.$$set({open:e}),h()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),h()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-accordion",Uo);const{window:Nt}=ut;function Ko(i){let e,t,o,r,n,a,l,s=i[0]&&It(i);return{c(){e=_("div"),t=_("img"),r=S(),n=_("img"),l=S(),s&&s.c(),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),$e(t.src,o=Wt)||u(t,"src",o),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),$e(n.src,a=Gt)||u(n,"src",a),u(e,"class","header-logo-title-area")},m(c,d){k(c,e,d),w(e,t),w(e,r),w(e,n),w(e,l),s&&s.m(e,null)},p(c,d){c[0]?s?s.p(c,d):(s=It(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},d(c){c&&L(e),s&&s.d()}}}function Xo(i){let e,t,o,r,n,a,l,s=i[0]&&Pt(i);return{c(){e=_("a"),t=_("img"),r=S(),n=_("img"),l=S(),s&&s.c(),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),$e(t.src,o=Wt)||u(t,"src",o),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),$e(n.src,a=Gt)||u(n,"src",a),u(e,"href",i[1]),u(e,"class","header-logo-title-area"),u(e,"data-testid","url")},m(c,d){k(c,e,d),w(e,t),w(e,r),w(e,n),w(e,l),s&&s.m(e,null)},p(c,d){c[0]?s?s.p(c,d):(s=Pt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&2&&u(e,"href",c[1])},d(c){c&&L(e),s&&s.d()}}}function It(i){let e,t;return{c(){e=_("span"),t=q(i[0]),u(e,"data-testid","title"),u(e,"class","title")},m(o,r){k(o,e,r),w(e,t)},p(o,r){r&1&&Y(t,o[0])},d(o){o&&L(e)}}}function Pt(i){let e,t;return{c(){e=_("span"),t=q(i[0]),u(e,"data-testid","title"),u(e,"class","title")},m(o,r){k(o,e,r),w(e,t)},p(o,r){r&1&&Y(t,o[0])},d(o){o&&L(e)}}}function Zt(i){let e,t,o,r,n,a;return{c(){e=_("button"),t=q("Menu "),o=_("goa-icon"),C(o,"type",r=i[8]?"chevron-up":"chevron-down"),C(o,"mt","1"),u(e,"class","menu-toggle-area"),u(e,"data-testid","menu-toggle")},m(l,s){k(l,e,s),w(e,t),w(e,o),n||(a=G(e,"click",i[11]),n=!0)},p(l,s){s&256&&r!==(r=l[8]?"chevron-up":"chevron-down")&&C(o,"type",r)},d(l){l&&L(e),n=!1,a()}}}function Ot(i){let e,t,o,r,n,a,l,s,c,d=i[8]&&qt(i);return{c(){e=_("goa-popover"),t=_("div"),o=_("button"),r=q("Menu "),n=_("goa-icon"),l=S(),d&&d.c(),C(n,"type",a=i[8]?"chevron-up":"chevron-down"),C(n,"mt","1"),u(o,"class","menu-toggle-area"),u(o,"data-testid","menu-toggle"),u(t,"slot","target"),C(e,"class","menu"),C(e,"open",i[8]),C(e,"context","app-header-menu"),C(e,"focusborderwidth","0"),C(e,"borderradius","0"),C(e,"padded","false"),C(e,"width","16rem"),C(e,"tabindex","-1"),C(e,"position","below")},m(f,g){k(f,e,g),w(e,t),w(t,o),w(o,r),w(o,n),w(e,l),d&&d.m(e,null),s||(c=[G(o,"click",i[11]),G(e,"_close",i[12])],s=!0)},p(f,g){g&256&&a!==(a=f[8]?"chevron-up":"chevron-down")&&C(n,"type",a),f[8]?d?d.p(f,g):(d=qt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),g&256&&C(e,"open",f[8])},d(f){f&&L(e),d&&d.d(),s=!1,de(c)}}}function qt(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"data-testid","slot")},m(t,o){k(t,e,o),i[14](e)},p:E,d(t){t&&L(e),i[14](null)}}}function jt(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",ie(e,"display","none")},m(t,o){k(t,e,o),i[15](e)},p:E,d(t){t&&L(e),i[15](null)}}}function Ft(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"data-testid","slot"),u(e,"class","content-area")},m(t,o){k(t,e,o),i[16](e)},p:E,d(t){t&&L(e),i[16](null)}}}function Yo(i){let e,t,o,r,n,a,l,s,c;pe(i[13]);function d(m,x){return m[1]?Xo:Ko}let f=d(i),g=f(i),b=i[7]&&i[10]&&Zt(i),v=i[7]&&i[9]&&Ot(i),y=!i[8]&&(i[10]||i[9])&&jt(i),p=(i[8]&&i[10]||i[5])&&Ft(i);return{c(){e=_("div"),t=_("div"),g.c(),o=S(),b&&b.c(),r=S(),v&&v.c(),n=S(),y&&y.c(),a=S(),p&&p.c(),this.c=E,u(t,"class","layout"),u(e,"class","container"),u(e,"data-testid",i[2]),u(e,"style",l=`--max-content-width: ${i[3]||"100%"}`),I(e,"show-menu",i[8])},m(m,x){k(m,e,x),w(e,t),g.m(t,null),w(t,o),b&&b.m(t,null),w(t,r),v&&v.m(t,null),w(t,n),y&&y.m(t,null),w(t,a),p&&p.m(t,null),s||(c=G(Nt,"resize",i[13]),s=!0)},p(m,[x]){f===(f=d(m))&&g?g.p(m,x):(g.d(1),g=f(m),g&&(g.c(),g.m(t,o))),m[7]&&m[10]?b?b.p(m,x):(b=Zt(m),b.c(),b.m(t,r)):b&&(b.d(1),b=null),m[7]&&m[9]?v?v.p(m,x):(v=Ot(m),v.c(),v.m(t,n)):v&&(v.d(1),v=null),!m[8]&&(m[10]||m[9])?y?y.p(m,x):(y=jt(m),y.c(),y.m(t,a)):y&&(y.d(1),y=null),m[8]&&m[10]||m[5]?p?p.p(m,x):(p=Ft(m),p.c(),p.m(t,null)):p&&(p.d(1),p=null),x&4&&u(e,"data-testid",m[2]),x&8&&l!==(l=`--max-content-width: ${m[3]||"100%"}`)&&u(e,"style",l),x&256&&I(e,"show-menu",m[8])},i:E,o:E,d(m){m&&L(e),g.d(),b&&b.d(),v&&v.d(),y&&y.d(),p&&p.d(),s=!1,c()}}}const Wt="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' 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",Gt="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";function Jo(i,e,t){let o,r,n,{heading:a=""}=e,{url:l=""}=e,{testid:s=""}=e,{maxcontentwidth:c=""}=e,d,f=window.innerWidth,g=!1,b=!1;const v=()=>t(8,b=!b),y=()=>t(8,b=!1);J(()=>{window.addEventListener("popstate",()=>{p(),n||y()},!0),p()});function p(){if(!d)return;const V=d.querySelector("slot");if(!V)return;const R=V.assignedElements().filter(H=>H.tagName==="A").map(H=>(H.classList.remove("current"),H)).find(H=>{const M=H.href,B=`${window.location.pathname}${window.location.search}${window.location.hash}`;return M.endsWith(B)});R&&R.classList.add("current")}async function m(){var V;if(await se(),!d)return;const R=d==null?void 0:d.childNodes[0],H=(V=R.assignedElements)===null||V===void 0?void 0:V.call(R);return H?H.length>0:[...d.querySelectorAll("a")].length>0}function x(){t(4,f=Nt.innerWidth)}function A(V){U[V?"unshift":"push"](()=>{d=V,t(6,d)})}function T(V){U[V?"unshift":"push"](()=>{d=V,t(6,d)})}function z(V){U[V?"unshift":"push"](()=>{d=V,t(6,d)})}return i.$$set=V=>{"heading"in V&&t(0,a=V.heading),"url"in V&&t(1,l=V.url),"testid"in V&&t(2,s=V.testid),"maxcontentwidth"in V&&t(3,c=V.maxcontentwidth)},i.$$.update=()=>{i.$$.dirty&16&&t(10,o=f<480),i.$$.dirty&16&&t(9,r=f>=480&&f<960),i.$$.dirty&16&&t(5,n=f>=960),i.$$.dirty&32&&(async()=>t(7,g=!n&&await m()))()},[a,l,s,c,f,n,d,g,b,r,o,v,y,x,A,T,z]}class Qo extends j{constructor(e){super();const t=document.createElement("style");t.textContent=`*,::slotted(*){font:var(--goa-typography-body-s)}.container{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.title{margin-left:var(--goa-space-s);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text-default)}.layout{width:100%;display:grid;grid-template-columns:1fr auto;grid-template-rows:3.375rem auto;grid-template-areas:"header menu"
|
|
9
|
-
"links links"}.header-logo-title-area{grid-area:header;display:flex;align-items:center;padding:0 1rem;text-decoration:none}.header-logo-title-area:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}.menu-toggle-area{grid-area:menu;color:var(--goa-color-text-default);align-items:center;background:transparent;border:none;cursor:pointer;display:flex;gap:0.25rem;justify-content:right;padding:1rem;text-decoration:underline}.menu-toggle-area goa-icon{scale:0.8}.menu-toggle-area:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}goa-popover .menu-toggle-area:focus{outline-offset:0}.image-desktop{height:2rem}.content-area{grid-area:links}::slotted(a){display:block;margin:0;font:var(--goa-typography-body-m);text-decoration:none;color:var(--goa-color-text-default);display:block;padding:calc((3rem - var(--goa-line-height-3)) / 2) 1rem;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:inset 0 var(--goa-border-width-s) 0 0 var(--goa-color-greyscale-200)}::slotted(a:hover){background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}::slotted(a:focus){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}::slotted(a.interactive){text-decoration:underline;color:var(--goa-color-interactive-default)}@media(max-width: 479px){.image-desktop{display:none}.image-mobile{display:block}.show-menu{border-bottom:var(--goa-border-width-m) solid var(--goa-color-greyscale-200)}}@media(min-width: 480px){*,::slotted(*){font:var(--goa-typography-body-m)}.layout{grid-template-rows:4rem auto}.header-logo-title-area{padding:0 1.5rem}.title{margin-left:var(--goa-space-m)}.header-logo-title-area{min-height:4rem}}@media(min-width: 480px) and (max-width: 959px){.image-desktop{display:block}.image-mobile{display:none}}@media(min-width: 960px){.image-desktop{display:block}.image-mobile{display:none}.layout{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto;grid-template-areas:"header . menu";margin:0 auto;width:min(var(--max-content-width), 100%)}.header-logo-title-area{grid-area:header;display:flex;align-items:center;grid-template-rows:3.375rem auto;color:inherit;flex:1 1 auto}.content-area{grid-area:menu;display:flex;align-items:stretch}::slotted(goa-app-header-menu),::slotted(a),::slotted(a:visited){color:var(--goa-color-text-default);font-weight:var(--goa-font-weight-bold);grid-template-rows:3.375rem auto;display:inline-flex;align-items:center;padding:0 0.75rem}::slotted(goa-app-header-menu){padding:0}::slotted(a:focus-within),::slotted(goa-app-header-menu:focus-within),::slotted(a:hover),::slotted(goa-app-header-menu:hover){background:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-hover)}::slotted(a:focus),::slotted(goa-app-header-menu:focus){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}::slotted(a.current){border-top:4px solid var(--goa-color-interactive-default);border-bottom:4px solid transparent}::slotted(a.current:hover){border-top:4px solid var(--goa-color-interactive-hover)}::slotted(a.interactive){font-weight:var(--goa-font-weight-medium);text-decoration:underline;color:var(--goa-color-interactive-default);padding:0 var(--goa-space-m)}::slotted(a.interactive:hover){color:var(--goa-color-interactive-hover)}::slotted(a.interactive.current){border-color:transparent;margin-left:var(--goa-space-m)}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
7
|
+
`),u(e,"data-testid",i[3])},m(R,L){k(R,e,L),p(e,t),p(t,o),p(o,r),p(o,l),p(o,a),p(a,s),p(s,c),p(a,h),p(a,b),p(b,v),p(a,w),p(a,y),p(t,C),p(t,A),z||(V=[G(o,"mouseover",i[11]),G(o,"mouseout",i[12]),G(o,"focus",i[13]),G(o,"blur",i[14])],z=!0)},p(R,[L]){L&256&&n!==(n=R[8]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&x(r,"fillcolor",n),L&1&&Y(c,R[0]),L&4&&d!==(d="heading heading-"+R[2])&&u(s,"class",d),L&8&&f!==(f=`${R[3]}-heading`)&&u(s,"data-testid",f),L&2&&Y(v,R[1]),L&4&&g!==(g=`container-${R[2]}`)&&u(o,"class",g),L&512&&(t.open=R[9]),L&240&&T!==(T=K(R[4],R[5],R[6],R[7]))&&u(e,"style",T),L&8&&u(e,"data-testid",R[3])},i:E,o:E,d(R){R&&H(e),z=!1,ue(V)}}}function Ko(i,e,t){let o;const[r,n]=te("Accordion heading size",["small","medium"]);let{open:l="false"}=e,{heading:a=""}=e,{secondarytext:s=""}=e,{headingsize:c="small"}=e,{testid:d=""}=e,{mt:f=null}=e,{mr:h=null}=e,{mb:b="xs"}=e,{ml:v=null}=e,w=!1;J(()=>{Je("GoAAccordion",{heading:a}),n(c)});const y=()=>t(8,w=!0),g=()=>t(8,w=!1),C=()=>t(8,w=!1),A=()=>t(8,w=!1);return i.$$set=T=>{"open"in T&&t(10,l=T.open),"heading"in T&&t(0,a=T.heading),"secondarytext"in T&&t(1,s=T.secondarytext),"headingsize"in T&&t(2,c=T.headingsize),"testid"in T&&t(3,d=T.testid),"mt"in T&&t(4,f=T.mt),"mr"in T&&t(5,h=T.mr),"mb"in T&&t(6,b=T.mb),"ml"in T&&t(7,v=T.ml)},i.$$.update=()=>{i.$$.dirty&1024&&t(9,o=$(l))},[a,s,c,d,f,h,b,v,w,o,l,y,g,C,A]}class Xo extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`: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}.content ::slotted(p:last-child){margin-bottom:0 !important}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}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ko,Uo,O,{open:10,heading:0,secondarytext:1,headingsize:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get secondarytext(){return this.$$.ctx[1]}set secondarytext(e){this.$$set({secondarytext:e}),m()}get headingsize(){return this.$$.ctx[2]}set headingsize(e){this.$$set({headingsize:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-accordion",Xo);const{window:Pt}=gt;function Yo(i){let e,t,o,r,n,l,a,s=i[0]&&Zt(i);return{c(){e=_("div"),t=_("img"),r=S(),n=_("img"),a=S(),s&&s.c(),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),tt(t.src,o=Ut)||u(t,"src",o),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),tt(n.src,l=Kt)||u(n,"src",l),u(e,"class","header-logo-title-area")},m(c,d){k(c,e,d),p(e,t),p(e,r),p(e,n),p(e,a),s&&s.m(e,null)},p(c,d){c[0]?s?s.p(c,d):(s=Zt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},d(c){c&&H(e),s&&s.d()}}}function Jo(i){let e,t,o,r,n,l,a,s=i[0]&&Ot(i);return{c(){e=_("a"),t=_("img"),r=S(),n=_("img"),a=S(),s&&s.c(),u(t,"alt","GoA Logo"),u(t,"class","image-mobile"),tt(t.src,o=Ut)||u(t,"src",o),u(n,"alt","GoA Logo"),u(n,"class","image-desktop"),tt(n.src,l=Kt)||u(n,"src",l),u(e,"href",i[1]),u(e,"class","header-logo-title-area"),u(e,"data-testid","url")},m(c,d){k(c,e,d),p(e,t),p(e,r),p(e,n),p(e,a),s&&s.m(e,null)},p(c,d){c[0]?s?s.p(c,d):(s=Ot(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&2&&u(e,"href",c[1])},d(c){c&&H(e),s&&s.d()}}}function Zt(i){let e,t;return{c(){e=_("span"),t=q(i[0]),u(e,"data-testid","title"),u(e,"class","title")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&1&&Y(t,o[0])},d(o){o&&H(e)}}}function Ot(i){let e,t;return{c(){e=_("span"),t=q(i[0]),u(e,"data-testid","title"),u(e,"class","title")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&1&&Y(t,o[0])},d(o){o&&H(e)}}}function qt(i){let e,t,o,r,n,l;return{c(){e=_("button"),t=q("Menu "),o=_("goa-icon"),x(o,"type",r=i[8]?"chevron-up":"chevron-down"),x(o,"mt","1"),u(e,"class","menu-toggle-area"),u(e,"data-testid","menu-toggle")},m(a,s){k(a,e,s),p(e,t),p(e,o),n||(l=G(e,"click",i[11]),n=!0)},p(a,s){s&256&&r!==(r=a[8]?"chevron-up":"chevron-down")&&x(o,"type",r)},d(a){a&&H(e),n=!1,l()}}}function Ft(i){let e,t,o,r,n,l,a,s,c,d=i[8]&&jt(i);return{c(){e=_("goa-popover"),t=_("div"),o=_("button"),r=q("Menu "),n=_("goa-icon"),a=S(),d&&d.c(),x(n,"type",l=i[8]?"chevron-up":"chevron-down"),x(n,"mt","1"),u(o,"class","menu-toggle-area"),u(o,"data-testid","menu-toggle"),u(t,"slot","target"),x(e,"class","menu"),x(e,"open",i[8]),x(e,"context","app-header-menu"),x(e,"focusborderwidth","0"),x(e,"borderradius","0"),x(e,"padded","false"),x(e,"width","16rem"),x(e,"tabindex","-1"),x(e,"position","below")},m(f,h){k(f,e,h),p(e,t),p(t,o),p(o,r),p(o,n),p(e,a),d&&d.m(e,null),s||(c=[G(o,"click",i[11]),G(e,"_close",i[12])],s=!0)},p(f,h){h&256&&l!==(l=f[8]?"chevron-up":"chevron-down")&&x(n,"type",l),f[8]?d?d.p(f,h):(d=jt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&256&&x(e,"open",f[8])},d(f){f&&H(e),d&&d.d(),s=!1,ue(c)}}}function jt(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"data-testid","slot")},m(t,o){k(t,e,o),i[14](e)},p:E,d(t){t&&H(e),i[14](null)}}}function Wt(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",ie(e,"display","none")},m(t,o){k(t,e,o),i[15](e)},p:E,d(t){t&&H(e),i[15](null)}}}function Gt(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"data-testid","slot"),u(e,"class","content-area")},m(t,o){k(t,e,o),i[16](e)},p:E,d(t){t&&H(e),i[16](null)}}}function Qo(i){let e,t,o,r,n,l,a,s,c;we(i[13]);function d(g,C){return g[1]?Jo:Yo}let f=d(i),h=f(i),b=i[7]&&i[10]&&qt(i),v=i[7]&&i[9]&&Ft(i),w=!i[8]&&(i[10]||i[9])&&Wt(i),y=(i[8]&&i[10]||i[5])&&Gt(i);return{c(){e=_("div"),t=_("div"),h.c(),o=S(),b&&b.c(),r=S(),v&&v.c(),n=S(),w&&w.c(),l=S(),y&&y.c(),this.c=E,u(t,"class","layout"),u(e,"class","container"),u(e,"data-testid",i[2]),u(e,"style",a=`--max-content-width: ${i[3]||"100%"}`),Z(e,"show-menu",i[8])},m(g,C){k(g,e,C),p(e,t),h.m(t,null),p(t,o),b&&b.m(t,null),p(t,r),v&&v.m(t,null),p(t,n),w&&w.m(t,null),p(t,l),y&&y.m(t,null),s||(c=G(Pt,"resize",i[13]),s=!0)},p(g,[C]){f===(f=d(g))&&h?h.p(g,C):(h.d(1),h=f(g),h&&(h.c(),h.m(t,o))),g[7]&&g[10]?b?b.p(g,C):(b=qt(g),b.c(),b.m(t,r)):b&&(b.d(1),b=null),g[7]&&g[9]?v?v.p(g,C):(v=Ft(g),v.c(),v.m(t,n)):v&&(v.d(1),v=null),!g[8]&&(g[10]||g[9])?w?w.p(g,C):(w=Wt(g),w.c(),w.m(t,l)):w&&(w.d(1),w=null),g[8]&&g[10]||g[5]?y?y.p(g,C):(y=Gt(g),y.c(),y.m(t,null)):y&&(y.d(1),y=null),C&4&&u(e,"data-testid",g[2]),C&8&&a!==(a=`--max-content-width: ${g[3]||"100%"}`)&&u(e,"style",a),C&256&&Z(e,"show-menu",g[8])},i:E,o:E,d(g){g&&H(e),h.d(),b&&b.d(),v&&v.d(),w&&w.d(),y&&y.d(),s=!1,c()}}}const Ut="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='32' height='32' 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",Kt="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";function $o(i,e,t){let o,r,n,{heading:l=""}=e,{url:a=""}=e,{testid:s=""}=e,{maxcontentwidth:c=""}=e,d,f=window.innerWidth,h=!1,b=!1;const v=()=>t(8,b=!b),w=()=>t(8,b=!1);J(()=>{window.addEventListener("popstate",()=>{y(),n||w()},!0),y()});function y(){if(!d)return;const V=d.querySelector("slot");if(!V)return;const R=V.assignedElements().filter(L=>L.tagName==="A").map(L=>(L.classList.remove("current"),L)).find(L=>{const M=L.href,B=`${window.location.pathname}${window.location.search}${window.location.hash}`;return M.endsWith(B)});R&&R.classList.add("current")}async function g(){var V;if(await se(),!d)return;const R=d==null?void 0:d.childNodes[0],L=(V=R.assignedElements)===null||V===void 0?void 0:V.call(R);return L?L.length>0:[...d.querySelectorAll("a")].length>0}function C(){t(4,f=Pt.innerWidth)}function A(V){U[V?"unshift":"push"](()=>{d=V,t(6,d)})}function T(V){U[V?"unshift":"push"](()=>{d=V,t(6,d)})}function z(V){U[V?"unshift":"push"](()=>{d=V,t(6,d)})}return i.$$set=V=>{"heading"in V&&t(0,l=V.heading),"url"in V&&t(1,a=V.url),"testid"in V&&t(2,s=V.testid),"maxcontentwidth"in V&&t(3,c=V.maxcontentwidth)},i.$$.update=()=>{i.$$.dirty&16&&t(10,o=f<480),i.$$.dirty&16&&t(9,r=f>=480&&f<960),i.$$.dirty&16&&t(5,n=f>=960),i.$$.dirty&32&&(async()=>t(7,h=!n&&await g()))()},[l,a,s,c,f,n,d,h,b,r,o,v,w,C,A,T,z]}class er extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`*,::slotted(*){font:var(--goa-typography-body-s)}.container{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.title{margin-left:var(--goa-space-s);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text-default)}.layout{width:100%;display:grid;grid-template-columns:1fr auto;grid-template-rows:3.375rem auto;grid-template-areas:"header menu"
|
|
9
|
+
"links links"}.header-logo-title-area{grid-area:header;display:flex;align-items:center;padding:0 1rem;text-decoration:none}.header-logo-title-area:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}.menu-toggle-area{grid-area:menu;color:var(--goa-color-text-default);align-items:center;background:transparent;border:none;cursor:pointer;display:flex;gap:0.25rem;justify-content:right;padding:1rem;text-decoration:underline}.menu-toggle-area goa-icon{scale:0.8}.menu-toggle-area:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}goa-popover .menu-toggle-area:focus{outline-offset:0}.image-desktop{height:2rem}.content-area{grid-area:links}::slotted(a){display:block;margin:0;font:var(--goa-typography-body-m);text-decoration:none;color:var(--goa-color-text-default);display:block;padding:calc((3rem - var(--goa-line-height-3)) / 2) 1rem;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:inset 0 var(--goa-border-width-s) 0 0 var(--goa-color-greyscale-200)}::slotted(a:hover){background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}::slotted(a:focus){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}::slotted(a.interactive){text-decoration:underline;color:var(--goa-color-interactive-default)}@media(max-width: 479px){.image-desktop{display:none}.image-mobile{display:block}.show-menu{border-bottom:var(--goa-border-width-m) solid var(--goa-color-greyscale-200)}}@media(min-width: 480px){*,::slotted(*){font:var(--goa-typography-body-m)}.layout{grid-template-rows:4rem auto}.header-logo-title-area{padding:0 1.5rem}.title{margin-left:var(--goa-space-m)}.header-logo-title-area{min-height:4rem}}@media(min-width: 480px) and (max-width: 959px){.image-desktop{display:block}.image-mobile{display:none}}@media(min-width: 960px){.image-desktop{display:block}.image-mobile{display:none}.layout{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto;grid-template-areas:"header . menu";margin:0 auto;width:min(var(--max-content-width), 100%)}.header-logo-title-area{grid-area:header;display:flex;align-items:center;grid-template-rows:3.375rem auto;color:inherit;flex:1 1 auto}.content-area{grid-area:menu;display:flex;align-items:stretch}::slotted(goa-app-header-menu),::slotted(a),::slotted(a:visited){color:var(--goa-color-text-default);font-weight:var(--goa-font-weight-bold);grid-template-rows:3.375rem auto;display:inline-flex;align-items:center;padding:0 0.75rem}::slotted(goa-app-header-menu){padding:0}::slotted(a:focus-within),::slotted(goa-app-header-menu:focus-within),::slotted(a:hover),::slotted(goa-app-header-menu:hover){background:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-hover)}::slotted(a:focus),::slotted(goa-app-header-menu:focus){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:calc(-1 * var(--goa-border-width-l))}::slotted(a.current){border-top:4px solid var(--goa-color-interactive-default);border-bottom:4px solid transparent}::slotted(a.current:hover){border-top:4px solid var(--goa-color-interactive-hover)}::slotted(a.interactive){font-weight:var(--goa-font-weight-medium);text-decoration:underline;color:var(--goa-color-interactive-default);padding:0 var(--goa-space-m)}::slotted(a.interactive:hover){color:var(--goa-color-interactive-hover)}::slotted(a.interactive.current){border-color:transparent;margin-left:var(--goa-space-m)}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},$o,Qo,O,{heading:0,url:1,testid:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","url","testid","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get url(){return this.$$.ctx[1]}set url(e){this.$$set({url:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}}customElements.define("goa-app-header",er);function tr(i){let e;return{c(){e=_("div"),ie(e,"height","1.2rem"),ie(e,"margin-left","-0.25rem")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function ir(i){let e,t;return{c(){e=_("goa-icon"),x(e,"arialabel",t=i[9]&&i[3]?i[3]:null),x(e,"type",i[10]),x(e,"size","small")},m(o,r){k(o,e,r)},p(o,r){r&520&&t!==(t=o[9]&&o[3]?o[3]:null)&&x(e,"arialabel",t),r&1024&&x(e,"type",o[10])},d(o){o&&H(e)}}}function Xt(i){let e,t;return{c(){e=_("div"),t=q(i[2]),u(e,"class","goa-badge-content")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&4&&Y(t,o[2])},d(o){o&&H(e)}}}function or(i){let e,t,o,r;function n(c,d){return c[8]?ir:tr}let l=n(i),a=l(i),s=i[2]&&Xt(i);return{c(){e=_("div"),a.c(),t=S(),s&&s.c(),this.c=E,u(e,"style",o=K(i[4],i[5],i[6],i[7])),u(e,"data-testid",i[1]),u(e,"data-type","goa-badge"),u(e,"class",r="goa-badge badge-"+i[0]),Z(e,"icon-only",i[9])},m(c,d){k(c,e,d),a.m(e,null),p(e,t),s&&s.m(e,null)},p(c,[d]){l===(l=n(c))&&a?a.p(c,d):(a.d(1),a=l(c),a&&(a.c(),a.m(e,t))),c[2]?s?s.p(c,d):(s=Xt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&240&&o!==(o=K(c[4],c[5],c[6],c[7]))&&u(e,"style",o),d&2&&u(e,"data-testid",c[1]),d&1&&r!==(r="goa-badge badge-"+c[0])&&u(e,"class",r),d&513&&Z(e,"icon-only",c[9])},i:E,o:E,d(c){c&&H(e),a.d(),s&&s.d()}}}function rr(i,e,t){let o,r,n;const[l,a]=te("Badge type",["success","important","information","emergency","dark","midtone","light"],!0);let{type:s}=e,{testid:c=""}=e,{content:d=""}=e,{icon:f="false"}=e,{arialabel:h=""}=e,{mt:b=null}=e,{mr:v=null}=e,{mb:w=null}=e,{ml:y=null}=e;return J(()=>{setTimeout(()=>a(s),1),!o&&!d&&console.warn("GoABadge must have either then content or icon property set"),r&&!h&&console.warn("GoABadge with icon only requires an arialabel")}),i.$$set=g=>{"type"in g&&t(0,s=g.type),"testid"in g&&t(1,c=g.testid),"content"in g&&t(2,d=g.content),"icon"in g&&t(11,f=g.icon),"arialabel"in g&&t(3,h=g.arialabel),"mt"in g&&t(4,b=g.mt),"mr"in g&&t(5,v=g.mr),"mb"in g&&t(6,w=g.mb),"ml"in g&&t(7,y=g.ml)},i.$$.update=()=>{i.$$.dirty&2048&&t(8,o=$(f)),i.$$.dirty&260&&t(9,r=o&&!d),i.$$.dirty&1&&t(10,n={success:"checkmark-circle",important:"alert-circle",information:"information-circle",emergency:"warning",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[s])},[s,c,d,h,b,v,w,y,o,r,n,f]}class nr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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{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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},rr,or,O,{type:0,testid:1,content:2,icon:11,arialabel:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","testid","content","icon","arialabel","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),m()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),m()}get icon(){return this.$$.ctx[11]}set icon(e){this.$$set({icon:e}),m()}get arialabel(){return this.$$.ctx[3]}set arialabel(e){this.$$set({arialabel:e}),m()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-badge",nr);function ar(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"class","block"),u(e,"style",o=`
|
|
10
10
|
${K(i[3],i[4],i[5],i[6])};
|
|
11
11
|
--gap: var(--goa-space-${i[0]});
|
|
12
12
|
--alignment: ${i[2]};
|
|
13
13
|
--direction: ${i[1]};
|
|
14
|
-
`)},m(r,n){k(r,e,n),
|
|
14
|
+
`)},m(r,n){k(r,e,n),p(e,t)},p(r,[n]){n&127&&o!==(o=`
|
|
15
15
|
${K(r[3],r[4],r[5],r[6])};
|
|
16
16
|
--gap: var(--goa-space-${r[0]});
|
|
17
17
|
--alignment: ${r[2]};
|
|
18
18
|
--direction: ${r[1]};
|
|
19
|
-
`)&&u(e,"style",o)},i:E,o:E,d(r){r&&
|
|
20
|
-
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);padding-left:var(--goa-space-xs);padding-right:var(--goa-space-xs)}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:transparent}.tertiary.destructive:hover{color:var(--goa-color-emergency-dark)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},dr,cr,O,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","variant","disabled","leadingicon","trailingicon","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),h()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),h()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),h()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button",ur);function fr(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"data-testid",i[1]),u(e,"style",o=""+(K(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(r,n){k(r,e,n),w(e,t)},p(r,[n]){n&2&&u(e,"data-testid",r[1]),n&125&&o!==(o=""+(K(r[2],r[3],r[4],r[5])+"; --alignment: "+r[6]+"; --gap-size: "+(r[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",o)},i:E,o:E,d(r){r&&L(e)}}}function gr(i,e,t){let o,{alignment:r="start"}=e,{gap:n="relaxed"}=e,{testid:a=""}=e,{mt:l=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,g]=te("alignment",["start","end","center"]),[b,v]=te("gap",["relaxed","compact"]);return J(()=>{g(r),v(n)}),i.$$set=y=>{"alignment"in y&&t(7,r=y.alignment),"gap"in y&&t(0,n=y.gap),"testid"in y&&t(1,a=y.testid),"mt"in y&&t(2,l=y.mt),"mr"in y&&t(3,s=y.mr),"mb"in y&&t(4,c=y.mb),"ml"in y&&t(5,d=y.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,o={start:"flex-start",end:"flex-end",center:"center"}[r])},[n,a,l,s,c,d,o,r]}class hr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},gr,fr,O,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),h()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-button-group",hr);function Yt(i){let e,t;return{c(){e=_("h3"),t=q(i[5]),I(e,"medium",i[9])},m(o,r){k(o,e,r),w(e,t)},p(o,r){r&32&&Y(t,o[5]),r&512&&I(e,"medium",o[9])},d(o){o&&L(e)}}}function mr(i){let e,t,o,r,n,a,l,s,c,d,f,g;pe(i[12]);let b=i[5]&&Yt(i);return{c(){e=_("div"),t=_("span"),o=_("goa-icon"),a=S(),l=_("span"),b&&b.c(),s=S(),c=_("slot"),this.c=E,C(o,"type",i[10]),C(o,"size",i[8]),C(o,"inverted",r=i[4]==="important"?"false":"true"),u(t,"class",n="icon "+i[4]),u(l,"class","content"),u(e,"style",d=K(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6]),I(e,"medium",i[9])},m(v,y){k(v,e,y),w(e,t),w(t,o),w(e,a),w(e,l),b&&b.m(l,null),w(l,s),w(l,c),f||(g=G(window,"resize",i[12]),f=!0)},p(v,[y]){y&1024&&C(o,"type",v[10]),y&256&&C(o,"size",v[8]),y&16&&r!==(r=v[4]==="important"?"false":"true")&&C(o,"inverted",r),y&16&&n!==(n="icon "+v[4])&&u(t,"class",n),v[5]?b?b.p(v,y):(b=Yt(v),b.c(),b.m(l,s)):b&&(b.d(1),b=null),y&15&&d!==(d=K(v[0],v[1],v[2],v[3]))&&u(e,"style",d),y&64&&u(e,"data-testid",v[6]),y&512&&I(e,"medium",v[9])},i:E,o:E,d(v){v&&L(e),b&&b.d(),f=!1,g()}}}function br(i,e,t){let o,r;const[n,a]=te("Callout type",["emergency","important","information","event","success"],!0),[l,s]=te("Callout size",["medium","large"]);let{mt:c=null}=e,{mr:d=null}=e,{mb:f="l"}=e,{ml:g=null}=e,{size:b="large"}=e,{type:v}=e,{heading:y=""}=e,{testid:p=""}=e,m=0,x="medium";J(()=>{s(b),setTimeout(()=>{a(v),t(8,x=o?"small":"medium")})});function A(){t(7,m=window.innerWidth)}return i.$$set=T=>{"mt"in T&&t(0,c=T.mt),"mr"in T&&t(1,d=T.mr),"mb"in T&&t(2,f=T.mb),"ml"in T&&t(3,g=T.ml),"size"in T&&t(11,b=T.size),"type"in T&&t(4,v=T.type),"heading"in T&&t(5,y=T.heading),"testid"in T&&t(6,p=T.testid)},i.$$.update=()=>{i.$$.dirty&2176&&t(9,o=m<640||b==="medium"),i.$$.dirty&16&&t(10,r=v==="emergency"?"warning":v==="important"?"alert-circle":v==="information"?"information-circle":v==="success"?"checkmark-circle":v==="event"?"calendar":"")},[c,d,f,g,v,y,p,m,x,o,r,b,A]}class vr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;overflow:hidden;font:var(--goa-typography-body-m)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:var(--goa-space-none);margin-bottom:var(--goa-space-m)}.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{text-align:center;padding-top:var(--goa-space-l);padding-left:var(--goa-space-s);padding-right:var(--goa-space-s)}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:var(--goa-space-l)}.notification.medium{font:var(--goa-typography-body-s)}h3.medium{font:var(--goa-typography-heading-xs);margin-bottom:var(--goa-space-2xs)}.notification.medium .content{padding:var(--goa-space-s);margin-top:calc(-1 * var(--goa-space-3xs))}.notification.medium .icon{padding-top:var(--goa-space-s);padding-left:var(--goa-space-2xs);padding-right:var(--goa-space-2xs)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},br,mr,O,{mt:0,mr:1,mb:2,ml:3,size:11,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","size","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get size(){return this.$$.ctx[11]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-callout",vr);function pr(i){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=E},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&L(e)}}}class wr extends j{constructor(e){super();W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},null,pr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",wr);function yr(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",o="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+K(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(r,n){k(r,e,n),w(e,t)},p(r,[n]){n&128&&u(e,"data-testid",r[7]),n&127&&o!==(o="--width: "+r[1]+"; --height: "+(r[2]==="auto"?"auto":"100%")+"; "+K(r[3],r[4],r[5],r[6])+" "+(r[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${r[0]});`)+"")&&u(e,"style",o)},i:E,o:E,d(r){r&&L(e)}}}function _r(i,e,t){let{elevation:o=0}=e,{width:r="100%"}=e,{height:n="auto"}=e,{mt:a=null}=e,{mr:l=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,o=f.elevation),"width"in f&&t(1,r=f.width),"height"in f&&t(2,n=f.height),"mt"in f&&t(3,a=f.mt),"mr"in f&&t(4,l=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[o,r,n,a,l,s,c,d]}class kr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},_r,yr,O,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","height","mt","mr","mb","ml","testid"]}get elevation(){return this.$$.ctx[0]}set elevation(e){this.$$set({elevation:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-card",kr);function Cr(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-content")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&L(e)}}}class xr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},null,Cr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",xr);function Er(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-group")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&L(e)}}}class zr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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%}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},null,Er,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",zr);function Lr(i){let e;return{c(){e=_("div"),this.c=E,ie(e,"background-image","url("+i[0]+")"),ie(e,"height",i[1]),ie(e,"background-size","cover"),ie(e,"background-position","center")},m(t,o){k(t,e,o)},p(t,[o]){o&1&&ie(e,"background-image","url("+t[0]+")"),o&2&&ie(e,"height",t[1])},i:E,o:E,d(t){t&&L(e)}}}function Hr(i,e,t){let{src:o}=e,{height:r="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,o=n.src),"height"in n&&t(1,r=n.height)},[o,r]}class Mr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Hr,Lr,O,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),h()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),h()}}customElements.define("goa-card-image",Mr);function Tr(i){let e,t;return{c(){e=Ve("svg"),t=Ve("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(o,r){k(o,e,r),w(e,t)},d(o){o&&L(e)}}}function Ar(i){let e,t;return{c(){e=Ve("svg"),t=Ve("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(o,r){k(o,e,r),w(e,t)},d(o){o&&L(e)}}}function Rr(i){let e,t,o,r,n,a,l,s,c,d,f,g,b;function v(m,x){if(m[10])return Ar;if(m[9])return Tr}let y=v(i),p=y&&y(i);return{c(){e=_("label"),t=_("div"),o=_("input"),a=S(),p&&p.c(),l=S(),s=_("div"),c=_("slot"),d=q(i[1]),this.c=E,u(o,"id",i[0]),u(o,"name",i[0]),o.checked=i[9],o.disabled=i[12],u(o,"type","checkbox"),o.value=r=`${i[2]}`,u(o,"aria-label",n=i[4]||i[0]),u(t,"class","goa-checkbox-container"),I(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=K(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),I(e,"goa-checkbox--disabled",i[12]),I(e,"goa-checkbox--error",i[11])},m(m,x){k(m,e,x),w(e,t),w(t,o),w(t,a),p&&p.m(t,null),w(e,l),w(e,s),w(s,c),w(c,d),g||(b=G(o,"change",i[13]),g=!0)},p(m,[x]){x&1&&u(o,"id",m[0]),x&1&&u(o,"name",m[0]),x&512&&(o.checked=m[9]),x&4096&&(o.disabled=m[12]),x&4&&r!==(r=`${m[2]}`)&&(o.value=r),x&17&&n!==(n=m[4]||m[0])&&u(o,"aria-label",n),y!==(y=v(m))&&(p&&p.d(1),p=y&&y(m),p&&(p.c(),p.m(t,null))),x&512&&I(t,"goa-checkbox--selected",m[9]),x&2&&Y(d,m[1]),x&8&&u(e,"data-testid",m[3]),x&1&&u(e,"for",m[0]),x&480&&f!==(f=K(m[5],m[6],m[7],m[8]))&&u(e,"style",f),x&4096&&I(e,"goa-checkbox--disabled",m[12]),x&2048&&I(e,"goa-checkbox--error",m[11])},i:E,o:E,d(m){m&&L(e),p&&p.d(),g=!1,b()}}}function Sr(i,e,t){let o,r,n,a,{name:l}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:g="false"}=e,{testid:b=""}=e,{arialabel:v=""}=e,{mt:y=null}=e,{mr:p=null}=e,{mb:m=null}=e,{ml:x=null}=e,A;J(()=>{A=d});function T(z){const V=!n,R=V?`${A||"checked"}`:"";t(14,s=jo(V)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,checked:V,value:R}}))}return i.$$set=z=>{"name"in z&&t(0,l=z.name),"checked"in z&&t(14,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,d=z.value),"disabled"in z&&t(15,f=z.disabled),"error"in z&&t(16,g=z.error),"testid"in z&&t(3,b=z.testid),"arialabel"in z&&t(4,v=z.arialabel),"mt"in z&&t(5,y=z.mt),"mr"in z&&t(6,p=z.mr),"mb"in z&&t(7,m=z.mb),"ml"in z&&t(8,x=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,o=$(f)),i.$$.dirty&65536&&t(11,r=$(g)),i.$$.dirty&16384&&t(9,n=$(s))},t(10,a=!1),[l,c,d,b,v,y,p,m,x,n,a,r,o,T,s,f,g]}class Vr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=':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)}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Sr,Rr,O,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","checked","text","value","disabled","error","testid","arialabel","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),h()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),h()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),h()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-checkbox",Vr);function Jt(i){let e;return{c(){e=_("goa-icon"),C(e,"class","leading-icon"),C(e,"size","medium"),C(e,"type",i[4])},m(t,o){k(t,e,o)},p(t,o){o&16&&C(e,"type",t[4])},d(t){t&&L(e)}}}function Qt(i){let e,t,o;return{c(){e=_("goa-icon"),C(e,"class","delete-icon"),C(e,"size","medium"),C(e,"theme","filled"),C(e,"type","close-circle"),C(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),C(e,"opacity",o=i[10]?i[9]?1:.5:1)},m(r,n){k(r,e,n)},p(r,n){n&1536&&t!==(t=r[10]?"var(--goa-color-emergency-default)":r[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&C(e,"fillcolor",t),n&1536&&o!==(o=r[10]?r[9]?1:.5:1)&&C(e,"opacity",o)},d(r){r&&L(e)}}}function Br(i){let e,t,o,r,n,a,l,s,c=i[4]&&Jt(i),d=i[11]&&Qt(i);return{c(){e=_("div"),c&&c.c(),t=S(),o=_("div"),r=q(i[5]),n=S(),d&&d.c(),this.c=E,u(o,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",a=K(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),I(e,"deletable",i[11]),I(e,"error",i[10]),I(e,"variant",i[6])},m(f,g){k(f,e,g),c&&c.m(e,null),w(e,t),w(e,o),w(o,r),w(e,n),d&&d.m(e,null),i[15](e),l||(s=[G(e,"click",i[16]),G(e,"mouseover",i[17]),G(e,"mouseout",i[18]),G(e,"focus",i[19]),G(e,"blur",i[20])],l=!0)},p(f,[g]){f[4]?c?c.p(f,g):(c=Jt(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),g&32&&Y(r,f[5]),f[11]?d?d.p(f,g):(d=Qt(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),g&128&&u(e,"data-testid",f[7]),g&15&&a!==(a=K(f[0],f[1],f[2],f[3]))&&u(e,"style",a),g&2048&&I(e,"deletable",f[11]),g&1024&&I(e,"error",f[10]),g&64&&I(e,"variant",f[6])},i:E,o:E,d(f){f&&L(e),c&&c.d(),d&&d.d(),i[15](null),l=!1,de(s)}}}function Dr(i,e,t){let{mt:o=null}=e,{mr:r=null}=e,{mb:n=null}=e,{ml:a=null}=e,{leadingicon:l=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:g=""}=e,b,v=!1,y,p;function m(H){b.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),H.stopPropagation()}function x(H){U[H?"unshift":"push"](()=>{b=H,t(8,b)})}const A=H=>p&&m(H),T=()=>t(9,v=!0),z=()=>t(9,v=!1),V=()=>t(9,v=!1),R=()=>t(9,v=!1);return i.$$set=H=>{"mt"in H&&t(0,o=H.mt),"mr"in H&&t(1,r=H.mr),"mb"in H&&t(2,n=H.mb),"ml"in H&&t(3,a=H.ml),"leadingicon"in H&&t(4,l=H.leadingicon),"error"in H&&t(13,s=H.error),"deletable"in H&&t(14,c=H.deletable),"content"in H&&t(5,d=H.content),"variant"in H&&t(6,f=H.variant),"testid"in H&&t(7,g=H.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,y=$(s)),i.$$.dirty&16384&&t(11,p=$(c))},[o,r,n,a,l,d,f,g,b,v,y,p,m,s,c,x,A,T,z,V,R]}class Nr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=".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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Dr,Br,O,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","leadingicon","error","deletable","content","variant","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),h()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),h()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),h()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-chip",Nr);function Ir(i){const e=i-1;return e*e*e+1}function Pr(i){return Math.pow(i-1,3)*(1-i)+1}function qe(i,{delay:e=0,duration:t=400,easing:o=Ge}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:o,css:n=>`opacity: ${n*r}`}}function $t(i,{delay:e=0,duration:t=400,easing:o=Ir,x:r=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(i),s=+l.opacity,c=l.transform==="none"?"":l.transform,d=s*(1-a),[f,g]=xt(r),[b,v]=xt(n);return{delay:e,duration:t,easing:o,css:(y,p)=>`
|
|
21
|
-
transform: ${c} translate(${(1-
|
|
22
|
-
opacity: ${s-d*
|
|
19
|
+
`)&&u(e,"style",o)},i:E,o:E,d(r){r&&H(e)}}}function lr(i,e,t){let{gap:o="m"}=e,{direction:r="row"}=e,{alignment:n="start"}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e;return i.$$set=d=>{"gap"in d&&t(0,o=d.gap),"direction"in d&&t(1,r=d.direction),"alignment"in d&&t(2,n=d.alignment),"mt"in d&&t(3,l=d.mt),"mr"in d&&t(4,a=d.mr),"mb"in d&&t(5,s=d.mb),"ml"in d&&t(6,c=d.ml)},[o,r,n,l,a,s,c]}class sr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=".block{display:flex;flex-direction:var(--direction);align-items:var(--alignment);gap:var(--gap)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},lr,ar,O,{gap:0,direction:1,alignment:2,mt:3,mr:4,mb:5,ml:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["gap","direction","alignment","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),m()}get direction(){return this.$$.ctx[1]}set direction(e){this.$$set({direction:e}),m()}get alignment(){return this.$$.ctx[2]}set alignment(e){this.$$set({alignment:e}),m()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-block",sr);function cr(i){let e,t,o,r,n=i[3]&&Yt(i),l=i[4]&&Jt(i);return{c(){n&&n.c(),e=S(),t=_("span"),t.innerHTML="<slot></slot>",o=S(),l&&l.c(),r=be(),u(t,"class","text")},m(a,s){n&&n.m(a,s),k(a,e,s),k(a,t,s),k(a,o,s),l&&l.m(a,s),k(a,r,s)},p(a,s){a[3]?n?n.p(a,s):(n=Yt(a),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),a[4]?l?l.p(a,s):(l=Jt(a),l.c(),l.m(r.parentNode,r)):l&&(l.d(1),l=null)},d(a){n&&n.d(a),a&&H(e),a&&H(t),a&&H(o),l&&l.d(a),a&&H(r)}}}function dr(i){let e,t,o;return{c(){e=_("span"),e.innerHTML="<slot></slot>",t=S(),o=_("goa-icon"),u(e,"class","text"),x(o,"id","trailing-icon"),x(o,"type","arrow-forward"),x(o,"inverted","true")},m(r,n){k(r,e,n),k(r,t,n),k(r,o,n)},p:E,d(r){r&&H(e),r&&H(t),r&&H(o)}}}function Yt(i){let e;return{c(){e=_("goa-icon"),x(e,"id","leading-icon"),x(e,"type",i[3]),x(e,"inverted",i[11])},m(t,o){k(t,e,o)},p(t,o){o&8&&x(e,"type",t[3]),o&2048&&x(e,"inverted",t[11])},d(t){t&&H(e)}}}function Jt(i){let e;return{c(){e=_("goa-icon"),x(e,"id","trailing-icon"),x(e,"type",i[4]),x(e,"inverted",i[11])},m(t,o){k(t,e,o)},p(t,o){o&16&&x(e,"type",t[4]),o&2048&&x(e,"inverted",t[11])},d(t){t&&H(e)}}}function ur(i){let e,t,o,r,n;function l(c,d){return c[0]==="start"?dr:cr}let a=l(i),s=a(i);return{c(){e=_("button"),s.c(),this.c=E,u(e,"class",t=""+(i[0]+" "+i[1]+" "+i[2])),u(e,"style",o=K(i[6],i[7],i[8],i[9])),e.disabled=i[10],u(e,"data-testid",i[5]),Z(e,"leading",i[3]),Z(e,"trailing",i[4]||i[0]==="start")},m(c,d){k(c,e,d),s.m(e,null),r||(n=[G(e,"click",i[12]),G(e,"click",i[12])],r=!0)},p(c,[d]){a===(a=l(c))&&s?s.p(c,d):(s.d(1),s=a(c),s&&(s.c(),s.m(e,null))),d&7&&t!==(t=""+(c[0]+" "+c[1]+" "+c[2]))&&u(e,"class",t),d&960&&o!==(o=K(c[6],c[7],c[8],c[9]))&&u(e,"style",o),d&1024&&(e.disabled=c[10]),d&32&&u(e,"data-testid",c[5]),d&15&&Z(e,"leading",c[3]),d&23&&Z(e,"trailing",c[4]||c[0]==="start")},i:E,o:E,d(c){c&&H(e),s.d(),r=!1,ue(n)}}}function fr(i,e,t){let o,r;const[n,l]=te("Button type",["primary","submit","secondary","tertiary","start"],!0),[a,s]=te("Button size",["normal","compact"],!0),[c,d]=te("Button variant",["normal","destructive"],!0);let{type:f="primary"}=e,{size:h="normal"}=e,{variant:b="normal"}=e,{disabled:v="false"}=e,{leadingicon:w=null}=e,{trailingicon:y=null}=e,{testid:g=""}=e,{mt:C=null}=e,{mr:A=null}=e,{mb:T=null}=e,{ml:z=null}=e;function V(R){o||this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0}))}return J(()=>{l(f),s(h),d(b)}),i.$$set=R=>{"type"in R&&t(0,f=R.type),"size"in R&&t(1,h=R.size),"variant"in R&&t(2,b=R.variant),"disabled"in R&&t(13,v=R.disabled),"leadingicon"in R&&t(3,w=R.leadingicon),"trailingicon"in R&&t(4,y=R.trailingicon),"testid"in R&&t(5,g=R.testid),"mt"in R&&t(6,C=R.mt),"mr"in R&&t(7,A=R.mr),"mb"in R&&t(8,T=R.mb),"ml"in R&&t(9,z=R.ml)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,o=$(v)),i.$$.dirty&1&&t(11,r=f==="primary"||f==="start")},[f,h,b,w,y,g,C,A,T,z,o,r,V,v]}class gr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`: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;white-space:nowrap;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
20
|
+
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);padding-left:var(--goa-space-xs);padding-right:var(--goa-space-xs)}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:transparent}.tertiary.destructive:hover{color:var(--goa-color-emergency-dark)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fr,ur,O,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get variant(){return this.$$.ctx[2]}set variant(e){this.$$set({variant:e}),m()}get disabled(){return this.$$.ctx[13]}set disabled(e){this.$$set({disabled:e}),m()}get leadingicon(){return this.$$.ctx[3]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get trailingicon(){return this.$$.ctx[4]}set trailingicon(e){this.$$set({trailingicon:e}),m()}get testid(){return this.$$.ctx[5]}set testid(e){this.$$set({testid:e}),m()}get mt(){return this.$$.ctx[6]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[7]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[8]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[9]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-button",gr);function hr(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"data-testid",i[1]),u(e,"style",o=""+(K(i[2],i[3],i[4],i[5])+"; --alignment: "+i[6]+"; --gap-size: "+(i[0]==="relaxed"?"1rem":"0.75rem")))},m(r,n){k(r,e,n),p(e,t)},p(r,[n]){n&2&&u(e,"data-testid",r[1]),n&125&&o!==(o=""+(K(r[2],r[3],r[4],r[5])+"; --alignment: "+r[6]+"; --gap-size: "+(r[0]==="relaxed"?"1rem":"0.75rem")))&&u(e,"style",o)},i:E,o:E,d(r){r&&H(e)}}}function mr(i,e,t){let o,{alignment:r="start"}=e,{gap:n="relaxed"}=e,{testid:l=""}=e,{mt:a=null}=e,{mr:s=null}=e,{mb:c=null}=e,{ml:d=null}=e;const[f,h]=te("alignment",["start","end","center"]),[b,v]=te("gap",["relaxed","compact"]);return J(()=>{h(r),v(n)}),i.$$set=w=>{"alignment"in w&&t(7,r=w.alignment),"gap"in w&&t(0,n=w.gap),"testid"in w&&t(1,l=w.testid),"mt"in w&&t(2,a=w.mt),"mr"in w&&t(3,s=w.mr),"mb"in w&&t(4,c=w.mb),"ml"in w&&t(5,d=w.ml)},i.$$.update=()=>{i.$$.dirty&128&&t(6,o={start:"flex-start",end:"flex-end",center:"center"}[r])},[n,l,a,s,c,d,o,r]}class br extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mr,hr,O,{alignment:7,gap:0,testid:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["alignment","gap","testid","mt","mr","mb","ml"]}get alignment(){return this.$$.ctx[7]}set alignment(e){this.$$set({alignment:e}),m()}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),m()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid: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-button-group",br);function Qt(i){let e,t;return{c(){e=_("h3"),t=q(i[5]),Z(e,"medium",i[9])},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&32&&Y(t,o[5]),r&512&&Z(e,"medium",o[9])},d(o){o&&H(e)}}}function vr(i){let e,t,o,r,n,l,a,s,c,d,f,h;we(i[12]);let b=i[5]&&Qt(i);return{c(){e=_("div"),t=_("span"),o=_("goa-icon"),l=S(),a=_("span"),b&&b.c(),s=S(),c=_("slot"),this.c=E,x(o,"type",i[10]),x(o,"size",i[8]),x(o,"inverted",r=i[4]==="important"?"false":"true"),u(t,"class",n="icon "+i[4]),u(a,"class","content"),u(e,"style",d=K(i[0],i[1],i[2],i[3])),u(e,"class","notification"),u(e,"data-testid",i[6]),Z(e,"medium",i[9])},m(v,w){k(v,e,w),p(e,t),p(t,o),p(e,l),p(e,a),b&&b.m(a,null),p(a,s),p(a,c),f||(h=G(window,"resize",i[12]),f=!0)},p(v,[w]){w&1024&&x(o,"type",v[10]),w&256&&x(o,"size",v[8]),w&16&&r!==(r=v[4]==="important"?"false":"true")&&x(o,"inverted",r),w&16&&n!==(n="icon "+v[4])&&u(t,"class",n),v[5]?b?b.p(v,w):(b=Qt(v),b.c(),b.m(a,s)):b&&(b.d(1),b=null),w&15&&d!==(d=K(v[0],v[1],v[2],v[3]))&&u(e,"style",d),w&64&&u(e,"data-testid",v[6]),w&512&&Z(e,"medium",v[9])},i:E,o:E,d(v){v&&H(e),b&&b.d(),f=!1,h()}}}function pr(i,e,t){let o,r;const[n,l]=te("Callout type",["emergency","important","information","event","success"],!0),[a,s]=te("Callout size",["medium","large"]);let{mt:c=null}=e,{mr:d=null}=e,{mb:f="l"}=e,{ml:h=null}=e,{size:b="large"}=e,{type:v}=e,{heading:w=""}=e,{testid:y=""}=e,g=0,C="medium";J(()=>{s(b),setTimeout(()=>{l(v),t(8,C=o?"small":"medium")})});function A(){t(7,g=window.innerWidth)}return i.$$set=T=>{"mt"in T&&t(0,c=T.mt),"mr"in T&&t(1,d=T.mr),"mb"in T&&t(2,f=T.mb),"ml"in T&&t(3,h=T.ml),"size"in T&&t(11,b=T.size),"type"in T&&t(4,v=T.type),"heading"in T&&t(5,w=T.heading),"testid"in T&&t(6,y=T.testid)},i.$$.update=()=>{i.$$.dirty&2176&&t(9,o=g<640||b==="medium"),i.$$.dirty&16&&t(10,r=v==="emergency"?"warning":v==="important"?"alert-circle":v==="information"?"information-circle":v==="success"?"checkmark-circle":v==="event"?"calendar":"")},[c,d,f,h,v,w,y,g,C,o,r,b,A]}class wr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;overflow:hidden;font:var(--goa-typography-body-m)}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:var(--goa-space-none);margin-bottom:var(--goa-space-m)}.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{text-align:center;padding-top:var(--goa-space-l);padding-left:var(--goa-space-s);padding-right:var(--goa-space-s)}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:var(--goa-space-l)}.notification.medium{font:var(--goa-typography-body-s)}h3.medium{font:var(--goa-typography-heading-xs);margin-bottom:var(--goa-space-2xs)}.notification.medium .content{padding:var(--goa-space-s);margin-top:calc(-1 * var(--goa-space-3xs))}.notification.medium .icon{padding-top:var(--goa-space-s);padding-left:var(--goa-space-2xs);padding-right:var(--goa-space-2xs)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},pr,vr,O,{mt:0,mr:1,mb:2,ml:3,size:11,type:4,heading:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["mt","mr","mb","ml","size","type","heading","testid"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),m()}get size(){return this.$$.ctx[11]}set size(e){this.$$set({size:e}),m()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),m()}get heading(){return this.$$.ctx[5]}set heading(e){this.$$set({heading:e}),m()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-callout",wr);function yr(i){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=E},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&H(e)}}}class _r extends F{constructor(e){super();W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,yr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",_r);function kr(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"data-testid",i[7]),u(e,"class","card"),u(e,"style",o="--width: "+i[1]+"; --height: "+(i[2]==="auto"?"auto":"100%")+"; "+K(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(r,n){k(r,e,n),p(e,t)},p(r,[n]){n&128&&u(e,"data-testid",r[7]),n&127&&o!==(o="--width: "+r[1]+"; --height: "+(r[2]==="auto"?"auto":"100%")+"; "+K(r[3],r[4],r[5],r[6])+" "+(r[0]===0?"border: 1px solid var(--goa-color-greyscale-200);":`box-shadow: var(--shadow-${r[0]});`)+"")&&u(e,"style",o)},i:E,o:E,d(r){r&&H(e)}}}function Cr(i,e,t){let{elevation:o=0}=e,{width:r="100%"}=e,{height:n="auto"}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{testid:d=""}=e;return i.$$set=f=>{"elevation"in f&&t(0,o=f.elevation),"width"in f&&t(1,r=f.width),"height"in f&&t(2,n=f.height),"mt"in f&&t(3,l=f.mt),"mr"in f&&t(4,a=f.mr),"mb"in f&&t(5,s=f.mb),"ml"in f&&t(6,c=f.ml),"testid"in f&&t(7,d=f.testid)},[o,r,n,l,a,s,c,d]}class xr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Cr,kr,O,{elevation:0,width:1,height:2,mt:3,mr:4,mb:5,ml:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}get height(){return this.$$.ctx[2]}set height(e){this.$$set({height:e}),m()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),m()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-card",xr);function Er(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-content")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&H(e)}}}class zr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Er,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",zr);function Lr(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","card-group")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&H(e)}}}class Hr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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%}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Lr,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",Hr);function Mr(i){let e;return{c(){e=_("div"),this.c=E,ie(e,"background-image","url("+i[0]+")"),ie(e,"height",i[1]),ie(e,"background-size","cover"),ie(e,"background-position","center")},m(t,o){k(t,e,o)},p(t,[o]){o&1&&ie(e,"background-image","url("+t[0]+")"),o&2&&ie(e,"height",t[1])},i:E,o:E,d(t){t&&H(e)}}}function Tr(i,e,t){let{src:o}=e,{height:r="100%"}=e;return i.$$set=n=>{"src"in n&&t(0,o=n.src),"height"in n&&t(1,r=n.height)},[o,r]}class Ar extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tr,Mr,O,{src:0,height:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["src","height"]}get src(){return this.$$.ctx[0]}set src(e){this.$$set({src:e}),m()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),m()}}customElements.define("goa-card-image",Ar);function Rr(i){let e,t;return{c(){e=Be("svg"),t=Be("path"),u(t,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),u(e,"id","checkmark"),u(e,"data-testid","checkmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 16 12.18")},m(o,r){k(o,e,r),p(e,t)},d(o){o&&H(e)}}}function Sr(i){let e,t;return{c(){e=Be("svg"),t=Be("rect"),u(t,"width","15"),u(t,"height","2"),u(e,"id","dashmark"),u(e,"data-testid","dashmark"),u(e,"xmlns","http://www.w3.org/2000/svg"),u(e,"viewBox","0 0 15 2")},m(o,r){k(o,e,r),p(e,t)},d(o){o&&H(e)}}}function Vr(i){let e,t,o,r,n,l,a,s,c,d,f,h,b;function v(g,C){if(g[10])return Sr;if(g[9])return Rr}let w=v(i),y=w&&w(i);return{c(){e=_("label"),t=_("div"),o=_("input"),l=S(),y&&y.c(),a=S(),s=_("div"),c=_("slot"),d=q(i[1]),this.c=E,u(o,"id",i[0]),u(o,"name",i[0]),o.checked=i[9],o.disabled=i[12],u(o,"type","checkbox"),o.value=r=`${i[2]}`,u(o,"aria-label",n=i[4]||i[0]),u(t,"class","goa-checkbox-container"),Z(t,"goa-checkbox--selected",i[9]),u(s,"class","goa-checkbox-text"),u(s,"data-testid","text"),u(e,"data-testid",i[3]),u(e,"for",i[0]),u(e,"style",f=K(i[5],i[6],i[7],i[8])),u(e,"class","goa-checkbox"),Z(e,"goa-checkbox--disabled",i[12]),Z(e,"goa-checkbox--error",i[11])},m(g,C){k(g,e,C),p(e,t),p(t,o),p(t,l),y&&y.m(t,null),p(e,a),p(e,s),p(s,c),p(c,d),h||(b=G(o,"change",i[13]),h=!0)},p(g,[C]){C&1&&u(o,"id",g[0]),C&1&&u(o,"name",g[0]),C&512&&(o.checked=g[9]),C&4096&&(o.disabled=g[12]),C&4&&r!==(r=`${g[2]}`)&&(o.value=r),C&17&&n!==(n=g[4]||g[0])&&u(o,"aria-label",n),w!==(w=v(g))&&(y&&y.d(1),y=w&&w(g),y&&(y.c(),y.m(t,null))),C&512&&Z(t,"goa-checkbox--selected",g[9]),C&2&&Y(d,g[1]),C&8&&u(e,"data-testid",g[3]),C&1&&u(e,"for",g[0]),C&480&&f!==(f=K(g[5],g[6],g[7],g[8]))&&u(e,"style",f),C&4096&&Z(e,"goa-checkbox--disabled",g[12]),C&2048&&Z(e,"goa-checkbox--error",g[11])},i:E,o:E,d(g){g&&H(e),y&&y.d(),h=!1,b()}}}function Br(i,e,t){let o,r,n,l,{name:a}=e,{checked:s="false"}=e,{text:c=""}=e,{value:d=""}=e,{disabled:f="false"}=e,{error:h="false"}=e,{testid:b=""}=e,{arialabel:v=""}=e,{mt:w=null}=e,{mr:y=null}=e,{mb:g=null}=e,{ml:C=null}=e,A;J(()=>{A=d});function T(z){const V=!n,R=V?`${A||"checked"}`:"";t(14,s=Wo(V)),z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,checked:V,value:R}}))}return i.$$set=z=>{"name"in z&&t(0,a=z.name),"checked"in z&&t(14,s=z.checked),"text"in z&&t(1,c=z.text),"value"in z&&t(2,d=z.value),"disabled"in z&&t(15,f=z.disabled),"error"in z&&t(16,h=z.error),"testid"in z&&t(3,b=z.testid),"arialabel"in z&&t(4,v=z.arialabel),"mt"in z&&t(5,w=z.mt),"mr"in z&&t(6,y=z.mr),"mb"in z&&t(7,g=z.mb),"ml"in z&&t(8,C=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(12,o=$(f)),i.$$.dirty&65536&&t(11,r=$(h)),i.$$.dirty&16384&&t(9,n=$(s))},t(10,l=!1),[a,c,d,b,v,w,y,g,C,n,l,r,o,T,s,f,h]}class Dr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=':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)}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Br,Vr,O,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get checked(){return this.$$.ctx[14]}set checked(e){this.$$set({checked:e}),m()}get text(){return this.$$.ctx[1]}set text(e){this.$$set({text:e}),m()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),m()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),m()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-checkbox",Dr);function $t(i){let e;return{c(){e=_("goa-icon"),x(e,"class","leading-icon"),x(e,"size","medium"),x(e,"type",i[4])},m(t,o){k(t,e,o)},p(t,o){o&16&&x(e,"type",t[4])},d(t){t&&H(e)}}}function ei(i){let e,t,o;return{c(){e=_("goa-icon"),x(e,"class","delete-icon"),x(e,"size","medium"),x(e,"theme","filled"),x(e,"type","close-circle"),x(e,"fillcolor",t=i[10]?"var(--goa-color-emergency-default)":i[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)"),x(e,"opacity",o=i[10]?i[9]?1:.5:1)},m(r,n){k(r,e,n)},p(r,n){n&1536&&t!==(t=r[10]?"var(--goa-color-emergency-default)":r[9]?"var(--goa-color-interactive-hover)":"var(--goa-color-greyscale-700)")&&x(e,"fillcolor",t),n&1536&&o!==(o=r[10]?r[9]?1:.5:1)&&x(e,"opacity",o)},d(r){r&&H(e)}}}function Nr(i){let e,t,o,r,n,l,a,s,c=i[4]&&$t(i),d=i[11]&&ei(i);return{c(){e=_("div"),c&&c.c(),t=S(),o=_("div"),r=q(i[5]),n=S(),d&&d.c(),this.c=E,u(o,"class","text"),u(e,"data-testid",i[7]),u(e,"class","chip"),u(e,"style",l=K(i[0],i[1],i[2],i[3])),u(e,"tabindex","0"),Z(e,"deletable",i[11]),Z(e,"error",i[10]),Z(e,"variant",i[6])},m(f,h){k(f,e,h),c&&c.m(e,null),p(e,t),p(e,o),p(o,r),p(e,n),d&&d.m(e,null),i[15](e),a||(s=[G(e,"click",i[16]),G(e,"mouseover",i[17]),G(e,"mouseout",i[18]),G(e,"focus",i[19]),G(e,"blur",i[20])],a=!0)},p(f,[h]){f[4]?c?c.p(f,h):(c=$t(f),c.c(),c.m(e,t)):c&&(c.d(1),c=null),h&32&&Y(r,f[5]),f[11]?d?d.p(f,h):(d=ei(f),d.c(),d.m(e,null)):d&&(d.d(1),d=null),h&128&&u(e,"data-testid",f[7]),h&15&&l!==(l=K(f[0],f[1],f[2],f[3]))&&u(e,"style",l),h&2048&&Z(e,"deletable",f[11]),h&1024&&Z(e,"error",f[10]),h&64&&Z(e,"variant",f[6])},i:E,o:E,d(f){f&&H(e),c&&c.d(),d&&d.d(),i[15](null),a=!1,ue(s)}}}function Ir(i,e,t){let{mt:o=null}=e,{mr:r=null}=e,{mb:n=null}=e,{ml:l=null}=e,{leadingicon:a=null}=e,{error:s="false"}=e,{deletable:c="false"}=e,{content:d}=e,{variant:f}=e,{testid:h=""}=e,b,v=!1,w,y;function g(L){b.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),L.stopPropagation()}function C(L){U[L?"unshift":"push"](()=>{b=L,t(8,b)})}const A=L=>y&&g(L),T=()=>t(9,v=!0),z=()=>t(9,v=!1),V=()=>t(9,v=!1),R=()=>t(9,v=!1);return i.$$set=L=>{"mt"in L&&t(0,o=L.mt),"mr"in L&&t(1,r=L.mr),"mb"in L&&t(2,n=L.mb),"ml"in L&&t(3,l=L.ml),"leadingicon"in L&&t(4,a=L.leadingicon),"error"in L&&t(13,s=L.error),"deletable"in L&&t(14,c=L.deletable),"content"in L&&t(5,d=L.content),"variant"in L&&t(6,f=L.variant),"testid"in L&&t(7,h=L.testid)},i.$$.update=()=>{i.$$.dirty&8192&&t(10,w=$(s)),i.$$.dirty&16384&&t(11,y=$(c))},[o,r,n,l,a,d,f,h,b,v,w,y,g,s,c,C,A,T,z,V,R]}class Pr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=".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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ir,Nr,O,{mt:0,mr:1,mb:2,ml:3,leadingicon:4,error:13,deletable:14,content:5,variant:6,testid:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),m()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get error(){return this.$$.ctx[13]}set error(e){this.$$set({error:e}),m()}get deletable(){return this.$$.ctx[14]}set deletable(e){this.$$set({deletable:e}),m()}get content(){return this.$$.ctx[5]}set content(e){this.$$set({content:e}),m()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),m()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-chip",Pr);function Zr(i){const e=i-1;return e*e*e+1}function Or(i){return Math.pow(i-1,3)*(1-i)+1}function je(i,{delay:e=0,duration:t=400,easing:o=Ue}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:t,easing:o,css:n=>`opacity: ${n*r}`}}function ti(i,{delay:e=0,duration:t=400,easing:o=Zr,x:r=0,y:n=0,opacity:l=0}={}){const a=getComputedStyle(i),s=+a.opacity,c=a.transform==="none"?"":a.transform,d=s*(1-l),[f,h]=zt(r),[b,v]=zt(n);return{delay:e,duration:t,easing:o,css:(w,y)=>`
|
|
21
|
+
transform: ${c} translate(${(1-w)*f}${h}, ${(1-w)*b}${v});
|
|
22
|
+
opacity: ${s-d*y}`}}function ii(i,e){let t=!1;function o(){if(!r())return;const a=l();t=!0,document.body.style.overflow="hidden",document.body.style.paddingRight=a+"px"}function r(){return document.body.style.overflow!=="hidden"}function n(){!t||(t=!1,setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},200))}function l(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const a=document.createElement("div");a.style.visibility="hidden",a.style.overflow="scroll",document.body.appendChild(a);const s=document.createElement("div");a.appendChild(s);const c=a.offsetWidth-s.offsetWidth;return a.parentNode.removeChild(a),c}return e.enable&&o(),{update(){e.enable||n()},destroy(){n()}}}function oi(i){let e,t,o,r;const n=[Fr,qr],l=[];function a(s,c){return s[3]?0:s[4]?1:-1}return~(e=a(i))&&(t=l[e]=n[e](i)),{c(){t&&t.c(),o=be()},m(s,c){~e&&l[e].m(s,c),k(s,o,c),r=!0},p(s,c){let d=e;e=a(s),e===d?~e&&l[e].p(s,c):(t&&(Me(),re(l[d],1,1,()=>{l[d]=null}),Te()),~e?(t=l[e],t?t.p(s,c):(t=l[e]=n[e](s),t.c()),ee(t,1),t.m(o.parentNode,o)):t=null)},i(s){r||(ee(t),r=!0)},o(s){re(t),r=!1},d(s){~e&&l[e].d(s),s&&H(o)}}}function qr(i){let e,t,o,r,n=i[0]&&ri(i);return{c(){e=_("div"),t=_("goa-spinner"),o=S(),n&&n.c(),x(t,"size",i[2]),x(t,"progress",i[1]),u(e,"class",r="spinner-"+i[2]),Z(e,"inline",i[4])},m(l,a){k(l,e,a),p(e,t),p(e,o),n&&n.m(e,null)},p(l,a){a&4&&x(t,"size",l[2]),a&2&&x(t,"progress",l[1]),l[0]?n?n.p(l,a):(n=ri(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null),a&4&&r!==(r="spinner-"+l[2])&&u(e,"class",r),a&20&&Z(e,"inline",l[4])},i:E,o:E,d(l){l&&H(e),n&&n.d()}}}function Fr(i){let e,t,o,r,n,l,a,s=i[0]&&ni(i);return{c(){e=_("div"),t=_("goa-spinner"),o=S(),s&&s.c(),x(t,"size",i[2]),x(t,"progress",i[1]),Z(e,"fullscreen",i[3])},m(c,d){k(c,e,d),p(e,t),p(e,o),s&&s.m(e,null),n=!0,l||(a=Et(ii.call(null,e,{enable:!0})),l=!0)},p(c,d){(!n||d&4)&&x(t,"size",c[2]),(!n||d&2)&&x(t,"progress",c[1]),c[0]?s?s.p(c,d):(s=ni(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),(!n||d&8)&&Z(e,"fullscreen",c[3])},i(c){n||(we(()=>{!n||(r||(r=ct(e,je,{duration:300},!0)),r.run(1))}),n=!0)},o(c){r||(r=ct(e,je,{duration:300},!1)),r.run(0),n=!1},d(c){c&&H(e),s&&s.d(),c&&r&&r.end(),l=!1,a()}}}function ri(i){let e,t;return{c(){e=_("div"),t=q(i[0]),u(e,"class","message")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&1&&Y(t,o[0])},d(o){o&&H(e)}}}function ni(i){let e,t;return{c(){e=_("div"),t=q(i[0]),u(e,"class","message")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&1&&Y(t,o[0])},d(o){o&&H(e)}}}function jr(i){let e,t,o=i[5]&&oi(i);return{c(){o&&o.c(),e=be(),this.c=E},m(r,n){o&&o.m(r,n),k(r,e,n),t=!0},p(r,[n]){r[5]?o?(o.p(r,n),n&32&&ee(o,1)):(o=oi(r),o.c(),ee(o,1),o.m(e.parentNode,e)):o&&(Me(),re(o,1,1,()=>{o=null}),Te())},i(r){t||(ee(o),t=!0)},o(r){re(o),t=!1},d(r){o&&o.d(r),r&&H(e)}}}function Wr(i,e,t){let o;const[r,n]=te("Circular progress variant",["fullscreen","inline"]),[l,a]=te("Button size",["small","large"]);let{variant:s="inline"}=e,{size:c="large"}=e,{message:d=""}=e,{progress:f=-1}=e,{visible:h="false"}=e,b,v,w;return J(async()=>{n(s),a(c),t(2,b=c==="small"?"large":"xlarge"),t(3,v=s==="fullscreen"),t(4,w=s==="inline")}),i.$$set=y=>{"variant"in y&&t(6,s=y.variant),"size"in y&&t(7,c=y.size),"message"in y&&t(0,d=y.message),"progress"in y&&t(1,f=y.progress),"visible"in y&&t(8,h=y.visible)},i.$$.update=()=>{i.$$.dirty&256&&t(5,o=$(h))},[d,f,b,v,w,o,s,c,h]}class Gr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wr,jr,O,{variant:6,size:7,message:0,progress:1,visible:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["variant","size","message","progress","visible"]}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),m()}get size(){return this.$$.ctx[7]}set size(e){this.$$set({size:e}),m()}get message(){return this.$$.ctx[0]}set message(e){this.$$set({message:e}),m()}get progress(){return this.$$.ctx[1]}set progress(e){this.$$set({progress:e}),m()}get visible(){return this.$$.ctx[8]}set visible(e){this.$$set({visible:e}),m()}}customElements.define("goa-circular-progress",Gr);function Ur(i){let e,t,o,r,n,l,a,s,c,d;return{c(){e=_("div"),t=_("header"),o=_("div"),o.innerHTML='<slot name="title"></slot>',r=S(),n=_("div"),n.innerHTML='<slot name="actions"></slot>',a=S(),s=_("div"),s.innerHTML="<slot></slot>",this.c=E,u(o,"class","title"),u(n,"class","actions"),u(t,"class",l="heading--"+i[1]),u(s,"class","content"),u(e,"data-testid",i[3]),u(e,"style",c=K(i[4],i[5],i[6],i[7])),u(e,"class",d=`
|
|
23
23
|
goa-container
|
|
24
24
|
goa-container--${i[0]}
|
|
25
25
|
padding--${i[2]}
|
|
26
26
|
accent--${i[1]}
|
|
27
|
-
`)},m(f,
|
|
27
|
+
`)},m(f,h){k(f,e,h),p(e,t),p(t,o),p(t,r),p(t,n),p(e,a),p(e,s)},p(f,[h]){h&2&&l!==(l="heading--"+f[1])&&u(t,"class",l),h&8&&u(e,"data-testid",f[3]),h&240&&c!==(c=K(f[4],f[5],f[6],f[7]))&&u(e,"style",c),h&7&&d!==(d=`
|
|
28
28
|
goa-container
|
|
29
29
|
goa-container--${f[0]}
|
|
30
30
|
padding--${f[2]}
|
|
31
31
|
accent--${f[1]}
|
|
32
|
-
`)&&u(e,"class",d)},i:E,o:E,d(f){f&&L(e)}}}function Gr(i,e,t){const[o,r]=te("Container type",["interactive","info","error","success","important","non-interactive"]),[n,a]=te("Container accent",["thick","thin","filled"]),[l,s]=te("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:g=""}=e,{mt:b=null}=e,{mr:v=null}=e,{mb:y="m"}=e,{ml:p=null}=e;return J(()=>{r(c),a(d),s(f)}),i.$$set=m=>{"type"in m&&t(0,c=m.type),"accent"in m&&t(1,d=m.accent),"padding"in m&&t(2,f=m.padding),"testid"in m&&t(3,g=m.testid),"mt"in m&&t(4,b=m.mt),"mr"in m&&t(5,v=m.mr),"mb"in m&&t(6,y=m.mb),"ml"in m&&t(7,p=m.ml)},[c,d,f,g,b,v,y,p]}class Ur extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4);display:flex;flex:1 1 auto}.goa-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column}.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);display:flex;flex:1 1 auto;flex-direction:column}.content ::slotted(p:last-child){margin-bottom:0 !important}.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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Gr,Wr,O,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","accent","padding","testid","mt","mr","mb","ml"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),h()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-container",Ur);function Kr(i){let e,t,o,r,n,a,l,s,c,d,f,g;return{c(){e=_("details"),t=_("summary"),o=_("goa-icon"),n=S(),a=_("span"),l=q(i[1]),s=S(),c=_("div"),c.innerHTML="<slot></slot>",this.c=E,C(o,"mt","1"),C(o,"mr","2"),C(o,"type","chevron-forward"),C(o,"fillcolor",r=i[6]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(c,"class","content"),e.open=i[9],u(e,"style",d=K(i[2],i[3],i[4],i[5]))},m(b,v){k(b,e,v),w(e,t),w(t,o),w(t,n),w(t,a),w(a,l),i[10](t),w(e,s),w(e,c),i[11](e),f||(g=G(e,"toggle",i[12]),f=!0)},p(b,[v]){v&64&&r!==(r=b[6]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&C(o,"fillcolor",r),v&2&&Y(l,b[1]),v&512&&(e.open=b[9]),v&60&&d!==(d=K(b[2],b[3],b[4],b[5]))&&u(e,"style",d)},i:E,o:E,d(b){b&&L(e),i[10](null),i[11](null),f=!1,g()}}}function Xr(i,e,t){let o,{heading:r}=e,{mt:n=null}=e,{mr:a=null}=e,{mb:l=null}=e,{ml:s=null}=e,{open:c="false"}=e,d=!1,f,g;J(()=>{Ye("Details",{heading:r}),f.addEventListener("mouseover",()=>{t(6,d=!0)}),f.addEventListener("mouseout",()=>{t(6,d=!1)})});function b(p){U[p?"unshift":"push"](()=>{f=p,t(7,f)})}function v(p){U[p?"unshift":"push"](()=>{g=p,t(8,g)})}const y=({target:p})=>t(0,c=`${p.open}`);return i.$$set=p=>{"heading"in p&&t(1,r=p.heading),"mt"in p&&t(2,n=p.mt),"mr"in p&&t(3,a=p.mr),"mb"in p&&t(4,l=p.mb),"ml"in p&&t(5,s=p.ml),"open"in p&&t(0,c=p.open)},i.$$.update=()=>{i.$$.dirty&1&&t(9,o=$(c))},[c,r,n,a,l,s,d,f,g,o,b,v,y]}class Yr extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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)}.content ::slotted(p:last-child){margin-bottom:0 !important}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Xr,Kr,O,{heading:1,mt:2,mr:3,mb:4,ml:5,open:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","mt","mr","mb","ml","open"]}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}get open(){return this.$$.ctx[0]}set open(e){this.$$set({open:e}),h()}}customElements.define("goa-details",Yr);function Jr(i){let e,t;return{c(){e=_("hr"),this.c=E,u(e,"data-testid",i[0]),u(e,"style",t=K(i[1],i[2],i[3],i[4]))},m(o,r){k(o,e,r)},p(o,[r]){r&1&&u(e,"data-testid",o[0]),r&30&&t!==(t=K(o[1],o[2],o[3],o[4]))&&u(e,"style",t)},i:E,o:E,d(o){o&&L(e)}}}function Qr(i,e,t){let{testid:o=""}=e,{mt:r=null}=e,{mr:n=null}=e,{mb:a=null}=e,{ml:l=null}=e;return i.$$set=s=>{"testid"in s&&t(0,o=s.testid),"mt"in s&&t(1,r=s.mt),"mr"in s&&t(2,n=s.mr),"mb"in s&&t(3,a=s.mb),"ml"in s&&t(4,l=s.ml)},[o,r,n,a,l]}class $r extends j{constructor(e){super();const t=document.createElement("style");t.textContent="hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Qr,Jr,O,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-divider",$r);function ri(i,e,t){const o=i.slice();return o[48]=e[t],o[52]=t,o}function ni(i,e,t){const o=i.slice();return o[48]=e[t],o}function en(i){let e,t,o,r,n,a,l,s,c=[],d=new Map,f,g,b,v,y=i[12];const p=m=>m[52];for(let m=0;m<y.length;m+=1){let x=ri(i,y,m),A=p(x);d.set(A,c[m]=ai(A,x))}return{c(){e=_("slot"),t=S(),o=_("goa-popover"),r=_("goa-input"),l=S(),s=_("ul");for(let m=0;m<c.length;m+=1)c[m].c();C(r,"slot","target"),C(r,"error",i[7]),C(r,"disabled",i[6]),C(r,"leadingicon",i[2]),C(r,"placeholder",i[4]),C(r,"aria-controls","menu"),C(r,"aria-expanded",i[17]),C(r,"arialabel",n=i[1]||i[0]),C(r,"data-testid",a=`${i[0]}-dropdown-input`),C(r,"readonly",""),C(r,"role","combobox"),C(r,"trailingicon","chevron-down"),C(r,"type","text"),C(r,"value",i[16]),C(r,"width","100%"),C(r,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[16]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"style",f=`
|
|
32
|
+
`)&&u(e,"class",d)},i:E,o:E,d(f){f&&H(e)}}}function Kr(i,e,t){const[o,r]=te("Container type",["interactive","info","error","success","important","non-interactive"]),[n,l]=te("Container accent",["thick","thin","filled"]),[a,s]=te("Container padding",["relaxed","compact"]);let{type:c="interactive"}=e,{accent:d="filled"}=e,{padding:f="relaxed"}=e,{testid:h=""}=e,{mt:b=null}=e,{mr:v=null}=e,{mb:w="m"}=e,{ml:y=null}=e;return J(()=>{r(c),l(d),s(f)}),i.$$set=g=>{"type"in g&&t(0,c=g.type),"accent"in g&&t(1,d=g.accent),"padding"in g&&t(2,f=g.padding),"testid"in g&&t(3,h=g.testid),"mt"in g&&t(4,b=g.mt),"mr"in g&&t(5,v=g.mr),"mb"in g&&t(6,w=g.mb),"ml"in g&&t(7,y=g.ml)},[c,d,f,h,b,v,w,y]}class Xr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4);display:flex;flex:1 1 auto}.goa-container{box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column}.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);display:flex;flex:1 1 auto;flex-direction:column}.content ::slotted(p:last-child){margin-bottom:0 !important}.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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Kr,Ur,O,{type:0,accent:1,padding:2,testid:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get accent(){return this.$$.ctx[1]}set accent(e){this.$$set({accent:e}),m()}get padding(){return this.$$.ctx[2]}set padding(e){this.$$set({padding:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-container",Xr);function Yr(i){let e,t,o,r,n,l,a,s,c,d,f,h;return{c(){e=_("details"),t=_("summary"),o=_("goa-icon"),n=S(),l=_("span"),a=q(i[1]),s=S(),c=_("div"),c.innerHTML="<slot></slot>",this.c=E,x(o,"mt","1"),x(o,"mr","2"),x(o,"type","chevron-forward"),x(o,"fillcolor",r=i[6]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)"),u(c,"class","content"),e.open=i[9],u(e,"style",d=K(i[2],i[3],i[4],i[5]))},m(b,v){k(b,e,v),p(e,t),p(t,o),p(t,n),p(t,l),p(l,a),i[10](t),p(e,s),p(e,c),i[11](e),f||(h=G(e,"toggle",i[12]),f=!0)},p(b,[v]){v&64&&r!==(r=b[6]?"var(--goa-color-interactive-hover)":"var(--goa-color-interactive-default)")&&x(o,"fillcolor",r),v&2&&Y(a,b[1]),v&512&&(e.open=b[9]),v&60&&d!==(d=K(b[2],b[3],b[4],b[5]))&&u(e,"style",d)},i:E,o:E,d(b){b&&H(e),i[10](null),i[11](null),f=!1,h()}}}function Jr(i,e,t){let o,{heading:r}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:s=null}=e,{open:c="false"}=e,d=!1,f,h;J(()=>{Je("Details",{heading:r}),f.addEventListener("mouseover",()=>{t(6,d=!0)}),f.addEventListener("mouseout",()=>{t(6,d=!1)})});function b(y){U[y?"unshift":"push"](()=>{f=y,t(7,f)})}function v(y){U[y?"unshift":"push"](()=>{h=y,t(8,h)})}const w=({target:y})=>t(0,c=`${y.open}`);return i.$$set=y=>{"heading"in y&&t(1,r=y.heading),"mt"in y&&t(2,n=y.mt),"mr"in y&&t(3,l=y.mr),"mb"in y&&t(4,a=y.mb),"ml"in y&&t(5,s=y.ml),"open"in y&&t(0,c=y.open)},i.$$.update=()=>{i.$$.dirty&1&&t(9,o=$(c))},[c,r,n,l,a,s,d,f,h,o,b,v,w]}class Qr extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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)}.content ::slotted(p:last-child){margin-bottom:0 !important}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Jr,Yr,O,{heading:1,mt:2,mr:3,mb:4,ml:5,open:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","mt","mr","mb","ml","open"]}get heading(){return this.$$.ctx[1]}set heading(e){this.$$set({heading: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()}get open(){return this.$$.ctx[0]}set open(e){this.$$set({open:e}),m()}}customElements.define("goa-details",Qr);function $r(i){let e,t;return{c(){e=_("hr"),this.c=E,u(e,"data-testid",i[0]),u(e,"style",t=K(i[1],i[2],i[3],i[4]))},m(o,r){k(o,e,r)},p(o,[r]){r&1&&u(e,"data-testid",o[0]),r&30&&t!==(t=K(o[1],o[2],o[3],o[4]))&&u(e,"style",t)},i:E,o:E,d(o){o&&H(e)}}}function en(i,e,t){let{testid:o=""}=e,{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e;return i.$$set=s=>{"testid"in s&&t(0,o=s.testid),"mt"in s&&t(1,r=s.mt),"mr"in s&&t(2,n=s.mr),"mb"in s&&t(3,l=s.mb),"ml"in s&&t(4,a=s.ml)},[o,r,n,l,a]}class tn extends F{constructor(e){super();const t=document.createElement("style");t.textContent="hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},en,$r,O,{testid:0,mt:1,mr:2,mb:3,ml:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["testid","mt","mr","mb","ml"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),m()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-divider",tn);function ai(i,e,t){const o=i.slice();return o[49]=e[t],o[53]=t,o}function li(i,e,t){const o=i.slice();return o[49]=e[t],o}function on(i){let e,t,o,r,n,l,a,s,c=[],d=new Map,f,h,b,v,w=i[13];const y=g=>g[53];for(let g=0;g<w.length;g+=1){let C=ai(i,w,g),A=y(C);d.set(A,c[g]=si(A,C))}return{c(){e=_("slot"),t=S(),o=_("goa-popover"),r=_("goa-input"),a=S(),s=_("ul");for(let g=0;g<c.length;g+=1)c[g].c();x(r,"slot","target"),x(r,"error",i[7]),x(r,"disabled",i[6]),x(r,"leadingicon",i[2]),x(r,"placeholder",i[4]),x(r,"aria-controls","menu"),x(r,"aria-expanded",i[18]),x(r,"arialabel",n=i[1]||i[0]),x(r,"data-testid",l=`${i[0]}-dropdown-input`),x(r,"readonly",""),x(r,"role","combobox"),x(r,"trailingicon","chevron-down"),x(r,"type","text"),x(r,"value",i[17]),x(r,"width","100%"),x(r,"name",i[0]),u(s,"id","menu"),u(s,"role","listbox"),u(s,"aria-activedescendant",i[17]),u(s,"data-testid","dropdown-menu"),u(s,"tabindex","0"),u(s,"style",f=`
|
|
33
33
|
overflow-y: auto;
|
|
34
34
|
max-height: ${i[3]};
|
|
35
|
-
`),
|
|
35
|
+
`),x(o,"disabled",i[6]),x(o,"relative",i[8]),x(o,"open",i[18]),x(o,"padded","false"),x(o,"width",h=i[5]||i[20])},m(g,C){k(g,e,C),k(g,t,C),k(g,o,C),p(o,r),p(o,a),p(o,s);for(let A=0;A<c.length;A+=1)c[A]&&c[A].m(s,null);i[33](s),b||(v=G(r,"click",i[25]),b=!0)},p(g,C){C[0]&128&&x(r,"error",g[7]),C[0]&64&&x(r,"disabled",g[6]),C[0]&4&&x(r,"leadingicon",g[2]),C[0]&16&&x(r,"placeholder",g[4]),C[0]&262144&&x(r,"aria-expanded",g[18]),C[0]&3&&n!==(n=g[1]||g[0])&&x(r,"arialabel",n),C[0]&1&&l!==(l=`${g[0]}-dropdown-input`)&&x(r,"data-testid",l),C[0]&131072&&x(r,"value",g[17]),C[0]&1&&x(r,"name",g[0]),C[0]&67706880&&(w=g[13],c=wt(c,C,y,1,g,w,d,s,Nt,si,null,ai)),C[0]&131072&&u(s,"aria-activedescendant",g[17]),C[0]&8&&f!==(f=`
|
|
36
36
|
overflow-y: auto;
|
|
37
|
-
max-height: ${
|
|
38
|
-
`)&&u(s,"style",f),
|
|
39
|
-
${K(i[
|
|
40
|
-
--width: ${i[5]||i[
|
|
41
|
-
`),
|
|
42
|
-
${K(
|
|
43
|
-
--width: ${
|
|
44
|
-
`)&&u(e,"style",o),s[0]&
|
|
37
|
+
max-height: ${g[3]};
|
|
38
|
+
`)&&u(s,"style",f),C[0]&64&&x(o,"disabled",g[6]),C[0]&256&&x(o,"relative",g[8]),C[0]&262144&&x(o,"open",g[18]),C[0]&1048608&&h!==(h=g[5]||g[20])&&x(o,"width",h)},d(g){g&&H(e),g&&H(t),g&&H(o);for(let C=0;C<c.length;C+=1)c[C].d();i[33](null),b=!1,v()}}}function rn(i){let e,t,o,r,n,l=i[13],a=[];for(let s=0;s<l.length;s+=1)a[s]=ci(li(i,l,s));return{c(){e=_("select"),t=_("slot");for(let s=0;s<a.length;s+=1)a[s].c();e.disabled=i[23],u(e,"aria-label",o=i[1]||i[0]),Z(e,"error",i[24])},m(s,c){k(s,e,c),p(e,t);for(let d=0;d<a.length;d+=1)a[d]&&a[d].m(e,null);i[31](e),r||(n=G(e,"change",i[27]),r=!0)},p(s,c){if(c[0]&8192){l=s[13];let d;for(d=0;d<l.length;d+=1){const f=li(s,l,d);a[d]?a[d].p(f,c):(a[d]=ci(f),a[d].c(),a[d].m(e,null))}for(;d<a.length;d+=1)a[d].d(1);a.length=l.length}c[0]&8388608&&(e.disabled=s[23]),c[0]&3&&o!==(o=s[1]||s[0])&&u(e,"aria-label",o),c[0]&16777216&&Z(e,"error",s[24])},d(s){s&&H(e),Ze(a,s),i[31](null),r=!1,n()}}}function si(i,e){let t,o=(e[49].label||e[49].value)+"",r,n,l,a,s,c,d,f,h,b;function v(){return e[32](e[49])}return{key:i,first:null,c(){t=_("li"),r=q(o),n=S(),u(t,"id",l=e[49].label),u(t,"role","option"),u(t,"aria-label",a=e[49].label||e[49].value),u(t,"aria-selected",s=e[16].includes(e[49].value)?"true":"false"),u(t,"class","dropdown-item"),u(t,"data-testid",c=`dropdown-item-${e[49].value}`),u(t,"data-index",d=e[53]),u(t,"data-value",f=e[49].value),ie(t,"display","block"),Z(t,"dropdown-item--disabled",!1),Z(t,"dropdown-item--tabbed",e[53]===e[19]),Z(t,"dropdown-item--selected",e[16].includes(e[49].value)),this.first=t},m(w,y){k(w,t,y),p(t,r),p(t,n),h||(b=G(t,"click",v),h=!0)},p(w,y){e=w,y[0]&8192&&o!==(o=(e[49].label||e[49].value)+"")&&Y(r,o),y[0]&8192&&l!==(l=e[49].label)&&u(t,"id",l),y[0]&8192&&a!==(a=e[49].label||e[49].value)&&u(t,"aria-label",a),y[0]&73728&&s!==(s=e[16].includes(e[49].value)?"true":"false")&&u(t,"aria-selected",s),y[0]&8192&&c!==(c=`dropdown-item-${e[49].value}`)&&u(t,"data-testid",c),y[0]&8192&&d!==(d=e[53])&&u(t,"data-index",d),y[0]&8192&&f!==(f=e[49].value)&&u(t,"data-value",f),y[0]&532480&&Z(t,"dropdown-item--tabbed",e[53]===e[19]),y[0]&73728&&Z(t,"dropdown-item--selected",e[16].includes(e[49].value))},d(w){w&&H(t),h=!1,b()}}}function ci(i){let e,t=i[49].label+"",o,r,n,l,a;return{c(){e=_("option"),o=q(t),r=S(),e.selected=n=i[49].selected,e.__value=l=i[49].value,e.value=e.__value,u(e,"aria-label",a=i[49].label)},m(s,c){k(s,e,c),p(e,o),p(e,r)},p(s,c){c[0]&8192&&t!==(t=s[49].label+"")&&Y(o,t),c[0]&8192&&n!==(n=s[49].selected)&&(e.selected=n),c[0]&8192&&l!==(l=s[49].value)&&(e.__value=l,e.value=e.__value),c[0]&8192&&a!==(a=s[49].label)&&u(e,"aria-label",a)},d(s){s&&H(e)}}}function nn(i){let e,t,o;function r(a,s){return a[15]?rn:on}let n=r(i),l=n(i);return{c(){e=_("div"),l.c(),this.c=E,u(e,"data-testid",t=`${i[0]}-dropdown`),u(e,"class","dropdown"),u(e,"style",o=`
|
|
39
|
+
${K(i[9],i[10],i[11],i[12])}
|
|
40
|
+
--width: ${i[5]||i[20]}
|
|
41
|
+
`),Z(e,"dropdown-native",i[15])},m(a,s){k(a,e,s),l.m(e,null),i[34](e)},p(a,s){n===(n=r(a))&&l?l.p(a,s):(l.d(1),l=n(a),l&&(l.c(),l.m(e,null))),s[0]&1&&t!==(t=`${a[0]}-dropdown`)&&u(e,"data-testid",t),s[0]&1056288&&o!==(o=`
|
|
42
|
+
${K(a[9],a[10],a[11],a[12])}
|
|
43
|
+
--width: ${a[5]||a[20]}
|
|
44
|
+
`)&&u(e,"style",o),s[0]&32768&&Z(e,"dropdown-native",a[15])},i:E,o:E,d(a){a&&H(e),l.d(),i[34](null)}}}function di(i){let e;try{e=JSON.parse(i||'[""]')}catch{e=[i]}return(typeof e=="object"?e:[e]).map(o=>`${o}`)}function an(i,e,t){let o,r,n,l,{name:a}=e,{arialabel:s=""}=e,{value:c=""}=e,{leadingicon:d=null}=e,{maxheight:f="276px"}=e,{placeholder:h=""}=e,{width:b=""}=e,{disabled:v="false"}=e,{error:w="false"}=e,{multiselect:y="false"}=e,{native:g="false"}=e,{relative:C="false"}=e,{mt:A=null}=e,{mr:T=null}=e,{mb:z=null}=e,{ml:V=null}=e,R=[],L=[],M="",B=!1,Q=0,ne,D,oe,le;J(async()=>{const P=D.querySelector("slot");P==null||P.addEventListener("slotchange",pe=>{t(17,M=""),t(16,R=di(c)),t(13,L=ce())})}),ht(()=>{ke()});function X(){const P=D.querySelector("slot");return P?P.assignedElements():[...(l?le:D).children]}function ce(){return X().filter(pe=>pe.tagName==="GOA-DROPDOWN-ITEM").map(pe=>{const Ee=pe,ze=pe.getAttribute("value")||Ee.value||"",$e=pe.getAttribute("label")||Ee.label||ze,Mo=R.includes(ze);return Mo&&(t(17,M=$e),t(16,R=[ze])),{selected:Mo,value:ze,label:$e}})}function Ae(P){let pe,Ee=0;return P.length===0&&h!==""?`${h.length+12}ch`:(P.forEach(ze=>{const $e=ze.label||ze.value||"";!pe&&Ee<$e.length&&(Ee=$e.length,pe=`${Math.max(20,Ee+12)}ch`)}),pe)}function Re(){D.addEventListener("focus",Ve,!0),D.addEventListener("blur",Qe,!0)}function ke(){D.removeEventListener("focus",Ve,!0),D.removeEventListener("blur",Qe,!0)}async function me(){o||B||(t(18,B=!0),await se(),oe.addEventListener("blur",he),oe.addEventListener("mouseover",Ie))}function he(){oe.removeEventListener("blur",he),oe.removeEventListener("mouseover",Ie),N(),t(18,B=!1)}function N(){t(19,Q=L.findIndex(P=>R.includes(P.value)))}function ae(P,pe,Ee){if(o)return;t(17,M=pe);let ze;n?(R.push(P),ze={name:a,values:R}):(t(16,R=[P]),ze={name:a,value:P}),D.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:ze})),Ee&&he()}const de=P=>{switch(P.key){case" ":case"Enter":B?he():me(),oe.focus(),P.preventDefault();break;case"Escape":B&&he(),P.preventDefault(),P.stopPropagation();break;case"ArrowDown":if(P.altKey){B?he():me();break}Ne();break;case"ArrowUp":if(P.altKey){B?he():me();break}Se();break}};function Ne(){Q<L.length-1&&(t(19,Q++,Q),ae(L[Q].value,L[Q].label,!1))}function Se(){Q>0&&(t(19,Q--,Q),ae(L[Q].value,L[Q].label,!1))}function Ve(){D.addEventListener("keydown",de)}function Qe(){D.removeEventListener("keydown",de)}function Ie(P){t(19,Q=Number(P.target.dataset.index))}function Ge(P){const pe=P.currentTarget,Ee=L[pe.selectedIndex];ae(Ee.value,Ee.label)}function kt(P){U[P?"unshift":"push"](()=>{le=P,t(22,le),t(13,L),t(14,D),t(28,c),t(15,l),t(30,g)})}const I=P=>ae(P.value,P.label,!0);function ve(P){U[P?"unshift":"push"](()=>{oe=P,t(21,oe)})}function Ql(P){U[P?"unshift":"push"](()=>{D=P,t(14,D)})}return i.$$set=P=>{"name"in P&&t(0,a=P.name),"arialabel"in P&&t(1,s=P.arialabel),"value"in P&&t(28,c=P.value),"leadingicon"in P&&t(2,d=P.leadingicon),"maxheight"in P&&t(3,f=P.maxheight),"placeholder"in P&&t(4,h=P.placeholder),"width"in P&&t(5,b=P.width),"disabled"in P&&t(6,v=P.disabled),"error"in P&&t(7,w=P.error),"multiselect"in P&&t(29,y=P.multiselect),"native"in P&&t(30,g=P.native),"relative"in P&&t(8,C=P.relative),"mt"in P&&t(9,A=P.mt),"mr"in P&&t(10,T=P.mr),"mb"in P&&t(11,z=P.mb),"ml"in P&&t(12,V=P.ml)},i.$$.update=()=>{i.$$.dirty[0]&64&&t(23,o=$(v)),i.$$.dirty[0]&128&&t(24,r=$(w)),i.$$.dirty[0]&536870912&&(n=$(y)),i.$$.dirty[0]&1073741824&&t(15,l=$(g)),i.$$.dirty[0]&268492800&&D&&(t(16,R=di(c)),t(13,L=ce()),l||(t(20,ne=Ae(L)),Re(),N()))},[a,s,d,f,h,b,v,w,C,A,T,z,V,L,D,l,R,M,B,Q,ne,oe,le,o,r,me,ae,Ge,c,y,g,kt,I,ve,Ql]}class ln extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{cursor:pointer;display:inline-block;width:var(--width, 100%)}.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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},an,nn,O,{name:0,arialabel:1,value:28,leadingicon:2,maxheight:3,placeholder:4,width:5,disabled:6,error:7,multiselect:29,native:30,relative:8,mt:9,mr:10,mb:11,ml:12},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","arialabel","value","leadingicon","maxheight","placeholder","width","disabled","error","multiselect","native","relative","mt","mr","mb","ml"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),m()}get arialabel(){return this.$$.ctx[1]}set arialabel(e){this.$$set({arialabel:e}),m()}get value(){return this.$$.ctx[28]}set value(e){this.$$set({value:e}),m()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),m()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),m()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),m()}get disabled(){return this.$$.ctx[6]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),m()}get multiselect(){return this.$$.ctx[29]}set multiselect(e){this.$$set({multiselect:e}),m()}get native(){return this.$$.ctx[30]}set native(e){this.$$set({native:e}),m()}get relative(){return this.$$.ctx[8]}set relative(e){this.$$set({relative:e}),m()}get mt(){return this.$$.ctx[9]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[10]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[11]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[12]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-dropdown",ln);function sn(i){return{c(){this.c=E},m:E,p:E,i:E,o:E,d:E}}class cn extends F{constructor(e){super();W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,sn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-dropdown-item",cn);function dn(i){let e;return{c(){e=_("div"),e.innerHTML=`<span data-tab-boundry="start" tabindex="0"></span>
|
|
45
45
|
<slot></slot>
|
|
46
46
|
|
|
47
|
-
<span data-tab-boundry="end" tabindex="0"></span>`,this.c=E},m(t,o){k(t,e,o),i[1](e)},p:E,i:E,o:E,d(t){t&&L(e),i[1](null)}}}function cn(i){const e=i;if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return i;if(e.disabled)return null;switch(e.nodeName){case"A":{const o=e;if(!!o.href&&o.rel!=="ignore")return i}case"INPUT":{const o=e;if(o.type!=="hidden"&&o.type!=="file")return i}case"BUTTON":case"SELECT":case"TEXTAREA":return i;default:return null}}function dn(i,e,t){let o,r,n,a;J(async()=>{await se(),o.addEventListener("focus",c,!0),o.addEventListener("keydown",l,!0),o.addEventListener("keyup",s,!0),r=o.querySelector("[data-tab-boundry=start]"),n=o.querySelector("[data-tab-boundry=end]")});function l(v){v.shiftKey&&(a=!0)}function s(v){v.shiftKey&&(a=!1)}function c(v){const y=v.target;if(y.dataset.tabBoundry==="start"){if(a){n.focus();return}const p=d([y.nextElementSibling],!1);p==null||p.focus();return}if(y.dataset.tabBoundry==="end"){if(!a){r.focus();return}const p=d([y.previousElementSibling],!0);p==null||p.focus();return}}function d(v,y=!1){const p=y?[...v].reverse():v;for(const m of p){const x=cn(m)||d(m.childNodes,y)||f(m,y)||g(m,y);if(x)return x}return null}function f(v,y){return v instanceof HTMLSlotElement?d([...v.assignedNodes()],y):null}function g(v,y){var p;return v instanceof HTMLElement?d([...((p=v.shadowRoot)===null||p===void 0?void 0:p.childNodes)||[]],y):null}function b(v){U[v?"unshift":"push"](()=>{o=v,t(0,o)})}return[o,b]}class un extends j{constructor(e){super();const t=document.createElement("style");t.textContent="div{display:inline}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},dn,sn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-focus-trap",un);function ci(i){let e;return{c(){e=_("goa-divider"),C(e,"spacing","small")},m(t,o){k(t,e,o)},d(t){t&&L(e)}}}function fn(i){let e,t,o,r,n,a,l,s,c,d,f,g,b,v=i[2]&&i[2].length>0&&ci();return{c(){e=_("div"),t=_("div"),o=_("div"),o.innerHTML='<slot name="nav"></slot>',r=S(),v&&v.c(),n=S(),a=_("div"),l=_("div"),l.innerHTML='<slot name="meta"></slot>',s=S(),c=_("div"),d=_("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=S(),g=_("a"),g.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=E,u(o,"class","nav-links"),u(l,"class","meta-links"),u(d,"href","https://alberta.ca"),u(g,"href","https://alberta.ca"),u(g,"class","goa-copyright"),u(c,"class","abgov"),I(c,"with-meta-links",i[3]&&i[3].length>0),u(a,"class","meta-section"),I(a,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",b=`--max-content-width: ${i[0]||"100%"}`)},m(y,p){k(y,e,p),w(e,t),w(t,o),w(t,r),v&&v.m(t,null),w(t,n),w(t,a),w(a,l),w(a,s),w(a,c),w(c,d),w(c,f),w(c,g),i[5](e)},p(y,[p]){y[2]&&y[2].length>0?v||(v=ci(),v.c(),v.m(t,n)):v&&(v.d(1),v=null),p&8&&I(c,"with-meta-links",y[3]&&y[3].length>0),p&8&&I(a,"with-meta-links",y[3]&&y[3].length>0),p&1&&b!==(b=`--max-content-width: ${y[0]||"100%"}`)&&u(e,"style",b)},i:E,o:E,d(y){y&&L(e),v&&v.d(),i[5](null)}}}function gn(i,e,t){let{maxcontentwidth:o=""}=e,r,n,a;const l=new Date().getFullYear();J(async()=>{await se();const c=r.querySelector("slot[name=nav]"),d=r.querySelector("slot[name=meta]");t(2,n=c.assignedElements()),t(3,a=d.assignedElements())});function s(c){U[c?"unshift":"push"](()=>{r=c,t(1,r)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,o=c.maxcontentwidth)},[o,r,n,a,l,s]}class hn extends j{constructor(e){super();const t=document.createElement("style");t.textContent="*{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 2rem}}@media(min-width: 1024px){.content{padding:2rem 4.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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},gn,fn,O,{maxcontentwidth:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-app-footer",hn);function di(i,e,t){const o=i.slice();return o[3]=e[t],o}function ui(i){let e,t,o=i[3].innerHTML+"",r,n;return{c(){e=_("li"),t=_("a"),r=q(o),u(t,"href",n=i[3].href)},m(a,l){k(a,e,l),w(e,t),w(t,r)},p(a,l){l&2&&o!==(o=a[3].innerHTML+"")&&Y(r,o),l&2&&n!==(n=a[3].href)&&u(t,"href",n)},d(a){a&&L(e)}}}function mn(i){let e,t,o,r,n=i[1],a=[];for(let l=0;l<n.length;l+=1)a[l]=ui(di(i,n,l));return{c(){e=_("section"),t=_("div"),t.innerHTML="<slot></slot>",o=S(),r=_("ul");for(let l=0;l<a.length;l+=1)a[l].c();this.c=E,u(t,"class","hidden")},m(l,s){k(l,e,s),w(e,t),w(e,o),w(e,r);for(let c=0;c<a.length;c+=1)a[c]&&a[c].m(r,null);i[2](e)},p(l,[s]){if(s&2){n=l[1];let c;for(c=0;c<n.length;c+=1){const d=di(l,n,c);a[c]?a[c].p(d,s):(a[c]=ui(d),a[c].c(),a[c].m(r,null))}for(;c<a.length;c+=1)a[c].d(1);a.length=n.length}},i:E,o:E,d(l){l&&L(e),Ie(a,l),i[2](null)}}}function bn(i,e,t){let o,r=[];J(async()=>{if(await se(),t(1,r=o.querySelector("slot").assignedElements()),!r.map(l=>l.hasAttribute("href")).reduce((l,s)=>l&&s,!0)){t(1,r=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function n(a){U[a?"unshift":"push"](()=>{o=a,t(0,o)})}return[o,r,n]}class vn extends j{constructor(e){super();const t=document.createElement("style");t.textContent=".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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},bn,mn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",vn);function fi(i,e,t){const o=i.slice();return o[5]=e[t],o}function gi(i){let e,t,o,r;return{c(){e=_("div"),t=q(i[0]),o=S(),r=_("goa-divider"),u(e,"class","title"),C(r,"spacing","small")},m(n,a){k(n,e,a),w(e,t),k(n,o,a),k(n,r,a)},p(n,a){a&1&&Y(t,n[0])},d(n){n&&L(e),n&&L(o),n&&L(r)}}}function hi(i){let e,t,o=i[5].innerHTML+"",r,n;return{c(){e=_("li"),t=_("a"),r=q(o),u(t,"href",n=i[5].href)},m(a,l){k(a,e,l),w(e,t),w(t,r)},p(a,l){l&8&&o!==(o=a[5].innerHTML+"")&&Y(r,o),l&8&&n!==(n=a[5].href)&&u(t,"href",n)},d(a){a&&L(e)}}}function pn(i){let e,t,o,r,n,a,l=i[0]&&gi(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=hi(fi(i,s,d));return{c(){e=_("section"),l&&l.c(),t=S(),o=_("div"),o.innerHTML="<slot></slot>",r=S(),n=_("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=E,u(o,"class","hidden"),u(n,"class","links"),u(n,"style",a=`
|
|
47
|
+
<span data-tab-boundry="end" tabindex="0"></span>`,this.c=E},m(t,o){k(t,e,o),i[1](e)},p:E,i:E,o:E,d(t){t&&H(e),i[1](null)}}}function un(i){const e=i;if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return i;if(e.disabled)return null;switch(e.nodeName){case"A":{const o=e;if(!!o.href&&o.rel!=="ignore")return i}case"INPUT":{const o=e;if(o.type!=="hidden"&&o.type!=="file")return i}case"BUTTON":case"SELECT":case"TEXTAREA":return i;default:return null}}function fn(i,e,t){let o,r,n,l;J(async()=>{await se(),o.addEventListener("focus",c,!0),o.addEventListener("keydown",a,!0),o.addEventListener("keyup",s,!0),r=o.querySelector("[data-tab-boundry=start]"),n=o.querySelector("[data-tab-boundry=end]")});function a(v){v.shiftKey&&(l=!0)}function s(v){v.shiftKey&&(l=!1)}function c(v){const w=v.target;if(w.dataset.tabBoundry==="start"){if(l){n.focus();return}const y=d([w.nextElementSibling],!1);y==null||y.focus();return}if(w.dataset.tabBoundry==="end"){if(!l){r.focus();return}const y=d([w.previousElementSibling],!0);y==null||y.focus();return}}function d(v,w=!1){const y=w?[...v].reverse():v;for(const g of y){const C=un(g)||d(g.childNodes,w)||f(g,w)||h(g,w);if(C)return C}return null}function f(v,w){return v instanceof HTMLSlotElement?d([...v.assignedNodes()],w):null}function h(v,w){var y;return v instanceof HTMLElement?d([...((y=v.shadowRoot)===null||y===void 0?void 0:y.childNodes)||[]],w):null}function b(v){U[v?"unshift":"push"](()=>{o=v,t(0,o)})}return[o,b]}class gn extends F{constructor(e){super();const t=document.createElement("style");t.textContent="div{display:inline}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},fn,dn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-focus-trap",gn);function ui(i){let e;return{c(){e=_("goa-divider"),x(e,"spacing","small")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function hn(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v=i[2]&&i[2].length>0&&ui();return{c(){e=_("div"),t=_("div"),o=_("div"),o.innerHTML='<slot name="nav"></slot>',r=S(),v&&v.c(),n=S(),l=_("div"),a=_("div"),a.innerHTML='<slot name="meta"></slot>',s=S(),c=_("div"),d=_("a"),d.innerHTML='<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>',f=S(),h=_("a"),h.textContent=`\xA9 ${i[4]} Government of Alberta`,this.c=E,u(o,"class","nav-links"),u(a,"class","meta-links"),u(d,"href","https://alberta.ca"),u(h,"href","https://alberta.ca"),u(h,"class","goa-copyright"),u(c,"class","abgov"),Z(c,"with-meta-links",i[3]&&i[3].length>0),u(l,"class","meta-section"),Z(l,"with-meta-links",i[3]&&i[3].length>0),u(t,"class","content"),u(e,"class","app-footer"),u(e,"style",b=`--max-content-width: ${i[0]||"100%"}`)},m(w,y){k(w,e,y),p(e,t),p(t,o),p(t,r),v&&v.m(t,null),p(t,n),p(t,l),p(l,a),p(l,s),p(l,c),p(c,d),p(c,f),p(c,h),i[5](e)},p(w,[y]){w[2]&&w[2].length>0?v||(v=ui(),v.c(),v.m(t,n)):v&&(v.d(1),v=null),y&8&&Z(c,"with-meta-links",w[3]&&w[3].length>0),y&8&&Z(l,"with-meta-links",w[3]&&w[3].length>0),y&1&&b!==(b=`--max-content-width: ${w[0]||"100%"}`)&&u(e,"style",b)},i:E,o:E,d(w){w&&H(e),v&&v.d(),i[5](null)}}}function mn(i,e,t){let{maxcontentwidth:o=""}=e,r,n,l;const a=new Date().getFullYear();J(async()=>{await se();const c=r.querySelector("slot[name=nav]"),d=r.querySelector("slot[name=meta]");t(2,n=c.assignedElements()),t(3,l=d.assignedElements())});function s(c){U[c?"unshift":"push"](()=>{r=c,t(1,r)})}return i.$$set=c=>{"maxcontentwidth"in c&&t(0,o=c.maxcontentwidth)},[o,r,n,l,a,s]}class bn extends F{constructor(e){super();const t=document.createElement("style");t.textContent="*{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 2rem}}@media(min-width: 1024px){.content{padding:2rem 4.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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},mn,hn,O,{maxcontentwidth:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["maxcontentwidth"]}get maxcontentwidth(){return this.$$.ctx[0]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}}customElements.define("goa-app-footer",bn);function fi(i,e,t){const o=i.slice();return o[3]=e[t],o}function gi(i){let e,t,o=i[3].innerHTML+"",r,n;return{c(){e=_("li"),t=_("a"),r=q(o),u(t,"href",n=i[3].href)},m(l,a){k(l,e,a),p(e,t),p(t,r)},p(l,a){a&2&&o!==(o=l[3].innerHTML+"")&&Y(r,o),a&2&&n!==(n=l[3].href)&&u(t,"href",n)},d(l){l&&H(e)}}}function vn(i){let e,t,o,r,n=i[1],l=[];for(let a=0;a<n.length;a+=1)l[a]=gi(fi(i,n,a));return{c(){e=_("section"),t=_("div"),t.innerHTML="<slot></slot>",o=S(),r=_("ul");for(let a=0;a<l.length;a+=1)l[a].c();this.c=E,u(t,"class","hidden")},m(a,s){k(a,e,s),p(e,t),p(e,o),p(e,r);for(let c=0;c<l.length;c+=1)l[c]&&l[c].m(r,null);i[2](e)},p(a,[s]){if(s&2){n=a[1];let c;for(c=0;c<n.length;c+=1){const d=fi(a,n,c);l[c]?l[c].p(d,s):(l[c]=gi(d),l[c].c(),l[c].m(r,null))}for(;c<l.length;c+=1)l[c].d(1);l.length=n.length}},i:E,o:E,d(a){a&&H(e),Ze(l,a),i[2](null)}}}function pn(i,e,t){let o,r=[];J(async()=>{if(await se(),t(1,r=o.querySelector("slot").assignedElements()),!r.map(a=>a.hasAttribute("href")).reduce((a,s)=>a&&s,!0)){t(1,r=[]),console.warn("GoAFooterMetaSection children must be anchor elements.");return}});function n(l){U[l?"unshift":"push"](()=>{o=l,t(0,o)})}return[o,r,n]}class wn extends F{constructor(e){super();const t=document.createElement("style");t.textContent=".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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},pn,vn,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-app-footer-meta-section",wn);function hi(i,e,t){const o=i.slice();return o[5]=e[t],o}function mi(i){let e,t,o,r;return{c(){e=_("div"),t=q(i[0]),o=S(),r=_("goa-divider"),u(e,"class","title"),x(r,"spacing","small")},m(n,l){k(n,e,l),p(e,t),k(n,o,l),k(n,r,l)},p(n,l){l&1&&Y(t,n[0])},d(n){n&&H(e),n&&H(o),n&&H(r)}}}function bi(i){let e,t,o=i[5].innerHTML+"",r,n;return{c(){e=_("li"),t=_("a"),r=q(o),u(t,"href",n=i[5].href)},m(l,a){k(l,e,a),p(e,t),p(t,r)},p(l,a){a&8&&o!==(o=l[5].innerHTML+"")&&Y(r,o),a&8&&n!==(n=l[5].href)&&u(t,"href",n)},d(l){l&&H(e)}}}function yn(i){let e,t,o,r,n,l,a=i[0]&&mi(i),s=i[3],c=[];for(let d=0;d<s.length;d+=1)c[d]=bi(hi(i,s,d));return{c(){e=_("section"),a&&a.c(),t=S(),o=_("div"),o.innerHTML="<slot></slot>",r=S(),n=_("ul");for(let d=0;d<c.length;d+=1)c[d].c();this.c=E,u(o,"class","hidden"),u(n,"class","links"),u(n,"style",l=`
|
|
48
48
|
--narrow-display-type: ${Math.ceil(i[1]/2)>1?"block":"flex"};
|
|
49
49
|
--narrow-column-count: ${Math.ceil(i[1]/2)};
|
|
50
50
|
--wide-display-type: ${i[1]>1?"block":"flex"};
|
|
51
51
|
--wide-column-count: ${i[1]};
|
|
52
|
-
`)},m(d,f){k(d,e,f),
|
|
52
|
+
`)},m(d,f){k(d,e,f),a&&a.m(e,null),p(e,t),p(e,o),p(e,r),p(e,n);for(let h=0;h<c.length;h+=1)c[h]&&c[h].m(n,null);i[4](e)},p(d,[f]){if(d[0]?a?a.p(d,f):(a=mi(d),a.c(),a.m(e,t)):a&&(a.d(1),a=null),f&8){s=d[3];let h;for(h=0;h<s.length;h+=1){const b=hi(d,s,h);c[h]?c[h].p(b,f):(c[h]=bi(b),c[h].c(),c[h].m(n,null))}for(;h<c.length;h+=1)c[h].d(1);c.length=s.length}f&2&&l!==(l=`
|
|
53
53
|
--narrow-display-type: ${Math.ceil(d[1]/2)>1?"block":"flex"};
|
|
54
54
|
--narrow-column-count: ${Math.ceil(d[1]/2)};
|
|
55
55
|
--wide-display-type: ${d[1]>1?"block":"flex"};
|
|
56
56
|
--wide-column-count: ${d[1]};
|
|
57
|
-
`)&&u(n,"style",
|
|
57
|
+
`)&&u(n,"style",l)},i:E,o:E,d(d){d&&H(e),a&&a.d(),Ze(c,d),i[4](null)}}}function _n(i,e,t){let{heading:o=""}=e,{maxcolumncount:r=1}=e,n,l=[];J(async()=>{if(await se(),t(3,l=n.querySelector("slot").assignedElements()),!l.map(c=>c.hasAttribute("href")).reduce((c,d)=>c&&d,!0)){t(3,l=[]),console.warn("GoAFooterNavSection children must be anchor elements.");return}It(n,":host",{"flex-grow":r})});function a(s){U[s?"unshift":"push"](()=>{n=s,t(2,n)})}return i.$$set=s=>{"heading"in s&&t(0,o=s.heading),"maxcolumncount"in s&&t(1,r=s.maxcolumncount)},[o,r,n,l,a]}class kn extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4);padding-bottom:var(--goa-space-l)}.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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},_n,yn,O,{heading:0,maxcolumncount:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","maxcolumncount"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get maxcolumncount(){return this.$$.ctx[1]}set maxcolumncount(e){this.$$set({maxcolumncount:e}),m()}}customElements.define("goa-app-footer-nav-section",kn);function vi(i){let e,t,o,r=i[8]&&i[9].includes(i[8]),n=r&&pi(i);return{c(){e=_("div"),t=q(i[5]),o=S(),n&&n.c(),u(e,"class","label")},m(l,a){k(l,e,a),p(e,t),p(e,o),n&&n.m(e,null)},p(l,a){a&32&&Y(t,l[5]),a&256&&(r=l[8]&&l[9].includes(l[8])),r?n?n.p(l,a):(n=pi(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(l){l&&H(e),n&&n.d()}}}function pi(i){let e,t,o,r;return{c(){e=_("em"),t=q("("),o=q(i[8]),r=q(")")},m(n,l){k(n,e,l),p(e,t),p(e,o),p(e,r)},p(n,l){l&256&&Y(o,n[8])},d(n){n&&H(e)}}}function wi(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon"),o=S(),r=q(i[7]),x(t,"type","warning"),x(t,"size","small"),x(t,"theme","filled"),ie(t,"pointer-events","none"),u(e,"class","error-msg")},m(n,l){k(n,e,l),p(e,t),p(e,o),p(e,r)},p(n,l){l&128&&Y(r,n[7])},d(n){n&&H(e)}}}function yi(i){let e,t;return{c(){e=_("div"),t=q(i[6]),u(e,"class","help-msg")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&64&&Y(t,o[6])},d(o){o&&H(e)}}}function Cn(i){let e,t,o,r,n,l,a=i[5]&&vi(i),s=i[7]&&wi(i),c=i[6]&&yi(i);return{c(){e=_("div"),a&&a.c(),t=S(),o=_("div"),o.innerHTML="<slot></slot>",r=S(),s&&s.c(),n=S(),c&&c.c(),this.c=E,u(o,"class","form-item-input"),u(e,"data-testid",i[0]),u(e,"style",l=K(i[1],i[2],i[3],i[4])),u(e,"class","goa-form-item")},m(d,f){k(d,e,f),a&&a.m(e,null),p(e,t),p(e,o),p(e,r),s&&s.m(e,null),p(e,n),c&&c.m(e,null)},p(d,[f]){d[5]?a?a.p(d,f):(a=vi(d),a.c(),a.m(e,t)):a&&(a.d(1),a=null),d[7]?s?s.p(d,f):(s=wi(d),s.c(),s.m(e,n)):s&&(s.d(1),s=null),d[6]?c?c.p(d,f):(c=yi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&1&&u(e,"data-testid",d[0]),f&30&&l!==(l=K(d[1],d[2],d[3],d[4]))&&u(e,"style",l)},i:E,o:E,d(d){d&&H(e),a&&a.d(),s&&s.d(),c&&c.d()}}}function xn(i,e,t){const[o,r]=te("Requirement type",["optional","required"],!1);let{testid:n=""}=e,{mt:l=null}=e,{mr:a=null}=e,{mb:s=null}=e,{ml:c=null}=e,{label:d=""}=e,{helptext:f=""}=e,{error:h=""}=e,{requirement:b=""}=e;return J(()=>{r(b)}),i.$$set=v=>{"testid"in v&&t(0,n=v.testid),"mt"in v&&t(1,l=v.mt),"mr"in v&&t(2,a=v.mr),"mb"in v&&t(3,s=v.mb),"ml"in v&&t(4,c=v.ml),"label"in v&&t(5,d=v.label),"helptext"in v&&t(6,f=v.helptext),"error"in v&&t(7,h=v.error),"requirement"in v&&t(8,b=v.requirement)},[n,l,a,s,c,d,f,h,b,o]}class En extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},xn,Cn,O,{testid:0,mt:1,mr:2,mb:3,ml:4,label:5,helptext:6,error:7,requirement:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get mt(){return this.$$.ctx[1]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[2]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[3]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[4]}set ml(e){this.$$set({ml:e}),m()}get label(){return this.$$.ctx[5]}set label(e){this.$$set({label:e}),m()}get helptext(){return this.$$.ctx[6]}set helptext(e){this.$$set({helptext:e}),m()}get error(){return this.$$.ctx[7]}set error(e){this.$$set({error:e}),m()}get requirement(){return this.$$.ctx[8]}set requirement(e){this.$$set({requirement:e}),m()}}customElements.define("goa-form-item",En);function zn(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"class","goa-grid"),u(e,"style",o=`
|
|
58
58
|
${K(i[2],i[3],i[4],i[5])}
|
|
59
59
|
--min-child-width: ${i[1]||0};
|
|
60
60
|
gap: var(--goa-space-${i[0]})
|
|
61
|
-
`)},m(r,n){k(r,e,n),
|
|
61
|
+
`)},m(r,n){k(r,e,n),p(e,t)},p(r,[n]){n&63&&o!==(o=`
|
|
62
62
|
${K(r[2],r[3],r[4],r[5])}
|
|
63
63
|
--min-child-width: ${r[1]||0};
|
|
64
64
|
gap: var(--goa-space-${r[0]})
|
|
65
|
-
`)&&u(e,"style",o)},i:E,o:E,d(r){r&&L(e)}}}function En(i,e,t){let{gap:o="m"}=e,{minchildwidth:r=""}=e,{mt:n=null}=e,{mr:a=null}=e,{mb:l=null}=e,{ml:s=null}=e;return J(()=>{Ye("Grid",{minchildwidth:r})}),i.$$set=c=>{"gap"in c&&t(0,o=c.gap),"minchildwidth"in c&&t(1,r=c.minchildwidth),"mt"in c&&t(2,n=c.mt),"mr"in c&&t(3,a=c.mr),"mb"in c&&t(4,l=c.mb),"ml"in c&&t(5,s=c.ml)},[o,r,n,a,l,s]}class zn extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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))}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},En,xn,O,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),h()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-grid",zn);function Ln(i){let e,t,o,r,n,a,l,s,c;return{c(){e=_("div"),t=_("goa-page-block"),o=_("h1"),r=q(i[0]),n=S(),a=_("div"),a.innerHTML="<slot></slot>",l=S(),s=_("slot"),this.c=E,u(a,"class","goa-hero-banner-content"),u(a,"role","note"),u(s,"name","actions"),C(t,"width",c=i[3]||"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(d,f){k(d,e,f),w(e,t),w(t,o),w(o,r),w(t,n),w(t,a),w(t,l),w(t,s)},p(d,[f]){f&1&&Y(r,d[0]),f&8&&c!==(c=d[3]||"full")&&C(t,"width",c),f&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("+d[1]+")"),f&4&&ie(e,"min-height",d[2])},i:E,o:E,d(d){d&&L(e)}}}function Hn(i,e,t){let{heading:o}=e,{backgroundurl:r}=e,{minheight:n="600px"}=e,{maxcontentwidth:a="100%"}=e;return i.$$set=l=>{"heading"in l&&t(0,o=l.heading),"backgroundurl"in l&&t(1,r=l.backgroundurl),"minheight"in l&&t(2,n=l.minheight),"maxcontentwidth"in l&&t(3,a=l.maxcontentwidth)},[o,r,n,a]}class Mn extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Hn,Ln,O,{heading:0,backgroundurl:1,minheight:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","backgroundurl","minheight","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),h()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-hero-banner",Mn);function Tn(i){let e,t,o,r,n;return{c(){e=_("button"),t=_("goa-icon"),this.c=E,C(t,"title",i[3]),C(t,"type",i[0]),C(t,"size",i[1]),C(t,"theme",i[2]),C(t,"inverted",i[9]),u(e,"style",o=""+(K(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(a,l){k(a,e,l),w(e,t),r||(n=G(e,"click",An),r=!0)},p(a,[l]){l&8&&C(t,"title",a[3]),l&1&&C(t,"type",a[0]),l&2&&C(t,"size",a[1]),l&4&&C(t,"theme",a[2]),l&512&&C(t,"inverted",a[9]),l&1504&&o!==(o=""+(K(a[5],a[6],a[7],a[8])+"; --pading-size: "+a[10]))&&u(e,"style",o),l&8&&u(e,"title",a[3]),l&2048&&(e.disabled=a[11]),l&4096&&u(e,"class",a[12]),l&16&&u(e,"data-testid",a[4])},i:E,o:E,d(a){a&&L(e),r=!1,n()}}}function An(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function Rn(i,e,t){let o,r,n,a;const[l,s]=te("Icon Button Variant",["color","nocolor","dark","destructive"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:g="color"}=e,{title:b=""}=e,{testid:v=""}=e,{disabled:y="false"}=e,{inverted:p="false"}=e,{mt:m=null}=e,{mr:x=null}=e,{mb:A=null}=e,{ml:T=null}=e;return J(()=>{s(g)}),i.$$set=z=>{"icon"in z&&t(0,c=z.icon),"size"in z&&t(1,d=z.size),"theme"in z&&t(2,f=z.theme),"variant"in z&&t(13,g=z.variant),"title"in z&&t(3,b=z.title),"testid"in z&&t(4,v=z.testid),"disabled"in z&&t(14,y=z.disabled),"inverted"in z&&t(15,p=z.inverted),"mt"in z&&t(5,m=z.mt),"mr"in z&&t(6,x=z.mr),"mb"in z&&t(7,A=z.mb),"ml"in z&&t(8,T=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,n=$(p)),i.$$.dirty&8704&&t(12,o=`${g} ${n?"inverted":""}`),i.$$.dirty&16384&&t(11,r=$(y)),i.$$.dirty&2&&t(10,a={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,b,v,m,x,A,T,n,a,r,o,g,y,p]}class Sn extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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:var(--goa-border-radius-m);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:not(.destructive){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus:not(.destructive),button:active:not(.destructive){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)}.destructive{color:var(--goa-color-emergency-dark);fill:var(--goa-color-emergency-dark)}.destructive:hover{background-color:var(--goa-color-emergency-light);border-color:var(--goa-color-emergency-light);outline:none}.destructive:focus,.destructive:active{background-color:var(--goa-color-emergency-light);border-color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Rn,Tn,O,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["icon","size","theme","variant","title","testid","disabled","inverted","mt","mr","mb","ml"]}get icon(){return this.$$.ctx[0]}set icon(e){this.$$set({icon:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-icon-button",Sn);function wi(i){let e,t;function o(a,l){return l&16&&(e=null),e==null&&(e=!!Object.keys(a[13]).includes(a[4])),e?Bn:Vn}let r=o(i,-1),n=r(i);return{c(){n.c(),t=be()},m(a,l){n.m(a,l),k(a,t,l)},p(a,l){r===(r=o(a,l))&&n?n.p(a,l):(n.d(1),n=r(a),n&&(n.c(),n.m(t.parentNode,t)))},d(a){n.d(a),a&&L(t)}}}function Vn(i){let e,t;return{c(){e=_("ion-icon"),C(e,"name",t=i[6]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[6]}`)},m(o,r){k(o,e,r)},p(o,r){r&80&&t!==(t=o[6]==="filled"||o[4].indexOf("logo")===0?o[4]:`${o[4]}-${o[6]}`)&&C(e,"name",t)},d(o){o&&L(e)}}}function Bn(i){let e,t=i[13][i[4]]+"";return{c(){e=_("div"),u(e,"class","icon-override")},m(o,r){k(o,e,r),e.innerHTML=t},p(o,r){r&16&&t!==(t=o[13][o[4]]+"")&&(e.innerHTML=t)},d(o){o&&L(e)}}}function Dn(i){let e,t,o,r,n=i[4]&&wi(i);return{c(){e=_("div"),n&&n.c(),this.c=E,u(e,"role",t=i[11]?"img":"presentation"),u(e,"aria-label",i[11]),u(e,"class",o=`goa-icon goa-icon--${i[5]}`),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",r=`
|
|
65
|
+
`)&&u(e,"style",o)},i:E,o:E,d(r){r&&H(e)}}}function Ln(i,e,t){let{gap:o="m"}=e,{minchildwidth:r=""}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:s=null}=e;return J(()=>{Je("Grid",{minchildwidth:r})}),i.$$set=c=>{"gap"in c&&t(0,o=c.gap),"minchildwidth"in c&&t(1,r=c.minchildwidth),"mt"in c&&t(2,n=c.mt),"mr"in c&&t(3,l=c.mr),"mb"in c&&t(4,a=c.mb),"ml"in c&&t(5,s=c.ml)},[o,r,n,l,a,s]}class Hn extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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))}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ln,zn,O,{gap:0,minchildwidth:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["gap","minchildwidth","mt","mr","mb","ml"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),m()}get minchildwidth(){return this.$$.ctx[1]}set minchildwidth(e){this.$$set({minchildwidth: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-grid",Hn);function Mn(i){let e,t,o,r,n,l,a,s,c;return{c(){e=_("div"),t=_("goa-page-block"),o=_("h1"),r=q(i[0]),n=S(),l=_("div"),l.innerHTML="<slot></slot>",a=S(),s=_("slot"),this.c=E,u(l,"class","goa-hero-banner-content"),u(l,"role","note"),u(s,"name","actions"),x(t,"width",c=i[3]||"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(d,f){k(d,e,f),p(e,t),p(t,o),p(o,r),p(t,n),p(t,l),p(t,a),p(t,s)},p(d,[f]){f&1&&Y(r,d[0]),f&8&&c!==(c=d[3]||"full")&&x(t,"width",c),f&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("+d[1]+")"),f&4&&ie(e,"min-height",d[2])},i:E,o:E,d(d){d&&H(e)}}}function Tn(i,e,t){let{heading:o}=e,{backgroundurl:r}=e,{minheight:n="600px"}=e,{maxcontentwidth:l="100%"}=e;return i.$$set=a=>{"heading"in a&&t(0,o=a.heading),"backgroundurl"in a&&t(1,r=a.backgroundurl),"minheight"in a&&t(2,n=a.minheight),"maxcontentwidth"in a&&t(3,l=a.maxcontentwidth)},[o,r,n,l]}class An extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Tn,Mn,O,{heading:0,backgroundurl:1,minheight:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","backgroundurl","minheight","maxcontentwidth"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),m()}get minheight(){return this.$$.ctx[2]}set minheight(e){this.$$set({minheight:e}),m()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}}customElements.define("goa-hero-banner",An);function Rn(i){let e,t,o,r,n;return{c(){e=_("button"),t=_("goa-icon"),this.c=E,x(t,"title",i[3]),x(t,"type",i[0]),x(t,"size",i[1]),x(t,"theme",i[2]),x(t,"inverted",i[9]),u(e,"style",o=""+(K(i[5],i[6],i[7],i[8])+"; --pading-size: "+i[10])),u(e,"title",i[3]),e.disabled=i[11],u(e,"class",i[12]),u(e,"data-testid",i[4])},m(l,a){k(l,e,a),p(e,t),r||(n=G(e,"click",Sn),r=!0)},p(l,[a]){a&8&&x(t,"title",l[3]),a&1&&x(t,"type",l[0]),a&2&&x(t,"size",l[1]),a&4&&x(t,"theme",l[2]),a&512&&x(t,"inverted",l[9]),a&1504&&o!==(o=""+(K(l[5],l[6],l[7],l[8])+"; --pading-size: "+l[10]))&&u(e,"style",o),a&8&&u(e,"title",l[3]),a&2048&&(e.disabled=l[11]),a&4096&&u(e,"class",l[12]),a&16&&u(e,"data-testid",l[4])},i:E,o:E,d(l){l&&H(e),r=!1,n()}}}function Sn(i){i.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:i}}))}function Vn(i,e,t){let o,r,n,l;const[a,s]=te("Icon Button Variant",["color","nocolor","dark","destructive"],!0);let{icon:c}=e,{size:d="medium"}=e,{theme:f="outline"}=e,{variant:h="color"}=e,{title:b=""}=e,{testid:v=""}=e,{disabled:w="false"}=e,{inverted:y="false"}=e,{mt:g=null}=e,{mr:C=null}=e,{mb:A=null}=e,{ml:T=null}=e;return J(()=>{s(h)}),i.$$set=z=>{"icon"in z&&t(0,c=z.icon),"size"in z&&t(1,d=z.size),"theme"in z&&t(2,f=z.theme),"variant"in z&&t(13,h=z.variant),"title"in z&&t(3,b=z.title),"testid"in z&&t(4,v=z.testid),"disabled"in z&&t(14,w=z.disabled),"inverted"in z&&t(15,y=z.inverted),"mt"in z&&t(5,g=z.mt),"mr"in z&&t(6,C=z.mr),"mb"in z&&t(7,A=z.mb),"ml"in z&&t(8,T=z.ml)},i.$$.update=()=>{i.$$.dirty&32768&&t(9,n=$(y)),i.$$.dirty&8704&&t(12,o=`${h} ${n?"inverted":""}`),i.$$.dirty&16384&&t(11,r=$(w)),i.$$.dirty&2&&t(10,l={small:"0.25rem",medium:"0.25rem",large:"0.5rem"}[d])},[c,d,f,b,v,g,C,A,T,n,l,r,o,h,w,y]}class Bn extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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:var(--goa-border-radius-m);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:not(.destructive){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus:not(.destructive),button:active:not(.destructive){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)}.destructive{color:var(--goa-color-emergency-dark);fill:var(--goa-color-emergency-dark)}.destructive:hover{background-color:var(--goa-color-emergency-light);border-color:var(--goa-color-emergency-light);outline:none}.destructive:focus,.destructive:active{background-color:var(--goa-color-emergency-light);border-color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}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)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Vn,Rn,O,{icon:0,size:1,theme:2,variant:13,title:3,testid:4,disabled:14,inverted:15,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),m()}get variant(){return this.$$.ctx[13]}set variant(e){this.$$set({variant:e}),m()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),m()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),m()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),m()}get inverted(){return this.$$.ctx[15]}set inverted(e){this.$$set({inverted:e}),m()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-icon-button",Bn);function _i(i){let e,t;function o(l,a){return a&16&&(e=null),e==null&&(e=!!Object.keys(l[13]).includes(l[4])),e?Nn:Dn}let r=o(i,-1),n=r(i);return{c(){n.c(),t=be()},m(l,a){n.m(l,a),k(l,t,a)},p(l,a){r===(r=o(l,a))&&n?n.p(l,a):(n.d(1),n=r(l),n&&(n.c(),n.m(t.parentNode,t)))},d(l){n.d(l),l&&H(t)}}}function Dn(i){let e,t;return{c(){e=_("ion-icon"),x(e,"name",t=i[6]==="filled"||i[4].indexOf("logo")===0?i[4]:`${i[4]}-${i[6]}`)},m(o,r){k(o,e,r)},p(o,r){r&80&&t!==(t=o[6]==="filled"||o[4].indexOf("logo")===0?o[4]:`${o[4]}-${o[6]}`)&&x(e,"name",t)},d(o){o&&H(e)}}}function Nn(i){let e,t=i[13][i[4]]+"";return{c(){e=_("div"),u(e,"class","icon-override")},m(o,r){k(o,e,r),e.innerHTML=t},p(o,r){r&16&&t!==(t=o[13][o[4]]+"")&&(e.innerHTML=t)},d(o){o&&H(e)}}}function In(i){let e,t,o,r,n=i[4]&&_i(i);return{c(){e=_("div"),n&&n.c(),this.c=E,u(e,"role",t=i[11]?"img":"presentation"),u(e,"aria-label",i[11]),u(e,"class",o=`goa-icon goa-icon--${i[5]}`),u(e,"data-testid",i[10]),u(e,"title",i[9]),u(e,"style",r=`
|
|
66
66
|
${K(i[0],i[1],i[2],i[3])}
|
|
67
|
-
${
|
|
68
|
-
${
|
|
69
|
-
`),
|
|
70
|
-
${K(
|
|
71
|
-
${
|
|
72
|
-
${
|
|
73
|
-
`)&&u(e,"style",r),l&4128&&I(e,"inverted",a[12])},i:E,o:E,d(a){a&&L(e),n&&n.d()}}}function Nn(i,e,t){let o,{mt:r=null}=e,{mr:n=null}=e,{mb:a=null}=e,{ml:l=null}=e,{type:s}=e,{size:c="medium"}=e,{theme:d="outline"}=e,{inverted:f="false"}=e,{fillcolor:g=""}=e,{opacity:b=1}=e,{title:v=""}=e,{testid:y=""}=e,{arialabel:p=""}=e;const m={pencil:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M16.1442 5.47956L12.5355 1.87088L13.7196 0.686776C14.0391 0.367257 14.4385 0.212197 14.9178 0.221594C15.3971 0.230992 15.7965 0.39545 16.116 0.714969L17.3283 1.92726C17.6478 2.24678 17.8076 2.64148 17.8076 3.11136C17.8076 3.58124 17.6478 3.97594 17.3283 4.29546L16.1442 5.47956ZM1.03951 17.8424C0.795173 17.8424 0.593125 17.7626 0.433365 17.6028C0.273605 17.443 0.193726 17.241 0.193726 16.9966V14.5721C0.193726 14.4593 0.212521 14.356 0.250112 14.262C0.287702 14.168 0.353485 14.074 0.447461 13.9801L11.4689 2.93435L15.0776 6.54303L4.05615 17.5887C3.96217 17.6827 3.8682 17.7485 3.77422 17.7861C3.68024 17.8236 3.57687 17.8424 3.4641 17.8424H1.03951Z" fill="currentcolor"/> </svg>',checkmark:'<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M6.20129 11.5368L15.9974 0.341265C16.3611 -0.0743717 16.9929 -0.116489 17.4085 0.247193C17.8241 0.610875 17.8663 1.24264 17.5026 1.65827L7.00258 13.6583C6.82032 13.8666 6.5599 13.99 6.28328 13.9992C6.00666 14.0084 5.7386 13.9026 5.54289 13.7069L1.04289 9.20688C0.652369 8.81635 0.652369 8.18319 1.04289 7.79266C1.43342 7.40214 2.06658 7.40214 2.45711 7.79266L6.20129 11.5368Z" fill="currentcolor"/> </svg>',remove:'<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1.5 -0.000244141C0.947715 -0.000244141 0.5 0.447471 0.5 0.999756C0.5 1.55204 0.947715 1.99976 1.5 1.99976H15C15.5523 1.99976 16 1.55204 16 0.999756C16 0.447471 15.5523 -0.000244141 15 -0.000244141H1.5Z" fill="currentcolor"/> </svg>',"goa-file":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_1357_108691)"> <path d="M38.741 14C38.541 13.07 38.081 12.22 37.401 11.54L36.861 11L27.861 2L27.321 1.46C26.641 0.78 25.781 0.32 24.861 0.12C24.511 0.04 24.151 0 23.791 0H5.86096C3.10096 0 0.860962 2.24 0.860962 5V43C0.860962 45.76 3.10096 48 5.86096 48H33.861C36.621 48 38.861 45.76 38.861 43V15.07C38.861 14.71 38.811 14.35 38.741 14ZM35.041 12H29.871C28.221 12 26.871 10.65 26.871 9V3.83L35.041 12ZM36.871 43C36.871 44.65 35.521 46 33.871 46H5.87097C4.22097 46 2.87097 44.65 2.87097 43V5C2.87097 3.35 4.22097 2 5.87097 2H23.801C24.171 2 24.531 2.07 24.871 2.2V9C24.871 11.76 27.111 14 29.871 14H36.671C36.801 14.34 36.871 14.7 36.871 15.07V43Z" fill="currentcolor"/> </g> <defs> <clipPath id="clip0_1357_108691"><rect width="38" height="48" fill="white" transform="translate(0.861328)"/></clipPath></defs></svg>',"goa-text":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7953 14C38.5953 13.07 38.1353 12.22 37.4553 11.54L36.9153 11L27.9153 2L27.3753 1.46C26.6953 0.78 25.8353 0.32 24.9153 0.12C24.5653 0.04 24.2053 0 23.8453 0H5.91528C3.15528 0 0.915283 2.24 0.915283 5V43C0.915283 45.76 3.15528 48 5.91528 48H33.9153C36.6753 48 38.9153 45.76 38.9153 43V15.07C38.9153 14.71 38.8653 14.35 38.7953 14ZM35.0953 12H29.9253C28.2753 12 26.9253 10.65 26.9253 9V3.83L35.0953 12ZM36.9253 43C36.9253 44.65 35.5753 46 33.9253 46H5.91528C4.26528 46 2.91528 44.65 2.91528 43V5C2.91528 3.35 4.26528 2 5.91528 2H23.8453C24.2153 2 24.5753 2.07 24.9153 2.2V9C24.9153 11.76 27.1553 14 29.9153 14H36.7153C36.8453 14.34 36.9153 14.7 36.9153 15.07V43H36.9253Z" fill="currentcolor"/> <path d="M27.9153 34H11.9153C11.363 34 10.9153 34.4477 10.9153 35C10.9153 35.5523 11.363 36 11.9153 36H27.9153C28.4676 36 28.9153 35.5523 28.9153 35C28.9153 34.4477 28.4676 34 27.9153 34Z" fill="currentcolor"/> <path d="M27.9153 26H11.9153C11.363 26 10.9153 26.4477 10.9153 27C10.9153 27.5523 11.363 28 11.9153 28H27.9153C28.4676 28 28.9153 27.5523 28.9153 27C28.9153 26.4477 28.4676 26 27.9153 26Z" fill="currentcolor"/> </svg>',"goa-pdf":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.8861 14C37.6861 13.07 37.2261 12.22 36.5461 11.54L36.0061 11L27.0061 2L26.4661 1.46C25.7861 0.78 24.9261 0.32 24.0061 0.12C23.6561 0.04 23.2961 0 22.9361 0H5.0061C2.2461 0 0.00610352 2.24 0.00610352 5V43C0.00610352 45.76 2.2461 48 5.0061 48H33.0061C35.7661 48 38.0061 45.76 38.0061 43V15.07C38.0061 14.71 37.9561 14.35 37.8861 14ZM34.1861 12H29.0161C27.3661 12 26.0161 10.65 26.0161 9V3.83L34.1861 12ZM36.0161 43C36.0161 44.65 34.6661 46 33.0161 46H5.0061C3.3561 46 2.0061 44.65 2.0061 43V5C2.0061 3.35 3.3561 2 5.0061 2H22.9361C23.3061 2 23.6661 2.07 24.0061 2.2V9C24.0061 11.76 26.2461 14 29.0061 14H35.8061C35.9361 14.34 36.0061 14.7 36.0061 15.07V43H36.0161Z" fill="currentcolor"/> <path d="M5.02611 27C5.02611 26.45 5.47611 26 6.02611 26H9.05611C11.1161 26 12.9261 27.06 12.9261 29.28C12.9261 31.5 11.2461 32.74 8.85611 32.74H7.25611V35.85C7.25611 36.47 6.75611 36.97 6.13611 36.97C5.51611 36.97 5.01611 36.47 5.01611 35.85V27.01L5.02611 27ZM7.26611 30.96H8.73611C9.91611 30.96 10.6561 30.53 10.6561 29.31C10.6561 28.22 9.90611 27.77 8.79611 27.77H7.25611V30.96H7.26611Z" fill="currentcolor"/> <path d="M15.0361 27C15.0361 26.45 15.4861 26 16.0361 26H18.8461C22.1761 26 24.0161 28.03 24.0161 31.25C24.0161 34.82 22.0961 36.96 18.7661 36.96H16.0361C15.4861 36.96 15.0361 36.51 15.0361 35.96V27ZM17.2961 35.2H18.7361C20.6861 35.2 21.6961 33.74 21.6961 31.28C21.6961 29.25 20.7861 27.79 18.7461 27.79H17.2861V35.2H17.2961Z" fill="currentcolor"/> <path d="M25.9761 27C25.9761 26.45 26.4261 26 26.9761 26H32.0861C32.5961 26 33.0061 26.41 33.0061 26.92C33.0061 27.43 32.5961 27.84 32.0861 27.84H28.1761V30.63H31.8161C32.3161 30.63 32.7161 31.03 32.7161 31.53C32.7161 32.03 32.3161 32.43 31.8161 32.43H28.1761V35.86C28.1761 36.47 27.6861 36.96 27.0761 36.96C26.4661 36.96 25.9761 36.47 25.9761 35.86V26.99V27Z" fill="currentcolor"/> </svg> ',"goa-doc":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.6134 14C38.4134 13.07 37.9534 12.22 37.2734 11.54L36.7334 11L27.7334 2L27.1934 1.46C26.5134 0.78 25.6534 0.32 24.7334 0.12C24.3834 0.04 24.0234 0 23.6634 0H5.7334C2.9734 0 0.733398 2.24 0.733398 5V43C0.733398 45.76 2.9734 48 5.7334 48H33.7334C36.4934 48 38.7334 45.76 38.7334 43V15.07C38.7334 14.71 38.6834 14.35 38.6134 14ZM34.9134 12H29.7434C28.0934 12 26.7434 10.65 26.7434 9V3.83L34.9134 12ZM36.7434 43C36.7434 44.65 35.3934 46 33.7434 46H5.7334C4.0834 46 2.7334 44.65 2.7334 43V5C2.7334 3.35 4.0834 2 5.7334 2H23.6634C24.0334 2 24.3934 2.07 24.7334 2.2V9C24.7334 11.76 26.9734 14 29.7334 14H36.5334C36.6634 14.34 36.7334 14.7 36.7334 15.07V43H36.7434Z" fill="currentcolor"/> <path d="M13.7834 36.6406L10.9034 24.5806C10.6934 23.7206 11.3534 22.8906 12.2334 22.8906C12.8734 22.8906 13.4334 23.3406 13.5734 23.9706C14.4934 28.2306 15.3434 32.5006 15.6434 34.9706H15.6634C16.0934 32.6806 17.3834 27.7106 18.2434 24.0806C18.4134 23.3806 19.0334 22.8906 19.7534 22.8906C20.4634 22.8906 21.0834 23.3706 21.2534 24.0606C22.0734 27.3606 23.3634 32.5806 23.7534 34.8406H23.7734C24.1834 32.0406 25.4534 26.8306 26.1134 23.8706C26.2434 23.3006 26.7434 22.8906 27.3334 22.8906C28.1534 22.8906 28.7434 23.6606 28.5434 24.4506L25.4134 36.6706C25.2134 37.4606 24.5034 38.0106 23.6934 38.0106C22.8634 38.0106 22.1534 37.4506 21.9634 36.6406C21.1734 33.2806 20.0434 28.8506 19.6434 26.6306H19.6234C19.1834 28.9106 18.0234 33.4506 17.2234 36.6606C17.0234 37.4506 16.3134 38.0006 15.5034 38.0006C14.6834 38.0006 13.9634 37.4406 13.7734 36.6406H13.7834Z" fill="currentcolor"/> </svg> ',"goa-ppt":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.2498 14C38.0498 13.07 37.5898 12.22 36.9098 11.54L36.3698 11L27.3698 2L26.8298 1.46C26.1497 0.78 25.2898 0.32 24.3698 0.12C24.0198 0.04 23.6598 0 23.2998 0H5.36975C2.60975 0 0.369751 2.24 0.369751 5V43C0.369751 45.76 2.60975 48 5.36975 48H33.3698C36.1297 48 38.3698 45.76 38.3698 43V15.07C38.3698 14.71 38.3198 14.35 38.2498 14ZM34.5498 12H29.3798C27.7298 12 26.3798 10.65 26.3798 9V3.83L34.5498 12ZM36.3797 43C36.3797 44.65 35.0298 46 33.3797 46H5.36975C3.71975 46 2.36975 44.65 2.36975 43V5C2.36975 3.35 3.71975 2 5.36975 2H23.2998C23.6698 2 24.0298 2.07 24.3698 2.2V9C24.3698 11.76 26.6098 14 29.3698 14H36.1698C36.2998 14.34 36.3698 14.7 36.3698 15.07V43H36.3797Z" fill="currentcolor"/> <path d="M14.0798 24.8906C14.0798 23.7906 14.9798 22.8906 16.0798 22.8906H19.4698C22.3098 22.8906 24.6598 24.3406 24.6598 27.2906C24.6598 30.2406 22.4198 31.9306 19.2298 31.9306H16.7698V36.6606C16.7698 37.4006 16.1698 38.0006 15.4298 38.0006C14.6898 38.0006 14.0898 37.4006 14.0898 36.6606V24.8906H14.0798ZM16.7598 29.8206H19.0698C20.8098 29.8206 21.9498 29.1806 21.9498 27.3606C21.9498 25.7306 20.7798 25.0306 19.1298 25.0306H16.7498V29.8306L16.7598 29.8206Z" fill="currentcolor"/> </svg> ',"goa-xls":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.3407 14C38.1407 13.07 37.6807 12.22 37.0007 11.54L36.4607 11L27.4607 2L26.9207 1.46C26.2407 0.78 25.3807 0.32 24.4607 0.12C24.1107 0.04 23.7507 0 23.3907 0H5.46069C2.70069 0 0.460693 2.24 0.460693 5V43C0.460693 45.76 2.70069 48 5.46069 48H33.4607C36.2207 48 38.4607 45.76 38.4607 43V15.07C38.4607 14.71 38.4107 14.35 38.3407 14ZM34.6407 12H29.4707C27.8207 12 26.4707 10.65 26.4707 9V3.83L34.6407 12ZM36.4707 43C36.4707 44.65 35.1207 46 33.4707 46H5.46069C3.81069 46 2.46069 44.65 2.46069 43V5C2.46069 3.35 3.81069 2 5.46069 2H23.3907C23.7607 2 24.1207 2.07 24.4607 2.2V9C24.4607 11.76 26.7007 14 29.4607 14H36.2607C36.3907 14.34 36.4607 14.7 36.4607 15.07V43H36.4707Z" fill="currentcolor"/> <path d="M23.4107 38.0006C22.9407 38.0006 22.5107 37.7506 22.2707 37.3406L19.3907 32.2806H19.3707L16.4607 37.3906C16.2507 37.7706 15.8407 38.0006 15.4107 38.0006C14.4707 38.0006 13.8907 36.9706 14.3807 36.1606L17.9207 30.3906L14.5807 24.8606C14.0607 23.9906 14.6807 22.8906 15.6907 22.8906C16.1607 22.8906 16.5907 23.1406 16.8207 23.5406L19.5307 28.2806L19.5507 28.2606L22.3507 23.4806C22.5607 23.1206 22.9507 22.8906 23.3807 22.8906C24.3107 22.8906 24.8807 23.9106 24.3907 24.7006L21.0307 30.1206L24.5407 36.0206C25.0607 36.8906 24.4307 38.0006 23.4207 38.0006H23.4107Z" fill="currentcolor"/> </svg> ',"goa-zip":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7043 14C38.5043 13.07 38.0443 12.22 37.3643 11.54L36.8243 11L27.8243 2L27.2843 1.46C26.6043 0.78 25.7443 0.32 24.8243 0.12C24.4743 0.04 24.1143 0 23.7543 0H5.82434C3.06434 0 0.824341 2.24 0.824341 5V43C0.824341 45.76 3.06434 48 5.82434 48H33.8243C36.5843 48 38.8243 45.76 38.8243 43V15.07C38.8243 14.71 38.7743 14.35 38.7043 14ZM35.0043 12H29.8343C28.1843 12 26.8343 10.65 26.8343 9V3.83L35.0043 12ZM36.8343 43C36.8343 44.65 35.4843 46 33.8343 46H5.82434C4.17434 46 2.82434 44.65 2.82434 43V5C2.82434 3.35 4.17434 2 5.82434 2H23.7543C24.1243 2 24.4843 2.07 24.8243 2.2V9C24.8243 11.76 27.0643 14 29.8243 14H36.6243C36.7543 14.34 36.8243 14.7 36.8243 15.07V43H36.8343Z" fill="currentcolor"/> <path d="M14.8243 20H12.8243V22H14.8243V20Z" fill="currentcolor"/> <path d="M12.8243 18H10.8243V20H12.8243V18Z" fill="currentcolor"/> <path d="M14.8243 16H12.8243V18H14.8243V16Z" fill="currentcolor"/> <path d="M12.8243 14H10.8243V16H12.8243V14Z" fill="currentcolor"/> <path d="M14.8243 12H12.8243V14H14.8243V12Z" fill="currentcolor"/> <path d="M12.8243 10H10.8243V12H12.8243V10Z" fill="currentcolor"/> <path d="M14.8243 8H12.8243V10H14.8243V8Z" fill="currentcolor"/> <path d="M12.8243 6H10.8243V8H12.8243V6Z" fill="currentcolor"/> <path d="M14.8243 4H12.8243V6H14.8243V4Z" fill="currentcolor"/> <path d="M12.8243 2H10.8243V4H12.8243V2Z" fill="currentcolor"/> <path d="M17.7244 32.14L15.4744 23.69C15.3644 23.29 15.0044 23 14.5844 23H11.0644C10.6444 23 10.2744 23.28 10.1744 23.69L7.92435 32.14C7.30435 35.17 9.62435 37.97 12.8244 38C16.0144 37.98 18.3444 35.18 17.7244 32.14ZM15.1944 34.89C14.6244 35.58 13.7644 35.98 12.8244 35.99C11.8844 35.98 11.0244 35.58 10.4544 34.89C9.92435 34.24 9.71435 33.42 9.87435 32.59L11.8944 25H13.7544L15.7744 32.59C15.9344 33.42 15.7244 34.24 15.1944 34.89Z" fill="currentcolor"/> <path d="M13.8243 32H11.8243C11.2721 32 10.8243 32.4477 10.8243 33C10.8243 33.5523 11.2721 34 11.8243 34H13.8243C14.3766 34 14.8243 33.5523 14.8243 33C14.8243 32.4477 14.3766 32 13.8243 32Z" fill="currentcolor"/> </svg> ',"goa-video":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.977 14C37.777 13.07 37.317 12.22 36.637 11.54L36.097 11L27.097 2L26.557 1.46C25.877 0.78 25.017 0.32 24.097 0.12C23.747 0.04 23.387 0 23.027 0H5.09705C2.33705 0 0.0970459 2.24 0.0970459 5V43C0.0970459 45.76 2.33705 48 5.09705 48H33.097C35.857 48 38.097 45.76 38.097 43V15.07C38.097 14.71 38.047 14.35 37.977 14ZM34.277 12H29.107C27.457 12 26.107 10.65 26.107 9V3.83L34.277 12ZM36.107 43C36.107 44.65 34.757 46 33.107 46H5.09705C3.44705 46 2.09705 44.65 2.09705 43V5C2.09705 3.35 3.44705 2 5.09705 2H23.027C23.397 2 23.757 2.07 24.097 2.2V9C24.097 11.76 26.337 14 29.097 14H35.897C36.027 14.34 36.097 14.7 36.097 15.07V43H36.107Z" fill="currentcolor"/> <path d="M22.097 26.0002V29.0102C22.097 29.7802 22.927 30.2602 23.587 29.8802L25.077 29.0302L28.087 27.3202V34.6902L25.077 32.9802L23.587 32.1302C22.917 31.7502 22.097 32.2302 22.097 33.0002V35.9902H10.097V25.9902H22.097M22.097 23.9902H10.097C8.99705 23.9902 8.09705 24.8902 8.09705 25.9902V35.9902C8.09705 37.0902 8.99705 37.9902 10.097 37.9902H22.097C23.197 37.9902 24.097 37.0902 24.097 35.9902V34.7202L27.107 36.4302C27.427 36.6102 27.767 36.6902 28.087 36.6902C29.137 36.6902 30.087 35.8502 30.087 34.6902V27.3202C30.087 26.1502 29.127 25.3202 28.087 25.3202C27.757 25.3202 27.417 25.4002 27.107 25.5802L24.097 27.2902V25.9902C24.097 24.8902 23.197 23.9902 22.097 23.9902Z" fill="currentcolor"/> </svg> ',"goa-audio":'<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.0679 14.2305C37.8679 13.3005 37.4079 12.4505 36.7279 11.7705L36.1879 11.2305L27.1879 2.23047L26.6479 1.69047C25.9679 1.01047 25.1079 0.550469 24.1879 0.350469C23.8379 0.270469 23.4779 0.230469 23.1179 0.230469H5.18793C2.42793 0.230469 0.187927 2.47047 0.187927 5.23047V43.2305C0.187927 45.9905 2.42793 48.2305 5.18793 48.2305H33.1879C35.9479 48.2305 38.1879 45.9905 38.1879 43.2305V15.3005C38.1879 14.9405 38.1379 14.5805 38.0679 14.2305ZM34.3679 12.2305H29.1979C27.5479 12.2305 26.1979 10.8805 26.1979 9.23047V4.06047L34.3679 12.2305ZM36.1979 43.2305C36.1979 44.8805 34.8479 46.2305 33.1979 46.2305H5.19792C3.54792 46.2305 2.19792 44.8805 2.19792 43.2305V5.23047C2.19792 3.58047 3.54792 2.23047 5.19792 2.23047H23.1279C23.4979 2.23047 23.8579 2.30047 24.1979 2.43047V9.23047C24.1979 11.9905 26.4379 14.2305 29.1979 14.2305H35.9979C36.1279 14.5705 36.1979 14.9305 36.1979 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.1879 25.1189V37.3489L16.3479 34.6089L15.8279 34.2389H10.1879V28.2389H15.8279L16.3479 27.8689L20.1879 25.1289M20.1879 23.1289C19.7979 23.1289 19.3979 23.2489 19.0279 23.5089L15.1879 26.2489H10.1879C9.08793 26.2489 8.18793 27.1489 8.18793 28.2489V34.2489C8.18793 35.3489 9.08793 36.2489 10.1879 36.2489H15.1879L19.0279 38.9889C19.3879 39.2489 19.7879 39.3689 20.1879 39.3689C21.2279 39.3689 22.1979 38.5489 22.1979 37.3689V25.1389C22.1979 23.9589 21.2279 23.1389 20.1879 23.1389V23.1289Z" fill="currentcolor"/> <path d="M26.1381 23.707C26.6381 24.037 27.1081 24.417 27.5481 24.857C27.9881 25.297 28.3681 25.767 28.6981 26.267C29.0281 26.767 29.2981 27.287 29.5181 27.837C29.7381 28.387 29.8981 28.937 30.0081 29.507C30.1181 30.077 30.1681 30.647 30.1681 31.227C30.1681 31.807 30.1181 32.377 30.0081 32.947C29.8981 33.517 29.7381 34.077 29.5181 34.617C29.2981 35.157 29.0281 35.687 28.6981 36.187C28.3681 36.687 27.9881 37.157 27.5481 37.597C27.1081 38.037 26.6381 38.417 26.1381 38.747" stroke="currentcolor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"/> </svg> ',"goa-image":'<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.1588 14.2305C37.9588 13.3005 37.4988 12.4505 36.8188 11.7705L36.2788 11.2305L27.2788 2.23047L26.7388 1.69047C26.0588 1.01047 25.1988 0.550469 24.2788 0.350469C23.9288 0.270469 23.5688 0.230469 23.2088 0.230469H5.27881C2.51881 0.230469 0.278809 2.47047 0.278809 5.23047V43.2305C0.278809 45.9905 2.51881 48.2305 5.27881 48.2305H33.2788C36.0388 48.2305 38.2788 45.9905 38.2788 43.2305V15.3005C38.2788 14.9405 38.2288 14.5805 38.1588 14.2305ZM34.4588 12.2305H29.2888C27.6388 12.2305 26.2888 10.8805 26.2888 9.23047V4.06047L34.4588 12.2305ZM36.2888 43.2305C36.2888 44.8805 34.9388 46.2305 33.2888 46.2305H5.2888C3.6388 46.2305 2.2888 44.8805 2.2888 43.2305V5.23047C2.2888 3.58047 3.6388 2.23047 5.2888 2.23047H23.2188C23.5888 2.23047 23.9488 2.30047 24.2888 2.43047V9.23047C24.2888 11.9905 26.5288 14.2305 29.2888 14.2305H36.0888C36.2188 14.5705 36.2888 14.9305 36.2888 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.9985 28.2305C21.3585 28.2305 21.6485 28.4405 21.7885 28.7305L27.1085 36.7305C27.3185 37.0205 27.3185 37.4405 27.1785 37.7305C27.0385 38.0905 26.6785 38.2305 26.3185 38.2305H12.2385C11.8785 38.2305 11.5885 38.0905 11.3785 37.7305C11.2385 37.4405 11.2385 37.0205 11.4485 36.7305L14.8285 31.7305C14.9685 31.4405 15.3285 31.2305 15.6185 31.2305C15.9785 31.2305 16.2685 31.4405 16.4785 31.7305L17.3385 32.9405L20.1385 28.7305C20.3585 28.4405 20.6385 28.2305 20.9985 28.2305ZM20.9985 26.2305C20.0485 26.2305 19.1685 26.6905 18.5385 27.5305L18.4985 27.5805L18.4685 27.6305L17.1185 29.6605C16.6585 29.3805 16.1485 29.2405 15.6085 29.2405C14.6085 29.2405 13.6185 29.8205 13.1085 30.6905L9.79851 35.5905C9.17851 36.4505 9.08851 37.6705 9.57851 38.6305L9.60851 38.7005L9.6485 38.7705C10.2085 39.7005 11.1485 40.2405 12.2285 40.2405H26.3085C27.5185 40.2405 28.5385 39.6005 28.9985 38.5605C29.4385 37.6105 29.3385 36.4405 28.7485 35.6005L23.5085 27.7105C22.9885 26.8005 22.0485 26.2405 21.0085 26.2405L20.9985 26.2305Z" fill="currentcolor"/> <path d="M12.7788 23.2305C13.6088 23.2305 14.2788 23.9005 14.2788 24.7305C14.2788 25.5605 13.6088 26.2305 12.7788 26.2305C11.9488 26.2305 11.2788 25.5605 11.2788 24.7305C11.2788 23.9005 11.9488 23.2305 12.7788 23.2305ZM12.7788 21.2305C10.8488 21.2305 9.27881 22.8005 9.27881 24.7305C9.27881 26.6605 10.8488 28.2305 12.7788 28.2305C14.7088 28.2305 16.2788 26.6605 16.2788 24.7305C16.2788 22.8005 14.7088 21.2305 12.7788 21.2305Z" fill="currentcolor"/> </svg> '};return i.$$set=x=>{"mt"in x&&t(0,r=x.mt),"mr"in x&&t(1,n=x.mr),"mb"in x&&t(2,a=x.mb),"ml"in x&&t(3,l=x.ml),"type"in x&&t(4,s=x.type),"size"in x&&t(5,c=x.size),"theme"in x&&t(6,d=x.theme),"inverted"in x&&t(14,f=x.inverted),"fillcolor"in x&&t(7,g=x.fillcolor),"opacity"in x&&t(8,b=x.opacity),"title"in x&&t(9,v=x.title),"testid"in x&&t(10,y=x.testid),"arialabel"in x&&t(11,p=x.arialabel)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,o=$(f))},[r,n,a,l,s,c,d,g,b,v,y,p,o,m,f]}class In extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon--small{width:var(--goa-icon-size-m);height:var(--goa-icon-size-m)}.goa-icon--medium{width:var(--goa-icon-size-l);height:var(--goa-icon-size-l)}.goa-icon--large{width:2rem;height:2rem}.goa-icon--xlarge{width:2.5rem;height:2.5rem}.goa-icon:has(.icon-override){height:fit-content}.icon-override{display:flex;flex-direction:column;align-items:center}.inverted *{color:#fff;fill:#fff}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Nn,Dn,O,{mt:0,mr:1,mb:2,ml:3,type:4,size:5,theme:6,inverted:14,fillcolor:7,opacity:8,title:9,testid:10,arialabel:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","opacity","title","testid","arialabel"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),h()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[5]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[6]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),h()}get fillcolor(){return this.$$.ctx[7]}set fillcolor(e){this.$$set({fillcolor:e}),h()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),h()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),h()}get arialabel(){return this.$$.ctx[11]}set arialabel(e){this.$$set({arialabel:e}),h()}}customElements.define("goa-icon",In);function yi(i){let e,t;return{c(){e=_("div"),t=q(i[14]),u(e,"class","prefix")},m(o,r){k(o,e,r),w(e,t)},p(o,r){r[0]&16384&&Y(t,o[14])},d(o){o&&L(e)}}}function _i(i){let e;return{c(){e=_("goa-icon"),C(e,"class","goa-input-leading-icon"),C(e,"data-testid","leading-icon"),C(e,"type",i[5])},m(t,o){k(t,e,o)},p(t,o){o[0]&32&&C(e,"type",t[5])},d(t){t&&L(e)}}}function ki(i){let e;return{c(){e=_("goa-icon"),C(e,"class","goa-input-trailing-icon"),C(e,"data-testid","trailing-icon"),C(e,"size","medium"),C(e,"type",i[6])},m(t,o){k(t,e,o)},p(t,o){o[0]&64&&C(e,"type",t[6])},d(t){t&&L(e)}}}function Ci(i){let e,t,o;return{c(){e=_("goa-icon-button"),C(e,"disabled",i[26]),C(e,"variant","nocolor"),C(e,"size","medium"),C(e,"icon",i[6]),C(e,"data-testid","trailing-icon-button"),C(e,"class","goa-input-trailing-icon-button")},m(r,n){k(r,e,n),t||(o=G(e,"click",Zn),t=!0)},p(r,n){n[0]&67108864&&C(e,"disabled",r[26]),n[0]&64&&C(e,"icon",r[6])},d(r){r&&L(e),t=!1,o()}}}function xi(i){let e,t;return{c(){e=_("span"),t=q(i[15]),u(e,"class","suffix")},m(o,r){k(o,e,r),w(e,t)},p(o,r){r[0]&32768&&Y(t,o[15])},d(o){o&&L(e)}}}function Pn(i){let e,t,o,r,n,a,l,s,c,d,f,g,b,v,y,p,m,x,A,T=i[14]&&yi(i),z=i[5]&&_i(i),V=i[6]&&!i[28]&&ki(i),R=i[6]&&i[28]&&Ci(i),H=i[15]&&xi(i);return{c(){e=_("div"),t=_("div"),T&&T.c(),o=S(),r=_("div"),r.innerHTML='<slot name="leadingContent"></slot>',n=S(),z&&z.c(),a=S(),l=_("input"),f=S(),V&&V.c(),g=S(),R&&R.c(),b=S(),H&&H.c(),v=S(),y=_("div"),y.innerHTML='<slot name="trailingContent"></slot>',this.c=E,u(r,"class","leading-content"),u(l,"class",s=`
|
|
67
|
+
${fe("--fill-color",i[7])};
|
|
68
|
+
${fe("--opacity",i[8])};
|
|
69
|
+
`),Z(e,"inverted",i[12])},m(l,a){k(l,e,a),n&&n.m(e,null)},p(l,[a]){l[4]?n?n.p(l,a):(n=_i(l),n.c(),n.m(e,null)):n&&(n.d(1),n=null),a&2048&&t!==(t=l[11]?"img":"presentation")&&u(e,"role",t),a&2048&&u(e,"aria-label",l[11]),a&32&&o!==(o=`goa-icon goa-icon--${l[5]}`)&&u(e,"class",o),a&1024&&u(e,"data-testid",l[10]),a&512&&u(e,"title",l[9]),a&399&&r!==(r=`
|
|
70
|
+
${K(l[0],l[1],l[2],l[3])}
|
|
71
|
+
${fe("--fill-color",l[7])};
|
|
72
|
+
${fe("--opacity",l[8])};
|
|
73
|
+
`)&&u(e,"style",r),a&4128&&Z(e,"inverted",l[12])},i:E,o:E,d(l){l&&H(e),n&&n.d()}}}function Pn(i,e,t){let o,{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,{type:s}=e,{size:c="medium"}=e,{theme:d="outline"}=e,{inverted:f="false"}=e,{fillcolor:h=""}=e,{opacity:b=1}=e,{title:v=""}=e,{testid:w=""}=e,{arialabel:y=""}=e;const g={pencil:'<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M16.1442 5.47956L12.5355 1.87088L13.7196 0.686776C14.0391 0.367257 14.4385 0.212197 14.9178 0.221594C15.3971 0.230992 15.7965 0.39545 16.116 0.714969L17.3283 1.92726C17.6478 2.24678 17.8076 2.64148 17.8076 3.11136C17.8076 3.58124 17.6478 3.97594 17.3283 4.29546L16.1442 5.47956ZM1.03951 17.8424C0.795173 17.8424 0.593125 17.7626 0.433365 17.6028C0.273605 17.443 0.193726 17.241 0.193726 16.9966V14.5721C0.193726 14.4593 0.212521 14.356 0.250112 14.262C0.287702 14.168 0.353485 14.074 0.447461 13.9801L11.4689 2.93435L15.0776 6.54303L4.05615 17.5887C3.96217 17.6827 3.8682 17.7485 3.77422 17.7861C3.68024 17.8236 3.57687 17.8424 3.4641 17.8424H1.03951Z" fill="currentcolor"/> </svg>',checkmark:'<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M6.20129 11.5368L15.9974 0.341265C16.3611 -0.0743717 16.9929 -0.116489 17.4085 0.247193C17.8241 0.610875 17.8663 1.24264 17.5026 1.65827L7.00258 13.6583C6.82032 13.8666 6.5599 13.99 6.28328 13.9992C6.00666 14.0084 5.7386 13.9026 5.54289 13.7069L1.04289 9.20688C0.652369 8.81635 0.652369 8.18319 1.04289 7.79266C1.43342 7.40214 2.06658 7.40214 2.45711 7.79266L6.20129 11.5368Z" fill="currentcolor"/> </svg>',remove:'<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1.5 -0.000244141C0.947715 -0.000244141 0.5 0.447471 0.5 0.999756C0.5 1.55204 0.947715 1.99976 1.5 1.99976H15C15.5523 1.99976 16 1.55204 16 0.999756C16 0.447471 15.5523 -0.000244141 15 -0.000244141H1.5Z" fill="currentcolor"/> </svg>',"goa-file":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_1357_108691)"> <path d="M38.741 14C38.541 13.07 38.081 12.22 37.401 11.54L36.861 11L27.861 2L27.321 1.46C26.641 0.78 25.781 0.32 24.861 0.12C24.511 0.04 24.151 0 23.791 0H5.86096C3.10096 0 0.860962 2.24 0.860962 5V43C0.860962 45.76 3.10096 48 5.86096 48H33.861C36.621 48 38.861 45.76 38.861 43V15.07C38.861 14.71 38.811 14.35 38.741 14ZM35.041 12H29.871C28.221 12 26.871 10.65 26.871 9V3.83L35.041 12ZM36.871 43C36.871 44.65 35.521 46 33.871 46H5.87097C4.22097 46 2.87097 44.65 2.87097 43V5C2.87097 3.35 4.22097 2 5.87097 2H23.801C24.171 2 24.531 2.07 24.871 2.2V9C24.871 11.76 27.111 14 29.871 14H36.671C36.801 14.34 36.871 14.7 36.871 15.07V43Z" fill="currentcolor"/> </g> <defs> <clipPath id="clip0_1357_108691"><rect width="38" height="48" fill="white" transform="translate(0.861328)"/></clipPath></defs></svg>',"goa-text":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7953 14C38.5953 13.07 38.1353 12.22 37.4553 11.54L36.9153 11L27.9153 2L27.3753 1.46C26.6953 0.78 25.8353 0.32 24.9153 0.12C24.5653 0.04 24.2053 0 23.8453 0H5.91528C3.15528 0 0.915283 2.24 0.915283 5V43C0.915283 45.76 3.15528 48 5.91528 48H33.9153C36.6753 48 38.9153 45.76 38.9153 43V15.07C38.9153 14.71 38.8653 14.35 38.7953 14ZM35.0953 12H29.9253C28.2753 12 26.9253 10.65 26.9253 9V3.83L35.0953 12ZM36.9253 43C36.9253 44.65 35.5753 46 33.9253 46H5.91528C4.26528 46 2.91528 44.65 2.91528 43V5C2.91528 3.35 4.26528 2 5.91528 2H23.8453C24.2153 2 24.5753 2.07 24.9153 2.2V9C24.9153 11.76 27.1553 14 29.9153 14H36.7153C36.8453 14.34 36.9153 14.7 36.9153 15.07V43H36.9253Z" fill="currentcolor"/> <path d="M27.9153 34H11.9153C11.363 34 10.9153 34.4477 10.9153 35C10.9153 35.5523 11.363 36 11.9153 36H27.9153C28.4676 36 28.9153 35.5523 28.9153 35C28.9153 34.4477 28.4676 34 27.9153 34Z" fill="currentcolor"/> <path d="M27.9153 26H11.9153C11.363 26 10.9153 26.4477 10.9153 27C10.9153 27.5523 11.363 28 11.9153 28H27.9153C28.4676 28 28.9153 27.5523 28.9153 27C28.9153 26.4477 28.4676 26 27.9153 26Z" fill="currentcolor"/> </svg>',"goa-pdf":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.8861 14C37.6861 13.07 37.2261 12.22 36.5461 11.54L36.0061 11L27.0061 2L26.4661 1.46C25.7861 0.78 24.9261 0.32 24.0061 0.12C23.6561 0.04 23.2961 0 22.9361 0H5.0061C2.2461 0 0.00610352 2.24 0.00610352 5V43C0.00610352 45.76 2.2461 48 5.0061 48H33.0061C35.7661 48 38.0061 45.76 38.0061 43V15.07C38.0061 14.71 37.9561 14.35 37.8861 14ZM34.1861 12H29.0161C27.3661 12 26.0161 10.65 26.0161 9V3.83L34.1861 12ZM36.0161 43C36.0161 44.65 34.6661 46 33.0161 46H5.0061C3.3561 46 2.0061 44.65 2.0061 43V5C2.0061 3.35 3.3561 2 5.0061 2H22.9361C23.3061 2 23.6661 2.07 24.0061 2.2V9C24.0061 11.76 26.2461 14 29.0061 14H35.8061C35.9361 14.34 36.0061 14.7 36.0061 15.07V43H36.0161Z" fill="currentcolor"/> <path d="M5.02611 27C5.02611 26.45 5.47611 26 6.02611 26H9.05611C11.1161 26 12.9261 27.06 12.9261 29.28C12.9261 31.5 11.2461 32.74 8.85611 32.74H7.25611V35.85C7.25611 36.47 6.75611 36.97 6.13611 36.97C5.51611 36.97 5.01611 36.47 5.01611 35.85V27.01L5.02611 27ZM7.26611 30.96H8.73611C9.91611 30.96 10.6561 30.53 10.6561 29.31C10.6561 28.22 9.90611 27.77 8.79611 27.77H7.25611V30.96H7.26611Z" fill="currentcolor"/> <path d="M15.0361 27C15.0361 26.45 15.4861 26 16.0361 26H18.8461C22.1761 26 24.0161 28.03 24.0161 31.25C24.0161 34.82 22.0961 36.96 18.7661 36.96H16.0361C15.4861 36.96 15.0361 36.51 15.0361 35.96V27ZM17.2961 35.2H18.7361C20.6861 35.2 21.6961 33.74 21.6961 31.28C21.6961 29.25 20.7861 27.79 18.7461 27.79H17.2861V35.2H17.2961Z" fill="currentcolor"/> <path d="M25.9761 27C25.9761 26.45 26.4261 26 26.9761 26H32.0861C32.5961 26 33.0061 26.41 33.0061 26.92C33.0061 27.43 32.5961 27.84 32.0861 27.84H28.1761V30.63H31.8161C32.3161 30.63 32.7161 31.03 32.7161 31.53C32.7161 32.03 32.3161 32.43 31.8161 32.43H28.1761V35.86C28.1761 36.47 27.6861 36.96 27.0761 36.96C26.4661 36.96 25.9761 36.47 25.9761 35.86V26.99V27Z" fill="currentcolor"/> </svg> ',"goa-doc":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.6134 14C38.4134 13.07 37.9534 12.22 37.2734 11.54L36.7334 11L27.7334 2L27.1934 1.46C26.5134 0.78 25.6534 0.32 24.7334 0.12C24.3834 0.04 24.0234 0 23.6634 0H5.7334C2.9734 0 0.733398 2.24 0.733398 5V43C0.733398 45.76 2.9734 48 5.7334 48H33.7334C36.4934 48 38.7334 45.76 38.7334 43V15.07C38.7334 14.71 38.6834 14.35 38.6134 14ZM34.9134 12H29.7434C28.0934 12 26.7434 10.65 26.7434 9V3.83L34.9134 12ZM36.7434 43C36.7434 44.65 35.3934 46 33.7434 46H5.7334C4.0834 46 2.7334 44.65 2.7334 43V5C2.7334 3.35 4.0834 2 5.7334 2H23.6634C24.0334 2 24.3934 2.07 24.7334 2.2V9C24.7334 11.76 26.9734 14 29.7334 14H36.5334C36.6634 14.34 36.7334 14.7 36.7334 15.07V43H36.7434Z" fill="currentcolor"/> <path d="M13.7834 36.6406L10.9034 24.5806C10.6934 23.7206 11.3534 22.8906 12.2334 22.8906C12.8734 22.8906 13.4334 23.3406 13.5734 23.9706C14.4934 28.2306 15.3434 32.5006 15.6434 34.9706H15.6634C16.0934 32.6806 17.3834 27.7106 18.2434 24.0806C18.4134 23.3806 19.0334 22.8906 19.7534 22.8906C20.4634 22.8906 21.0834 23.3706 21.2534 24.0606C22.0734 27.3606 23.3634 32.5806 23.7534 34.8406H23.7734C24.1834 32.0406 25.4534 26.8306 26.1134 23.8706C26.2434 23.3006 26.7434 22.8906 27.3334 22.8906C28.1534 22.8906 28.7434 23.6606 28.5434 24.4506L25.4134 36.6706C25.2134 37.4606 24.5034 38.0106 23.6934 38.0106C22.8634 38.0106 22.1534 37.4506 21.9634 36.6406C21.1734 33.2806 20.0434 28.8506 19.6434 26.6306H19.6234C19.1834 28.9106 18.0234 33.4506 17.2234 36.6606C17.0234 37.4506 16.3134 38.0006 15.5034 38.0006C14.6834 38.0006 13.9634 37.4406 13.7734 36.6406H13.7834Z" fill="currentcolor"/> </svg> ',"goa-ppt":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.2498 14C38.0498 13.07 37.5898 12.22 36.9098 11.54L36.3698 11L27.3698 2L26.8298 1.46C26.1497 0.78 25.2898 0.32 24.3698 0.12C24.0198 0.04 23.6598 0 23.2998 0H5.36975C2.60975 0 0.369751 2.24 0.369751 5V43C0.369751 45.76 2.60975 48 5.36975 48H33.3698C36.1297 48 38.3698 45.76 38.3698 43V15.07C38.3698 14.71 38.3198 14.35 38.2498 14ZM34.5498 12H29.3798C27.7298 12 26.3798 10.65 26.3798 9V3.83L34.5498 12ZM36.3797 43C36.3797 44.65 35.0298 46 33.3797 46H5.36975C3.71975 46 2.36975 44.65 2.36975 43V5C2.36975 3.35 3.71975 2 5.36975 2H23.2998C23.6698 2 24.0298 2.07 24.3698 2.2V9C24.3698 11.76 26.6098 14 29.3698 14H36.1698C36.2998 14.34 36.3698 14.7 36.3698 15.07V43H36.3797Z" fill="currentcolor"/> <path d="M14.0798 24.8906C14.0798 23.7906 14.9798 22.8906 16.0798 22.8906H19.4698C22.3098 22.8906 24.6598 24.3406 24.6598 27.2906C24.6598 30.2406 22.4198 31.9306 19.2298 31.9306H16.7698V36.6606C16.7698 37.4006 16.1698 38.0006 15.4298 38.0006C14.6898 38.0006 14.0898 37.4006 14.0898 36.6606V24.8906H14.0798ZM16.7598 29.8206H19.0698C20.8098 29.8206 21.9498 29.1806 21.9498 27.3606C21.9498 25.7306 20.7798 25.0306 19.1298 25.0306H16.7498V29.8306L16.7598 29.8206Z" fill="currentcolor"/> </svg> ',"goa-xls":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.3407 14C38.1407 13.07 37.6807 12.22 37.0007 11.54L36.4607 11L27.4607 2L26.9207 1.46C26.2407 0.78 25.3807 0.32 24.4607 0.12C24.1107 0.04 23.7507 0 23.3907 0H5.46069C2.70069 0 0.460693 2.24 0.460693 5V43C0.460693 45.76 2.70069 48 5.46069 48H33.4607C36.2207 48 38.4607 45.76 38.4607 43V15.07C38.4607 14.71 38.4107 14.35 38.3407 14ZM34.6407 12H29.4707C27.8207 12 26.4707 10.65 26.4707 9V3.83L34.6407 12ZM36.4707 43C36.4707 44.65 35.1207 46 33.4707 46H5.46069C3.81069 46 2.46069 44.65 2.46069 43V5C2.46069 3.35 3.81069 2 5.46069 2H23.3907C23.7607 2 24.1207 2.07 24.4607 2.2V9C24.4607 11.76 26.7007 14 29.4607 14H36.2607C36.3907 14.34 36.4607 14.7 36.4607 15.07V43H36.4707Z" fill="currentcolor"/> <path d="M23.4107 38.0006C22.9407 38.0006 22.5107 37.7506 22.2707 37.3406L19.3907 32.2806H19.3707L16.4607 37.3906C16.2507 37.7706 15.8407 38.0006 15.4107 38.0006C14.4707 38.0006 13.8907 36.9706 14.3807 36.1606L17.9207 30.3906L14.5807 24.8606C14.0607 23.9906 14.6807 22.8906 15.6907 22.8906C16.1607 22.8906 16.5907 23.1406 16.8207 23.5406L19.5307 28.2806L19.5507 28.2606L22.3507 23.4806C22.5607 23.1206 22.9507 22.8906 23.3807 22.8906C24.3107 22.8906 24.8807 23.9106 24.3907 24.7006L21.0307 30.1206L24.5407 36.0206C25.0607 36.8906 24.4307 38.0006 23.4207 38.0006H23.4107Z" fill="currentcolor"/> </svg> ',"goa-zip":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7043 14C38.5043 13.07 38.0443 12.22 37.3643 11.54L36.8243 11L27.8243 2L27.2843 1.46C26.6043 0.78 25.7443 0.32 24.8243 0.12C24.4743 0.04 24.1143 0 23.7543 0H5.82434C3.06434 0 0.824341 2.24 0.824341 5V43C0.824341 45.76 3.06434 48 5.82434 48H33.8243C36.5843 48 38.8243 45.76 38.8243 43V15.07C38.8243 14.71 38.7743 14.35 38.7043 14ZM35.0043 12H29.8343C28.1843 12 26.8343 10.65 26.8343 9V3.83L35.0043 12ZM36.8343 43C36.8343 44.65 35.4843 46 33.8343 46H5.82434C4.17434 46 2.82434 44.65 2.82434 43V5C2.82434 3.35 4.17434 2 5.82434 2H23.7543C24.1243 2 24.4843 2.07 24.8243 2.2V9C24.8243 11.76 27.0643 14 29.8243 14H36.6243C36.7543 14.34 36.8243 14.7 36.8243 15.07V43H36.8343Z" fill="currentcolor"/> <path d="M14.8243 20H12.8243V22H14.8243V20Z" fill="currentcolor"/> <path d="M12.8243 18H10.8243V20H12.8243V18Z" fill="currentcolor"/> <path d="M14.8243 16H12.8243V18H14.8243V16Z" fill="currentcolor"/> <path d="M12.8243 14H10.8243V16H12.8243V14Z" fill="currentcolor"/> <path d="M14.8243 12H12.8243V14H14.8243V12Z" fill="currentcolor"/> <path d="M12.8243 10H10.8243V12H12.8243V10Z" fill="currentcolor"/> <path d="M14.8243 8H12.8243V10H14.8243V8Z" fill="currentcolor"/> <path d="M12.8243 6H10.8243V8H12.8243V6Z" fill="currentcolor"/> <path d="M14.8243 4H12.8243V6H14.8243V4Z" fill="currentcolor"/> <path d="M12.8243 2H10.8243V4H12.8243V2Z" fill="currentcolor"/> <path d="M17.7244 32.14L15.4744 23.69C15.3644 23.29 15.0044 23 14.5844 23H11.0644C10.6444 23 10.2744 23.28 10.1744 23.69L7.92435 32.14C7.30435 35.17 9.62435 37.97 12.8244 38C16.0144 37.98 18.3444 35.18 17.7244 32.14ZM15.1944 34.89C14.6244 35.58 13.7644 35.98 12.8244 35.99C11.8844 35.98 11.0244 35.58 10.4544 34.89C9.92435 34.24 9.71435 33.42 9.87435 32.59L11.8944 25H13.7544L15.7744 32.59C15.9344 33.42 15.7244 34.24 15.1944 34.89Z" fill="currentcolor"/> <path d="M13.8243 32H11.8243C11.2721 32 10.8243 32.4477 10.8243 33C10.8243 33.5523 11.2721 34 11.8243 34H13.8243C14.3766 34 14.8243 33.5523 14.8243 33C14.8243 32.4477 14.3766 32 13.8243 32Z" fill="currentcolor"/> </svg> ',"goa-video":'<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.977 14C37.777 13.07 37.317 12.22 36.637 11.54L36.097 11L27.097 2L26.557 1.46C25.877 0.78 25.017 0.32 24.097 0.12C23.747 0.04 23.387 0 23.027 0H5.09705C2.33705 0 0.0970459 2.24 0.0970459 5V43C0.0970459 45.76 2.33705 48 5.09705 48H33.097C35.857 48 38.097 45.76 38.097 43V15.07C38.097 14.71 38.047 14.35 37.977 14ZM34.277 12H29.107C27.457 12 26.107 10.65 26.107 9V3.83L34.277 12ZM36.107 43C36.107 44.65 34.757 46 33.107 46H5.09705C3.44705 46 2.09705 44.65 2.09705 43V5C2.09705 3.35 3.44705 2 5.09705 2H23.027C23.397 2 23.757 2.07 24.097 2.2V9C24.097 11.76 26.337 14 29.097 14H35.897C36.027 14.34 36.097 14.7 36.097 15.07V43H36.107Z" fill="currentcolor"/> <path d="M22.097 26.0002V29.0102C22.097 29.7802 22.927 30.2602 23.587 29.8802L25.077 29.0302L28.087 27.3202V34.6902L25.077 32.9802L23.587 32.1302C22.917 31.7502 22.097 32.2302 22.097 33.0002V35.9902H10.097V25.9902H22.097M22.097 23.9902H10.097C8.99705 23.9902 8.09705 24.8902 8.09705 25.9902V35.9902C8.09705 37.0902 8.99705 37.9902 10.097 37.9902H22.097C23.197 37.9902 24.097 37.0902 24.097 35.9902V34.7202L27.107 36.4302C27.427 36.6102 27.767 36.6902 28.087 36.6902C29.137 36.6902 30.087 35.8502 30.087 34.6902V27.3202C30.087 26.1502 29.127 25.3202 28.087 25.3202C27.757 25.3202 27.417 25.4002 27.107 25.5802L24.097 27.2902V25.9902C24.097 24.8902 23.197 23.9902 22.097 23.9902Z" fill="currentcolor"/> </svg> ',"goa-audio":'<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.0679 14.2305C37.8679 13.3005 37.4079 12.4505 36.7279 11.7705L36.1879 11.2305L27.1879 2.23047L26.6479 1.69047C25.9679 1.01047 25.1079 0.550469 24.1879 0.350469C23.8379 0.270469 23.4779 0.230469 23.1179 0.230469H5.18793C2.42793 0.230469 0.187927 2.47047 0.187927 5.23047V43.2305C0.187927 45.9905 2.42793 48.2305 5.18793 48.2305H33.1879C35.9479 48.2305 38.1879 45.9905 38.1879 43.2305V15.3005C38.1879 14.9405 38.1379 14.5805 38.0679 14.2305ZM34.3679 12.2305H29.1979C27.5479 12.2305 26.1979 10.8805 26.1979 9.23047V4.06047L34.3679 12.2305ZM36.1979 43.2305C36.1979 44.8805 34.8479 46.2305 33.1979 46.2305H5.19792C3.54792 46.2305 2.19792 44.8805 2.19792 43.2305V5.23047C2.19792 3.58047 3.54792 2.23047 5.19792 2.23047H23.1279C23.4979 2.23047 23.8579 2.30047 24.1979 2.43047V9.23047C24.1979 11.9905 26.4379 14.2305 29.1979 14.2305H35.9979C36.1279 14.5705 36.1979 14.9305 36.1979 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.1879 25.1189V37.3489L16.3479 34.6089L15.8279 34.2389H10.1879V28.2389H15.8279L16.3479 27.8689L20.1879 25.1289M20.1879 23.1289C19.7979 23.1289 19.3979 23.2489 19.0279 23.5089L15.1879 26.2489H10.1879C9.08793 26.2489 8.18793 27.1489 8.18793 28.2489V34.2489C8.18793 35.3489 9.08793 36.2489 10.1879 36.2489H15.1879L19.0279 38.9889C19.3879 39.2489 19.7879 39.3689 20.1879 39.3689C21.2279 39.3689 22.1979 38.5489 22.1979 37.3689V25.1389C22.1979 23.9589 21.2279 23.1389 20.1879 23.1389V23.1289Z" fill="currentcolor"/> <path d="M26.1381 23.707C26.6381 24.037 27.1081 24.417 27.5481 24.857C27.9881 25.297 28.3681 25.767 28.6981 26.267C29.0281 26.767 29.2981 27.287 29.5181 27.837C29.7381 28.387 29.8981 28.937 30.0081 29.507C30.1181 30.077 30.1681 30.647 30.1681 31.227C30.1681 31.807 30.1181 32.377 30.0081 32.947C29.8981 33.517 29.7381 34.077 29.5181 34.617C29.2981 35.157 29.0281 35.687 28.6981 36.187C28.3681 36.687 27.9881 37.157 27.5481 37.597C27.1081 38.037 26.6381 38.417 26.1381 38.747" stroke="currentcolor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"/> </svg> ',"goa-image":'<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.1588 14.2305C37.9588 13.3005 37.4988 12.4505 36.8188 11.7705L36.2788 11.2305L27.2788 2.23047L26.7388 1.69047C26.0588 1.01047 25.1988 0.550469 24.2788 0.350469C23.9288 0.270469 23.5688 0.230469 23.2088 0.230469H5.27881C2.51881 0.230469 0.278809 2.47047 0.278809 5.23047V43.2305C0.278809 45.9905 2.51881 48.2305 5.27881 48.2305H33.2788C36.0388 48.2305 38.2788 45.9905 38.2788 43.2305V15.3005C38.2788 14.9405 38.2288 14.5805 38.1588 14.2305ZM34.4588 12.2305H29.2888C27.6388 12.2305 26.2888 10.8805 26.2888 9.23047V4.06047L34.4588 12.2305ZM36.2888 43.2305C36.2888 44.8805 34.9388 46.2305 33.2888 46.2305H5.2888C3.6388 46.2305 2.2888 44.8805 2.2888 43.2305V5.23047C2.2888 3.58047 3.6388 2.23047 5.2888 2.23047H23.2188C23.5888 2.23047 23.9488 2.30047 24.2888 2.43047V9.23047C24.2888 11.9905 26.5288 14.2305 29.2888 14.2305H36.0888C36.2188 14.5705 36.2888 14.9305 36.2888 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.9985 28.2305C21.3585 28.2305 21.6485 28.4405 21.7885 28.7305L27.1085 36.7305C27.3185 37.0205 27.3185 37.4405 27.1785 37.7305C27.0385 38.0905 26.6785 38.2305 26.3185 38.2305H12.2385C11.8785 38.2305 11.5885 38.0905 11.3785 37.7305C11.2385 37.4405 11.2385 37.0205 11.4485 36.7305L14.8285 31.7305C14.9685 31.4405 15.3285 31.2305 15.6185 31.2305C15.9785 31.2305 16.2685 31.4405 16.4785 31.7305L17.3385 32.9405L20.1385 28.7305C20.3585 28.4405 20.6385 28.2305 20.9985 28.2305ZM20.9985 26.2305C20.0485 26.2305 19.1685 26.6905 18.5385 27.5305L18.4985 27.5805L18.4685 27.6305L17.1185 29.6605C16.6585 29.3805 16.1485 29.2405 15.6085 29.2405C14.6085 29.2405 13.6185 29.8205 13.1085 30.6905L9.79851 35.5905C9.17851 36.4505 9.08851 37.6705 9.57851 38.6305L9.60851 38.7005L9.6485 38.7705C10.2085 39.7005 11.1485 40.2405 12.2285 40.2405H26.3085C27.5185 40.2405 28.5385 39.6005 28.9985 38.5605C29.4385 37.6105 29.3385 36.4405 28.7485 35.6005L23.5085 27.7105C22.9885 26.8005 22.0485 26.2405 21.0085 26.2405L20.9985 26.2305Z" fill="currentcolor"/> <path d="M12.7788 23.2305C13.6088 23.2305 14.2788 23.9005 14.2788 24.7305C14.2788 25.5605 13.6088 26.2305 12.7788 26.2305C11.9488 26.2305 11.2788 25.5605 11.2788 24.7305C11.2788 23.9005 11.9488 23.2305 12.7788 23.2305ZM12.7788 21.2305C10.8488 21.2305 9.27881 22.8005 9.27881 24.7305C9.27881 26.6605 10.8488 28.2305 12.7788 28.2305C14.7088 28.2305 16.2788 26.6605 16.2788 24.7305C16.2788 22.8005 14.7088 21.2305 12.7788 21.2305Z" fill="currentcolor"/> </svg> '};return i.$$set=C=>{"mt"in C&&t(0,r=C.mt),"mr"in C&&t(1,n=C.mr),"mb"in C&&t(2,l=C.mb),"ml"in C&&t(3,a=C.ml),"type"in C&&t(4,s=C.type),"size"in C&&t(5,c=C.size),"theme"in C&&t(6,d=C.theme),"inverted"in C&&t(14,f=C.inverted),"fillcolor"in C&&t(7,h=C.fillcolor),"opacity"in C&&t(8,b=C.opacity),"title"in C&&t(9,v=C.title),"testid"in C&&t(10,w=C.testid),"arialabel"in C&&t(11,y=C.arialabel)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,o=$(f))},[r,n,l,a,s,c,d,h,b,v,w,y,o,g,f]}class Zn extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon--small{width:var(--goa-icon-size-m);height:var(--goa-icon-size-m)}.goa-icon--medium{width:var(--goa-icon-size-l);height:var(--goa-icon-size-l)}.goa-icon--large{width:2rem;height:2rem}.goa-icon--xlarge{width:2.5rem;height:2.5rem}.goa-icon:has(.icon-override){height:fit-content}.icon-override{display:flex;flex-direction:column;align-items:center}.inverted *{color:#fff;fill:#fff}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Pn,In,O,{mt:0,mr:1,mb:2,ml:3,type:4,size:5,theme:6,inverted:14,fillcolor:7,opacity:8,title:9,testid:10,arialabel:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["mt","mr","mb","ml","type","size","theme","inverted","fillcolor","opacity","title","testid","arialabel"]}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),m()}get type(){return this.$$.ctx[4]}set type(e){this.$$set({type:e}),m()}get size(){return this.$$.ctx[5]}set size(e){this.$$set({size:e}),m()}get theme(){return this.$$.ctx[6]}set theme(e){this.$$set({theme:e}),m()}get inverted(){return this.$$.ctx[14]}set inverted(e){this.$$set({inverted:e}),m()}get fillcolor(){return this.$$.ctx[7]}set fillcolor(e){this.$$set({fillcolor:e}),m()}get opacity(){return this.$$.ctx[8]}set opacity(e){this.$$set({opacity:e}),m()}get title(){return this.$$.ctx[9]}set title(e){this.$$set({title:e}),m()}get testid(){return this.$$.ctx[10]}set testid(e){this.$$set({testid:e}),m()}get arialabel(){return this.$$.ctx[11]}set arialabel(e){this.$$set({arialabel:e}),m()}}customElements.define("goa-icon",Zn);function ki(i){let e,t;return{c(){e=_("div"),t=q(i[14]),u(e,"class","prefix")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r[0]&16384&&Y(t,o[14])},d(o){o&&H(e)}}}function Ci(i){let e;return{c(){e=_("goa-icon"),x(e,"class","goa-input-leading-icon"),x(e,"data-testid","leading-icon"),x(e,"type",i[5])},m(t,o){k(t,e,o)},p(t,o){o[0]&32&&x(e,"type",t[5])},d(t){t&&H(e)}}}function xi(i){let e;return{c(){e=_("goa-icon"),x(e,"class","goa-input-trailing-icon"),x(e,"data-testid","trailing-icon"),x(e,"size","medium"),x(e,"type",i[6])},m(t,o){k(t,e,o)},p(t,o){o[0]&64&&x(e,"type",t[6])},d(t){t&&H(e)}}}function Ei(i){let e,t,o;return{c(){e=_("goa-icon-button"),x(e,"disabled",i[26]),x(e,"variant","nocolor"),x(e,"size","medium"),x(e,"icon",i[6]),x(e,"data-testid","trailing-icon-button"),x(e,"class","goa-input-trailing-icon-button")},m(r,n){k(r,e,n),t||(o=G(e,"click",qn),t=!0)},p(r,n){n[0]&67108864&&x(e,"disabled",r[26]),n[0]&64&&x(e,"icon",r[6])},d(r){r&&H(e),t=!1,o()}}}function zi(i){let e,t;return{c(){e=_("span"),t=q(i[15]),u(e,"class","suffix")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r[0]&32768&&Y(t,o[15])},d(o){o&&H(e)}}}function On(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v,w,y,g,C,A,T=i[14]&&ki(i),z=i[5]&&Ci(i),V=i[6]&&!i[28]&&xi(i),R=i[6]&&i[28]&&Ei(i),L=i[15]&&zi(i);return{c(){e=_("div"),t=_("div"),T&&T.c(),o=S(),r=_("div"),r.innerHTML='<slot name="leadingContent"></slot>',n=S(),z&&z.c(),l=S(),a=_("input"),f=S(),V&&V.c(),h=S(),R&&R.c(),b=S(),L&&L.c(),v=S(),w=_("div"),w.innerHTML='<slot name="trailingContent"></slot>',this.c=E,u(r,"class","leading-content"),u(a,"class",s=`
|
|
74
74
|
input--${i[7]}
|
|
75
75
|
${i[23]&&!i[26]?"input-leading-content":""}
|
|
76
76
|
${i[24]&&!i[26]?"input-trailing-content":""}
|
|
77
|
-
`),u(
|
|
77
|
+
`),u(a,"style",c=`--search-icon-offset: ${i[6]?"-0.5rem":"0"}`),a.readOnly=i[25],a.disabled=i[26],u(a,"data-testid",i[8]),u(a,"autocapitalize",i[3]),u(a,"name",i[2]),u(a,"type",i[1]),a.value=i[0],u(a,"placeholder",i[4]),u(a,"min",i[11]),u(a,"max",i[12]),u(a,"step",i[13]),u(a,"maxlength",i[16]),u(a,"role","textbox"),u(a,"aria-label",d=i[10]||i[2]),u(w,"class","trailing-content"),u(t,"class",y=`
|
|
78
78
|
goa-input
|
|
79
79
|
${i[26]?"goa-input--disabled":""}
|
|
80
80
|
variant--${i[7]}
|
|
81
81
|
type--${i[1]}
|
|
82
82
|
${i[23]?"goa-input-leading-content":""}
|
|
83
83
|
${i[24]?"goa-input-trailing-content":""}
|
|
84
|
-
`),
|
|
84
|
+
`),Z(t,"error",i[27]),u(e,"class","container"),u(e,"style",g=`
|
|
85
85
|
${K(i[17],i[18],i[19],i[20])};
|
|
86
86
|
--width: ${i[9]};
|
|
87
|
-
`)},m(M,B){k(M,e,B),
|
|
87
|
+
`)},m(M,B){k(M,e,B),p(e,t),T&&T.m(t,null),p(t,o),p(t,r),p(t,n),z&&z.m(t,null),p(t,l),p(t,a),i[39](a),p(t,f),V&&V.m(t,null),p(t,h),R&&R.m(t,null),p(t,b),L&&L.m(t,null),p(t,v),p(t,w),i[40](e),C||(A=[G(a,"keyup",i[29]),G(a,"change",i[29]),G(a,"focus",i[30]),G(a,"blur",i[31])],C=!0)},p(M,B){M[14]?T?T.p(M,B):(T=ki(M),T.c(),T.m(t,o)):T&&(T.d(1),T=null),M[5]?z?z.p(M,B):(z=Ci(M),z.c(),z.m(t,l)):z&&(z.d(1),z=null),B[0]&92274816&&s!==(s=`
|
|
88
88
|
input--${M[7]}
|
|
89
89
|
${M[23]&&!M[26]?"input-leading-content":""}
|
|
90
90
|
${M[24]&&!M[26]?"input-trailing-content":""}
|
|
91
|
-
`)&&u(
|
|
91
|
+
`)&&u(a,"class",s),B[0]&64&&c!==(c=`--search-icon-offset: ${M[6]?"-0.5rem":"0"}`)&&u(a,"style",c),B[0]&33554432&&(a.readOnly=M[25]),B[0]&67108864&&(a.disabled=M[26]),B[0]&256&&u(a,"data-testid",M[8]),B[0]&8&&u(a,"autocapitalize",M[3]),B[0]&4&&u(a,"name",M[2]),B[0]&2&&u(a,"type",M[1]),B[0]&1&&a.value!==M[0]&&(a.value=M[0]),B[0]&16&&u(a,"placeholder",M[4]),B[0]&2048&&u(a,"min",M[11]),B[0]&4096&&u(a,"max",M[12]),B[0]&8192&&u(a,"step",M[13]),B[0]&65536&&u(a,"maxlength",M[16]),B[0]&1028&&d!==(d=M[10]||M[2])&&u(a,"aria-label",d),M[6]&&!M[28]?V?V.p(M,B):(V=xi(M),V.c(),V.m(t,h)):V&&(V.d(1),V=null),M[6]&&M[28]?R?R.p(M,B):(R=Ei(M),R.c(),R.m(t,b)):R&&(R.d(1),R=null),M[15]?L?L.p(M,B):(L=zi(M),L.c(),L.m(t,v)):L&&(L.d(1),L=null),B[0]&92274818&&y!==(y=`
|
|
92
92
|
goa-input
|
|
93
93
|
${M[26]?"goa-input--disabled":""}
|
|
94
94
|
variant--${M[7]}
|
|
95
95
|
type--${M[1]}
|
|
96
96
|
${M[23]?"goa-input-leading-content":""}
|
|
97
97
|
${M[24]?"goa-input-trailing-content":""}
|
|
98
|
-
`)&&u(t,"class",
|
|
98
|
+
`)&&u(t,"class",y),B[0]&226492546&&Z(t,"error",M[27]),B[0]&1966592&&g!==(g=`
|
|
99
99
|
${K(M[17],M[18],M[19],M[20])};
|
|
100
100
|
--width: ${M[9]};
|
|
101
|
-
`)&&u(e,"style",
|
|
102
|
-
center center no-repeat}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
103
|
-
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",r="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(a,"data-testid","site-text"),u(a,"class","site-text")},m(f,g){k(f,e,g),w(e,o),k(f,n,g),k(f,a,g),w(a,l),w(a,s),w(a,c),d&&d.m(a,null)},p(f,g){g&1&&t!==(t=Mi(f[0])+"")&&Y(o,t),g&1&&r!==(r="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",r),f[2]?d?d.p(f,g):(d=Li(f),d.c(),d.m(a,null)):d&&(d.d(1),d=null)},d(f){f&&L(e),f&&L(n),f&&L(a),d&&d.d()}}}function Li(i){let e,t,o,r;return{c(){e=_("span"),t=q("\u2014 help us improve it by giving "),o=_("a"),r=q("feedback"),u(o,"href",i[2]),u(e,"data-testid","feedback")},m(n,a){k(n,e,a),w(e,t),w(e,o),w(o,r)},p(n,a){a&4&&u(o,"href",n[2])},d(n){n&&L(e)}}}function Hi(i){let e,t;return{c(){e=_("div"),t=q(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(o,r){k(o,e,r),w(e,t)},p(o,r){r&2&&Y(t,o[1])},d(o){o&&L(e)}}}function jn(i){let e,t,o,r=["alpha","beta"].includes(i[0]),n,a,l,s,c=i[0]==="live"&&Ei(),d=r&&zi(i),f=i[1]&&Hi(i);return{c(){e=_("header"),t=_("div"),c&&c.c(),o=S(),d&&d.c(),n=S(),a=_("div"),l=S(),f&&f.c(),this.c=E,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,b){k(g,e,b),w(e,t),c&&c.m(t,null),w(t,o),d&&d.m(t,null),w(t,n),w(t,a),w(t,l),f&&f.m(t,null)},p(g,[b]){g[0]==="live"?c||(c=Ei(),c.c(),c.m(t,o)):c&&(c.d(1),c=null),b&1&&(r=["alpha","beta"].includes(g[0])),r?d?d.p(g,b):(d=zi(g),d.c(),d.m(t,n)):d&&(d.d(1),d=null),g[1]?f?f.p(g,b):(f=Hi(g),f.c(),f.m(t,null)):f&&(f.d(1),f=null),b&8&&s!==(s=`--max-content-width: ${g[3]}`)&&u(e,"style",s)},i:E,o:E,d(g){g&&L(e),c&&c.d(),d&&d.d(),f&&f.d()}}}function Mi(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Fn(i,e,t){const[o,r]=te("Microsite header type",["live","alpha","beta"],!0);let{type:n}=e,{version:a=""}=e,{feedbackurl:l=""}=e,{maxcontentwidth:s="100%"}=e;return J(()=>{setTimeout(()=>r(n),1)}),i.$$set=c=>{"type"in c&&t(0,n=c.type),"version"in c&&t(1,a=c.version),"feedbackurl"in c&&t(2,l=c.feedbackurl),"maxcontentwidth"in c&&t(3,s=c.maxcontentwidth)},[n,a,l,s]}class Wn extends j{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}.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(min-width: 640px){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}@media(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),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Fn,jn,O,{type:0,version:1,feedbackurl:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","version","feedbackurl","maxcontentwidth"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}get maxcontentwidth(){return this.$$.ctx[3]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}}customElements.define("goa-microsite-header",Wn);function Ti(i){let e,t,o,r,n,a,l,s,c,d,f,g,b,v,y,p,m,x,A,T,z,V,R,H,M=i[3]!==null&&Ai(i);function B(ne,ae){return ne[0]?Un:Gn}let re=B(i),Q=re(i),D=i[9]&&Ri(i);return{c(){e=_("goa-focus-trap"),t=_("div"),o=_("div"),r=S(),n=_("div"),M&&M.c(),a=S(),l=_("div"),s=_("header"),c=_("div"),Q.c(),d=S(),D&&D.c(),f=S(),g=_("div"),b=_("goa-scrollable"),b.innerHTML="<slot></slot>",v=S(),y=_("div"),y.innerHTML='<slot name="actions"></slot>',u(o,"data-testid","modal-overlay"),u(o,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),C(b,"direction","vertical"),C(b,"hpadding","1.9rem"),C(b,"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(n,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",x=i[2]&&`--width: ${i[2]};`),C(e,"open",i[1])},m(ne,ae){k(ne,e,ae),w(e,t),w(t,o),w(t,r),w(t,n),M&&M.m(n,null),w(n,a),w(n,l),w(l,s),w(s,c),Q.m(c,null),w(s,d),D&&D.m(s,null),i[16](s),w(l,f),w(l,g),w(g,b),i[17](b),i[18](g),w(l,v),w(l,y),i[19](t),V=!0,R||(H=[G(o,"click",i[12]),G(b,"_scroll",i[13]),Ct(A=ei.call(null,t,{enable:i[7]}))],R=!0)},p(ne,ae){i=ne,i[3]!==null?M?M.p(i,ae):(M=Ai(i),M.c(),M.m(n,a)):M&&(M.d(1),M=null),re===(re=B(i))&&Q?Q.p(i,ae):(Q.d(1),Q=re(i),Q&&(Q.c(),Q.m(c,null))),i[9]?D?D.p(i,ae):(D=Ri(i),D.c(),D.m(s,null)):D&&(D.d(1),D=null),(!V||ae&4&&x!==(x=i[2]&&`--width: ${i[2]};`))&&u(t,"style",x),A&&He(A.update)&&ae&128&&A.update.call(null,{enable:i[7]}),(!V||ae&2)&&C(e,"open",i[1])},i(ne){V||(pe(()=>{!V||(m&&m.end(1),p=St(n,$t,{duration:i[11],y:200}),p.start())}),pe(()=>{!V||(z&&z.end(1),T=St(t,qe,{duration:i[11]}),T.start())}),V=!0)},o(ne){p&&p.invalidate(),m=Vt(n,$t,{delay:i[11],duration:i[11],y:-100}),T&&T.invalidate(),z=Vt(t,qe,{delay:i[11],duration:i[11]}),V=!1},d(ne){ne&&L(e),M&&M.d(),Q.d(),D&&D.d(),i[16](null),i[17](null),i[18](null),ne&&m&&m.end(),i[19](null),ne&&z&&z.end(),R=!1,de(H)}}}function Ai(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon"),C(t,"type",i[10]),C(t,"inverted",o=i[3]==="important"?"false":"true"),u(e,"class",r="callout-bar "+i[3])},m(n,a){k(n,e,a),w(e,t)},p(n,a){a&1024&&C(t,"type",n[10]),a&8&&o!==(o=n[3]==="important"?"false":"true")&&C(t,"inverted",o),a&8&&r!==(r="callout-bar "+n[3])&&u(e,"class",r)},d(n){n&&L(e)}}}function Gn(i){let e;return{c(){e=_("slot"),u(e,"name","heading")},m(t,o){k(t,e,o)},p:E,d(t){t&&L(e)}}}function Un(i){let e;return{c(){e=q(i[0])},m(t,o){k(t,e,o)},p(t,o){o&1&&Y(e,t[0])},d(t){t&&L(e)}}}function Ri(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon-button"),C(t,"data-testid","modal-close-button"),C(t,"icon","close"),C(t,"variant","nocolor"),u(e,"class","modal-close")},m(n,a){k(n,e,a),w(e,t),o||(r=G(t,"click",i[12]),o=!0)},p:E,d(n){n&&L(e),o=!1,r()}}}function Kn(i){let e,t,o=i[7]&&Ti(i);return{c(){o&&o.c(),e=be(),this.c=E},m(r,n){o&&o.m(r,n),k(r,e,n),t=!0},p(r,[n]){r[7]?o?(o.p(r,n),n&128&&ee(o,1)):(o=Ti(r),o.c(),ee(o,1),o.m(e.parentNode,e)):o&&(Me(),oe(o,1,1,()=>{o=null}),Te())},i(r){t||(ee(o),t=!0)},o(r){oe(o),t=!1},d(r){o&&o.d(r),r&&L(e)}}}function Xn(i,e,t){let o,r,n,{heading:a=""}=e,{closable:l="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:d=""}=e,{calloutvariant:f=null}=e,g=null,b=null,v=null,y=null;const[p,m]=te("Callout variant",["emergency","important","information","success","event"]),[x,A]=te("Modal transition",["fast","slow","none"]);let T=!1;J(async()=>{await se(),m(f),A(c)});function z(D){!o||(g==null||g.dispatchEvent(new CustomEvent("_close",{composed:!0})),D.stopPropagation())}const V=D=>{switch(D.key){case"Escape":z(D),D.preventDefault();break}};function R(D){const ne=D.detail.scrollHeight>D.detail.offsetHeight;if(T&&ne){const ae=D.detail.scrollTop==0,X=Math.abs(D.detail.scrollHeight-D.detail.scrollTop-D.detail.offsetHeight)<1;b.classList.remove("scroll-top","scroll-bottom","scroll-middle"),ae?b.classList.add("scroll-top"):X?b.classList.add("scroll-bottom"):b.classList.add("scroll-middle")}}function H(){const D=y.querySelector("slot");return D?[...D.assignedElements()]:[...y.children]}function M(D){U[D?"unshift":"push"](()=>{y=D,t(6,y),t(7,T),t(1,s)})}function B(D){U[D?"unshift":"push"](()=>{v=D,t(5,v),t(7,T),t(1,s)})}function re(D){U[D?"unshift":"push"](()=>{b=D,t(4,b),t(7,T),t(1,s)})}function Q(D){U[D?"unshift":"push"](()=>{g=D,t(8,g),t(7,T),t(1,s)})}return i.$$set=D=>{"heading"in D&&t(0,a=D.heading),"closable"in D&&t(14,l=D.closable),"open"in D&&t(1,s=D.open),"transition"in D&&t(15,c=D.transition),"width"in D&&t(2,d=D.width),"calloutvariant"in D&&t(3,f=D.calloutvariant)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,o=$(l)),i.$$.dirty&2&&setTimeout(()=>t(7,T=$(s)),1),i.$$.dirty&128&&(T||(t(4,b=t(5,v=t(8,g=t(6,y=null)))),window.removeEventListener("keydown",V))),i.$$.dirty&176&&T&&v&&b&&v.scrollHeight>v.offsetHeight&&b.classList.add("scroll-top"),i.$$.dirty&208&&T&&b){window.addEventListener("keydown",V);const D=H();(y.querySelector("div.modal-title").textContent||y.querySelector("div.modal-close")||D.length)&&y.classList.add("has-content")}i.$$.dirty&32768&&t(11,r=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,n=f==="emergency"?"warning":f==="important"?"alert-circle":f==="information"?"information-circle":f==="success"?"checkmark-circle":f==="event"?"calendar":"")},[a,s,d,f,b,v,y,T,g,o,n,r,z,R,l,c,M,B,re,Q]}class Yn extends j{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(max-width: 640px){.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)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}@media(max-width: 640px){.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),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Xn,Kn,O,{heading:0,closable:14,open:1,transition:15,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[14]}set closable(e){this.$$set({closable:e}),h()}get open(){return this.$$.ctx[1]}set open(e){this.$$set({open:e}),h()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),h()}}customElements.define("goa-modal",Yn);function Si(i){let e,t,o,r,n,a,l,s,c,d,f,g,b,v,y,p,m,x;return{c(){e=_("div"),t=_("div"),o=_("div"),r=_("goa-icon"),a=S(),l=_("div"),l.innerHTML="<slot></slot>",s=S(),c=_("div"),d=_("button"),f=_("goa-icon"),C(r,"type",i[4]),C(r,"inverted",n=i[0]==="important"?"false":"true"),u(o,"class","icon"),u(l,"class","content"),C(f,"type","close"),C(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",b="notification "+i[0]),u(e,"style",v=`--max-content-width: ${i[1]}`)},m(A,T){k(A,e,T),w(e,t),w(t,o),w(o,r),w(t,a),w(t,l),w(t,s),w(t,c),w(c,d),w(d,f),p=!0,m||(x=G(d,"click",i[5]),m=!0)},p(A,T){(!p||T&16)&&C(r,"type",A[4]),(!p||T&1&&n!==(n=A[0]==="important"?"false":"true"))&&C(r,"inverted",n),(!p||T&1&&g!==(g=A[0]==="important"?"false":"true"))&&C(f,"inverted",g),(!p||T&1)&&u(d,"class",A[0]),(!p||T&4)&&u(t,"aria-live",A[2]),(!p||T&1&&b!==(b="notification "+A[0]))&&u(e,"class",b),(!p||T&2&&v!==(v=`--max-content-width: ${A[1]}`))&&u(e,"style",v)},i(A){p||(pe(()=>{!p||(y||(y=lt(e,qe,{},!0)),y.run(1))}),p=!0)},o(A){y||(y=lt(e,qe,{},!1)),y.run(0),p=!1},d(A){A&&L(e),A&&y&&y.end(),m=!1,x()}}}function Jn(i){let e,t,o=i[3]&&Si(i);return{c(){o&&o.c(),e=be(),this.c=E},m(r,n){o&&o.m(r,n),k(r,e,n),t=!0},p(r,[n]){r[3]?o?(o.p(r,n),n&8&&ee(o,1)):(o=Si(r),o.c(),ee(o,1),o.m(e.parentNode,e)):o&&(Me(),oe(o,1,1,()=>{o=null}),Te())},i(r){t||(ee(o),t=!0)},o(r){oe(o),t=!1},d(r){o&&o.d(r),r&&L(e)}}}function Qn(i,e,t){let o;const[r,n]=te("Notification type",["emergency","important","information","event"],!0),[a,l]=te("Aria-Live type",["assertive","off","polite"],!0);let{type:s=""}=e,{maxcontentwidth:c="100%"}=e,{arialive:d="polite"}=e,f=!0;J(()=>{l(d),setTimeout(()=>n(s),1)});function g(b){t(3,f=!1),b.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),b.stopPropagation()}return i.$$set=b=>{"type"in b&&t(0,s=b.type),"maxcontentwidth"in b&&t(1,c=b.maxcontentwidth),"arialive"in b&&t(2,d=b.arialive)},i.$$.update=()=>{i.$$.dirty&1&&t(4,o=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="event"?"calendar":"")},[s,c,d,f,o,g]}class $n extends j{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(min-width: 640px){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}@media(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),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Qn,Jn,O,{type:0,maxcontentwidth:1,arialive:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","maxcontentwidth","arialive"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),h()}get arialive(){return this.$$.ctx[2]}set arialive(e){this.$$set({arialive:e}),h()}}customElements.define("goa-notification",$n);const ea=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function ta(i){return ea.test(i)}function ia(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"class","page-content"),u(e,"style",o=`--max-width: ${i[0]}`)},m(r,n){k(r,e,n),w(e,t)},p(r,[n]){n&1&&o!==(o=`--max-width: ${r[0]}`)&&u(e,"style",o)},i:E,o:E,d(r){r&&L(e)}}}function oa(i,e,t){const o={full:"100%"};let{width:r}=e,{_width:n}=e;function a(l){return!!(["full"].includes(r)||ta(l))}return J(()=>{a(r)||console.error("Invalid PageBlock width"),t(0,n=o[r]||r)}),i.$$set=l=>{"width"in l&&t(1,r=l.width),"_width"in l&&t(0,n=l._width)},[n,r]}class ra extends j{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(min-width: 640px){.page-content{padding:0 2rem}}@media(min-width: 1024px){.page-content{padding:0 4.5rem}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},oa,ia,O,{width:1,_width:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","_width"]}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}get _width(){return this.$$.ctx[0]}set _width(e){this.$$set({_width:e}),h()}}customElements.define("goa-page-block",ra);function Vi(i,e,t){const o=i.slice();return o[18]=e[t],o[20]=t,o}function Bi(i){let e,t,o,r,n,a,l,s,c,d,f={length:i[8]},g=[];for(let b=0;b<f.length;b+=1)g[b]=Di(Vi(i,f,b));return{c(){e=_("goa-block"),t=_("span"),t.textContent="Page",o=S(),r=_("input"),n=S(),a=_("goa-dropdown");for(let b=0;b<g.length;b+=1)g[b].c();l=S(),s=_("span"),c=q("of "),d=q(i[8]),u(r,"type","hidden"),C(a,"value",i[0]),C(a,"width","70px"),C(e,"data-testid","page-selector"),C(e,"alignment","center"),C(e,"gap","s")},m(b,v){k(b,e,v),w(e,t),w(e,o),w(e,r),i[12](r),w(e,n),w(e,a);for(let y=0;y<g.length;y+=1)g[y]&&g[y].m(a,null);i[13](a),w(e,l),w(e,s),w(s,c),w(s,d)},p(b,v){if(v&256){f={length:b[8]};let y;for(y=0;y<f.length;y+=1){const p=Vi(b,f,y);g[y]?g[y].p(p,v):(g[y]=Di(p),g[y].c(),g[y].m(a,null))}for(;y<g.length;y+=1)g[y].d(1);g.length=f.length}v&1&&C(a,"value",b[0]),v&256&&Y(d,b[8])},d(b){b&&L(e),i[12](null),Ie(g,b),i[13](null)}}}function Di(i){let e;return{c(){e=_("goa-dropdown-item"),C(e,"value",i[20]+1),C(e,"label",i[20]+1)},m(t,o){k(t,e,o)},p:E,d(t){t&&L(e)}}}function na(i){let e,t,o,r,n,a,l,s,c,d,f,g,b,v=i[1]==="all"&&Bi(i);return{c(){e=_("goa-block"),t=_("div"),v&&v.c(),o=S(),r=_("goa-block"),n=_("goa-button"),a=q("Previous"),s=S(),c=_("goa-button"),d=q("Next"),this.c=E,C(n,"type","tertiary"),C(n,"leadingicon","arrow-back"),C(n,"disabled",l=i[0]==1?"true":"false"),C(c,"type","tertiary"),C(c,"trailingicon","arrow-forward"),C(c,"disabled",f=i[0]==i[8]?"true":"false"),C(r,"alignment","center"),C(r,"gap","m"),C(r,"data-testid","page-links"),u(t,"class","controls"),C(e,"id","root"),C(e,"ml",i[5]),C(e,"mr",i[3]),C(e,"mb",i[4]),C(e,"mt",i[2])},m(y,p){k(y,e,p),w(e,t),v&&v.m(t,null),w(t,o),w(t,r),w(r,n),w(n,a),w(r,s),w(r,c),w(c,d),g||(b=[G(n,"click",i[14]),G(c,"click",i[15])],g=!0)},p(y,[p]){y[1]==="all"?v?v.p(y,p):(v=Bi(y),v.c(),v.m(t,o)):v&&(v.d(1),v=null),p&1&&l!==(l=y[0]==1?"true":"false")&&C(n,"disabled",l),p&257&&f!==(f=y[0]==y[8]?"true":"false")&&C(c,"disabled",f),p&32&&C(e,"ml",y[5]),p&8&&C(e,"mr",y[3]),p&16&&C(e,"mb",y[4]),p&4&&C(e,"mt",y[2])},i:E,o:E,d(y){y&&L(e),v&&v.d(),g=!1,de(b)}}}function aa(i,e,t){let o;const[r,n]=te("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:b=null}=e,v=null,y=null;J(async()=>{await se(),Ye("GoAPagination",{itemcount:l,pagenumber:a}),n(c),v&&v.addEventListener("_change",z=>{const V=Number.parseInt(z.detail.value);z.stopPropagation(),y.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:V}}))})});function p(z,V){const R=Number.parseInt(a+"")+V;R>0&&R<=o&&z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:R}})),z.preventDefault()}function m(z){U[z?"unshift":"push"](()=>{y=z,t(7,y)})}function x(z){U[z?"unshift":"push"](()=>{v=z,t(6,v)})}const A=z=>p(z,-1),T=z=>p(z,1);return i.$$set=z=>{"pagenumber"in z&&t(0,a=z.pagenumber),"itemcount"in z&&t(10,l=z.itemcount),"perpagecount"in z&&t(11,s=z.perpagecount),"variant"in z&&t(1,c=z.variant),"mt"in z&&t(2,d=z.mt),"mr"in z&&t(3,f=z.mr),"mb"in z&&t(4,g=z.mb),"ml"in z&&t(5,b=z.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,o=Math.ceil(l/s))},[a,c,d,f,g,b,v,y,o,p,l,s,m,x,A,T]}class Ni extends j{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(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},aa,na,O,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["pagenumber","itemcount","perpagecount","variant","mt","mr","mb","ml"]}get pagenumber(){return this.$$.ctx[0]}set pagenumber(e){this.$$set({pagenumber:e}),h()}get itemcount(){return this.$$.ctx[10]}set itemcount(e){this.$$set({itemcount:e}),h()}get perpagecount(){return this.$$.ctx[11]}set perpagecount(e){this.$$set({perpagecount:e}),h()}get variant(){return this.$$.ctx[1]}set variant(e){this.$$set({variant:e}),h()}get mt(){return this.$$.ctx[2]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[3]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[4]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[5]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-pagination",Ni);function Ii(i){let e,t,o,r,n,a,l,s,c;return{c(){e=_("div"),t=S(),o=_("div"),r=_("section"),n=_("goa-focus-trap"),a=_("div"),a.innerHTML="<slot></slot>",u(e,"data-testid","popover-background"),u(e,"class","popover-background"),C(n,"open","true"),u(r,"data-testid","popover-content"),u(r,"class","popover-content"),u(r,"style",l=`
|
|
104
|
-
${
|
|
101
|
+
`)&&u(e,"style",g)},i:E,o:E,d(M){M&&H(e),T&&T.d(),z&&z.d(),i[39](null),V&&V.d(),R&&R.d(),L&&L.d(),i[40](null),C=!1,ue(A)}}}function qn(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Fn(i,e,t){let o,r,n,l,a;const[s,c]=te("Input type",["text","number","password","email","date","datetime-local","month","range","search","tel","time","url","week"]),[d,f]=te("Input auto capitalize",["on","off","none","sentences","words","characters"]);let{type:h="text"}=e,{name:b=""}=e,{value:v=""}=e,{autocapitalize:w="off"}=e,{placeholder:y=""}=e,{leadingicon:g=null}=e,{trailingicon:C=null}=e,{variant:A="goa"}=e,{disabled:T="false"}=e,{handletrailingiconclick:z="false"}=e,{focused:V="false"}=e,{readonly:R="false"}=e,{error:L="false"}=e,{testid:M=""}=e,{width:B="30ch"}=e,{arialabel:Q=null}=e,{min:ne=""}=e,{max:D=""}=e,{step:oe=1}=e,{prefix:le=""}=e,{suffix:X=""}=e,{debounce:ce=0}=e,{maxlength:Ae=null}=e,{mt:Re=null}=e,{mr:ke=null}=e,{mb:me=null}=e,{ml:he=null}=e,N,ae,de=!1,Ne=!1,Se=null;function Ve(I){const ve=I.target;!ve||n||(Se!=null&&clearTimeout(Se),Se=setTimeout(()=>{ve.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:b,value:ve.value}}))},ce),t(0,v=ve.value))}function Qe(I){const ve=I.target;ve.dispatchEvent(new CustomEvent("_focus",{composed:!0,detail:{name:b,value:ve.value}}))}function Ie(I){const ve=I.target;ve.dispatchEvent(new CustomEvent("_blur",{composed:!0,detail:{name:b,value:ve.value}}))}J(async()=>{await se(),c(h),f(w),(le!=""||X!="")&&console.warn("GoAInput [prefix] and [suffix] properties are deprecated. Instead use leadingContent and trailingContent.");const I=ae.querySelector("slot[name=leadingContent]");I&&I.assignedNodes().length>0&&t(23,de=!0);const ve=ae.querySelector("slot[name=trailingContent]");ve&&ve.assignedNodes().length>0&&t(24,Ne=!0)});function Ge(I){U[I?"unshift":"push"](()=>{N=I,t(21,N)})}function kt(I){U[I?"unshift":"push"](()=>{ae=I,t(22,ae)})}return i.$$set=I=>{"type"in I&&t(1,h=I.type),"name"in I&&t(2,b=I.name),"value"in I&&t(0,v=I.value),"autocapitalize"in I&&t(3,w=I.autocapitalize),"placeholder"in I&&t(4,y=I.placeholder),"leadingicon"in I&&t(5,g=I.leadingicon),"trailingicon"in I&&t(6,C=I.trailingicon),"variant"in I&&t(7,A=I.variant),"disabled"in I&&t(32,T=I.disabled),"handletrailingiconclick"in I&&t(33,z=I.handletrailingiconclick),"focused"in I&&t(34,V=I.focused),"readonly"in I&&t(35,R=I.readonly),"error"in I&&t(36,L=I.error),"testid"in I&&t(8,M=I.testid),"width"in I&&t(9,B=I.width),"arialabel"in I&&t(10,Q=I.arialabel),"min"in I&&t(11,ne=I.min),"max"in I&&t(12,D=I.max),"step"in I&&t(13,oe=I.step),"prefix"in I&&t(14,le=I.prefix),"suffix"in I&&t(15,X=I.suffix),"debounce"in I&&t(37,ce=I.debounce),"maxlength"in I&&t(16,Ae=I.maxlength),"mt"in I&&t(17,Re=I.mt),"mr"in I&&t(18,ke=I.mr),"mb"in I&&t(19,me=I.mb),"ml"in I&&t(20,he=I.ml)},i.$$.update=()=>{i.$$.dirty[1]&4&&t(28,o=$(z)),i.$$.dirty[1]&8&&t(38,r=$(V)),i.$$.dirty[1]&16&&t(25,n=$(R)),i.$$.dirty[1]&32&&t(27,l=$(L)),i.$$.dirty[1]&2&&t(26,a=$(T)),i.$$.dirty[0]&2097152|i.$$.dirty[1]&128&&r&&N&&setTimeout(()=>N.focus(),1),i.$$.dirty[0]&2097154&&N&&h==="search"&&N.addEventListener("search",I=>{Ve(I)})},[v,h,b,w,y,g,C,A,M,B,Q,ne,D,oe,le,X,Ae,Re,ke,me,he,N,ae,de,Ne,n,a,l,o,Ve,Qe,Ie,T,z,V,R,L,ce,r,Ge,kt]}class jn extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`: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:not(.goa-input-leading-content):not(.goa-input-trailing-content){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:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus:not(.goa-input-leading-content):not(.goa-input-trailing-content),.goa-input:focus-within:not(.goa-input-leading-content):not(.goa-input-trailing-content){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.75rem}.goa-input-trailing-icon{margin-right:var(--goa-space-s)}.goa-input-trailing-icon-button{margin-right:var(--goa-space-xs)}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-s);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);z-index:1}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) !important;cursor:default;box-shadow:none !important}.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:not(.goa-input-leading-content):not(.goa-input-trailing-content),.error:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 1px var(--goa-color-interactive-error)}.error:focus-within:hover:not(.goa-input-leading-content):not(.goa-input-trailing-content){border:2px solid var(--goa-color-interactive-error);box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.error .input-leading-content,.error .input-leading-content:hover,.error .input-trailing-content,.error .input-trailing-content:hover{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error .input-leading-content:focus,.error .input-trailing-content:focus,.error .input-leading-content:active,.error .input-trailing-content:active{outline:var(--goa-border-width-s) solid var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.input-leading-content:hover,.input-trailing-content:hover{box-shadow:inset 0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover);outline:var(--goa-border-width-s) solid var(--goa-color-interactive-hover)}.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus);outline:var(--goa-border-width-s) solid var(--goa-color-greyscale-700)}.error .input-trailing-content,.input-trailing-content:hover,.input-trailing-content:active,.input-trailing-content:focus,.input-trailing-content:focus-within{border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m)}.error .input-leading-content,.input-leading-content:hover,.input-leading-content:active,.input-leading-content:focus,.input-leading-content:focus-within{border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m)}.input-leading-content.input-trailing-content,.input-leading-content.input-trailing-content:hover,.input-leading-content.input-trailing-content:active,.input-leading-content.input-trailing-content:focus,.input-leading-content.input-trailing-content:focus-within{border-radius:0}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>')
|
|
102
|
+
center center no-repeat}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Fn,On,O,{type:1,name:2,value:0,autocapitalize:3,placeholder:4,leadingicon:5,trailingicon:6,variant:7,disabled:32,handletrailingiconclick:33,focused:34,readonly:35,error:36,testid:8,width:9,arialabel:10,min:11,max:12,step:13,prefix:14,suffix:15,debounce:37,maxlength:16,mt:17,mr:18,mb:19,ml:20},null,[-1,-1]),e&&(e.target&&k(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","min","max","step","prefix","suffix","debounce","maxlength","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[32]}set disabled(e){this.$$set({disabled:e}),m()}get handletrailingiconclick(){return this.$$.ctx[33]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),m()}get focused(){return this.$$.ctx[34]}set focused(e){this.$$set({focused:e}),m()}get readonly(){return this.$$.ctx[35]}set readonly(e){this.$$set({readonly:e}),m()}get error(){return this.$$.ctx[36]}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 min(){return this.$$.ctx[11]}set min(e){this.$$set({min:e}),m()}get max(){return this.$$.ctx[12]}set max(e){this.$$set({max:e}),m()}get step(){return this.$$.ctx[13]}set step(e){this.$$set({step:e}),m()}get prefix(){return this.$$.ctx[14]}set prefix(e){this.$$set({prefix:e}),m()}get suffix(){return this.$$.ctx[15]}set suffix(e){this.$$set({suffix:e}),m()}get debounce(){return this.$$.ctx[37]}set debounce(e){this.$$set({debounce:e}),m()}get maxlength(){return this.$$.ctx[16]}set maxlength(e){this.$$set({maxlength:e}),m()}get mt(){return this.$$.ctx[17]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[18]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[19]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[20]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-input",jn);function Li(i){let e;return{c(){e=_("div"),e.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',u(e,"data-testid","type"),u(e,"class","site-text")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Hi(i){let e,t=Ai(i[0])+"",o,r,n,l,a,s,c,d=i[2]&&Mi(i);return{c(){e=_("div"),o=q(t),n=S(),l=_("div"),a=q("This is a new "),s=_("a"),s.textContent="Alberta Government",c=q(` service
|
|
103
|
+
`),d&&d.c(),u(e,"data-testid","type"),u(e,"class",r="service-type service-type--"+i[0].toLowerCase()),u(s,"href","https://www.alberta.ca/index.aspx"),u(l,"data-testid","site-text"),u(l,"class","site-text")},m(f,h){k(f,e,h),p(e,o),k(f,n,h),k(f,l,h),p(l,a),p(l,s),p(l,c),d&&d.m(l,null)},p(f,h){h&1&&t!==(t=Ai(f[0])+"")&&Y(o,t),h&1&&r!==(r="service-type service-type--"+f[0].toLowerCase())&&u(e,"class",r),f[2]?d?d.p(f,h):(d=Mi(f),d.c(),d.m(l,null)):d&&(d.d(1),d=null)},d(f){f&&H(e),f&&H(n),f&&H(l),d&&d.d()}}}function Mi(i){let e,t,o,r;return{c(){e=_("span"),t=q("\u2014 help us improve it by giving "),o=_("a"),r=q("feedback"),u(o,"href",i[2]),u(e,"data-testid","feedback")},m(n,l){k(n,e,l),p(e,t),p(e,o),p(o,r)},p(n,l){l&4&&u(o,"href",n[2])},d(n){n&&H(e)}}}function Ti(i){let e,t;return{c(){e=_("div"),t=q(i[1]),u(e,"data-testid","version"),u(e,"class","version")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&2&&Y(t,o[1])},d(o){o&&H(e)}}}function Wn(i){let e,t,o,r=["alpha","beta"].includes(i[0]),n,l,a,s,c=i[0]==="live"&&Li(),d=r&&Hi(i),f=i[1]&&Ti(i);return{c(){e=_("header"),t=_("div"),c&&c.c(),o=S(),d&&d.c(),n=S(),l=_("div"),a=S(),f&&f.c(),this.c=E,u(l,"class","spacer"),u(t,"class","content-container"),u(e,"class","goa-official-site-header"),u(e,"style",s=`--max-content-width: ${i[3]}`)},m(h,b){k(h,e,b),p(e,t),c&&c.m(t,null),p(t,o),d&&d.m(t,null),p(t,n),p(t,l),p(t,a),f&&f.m(t,null)},p(h,[b]){h[0]==="live"?c||(c=Li(),c.c(),c.m(t,o)):c&&(c.d(1),c=null),b&1&&(r=["alpha","beta"].includes(h[0])),r?d?d.p(h,b):(d=Hi(h),d.c(),d.m(t,n)):d&&(d.d(1),d=null),h[1]?f?f.p(h,b):(f=Ti(h),f.c(),f.m(t,null)):f&&(f.d(1),f=null),b&8&&s!==(s=`--max-content-width: ${h[3]}`)&&u(e,"style",s)},i:E,o:E,d(h){h&&H(e),c&&c.d(),d&&d.d(),f&&f.d()}}}function Ai(i){return!i||i&&i.length===0?"":i[0].toUpperCase()+i.slice(1)}function Gn(i,e,t){const[o,r]=te("Microsite header type",["live","alpha","beta"],!0);let{type:n}=e,{version:l=""}=e,{feedbackurl:a=""}=e,{maxcontentwidth:s="100%"}=e;return J(()=>{setTimeout(()=>r(n),1)}),i.$$set=c=>{"type"in c&&t(0,n=c.type),"version"in c&&t(1,l=c.version),"feedbackurl"in c&&t(2,a=c.feedbackurl),"maxcontentwidth"in c&&t(3,s=c.maxcontentwidth)},[n,l,a,s]}class Un extends F{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}.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(min-width: 640px){.goa-official-site-header{padding:0.25rem 2rem}.content-container{align-items:center}}@media(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),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Gn,Wn,O,{type:0,version:1,feedbackurl:2,maxcontentwidth:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","version","feedbackurl","maxcontentwidth"]}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()}}customElements.define("goa-microsite-header",Un);function Ri(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v,w,y,g,C,A,T,z,V,R,L,M=i[3]!==null&&Si(i);function B(oe,le){return oe[0]?Xn:Kn}let Q=B(i),ne=Q(i),D=i[9]&&Vi(i);return{c(){e=_("goa-focus-trap"),t=_("div"),o=_("div"),r=S(),n=_("div"),M&&M.c(),l=S(),a=_("div"),s=_("header"),c=_("div"),ne.c(),d=S(),D&&D.c(),f=S(),h=_("div"),b=_("goa-scrollable"),b.innerHTML="<slot></slot>",v=S(),w=_("div"),w.innerHTML='<slot name="actions"></slot>',u(o,"data-testid","modal-overlay"),u(o,"class","modal-overlay"),u(c,"data-testid","modal-title"),u(c,"class","modal-title"),x(b,"direction","vertical"),x(b,"hpadding","1.9rem"),x(b,"maxheight","70vh"),u(h,"data-testid","modal-content"),u(h,"class","modal-content"),u(w,"class","modal-actions"),u(w,"data-testid","modal-actions"),u(a,"class","content"),u(n,"class","modal-pane"),u(t,"data-testid","modal"),u(t,"class","modal"),u(t,"style",C=i[2]&&`--width: ${i[2]};`),x(e,"open",i[1])},m(oe,le){k(oe,e,le),p(e,t),p(t,o),p(t,r),p(t,n),M&&M.m(n,null),p(n,l),p(n,a),p(a,s),p(s,c),ne.m(c,null),p(s,d),D&&D.m(s,null),i[16](s),p(a,f),p(a,h),p(h,b),i[17](b),i[18](h),p(a,v),p(a,w),i[19](t),V=!0,R||(L=[G(o,"click",i[12]),G(b,"_scroll",i[13]),Et(A=ii.call(null,t,{enable:i[7]}))],R=!0)},p(oe,le){i=oe,i[3]!==null?M?M.p(i,le):(M=Si(i),M.c(),M.m(n,l)):M&&(M.d(1),M=null),Q===(Q=B(i))&&ne?ne.p(i,le):(ne.d(1),ne=Q(i),ne&&(ne.c(),ne.m(c,null))),i[9]?D?D.p(i,le):(D=Vi(i),D.c(),D.m(s,null)):D&&(D.d(1),D=null),(!V||le&4&&C!==(C=i[2]&&`--width: ${i[2]};`))&&u(t,"style",C),A&&He(A.update)&&le&128&&A.update.call(null,{enable:i[7]}),(!V||le&2)&&x(e,"open",i[1])},i(oe){V||(we(()=>{!V||(g&&g.end(1),y=Bt(n,ti,{duration:i[11],y:200}),y.start())}),we(()=>{!V||(z&&z.end(1),T=Bt(t,je,{duration:i[11]}),T.start())}),V=!0)},o(oe){y&&y.invalidate(),g=Dt(n,ti,{delay:i[11],duration:i[11],y:-100}),T&&T.invalidate(),z=Dt(t,je,{delay:i[11],duration:i[11]}),V=!1},d(oe){oe&&H(e),M&&M.d(),ne.d(),D&&D.d(),i[16](null),i[17](null),i[18](null),oe&&g&&g.end(),i[19](null),oe&&z&&z.end(),R=!1,ue(L)}}}function Si(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon"),x(t,"type",i[10]),x(t,"inverted",o=i[3]==="important"?"false":"true"),u(e,"class",r="callout-bar "+i[3])},m(n,l){k(n,e,l),p(e,t)},p(n,l){l&1024&&x(t,"type",n[10]),l&8&&o!==(o=n[3]==="important"?"false":"true")&&x(t,"inverted",o),l&8&&r!==(r="callout-bar "+n[3])&&u(e,"class",r)},d(n){n&&H(e)}}}function Kn(i){let e;return{c(){e=_("slot"),u(e,"name","heading")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function Xn(i){let e;return{c(){e=q(i[0])},m(t,o){k(t,e,o)},p(t,o){o&1&&Y(e,t[0])},d(t){t&&H(e)}}}function Vi(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon-button"),x(t,"data-testid","modal-close-button"),x(t,"icon","close"),x(t,"variant","nocolor"),u(e,"class","modal-close")},m(n,l){k(n,e,l),p(e,t),o||(r=G(t,"click",i[12]),o=!0)},p:E,d(n){n&&H(e),o=!1,r()}}}function Yn(i){let e,t,o=i[7]&&Ri(i);return{c(){o&&o.c(),e=be(),this.c=E},m(r,n){o&&o.m(r,n),k(r,e,n),t=!0},p(r,[n]){r[7]?o?(o.p(r,n),n&128&&ee(o,1)):(o=Ri(r),o.c(),ee(o,1),o.m(e.parentNode,e)):o&&(Me(),re(o,1,1,()=>{o=null}),Te())},i(r){t||(ee(o),t=!0)},o(r){re(o),t=!1},d(r){o&&o.d(r),r&&H(e)}}}function Jn(i,e,t){let o,r,n,{heading:l=""}=e,{closable:a="false"}=e,{open:s="false"}=e,{transition:c="none"}=e,{width:d=""}=e,{calloutvariant:f=null}=e,h=null,b=null,v=null,w=null;const[y,g]=te("Callout variant",["emergency","important","information","success","event"]),[C,A]=te("Modal transition",["fast","slow","none"]);let T=!1;J(async()=>{await se(),g(f),A(c)});function z(D){!o||(h==null||h.dispatchEvent(new CustomEvent("_close",{composed:!0})),D.stopPropagation())}const V=D=>{switch(D.key){case"Escape":z(D),D.preventDefault();break}};function R(D){const oe=D.detail.scrollHeight>D.detail.offsetHeight;if(T&&oe){const le=D.detail.scrollTop==0,X=Math.abs(D.detail.scrollHeight-D.detail.scrollTop-D.detail.offsetHeight)<1;b.classList.remove("scroll-top","scroll-bottom","scroll-middle"),le?b.classList.add("scroll-top"):X?b.classList.add("scroll-bottom"):b.classList.add("scroll-middle")}}function L(){const D=w.querySelector("slot");return D?[...D.assignedElements()]:[...w.children]}function M(D){U[D?"unshift":"push"](()=>{w=D,t(6,w),t(7,T),t(1,s)})}function B(D){U[D?"unshift":"push"](()=>{v=D,t(5,v),t(7,T),t(1,s)})}function Q(D){U[D?"unshift":"push"](()=>{b=D,t(4,b),t(7,T),t(1,s)})}function ne(D){U[D?"unshift":"push"](()=>{h=D,t(8,h),t(7,T),t(1,s)})}return i.$$set=D=>{"heading"in D&&t(0,l=D.heading),"closable"in D&&t(14,a=D.closable),"open"in D&&t(1,s=D.open),"transition"in D&&t(15,c=D.transition),"width"in D&&t(2,d=D.width),"calloutvariant"in D&&t(3,f=D.calloutvariant)},i.$$.update=()=>{if(i.$$.dirty&16384&&t(9,o=$(a)),i.$$.dirty&2&&setTimeout(()=>t(7,T=$(s)),1),i.$$.dirty&128&&(T||(t(4,b=t(5,v=t(8,h=t(6,w=null)))),window.removeEventListener("keydown",V))),i.$$.dirty&176&&T&&v&&b&&v.scrollHeight>v.offsetHeight&&b.classList.add("scroll-top"),i.$$.dirty&208&&T&&b){window.addEventListener("keydown",V);const D=L();(w.querySelector("div.modal-title").textContent||w.querySelector("div.modal-close")||D.length)&&w.classList.add("has-content")}i.$$.dirty&32768&&t(11,r=c==="none"?0:c==="slow"?400:200),i.$$.dirty&8&&t(10,n=f==="emergency"?"warning":f==="important"?"alert-circle":f==="information"?"information-circle":f==="success"?"checkmark-circle":f==="event"?"calendar":"")},[l,s,d,f,b,v,w,T,h,o,n,r,z,R,a,c,M,B,Q,ne]}class Qn extends F{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(max-width: 640px){.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)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch)}}.modal-actions ::slotted(*){padding:var(--goa-space-xl) 0 0}@media(max-width: 640px){.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),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Jn,Yn,O,{heading:0,closable:14,open:1,transition:15,width:2,calloutvariant:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","closable","open","transition","width","calloutvariant"]}get heading(){return this.$$.ctx[0]}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[1]}set open(e){this.$$set({open:e}),m()}get transition(){return this.$$.ctx[15]}set transition(e){this.$$set({transition:e}),m()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),m()}get calloutvariant(){return this.$$.ctx[3]}set calloutvariant(e){this.$$set({calloutvariant:e}),m()}}customElements.define("goa-modal",Qn);function Bi(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v,w,y,g,C;return{c(){e=_("div"),t=_("div"),o=_("div"),r=_("goa-icon"),l=S(),a=_("div"),a.innerHTML="<slot></slot>",s=S(),c=_("div"),d=_("button"),f=_("goa-icon"),x(r,"type",i[4]),x(r,"inverted",n=i[0]==="important"?"false":"true"),u(o,"class","icon"),u(a,"class","content"),x(f,"type","close"),x(f,"inverted",h=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",b="notification "+i[0]),u(e,"style",v=`--max-content-width: ${i[1]}`)},m(A,T){k(A,e,T),p(e,t),p(t,o),p(o,r),p(t,l),p(t,a),p(t,s),p(t,c),p(c,d),p(d,f),y=!0,g||(C=G(d,"click",i[5]),g=!0)},p(A,T){(!y||T&16)&&x(r,"type",A[4]),(!y||T&1&&n!==(n=A[0]==="important"?"false":"true"))&&x(r,"inverted",n),(!y||T&1&&h!==(h=A[0]==="important"?"false":"true"))&&x(f,"inverted",h),(!y||T&1)&&u(d,"class",A[0]),(!y||T&4)&&u(t,"aria-live",A[2]),(!y||T&1&&b!==(b="notification "+A[0]))&&u(e,"class",b),(!y||T&2&&v!==(v=`--max-content-width: ${A[1]}`))&&u(e,"style",v)},i(A){y||(we(()=>{!y||(w||(w=ct(e,je,{},!0)),w.run(1))}),y=!0)},o(A){w||(w=ct(e,je,{},!1)),w.run(0),y=!1},d(A){A&&H(e),A&&w&&w.end(),g=!1,C()}}}function $n(i){let e,t,o=i[3]&&Bi(i);return{c(){o&&o.c(),e=be(),this.c=E},m(r,n){o&&o.m(r,n),k(r,e,n),t=!0},p(r,[n]){r[3]?o?(o.p(r,n),n&8&&ee(o,1)):(o=Bi(r),o.c(),ee(o,1),o.m(e.parentNode,e)):o&&(Me(),re(o,1,1,()=>{o=null}),Te())},i(r){t||(ee(o),t=!0)},o(r){re(o),t=!1},d(r){o&&o.d(r),r&&H(e)}}}function ea(i,e,t){let o;const[r,n]=te("Notification type",["emergency","important","information","event"],!0),[l,a]=te("Aria-Live type",["assertive","off","polite"],!0);let{type:s=""}=e,{maxcontentwidth:c="100%"}=e,{arialive:d="polite"}=e,f=!0;J(()=>{a(d),setTimeout(()=>n(s),1)});function h(b){t(3,f=!1),b.target.dispatchEvent(new CustomEvent("_dismiss",{composed:!0})),b.stopPropagation()}return i.$$set=b=>{"type"in b&&t(0,s=b.type),"maxcontentwidth"in b&&t(1,c=b.maxcontentwidth),"arialive"in b&&t(2,d=b.arialive)},i.$$.update=()=>{i.$$.dirty&1&&t(4,o=s==="emergency"?"warning":s==="important"?"alert-circle":s==="information"?"information-circle":s==="event"?"calendar":"")},[s,c,d,f,o,h]}class ta extends F{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(min-width: 640px){.notification{padding:var(--goa-space-l) var(--goa-space-xl)}}@media(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),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ea,$n,O,{type:0,maxcontentwidth:1,arialive:2},null),e&&(e.target&&k(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",ta);const ia=/^[1-9]+[0-9]*(px|em|rem|ch|vh|vw|%)$/;function oa(i){return ia.test(i)}function ra(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"class","page-content"),u(e,"style",o=`--max-width: ${i[0]}`)},m(r,n){k(r,e,n),p(e,t)},p(r,[n]){n&1&&o!==(o=`--max-width: ${r[0]}`)&&u(e,"style",o)},i:E,o:E,d(r){r&&H(e)}}}function na(i,e,t){const o={full:"100%"};let{width:r}=e,{_width:n}=e;function l(a){return!!(["full"].includes(r)||oa(a))}return J(()=>{l(r)||console.error("Invalid PageBlock width"),t(0,n=o[r]||r)}),i.$$set=a=>{"width"in a&&t(1,r=a.width),"_width"in a&&t(0,n=a._width)},[n,r]}class aa extends F{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(min-width: 640px){.page-content{padding:0 2rem}}@media(min-width: 1024px){.page-content{padding:0 4.5rem}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},na,ra,O,{width:1,_width:0},null),e&&(e.target&&k(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",aa);function Di(i,e,t){const o=i.slice();return o[18]=e[t],o[20]=t,o}function Ni(i){let e,t,o,r,n,l,a,s,c,d,f={length:i[8]},h=[];for(let b=0;b<f.length;b+=1)h[b]=Ii(Di(i,f,b));return{c(){e=_("goa-block"),t=_("span"),t.textContent="Page",o=S(),r=_("input"),n=S(),l=_("goa-dropdown");for(let b=0;b<h.length;b+=1)h[b].c();a=S(),s=_("span"),c=q("of "),d=q(i[8]),u(r,"type","hidden"),x(l,"value",i[0]),x(l,"width","70px"),x(e,"data-testid","page-selector"),x(e,"alignment","center"),x(e,"gap","s")},m(b,v){k(b,e,v),p(e,t),p(e,o),p(e,r),i[12](r),p(e,n),p(e,l);for(let w=0;w<h.length;w+=1)h[w]&&h[w].m(l,null);i[13](l),p(e,a),p(e,s),p(s,c),p(s,d)},p(b,v){if(v&256){f={length:b[8]};let w;for(w=0;w<f.length;w+=1){const y=Di(b,f,w);h[w]?h[w].p(y,v):(h[w]=Ii(y),h[w].c(),h[w].m(l,null))}for(;w<h.length;w+=1)h[w].d(1);h.length=f.length}v&1&&x(l,"value",b[0]),v&256&&Y(d,b[8])},d(b){b&&H(e),i[12](null),Ze(h,b),i[13](null)}}}function Ii(i){let e;return{c(){e=_("goa-dropdown-item"),x(e,"value",i[20]+1),x(e,"label",i[20]+1)},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function la(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v=i[1]==="all"&&Ni(i);return{c(){e=_("goa-block"),t=_("div"),v&&v.c(),o=S(),r=_("goa-block"),n=_("goa-button"),l=q("Previous"),s=S(),c=_("goa-button"),d=q("Next"),this.c=E,x(n,"type","tertiary"),x(n,"leadingicon","arrow-back"),x(n,"disabled",a=i[0]==1?"true":"false"),x(c,"type","tertiary"),x(c,"trailingicon","arrow-forward"),x(c,"disabled",f=i[0]==i[8]?"true":"false"),x(r,"alignment","center"),x(r,"gap","m"),x(r,"data-testid","page-links"),u(t,"class","controls"),x(e,"id","root"),x(e,"ml",i[5]),x(e,"mr",i[3]),x(e,"mb",i[4]),x(e,"mt",i[2])},m(w,y){k(w,e,y),p(e,t),v&&v.m(t,null),p(t,o),p(t,r),p(r,n),p(n,l),p(r,s),p(r,c),p(c,d),h||(b=[G(n,"click",i[14]),G(c,"click",i[15])],h=!0)},p(w,[y]){w[1]==="all"?v?v.p(w,y):(v=Ni(w),v.c(),v.m(t,o)):v&&(v.d(1),v=null),y&1&&a!==(a=w[0]==1?"true":"false")&&x(n,"disabled",a),y&257&&f!==(f=w[0]==w[8]?"true":"false")&&x(c,"disabled",f),y&32&&x(e,"ml",w[5]),y&8&&x(e,"mr",w[3]),y&16&&x(e,"mb",w[4]),y&4&&x(e,"mt",w[2])},i:E,o:E,d(w){w&&H(e),v&&v.d(),h=!1,ue(b)}}}function sa(i,e,t){let o;const[r,n]=te("Pagination variant",["all","links-only"]);let{pagenumber:l}=e,{itemcount:a}=e,{perpagecount:s=10}=e,{variant:c="all"}=e,{mt:d=null}=e,{mr:f=null}=e,{mb:h="m"}=e,{ml:b=null}=e,v=null,w=null;J(async()=>{await se(),Je("GoAPagination",{itemcount:a,pagenumber:l}),n(c),v&&v.addEventListener("_change",z=>{const V=Number.parseInt(z.detail.value);z.stopPropagation(),w.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:V}}))})});function y(z,V){const R=Number.parseInt(l+"")+V;R>0&&R<=o&&z.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{page:R}})),z.preventDefault()}function g(z){U[z?"unshift":"push"](()=>{w=z,t(7,w)})}function C(z){U[z?"unshift":"push"](()=>{v=z,t(6,v)})}const A=z=>y(z,-1),T=z=>y(z,1);return i.$$set=z=>{"pagenumber"in z&&t(0,l=z.pagenumber),"itemcount"in z&&t(10,a=z.itemcount),"perpagecount"in z&&t(11,s=z.perpagecount),"variant"in z&&t(1,c=z.variant),"mt"in z&&t(2,d=z.mt),"mr"in z&&t(3,f=z.mr),"mb"in z&&t(4,h=z.mb),"ml"in z&&t(5,b=z.ml)},i.$$.update=()=>{i.$$.dirty&3072&&t(8,o=Math.ceil(a/s))},[l,c,d,f,h,b,v,w,o,y,a,s,g,C,A,T]}class Pi extends F{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(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},sa,la,O,{pagenumber:0,itemcount:10,perpagecount:11,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),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",Pi);function Zi(i){let e,t,o,r,n,l,a,s,c;return{c(){e=_("div"),t=S(),o=_("div"),r=_("section"),n=_("goa-focus-trap"),l=_("div"),l.innerHTML="<slot></slot>",u(e,"data-testid","popover-background"),u(e,"class","popover-background"),x(n,"open","true"),u(r,"data-testid","popover-content"),u(r,"class","popover-content"),u(r,"style",a=`
|
|
104
|
+
${fe("width",i[2])}
|
|
105
105
|
max-width: ${i[1]};
|
|
106
|
-
padding: ${i[
|
|
107
|
-
`),u(o,"class","popover-container")},m(d,f){k(d,e,f),k(d,t,f),k(d,o,f),
|
|
108
|
-
${
|
|
106
|
+
padding: ${i[18]?"var(--goa-space-m)":"0"};
|
|
107
|
+
`),u(o,"class","popover-container")},m(d,f){k(d,e,f),k(d,t,f),k(d,o,f),p(o,r),p(r,n),p(n,l),i[27](l),i[28](r),s||(c=G(e,"click",i[20]),s=!0)},p(d,f){f[0]&262150&&a!==(a=`
|
|
108
|
+
${fe("width",d[2])}
|
|
109
109
|
max-width: ${d[1]};
|
|
110
|
-
padding: ${d[
|
|
111
|
-
`)&&u(r,"style",
|
|
110
|
+
padding: ${d[18]?"var(--goa-space-m)":"0"};
|
|
111
|
+
`)&&u(r,"style",a)},d(d){d&&H(e),d&&H(t),d&&H(o),i[27](null),i[28](null),s=!1,c()}}}function ca(i){let e,t,o,r,n,l,a,s,c=i[12]&&Zi(i);return{c(){e=_("div"),t=_("div"),o=_("slot"),n=S(),c&&c.c(),this.c=E,u(o,"name","target"),u(t,"class","popover-target"),u(t,"tabindex",r=+i[7]),u(t,"data-testid","popover-target"),u(e,"data-testid",i[0]),u(e,"style",l=`
|
|
112
|
+
${i[17]&&"position: relative;"}
|
|
112
113
|
${K(i[3],i[4],i[5],i[6])}
|
|
113
|
-
${
|
|
114
|
-
${
|
|
115
|
-
${
|
|
116
|
-
${
|
|
117
|
-
${
|
|
118
|
-
${
|
|
119
|
-
`)},m(d,f){k(d,e,f),
|
|
114
|
+
${fe("--offset-top",i[8])}
|
|
115
|
+
${fe("--offset-bottom",i[8])}
|
|
116
|
+
${fe("--offset-left",i[9])}
|
|
117
|
+
${fe("--offset-right",i[9])}
|
|
118
|
+
${fe("--focus-border-width",i[10])}
|
|
119
|
+
${fe("--border-radius",i[11])}
|
|
120
|
+
`)},m(d,f){k(d,e,f),p(e,t),p(t,o),i[26](t),p(e,n),c&&c.m(e,null),i[29](e),a||(s=G(t,"click",i[19]),a=!0)},p(d,f){f[0]&128&&r!==(r=+d[7])&&u(t,"tabindex",r),d[12]?c?c.p(d,f):(c=Zi(d),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f[0]&1&&u(e,"data-testid",d[0]),f[0]&135032&&l!==(l=`
|
|
121
|
+
${d[17]&&"position: relative;"}
|
|
120
122
|
${K(d[3],d[4],d[5],d[6])}
|
|
121
|
-
${
|
|
122
|
-
${
|
|
123
|
-
${
|
|
124
|
-
${
|
|
125
|
-
${
|
|
126
|
-
${
|
|
127
|
-
`)&&u(e,"style",a)},i:E,o:E,d(d){d&&L(e),i[24](null),c&&c.d(),i[27](null),l=!1,s()}}}function Pi(i){const e=i.getBoundingClientRect(),t=window.getComputedStyle(i),o=parseInt(t.marginTop,10)||0,r=parseInt(t.marginRight,10)||0,n=parseInt(t.marginBottom,10)||0,a=parseInt(t.marginLeft,10)||0;return{top:e.top-o,right:e.right+r,bottom:e.bottom+n,left:e.left-a,width:e.width+a+r,height:e.height+o+n,x:e.x-a,y:e.y-o}}function sa(i,e,t){let o,r,n,{testid:a="popover"}=e,{maxwidth:l="320px"}=e,{width:s=""}=e,{padded:c="true"}=e,{position:d="auto"}=e,{mt:f=null}=e,{mr:g=null}=e,{mb:b=null}=e,{ml:v=null}=e,{open:y="false"}=e,{disabled:p="false"}=e,{tabindex:m="0"}=e,{voffset:x=""}=e,{hoffset:A=""}=e,{focusborderwidth:T="var(--goa-border-width-l)"}=e,{borderradius:z="var(--goa-border-radius-m)"}=e,V,R,H,M,B;J(async()=>{await se(),R.addEventListener("keydown",Q);const N=R.querySelector("slot");let ce;N?ce=N.assignedElements():ce=[...R.children],B=ce.find(le=>le.tabIndex>=0)||R});function re(N){ae()}function Q(N){switch(N.key){case" ":case"Enter":ne();break;case"Escape":ae();break}}function D(N){switch(N.key){case"Enter":setTimeout(ae,1);break;case"Escape":ae();break}}function ne(){n||(async()=>{t(12,r=!0),await se(),M.addEventListener("keydown",D,!0),V.dispatchEvent(new CustomEvent("_open",{composed:!0}))})()}function ae(){B.focus(),t(12,r=!1),window.removeEventListener("popstate",re,!0),V.dispatchEvent(new CustomEvent("_close",{composed:!0}))}async function X(){await se();const N=V.getBoundingClientRect(),ce=Pi(R),le=Pi(H),ge=ce.top,Ce=window.innerHeight-ce.bottom,Fe=d==="auto"?Ce<le.height&&ge>le.height&&ge>Ce:d==="above",Se=document.body.style.overflow==="hidden"?0:window.scrollY;t(15,H.style.top=Fe?`${N.top-le.height+Se}px`:`${N.top+N.height+Se}px`,H);const We=document.body.clientWidth-ce.left<le.width&&ce.left>le.width;t(15,H.style.left=We?`${N.left+ce.width-le.width}px`:`${N.left}px`,H)}function he(N){U[N?"unshift":"push"](()=>{R=N,t(14,R)})}function Ae(N){U[N?"unshift":"push"](()=>{M=N,t(16,M)})}function Re(N){U[N?"unshift":"push"](()=>{H=N,t(15,H)})}function me(N){U[N?"unshift":"push"](()=>{V=N,t(13,V)})}return i.$$set=N=>{"testid"in N&&t(0,a=N.testid),"maxwidth"in N&&t(1,l=N.maxwidth),"width"in N&&t(2,s=N.width),"padded"in N&&t(20,c=N.padded),"position"in N&&t(21,d=N.position),"mt"in N&&t(3,f=N.mt),"mr"in N&&t(4,g=N.mr),"mb"in N&&t(5,b=N.mb),"ml"in N&&t(6,v=N.ml),"open"in N&&t(22,y=N.open),"disabled"in N&&t(23,p=N.disabled),"tabindex"in N&&t(7,m=N.tabindex),"voffset"in N&&t(8,x=N.voffset),"hoffset"in N&&t(9,A=N.hoffset),"focusborderwidth"in N&&t(10,T=N.focusborderwidth),"borderradius"in N&&t(11,z=N.borderradius)},i.$$.update=()=>{i.$$.dirty[0]&1048576&&t(17,o=$(c)),i.$$.dirty[0]&4194304&&t(12,r=$(y)),i.$$.dirty[0]&8388608&&(n=$(p)),i.$$.dirty[0]&4096&&(async()=>r&&await X())(),i.$$.dirty[0]&4096&&(r?window.addEventListener("popstate",re,!0):window.removeEventListener("popstate",re,!0))},[a,l,s,f,g,b,v,m,x,A,T,z,r,V,R,H,M,o,ne,ae,c,d,y,p,he,Ae,Re,me]}class ca extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4);display:flex;align-items:center}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--focus-border-width) solid var(--goa-color-interactive-focus)}.popover-content{color:var(--goa-color-text-default);position:absolute;left:0;right:0;width:fit-content;max-width:260px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--border-radius);outline:none;filter:drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));z-index:99;width:max-content;margin-top:var(--offset-top, 3px);margin-bottom:var(--offset-bottom, 3px);margin-left:var(--offset-left, 0);margin-right:var(--offset-right, 0)}::slotted(ul){display:block;padding:0;margin:0;list-style-type:none;line-height:2rem}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},sa,la,O,{testid:0,maxwidth:1,width:2,padded:20,position:21,mt:3,mr:4,mb:5,ml:6,open:22,disabled:23,tabindex:7,voffset:8,hoffset:9,focusborderwidth:10,borderradius:11},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["testid","maxwidth","width","padded","position","mt","mr","mb","ml","open","disabled","tabindex","voffset","hoffset","focusborderwidth","borderradius"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),h()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),h()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),h()}get padded(){return this.$$.ctx[20]}set padded(e){this.$$set({padded:e}),h()}get position(){return this.$$.ctx[21]}set position(e){this.$$set({position:e}),h()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),h()}get open(){return this.$$.ctx[22]}set open(e){this.$$set({open:e}),h()}get disabled(){return this.$$.ctx[23]}set disabled(e){this.$$set({disabled:e}),h()}get tabindex(){return this.$$.ctx[7]}set tabindex(e){this.$$set({tabindex:e}),h()}get voffset(){return this.$$.ctx[8]}set voffset(e){this.$$set({voffset:e}),h()}get hoffset(){return this.$$.ctx[9]}set hoffset(e){this.$$set({hoffset:e}),h()}get focusborderwidth(){return this.$$.ctx[10]}set focusborderwidth(e){this.$$set({focusborderwidth:e}),h()}get borderradius(){return this.$$.ctx[11]}set borderradius(e){this.$$set({borderradius:e}),h()}}customElements.define("goa-popover",ca);function Zi(i,e,t){const o=i.slice();return o[22]=e[t],o}function Oi(i,e){let t,o,r,n,a,l,s,c,d,f=(e[22].label||e[22].value)+"",g,b,v,y,p;function m(){return e[16](e[22])}return{key:i,first:null,c(){t=_("label"),o=_("input"),l=S(),s=_("div"),c=S(),d=_("span"),g=q(f),b=S(),u(o,"type","radio"),u(o,"name",e[1]),o.value=r=e[22].value,o.disabled=e[12],o.checked=n=e[22].value===e[0],u(o,"aria-label",a=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",v="radio-option-"+e[22].value),u(t,"class","goa-radio"),I(t,"goa-radio--disabled",e[12]),I(t,"goa-radio--error",e[11]),this.first=t},m(x,A){k(x,t,A),w(t,o),w(t,l),w(t,s),w(t,c),w(t,d),w(d,g),w(t,b),y||(p=G(o,"change",m),y=!0)},p(x,A){e=x,A&2&&u(o,"name",e[1]),A&512&&r!==(r=e[22].value)&&(o.value=r),A&4096&&(o.disabled=e[12]),A&513&&n!==(n=e[22].value===e[0])&&(o.checked=n),A&18&&a!==(a=e[4]||e[1])&&u(o,"aria-label",a),A&512&&f!==(f=(e[22].label||e[22].value)+"")&&Y(g,f),A&512&&v!==(v="radio-option-"+e[22].value)&&u(t,"data-testid",v),A&4096&&I(t,"goa-radio--disabled",e[12]),A&2048&&I(t,"goa-radio--error",e[11])},d(x){x&&L(t),y=!1,p()}}}function da(i){let e,t,o,r=[],n=new Map,a,l,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=Zi(i,s,d),g=c(f);n.set(g,r[d]=Oi(g,f))}return{c(){e=_("div"),t=_("slot"),o=S();for(let d=0;d<r.length;d+=1)r[d].c();this.c=E,u(e,"style",a=K(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){k(d,e,f),w(e,t),w(e,o);for(let g=0;g<r.length;g+=1)r[g]&&r[g].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],r=vt(r,f,c,1,d,s,n,e,Bt,Oi,null,Zi)),f&480&&a!==(a=K(d[5],d[6],d[7],d[8]))&&u(e,"style",a),f&4&&l!==(l=`goa-radio-group--${d[2]}`)&&u(e,"class",l),f&8&&u(e,"data-testid",d[3])},i:E,o:E,d(d){d&&L(e);for(let f=0;f<r.length;f+=1)r[f].d();i[17](null)}}}function ua(i,e,t){let o,r;const[n,a]=te("Radio group orientation",["vertical","horizontal"]);let{name:l}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:g=""}=e,{arialabel:b=""}=e,{mt:v=null}=e,{mr:y=null}=e,{mb:p=null}=e,{ml:m=null}=e,x=[],A;J(async()=>{await se(),t(9,x=z())});function T(){const M=A.querySelector("slot");return M?[...M.assignedElements()]:[...A.children]}function z(){return T().map(B=>{const re=B,Q=B.getAttribute("value")||re.value,D=B.getAttribute("label")||B.innerText||re.label||re.innerText;return{value:Q,label:D}})}function V(M){M!==s&&(t(0,s=M),A.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:l,value:s}})))}J(()=>{a(c)});const R=M=>V(M.value);function H(M){U[M?"unshift":"push"](()=>{A=M,t(10,A)})}return i.$$set=M=>{"name"in M&&t(1,l=M.name),"value"in M&&t(0,s=M.value),"orientation"in M&&t(2,c=M.orientation),"disabled"in M&&t(14,d=M.disabled),"error"in M&&t(15,f=M.error),"testid"in M&&t(3,g=M.testid),"arialabel"in M&&t(4,b=M.arialabel),"mt"in M&&t(5,v=M.mt),"mr"in M&&t(6,y=M.mr),"mb"in M&&t(7,p=M.mb),"ml"in M&&t(8,m=M.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,o=$(d)),i.$$.dirty&32768&&t(11,r=$(f))},[s,l,c,g,b,v,y,p,m,x,A,r,o,V,d,f,R,H]}class fa extends j{constructor(e){super();const t=document.createElement("style");t.textContent=`: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
|
|
128
|
-
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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
123
|
+
${fe("--offset-top",d[8])}
|
|
124
|
+
${fe("--offset-bottom",d[8])}
|
|
125
|
+
${fe("--offset-left",d[9])}
|
|
126
|
+
${fe("--offset-right",d[9])}
|
|
127
|
+
${fe("--focus-border-width",d[10])}
|
|
128
|
+
${fe("--border-radius",d[11])}
|
|
129
|
+
`)&&u(e,"style",l)},i:E,o:E,d(d){d&&H(e),i[26](null),c&&c.d(),i[29](null),a=!1,s()}}}function Oi(i){const e=i.getBoundingClientRect(),t=window.getComputedStyle(i),o=parseInt(t.marginTop,10)||0,r=parseInt(t.marginRight,10)||0,n=parseInt(t.marginBottom,10)||0,l=parseInt(t.marginLeft,10)||0;return{top:e.top-o,right:e.right+r,bottom:e.bottom+n,left:e.left-l,width:e.width+l+r,height:e.height+o+n,x:e.x-l,y:e.y-o}}function da(i,e,t){let o,r,n,l,{testid:a="popover"}=e,{maxwidth:s="320px"}=e,{width:c=""}=e,{padded:d="true"}=e,{position:f="auto"}=e,{relative:h="false"}=e,{mt:b=null}=e,{mr:v=null}=e,{mb:w=null}=e,{ml:y=null}=e,{open:g="false"}=e,{disabled:C="false"}=e,{tabindex:A="0"}=e,{voffset:T=""}=e,{hoffset:z=""}=e,{focusborderwidth:V="var(--goa-border-width-l)"}=e,{borderradius:R="var(--goa-border-radius-m)"}=e,L,M,B,Q,ne;J(async()=>{await se(),M.addEventListener("keydown",oe);const N=M.querySelector("slot");let ae;N?ae=N.assignedElements():ae=[...M.children],ne=ae.find(de=>de.tabIndex>=0)||M});function D(N){ce()}function oe(N){switch(N.key){case" ":case"Enter":X();break;case"Escape":ce();break}}function le(N){switch(N.key){case"Enter":setTimeout(ce,1);break;case"Escape":ce();break}}function X(){n||(async()=>{t(12,r=!0),await se(),Q.addEventListener("keydown",le,!0),L.dispatchEvent(new CustomEvent("_open",{composed:!0}))})()}function ce(){ne.focus(),t(12,r=!1),window.removeEventListener("popstate",D,!0),L.dispatchEvent(new CustomEvent("_close",{composed:!0}))}async function Ae(){await se();const N=L.getBoundingClientRect(),ae=Oi(M),de=Oi(B),Ne=ae.top,Se=window.innerHeight-ae.bottom,Ve=f==="auto"?Se<de.height&&Ne>de.height&&Ne>Se:f==="above",Ie=document.body.style.overflow==="hidden"?0:window.scrollY;l?t(15,B.style.top=Ve?`-${de.height}px`:`${N.height}px`,B):t(15,B.style.top=Ve?`${N.top-de.height+Ie}px`:`${N.top+N.height+Ie}px`,B);const Ge=document.body.clientWidth-ae.left<de.width&&ae.left>de.width;l?Ge?t(15,B.style.right="0",B):t(15,B.style.left="0",B):t(15,B.style.left=Ge?`${N.left+ae.width-de.width}px`:`${N.left}px`,B)}function Re(N){U[N?"unshift":"push"](()=>{M=N,t(14,M)})}function ke(N){U[N?"unshift":"push"](()=>{Q=N,t(16,Q)})}function me(N){U[N?"unshift":"push"](()=>{B=N,t(15,B)})}function he(N){U[N?"unshift":"push"](()=>{L=N,t(13,L)})}return i.$$set=N=>{"testid"in N&&t(0,a=N.testid),"maxwidth"in N&&t(1,s=N.maxwidth),"width"in N&&t(2,c=N.width),"padded"in N&&t(21,d=N.padded),"position"in N&&t(22,f=N.position),"relative"in N&&t(23,h=N.relative),"mt"in N&&t(3,b=N.mt),"mr"in N&&t(4,v=N.mr),"mb"in N&&t(5,w=N.mb),"ml"in N&&t(6,y=N.ml),"open"in N&&t(24,g=N.open),"disabled"in N&&t(25,C=N.disabled),"tabindex"in N&&t(7,A=N.tabindex),"voffset"in N&&t(8,T=N.voffset),"hoffset"in N&&t(9,z=N.hoffset),"focusborderwidth"in N&&t(10,V=N.focusborderwidth),"borderradius"in N&&t(11,R=N.borderradius)},i.$$.update=()=>{i.$$.dirty[0]&2097152&&t(18,o=$(d)),i.$$.dirty[0]&16777216&&t(12,r=$(g)),i.$$.dirty[0]&33554432&&(n=$(C)),i.$$.dirty[0]&8388608&&t(17,l=$(h)),i.$$.dirty[0]&4096&&(async()=>r&&await Ae())(),i.$$.dirty[0]&4096&&(r?window.addEventListener("popstate",D,!0):window.removeEventListener("popstate",D,!0))},[a,s,c,b,v,w,y,A,T,z,V,R,r,L,M,B,Q,l,o,X,ce,d,f,h,g,C,Re,ke,me,he]}class ua extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4);display:flex;align-items:center}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--focus-border-width) solid var(--goa-color-interactive-focus)}.popover-content{color:var(--goa-color-text-default);position:absolute;width:fit-content;max-width:260px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--border-radius);outline:none;filter:drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));z-index:99;width:max-content;margin-top:var(--offset-top, 3px);margin-bottom:var(--offset-bottom, 3px);margin-left:var(--offset-left, 0);margin-right:var(--offset-right, 0)}::slotted(ul){display:block;padding:0;margin:0;list-style-type:none;line-height:2rem}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},da,ca,O,{testid:0,maxwidth:1,width:2,padded:21,position:22,relative:23,mt:3,mr:4,mb:5,ml:6,open:24,disabled:25,tabindex:7,voffset:8,hoffset:9,focusborderwidth:10,borderradius:11},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["testid","maxwidth","width","padded","position","relative","mt","mr","mb","ml","open","disabled","tabindex","voffset","hoffset","focusborderwidth","borderradius"]}get testid(){return this.$$.ctx[0]}set testid(e){this.$$set({testid:e}),m()}get maxwidth(){return this.$$.ctx[1]}set maxwidth(e){this.$$set({maxwidth:e}),m()}get width(){return this.$$.ctx[2]}set width(e){this.$$set({width:e}),m()}get padded(){return this.$$.ctx[21]}set padded(e){this.$$set({padded:e}),m()}get position(){return this.$$.ctx[22]}set position(e){this.$$set({position:e}),m()}get relative(){return this.$$.ctx[23]}set relative(e){this.$$set({relative:e}),m()}get mt(){return this.$$.ctx[3]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[4]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[5]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[6]}set ml(e){this.$$set({ml:e}),m()}get open(){return this.$$.ctx[24]}set open(e){this.$$set({open:e}),m()}get disabled(){return this.$$.ctx[25]}set disabled(e){this.$$set({disabled:e}),m()}get tabindex(){return this.$$.ctx[7]}set tabindex(e){this.$$set({tabindex:e}),m()}get voffset(){return this.$$.ctx[8]}set voffset(e){this.$$set({voffset:e}),m()}get hoffset(){return this.$$.ctx[9]}set hoffset(e){this.$$set({hoffset:e}),m()}get focusborderwidth(){return this.$$.ctx[10]}set focusborderwidth(e){this.$$set({focusborderwidth:e}),m()}get borderradius(){return this.$$.ctx[11]}set borderradius(e){this.$$set({borderradius:e}),m()}}customElements.define("goa-popover",ua);function qi(i,e,t){const o=i.slice();return o[22]=e[t],o}function Fi(i,e){let t,o,r,n,l,a,s,c,d,f=(e[22].label||e[22].value)+"",h,b,v,w,y;function g(){return e[16](e[22])}return{key:i,first:null,c(){t=_("label"),o=_("input"),a=S(),s=_("div"),c=S(),d=_("span"),h=q(f),b=S(),u(o,"type","radio"),u(o,"name",e[1]),o.value=r=e[22].value,o.disabled=e[12],o.checked=n=e[22].value===e[0],u(o,"aria-label",l=e[4]||e[1]),u(s,"class","goa-radio-icon"),u(d,"class","goa-radio-label"),u(t,"data-testid",v="radio-option-"+e[22].value),u(t,"class","goa-radio"),Z(t,"goa-radio--disabled",e[12]),Z(t,"goa-radio--error",e[11]),this.first=t},m(C,A){k(C,t,A),p(t,o),p(t,a),p(t,s),p(t,c),p(t,d),p(d,h),p(t,b),w||(y=G(o,"change",g),w=!0)},p(C,A){e=C,A&2&&u(o,"name",e[1]),A&512&&r!==(r=e[22].value)&&(o.value=r),A&4096&&(o.disabled=e[12]),A&513&&n!==(n=e[22].value===e[0])&&(o.checked=n),A&18&&l!==(l=e[4]||e[1])&&u(o,"aria-label",l),A&512&&f!==(f=(e[22].label||e[22].value)+"")&&Y(h,f),A&512&&v!==(v="radio-option-"+e[22].value)&&u(t,"data-testid",v),A&4096&&Z(t,"goa-radio--disabled",e[12]),A&2048&&Z(t,"goa-radio--error",e[11])},d(C){C&&H(t),w=!1,y()}}}function fa(i){let e,t,o,r=[],n=new Map,l,a,s=i[9];const c=d=>d[22].value;for(let d=0;d<s.length;d+=1){let f=qi(i,s,d),h=c(f);n.set(h,r[d]=Fi(h,f))}return{c(){e=_("div"),t=_("slot"),o=S();for(let d=0;d<r.length;d+=1)r[d].c();this.c=E,u(e,"style",l=K(i[5],i[6],i[7],i[8])),u(e,"class",a=`goa-radio-group--${i[2]}`),u(e,"data-testid",i[3])},m(d,f){k(d,e,f),p(e,t),p(e,o);for(let h=0;h<r.length;h+=1)r[h]&&r[h].m(e,null);i[17](e)},p(d,[f]){f&14867&&(s=d[9],r=wt(r,f,c,1,d,s,n,e,Nt,Fi,null,qi)),f&480&&l!==(l=K(d[5],d[6],d[7],d[8]))&&u(e,"style",l),f&4&&a!==(a=`goa-radio-group--${d[2]}`)&&u(e,"class",a),f&8&&u(e,"data-testid",d[3])},i:E,o:E,d(d){d&&H(e);for(let f=0;f<r.length;f+=1)r[f].d();i[17](null)}}}function ga(i,e,t){let o,r;const[n,l]=te("Radio group orientation",["vertical","horizontal"]);let{name:a}=e,{value:s}=e,{orientation:c="vertical"}=e,{disabled:d="false"}=e,{error:f="false"}=e,{testid:h=""}=e,{arialabel:b=""}=e,{mt:v=null}=e,{mr:w=null}=e,{mb:y=null}=e,{ml:g=null}=e,C=[],A;J(async()=>{await se(),t(9,C=z())});function T(){const M=A.querySelector("slot");return M?[...M.assignedElements()]:[...A.children]}function z(){return T().map(B=>{const Q=B,ne=B.getAttribute("value")||Q.value,D=B.getAttribute("label")||B.innerText||Q.label||Q.innerText;return{value:ne,label:D}})}function V(M){M!==s&&(t(0,s=M),A.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:a,value:s}})))}J(()=>{l(c)});const R=M=>V(M.value);function L(M){U[M?"unshift":"push"](()=>{A=M,t(10,A)})}return i.$$set=M=>{"name"in M&&t(1,a=M.name),"value"in M&&t(0,s=M.value),"orientation"in M&&t(2,c=M.orientation),"disabled"in M&&t(14,d=M.disabled),"error"in M&&t(15,f=M.error),"testid"in M&&t(3,h=M.testid),"arialabel"in M&&t(4,b=M.arialabel),"mt"in M&&t(5,v=M.mt),"mr"in M&&t(6,w=M.mr),"mb"in M&&t(7,y=M.mb),"ml"in M&&t(8,g=M.ml)},i.$$.update=()=>{i.$$.dirty&16384&&t(12,o=$(d)),i.$$.dirty&32768&&t(11,r=$(f))},[s,a,c,h,b,v,w,y,g,C,A,r,o,V,d,f,R,L]}class ha extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`: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
|
|
130
|
+
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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ga,fa,O,{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&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),m()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),m()}get disabled(){return this.$$.ctx[14]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[15]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}get arialabel(){return this.$$.ctx[4]}set arialabel(e){this.$$set({arialabel:e}),m()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-radio-group",ha);function ma(i){let e,t,o,r,n;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"class","goa-scrollable"),u(e,"style",o=`
|
|
129
131
|
max-height: ${i[3]||"50vh"};
|
|
130
132
|
overflow-y: ${i[0]==="vertical"?"auto":"hidden"};
|
|
131
133
|
overflow-x: ${i[0]==="horizontal"?"auto":"hidden"};
|
|
132
134
|
margin: ${i[2]} 0;
|
|
133
135
|
padding: 0 ${i[1]};
|
|
134
|
-
`)},m(a
|
|
135
|
-
max-height: ${
|
|
136
|
-
overflow-y: ${
|
|
137
|
-
overflow-x: ${
|
|
138
|
-
margin: ${
|
|
139
|
-
padding: 0 ${
|
|
140
|
-
`)&&u(e,"style",o)},i:E,o:E,d(a){a&&L(e),i[8](null),r=!1,n()}}}function ha(i,e,t){let{direction:o="vertical"}=e,{hpadding:r=""}=e,{vpadding:n=""}=e,{maxheight:a=""}=e,{offsetHeight:l}=e,{scrollHeight:s}=e,c;function d(g){g.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:c.offsetHeight,scrollHeight:c.scrollHeight,scrollTop:c.scrollTop}})),g.stopPropagation()}J(async()=>{await se(),t(6,l=c.offsetHeight),t(7,s=c.scrollHeight)});function f(g){U[g?"unshift":"push"](()=>{c=g,t(4,c)})}return i.$$set=g=>{"direction"in g&&t(0,o=g.direction),"hpadding"in g&&t(1,r=g.hpadding),"vpadding"in g&&t(2,n=g.vpadding),"maxheight"in g&&t(3,a=g.maxheight),"offsetHeight"in g&&t(6,l=g.offsetHeight),"scrollHeight"in g&&t(7,s=g.scrollHeight)},[o,r,n,a,c,d,l,s,f]}class ma extends j{constructor(e){super();const t=document.createElement("style");t.textContent=".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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ha,ga,O,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),h()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),h()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),h()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),h()}}customElements.define("goa-scrollable",ma);function qi(i,e,t){const o=i.slice();return o[13]=e[t],o}function ba(i){let e,t;return{c(){e=_("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(o,r){k(o,e,r)},p(o,r){r&10&&t!==(t="skeleton "+o[3]+` ${o[3]}-${o[1]}`)&&u(e,"class",t)},i:E,o:E,d(o){o&&L(e)}}}function va(i){let e,t,o,r,n,a,l,s,c,d,f,g;return r=new ke({props:{type:"image",size:i[1]}}),l=new ke({props:{type:"header",size:"4"}}),c=new ke({props:{type:"header",size:"1"}}),f=new ke({props:{type:"lines",size:i[1]}}),{c(){e=_("div"),t=_("div"),o=_("div"),_e(r.$$.fragment),n=S(),a=_("div"),_e(l.$$.fragment),s=S(),_e(c.$$.fragment),d=S(),_e(f.$$.fragment),ie(o,"flex","1 1 auto"),ie(a,"flex","2 2 auto"),ie(t,"display","flex"),ie(t,"gap","1rem")},m(b,v){k(b,e,v),w(e,t),w(t,o),we(r,o,null),w(t,n),w(t,a),we(l,a,null),w(a,s),we(c,a,null),w(e,d),we(f,e,null),g=!0},p(b,v){const y={};v&2&&(y.size=b[1]),r.$set(y);const p={};v&2&&(p.size=b[1]),f.$set(p)},i(b){g||(ee(r.$$.fragment,b),ee(l.$$.fragment,b),ee(c.$$.fragment,b),ee(f.$$.fragment,b),g=!0)},o(b){oe(r.$$.fragment,b),oe(l.$$.fragment,b),oe(c.$$.fragment,b),oe(f.$$.fragment,b),g=!1},d(b){b&&L(e),ye(r),ye(l),ye(c),ye(f)}}}function pa(i){let e,t,o=Array(Number.parseInt(i[2]+"")),r=[];for(let a=0;a<o.length;a+=1)r[a]=ji(qi(i,o,a));const n=a=>oe(r[a],1,1,()=>{r[a]=null});return{c(){for(let a=0;a<r.length;a+=1)r[a].c();e=be()},m(a,l){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(a,l);k(a,e,l),t=!0},p(a,l){if(l&6){o=Array(Number.parseInt(a[2]+""));let s;for(s=0;s<o.length;s+=1){const c=qi(a,o,s);r[s]?(r[s].p(c,l),ee(r[s],1)):(r[s]=ji(c),r[s].c(),ee(r[s],1),r[s].m(e.parentNode,e))}for(Me(),s=o.length;s<r.length;s+=1)n(s);Te()}},i(a){if(!t){for(let l=0;l<o.length;l+=1)ee(r[l]);t=!0}},o(a){r=r.filter(Boolean);for(let l=0;l<r.length;l+=1)oe(r[l]);t=!1},d(a){Ie(r,a),a&&L(e)}}}function wa(i){let e,t,o,r,n,a,l,s,c,d;return o=new ke({props:{type:"avatar",size:i[1]}}),a=new ke({props:{type:"title",size:i[1]}}),s=new ke({props:{type:"text-small",size:i[1]}}),{c(){e=_("div"),t=_("div"),_e(o.$$.fragment),r=S(),n=_("div"),_e(a.$$.fragment),l=S(),_e(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,g){k(f,e,g),w(e,t),we(o,t,null),w(e,r),w(e,n),we(a,n,null),w(n,l),we(s,n,null),d=!0},p(f,g){const b={};g&2&&(b.size=f[1]),o.$set(b);const v={};g&2&&(v.size=f[1]),a.$set(v);const y={};g&2&&(y.size=f[1]),s.$set(y),(!d||g&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(ee(o.$$.fragment,f),ee(a.$$.fragment,f),ee(s.$$.fragment,f),d=!0)},o(f){oe(o.$$.fragment,f),oe(a.$$.fragment,f),oe(s.$$.fragment,f),d=!1},d(f){f&&L(e),ye(o),ye(a),ye(s)}}}function ya(i){let e,t,o,r,n,a,l,s,c;return t=new ke({props:{type:"image",size:i[1]}}),n=new ke({props:{type:"header",size:i[1]}}),l=new ke({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=_("div"),_e(t.$$.fragment),o=S(),r=_("div"),_e(n.$$.fragment),a=S(),_e(l.$$.fragment),u(r,"class","card-content"),u(e,"class",s="card card-"+i[1]),ie(e,"--max-width",i[0])},m(d,f){k(d,e,f),we(t,e,null),w(e,o),w(e,r),we(n,r,null),w(r,a),we(l,r,null),c=!0},p(d,f){const g={};f&2&&(g.size=d[1]),t.$set(g);const b={};f&2&&(b.size=d[1]),n.$set(b);const v={};f&2&&(v.size=d[1]),f&4&&(v.linecount=d[2]),l.$set(v),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&ie(e,"--max-width",d[0])},i(d){c||(ee(t.$$.fragment,d),ee(n.$$.fragment,d),ee(l.$$.fragment,d),c=!0)},o(d){oe(t.$$.fragment,d),oe(n.$$.fragment,d),oe(l.$$.fragment,d),c=!1},d(d){d&&L(e),ye(t),ye(n),ye(l)}}}function ji(i){let e,t;return e=new ke({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){_e(e.$$.fragment)},m(o,r){we(e,o,r),t=!0},p(o,r){const n={};r&2&&(n.size=o[1]),r&4&&(n.linecount=o[2]),e.$set(n)},i(o){t||(ee(e.$$.fragment,o),t=!0)},o(o){oe(e.$$.fragment,o),t=!1},d(o){ye(e,o)}}}function _a(i){let e,t,o,r,n;const a=[ya,wa,pa,va,ba],l=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:c[3]==="article"?3:4}return t=s(i),o=l[t]=a[t](i),{c(){e=_("div"),o.c(),this.c=E,u(e,"data-testid",i[4]),u(e,"style",r=""+(K(i[5],i[6],i[7],i[8])+";"))},m(c,d){k(c,e,d),l[t].m(e,null),n=!0},p(c,[d]){let f=t;t=s(c),t===f?l[t].p(c,d):(Me(),oe(l[f],1,1,()=>{l[f]=null}),Te(),o=l[t],o?o.p(c,d):(o=l[t]=a[t](c),o.c()),ee(o,1),o.m(e,null)),(!n||d&16)&&u(e,"data-testid",c[4]),(!n||d&480&&r!==(r=""+(K(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",r)},i(c){n||(ee(o),n=!0)},o(c){oe(o),n=!1},d(c){c&&L(e),l[t].d()}}}function ka(i,e,t){const[o,r]=te("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","lines","profile","article"],!0),[n,a]=te("Skeleton size",["1","2","3","4"]);let{maxwidth:l=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:g=null}=e,{mr:b=null}=e,{mb:v=null}=e,{ml:y=null}=e;return J(()=>{setTimeout(()=>r(d),1),a(s)}),i.$$set=p=>{"maxwidth"in p&&t(0,l=p.maxwidth),"size"in p&&t(1,s=p.size),"linecount"in p&&t(2,c=p.linecount),"type"in p&&t(3,d=p.type),"testid"in p&&t(4,f=p.testid),"mt"in p&&t(5,g=p.mt),"mr"in p&&t(6,b=p.mr),"mb"in p&&t(7,v=p.mb),"ml"in p&&t(8,y=p.ml)},[l,s,c,d,f,g,b,v,y]}class ke extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},ka,_a,O,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["maxwidth","size","linecount","type","testid","mt","mr","mb","ml"]}get maxwidth(){return this.$$.ctx[0]}set maxwidth(e){this.$$set({maxwidth:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),h()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),h()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),h()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),h()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),h()}}customElements.define("goa-skeleton",ke);function Ca(i){let e;return{c(){e=_("div"),this.c=E},m(t,o){k(t,e,o),i[3](e)},p:E,i:E,o:E,d(t){t&&L(e),i[3](null)}}}function xa(i,e,t){let{hspacing:o="none"}=e,{vspacing:r="none"}=e,n;J(()=>{Dt(n,":host",{display:"block",width:o==="fill"?"100%":`var(--goa-space-${o})`,height:`var(--goa-space-${r})`})});function a(l){U[l?"unshift":"push"](()=>{n=l,t(0,n)})}return i.$$set=l=>{"hspacing"in l&&t(1,o=l.hspacing),"vspacing"in l&&t(2,r=l.vspacing)},[n,o,r,a]}class Ea extends j{constructor(e){super();W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},xa,Ca,O,{hspacing:1,vspacing:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),h()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),h()}}customElements.define("goa-spacer",Ea);const je=[];function za(i,e=E){let t;const o=new Set;function r(l){if(O(i,l)&&(i=l,t)){const s=!je.length;for(const c of o)c[1](),je.push(c,i);if(s){for(let c=0;c<je.length;c+=2)je[c][0](je[c+1]);je.length=0}}}function n(l){r(l(i))}function a(l,s=E){const c=[l,s];return o.add(c),o.size===1&&(t=e(r)||E),l(i),()=>{o.delete(c),o.size===0&&t&&(t(),t=null)}}return{set:r,update:n,subscribe:a}}function Fi(i){return Object.prototype.toString.call(i)==="[object Date]"}function pt(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 o=e.map((r,n)=>pt(i[n],r));return r=>o.map(n=>n(r))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Fi(i)&&Fi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return a=>new Date(i+a*n)}const o=Object.keys(e),r={};return o.forEach(n=>{r[n]=pt(i[n],e[n])}),n=>{const a={};return o.forEach(l=>{a[l]=r[l](n)}),a}}if(t==="number"){const o=e-i;return r=>i+r*o}throw new Error(`Cannot interpolate ${t} values`)}function La(i,e={}){const t=za(i);let o,r=i;function n(a,l){if(i==null)return t.set(i=a),Promise.resolve();r=a;let s=o,c=!1,{delay:d=0,duration:f=400,easing:g=Ge,interpolate:b=pt}=_t(_t({},e),l);if(f===0)return s&&(s.abort(),s=null),t.set(i=r),Promise.resolve();const v=et()+d;let y;return o=tt(p=>{if(p<v)return!0;c||(y=b(i,a),typeof f=="function"&&(f=f(i,a)),c=!0),s&&(s.abort(),s=null);const m=p-v;return m>f?(t.set(i=a),!1):(t.set(i=y(g(m/f))),!0)}),o.promise}return{set:n,update:(a,l)=>n(a(r,i),l),subscribe:t.subscribe}}function Wi(i){let e,t,o,r,n,a,l,s,c;return{c(){e=Ve("svg"),t=Ve("circle"),n=Ve("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",o=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",r=i[3]-i[4]/2),u(n,"d",a=i[9](i[7])),u(n,"stroke-width",i[4]),u(n,"stroke",l=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){k(d,e,f),w(e,t),w(e,n)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&o!==(o=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",o),f&16&&u(t,"stroke-width",d[4]),f&24&&r!==(r=d[3]-d[4]/2)&&u(t,"r",r),f&128&&a!==(a=d[9](d[7]))&&u(n,"d",a),f&16&&u(n,"stroke-width",d[4]),f&1&&l!==(l=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(n,"stroke",l),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&L(e)}}}function Ha(i){let e,t=i[6]&&Wi(i);return{c(){t&&t.c(),e=be(),this.c=E},m(o,r){t&&t.m(o,r),k(o,e,r)},p(o,[r]){o[6]?t?t.p(o,r):(t=Wi(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:E,o:E,d(o){t&&t.d(o),o&&L(e)}}}function Ma(i,e,t){let o,r,n,a,l,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:g=""}=e,b="infinite";const v=La(0,{duration:500,easing:Pr});To(i,v,m=>t(7,s=m));function y(m){const x=n+a*Math.cos(m),A=n+a*Math.sin(m);return x+" "+A}function p(m){switch(b){case"progress":{const x=y(-Math.PI/2),A=y(-Math.PI/2+2*Math.PI*(m/100)),T=m%100<50?0:1;return`M ${x} A ${a} ${a} 0 ${T} 1 ${A}`}case"infinite":{const x=y(Math.PI*1.5),A=y(0);return`M ${x} A ${a} ${a} 0 1 0 ${A}`}}}return i.$$set=m=>{"size"in m&&t(10,c=m.size),"invert"in m&&t(0,d=m.invert),"progress"in m&&t(11,f=m.progress),"testid"in m&&t(1,g=m.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const m=parseFloat(f+"");m>=0&&(v.set(m||1),t(2,b="progress"))}i.$$.dirty&1024&&t(5,o=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,r=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=o/2),i.$$.dirty&24&&t(12,a=n-r/2),i.$$.dirty&6148&&t(6,l=b==="infinite"?a:a&&f)},[d,g,b,n,r,o,l,s,v,p,c,f,a]}class Ta extends j{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ma,Ha,O,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),h()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",Ta);function Aa(i){let e,t,o,r,n;return{c(){e=_("table"),t=_("slot"),o=S(),r=_("template"),r.innerHTML=`<thead><tr><th></th></tr></thead>
|
|
141
|
-
|
|
142
|
-
<tfoot><tr><td></td></tr></tfoot>`,this.c=E,u(e,"class",i[1]),u(e,"style",n=`
|
|
143
|
-
${i[0]?`width: ${i[0]};`:""}
|
|
136
|
+
`)},m(l,a){k(l,e,a),p(e,t),i[8](e),r||(n=G(e,"scroll",i[5]),r=!0)},p(l,[a]){a&15&&o!==(o=`
|
|
137
|
+
max-height: ${l[3]||"50vh"};
|
|
138
|
+
overflow-y: ${l[0]==="vertical"?"auto":"hidden"};
|
|
139
|
+
overflow-x: ${l[0]==="horizontal"?"auto":"hidden"};
|
|
140
|
+
margin: ${l[2]} 0;
|
|
141
|
+
padding: 0 ${l[1]};
|
|
142
|
+
`)&&u(e,"style",o)},i:E,o:E,d(l){l&&H(e),i[8](null),r=!1,n()}}}function ba(i,e,t){let{direction:o="vertical"}=e,{hpadding:r=""}=e,{vpadding:n=""}=e,{maxheight:l=""}=e,{offsetHeight:a}=e,{scrollHeight:s}=e,c;function d(h){h.target.dispatchEvent(new CustomEvent("_scroll",{composed:!0,detail:{offsetHeight:c.offsetHeight,scrollHeight:c.scrollHeight,scrollTop:c.scrollTop}})),h.stopPropagation()}J(async()=>{await se(),t(6,a=c.offsetHeight),t(7,s=c.scrollHeight)});function f(h){U[h?"unshift":"push"](()=>{c=h,t(4,c)})}return i.$$set=h=>{"direction"in h&&t(0,o=h.direction),"hpadding"in h&&t(1,r=h.hpadding),"vpadding"in h&&t(2,n=h.vpadding),"maxheight"in h&&t(3,l=h.maxheight),"offsetHeight"in h&&t(6,a=h.offsetHeight),"scrollHeight"in h&&t(7,s=h.scrollHeight)},[o,r,n,l,c,d,a,s,f]}class va extends F{constructor(e){super();const t=document.createElement("style");t.textContent=".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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ba,ma,O,{direction:0,hpadding:1,vpadding:2,maxheight:3,offsetHeight:6,scrollHeight:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["direction","hpadding","vpadding","maxheight","offsetHeight","scrollHeight"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),m()}get hpadding(){return this.$$.ctx[1]}set hpadding(e){this.$$set({hpadding:e}),m()}get vpadding(){return this.$$.ctx[2]}set vpadding(e){this.$$set({vpadding:e}),m()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),m()}get offsetHeight(){return this.$$.ctx[6]}set offsetHeight(e){this.$$set({offsetHeight:e}),m()}get scrollHeight(){return this.$$.ctx[7]}set scrollHeight(e){this.$$set({scrollHeight:e}),m()}}customElements.define("goa-scrollable",va);function ji(i,e,t){const o=i.slice();return o[13]=e[t],o}function pa(i){let e,t;return{c(){e=_("div"),u(e,"class",t="skeleton "+i[3]+` ${i[3]}-${i[1]}`)},m(o,r){k(o,e,r)},p(o,r){r&10&&t!==(t="skeleton "+o[3]+` ${o[3]}-${o[1]}`)&&u(e,"class",t)},i:E,o:E,d(o){o&&H(e)}}}function wa(i){let e,t,o,r,n,l,a,s,c,d,f,h;return r=new xe({props:{type:"image",size:i[1]}}),a=new xe({props:{type:"header",size:"4"}}),c=new xe({props:{type:"header",size:"1"}}),f=new xe({props:{type:"lines",size:i[1]}}),{c(){e=_("div"),t=_("div"),o=_("div"),Ce(r.$$.fragment),n=S(),l=_("div"),Ce(a.$$.fragment),s=S(),Ce(c.$$.fragment),d=S(),Ce(f.$$.fragment),ie(o,"flex","1 1 auto"),ie(l,"flex","2 2 auto"),ie(t,"display","flex"),ie(t,"gap","1rem")},m(b,v){k(b,e,v),p(e,t),p(t,o),ye(r,o,null),p(t,n),p(t,l),ye(a,l,null),p(l,s),ye(c,l,null),p(e,d),ye(f,e,null),h=!0},p(b,v){const w={};v&2&&(w.size=b[1]),r.$set(w);const y={};v&2&&(y.size=b[1]),f.$set(y)},i(b){h||(ee(r.$$.fragment,b),ee(a.$$.fragment,b),ee(c.$$.fragment,b),ee(f.$$.fragment,b),h=!0)},o(b){re(r.$$.fragment,b),re(a.$$.fragment,b),re(c.$$.fragment,b),re(f.$$.fragment,b),h=!1},d(b){b&&H(e),_e(r),_e(a),_e(c),_e(f)}}}function ya(i){let e,t,o=Array(Number.parseInt(i[2]+"")),r=[];for(let l=0;l<o.length;l+=1)r[l]=Wi(ji(i,o,l));const n=l=>re(r[l],1,1,()=>{r[l]=null});return{c(){for(let l=0;l<r.length;l+=1)r[l].c();e=be()},m(l,a){for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(l,a);k(l,e,a),t=!0},p(l,a){if(a&6){o=Array(Number.parseInt(l[2]+""));let s;for(s=0;s<o.length;s+=1){const c=ji(l,o,s);r[s]?(r[s].p(c,a),ee(r[s],1)):(r[s]=Wi(c),r[s].c(),ee(r[s],1),r[s].m(e.parentNode,e))}for(Me(),s=o.length;s<r.length;s+=1)n(s);Te()}},i(l){if(!t){for(let a=0;a<o.length;a+=1)ee(r[a]);t=!0}},o(l){r=r.filter(Boolean);for(let a=0;a<r.length;a+=1)re(r[a]);t=!1},d(l){Ze(r,l),l&&H(e)}}}function _a(i){let e,t,o,r,n,l,a,s,c,d;return o=new xe({props:{type:"avatar",size:i[1]}}),l=new xe({props:{type:"title",size:i[1]}}),s=new xe({props:{type:"text-small",size:i[1]}}),{c(){e=_("div"),t=_("div"),Ce(o.$$.fragment),r=S(),n=_("div"),Ce(l.$$.fragment),a=S(),Ce(s.$$.fragment),u(t,"class","profile-avatar"),u(n,"class","profile-name"),u(e,"class",c="profile profile-"+i[1])},m(f,h){k(f,e,h),p(e,t),ye(o,t,null),p(e,r),p(e,n),ye(l,n,null),p(n,a),ye(s,n,null),d=!0},p(f,h){const b={};h&2&&(b.size=f[1]),o.$set(b);const v={};h&2&&(v.size=f[1]),l.$set(v);const w={};h&2&&(w.size=f[1]),s.$set(w),(!d||h&2&&c!==(c="profile profile-"+f[1]))&&u(e,"class",c)},i(f){d||(ee(o.$$.fragment,f),ee(l.$$.fragment,f),ee(s.$$.fragment,f),d=!0)},o(f){re(o.$$.fragment,f),re(l.$$.fragment,f),re(s.$$.fragment,f),d=!1},d(f){f&&H(e),_e(o),_e(l),_e(s)}}}function ka(i){let e,t,o,r,n,l,a,s,c;return t=new xe({props:{type:"image",size:i[1]}}),n=new xe({props:{type:"header",size:i[1]}}),a=new xe({props:{type:"lines",size:i[1],linecount:i[2]}}),{c(){e=_("div"),Ce(t.$$.fragment),o=S(),r=_("div"),Ce(n.$$.fragment),l=S(),Ce(a.$$.fragment),u(r,"class","card-content"),u(e,"class",s="card card-"+i[1]),ie(e,"--max-width",i[0])},m(d,f){k(d,e,f),ye(t,e,null),p(e,o),p(e,r),ye(n,r,null),p(r,l),ye(a,r,null),c=!0},p(d,f){const h={};f&2&&(h.size=d[1]),t.$set(h);const b={};f&2&&(b.size=d[1]),n.$set(b);const v={};f&2&&(v.size=d[1]),f&4&&(v.linecount=d[2]),a.$set(v),(!c||f&2&&s!==(s="card card-"+d[1]))&&u(e,"class",s),(!c||f&1)&&ie(e,"--max-width",d[0])},i(d){c||(ee(t.$$.fragment,d),ee(n.$$.fragment,d),ee(a.$$.fragment,d),c=!0)},o(d){re(t.$$.fragment,d),re(n.$$.fragment,d),re(a.$$.fragment,d),c=!1},d(d){d&&H(e),_e(t),_e(n),_e(a)}}}function Wi(i){let e,t;return e=new xe({props:{type:"text",size:i[1],linecount:i[2]}}),{c(){Ce(e.$$.fragment)},m(o,r){ye(e,o,r),t=!0},p(o,r){const n={};r&2&&(n.size=o[1]),r&4&&(n.linecount=o[2]),e.$set(n)},i(o){t||(ee(e.$$.fragment,o),t=!0)},o(o){re(e.$$.fragment,o),t=!1},d(o){_e(e,o)}}}function Ca(i){let e,t,o,r,n;const l=[ka,_a,ya,wa,pa],a=[];function s(c,d){return c[3]==="card"?0:c[3]==="profile"?1:c[3]==="lines"?2:c[3]==="article"?3:4}return t=s(i),o=a[t]=l[t](i),{c(){e=_("div"),o.c(),this.c=E,u(e,"data-testid",i[4]),u(e,"style",r=""+(K(i[5],i[6],i[7],i[8])+";"))},m(c,d){k(c,e,d),a[t].m(e,null),n=!0},p(c,[d]){let f=t;t=s(c),t===f?a[t].p(c,d):(Me(),re(a[f],1,1,()=>{a[f]=null}),Te(),o=a[t],o?o.p(c,d):(o=a[t]=l[t](c),o.c()),ee(o,1),o.m(e,null)),(!n||d&16)&&u(e,"data-testid",c[4]),(!n||d&480&&r!==(r=""+(K(c[5],c[6],c[7],c[8])+";")))&&u(e,"style",r)},i(c){n||(ee(o),n=!0)},o(c){re(o),n=!1},d(c){c&&H(e),a[t].d()}}}function xa(i,e,t){const[o,r]=te("Skeleton type",["image","text","title","text-small","avatar","header","paragraph","thumbnail","card","lines","profile","article"],!0),[n,l]=te("Skeleton size",["1","2","3","4"]);let{maxwidth:a=""}=e,{size:s="1"}=e,{linecount:c=3}=e,{type:d}=e,{testid:f=""}=e,{mt:h=null}=e,{mr:b=null}=e,{mb:v=null}=e,{ml:w=null}=e;return J(()=>{setTimeout(()=>r(d),1),l(s)}),i.$$set=y=>{"maxwidth"in y&&t(0,a=y.maxwidth),"size"in y&&t(1,s=y.size),"linecount"in y&&t(2,c=y.linecount),"type"in y&&t(3,d=y.type),"testid"in y&&t(4,f=y.testid),"mt"in y&&t(5,h=y.mt),"mr"in y&&t(6,b=y.mr),"mb"in y&&t(7,v=y.mb),"ml"in y&&t(8,w=y.ml)},[a,s,c,d,f,h,b,v,w]}class xe extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},xa,Ca,O,{maxwidth:0,size:1,linecount:2,type:3,testid:4,mt:5,mr:6,mb:7,ml:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}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}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get linecount(){return this.$$.ctx[2]}set linecount(e){this.$$set({linecount:e}),m()}get type(){return this.$$.ctx[3]}set type(e){this.$$set({type:e}),m()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),m()}get mt(){return this.$$.ctx[5]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[6]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[7]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[8]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-skeleton",xe);function Ea(i){let e;return{c(){e=_("div"),this.c=E},m(t,o){k(t,e,o),i[3](e)},p:E,i:E,o:E,d(t){t&&H(e),i[3](null)}}}function za(i,e,t){let{hspacing:o="none"}=e,{vspacing:r="none"}=e,n;J(()=>{It(n,":host",{display:"block",width:o==="fill"?"100%":`var(--goa-space-${o})`,height:`var(--goa-space-${r})`})});function l(a){U[a?"unshift":"push"](()=>{n=a,t(0,n)})}return i.$$set=a=>{"hspacing"in a&&t(1,o=a.hspacing),"vspacing"in a&&t(2,r=a.vspacing)},[n,o,r,l]}class La extends F{constructor(e){super();W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},za,Ea,O,{hspacing:1,vspacing:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["hspacing","vspacing"]}get hspacing(){return this.$$.ctx[1]}set hspacing(e){this.$$set({hspacing:e}),m()}get vspacing(){return this.$$.ctx[2]}set vspacing(e){this.$$set({vspacing:e}),m()}}customElements.define("goa-spacer",La);const We=[];function Ha(i,e=E){let t;const o=new Set;function r(a){if(O(i,a)&&(i=a,t)){const s=!We.length;for(const c of o)c[1](),We.push(c,i);if(s){for(let c=0;c<We.length;c+=2)We[c][0](We[c+1]);We.length=0}}}function n(a){r(a(i))}function l(a,s=E){const c=[a,s];return o.add(c),o.size===1&&(t=e(r)||E),a(i),()=>{o.delete(c),o.size===0&&t&&(t(),t=null)}}return{set:r,update:n,subscribe:l}}function Gi(i){return Object.prototype.toString.call(i)==="[object Date]"}function yt(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 o=e.map((r,n)=>yt(i[n],r));return r=>o.map(n=>n(r))}if(t==="object"){if(!i||!e)throw new Error("Object cannot be null");if(Gi(i)&&Gi(e)){i=i.getTime(),e=e.getTime();const n=e-i;return l=>new Date(i+l*n)}const o=Object.keys(e),r={};return o.forEach(n=>{r[n]=yt(i[n],e[n])}),n=>{const l={};return o.forEach(a=>{l[a]=r[a](n)}),l}}if(t==="number"){const o=e-i;return r=>i+r*o}throw new Error(`Cannot interpolate ${t} values`)}function Ma(i,e={}){const t=Ha(i);let o,r=i;function n(l,a){if(i==null)return t.set(i=l),Promise.resolve();r=l;let s=o,c=!1,{delay:d=0,duration:f=400,easing:h=Ue,interpolate:b=yt}=Ct(Ct({},e),a);if(f===0)return s&&(s.abort(),s=null),t.set(i=r),Promise.resolve();const v=it()+d;let w;return o=ot(y=>{if(y<v)return!0;c||(w=b(i,l),typeof f=="function"&&(f=f(i,l)),c=!0),s&&(s.abort(),s=null);const g=y-v;return g>f?(t.set(i=l),!1):(t.set(i=w(h(g/f))),!0)}),o.promise}return{set:n,update:(l,a)=>n(l(r,i),a),subscribe:t.subscribe}}function Ui(i){let e,t,o,r,n,l,a,s,c;return{c(){e=Be("svg"),t=Be("circle"),n=Be("path"),u(t,"cx",i[3]),u(t,"cy",i[3]),u(t,"stroke",o=i[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)"),u(t,"stroke-width",i[4]),u(t,"r",r=i[3]-i[4]/2),u(n,"d",l=i[9](i[7])),u(n,"stroke-width",i[4]),u(n,"stroke",a=i[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)"),u(n,"stroke-linecap","round"),u(e,"class",s=`spinner-${i[2]}`),u(e,"fill","none"),u(e,"viewBox",c="0 0 "+i[5]+" "+i[5]),u(e,"width",i[5]),u(e,"height",i[5]),u(e,"data-testid",i[1]),u(e,"xmlns","http://www.w3.org/2000/svg")},m(d,f){k(d,e,f),p(e,t),p(e,n)},p(d,f){f&8&&u(t,"cx",d[3]),f&8&&u(t,"cy",d[3]),f&1&&o!==(o=d[0]?"var(--goa-color-info-hover)":"var(--goa-color-brand-light)")&&u(t,"stroke",o),f&16&&u(t,"stroke-width",d[4]),f&24&&r!==(r=d[3]-d[4]/2)&&u(t,"r",r),f&128&&l!==(l=d[9](d[7]))&&u(n,"d",l),f&16&&u(n,"stroke-width",d[4]),f&1&&a!==(a=d[0]?"var(--goa-color-brand-light)":"var(--goa-color-info-default)")&&u(n,"stroke",a),f&4&&s!==(s=`spinner-${d[2]}`)&&u(e,"class",s),f&32&&c!==(c="0 0 "+d[5]+" "+d[5])&&u(e,"viewBox",c),f&32&&u(e,"width",d[5]),f&32&&u(e,"height",d[5]),f&2&&u(e,"data-testid",d[1])},d(d){d&&H(e)}}}function Ta(i){let e,t=i[6]&&Ui(i);return{c(){t&&t.c(),e=be(),this.c=E},m(o,r){t&&t.m(o,r),k(o,e,r)},p(o,[r]){o[6]?t?t.p(o,r):(t=Ui(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:E,o:E,d(o){t&&t.d(o),o&&H(e)}}}function Aa(i,e,t){let o,r,n,l,a,s,{size:c}=e,{invert:d=!1}=e,{progress:f=-1}=e,{testid:h=""}=e,b="infinite";const v=Ma(0,{duration:500,easing:Or});Ro(i,v,g=>t(7,s=g));function w(g){const C=n+l*Math.cos(g),A=n+l*Math.sin(g);return C+" "+A}function y(g){switch(b){case"progress":{const C=w(-Math.PI/2),A=w(-Math.PI/2+2*Math.PI*(g/100)),T=g%100<50?0:1;return`M ${C} A ${l} ${l} 0 ${T} 1 ${A}`}case"infinite":{const C=w(Math.PI*1.5),A=w(0);return`M ${C} A ${l} ${l} 0 1 0 ${A}`}}}return i.$$set=g=>{"size"in g&&t(10,c=g.size),"invert"in g&&t(0,d=g.invert),"progress"in g&&t(11,f=g.progress),"testid"in g&&t(1,h=g.testid)},i.$$.update=()=>{if(i.$$.dirty&2048){const g=parseFloat(f+"");g>=0&&(v.set(g||1),t(2,b="progress"))}i.$$.dirty&1024&&t(5,o=c&&{small:16,medium:32,large:64,xlarge:100}[c]),i.$$.dirty&1024&&t(4,r=c&&{small:2,medium:4,large:7,xlarge:9}[c]),i.$$.dirty&32&&t(3,n=o/2),i.$$.dirty&24&&t(12,l=n-r/2),i.$$.dirty&6148&&t(6,a=b==="infinite"?l:l&&f)},[d,h,b,n,r,o,a,s,v,y,c,f,l]}class Ra extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Aa,Ta,O,{size:10,invert:0,progress:11,testid:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["size","invert","progress","testid"]}get size(){return this.$$.ctx[10]}set size(e){this.$$set({size:e}),m()}get invert(){return this.$$.ctx[0]}set invert(e){this.$$set({invert:e}),m()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),m()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-spinner",Ra);function Sa(i){let e,t,o;return{c(){e=_("table"),t=_("slot"),u(e,"style",o=i[0]&&"width: 100%;")},m(r,n){k(r,e,n),p(e,t)},p(r,n){n&1&&o!==(o=r[0]&&"width: 100%;")&&u(e,"style",o)},d(r){r&&H(e)}}}function Va(i){let e;return{c(){e=_("slot")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function Ba(i){let e,t,o;function r(a,s){return a[7]?Va:Sa}let n=r(i),l=n(i);return{c(){e=_("div"),l.c(),this.c=E,u(e,"class",t=`goatable ${i[1]}`),u(e,"style",o=`
|
|
143
|
+
${i[0]&&`width: ${i[0]};`}
|
|
144
144
|
${K(i[2],i[3],i[4],i[5])}
|
|
145
|
-
`),
|
|
146
|
-
${a[0]
|
|
145
|
+
`),Z(e,"sticky",i[8])},m(a,s){k(a,e,s),l.m(e,null),i[10](e)},p(a,[s]){n===(n=r(a))&&l?l.p(a,s):(l.d(1),l=n(a),l&&(l.c(),l.m(e,null))),s&2&&t!==(t=`goatable ${a[1]}`)&&u(e,"class",t),s&61&&o!==(o=`
|
|
146
|
+
${a[0]&&`width: ${a[0]};`}
|
|
147
147
|
${K(a[2],a[3],a[4],a[5])}
|
|
148
|
-
`)&&u(e,"style",
|
|
149
|
-
<goa-icon type="caret-down" size="small"></goa-icon>`,u(e,"class","direction--none")},m(t,o){k(t,e,o)},d(t){t&&
|
|
148
|
+
`)&&u(e,"style",o),s&258&&Z(e,"sticky",a[8])},i:E,o:E,d(a){a&&H(e),l.d(),i[10](null)}}}function Ki(i,e){i.dispatchEvent(new CustomEvent("_sort",{composed:!0,bubbles:!0,cancelable:!1,detail:e}))}function Da(i,e,t){let o;const[r,n]=te("Table variant",["normal","relaxed"],!0);let{width:l=""}=e,{stickyheader:a="false"}=e,{variant:s="normal"}=e,{mt:c=null}=e,{mr:d=null}=e,{mb:f=null}=e,{ml:h=null}=e,b,v=!1;J(()=>{n(s),setTimeout(w,0);const g=b.querySelector("slot");!g||g.assignedElements().length===0||t(7,v=g.assignedElements()[0].tagName==="TABLE")});async function w(){await se();const g=b.querySelectorAll("goa-table-sort-header");g.forEach(C=>{C.addEventListener("click",()=>{const z=C.getAttribute("name");let V;g.forEach(R=>{if(R.getAttribute("name")===z){const M=R.direction==="asc"?"desc":"asc";V=M==="asc"?1:-1,R.setAttribute("direction",M)}else R.setAttribute("direction","none")}),Ki(C,{sortBy:z,sortDir:V})});const A=C.getAttribute("name"),T=C.direction;T&&T!=="none"&&setTimeout(()=>{Ki(C,{sortBy:A,sortDir:T==="asc"?1:-1})},10)})}function y(g){U[g?"unshift":"push"](()=>{b=g,t(6,b)})}return i.$$set=g=>{"width"in g&&t(0,l=g.width),"stickyheader"in g&&t(9,a=g.stickyheader),"variant"in g&&t(1,s=g.variant),"mt"in g&&t(2,c=g.mt),"mr"in g&&t(3,d=g.mr),"mb"in g&&t(4,f=g.mb),"ml"in g&&t(5,h=g.ml)},i.$$.update=()=>{i.$$.dirty&512&&t(8,o=$(a))},[l,s,c,d,f,h,b,v,o,a,y]}class Na extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":host{overflow-x:auto}table{border-collapse:collapse}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Da,Ba,O,{width:0,stickyheader:9,variant:1,mt:2,mr:3,mb:4,ml:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","stickyheader","variant","mt","mr","mb","ml"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),m()}get stickyheader(){return this.$$.ctx[9]}set stickyheader(e){this.$$set({stickyheader: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-table",Na);function Ia(i){let e;return{c(){e=_("div"),e.innerHTML=`<goa-icon type="caret-up" size="small"></goa-icon>
|
|
149
|
+
<goa-icon type="caret-down" size="small"></goa-icon>`,u(e,"class","direction--none")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Pa(i){let e;return{c(){e=_("goa-icon"),x(e,"type","caret-up"),x(e,"size","small")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Za(i){let e;return{c(){e=_("goa-icon"),x(e,"type","caret-down"),x(e,"size","small")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Oa(i){let e,t,o;function r(a,s){return a[0]==="desc"?Za:a[0]==="asc"?Pa:Ia}let n=r(i),l=n(i);return{c(){e=_("button"),t=_("slot"),o=S(),l.c(),this.c=E},m(a,s){k(a,e,s),p(e,t),p(e,o),l.m(e,null)},p(a,[s]){n!==(n=r(a))&&(l.d(1),l=n(a),l&&(l.c(),l.m(e,null)))},i:E,o:E,d(a){a&&H(e),l.d()}}}function qa(i,e,t){let{direction:o="none"}=e;return i.$$set=r=>{"direction"in r&&t(0,o=r.direction)},[o]}class Fa extends F{constructor(e){super();const t=document.createElement("style");t.textContent=":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;width:100%;height:3.75rem;align-items:center;padding:0 1rem;text-align:left;gap:0.25rem;align-items:center}button:hover{background-color:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-hover)}button goa-icon{color:var(--goa-color-interactive-default)}button:hover goa-icon{color:var(--goa-color-interactive-hover)}button .direction--none goa-icon{color:var(--goa-color-greyscale-400)}button:hover .direction--none goa-icon{color:var(--goa-color-greyscale-400)}goa-icon{scale:0.8}.direction--none goa-icon{height:0.625rem}.direction--none{display:inline-flex;flex-direction:column;align-items:center}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},qa,Oa,O,{direction:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["direction"]}get direction(){return this.$$.ctx[0]}set direction(e){this.$$set({direction:e}),m()}}customElements.define("goa-table-sort-header",Fa);function ja(i){let e,t,o,r,n,l,a;return{c(){e=_("div"),t=_("textarea"),r=S(),this.c=E,u(t,"name",i[1]),u(t,"placeholder",i[2]),u(t,"rows",i[3]),u(t,"aria-label",o=i[6]||i[1]),u(t,"class","goa-textarea"),t.disabled=i[13],t.readOnly=i[14],u(t,"data-testid",i[4]),Z(t,"error",i[15]),u(e,"class","container"),u(e,"style",n=`
|
|
150
150
|
${K(i[7],i[8],i[9],i[10])};
|
|
151
151
|
--width: ${i[5]};
|
|
152
|
-
`)},m(s,c){k(s,e,c),
|
|
152
|
+
`)},m(s,c){k(s,e,c),p(e,t),i[19](t),Tt(t,i[0]),p(e,r),l||(a=G(t,"input",i[20]),l=!0)},p(s,[c]){c&2&&u(t,"name",s[1]),c&4&&u(t,"placeholder",s[2]),c&8&&u(t,"rows",s[3]),c&66&&o!==(o=s[6]||s[1])&&u(t,"aria-label",o),c&8192&&(t.disabled=s[13]),c&16384&&(t.readOnly=s[14]),c&16&&u(t,"data-testid",s[4]),c&1&&Tt(t,s[0]),c&32768&&Z(t,"error",s[15]),c&1952&&n!==(n=`
|
|
153
153
|
${K(s[7],s[8],s[9],s[10])};
|
|
154
154
|
--width: ${s[5]};
|
|
155
|
-
`)&&u(e,"style",n)},i:E,o:E,d(s){s&&
|
|
156
|
-
}.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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
155
|
+
`)&&u(e,"style",n)},i:E,o:E,d(s){s&&H(e),i[19](null),l=!1,a()}}}function Wa(i,e,t){let o,r,n,{name:l}=e,{value:a=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:d=""}=e,{width:f="60ch"}=e,{error:h="false"}=e,{readonly:b="false"}=e,{disabled:v="false"}=e,{arialabel:w=""}=e,{mt:y=null}=e,{mr:g=null}=e,{mb:C=null}=e,{ml:A=null}=e,{maxcharcount:T=0}=e,z;function V(L){U[L?"unshift":"push"](()=>{z=L,t(12,z)})}function R(){a=this.value,t(0,a)}return i.$$set=L=>{"name"in L&&t(1,l=L.name),"value"in L&&t(0,a=L.value),"placeholder"in L&&t(2,s=L.placeholder),"rows"in L&&t(3,c=L.rows),"testid"in L&&t(4,d=L.testid),"width"in L&&t(5,f=L.width),"error"in L&&t(16,h=L.error),"readonly"in L&&t(17,b=L.readonly),"disabled"in L&&t(18,v=L.disabled),"arialabel"in L&&t(6,w=L.arialabel),"mt"in L&&t(7,y=L.mt),"mr"in L&&t(8,g=L.mr),"mb"in L&&t(9,C=L.mb),"ml"in L&&t(10,A=L.ml),"maxcharcount"in L&&t(11,T=L.maxcharcount)},i.$$.update=()=>{i.$$.dirty&65536&&t(15,o=$(h)),i.$$.dirty&262144&&t(13,r=$(v)),i.$$.dirty&131072&&t(14,n=$(b)),i.$$.dirty&12291&&z&&!r&&z.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:l,value:a}}))},[a,l,s,c,d,f,w,y,g,C,A,T,z,r,n,o,h,b,v,V,R]}class Ga extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:var(--goa-space-s);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)
|
|
156
|
+
}.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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Wa,ja,O,{name:1,value:0,placeholder:2,rows:3,testid:4,width:5,error:16,readonly:17,disabled:18,arialabel:6,mt:7,mr:8,mb:9,ml:10,maxcharcount:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","width","error","readonly","disabled","arialabel","mt","mr","mb","ml","maxcharcount"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),m()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),m()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),m()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),m()}get width(){return this.$$.ctx[5]}set width(e){this.$$set({width:e}),m()}get error(){return this.$$.ctx[16]}set error(e){this.$$set({error:e}),m()}get readonly(){return this.$$.ctx[17]}set readonly(e){this.$$set({readonly:e}),m()}get disabled(){return this.$$.ctx[18]}set disabled(e){this.$$set({disabled:e}),m()}get arialabel(){return this.$$.ctx[6]}set arialabel(e){this.$$set({arialabel:e}),m()}get mt(){return this.$$.ctx[7]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[8]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[9]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[10]}set ml(e){this.$$set({ml:e}),m()}get maxcharcount(){return this.$$.ctx[11]}set maxcharcount(e){this.$$set({maxcharcount:e}),m()}}customElements.define("goa-textarea",Ga);const{window:Xi}=gt;function Ua(i){let e,t,o,r,n,l,a,s,c,d,f,h;return we(i[16]),{c(){e=_("div"),t=_("div"),t.innerHTML="<slot></slot>",o=S(),r=_("span"),n=q(i[1]),this.c=E,u(t,"class","tooltiptarget"),u(r,"id",l=""+(i[13]+"-tooltip")),u(r,"class",a="tooltiptext "+i[0]+" align-"+i[3]),ie(r,"visibility",i[11]?"visible":"hidden"),u(e,"class",s="tooltip align-"+i[3]),u(e,"data-testid",i[2]),u(e,"role","tooltip"),u(e,"aria-describedby",c=""+(i[13]+"-tooltip")),u(e,"tabindex","0"),u(e,"style",d=K(i[4],i[5],i[6],i[7]))},m(b,v){k(b,e,v),p(e,t),p(e,o),p(e,r),p(r,n),i[17](r),i[18](e),f||(h=[G(Xi,"resize",i[16]),G(e,"mouseenter",i[19]),G(e,"mouseleave",i[15]),G(e,"focus",i[20]),G(e,"blur",i[15])],f=!0)},p(b,[v]){v&2&&Y(n,b[1]),v&8192&&l!==(l=""+(b[13]+"-tooltip"))&&u(r,"id",l),v&9&&a!==(a="tooltiptext "+b[0]+" align-"+b[3])&&u(r,"class",a),v&2048&&ie(r,"visibility",b[11]?"visible":"hidden"),v&8&&s!==(s="tooltip align-"+b[3])&&u(e,"class",s),v&4&&u(e,"data-testid",b[2]),v&8192&&c!==(c=""+(b[13]+"-tooltip"))&&u(e,"aria-describedby",c),v&240&&d!==(d=K(b[4],b[5],b[6],b[7]))&&u(e,"style",d)},i:E,o:E,d(b){b&&H(e),i[17](null),i[18](null),f=!1,ue(h)}}}function Ka(i,e,t){const[o,r]=te("Tooltip positions",["top","bottom","left","right"],!1),[n,l]=te("Tooltip alignment",["left","right","center"],!1),a=(X,ce)=>{(X==="left"||X==="right")&&ce!=="center"&&console.error(`[${ce}] is an invalid option for position ${X}`)};let{content:s=""}=e,{testid:c=""}=e,{position:d="top"}=e,{halign:f="center"}=e,{mt:h=null}=e,{mr:b=null}=e,{mb:v=null}=e,{ml:w=null}=e,y=0,g,C,A,T=!1,z=null,V=null,R;J(()=>{setTimeout(()=>{r(d),l(f),a(d,f)},1),A=d,t(13,R=Math.random().toString(36)),C.getBoundingClientRect().width,window.addEventListener("resize",B),B()}),ht(()=>{window.removeEventListener("resize",B),clearTimeout(z),clearTimeout(V)});const L=()=>{z=setTimeout(()=>{t(11,T=!0),B()},300)},M=()=>{clearTimeout(z),t(12,V=setTimeout(()=>{t(11,T=!1),t(0,d=A)},500))};function B(){if(!C||!g)return;const X=C.getBoundingClientRect(),ce=g.getBoundingClientRect(),Ae=ce.top,Re=window.innerHeight-ce.bottom,ke=ce.left,me=window.innerWidth-ce.right,he=Math.min(y*.8,400,X.width,Math.max(ke,me)-10),N=he>ce.width||he>ke||he>me;t(9,C.style.width=`${he-32}px`,C),N?t(9,C.style.whiteSpace="normal",C):t(9,C.style.whiteSpace="nowrap",C);let ae=d,de=f;d==="bottom"&&X.height>Re?ae="top":d==="top"&&X.height>Ae&&(ae="bottom"),d==="right"&&X.width>me?ae="left":d==="left"&&X.width>ke&&(ae="right"),f==="right"&&X.width>me?de="left":f==="left"&&X.width>ke?de="right":f==="center"&&(d==="top"||d==="bottom")&&(X.width/2>ke||X.width/2>me)&&(de=ke>me?"left":"right"),t(9,C.className=`tooltiptext ${ae} align-${de}`,C)}function Q(){t(10,y=Xi.innerWidth)}function ne(X){U[X?"unshift":"push"](()=>{C=X,t(9,C)})}function D(X){U[X?"unshift":"push"](()=>{g=X,t(8,g)})}const oe=()=>{clearTimeout(V),L()},le=()=>{clearTimeout(V),L()};return i.$$set=X=>{"content"in X&&t(1,s=X.content),"testid"in X&&t(2,c=X.testid),"position"in X&&t(0,d=X.position),"halign"in X&&t(3,f=X.halign),"mt"in X&&t(4,h=X.mt),"mr"in X&&t(5,b=X.mr),"mb"in X&&t(6,v=X.mb),"ml"in X&&t(7,w=X.ml)},i.$$.update=()=>{i.$$.dirty&768&&g&&C&&g.style.setProperty("--target-width",`${g.getBoundingClientRect().width/2}px`),i.$$.dirty&2&&B()},[d,s,c,f,h,b,v,w,g,C,y,T,V,R,L,M,Q,ne,D,oe,le]}class Xa extends F{constructor(e){super();const t=document.createElement("style");t.textContent=':host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.tooltip{position:relative;display:inline-flex;justify-content:center;align-items:center;cursor:pointer}.tooltiptext{visibility:hidden;font:var(--goa-typography-body-s);background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light);text-align:center;border-radius:var(--goa-border-radius-m);position:absolute;z-index:1;opacity:0;transition:opacity 0.3s;padding:var(--goa-space-xs) var(--goa-space-m);text-align:left;white-space:nowrap;display:flex;flex-direction:column}.tooltiptarget{margin:4px}.tooltiptext.bottom{top:calc(100% + 10px)}.tooltiptext.top{bottom:calc(100% + 10px)}.tooltiptext.right{left:calc(100% + 10px)}.tooltiptext.left{right:calc(100% + 10px)}.tooltip:hover .tooltiptext,.tooltip:focus .tooltiptext{opacity:1}.tooltiptext.bottom::before,.tooltiptext.top::before,.tooltiptext.left::before,.tooltiptext.right::before{content:"";position:absolute;border-style:solid;aria-hidden:true}.tooltiptext.bottom::before{top:-10px;left:50%;border-width:0 10px 10px 10px;transform:translateX(-50%);border-color:transparent transparent var(--goa-color-greyscale-700) transparent}.tooltiptext.top::before{bottom:-10px;left:50%;transform:translateX(-50%);border-width:10px 10px 0 10px;border-color:var(--goa-color-greyscale-700) transparent transparent transparent}.tooltiptext.left::before{top:50%;right:-10px;transform:translateY(-50%);border-width:10px 0 10px 10px;border-color:transparent transparent transparent var(--goa-color-greyscale-700)}.tooltiptext.right::before{top:50%;left:-10px;transform:translateY(-50%);border-width:10px 10px 10px 0;border-style:solid;border-color:transparent var(--goa-color-greyscale-700) transparent transparent}.tooltiptext.bottom.align-left::before,.tooltiptext.top.align-left::before{left:calc(100% - (var(--target-width) + 1rem))}.tooltiptext.bottom.align-right::before,.tooltiptext.top.align-right::before{left:calc(var(--target-width) + 1rem)}.tooltip.align-right{justify-content:flex-start}.tooltip.align-left{justify-content:flex-end}.tooltiptext.align-right{left:0;margin-left:-1rem}.tooltiptext.align-left{right:0;margin-right:-1rem}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ka,Ua,O,{content:1,testid:2,position:0,halign:3,mt:4,mr:5,mb:6,ml:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["content","testid","position","halign","mt","mr","mb","ml"]}get content(){return this.$$.ctx[1]}set content(e){this.$$set({content:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}get position(){return this.$$.ctx[0]}set position(e){this.$$set({position:e}),m()}get halign(){return this.$$.ctx[3]}set halign(e){this.$$set({halign:e}),m()}get mt(){return this.$$.ctx[4]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[5]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[6]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[7]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-tooltip",Xa);function Ya(i){let e;return{c(){e=_("div"),e.innerHTML=`<header class="header"><slot name="header"></slot></header>
|
|
157
157
|
|
|
158
158
|
<nav class="nav"><slot name="nav"></slot></nav>
|
|
159
159
|
|
|
160
160
|
<main><slot></slot></main>
|
|
161
161
|
|
|
162
|
-
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=E,u(e,"class","page")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&
|
|
162
|
+
<footer class="footer"><slot name="footer"></slot></footer>`,this.c=E,u(e,"class","page")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&H(e)}}}class Ja extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
163
163
|
"content"
|
|
164
164
|
"nav"
|
|
165
165
|
"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"
|
|
166
166
|
"nav content"
|
|
167
|
-
"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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
167
|
+
"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)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Ya,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-layout-full-nav",Ja);function Qa(i){let e;return{c(){e=_("div"),e.innerHTML=`<section class="header"><slot name="header"></slot></section>
|
|
168
168
|
|
|
169
169
|
<main><slot></slot></main>
|
|
170
170
|
|
|
171
|
-
<section class="footer"><slot name="footer"></slot></section>`,this.c=E,u(e,"class","page")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&
|
|
171
|
+
<section class="footer"><slot name="footer"></slot></section>`,this.c=E,u(e,"class","page")},m(t,o){k(t,e,o)},p:E,i:E,o:E,d(t){t&&H(e)}}}class $a extends F{constructor(e){super();const t=document.createElement("style");t.textContent=".page{min-height:100vh;display:flex;flex-direction:column}.header,.footer{flex:0 0 auto}main{flex:1 1 auto}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,Qa,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-one-column-layout",$a);function el(i){let e,t,o,r,n,l,a;return{c(){e=_("div"),t=_("header"),t.innerHTML='<slot name="header"></slot>',o=S(),r=_("section"),r.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
172
172
|
|
|
173
|
-
<main><slot></slot></main>`,n=S(),
|
|
173
|
+
<main><slot></slot></main>`,n=S(),l=_("footer"),l.innerHTML='<slot name="footer"></slot>',this.c=E,u(t,"class","header"),u(r,"class","content"),u(l,"class","footer"),u(e,"class","page"),u(e,"style",a=`
|
|
174
174
|
--max-content-width: ${i[1]||"100%"};
|
|
175
175
|
--nav-column-width: ${i[0]||"256px"};
|
|
176
|
-
`)},m(s,c){k(s,e,c),
|
|
176
|
+
`)},m(s,c){k(s,e,c),p(e,t),p(e,o),p(e,r),p(e,n),p(e,l)},p(s,[c]){c&3&&a!==(a=`
|
|
177
177
|
--max-content-width: ${s[1]||"100%"};
|
|
178
178
|
--nav-column-width: ${s[0]||"256px"};
|
|
179
|
-
`)&&u(e,"style",
|
|
179
|
+
`)&&u(e,"style",a)},i:E,o:E,d(s){s&&H(e)}}}function tl(i,e,t){let{navcolumnwidth:o=""}=e,{maxcontentwidth:r=""}=e;return i.$$set=n=>{"navcolumnwidth"in n&&t(0,o=n.navcolumnwidth),"maxcontentwidth"in n&&t(1,r=n.maxcontentwidth)},[o,r]}class il extends F{constructor(e){super();const t=document.createElement("style");t.textContent="*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column}.content{flex:1 1 auto;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)}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},tl,el,O,{navcolumnwidth:0,maxcontentwidth:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["navcolumnwidth","maxcontentwidth"]}get navcolumnwidth(){return this.$$.ctx[0]}set navcolumnwidth(e){this.$$set({navcolumnwidth:e}),m()}get maxcontentwidth(){return this.$$.ctx[1]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}}customElements.define("goa-two-column-layout",il);function ol(i){let e,t,o,r,n,l,a;return{c(){e=_("div"),t=_("header"),t.innerHTML='<slot name="header"></slot>',o=S(),r=_("section"),r.innerHTML=`<nav class="nav"><slot name="nav"></slot></nav>
|
|
180
180
|
|
|
181
181
|
<main><slot></slot></main>
|
|
182
182
|
|
|
183
183
|
<nav class="nav side-menu"><slot name="sidebar"></slot>
|
|
184
|
-
<slot name="side-menu"></slot></nav>`,n=S(),
|
|
184
|
+
<slot name="side-menu"></slot></nav>`,n=S(),l=_("footer"),l.innerHTML='<slot name="footer"></slot>',this.c=E,u(t,"class","header"),u(r,"class","content"),u(l,"class","footer"),u(e,"class","page"),u(e,"style",a=`
|
|
185
185
|
--max-content-width: ${i[2]||"100%"};
|
|
186
186
|
--nav-column-width: ${i[0]||"256px"};
|
|
187
187
|
--side-menu-column-width: ${i[1]||"256px"}
|
|
188
|
-
`)},m(s,c){k(s,e,c),
|
|
188
|
+
`)},m(s,c){k(s,e,c),p(e,t),p(e,o),p(e,r),p(e,n),p(e,l)},p(s,[c]){c&7&&a!==(a=`
|
|
189
189
|
--max-content-width: ${s[2]||"100%"};
|
|
190
190
|
--nav-column-width: ${s[0]||"256px"};
|
|
191
191
|
--side-menu-column-width: ${s[1]||"256px"}
|
|
192
|
-
`)&&u(e,"style",
|
|
192
|
+
`)&&u(e,"style",a)},i:E,o:E,d(s){s&&H(e)}}}function rl(i,e,t){let{leftcolumnwidth:o}=e,{rightcolumnwidth:r}=e,{maxcontentwidth:n}=e;return i.$$set=l=>{"leftcolumnwidth"in l&&t(0,o=l.leftcolumnwidth),"rightcolumnwidth"in l&&t(1,r=l.rightcolumnwidth),"maxcontentwidth"in l&&t(2,n=l.maxcontentwidth)},[o,r,n]}class nl extends F{constructor(e){super();const t=document.createElement("style");t.textContent="*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column}.content{flex:1 1 auto;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;transform:translateX(0)}.nav:not(.side-menu){flex:0 0 var(--nav-column-width)}.nav.side-menu{flex:0 0 var(--side-menu-column-width)}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},rl,ol,O,{leftcolumnwidth:0,rightcolumnwidth:1,maxcontentwidth:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["leftcolumnwidth","rightcolumnwidth","maxcontentwidth"]}get leftcolumnwidth(){return this.$$.ctx[0]}set leftcolumnwidth(e){this.$$set({leftcolumnwidth:e}),m()}get rightcolumnwidth(){return this.$$.ctx[1]}set rightcolumnwidth(e){this.$$set({rightcolumnwidth:e}),m()}get maxcontentwidth(){return this.$$.ctx[2]}set maxcontentwidth(e){this.$$set({maxcontentwidth:e}),m()}}customElements.define("goa-three-column-layout",nl);function Yi(i,e,t){const o=i.slice();return o[14]=e[t],o[16]=t,o}function al(i){let e,t,o=i[14].displayname+"",r,n,l,a,s,c,d=i[14].items&&i[14].items.length>0&&Ji(i);function f(){return i[8](i[14])}function h(...b){return i[9](i[14],...b)}return{c(){e=_("li"),t=_("span"),r=q(o),n=S(),d&&d.c(),u(t,"class","label"),u(e,"role","menuitem"),u(e,"aria-selected",l=i[14].active),u(e,"aria-label",a=`${i[14].displayname}${i[14].items&&i[14].items.length>0?i[5](i[14])?" Expanded":" Collapsed":""}`),u(e,"tabindex","0"),Z(e,"active",i[14].active),Z(e,"expanded",i[5](i[14])&&_t(i[14])),Z(e,"sub-level",i[0]>0)},m(b,v){k(b,e,v),p(e,t),p(t,r),p(e,n),d&&d.m(e,null),s||(c=[G(e,"click",f),G(e,"keydown",h)],s=!0)},p(b,v){i=b,v&4&&o!==(o=i[14].displayname+"")&&Y(r,o),i[14].items&&i[14].items.length>0?d?d.p(i,v):(d=Ji(i),d.c(),d.m(e,null)):d&&(d.d(1),d=null),v&4&&l!==(l=i[14].active)&&u(e,"aria-selected",l),v&4&&a!==(a=`${i[14].displayname}${i[14].items&&i[14].items.length>0?i[5](i[14])?" Expanded":" Collapsed":""}`)&&u(e,"aria-label",a),v&4&&Z(e,"active",i[14].active),v&36&&Z(e,"expanded",i[5](i[14])&&_t(i[14])),v&1&&Z(e,"sub-level",i[0]>0)},d(b){b&&H(e),d&&d.d(),s=!1,ue(c)}}}function Ji(i){let e,t;function o(l,a){return a&4&&(e=null),e==null&&(e=!!l[5](l[14])),e?sl:ll}let r=o(i,-1),n=r(i);return{c(){n.c(),t=be()},m(l,a){n.m(l,a),k(l,t,a)},p(l,a){r!==(r=o(l,a))&&(n.d(1),n=r(l),n&&(n.c(),n.m(t.parentNode,t)))},d(l){n.d(l),l&&H(t)}}}function ll(i){let e;return{c(){e=_("goa-icon"),x(e,"type","chevron-forward"),x(e,"size","medium")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function sl(i){let e;return{c(){e=_("goa-icon"),x(e,"type","chevron-down"),x(e,"size","medium")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Qi(i){let e,t,o,r;return t=new eo({props:{navitems:i[14].items,level:i[0]+1}}),{c(){e=_("div"),Ce(t.$$.fragment),o=S(),u(e,"style",i[4]())},m(n,l){k(n,e,l),ye(t,e,null),p(e,o),r=!0},p(n,l){const a={};l&4&&(a.navitems=n[14].items),l&1&&(a.level=n[0]+1),t.$set(a)},i(n){r||(ee(t.$$.fragment,n),r=!0)},o(n){re(t.$$.fragment,n),r=!1},d(n){n&&H(e),_e(t)}}}function $i(i,e){let t,o,r=e[14].items&&e[14].items.length>0&&e[5](e[14]),n,l,a=al(e),s=r&&Qi(e);return{key:i,first:null,c(){t=be(),a&&a.c(),o=S(),s&&s.c(),n=be(),this.first=t},m(c,d){k(c,t,d),a&&a.m(c,d),k(c,o,d),s&&s.m(c,d),k(c,n,d),l=!0},p(c,d){e=c,a.p(e,d),d&4&&(r=e[14].items&&e[14].items.length>0&&e[5](e[14])),r?s?(s.p(e,d),d&4&&ee(s,1)):(s=Qi(e),s.c(),ee(s,1),s.m(n.parentNode,n)):s&&(Me(),re(s,1,1,()=>{s=null}),Te())},i(c){l||(ee(s),l=!0)},o(c){re(s),l=!1},d(c){c&&H(t),a&&a.d(c),c&&H(o),s&&s.d(c),c&&H(n)}}}function cl(i){let e,t,o,r,n=[],l=new Map,a,s=i[2];const c=d=>d[16];for(let d=0;d<s.length;d+=1){let f=Yi(i,s,d),h=c(f);l.set(h,n[d]=$i(h,f))}return{c(){e=_("div"),t=_("ul"),o=_("slot"),r=S();for(let d=0;d<n.length;d+=1)n[d].c();this.c=E,u(t,"role","menu"),u(t,"aria-label","Side Menu"),u(t,"tabindex","-1"),Z(e,"first-level",i[0]===0)},m(d,f){k(d,e,f),p(e,t),p(t,o),p(t,r);for(let h=0;h<n.length;h+=1)n[h]&&n[h].m(t,null);i[10](e),a=!0},p(d,[f]){f&125&&(s=d[2],Me(),n=wt(n,f,c,1,d,s,l,t,qo,$i,null,Yi),Te()),(!a||f&1)&&Z(e,"first-level",d[0]===0)},i(d){if(!a){for(let f=0;f<s.length;f+=1)ee(n[f]);a=!0}},o(d){for(let f=0;f<n.length;f+=1)re(n[f]);a=!1},d(d){d&&H(e);for(let f=0;f<n.length;f+=1)n[f].d();i[10](null)}}}function _t(i){return i.items&&i.items.length>0&&i.items.some(e=>e.active)}function dl(i,e,t){let{level:o=0}=e,{navitems:r=[]}=e,n,l=[],a=[];J(async()=>{const g=n.querySelector("slot");g==null||g.addEventListener("slotchange",C=>{t(2,l=o===0?[...c()]:[...r])})});function s(g){(!g.items||g.items.length===0)&&n.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:g})),a=g&&!a.includes(g)?[...a,g]:a.filter(C=>C!==g),t(2,l=[...l])}function c(g=null){return(g||d()).filter(A=>A.tagName==="GOAX-SIDEBAR-ITEM").map(A=>({displayname:A.displayname,active:A.active,url:A.url,name:A.name,items:A.children.length>0?c([...A.children]):[]}))}function d(){const g=n.querySelector("slot");return g?g.assignedElements():[...n.children]}function f(){return`margin-left: ${32*(o+1)}px`}function h(g){return g.items&&g.items.length>0?a.includes(g)||_t(g):!1}function b(g,C){g.key==="Enter"&&s(C)}const v=g=>s(g),w=(g,C)=>b(C,g);function y(g){U[g?"unshift":"push"](()=>{n=g,t(1,n)})}return i.$$set=g=>{"level"in g&&t(0,o=g.level),"navitems"in g&&t(7,r=g.navitems)},i.$$.update=()=>{i.$$.dirty&131&&n&&t(2,l=o===0?[...c()]:[...r])},[o,n,l,s,f,h,b,r,v,w,y]}class eo extends F{constructor(e){super();const t=document.createElement("style");t.textContent="div.first-level{margin-top:var(--goa-space-m)}:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);color:var(--goa-color-text-default)}ul{list-style:none;padding:0;margin:0}li{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:0.625rem var(--goa-space-s) 1vh var(--goa-space-xl);gap:var(--goa-line-height-05);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.label{font:var(--goa-typography-body-m);display:flex;align-items:center}li.active .label{font:var(--goa-typography-heading-s)}li:hover{background:#CEDFEE}li.expanded{background:#CEDFEE}li.active{background:var(--goa-color-info-background)}li:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}li.sub-level{padding:0.625rem var(--goa-space-s) 1vh var(--goa-space-m)}li.active.sub-level{border-left:4px solid var(--goa-color-interactive-disabled)}li.sub-level:not(.active):not(:hover){border-left:4px solid var(--goa-color-greyscale-100)}li.sub-level:hover{background:var(--goa-color-info-background);border-left:4px solid var(--goa-color-greyscale-200)}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},dl,cl,O,{level:0,navitems:7},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["level","navitems"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),m()}get navitems(){return this.$$.ctx[7]}set navitems(e){this.$$set({navitems:e}),m()}}customElements.define("goax-sidebar",eo);function ul(i){return{c(){this.c=E},m:E,p:E,i:E,o:E,d:E}}class fl extends F{constructor(e){super();W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},null,ul,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goax-sidebar-item",fl);function to(i){let e,t,o;return{c(){e=_("progress"),t=S(),o=_("progress"),u(e,"class","horizontal"),e.value=i[11],u(e,"max","100"),u(o,"class","vertical"),o.value=i[11],u(o,"max","100")},m(r,n){k(r,e,n),k(r,t,n),k(r,o,n)},p(r,n){n&2048&&(e.value=r[11]),n&2048&&(o.value=r[11])},d(r){r&&H(e),r&&H(t),r&&H(o)}}}function gl(i){let e,t,o,r,n,l=i[4].length>0&&i[10]&&to(i);return{c(){e=_("section"),t=_("div"),l&&l.c(),o=S(),r=_("div"),r.innerHTML='<goa-grid minchildwidth="1px"><slot></slot></goa-grid>',this.c=E,u(r,"class","slots"),u(t,"class","form-stepper"),u(t,"style",n=`
|
|
193
193
|
${K(i[0],i[1],i[2],i[3])};
|
|
194
194
|
--progress: ${i[11]}%;
|
|
195
195
|
--step-width: ${i[7]}px;
|
|
196
196
|
--step-height: ${i[8]}px;
|
|
197
197
|
--height: ${i[9]}px;
|
|
198
|
-
`),u(e,"role","list")},m(
|
|
199
|
-
${K(
|
|
200
|
-
--progress: ${
|
|
201
|
-
--step-width: ${
|
|
202
|
-
--step-height: ${
|
|
203
|
-
--height: ${
|
|
204
|
-
`)&&u(t,"style",n)},i:E,o:E,d(
|
|
198
|
+
`),u(e,"role","list")},m(a,s){k(a,e,s),p(e,t),l&&l.m(t,null),p(t,o),p(t,r),i[15](r),i[16](t)},p(a,[s]){a[4].length>0&&a[10]?l?l.p(a,s):(l=to(a),l.c(),l.m(t,o)):l&&(l.d(1),l=null),s&2959&&n!==(n=`
|
|
199
|
+
${K(a[0],a[1],a[2],a[3])};
|
|
200
|
+
--progress: ${a[11]}%;
|
|
201
|
+
--step-width: ${a[7]}px;
|
|
202
|
+
--step-height: ${a[8]}px;
|
|
203
|
+
--height: ${a[9]}px;
|
|
204
|
+
`)&&u(t,"style",n)},i:E,o:E,d(a){a&&H(e),l&&l.d(),i[15](null),i[16](null)}}}function hl(i,e,t){let o,{step:r=-1}=e,{mt:n=null}=e,{mr:l=null}=e,{mb:a=null}=e,{ml:s=null}=e,c,d,f=[],h,b,v,w=1,y=1,g=!1;J(async()=>{await se();const R=c.querySelector("slot");return R?t(4,f=R.assignedElements()):t(4,f=[...c.querySelector("goa-grid").children]),f.forEach((L,M)=>{const B=L;B.setAttribute("arialabel",`Step ${M+1} of ${f.length}`),B.setAttribute("childindex",`${M+1}`)}),c.addEventListener("_click",L=>{t(12,r=L.detail),C(r)}),A(r),T(),setTimeout(()=>{t(10,g=!0)},10),window.addEventListener("resize",T),window.addEventListener("orientationchange",T),()=>{window.removeEventListener("resize",T),window.removeEventListener("orientationchange",T)}});function C(R){c.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!0,detail:{step:R}}))}function A(R){f.forEach((L,M)=>{L.setAttribute("current",M===R-1?"true":"false")})}function T(){setTimeout(()=>{t(7,h=f.length>0&&f[0].offsetWidth),t(8,b=f.length>0&&f[0].offsetHeight),t(9,v=d==null?void 0:d.offsetHeight)},1)}function z(R){U[R?"unshift":"push"](()=>{d=R,t(6,d)})}function V(R){U[R?"unshift":"push"](()=>{c=R,t(5,c)})}return i.$$set=R=>{"step"in R&&t(12,r=R.step),"mt"in R&&t(0,n=R.mt),"mr"in R&&t(1,l=R.mr),"mb"in R&&t(2,a=R.mb),"ml"in R&&t(3,s=R.ml)},i.$$.update=()=>{i.$$.dirty&28688&&f.length&&(r<=0&&(t(12,r=1),setTimeout(()=>{C(r)},1),t(13,w=f.length)),r>y&&t(14,y=r),r>w&&t(13,w=r),f.forEach((R,L)=>{R.setAttribute("enabled",L>w-1?"false":"true")})),i.$$.dirty&16400&&t(11,o=(y-1)/(f.length-1)*100),i.$$.dirty&4096&&A(r)},[n,l,a,s,f,c,d,h,b,v,g,o,r,w,y,z,V]}class io extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`.form-stepper{position:relative}.slots{position:relative;inset:0;z-index:2}progress{position:absolute;z-index:1;-webkit-appearance:none;appearance:none;height:4px;border:none;background:var(--goa-color-greyscale-200);pointer-events:none}progress.horizontal{display:block;top:calc(1.5rem + (2.5rem / 2) - 2px);left:calc(var(--step-width) / 2);width:calc(100% - var(--step-width))}progress.vertical{display:none;width:calc(var(--height) - var(--step-height));transform:rotate(90deg)
|
|
205
205
|
translate(
|
|
206
206
|
calc(50% + 1.25rem + 1.75rem),
|
|
207
207
|
calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.5rem)
|
|
208
|
-
)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}@media(max-width: 639px){progress.horizontal{display:none}progress.vertical{display:inline-block}.form-stepper{display:inline-block}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
208
|
+
)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}@media(max-width: 639px){progress.horizontal{display:none}progress.vertical{display:inline-block}.form-stepper{display:inline-block}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},hl,gl,O,{step:12,mt:0,mr:1,mb:2,ml:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["step","mt","mr","mb","ml"]}get step(){return this.$$.ctx[12]}set step(e){this.$$set({step:e}),m()}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-form-stepper",io);function ml(i){let e,t;return{c(){e=_("div"),t=q(i[1]),u(e,"data-testid","child-index"),u(e,"class","step-number")},m(o,r){k(o,e,r),p(e,t)},p(o,r){r&2&&Y(t,o[1])},d(o){o&&H(e)}}}function bl(i){let e;return{c(){e=_("goa-icon"),x(e,"type","remove")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function vl(i){let e;return{c(){e=_("goa-icon"),x(e,"type","checkmark"),x(e,"inverted","")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function pl(i){let e;return{c(){e=_("goa-icon"),x(e,"type","pencil")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function oo(i){let e;return{c(){e=_("div"),e.textContent="Partially complete",u(e,"class","subtext"),u(e,"data-testid","subtext")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function wl(i){let e,t,o,r,n,l,a,s,c,d,f,h,b;function v(C,A){return C[7]?pl:C[3]==="complete"?vl:C[3]==="incomplete"?bl:ml}let w=v(i),y=w(i),g=i[3]==="incomplete"&&oo();return{c(){e=_("label"),t=_("input"),r=S(),n=_("div"),y.c(),l=S(),a=_("div"),s=_("div"),c=q(i[0]),d=S(),g&&g.c(),this.c=E,u(t,"id",i[0]),u(t,"type","checkbox"),t.checked=i[7],u(t,"aria-disabled",o=!i[6]),u(n,"data-testid","status"),u(n,"class","status"),u(s,"class","text"),u(s,"data-testid","text"),u(a,"class","details"),u(e,"id",i[2]),u(e,"role","listitem"),u(e,"tabindex","-1"),u(e,"for",i[0]),u(e,"data-status",i[3]),u(e,"aria-disabled",f=i[6]?"false":"true"),u(e,"aria-current",h=i[7]?"step":"false"),u(e,"aria-label",b=`${i[2]} ${i[0]} ${i[3]||""}`)},m(C,A){k(C,e,A),p(e,t),i[10](t),p(e,r),p(e,n),y.m(n,null),p(e,l),p(e,a),p(a,s),p(s,c),p(a,d),g&&g.m(a,null),i[11](e)},p(C,[A]){A&1&&u(t,"id",C[0]),A&128&&(t.checked=C[7]),A&64&&o!==(o=!C[6])&&u(t,"aria-disabled",o),w===(w=v(C))&&y?y.p(C,A):(y.d(1),y=w(C),y&&(y.c(),y.m(n,null))),A&1&&Y(c,C[0]),C[3]==="incomplete"?g||(g=oo(),g.c(),g.m(a,null)):g&&(g.d(1),g=null),A&4&&u(e,"id",C[2]),A&1&&u(e,"for",C[0]),A&8&&u(e,"data-status",C[3]),A&64&&f!==(f=C[6]?"false":"true")&&u(e,"aria-disabled",f),A&128&&h!==(h=C[7]?"step":"false")&&u(e,"aria-current",h),A&13&&b!==(b=`${C[2]} ${C[0]} ${C[3]||""}`)&&u(e,"aria-label",b)},i:E,o:E,d(C){C&&H(e),i[10](null),y.d(),g&&g.d(),i[11](null)}}}function yl(i,e,t){let o,r;const[n,l]=te("Form Step status",["incomplete","complete"],!0);let{text:a}=e,{current:s="false"}=e,{enabled:c="false"}=e,{childindex:d=""}=e,{arialabel:f=""}=e,{status:h}=e,b,v;J(()=>{l(h),b.addEventListener("click",()=>{!r||(t(5,v.checked=!v.checked,v),b.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0,detail:+d})))})});function w(g){U[g?"unshift":"push"](()=>{v=g,t(5,v)})}function y(g){U[g?"unshift":"push"](()=>{b=g,t(4,b)})}return i.$$set=g=>{"text"in g&&t(0,a=g.text),"current"in g&&t(8,s=g.current),"enabled"in g&&t(9,c=g.enabled),"childindex"in g&&t(1,d=g.childindex),"arialabel"in g&&t(2,f=g.arialabel),"status"in g&&t(3,h=g.status)},i.$$.update=()=>{i.$$.dirty&256&&t(7,o=$(s)),i.$$.dirty&520&&t(6,r=$(c)||h==="complete")},[a,d,f,h,b,v,r,o,s,c,w,y]}class ro extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):focus,[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):not([aria-current="step"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}.status>*{fill:var(--fill-color, var(--goa-color-interactive-default));color:var(--fill-color, var(--goa-color-interactive-default))}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
209
209
|
}[data-status=complete] .status{background:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
|
|
210
210
|
[data-status=complete],
|
|
211
211
|
[data-status=incomplete],
|
|
212
212
|
[aria-current="step"]
|
|
213
|
-
) .status{border-color:var(--goa-color-greyscale-500)}.text{font:var(--goa-typography-body-s)}.subtext{margin-top:0.25rem;font:var(--goa-typography-body-xs);color:var(--goa-color-text-secondary)}.details{margin-top:0.75rem}@media(max-width: 639px){[role="listitem"]{flex-direction:row;align-items:center;text-align:start}.details{margin-left:1rem;margin-top:0}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:
|
|
213
|
+
) .status{border-color:var(--goa-color-greyscale-500)}.text{font:var(--goa-typography-body-s)}.subtext{margin-top:0.25rem;font:var(--goa-typography-body-xs);color:var(--goa-color-text-secondary)}.details{margin-top:0.75rem}@media(max-width: 639px){[role="listitem"]{flex-direction:row;align-items:center;text-align:start}.details{margin-left:1rem;margin-top:0}}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},yl,wl,O,{text:0,current:8,enabled:9,childindex:1,arialabel:2,status:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["text","current","enabled","childindex","arialabel","status"]}get text(){return this.$$.ctx[0]}set text(e){this.$$set({text:e}),m()}get current(){return this.$$.ctx[8]}set current(e){this.$$set({current:e}),m()}get enabled(){return this.$$.ctx[9]}set enabled(e){this.$$set({enabled:e}),m()}get childindex(){return this.$$.ctx[1]}set childindex(e){this.$$set({childindex:e}),m()}get arialabel(){return this.$$.ctx[2]}set arialabel(e){this.$$set({arialabel:e}),m()}get status(){return this.$$.ctx[3]}set status(e){this.$$set({status:e}),m()}}customElements.define("goa-form-step",ro);function _l(i){let e,t,o;return{c(){e=_("div"),t=_("slot"),this.c=E,u(e,"style",o=K(i[0],i[1],i[2],i[3])),u(e,"class","pages")},m(r,n){k(r,e,n),p(e,t),i[6](e)},p(r,[n]){n&15&&o!==(o=K(r[0],r[1],r[2],r[3]))&&u(e,"style",o)},i:E,o:E,d(r){r&&H(e),i[6](null)}}}function kl(i,e,t){let{current:o=1}=e,{mt:r=null}=e,{mr:n=null}=e,{mb:l=null}=e,{ml:a=null}=e,s;J(async()=>{await se(),c(o)});function c(h){if(!s)return;d().forEach((v,w)=>{const y=v;y.style.display=w+1===+h?"block":"none"})}function d(){const h=s.querySelector("slot");return h?[...h.assignedElements()]:[...s.children]}function f(h){U[h?"unshift":"push"](()=>{s=h,t(4,s)})}return i.$$set=h=>{"current"in h&&t(5,o=h.current),"mt"in h&&t(0,r=h.mt),"mr"in h&&t(1,n=h.mr),"mb"in h&&t(2,l=h.mb),"ml"in h&&t(3,a=h.ml)},i.$$.update=()=>{i.$$.dirty&32&&c(o)},[r,n,l,a,s,o,f]}class no extends F{constructor(e){super();W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},kl,_l,O,{current:5,mt:0,mr:1,mb:2,ml:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["current","mt","mr","mb","ml"]}get current(){return this.$$.ctx[5]}set current(e){this.$$set({current:e}),m()}get mt(){return this.$$.ctx[0]}set mt(e){this.$$set({mt:e}),m()}get mr(){return this.$$.ctx[1]}set mr(e){this.$$set({mr:e}),m()}get mb(){return this.$$.ctx[2]}set mb(e){this.$$set({mb:e}),m()}get ml(){return this.$$.ctx[3]}set ml(e){this.$$set({ml:e}),m()}}customElements.define("goa-pages",no);function ao(i,e,t){const o=i.slice();return o[21]=e[t],o}function lo(i){let e,t,o,r,n,l,a,s,c=i[2]&&so(i);return{c(){e=_("div"),t=_("div"),t.innerHTML=`<goa-icon type="cloud-upload" size="large"></goa-icon>
|
|
214
214
|
<div>Drag and drop files here</div>
|
|
215
215
|
<em>or</em>
|
|
216
|
-
<div class="browse-files">Browse files</div>`,o=S(),c&&c.c(),r=S(),n=_("input"),u(t,"class","instructions"),u(n,"data-testid","input"),u(n,"tabindex","0"),u(n,"type","file"),u(n,"accept",i[1]),n.multiple=!0,u(e,"data-testid","dragdrop"),u(e,"class",a=`dragdrop state-${i[5]}`)},m(d,f){k(d,e,f),w(e,t),w(e,o),c&&c.m(e,null),w(e,r),w(e,n),i[13](n),i[14](e),l||(s=[G(e,"click",i[7]),G(e,"drop",i[8]),G(e,"mouseover",i[11]),G(e,"mouseout",i[12]),G(e,"dragenter",i[9]),G(e,"dragleave",i[10]),G(e,"dragover",yl)],l=!0)},p(d,f){d[2]?c?c.p(d,f):(c=ao(d),c.c(),c.m(e,r)):c&&(c.d(1),c=null),f&2&&u(n,"accept",d[1]),f&32&&a!==(a=`dragdrop state-${d[5]}`)&&u(e,"class",a)},d(d){d&&L(e),c&&c.d(),i[13](null),i[14](null),l=!1,de(s)}}}function ao(i){let e,t,o,r;return{c(){e=_("em"),t=q("Maximum file size is "),o=q(i[2]),r=q("."),u(e,"class","max-file-size"),u(e,"data-testid","max-file-size")},m(n,a){k(n,e,a),w(e,t),w(e,o),w(e,r)},p(n,a){a&4&&Y(o,n[2])},d(n){n&&L(e)}}}function lo(i){let e,t,o,r,n,a,l,s=i[2]&&so(i);return{c(){e=_("div"),t=_("goa-button"),t.textContent="Choose file",o=S(),s&&s.c(),r=S(),n=_("input"),C(t,"type","secondary"),u(e,"class","button"),u(n,"data-testid","input"),u(n,"tabindex","-1"),u(n,"type","file"),u(n,"accept",i[1]),n.multiple=!0},m(c,d){k(c,e,d),w(e,t),w(e,o),s&&s.m(e,null),i[15](e),k(c,r,d),k(c,n,d),i[16](n),a||(l=G(t,"click",i[7]),a=!0)},p(c,d){c[2]?s?s.p(c,d):(s=so(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&2&&u(n,"accept",c[1])},d(c){c&&L(e),s&&s.d(),i[15](null),c&&L(r),c&&L(n),i[16](null),a=!1,l()}}}function so(i){let e,t,o,r;return{c(){e=_("em"),t=q("Maximum file size is "),o=q(i[2]),r=q("."),u(e,"class","max-file-size"),u(e,"data-testid","max-file-size")},m(n,a){k(n,e,a),w(e,t),w(e,o),w(e,r)},p(n,a){a&4&&Y(o,n[2])},d(n){n&&L(e)}}}function co(i){let e,t=i[6],o=[];for(let r=0;r<t.length;r+=1)o[r]=uo(ro(i,t,r));return{c(){e=_("div");for(let r=0;r<o.length;r+=1)o[r].c();u(e,"class","issues")},m(r,n){k(r,e,n);for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(e,null)},p(r,n){if(n&64){t=r[6];let a;for(a=0;a<t.length;a+=1){const l=ro(r,t,a);o[a]?o[a].p(l,n):(o[a]=uo(l),o[a].c(),o[a].m(e,null))}for(;a<o.length;a+=1)o[a].d(1);o.length=t.length}},d(r){r&&L(e),Ie(o,r)}}}function uo(i){let e,t=i[21].filename+"",o,r,n,a,l,s=i[21].error+"",c,d;return{c(){e=_("div"),o=q(t),r=S(),n=_("div"),a=_("goa-icon"),l=S(),c=q(s),d=S(),C(a,"type","warning"),C(a,"size","small"),C(a,"theme","filled"),u(n,"class","error"),u(n,"data-testid","error"),u(e,"class","issue")},m(f,g){k(f,e,g),w(e,o),w(e,r),w(e,n),w(n,a),w(n,l),w(n,c),w(e,d)},p(f,g){g&64&&t!==(t=f[21].filename+"")&&Y(o,t),g&64&&s!==(s=f[21].error+"")&&Y(c,s)},d(f){f&&L(e)}}}function wl(i){let e,t,o,r=i[0]==="dragdrop"&&no(i),n=i[0]==="button"&&lo(i),a=i[6].length&&co(i);return{c(){r&&r.c(),e=S(),n&&n.c(),t=S(),a&&a.c(),o=be(),this.c=E},m(l,s){r&&r.m(l,s),k(l,e,s),n&&n.m(l,s),k(l,t,s),a&&a.m(l,s),k(l,o,s)},p(l,[s]){l[0]==="dragdrop"?r?r.p(l,s):(r=no(l),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),l[0]==="button"?n?n.p(l,s):(n=lo(l),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),l[6].length?a?a.p(l,s):(a=co(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},i:E,o:E,d(l){r&&r.d(l),l&&L(e),n&&n.d(l),l&&L(t),a&&a.d(l),l&&L(o)}}}function yl(i){return i.preventDefault(),!1}function _l(i,e,t){let{variant:o="dragdrop"}=e,{accept:r="*"}=e,{maxfilesize:n="5MB"}=e,a,l,s="default",c=[];J(()=>{l.addEventListener("change",()=>{t(6,c=[]),[...l.files].forEach(H=>{const M=d(H);if(M){t(6,c=[{filename:H.name,error:M},...c]);return}b(H)}),t(4,l.value=null,l)},!0)});function d(H){if(!f(H))return"Invalid file type";if(!g(H))return`The file must be less than ${n}`}function f(H){const M=r.split(",");for(const B of M)if(H.type.match(B.replace("*",".*").replace("/","/"))||H.name.endsWith(r))return!0;return!1}function g(H){const[M,B,re]=n.match(/(\d*)(\w*$)/),Q={B:1,KB:1024,MB:Math.pow(1024,2),GB:Math.pow(1024,3)};return!(H.size/Q[re]>parseInt(B))}function b(H){a.dispatchEvent(new CustomEvent("_selectFile",{composed:!0,detail:{file:H}}))}function v(){l.click()}function y(H){H.preventDefault(),t(6,c=[]),H.dataTransfer.items?[...H.dataTransfer.items].forEach(M=>{if(M.kind==="file"){const B=M.getAsFile(),re=d(B);if(re){t(6,c=[{filename:B.name,error:re},...c]);return}b(M.getAsFile())}}):[...H.dataTransfer.files].forEach(M=>{const B=d(M);if(B){t(6,c=[{filename:M.name,error:B},...c]);return}b(M)}),t(4,l.value=null,l)}function p(){t(5,s="dragenter")}function m(H){const M=a.getBoundingClientRect();H.clientX>M.x&&H.clientX<=M.x+M.width&&H.clientY>M.y&&H.clientY<=M.y+M.height||t(5,s="default")}function x(){t(5,s="hover")}function A(){t(5,s="default")}function T(H){U[H?"unshift":"push"](()=>{l=H,t(4,l)})}function z(H){U[H?"unshift":"push"](()=>{a=H,t(3,a)})}function V(H){U[H?"unshift":"push"](()=>{a=H,t(3,a)})}function R(H){U[H?"unshift":"push"](()=>{l=H,t(4,l)})}return i.$$set=H=>{"variant"in H&&t(0,o=H.variant),"accept"in H&&t(1,r=H.accept),"maxfilesize"in H&&t(2,n=H.maxfilesize)},[o,r,n,a,l,s,c,v,y,p,m,x,A,T,z,V,R]}class fo extends j{constructor(e){super();const t=document.createElement("style");t.textContent='.dragdrop{border-radius:var(--goa-border-radius-m);border:var(--goa-border-width-m) dashed var(--goa-color-interactive-default);display:flex;font:var(--goa-typography-body-m);flex-direction:column;align-items:center;justify-content:center;gap:0.25rem;padding:var(--goa-space-xl);color:var(--goa-color-interactive-default);text-align:center;cursor:pointer}@media(max-width: 640px){.dragdrop{padding-top:1.75rem}}.dragdrop:active,.dragdrop:focus-within{border-style:solid;outline:none}.dragdrop:hover div{color:var(--goa-color-interactive-hover)}.state-default{background:var(--goa-color-info-background)}.state-hover{background:var(--goa-color-greyscale-100);border-style:dashed}.state-dragenter{background:var(--goa-color-info-background);border-style:solid}.instructions{display:flex;align-items:center;gap:0.5rem}@media(max-width: 640px){.instructions{flex-direction:column}}goa-icon{margin-top:4px;margin-right:4px}.browse-files{text-decoration:underline}em{font-style:normal;font:var(--goa-typography-body-s);color:var(--goa-color-greyscale-700)}.max-file-size{display:block;margin-top:0.5rem}input[type="file"]{position:absolute;left:-9999px}.issues{border-bottom:1px solid var(--goa-color-greyscale-200);margin:1rem 0}.issue{margin-bottom:1rem}.error{color:var(--goa-color-interactive-error);font-size:0.9em;display:flex;align-items:center;gap:0.5rem}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},_l,wl,O,{variant:0,accept:1,maxfilesize:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","accept","maxfilesize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get accept(){return this.$$.ctx[1]}set accept(e){this.$$set({accept:e}),h()}get maxfilesize(){return this.$$.ctx[2]}set maxfilesize(e){this.$$set({maxfilesize:e}),h()}}customElements.define("goa-file-upload-input",fo);function kl(i){let e;return{c(){e=_("goa-icon"),C(e,"class","fileicon"),C(e,"data-testid","icon"),C(e,"type","goa-file"),C(e,"fillcolor","#dcdcdc"),C(e,"size","xlarge")},m(t,o){k(t,e,o)},p:E,d(t){t&&L(e)}}}function Cl(i){let e;return{c(){e=_("goa-icon"),C(e,"class","fileicon"),C(e,"data-testid","icon"),C(e,"type",i[6]),C(e,"fillcolor","#0070c4"),C(e,"size","xlarge")},m(t,o){k(t,e,o)},p(t,o){o&64&&C(e,"type",t[6])},d(t){t&&L(e)}}}function go(i){let e,t=ho(i[1])+"",o;return{c(){e=_("div"),o=q(t),u(e,"class","filesize"),u(e,"data-testid","filesize")},m(r,n){k(r,e,n),w(e,o)},p(r,n){n&2&&t!==(t=ho(r[1])+"")&&Y(o,t)},d(r){r&&L(e)}}}function xl(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon"),o=S(),r=q(i[3]),C(t,"type","warning"),C(t,"size","small"),C(t,"theme","filled"),u(e,"class","error-msg"),u(e,"data-testid","error")},m(n,a){k(n,e,a),w(e,t),w(e,o),w(e,r)},p(n,a){a&8&&Y(r,n[3])},d(n){n&&L(e)}}}function El(i){let e;return{c(){e=_("div"),e.textContent=`Uploaded on ${Fo()}`,u(e,"class","timestamp"),u(e,"data-testid","timestamp")},m(t,o){k(t,e,o)},p:E,d(t){t&&L(e)}}}function zl(i){let e,t,o,r=Math.ceil(i[2])+"",n,a;return{c(){e=_("div"),t=_("progress"),o=S(),n=q(r),a=q("%"),t.value=i[2],u(t,"max","100"),u(e,"class","progress"),u(e,"data-testid","progress")},m(l,s){k(l,e,s),w(e,t),w(e,o),w(e,n),w(e,a)},p(l,s){s&4&&(t.value=l[2]),s&4&&r!==(r=Math.ceil(l[2])+"")&&Y(n,r)},d(l){l&&L(e)}}}function Ll(i){let e,t,o;return{c(){e=_("goa-button"),e.textContent="Cancel",C(e,"type","tertiary"),C(e,"size","compact"),C(e,"variant","destructive")},m(r,n){k(r,e,n),t||(o=G(e,"click",i[11]),t=!0)},p:E,d(r){r&&L(e),t=!1,o()}}}function Hl(i){let e,t,o;return{c(){e=_("goa-button"),e.textContent="Remove",C(e,"type","tertiary"),C(e,"size","compact"),C(e,"leadingicon","trash")},m(r,n){k(r,e,n),t||(o=G(e,"click",i[10]),t=!0)},p:E,d(r){r&&L(e),t=!1,o()}}}function Ml(i){let e,t,o;return{c(){e=_("goa-button"),e.textContent="Cancel",C(e,"type","tertiary"),C(e,"size","compact")},m(r,n){k(r,e,n),t||(o=G(e,"click",i[9]),t=!0)},p:E,d(r){r&&L(e),t=!1,o()}}}function Tl(i){let e,t,o,r,n,a,l,s,c,d;function f(z,V){return z[4]==="uploaded"?Cl:kl}let g=f(i),b=g(i),v=i[4]!=="error"&&go(i);function y(z,V){if(z[4]==="uploading")return zl;if(z[4]==="uploaded")return El;if(z[4]==="error")return xl}let p=y(i),m=p&&p(i);function x(z,V){if(z[4]==="uploading")return Ml;if(z[4]==="uploaded")return Hl;if(z[4]==="error")return Ll}let A=x(i),T=A&&A(i);return{c(){e=_("div"),b.c(),t=S(),o=_("div"),r=_("div"),n=q(i[0]),a=S(),v&&v.c(),l=S(),m&&m.c(),s=S(),c=_("div"),T&&T.c(),this.c=E,u(r,"class","filename"),u(r,"data-testid","filename"),u(o,"class","details"),u(c,"class","actions"),u(c,"data-testid","actions"),u(e,"data-testid","root"),u(e,"class",d=`root ${i[4]}`),I(e,"error",i[3])},m(z,V){k(z,e,V),b.m(e,null),w(e,t),w(e,o),w(o,r),w(r,n),w(o,a),v&&v.m(o,null),w(o,l),m&&m.m(o,null),w(e,s),w(e,c),T&&T.m(c,null),i[12](e)},p(z,[V]){g===(g=f(z))&&b?b.p(z,V):(b.d(1),b=g(z),b&&(b.c(),b.m(e,t))),V&1&&Y(n,z[0]),z[4]!=="error"?v?v.p(z,V):(v=go(z),v.c(),v.m(o,l)):v&&(v.d(1),v=null),p===(p=y(z))&&m?m.p(z,V):(m&&m.d(1),m=p&&p(z),m&&(m.c(),m.m(o,null))),A===(A=x(z))&&T?T.p(z,V):(T&&T.d(1),T=A&&A(z),T&&(T.c(),T.m(c,null))),V&16&&d!==(d=`root ${z[4]}`)&&u(e,"class",d),V&24&&I(e,"error",z[3])},i:E,o:E,d(z){z&&L(e),b.d(),v&&v.d(),m&&m.d(),T&&T.d(),i[12](null)}}}function Al(i,e){const t=i.split("."),o=t[t.length-1],r=o==="xlxs"&&"goa-xls"||o==="xls"&&"goa-xls"||o==="zip"&&"goa-zip"||o==="docx"&&"goa-doc"||o==="doc"&&"goa-doc"||o==="pptx"&&"goa-ppt"||o==="ppt"&&"goa-ppt"||o==="pdf"&&"goa-pdf"||o==="html"&&"goa-html";return r||e==="application/vnd.ms-powerpoint"&&"goa-ppt"||e.includes("presentationml")&&"goa-ppt"||e.includes("wordprocessingml")&&"goa-doc"||e.includes("spreadsheet")&&"goa-xls"||e.startsWith("video")&&"goa-video"||e.startsWith("audio")&&"goa-audio"||e.startsWith("image")&&"goa-image"||e==="application/msword"&&"goa-doc"||"goa-file"}function ho(i){switch(!0){case i<1024:return i+"B";case i<1024*1024:return Math.round(i/1024)+"KB";case i<Math.pow(1024,3):return Math.round(i/Math.pow(1024,2))+"MB"}}function Rl(i,e,t){let{filename:o}=e,{size:r}=e,{type:n=""}=e,{progress:a=-1}=e,{error:l=""}=e,s="uploading",c,d="goa-file";function f(p){c.dispatchEvent(new CustomEvent(p,{composed:!0}))}const g=()=>f("_cancel"),b=()=>f("_delete"),v=()=>f("_delete");function y(p){U[p?"unshift":"push"](()=>{c=p,t(5,c)})}return i.$$set=p=>{"filename"in p&&t(0,o=p.filename),"size"in p&&t(1,r=p.size),"type"in p&&t(8,n=p.type),"progress"in p&&t(2,a=p.progress),"error"in p&&t(3,l=p.error)},i.$$.update=()=>{i.$$.dirty&12&&t(4,s=l&&"error"||a>=0&&a<100&&"uploading"||"uploaded"),i.$$.dirty&257&&t(6,d=o&&n&&Al(o,n))},[o,r,a,l,s,c,d,f,n,g,b,v,y]}class mo extends j{constructor(e){super();const t=document.createElement("style");t.textContent=`.root{padding:var(--goa-space-l);border:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-radius:var(--goa-border-radius-m);margin:0.5rem 0;display:grid;grid-template-columns:38px auto;grid-template-rows:repeat(2, auto);grid-template-areas:"icon details"
|
|
217
|
-
"action action";gap:1rem;align-items:center}.root.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error)}@media(min-width: 480px){.root{grid-template-columns:38px 1fr auto;grid-template-rows:auto;grid-template-areas:"icon details action"}.details{margin-left:0.5rem}}.fileicon{grid-area:icon;align-self:center}.actions{grid-area:action}.details{grid-area:details;display:flex;flex-direction:column;overflow-x:hidden}.filename{grid-area:filename;font-size:var(--goa-font-size-4);overflow-wrap:anywhere}.error-msg{display:flex;align-items:flex-start;margin-top:0.5rem;gap:var(--goa-space-2xs);color:var(--goa-color-interactive-error);font:var(--goa-typography-body-xs)}.timestamp,.filesize{color:var(--goa-color-greyscale-700);font:var(--goa-typography-body-s)}.progress{display:flex;align-items:center;font:var(--goa-typography-body-xs);gap:0.5rem}progress{flex:1 1 auto;-webkit-appearance:none;appearance:none;height:4px;border:none;border-radius:var(--goa-border-radius-m);background:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-700)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Rl,Tl,O,{filename:0,size:1,type:8,progress:2,error:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["filename","size","type","progress","error"]}get filename(){return this.$$.ctx[0]}set filename(e){this.$$set({filename:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[8]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get error(){return this.$$.ctx[3]}set error(e){this.$$set({error:e}),h()}}customElements.define("goa-file-upload-card",mo);const{window:bo}=ut;function Sl(i){let e,t,o,r,n,a,l,s,c,d,f,g,b,v=i[1]&&vo(i),y=i[8]&&po(i);return{c(){e=_("button"),v&&v.c(),t=S(),o=_("span"),r=q(i[0]),n=S(),a=_("goa-spacer"),l=S(),s=_("goa-icon"),d=S(),y&&y.c(),f=be(),u(o,"class","heading"),C(a,"hspacing","fill"),C(s,"type",c=i[8]?"chevron-up":"chevron-down"),C(s,"mt","1"),u(e,"class",i[2]),I(e,"open",i[8])},m(p,m){k(p,e,m),v&&v.m(e,null),w(e,t),w(e,o),w(o,r),w(e,n),w(e,a),w(e,l),w(e,s),k(p,d,m),y&&y.m(p,m),k(p,f,m),g||(b=G(e,"click",i[9]),g=!0)},p(p,m){p[1]?v?v.p(p,m):(v=vo(p),v.c(),v.m(e,t)):v&&(v.d(1),v=null),m&1&&Y(r,p[0]),m&256&&c!==(c=p[8]?"chevron-up":"chevron-down")&&C(s,"type",c),m&4&&u(e,"class",p[2]),m&260&&I(e,"open",p[8]),p[8]?y?y.p(p,m):(y=po(p),y.c(),y.m(f.parentNode,f)):y&&(y.d(1),y=null)},d(p){p&&L(e),v&&v.d(),p&&L(d),y&&y.d(p),p&&L(f),g=!1,b()}}}function Vl(i){let e,t,o,r,n,a,l,s,c,d=i[1]&&wo(i);return{c(){e=_("goa-popover"),t=_("button"),d&&d.c(),o=S(),r=q(i[0]),n=S(),a=_("goa-icon"),s=S(),c=_("div"),c.innerHTML="<slot></slot>",C(a,"type",l=i[8]?"chevron-up":"chevron-down"),C(a,"mt","1"),u(t,"slot","target"),ie(t,"padding","0 0.75rem"),u(t,"class",i[2]),I(t,"current",i[7]),u(c,"class","desktop"),C(e,"context","app-header-menu"),C(e,"focusborderwidth","0"),C(e,"borderradius","0"),C(e,"padded","false"),C(e,"tabindex","-1"),C(e,"width","16rem"),C(e,"position","below")},m(f,g){k(f,e,g),w(e,t),d&&d.m(t,null),w(t,o),w(t,r),w(t,n),w(t,a),w(e,s),w(e,c),i[11](c),i[12](e)},p(f,g){f[1]?d?d.p(f,g):(d=wo(f),d.c(),d.m(t,o)):d&&(d.d(1),d=null),g&1&&Y(r,f[0]),g&256&&l!==(l=f[8]?"chevron-up":"chevron-down")&&C(a,"type",l),g&4&&u(t,"class",f[2]),g&132&&I(t,"current",f[7])},d(f){f&&L(e),d&&d.d(),i[11](null),i[12](null)}}}function vo(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[1]),C(e,"mt","1")},m(t,o){k(t,e,o)},p(t,o){o&2&&C(e,"type",t[1])},d(t){t&&L(e)}}}function po(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"class","not-desktop")},m(t,o){k(t,e,o),i[13](e)},p:E,d(t){t&&L(e),i[13](null)}}}function wo(i){let e;return{c(){e=_("goa-icon"),C(e,"type",i[1]),C(e,"mt","1")},m(t,o){k(t,e,o)},p(t,o){o&2&&C(e,"type",t[1])},d(t){t&&L(e)}}}function Bl(i){let e,t,o;pe(i[10]);function r(l,s){return l[4]?Vl:Sl}let n=r(i),a=n(i);return{c(){a.c(),e=be(),this.c=E},m(l,s){a.m(l,s),k(l,e,s),t||(o=G(bo,"resize",i[10]),t=!0)},p(l,[s]){n===(n=r(l))&&a?a.p(l,s):(a.d(1),a=n(l),a&&(a.c(),a.m(e.parentNode,e)))},i:E,o:E,d(l){a.d(l),l&&L(e),t=!1,o()}}}function Dl(i,e,t){let o,{heading:r}=e,{leadingicon:n}=e,{type:a="primary"}=e,l=window.innerWidth,s,c,d=!1,f=!1;J(async()=>{await se(),Ye("GoaAppHeaderMenu",{heading:r}),t(7,d=g()),window.addEventListener("popstate",()=>{t(7,d=g())},!0)});function g(){if(!c)return;const z=c.querySelector("slot");return z?!!z.assignedElements().filter(R=>R.tagName==="A").find(R=>{const H=R.href,M=`${window.location.pathname}${window.location.search}${window.location.hash}`;return H.endsWith(M)}):void 0}async function b(){await se(),!!s&&(s.removeEventListener("_close",y),s.removeEventListener("_open",v),s.addEventListener("_close",y),s.addEventListener("_open",v))}function v(){t(8,f=!0)}function y(){setTimeout(()=>{t(8,f=!1)},1)}function p(){f?y():v()}function m(){t(3,l=bo.innerWidth)}function x(z){U[z?"unshift":"push"](()=>{c=z,t(6,c)})}function A(z){U[z?"unshift":"push"](()=>{s=z,t(5,s)})}function T(z){U[z?"unshift":"push"](()=>{c=z,t(6,c)})}return i.$$set=z=>{"heading"in z&&t(0,r=z.heading),"leadingicon"in z&&t(1,n=z.leadingicon),"type"in z&&t(2,a=z.type)},i.$$.update=()=>{i.$$.dirty&8&&t(4,o=l>=960),i.$$.dirty&16&&o&&b()},[r,n,a,l,o,s,c,d,f,p,m,x,A,T]}class yo extends j{constructor(e){super();const t=document.createElement("style");t.textContent='*{font:var(--goa-typography-body-m)}button{padding:0;border:none;background:transparent;outline:none;color:var(--goa-color-text-default);cursor:pointer;display:flex;align-items:center;gap:0.5rem}button:active,button:hover,button:focus-within,[slot="target"]:focus-within{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}button.current{border-top:4px solid var(--goa-color-interactive-default);border-bottom:4px solid transparent}button.current:hover{border-top:4px solid var(--goa-color-interactive-hover)}button.open{border-bottom:1px solid var(--goa-color-greyscale-200)}::slotted(a),::slotted(a:visited){box-shadow:inset 0 1px 0 0 var(--goa-color-greyscale-200);color:var(--goa-color-text-default);display:block;padding:calc((3rem - var(--goa-line-height-3)) / 2) 1rem;text-decoration:none}.not-desktop ::slotted(a){padding:calc((3rem - var(--goa-line-height-3)) / 2) 2.75rem}::slotted(a:first-child){box-shadow:none}::slotted(a:hover){background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}::slotted(a:focus-visible){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:-3px;color:var(--goa-color-interactive-hover)}::slotted(a.interactive){text-decoration:underline;color:var(--goa-color-interactive-default)}@media(max-width: 959px){button{box-shadow:inset 0 1px 0 0 var(--goa-color-greyscale-200);height:3rem;flex:1 1 auto;padding:0 1rem;width:100%}button:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:-3px}.heading{flex:0 0 auto}}@media(min-width: 960px){button[slot=target]{font-weight:var(--goa-font-weight-bold);height:4rem;white-space:nowrap}button.secondary{font-weight:var(--goa-font-weight-regular)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Dl,Bl,O,{heading:0,leadingicon:1,type:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","leadingicon","type"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-app-header-menu",yo);function Nl(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","side-menu")},m(t,o){k(t,e,o),i[1](e)},p:E,i:E,o:E,d(t){t&&L(e),i[1](null)}}}function Il(i,e,t){let o;J(async()=>{await se(),r(window.location.toString()),n()});function r(l){const s=o.querySelector("slot");if(!s)return!1;s.assignedElements().filter(d=>d.tagName==="A").forEach(d=>{l.endsWith(d.getAttribute("href"))?d.classList.add("current"):d.classList.remove("current")})}function n(){let l=document.location.href;new MutationObserver(c=>{l!==document.location.href&&(l=document.location.href,r(l))}).observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("popstate",()=>{r(document.location.href)})}function a(l){U[l?"unshift":"push"](()=>{o=l,t(0,o)})}return[o,a]}class _o extends j{constructor(e){super();const t=document.createElement("style");t.textContent="::slotted(a),::slotted(a:visited){color:var(--goa-color-text-default) !important;display:block;font:var(--goa-typography-body-m);padding:0.5rem 1rem 0.5rem 2rem;text-decoration:none}::slotted(a.current){font:var(--goa-typography-heading-s);background:#CEDFEE}::slotted(a:hover:not(.current)){background:#CEDFEE}::slotted(a:focus-visible){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.side-menu{display:block}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Il,Nl,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-side-menu",_o);function Pl(i){let e;return{c(){e=_("goa-icon"),C(e,"type","chevron-forward")},m(t,o){k(t,e,o)},d(t){t&&L(e)}}}function Zl(i){let e;return{c(){e=_("goa-icon"),C(e,"type","chevron-down")},m(t,o){k(t,e,o)},d(t){t&&L(e)}}}function Ol(i){let e,t,o,r,n,a,l,s,c;function d(b,v){return b[1]?Zl:Pl}let f=d(i),g=f(i);return{c(){e=_("div"),t=_("a"),o=q(i[0]),r=S(),g.c(),a=S(),l=_("div"),l.innerHTML="<slot></slot>",this.c=E,u(t,"href",n=`#${i[4]}`),u(t,"class","heading"),u(l,"class","group"),u(l,"data-testid","group"),I(l,"hidden",!i[1]),u(e,"class","side-menu-group"),I(e,"current",i[2])},m(b,v){k(b,e,v),w(e,t),w(t,o),w(t,r),g.m(t,null),w(e,a),w(e,l),i[6](e),s||(c=G(t,"click",i[5]),s=!0)},p(b,[v]){v&1&&Y(o,b[0]),f!==(f=d(b))&&(g.d(1),g=f(b),g&&(g.c(),g.m(t,null))),v&16&&n!==(n=`#${b[4]}`)&&u(t,"href",n),v&2&&I(l,"hidden",!b[1]),v&4&&I(e,"current",b[2])},i:E,o:E,d(b){b&&L(e),g.d(),i[6](null),s=!1,c()}}}function ko(i){return i==null?void 0:i.toLowerCase().replace(/ /g,"-")}function ql(i,e){if(e.endsWith(ko(i.heading)))return!0;const t=i.querySelector("slot");return t?!!t.assignedElements().find(r=>e.endsWith(r.getAttribute("href"))):!1}function jl(i,e,t){let o,{heading:r}=e,n=!1,a=!1,l;J(async()=>{await se(),s(),f(),c()});function s(){const y=window.location.href;t(1,n=d(y)||ql(l,y)),n&&b(!0)}function c(){l.addEventListener("_open",()=>{t(1,n=!0),t(2,a=!0)});let y=document.location.href;new MutationObserver(m=>{y!==document.location.href&&(y=document.location.href,f())}).observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("popstate",()=>{f()})}function d(y){return y.endsWith(o)}function f(){const y=document.location.href,p=l.querySelector("slot");if(!p)return!1;const m=p.assignedElements();t(2,a=!1),m.forEach(x=>{y.endsWith(x.getAttribute("href"))?(t(2,a=!0),x.classList.add("current"),b(!0)):x.classList.remove("current"),x.tagName==="GOA-SIDE-MENU-GROUP"&&x.setAttribute("child","true")})}function g(y){t(1,n=!n),y.preventDefault()}function b(y){l.dispatchEvent(new CustomEvent("_open",{bubbles:!0,composed:!0,detail:{current:y}}))}function v(y){U[y?"unshift":"push"](()=>{l=y,t(3,l)})}return i.$$set=y=>{"heading"in y&&t(0,r=y.heading)},i.$$.update=()=>{i.$$.dirty&1&&t(4,o=ko(r))},[r,n,a,l,o,g,v]}class Co extends j{constructor(e){super();const t=document.createElement("style");t.textContent="::slotted(a),::slotted(a:visited){color:var(--goa-color-text-default) !important;display:block;font:var(--goa-typography-body-m);border-left:4px solid var(--goa-color-greyscale-100);padding:0.5rem 1rem;margin-left:1rem;text-decoration:none}::slotted(a.current){font:var(--goa-typography-heading-s);border-left:4px solid var(--goa-color-interactive-disabled);background:var(--goa-color-info-background)}::slotted(a:hover:not(.current)){background:var(--goa-color-info-background);border-color:var(--goa-color-greyscale-200)}::slotted(a:focus-visible),.heading:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}:host([child=true]) a.heading,.heading{color:var(--goa-color-text-default);display:flex;align-items:center;justify-content:space-between;line-height:2rem;padding:0.5rem 1rem 0.5rem 2rem;text-decoration:none}:host([child=true]) a.heading{margin-left:1rem;border-left:4px solid var(--goa-color-greyscale-100);padding:0.5rem 1rem 0.5rem 1rem}:host([child=true]) a.heading:hover{border-color:var(--goa-color-greyscale-200);background:var(--goa-color-info-background)}:host([child=true]) .side-menu-group.current a.heading{background:var(--goa-color-info-background);border-left:4px solid var(--goa-color-interactive-disabled)}.side-menu-group.current .heading{background:#CEDFEE}.heading:hover{background:#CEDFEE}.hidden{display:none}.group{padding-left:1rem}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},jl,Ol,O,{heading:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}}customElements.define("goa-side-menu-group",Co);function Fl(i){let e,t,o,r,n,a,l,s;return{c(){e=_("div"),t=_("div"),o=S(),r=_("div"),r.innerHTML="<slot></slot>",n=S(),a=_("button"),a.innerHTML='<div class="tab"></div>',l=S(),s=_("button"),this.c=E,u(t,"class","tabs"),u(r,"class","tabpanel"),u(r,"tabindex","0"),u(r,"role","tabpanel"),u(e,"role","tablist"),u(a,"role","tab"),u(a,"aria-selected","false"),ie(a,"display","none"),u(s,"role","tab"),u(s,"aria-selected","true"),ie(s,"display","none")},m(c,d){k(c,e,d),w(e,t),i[4](t),w(e,o),w(e,r),i[5](r),i[6](e),k(c,n,d),k(c,a,d),k(c,l,d),k(c,s,d)},p:E,i:E,o:E,d(c){c&&L(e),i[4](null),i[5](null),i[6](null),c&&L(n),c&&L(a),c&&L(l),c&&L(s)}}}function Wl(i,e,t){let{initialtab:o=1}=e,r,n=[],a,l,s=1;J(async()=>{await se(),c();const m=r.querySelector("slot");m?n=m.assignedElements():n=[...r.querySelectorAll("goa-tab")],n.map((x,A)=>{let T=[...x.children].find(V=>V.getAttribute("slot")==="heading");!T&&x.getAttribute("heading")&&(T=document.createElement("div"),T.textContent=x.getAttribute("heading"));const z=document.createElement("button");T.classList.add("tab"),z.appendChild(T),z.setAttribute("id",`tab-${A+1}`),z.setAttribute("role","tab"),z.addEventListener("click",()=>f(A+1)),z.setAttribute("aria-controls",`tabpanel-${A+1}`),a.appendChild(z)}),f(o)}),ft(()=>{d()});function c(){r.addEventListener("focus",g,!0)}function d(){r.removeEventListener("focus",g,!0)}function f(m){m>n.length&&(m=n.length),m<1&&(m=1),s=+m,[...a.querySelectorAll("[role=tab]")].map((x,A)=>{n[A].setAttribute("open","false"),x.setAttribute("aria-selected",A+1===s?"true":"false"),x.setAttribute("tabindex",A+1===s?"0":"-1"),A+1===s&&(x.focus(),x.removeAttribute("tabindex"),n[A].setAttribute("open","true"))}),l.setAttribute("aria-labelledby",`tab-${s}`),l.setAttribute("id",`tabpanel-${s}`)}function g(){r.addEventListener("keydown",b)}function b(m){let x=!1;switch(m.key){case"ArrowUp":case"ArrowLeft":f(s===1?n.length:s-1),x=!0;break;case"ArrowDown":case"ArrowRight":s===n.length?f(1):f(s+1),x=!0;break;case"Home":f(1),x=!0;break;case"End":f(n.length),x=!0;break}x&&(m.stopPropagation(),m.preventDefault())}function v(m){U[m?"unshift":"push"](()=>{a=m,t(1,a)})}function y(m){U[m?"unshift":"push"](()=>{l=m,t(2,l)})}function p(m){U[m?"unshift":"push"](()=>{r=m,t(0,r)})}return i.$$set=m=>{"initialtab"in m&&t(3,o=m.initialtab)},[r,a,l,o,v,y,p]}class xo extends j{constructor(e){super();const t=document.createElement("style");t.textContent=':host{box-sizing:border-box;font:var(--goa-typography-body-m)}.tab{display:flex;gap:var(--goa-space-xs)}[role="tab"]{background:none;overflow:hidden;white-space:nowrap;cursor:pointer;border:none;font:var(--goa-typography-body-m);color:var(--goa-color-text-default);letter-spacing:0.03125rem}[role="tab"][aria-selected="true"]{font:var(--goa-typography-heading-s)}[role="tab"]:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}[role="tab"]:hover:not([aria-selected="true"]),[role="tab"]:focus:not([aria-selected="true"]),[role="tab"]:focus-visible:not([aria-selected="true"]){border-color:var(--goa-color-greyscale-200)}@media(min-width: 640px){[role="tablist"]{border-bottom:none}.tabs{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);display:flex;gap:var(--goa-space-xl)}[role="tab"]{padding:var(--goa-space-s) var(--goa-space-m);border-bottom:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default)}}@media(max-width: 639px){[role="tab"]{width:100%;padding:var(--goa-space-xs) 0;padding-left:12px;border-left:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default);background:var(--goa-color-info-background)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Wl,Fl,O,{initialtab:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["initialtab"]}get initialtab(){return this.$$.ctx[3]}set initialtab(e){this.$$set({initialtab:e}),h()}}customElements.define("goa-tabs",xo);function Eo(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"role","tabpanel")},m(t,o){k(t,e,o)},d(t){t&&L(e)}}}function Gl(i){let e,t,o,r,n=i[1]&&Eo();return{c(){e=_("slot"),t=q(i[0]),o=S(),n&&n.c(),r=be(),this.c=E,ie(e,"display","none"),u(e,"name","heading")},m(a,l){k(a,e,l),w(e,t),k(a,o,l),n&&n.m(a,l),k(a,r,l)},p(a,[l]){l&1&&Y(t,a[0]),a[1]?n||(n=Eo(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:E,o:E,d(a){a&&L(e),a&&L(o),n&&n.d(a),a&&L(r)}}}function Ul(i,e,t){let{heading:o=""}=e,{open:r="false"}=e,n;return i.$$set=a=>{"heading"in a&&t(0,o=a.heading),"open"in a&&t(2,r=a.open)},i.$$.update=()=>{i.$$.dirty&4&&t(1,n=$(r))},[o,n,r]}class zo extends j{constructor(e){super();const t=document.createElement("style");t.textContent="[role=tabpanel]{padding-top:2rem}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:F(this.attributes),customElement:!0},Ul,Gl,O,{heading:0,open:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","open"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get open(){return this.$$.ctx[2]}set open(e){this.$$set({open:e}),h()}}customElements.define("goa-tab",zo),fe.AppHeaderMenu=yo,fe.FileUploadCard=mo,fe.FileUploadInput=fo,fe.FormStep=io,fe.FormStepper=eo,fe.Pages=oo,fe.Pagination=Ni,fe.SideMenu=_o,fe.SideMenuGroup=Co,fe.Tab=zo,fe.Tabs=xo,Object.defineProperty(fe,"__esModule",{value:!0}),fe[Symbol.toStringTag]="Module"});
|
|
216
|
+
<div class="browse-files">Browse files</div>`,o=S(),c&&c.c(),r=S(),n=_("input"),u(t,"class","instructions"),u(n,"data-testid","input"),u(n,"tabindex","0"),u(n,"type","file"),u(n,"accept",i[1]),n.multiple=!0,u(e,"data-testid","dragdrop"),u(e,"class",l=`dragdrop state-${i[5]}`)},m(d,f){k(d,e,f),p(e,t),p(e,o),c&&c.m(e,null),p(e,r),p(e,n),i[13](n),i[14](e),a||(s=[G(e,"click",i[7]),G(e,"drop",i[8]),G(e,"mouseover",i[11]),G(e,"mouseout",i[12]),G(e,"dragenter",i[9]),G(e,"dragleave",i[10]),G(e,"dragover",xl)],a=!0)},p(d,f){d[2]?c?c.p(d,f):(c=so(d),c.c(),c.m(e,r)):c&&(c.d(1),c=null),f&2&&u(n,"accept",d[1]),f&32&&l!==(l=`dragdrop state-${d[5]}`)&&u(e,"class",l)},d(d){d&&H(e),c&&c.d(),i[13](null),i[14](null),a=!1,ue(s)}}}function so(i){let e,t,o,r;return{c(){e=_("em"),t=q("Maximum file size is "),o=q(i[2]),r=q("."),u(e,"class","max-file-size"),u(e,"data-testid","max-file-size")},m(n,l){k(n,e,l),p(e,t),p(e,o),p(e,r)},p(n,l){l&4&&Y(o,n[2])},d(n){n&&H(e)}}}function co(i){let e,t,o,r,n,l,a,s=i[2]&&uo(i);return{c(){e=_("div"),t=_("goa-button"),t.textContent="Choose file",o=S(),s&&s.c(),r=S(),n=_("input"),x(t,"type","secondary"),u(e,"class","button"),u(n,"data-testid","input"),u(n,"tabindex","-1"),u(n,"type","file"),u(n,"accept",i[1]),n.multiple=!0},m(c,d){k(c,e,d),p(e,t),p(e,o),s&&s.m(e,null),i[15](e),k(c,r,d),k(c,n,d),i[16](n),l||(a=G(t,"click",i[7]),l=!0)},p(c,d){c[2]?s?s.p(c,d):(s=uo(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null),d&2&&u(n,"accept",c[1])},d(c){c&&H(e),s&&s.d(),i[15](null),c&&H(r),c&&H(n),i[16](null),l=!1,a()}}}function uo(i){let e,t,o,r;return{c(){e=_("em"),t=q("Maximum file size is "),o=q(i[2]),r=q("."),u(e,"class","max-file-size"),u(e,"data-testid","max-file-size")},m(n,l){k(n,e,l),p(e,t),p(e,o),p(e,r)},p(n,l){l&4&&Y(o,n[2])},d(n){n&&H(e)}}}function fo(i){let e,t=i[6],o=[];for(let r=0;r<t.length;r+=1)o[r]=go(ao(i,t,r));return{c(){e=_("div");for(let r=0;r<o.length;r+=1)o[r].c();u(e,"class","issues")},m(r,n){k(r,e,n);for(let l=0;l<o.length;l+=1)o[l]&&o[l].m(e,null)},p(r,n){if(n&64){t=r[6];let l;for(l=0;l<t.length;l+=1){const a=ao(r,t,l);o[l]?o[l].p(a,n):(o[l]=go(a),o[l].c(),o[l].m(e,null))}for(;l<o.length;l+=1)o[l].d(1);o.length=t.length}},d(r){r&&H(e),Ze(o,r)}}}function go(i){let e,t=i[21].filename+"",o,r,n,l,a,s=i[21].error+"",c,d;return{c(){e=_("div"),o=q(t),r=S(),n=_("div"),l=_("goa-icon"),a=S(),c=q(s),d=S(),x(l,"type","warning"),x(l,"size","small"),x(l,"theme","filled"),u(n,"class","error"),u(n,"data-testid","error"),u(e,"class","issue")},m(f,h){k(f,e,h),p(e,o),p(e,r),p(e,n),p(n,l),p(n,a),p(n,c),p(e,d)},p(f,h){h&64&&t!==(t=f[21].filename+"")&&Y(o,t),h&64&&s!==(s=f[21].error+"")&&Y(c,s)},d(f){f&&H(e)}}}function Cl(i){let e,t,o,r=i[0]==="dragdrop"&&lo(i),n=i[0]==="button"&&co(i),l=i[6].length&&fo(i);return{c(){r&&r.c(),e=S(),n&&n.c(),t=S(),l&&l.c(),o=be(),this.c=E},m(a,s){r&&r.m(a,s),k(a,e,s),n&&n.m(a,s),k(a,t,s),l&&l.m(a,s),k(a,o,s)},p(a,[s]){a[0]==="dragdrop"?r?r.p(a,s):(r=lo(a),r.c(),r.m(e.parentNode,e)):r&&(r.d(1),r=null),a[0]==="button"?n?n.p(a,s):(n=co(a),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),a[6].length?l?l.p(a,s):(l=fo(a),l.c(),l.m(o.parentNode,o)):l&&(l.d(1),l=null)},i:E,o:E,d(a){r&&r.d(a),a&&H(e),n&&n.d(a),a&&H(t),l&&l.d(a),a&&H(o)}}}function xl(i){return i.preventDefault(),!1}function El(i,e,t){let{variant:o="dragdrop"}=e,{accept:r="*"}=e,{maxfilesize:n="5MB"}=e,l,a,s="default",c=[];J(()=>{a.addEventListener("change",()=>{t(6,c=[]),[...a.files].forEach(L=>{const M=d(L);if(M){t(6,c=[{filename:L.name,error:M},...c]);return}b(L)}),t(4,a.value=null,a)},!0)});function d(L){if(!f(L))return"Invalid file type";if(!h(L))return`The file must be less than ${n}`}function f(L){const M=r.split(",");for(const B of M)if(L.type.match(B.replace("*",".*").replace("/","/"))||L.name.endsWith(r))return!0;return!1}function h(L){const[M,B,Q]=n.match(/(\d*)(\w*$)/),ne={B:1,KB:1024,MB:Math.pow(1024,2),GB:Math.pow(1024,3)};return!(L.size/ne[Q]>parseInt(B))}function b(L){l.dispatchEvent(new CustomEvent("_selectFile",{composed:!0,detail:{file:L}}))}function v(){a.click()}function w(L){L.preventDefault(),t(6,c=[]),L.dataTransfer.items?[...L.dataTransfer.items].forEach(M=>{if(M.kind==="file"){const B=M.getAsFile(),Q=d(B);if(Q){t(6,c=[{filename:B.name,error:Q},...c]);return}b(M.getAsFile())}}):[...L.dataTransfer.files].forEach(M=>{const B=d(M);if(B){t(6,c=[{filename:M.name,error:B},...c]);return}b(M)}),t(4,a.value=null,a)}function y(){t(5,s="dragenter")}function g(L){const M=l.getBoundingClientRect();L.clientX>M.x&&L.clientX<=M.x+M.width&&L.clientY>M.y&&L.clientY<=M.y+M.height||t(5,s="default")}function C(){t(5,s="hover")}function A(){t(5,s="default")}function T(L){U[L?"unshift":"push"](()=>{a=L,t(4,a)})}function z(L){U[L?"unshift":"push"](()=>{l=L,t(3,l)})}function V(L){U[L?"unshift":"push"](()=>{l=L,t(3,l)})}function R(L){U[L?"unshift":"push"](()=>{a=L,t(4,a)})}return i.$$set=L=>{"variant"in L&&t(0,o=L.variant),"accept"in L&&t(1,r=L.accept),"maxfilesize"in L&&t(2,n=L.maxfilesize)},[o,r,n,l,a,s,c,v,w,y,g,C,A,T,z,V,R]}class ho extends F{constructor(e){super();const t=document.createElement("style");t.textContent='.dragdrop{border-radius:var(--goa-border-radius-m);border:var(--goa-border-width-m) dashed var(--goa-color-interactive-default);display:flex;font:var(--goa-typography-body-m);flex-direction:column;align-items:center;justify-content:center;gap:0.25rem;padding:var(--goa-space-xl);color:var(--goa-color-interactive-default);text-align:center;cursor:pointer}@media(max-width: 640px){.dragdrop{padding-top:1.75rem}}.dragdrop:active,.dragdrop:focus-within{border-style:solid;outline:none}.dragdrop:hover div{color:var(--goa-color-interactive-hover)}.state-default{background:var(--goa-color-info-background)}.state-hover{background:var(--goa-color-greyscale-100);border-style:dashed}.state-dragenter{background:var(--goa-color-info-background);border-style:solid}.instructions{display:flex;align-items:center;gap:0.5rem}@media(max-width: 640px){.instructions{flex-direction:column}}goa-icon{margin-top:4px;margin-right:4px}.browse-files{text-decoration:underline}em{font-style:normal;font:var(--goa-typography-body-s);color:var(--goa-color-greyscale-700)}.max-file-size{display:block;margin-top:0.5rem}input[type="file"]{position:absolute;left:-9999px}.issues{border-bottom:1px solid var(--goa-color-greyscale-200);margin:1rem 0}.issue{margin-bottom:1rem}.error{color:var(--goa-color-interactive-error);font-size:0.9em;display:flex;align-items:center;gap:0.5rem}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},El,Cl,O,{variant:0,accept:1,maxfilesize:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["variant","accept","maxfilesize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),m()}get accept(){return this.$$.ctx[1]}set accept(e){this.$$set({accept:e}),m()}get maxfilesize(){return this.$$.ctx[2]}set maxfilesize(e){this.$$set({maxfilesize:e}),m()}}customElements.define("goa-file-upload-input",ho);function zl(i){let e;return{c(){e=_("goa-icon"),x(e,"class","fileicon"),x(e,"data-testid","icon"),x(e,"type","goa-file"),x(e,"fillcolor","#dcdcdc"),x(e,"size","xlarge")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function Ll(i){let e;return{c(){e=_("goa-icon"),x(e,"class","fileicon"),x(e,"data-testid","icon"),x(e,"type",i[6]),x(e,"fillcolor","#0070c4"),x(e,"size","xlarge")},m(t,o){k(t,e,o)},p(t,o){o&64&&x(e,"type",t[6])},d(t){t&&H(e)}}}function mo(i){let e,t=bo(i[1])+"",o;return{c(){e=_("div"),o=q(t),u(e,"class","filesize"),u(e,"data-testid","filesize")},m(r,n){k(r,e,n),p(e,o)},p(r,n){n&2&&t!==(t=bo(r[1])+"")&&Y(o,t)},d(r){r&&H(e)}}}function Hl(i){let e,t,o,r;return{c(){e=_("div"),t=_("goa-icon"),o=S(),r=q(i[3]),x(t,"type","warning"),x(t,"size","small"),x(t,"theme","filled"),u(e,"class","error-msg"),u(e,"data-testid","error")},m(n,l){k(n,e,l),p(e,t),p(e,o),p(e,r)},p(n,l){l&8&&Y(r,n[3])},d(n){n&&H(e)}}}function Ml(i){let e;return{c(){e=_("div"),e.textContent=`Uploaded on ${Go()}`,u(e,"class","timestamp"),u(e,"data-testid","timestamp")},m(t,o){k(t,e,o)},p:E,d(t){t&&H(e)}}}function Tl(i){let e,t,o,r=Math.ceil(i[2])+"",n,l;return{c(){e=_("div"),t=_("progress"),o=S(),n=q(r),l=q("%"),t.value=i[2],u(t,"max","100"),u(e,"class","progress"),u(e,"data-testid","progress")},m(a,s){k(a,e,s),p(e,t),p(e,o),p(e,n),p(e,l)},p(a,s){s&4&&(t.value=a[2]),s&4&&r!==(r=Math.ceil(a[2])+"")&&Y(n,r)},d(a){a&&H(e)}}}function Al(i){let e,t,o;return{c(){e=_("goa-button"),e.textContent="Cancel",x(e,"type","tertiary"),x(e,"size","compact"),x(e,"variant","destructive")},m(r,n){k(r,e,n),t||(o=G(e,"click",i[11]),t=!0)},p:E,d(r){r&&H(e),t=!1,o()}}}function Rl(i){let e,t,o;return{c(){e=_("goa-button"),e.textContent="Remove",x(e,"type","tertiary"),x(e,"size","compact"),x(e,"leadingicon","trash")},m(r,n){k(r,e,n),t||(o=G(e,"click",i[10]),t=!0)},p:E,d(r){r&&H(e),t=!1,o()}}}function Sl(i){let e,t,o;return{c(){e=_("goa-button"),e.textContent="Cancel",x(e,"type","tertiary"),x(e,"size","compact")},m(r,n){k(r,e,n),t||(o=G(e,"click",i[9]),t=!0)},p:E,d(r){r&&H(e),t=!1,o()}}}function Vl(i){let e,t,o,r,n,l,a,s,c,d;function f(z,V){return z[4]==="uploaded"?Ll:zl}let h=f(i),b=h(i),v=i[4]!=="error"&&mo(i);function w(z,V){if(z[4]==="uploading")return Tl;if(z[4]==="uploaded")return Ml;if(z[4]==="error")return Hl}let y=w(i),g=y&&y(i);function C(z,V){if(z[4]==="uploading")return Sl;if(z[4]==="uploaded")return Rl;if(z[4]==="error")return Al}let A=C(i),T=A&&A(i);return{c(){e=_("div"),b.c(),t=S(),o=_("div"),r=_("div"),n=q(i[0]),l=S(),v&&v.c(),a=S(),g&&g.c(),s=S(),c=_("div"),T&&T.c(),this.c=E,u(r,"class","filename"),u(r,"data-testid","filename"),u(o,"class","details"),u(c,"class","actions"),u(c,"data-testid","actions"),u(e,"data-testid","root"),u(e,"class",d=`root ${i[4]}`),Z(e,"error",i[3])},m(z,V){k(z,e,V),b.m(e,null),p(e,t),p(e,o),p(o,r),p(r,n),p(o,l),v&&v.m(o,null),p(o,a),g&&g.m(o,null),p(e,s),p(e,c),T&&T.m(c,null),i[12](e)},p(z,[V]){h===(h=f(z))&&b?b.p(z,V):(b.d(1),b=h(z),b&&(b.c(),b.m(e,t))),V&1&&Y(n,z[0]),z[4]!=="error"?v?v.p(z,V):(v=mo(z),v.c(),v.m(o,a)):v&&(v.d(1),v=null),y===(y=w(z))&&g?g.p(z,V):(g&&g.d(1),g=y&&y(z),g&&(g.c(),g.m(o,null))),A===(A=C(z))&&T?T.p(z,V):(T&&T.d(1),T=A&&A(z),T&&(T.c(),T.m(c,null))),V&16&&d!==(d=`root ${z[4]}`)&&u(e,"class",d),V&24&&Z(e,"error",z[3])},i:E,o:E,d(z){z&&H(e),b.d(),v&&v.d(),g&&g.d(),T&&T.d(),i[12](null)}}}function Bl(i,e){const t=i.split("."),o=t[t.length-1],r=o==="xlxs"&&"goa-xls"||o==="xls"&&"goa-xls"||o==="zip"&&"goa-zip"||o==="docx"&&"goa-doc"||o==="doc"&&"goa-doc"||o==="pptx"&&"goa-ppt"||o==="ppt"&&"goa-ppt"||o==="pdf"&&"goa-pdf"||o==="html"&&"goa-html";return r||e==="application/vnd.ms-powerpoint"&&"goa-ppt"||e.includes("presentationml")&&"goa-ppt"||e.includes("wordprocessingml")&&"goa-doc"||e.includes("spreadsheet")&&"goa-xls"||e.startsWith("video")&&"goa-video"||e.startsWith("audio")&&"goa-audio"||e.startsWith("image")&&"goa-image"||e==="application/msword"&&"goa-doc"||"goa-file"}function bo(i){switch(!0){case i<1024:return i+"B";case i<1024*1024:return Math.round(i/1024)+"KB";case i<Math.pow(1024,3):return Math.round(i/Math.pow(1024,2))+"MB"}}function Dl(i,e,t){let{filename:o}=e,{size:r}=e,{type:n=""}=e,{progress:l=-1}=e,{error:a=""}=e,s="uploading",c,d="goa-file";function f(y){c.dispatchEvent(new CustomEvent(y,{composed:!0}))}const h=()=>f("_cancel"),b=()=>f("_delete"),v=()=>f("_delete");function w(y){U[y?"unshift":"push"](()=>{c=y,t(5,c)})}return i.$$set=y=>{"filename"in y&&t(0,o=y.filename),"size"in y&&t(1,r=y.size),"type"in y&&t(8,n=y.type),"progress"in y&&t(2,l=y.progress),"error"in y&&t(3,a=y.error)},i.$$.update=()=>{i.$$.dirty&12&&t(4,s=a&&"error"||l>=0&&l<100&&"uploading"||"uploaded"),i.$$.dirty&257&&t(6,d=o&&n&&Bl(o,n))},[o,r,l,a,s,c,d,f,n,h,b,v,w]}class vo extends F{constructor(e){super();const t=document.createElement("style");t.textContent=`.root{padding:var(--goa-space-l);border:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-radius:var(--goa-border-radius-m);margin:0.5rem 0;display:grid;grid-template-columns:38px auto;grid-template-rows:repeat(2, auto);grid-template-areas:"icon details"
|
|
217
|
+
"action action";gap:1rem;align-items:center}.root.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error)}@media(min-width: 480px){.root{grid-template-columns:38px 1fr auto;grid-template-rows:auto;grid-template-areas:"icon details action"}.details{margin-left:0.5rem}}.fileicon{grid-area:icon;align-self:center}.actions{grid-area:action}.details{grid-area:details;display:flex;flex-direction:column;overflow-x:hidden}.filename{grid-area:filename;font-size:var(--goa-font-size-4);overflow-wrap:anywhere}.error-msg{display:flex;align-items:flex-start;margin-top:0.5rem;gap:var(--goa-space-2xs);color:var(--goa-color-interactive-error);font:var(--goa-typography-body-xs)}.timestamp,.filesize{color:var(--goa-color-greyscale-700);font:var(--goa-typography-body-s)}.progress{display:flex;align-items:center;font:var(--goa-typography-body-xs);gap:0.5rem}progress{flex:1 1 auto;-webkit-appearance:none;appearance:none;height:4px;border:none;border-radius:var(--goa-border-radius-m);background:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-700)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}`,this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Dl,Vl,O,{filename:0,size:1,type:8,progress:2,error:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["filename","size","type","progress","error"]}get filename(){return this.$$.ctx[0]}set filename(e){this.$$set({filename:e}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get type(){return this.$$.ctx[8]}set type(e){this.$$set({type:e}),m()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),m()}get error(){return this.$$.ctx[3]}set error(e){this.$$set({error:e}),m()}}customElements.define("goa-file-upload-card",vo);const{window:po}=gt;function Nl(i){let e,t,o,r,n,l,a,s,c,d,f,h,b,v=i[1]&&wo(i),w=i[8]&&yo(i);return{c(){e=_("button"),v&&v.c(),t=S(),o=_("span"),r=q(i[0]),n=S(),l=_("goa-spacer"),a=S(),s=_("goa-icon"),d=S(),w&&w.c(),f=be(),u(o,"class","heading"),x(l,"hspacing","fill"),x(s,"type",c=i[8]?"chevron-up":"chevron-down"),x(s,"mt","1"),u(e,"class",i[2]),Z(e,"open",i[8])},m(y,g){k(y,e,g),v&&v.m(e,null),p(e,t),p(e,o),p(o,r),p(e,n),p(e,l),p(e,a),p(e,s),k(y,d,g),w&&w.m(y,g),k(y,f,g),h||(b=G(e,"click",i[9]),h=!0)},p(y,g){y[1]?v?v.p(y,g):(v=wo(y),v.c(),v.m(e,t)):v&&(v.d(1),v=null),g&1&&Y(r,y[0]),g&256&&c!==(c=y[8]?"chevron-up":"chevron-down")&&x(s,"type",c),g&4&&u(e,"class",y[2]),g&260&&Z(e,"open",y[8]),y[8]?w?w.p(y,g):(w=yo(y),w.c(),w.m(f.parentNode,f)):w&&(w.d(1),w=null)},d(y){y&&H(e),v&&v.d(),y&&H(d),w&&w.d(y),y&&H(f),h=!1,b()}}}function Il(i){let e,t,o,r,n,l,a,s,c,d=i[1]&&_o(i);return{c(){e=_("goa-popover"),t=_("button"),d&&d.c(),o=S(),r=q(i[0]),n=S(),l=_("goa-icon"),s=S(),c=_("div"),c.innerHTML="<slot></slot>",x(l,"type",a=i[8]?"chevron-up":"chevron-down"),x(l,"mt","1"),u(t,"slot","target"),ie(t,"padding","0 0.75rem"),u(t,"class",i[2]),Z(t,"current",i[7]),u(c,"class","desktop"),x(e,"context","app-header-menu"),x(e,"focusborderwidth","0"),x(e,"borderradius","0"),x(e,"padded","false"),x(e,"tabindex","-1"),x(e,"width","16rem"),x(e,"position","below")},m(f,h){k(f,e,h),p(e,t),d&&d.m(t,null),p(t,o),p(t,r),p(t,n),p(t,l),p(e,s),p(e,c),i[11](c),i[12](e)},p(f,h){f[1]?d?d.p(f,h):(d=_o(f),d.c(),d.m(t,o)):d&&(d.d(1),d=null),h&1&&Y(r,f[0]),h&256&&a!==(a=f[8]?"chevron-up":"chevron-down")&&x(l,"type",a),h&4&&u(t,"class",f[2]),h&132&&Z(t,"current",f[7])},d(f){f&&H(e),d&&d.d(),i[11](null),i[12](null)}}}function wo(i){let e;return{c(){e=_("goa-icon"),x(e,"type",i[1]),x(e,"mt","1")},m(t,o){k(t,e,o)},p(t,o){o&2&&x(e,"type",t[1])},d(t){t&&H(e)}}}function yo(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"class","not-desktop")},m(t,o){k(t,e,o),i[13](e)},p:E,d(t){t&&H(e),i[13](null)}}}function _o(i){let e;return{c(){e=_("goa-icon"),x(e,"type",i[1]),x(e,"mt","1")},m(t,o){k(t,e,o)},p(t,o){o&2&&x(e,"type",t[1])},d(t){t&&H(e)}}}function Pl(i){let e,t,o;we(i[10]);function r(a,s){return a[4]?Il:Nl}let n=r(i),l=n(i);return{c(){l.c(),e=be(),this.c=E},m(a,s){l.m(a,s),k(a,e,s),t||(o=G(po,"resize",i[10]),t=!0)},p(a,[s]){n===(n=r(a))&&l?l.p(a,s):(l.d(1),l=n(a),l&&(l.c(),l.m(e.parentNode,e)))},i:E,o:E,d(a){l.d(a),a&&H(e),t=!1,o()}}}function Zl(i,e,t){let o,{heading:r}=e,{leadingicon:n}=e,{type:l="primary"}=e,a=window.innerWidth,s,c,d=!1,f=!1;J(async()=>{await se(),Je("GoaAppHeaderMenu",{heading:r}),t(7,d=h()),window.addEventListener("popstate",()=>{t(7,d=h())},!0)});function h(){if(!c)return;const z=c.querySelector("slot");return z?!!z.assignedElements().filter(R=>R.tagName==="A").find(R=>{const L=R.href,M=`${window.location.pathname}${window.location.search}${window.location.hash}`;return L.endsWith(M)}):void 0}async function b(){await se(),!!s&&(s.removeEventListener("_close",w),s.removeEventListener("_open",v),s.addEventListener("_close",w),s.addEventListener("_open",v))}function v(){t(8,f=!0)}function w(){setTimeout(()=>{t(8,f=!1)},1)}function y(){f?w():v()}function g(){t(3,a=po.innerWidth)}function C(z){U[z?"unshift":"push"](()=>{c=z,t(6,c)})}function A(z){U[z?"unshift":"push"](()=>{s=z,t(5,s)})}function T(z){U[z?"unshift":"push"](()=>{c=z,t(6,c)})}return i.$$set=z=>{"heading"in z&&t(0,r=z.heading),"leadingicon"in z&&t(1,n=z.leadingicon),"type"in z&&t(2,l=z.type)},i.$$.update=()=>{i.$$.dirty&8&&t(4,o=a>=960),i.$$.dirty&16&&o&&b()},[r,n,l,a,o,s,c,d,f,y,g,C,A,T]}class ko extends F{constructor(e){super();const t=document.createElement("style");t.textContent='*{font:var(--goa-typography-body-m)}button{padding:0;border:none;background:transparent;outline:none;color:var(--goa-color-text-default);cursor:pointer;display:flex;align-items:center;gap:0.5rem}button:active,button:hover,button:focus-within,[slot="target"]:focus-within{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}button.current{border-top:4px solid var(--goa-color-interactive-default);border-bottom:4px solid transparent}button.current:hover{border-top:4px solid var(--goa-color-interactive-hover)}button.open{border-bottom:1px solid var(--goa-color-greyscale-200)}::slotted(a),::slotted(a:visited){box-shadow:inset 0 1px 0 0 var(--goa-color-greyscale-200);color:var(--goa-color-text-default);display:block;padding:calc((3rem - var(--goa-line-height-3)) / 2) 1rem;text-decoration:none}.not-desktop ::slotted(a){padding:calc((3rem - var(--goa-line-height-3)) / 2) 2.75rem}::slotted(a:first-child){box-shadow:none}::slotted(a:hover){background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}::slotted(a:focus-visible){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:-3px;color:var(--goa-color-interactive-hover)}::slotted(a.interactive){text-decoration:underline;color:var(--goa-color-interactive-default)}@media(max-width: 959px){button{box-shadow:inset 0 1px 0 0 var(--goa-color-greyscale-200);height:3rem;flex:1 1 auto;padding:0 1rem;width:100%}button:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus);outline-offset:-3px}.heading{flex:0 0 auto}}@media(min-width: 960px){button[slot=target]{font-weight:var(--goa-font-weight-bold);height:4rem;white-space:nowrap}button.secondary{font-weight:var(--goa-font-weight-regular)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Zl,Pl,O,{heading:0,leadingicon:1,type:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","leadingicon","type"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get leadingicon(){return this.$$.ctx[1]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),m()}}customElements.define("goa-app-header-menu",ko);function Ol(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=E,u(e,"class","side-menu")},m(t,o){k(t,e,o),i[1](e)},p:E,i:E,o:E,d(t){t&&H(e),i[1](null)}}}function ql(i,e,t){let o;J(async()=>{await se(),r(window.location.toString()),n()});function r(a){const s=o.querySelector("slot");if(!s)return!1;s.assignedElements().filter(d=>d.tagName==="A").forEach(d=>{a.endsWith(d.getAttribute("href"))?d.classList.add("current"):d.classList.remove("current")})}function n(){let a=document.location.href;new MutationObserver(c=>{a!==document.location.href&&(a=document.location.href,r(a))}).observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("popstate",()=>{r(document.location.href)})}function l(a){U[a?"unshift":"push"](()=>{o=a,t(0,o)})}return[o,l]}class Co extends F{constructor(e){super();const t=document.createElement("style");t.textContent="::slotted(a),::slotted(a:visited){color:var(--goa-color-text-default) !important;display:block;font:var(--goa-typography-body-m);padding:0.5rem 1rem 0.5rem 2rem;text-decoration:none}::slotted(a.current){font:var(--goa-typography-heading-s);background:#CEDFEE}::slotted(a:hover:not(.current)){background:#CEDFEE}::slotted(a:focus-visible){outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.side-menu{display:block}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},ql,Ol,O,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-side-menu",Co);function Fl(i){let e;return{c(){e=_("goa-icon"),x(e,"type","chevron-forward")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function jl(i){let e;return{c(){e=_("goa-icon"),x(e,"type","chevron-down")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Wl(i){let e,t,o,r,n,l,a,s,c;function d(b,v){return b[1]?jl:Fl}let f=d(i),h=f(i);return{c(){e=_("div"),t=_("a"),o=q(i[0]),r=S(),h.c(),l=S(),a=_("div"),a.innerHTML="<slot></slot>",this.c=E,u(t,"href",n=`#${i[4]}`),u(t,"class","heading"),u(a,"class","group"),u(a,"data-testid","group"),Z(a,"hidden",!i[1]),u(e,"class","side-menu-group"),Z(e,"current",i[2])},m(b,v){k(b,e,v),p(e,t),p(t,o),p(t,r),h.m(t,null),p(e,l),p(e,a),i[6](e),s||(c=G(t,"click",i[5]),s=!0)},p(b,[v]){v&1&&Y(o,b[0]),f!==(f=d(b))&&(h.d(1),h=f(b),h&&(h.c(),h.m(t,null))),v&16&&n!==(n=`#${b[4]}`)&&u(t,"href",n),v&2&&Z(a,"hidden",!b[1]),v&4&&Z(e,"current",b[2])},i:E,o:E,d(b){b&&H(e),h.d(),i[6](null),s=!1,c()}}}function xo(i){return i==null?void 0:i.toLowerCase().replace(/ /g,"-")}function Gl(i,e){if(e.endsWith(xo(i.heading)))return!0;const t=i.querySelector("slot");return t?!!t.assignedElements().find(r=>e.endsWith(r.getAttribute("href"))):!1}function Ul(i,e,t){let o,{heading:r}=e,n=!1,l=!1,a;J(async()=>{await se(),s(),f(),c()});function s(){const w=window.location.href;t(1,n=d(w)||Gl(a,w)),n&&b(!0)}function c(){a.addEventListener("_open",()=>{t(1,n=!0),t(2,l=!0)});let w=document.location.href;new MutationObserver(g=>{w!==document.location.href&&(w=document.location.href,f())}).observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("popstate",()=>{f()})}function d(w){return w.endsWith(o)}function f(){const w=document.location.href,y=a.querySelector("slot");if(!y)return!1;const g=y.assignedElements();t(2,l=!1),g.forEach(C=>{w.endsWith(C.getAttribute("href"))?(t(2,l=!0),C.classList.add("current"),b(!0)):C.classList.remove("current"),C.tagName==="GOA-SIDE-MENU-GROUP"&&C.setAttribute("child","true")})}function h(w){t(1,n=!n),w.preventDefault()}function b(w){a.dispatchEvent(new CustomEvent("_open",{bubbles:!0,composed:!0,detail:{current:w}}))}function v(w){U[w?"unshift":"push"](()=>{a=w,t(3,a)})}return i.$$set=w=>{"heading"in w&&t(0,r=w.heading)},i.$$.update=()=>{i.$$.dirty&1&&t(4,o=xo(r))},[r,n,l,a,o,h,v]}class Eo extends F{constructor(e){super();const t=document.createElement("style");t.textContent="::slotted(a),::slotted(a:visited){color:var(--goa-color-text-default) !important;display:block;font:var(--goa-typography-body-m);border-left:4px solid var(--goa-color-greyscale-100);padding:0.5rem 1rem;margin-left:1rem;text-decoration:none}::slotted(a.current){font:var(--goa-typography-heading-s);border-left:4px solid var(--goa-color-interactive-disabled);background:var(--goa-color-info-background)}::slotted(a:hover:not(.current)){background:var(--goa-color-info-background);border-color:var(--goa-color-greyscale-200)}::slotted(a:focus-visible),.heading:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}:host([child=true]) a.heading,.heading{color:var(--goa-color-text-default);display:flex;align-items:center;justify-content:space-between;line-height:2rem;padding:0.5rem 1rem 0.5rem 2rem;text-decoration:none}:host([child=true]) a.heading{margin-left:1rem;border-left:4px solid var(--goa-color-greyscale-100);padding:0.5rem 1rem 0.5rem 1rem}:host([child=true]) a.heading:hover{border-color:var(--goa-color-greyscale-200);background:var(--goa-color-info-background)}:host([child=true]) .side-menu-group.current a.heading{background:var(--goa-color-info-background);border-left:4px solid var(--goa-color-interactive-disabled)}.side-menu-group.current .heading{background:#CEDFEE}.heading:hover{background:#CEDFEE}.hidden{display:none}.group{padding-left:1rem}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Ul,Wl,O,{heading:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}}customElements.define("goa-side-menu-group",Eo);function Kl(i){let e,t,o,r,n,l,a,s;return{c(){e=_("div"),t=_("div"),o=S(),r=_("div"),r.innerHTML="<slot></slot>",n=S(),l=_("button"),l.innerHTML='<div class="tab"></div>',a=S(),s=_("button"),this.c=E,u(t,"class","tabs"),u(r,"class","tabpanel"),u(r,"tabindex","0"),u(r,"role","tabpanel"),u(e,"role","tablist"),u(l,"role","tab"),u(l,"aria-selected","false"),ie(l,"display","none"),u(s,"role","tab"),u(s,"aria-selected","true"),ie(s,"display","none")},m(c,d){k(c,e,d),p(e,t),i[4](t),p(e,o),p(e,r),i[5](r),i[6](e),k(c,n,d),k(c,l,d),k(c,a,d),k(c,s,d)},p:E,i:E,o:E,d(c){c&&H(e),i[4](null),i[5](null),i[6](null),c&&H(n),c&&H(l),c&&H(a),c&&H(s)}}}function Xl(i,e,t){let{initialtab:o=1}=e,r,n=[],l,a,s=1;J(async()=>{await se(),c();const g=r.querySelector("slot");g?n=g.assignedElements():n=[...r.querySelectorAll("goa-tab")],n.map((C,A)=>{let T=[...C.children].find(V=>V.getAttribute("slot")==="heading");!T&&C.getAttribute("heading")&&(T=document.createElement("div"),T.textContent=C.getAttribute("heading"));const z=document.createElement("button");T.classList.add("tab"),z.appendChild(T),z.setAttribute("id",`tab-${A+1}`),z.setAttribute("role","tab"),z.addEventListener("click",()=>f(A+1)),z.setAttribute("aria-controls",`tabpanel-${A+1}`),l.appendChild(z)}),f(o)}),ht(()=>{d()});function c(){r.addEventListener("focus",h,!0)}function d(){r.removeEventListener("focus",h,!0)}function f(g){g>n.length&&(g=n.length),g<1&&(g=1),s=+g,[...l.querySelectorAll("[role=tab]")].map((C,A)=>{n[A].setAttribute("open","false"),C.setAttribute("aria-selected",A+1===s?"true":"false"),C.setAttribute("tabindex",A+1===s?"0":"-1"),A+1===s&&(C.focus(),C.removeAttribute("tabindex"),n[A].setAttribute("open","true"))}),a.setAttribute("aria-labelledby",`tab-${s}`),a.setAttribute("id",`tabpanel-${s}`)}function h(){r.addEventListener("keydown",b)}function b(g){let C=!1;switch(g.key){case"ArrowUp":case"ArrowLeft":f(s===1?n.length:s-1),C=!0;break;case"ArrowDown":case"ArrowRight":s===n.length?f(1):f(s+1),C=!0;break;case"Home":f(1),C=!0;break;case"End":f(n.length),C=!0;break}C&&(g.stopPropagation(),g.preventDefault())}function v(g){U[g?"unshift":"push"](()=>{l=g,t(1,l)})}function w(g){U[g?"unshift":"push"](()=>{a=g,t(2,a)})}function y(g){U[g?"unshift":"push"](()=>{r=g,t(0,r)})}return i.$$set=g=>{"initialtab"in g&&t(3,o=g.initialtab)},[r,l,a,o,v,w,y]}class zo extends F{constructor(e){super();const t=document.createElement("style");t.textContent=':host{box-sizing:border-box;font:var(--goa-typography-body-m)}.tab{display:flex;gap:var(--goa-space-xs)}[role="tab"]{background:none;overflow:hidden;white-space:nowrap;cursor:pointer;border:none;font:var(--goa-typography-body-m);color:var(--goa-color-text-default);letter-spacing:0.03125rem}[role="tab"][aria-selected="true"]{font:var(--goa-typography-heading-s)}[role="tab"]:focus-visible{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}[role="tab"]:hover:not([aria-selected="true"]),[role="tab"]:focus:not([aria-selected="true"]),[role="tab"]:focus-visible:not([aria-selected="true"]){border-color:var(--goa-color-greyscale-200)}@media(min-width: 640px){[role="tablist"]{border-bottom:none}.tabs{border-bottom:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);display:flex;gap:var(--goa-space-xl)}[role="tab"]{padding:var(--goa-space-s) var(--goa-space-m);border-bottom:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default)}}@media(max-width: 639px){[role="tab"]{width:100%;padding:var(--goa-space-xs) 0;padding-left:12px;border-left:4px solid transparent}[role="tab"][aria-selected="true"]{border-color:var(--goa-color-interactive-default);background:var(--goa-color-info-background)}}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Xl,Kl,O,{initialtab:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["initialtab"]}get initialtab(){return this.$$.ctx[3]}set initialtab(e){this.$$set({initialtab:e}),m()}}customElements.define("goa-tabs",zo);function Lo(i){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",u(e,"role","tabpanel")},m(t,o){k(t,e,o)},d(t){t&&H(e)}}}function Yl(i){let e,t,o,r,n=i[1]&&Lo();return{c(){e=_("slot"),t=q(i[0]),o=S(),n&&n.c(),r=be(),this.c=E,ie(e,"display","none"),u(e,"name","heading")},m(l,a){k(l,e,a),p(e,t),k(l,o,a),n&&n.m(l,a),k(l,r,a)},p(l,[a]){a&1&&Y(t,l[0]),l[1]?n||(n=Lo(),n.c(),n.m(r.parentNode,r)):n&&(n.d(1),n=null)},i:E,o:E,d(l){l&&H(e),l&&H(o),n&&n.d(l),l&&H(r)}}}function Jl(i,e,t){let{heading:o=""}=e,{open:r="false"}=e,n;return i.$$set=l=>{"heading"in l&&t(0,o=l.heading),"open"in l&&t(2,r=l.open)},i.$$.update=()=>{i.$$.dirty&4&&t(1,n=$(r))},[o,n,r]}class Ho extends F{constructor(e){super();const t=document.createElement("style");t.textContent="[role=tabpanel]{padding-top:2rem}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:j(this.attributes),customElement:!0},Jl,Yl,O,{heading:0,open:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","open"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get open(){return this.$$.ctx[2]}set open(e){this.$$set({open:e}),m()}}customElements.define("goa-tab",Ho),ge.AppHeaderMenu=ko,ge.FileUploadCard=vo,ge.FileUploadInput=ho,ge.FormStep=ro,ge.FormStepper=io,ge.Pages=no,ge.Pagination=Pi,ge.SideMenu=Co,ge.SideMenuGroup=Eo,ge.Tab=Ho,ge.Tabs=zo,Object.defineProperty(ge,"__esModule",{value:!0}),ge[Symbol.toStringTag]="Module"});
|