@abgov/web-components 1.0.0-alpha.56 → 1.0.0-alpha.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web-components.es.js +244 -39
- package/web-components.umd.js +12 -12
package/package.json
CHANGED
package/web-components.es.js
CHANGED
|
@@ -1050,7 +1050,7 @@ function toBoolean(value) {
|
|
|
1050
1050
|
|
|
1051
1051
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.44.3 */
|
|
1052
1052
|
|
|
1053
|
-
function create_else_block$
|
|
1053
|
+
function create_else_block$3(ctx) {
|
|
1054
1054
|
let div;
|
|
1055
1055
|
|
|
1056
1056
|
return {
|
|
@@ -1070,7 +1070,7 @@ function create_else_block$2(ctx) {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
|
|
1072
1072
|
// (35:2) {#if showIcon}
|
|
1073
|
-
function create_if_block_1$
|
|
1073
|
+
function create_if_block_1$9(ctx) {
|
|
1074
1074
|
let goa_icon;
|
|
1075
1075
|
|
|
1076
1076
|
return {
|
|
@@ -1094,7 +1094,7 @@ function create_if_block_1$8(ctx) {
|
|
|
1094
1094
|
}
|
|
1095
1095
|
|
|
1096
1096
|
// (40:2) {#if content}
|
|
1097
|
-
function create_if_block$
|
|
1097
|
+
function create_if_block$d(ctx) {
|
|
1098
1098
|
let div;
|
|
1099
1099
|
let t;
|
|
1100
1100
|
|
|
@@ -1123,13 +1123,13 @@ function create_fragment$u(ctx) {
|
|
|
1123
1123
|
let div_class_value;
|
|
1124
1124
|
|
|
1125
1125
|
function select_block_type(ctx, dirty) {
|
|
1126
|
-
if (/*showIcon*/ ctx[4]) return create_if_block_1$
|
|
1127
|
-
return create_else_block$
|
|
1126
|
+
if (/*showIcon*/ ctx[4]) return create_if_block_1$9;
|
|
1127
|
+
return create_else_block$3;
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
1130
|
let current_block_type = select_block_type(ctx);
|
|
1131
1131
|
let if_block0 = current_block_type(ctx);
|
|
1132
|
-
let if_block1 = /*content*/ ctx[2] && create_if_block$
|
|
1132
|
+
let if_block1 = /*content*/ ctx[2] && create_if_block$d(ctx);
|
|
1133
1133
|
|
|
1134
1134
|
return {
|
|
1135
1135
|
c() {
|
|
@@ -1166,7 +1166,7 @@ function create_fragment$u(ctx) {
|
|
|
1166
1166
|
if (if_block1) {
|
|
1167
1167
|
if_block1.p(ctx, dirty);
|
|
1168
1168
|
} else {
|
|
1169
|
-
if_block1 = create_if_block$
|
|
1169
|
+
if_block1 = create_if_block$d(ctx);
|
|
1170
1170
|
if_block1.c();
|
|
1171
1171
|
if_block1.m(div, null);
|
|
1172
1172
|
}
|
|
@@ -1238,7 +1238,7 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
|
1238
1238
|
class Badge extends SvelteElement {
|
|
1239
1239
|
constructor(options) {
|
|
1240
1240
|
super();
|
|
1241
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>`;
|
|
1241
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>`;
|
|
1242
1242
|
|
|
1243
1243
|
init(
|
|
1244
1244
|
this,
|
|
@@ -1311,26 +1311,172 @@ customElements.define("goa-badge", Badge);
|
|
|
1311
1311
|
|
|
1312
1312
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.44.3 */
|
|
1313
1313
|
|
|
1314
|
+
function create_else_block$2(ctx) {
|
|
1315
|
+
let t0;
|
|
1316
|
+
let slot;
|
|
1317
|
+
let t1;
|
|
1318
|
+
let if_block1_anchor;
|
|
1319
|
+
let if_block0 = /*leadingicon*/ ctx[4] && create_if_block_2$5(ctx);
|
|
1320
|
+
let if_block1 = /*trailingicon*/ ctx[5] && create_if_block_1$8(ctx);
|
|
1321
|
+
|
|
1322
|
+
return {
|
|
1323
|
+
c() {
|
|
1324
|
+
if (if_block0) if_block0.c();
|
|
1325
|
+
t0 = space();
|
|
1326
|
+
slot = element("slot");
|
|
1327
|
+
t1 = space();
|
|
1328
|
+
if (if_block1) if_block1.c();
|
|
1329
|
+
if_block1_anchor = empty();
|
|
1330
|
+
},
|
|
1331
|
+
m(target, anchor) {
|
|
1332
|
+
if (if_block0) if_block0.m(target, anchor);
|
|
1333
|
+
insert(target, t0, anchor);
|
|
1334
|
+
insert(target, slot, anchor);
|
|
1335
|
+
insert(target, t1, anchor);
|
|
1336
|
+
if (if_block1) if_block1.m(target, anchor);
|
|
1337
|
+
insert(target, if_block1_anchor, anchor);
|
|
1338
|
+
},
|
|
1339
|
+
p(ctx, dirty) {
|
|
1340
|
+
if (/*leadingicon*/ ctx[4]) {
|
|
1341
|
+
if (if_block0) {
|
|
1342
|
+
if_block0.p(ctx, dirty);
|
|
1343
|
+
} else {
|
|
1344
|
+
if_block0 = create_if_block_2$5(ctx);
|
|
1345
|
+
if_block0.c();
|
|
1346
|
+
if_block0.m(t0.parentNode, t0);
|
|
1347
|
+
}
|
|
1348
|
+
} else if (if_block0) {
|
|
1349
|
+
if_block0.d(1);
|
|
1350
|
+
if_block0 = null;
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
if (/*trailingicon*/ ctx[5]) {
|
|
1354
|
+
if (if_block1) {
|
|
1355
|
+
if_block1.p(ctx, dirty);
|
|
1356
|
+
} else {
|
|
1357
|
+
if_block1 = create_if_block_1$8(ctx);
|
|
1358
|
+
if_block1.c();
|
|
1359
|
+
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
1360
|
+
}
|
|
1361
|
+
} else if (if_block1) {
|
|
1362
|
+
if_block1.d(1);
|
|
1363
|
+
if_block1 = null;
|
|
1364
|
+
}
|
|
1365
|
+
},
|
|
1366
|
+
d(detaching) {
|
|
1367
|
+
if (if_block0) if_block0.d(detaching);
|
|
1368
|
+
if (detaching) detach(t0);
|
|
1369
|
+
if (detaching) detach(slot);
|
|
1370
|
+
if (detaching) detach(t1);
|
|
1371
|
+
if (if_block1) if_block1.d(detaching);
|
|
1372
|
+
if (detaching) detach(if_block1_anchor);
|
|
1373
|
+
}
|
|
1374
|
+
};
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
// (33:2) {#if type === "get-started"}
|
|
1378
|
+
function create_if_block$c(ctx) {
|
|
1379
|
+
let slot;
|
|
1380
|
+
let t;
|
|
1381
|
+
let goa_icon;
|
|
1382
|
+
|
|
1383
|
+
return {
|
|
1384
|
+
c() {
|
|
1385
|
+
slot = element("slot");
|
|
1386
|
+
t = space();
|
|
1387
|
+
goa_icon = element("goa-icon");
|
|
1388
|
+
set_custom_element_data(goa_icon, "type", "arrow-forward");
|
|
1389
|
+
set_custom_element_data(goa_icon, "inverted", "true");
|
|
1390
|
+
},
|
|
1391
|
+
m(target, anchor) {
|
|
1392
|
+
insert(target, slot, anchor);
|
|
1393
|
+
insert(target, t, anchor);
|
|
1394
|
+
insert(target, goa_icon, anchor);
|
|
1395
|
+
},
|
|
1396
|
+
p: noop,
|
|
1397
|
+
d(detaching) {
|
|
1398
|
+
if (detaching) detach(slot);
|
|
1399
|
+
if (detaching) detach(t);
|
|
1400
|
+
if (detaching) detach(goa_icon);
|
|
1401
|
+
}
|
|
1402
|
+
};
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1405
|
+
// (37:4) {#if leadingicon}
|
|
1406
|
+
function create_if_block_2$5(ctx) {
|
|
1407
|
+
let goa_icon;
|
|
1408
|
+
|
|
1409
|
+
return {
|
|
1410
|
+
c() {
|
|
1411
|
+
goa_icon = element("goa-icon");
|
|
1412
|
+
set_custom_element_data(goa_icon, "type", /*leadingicon*/ ctx[4]);
|
|
1413
|
+
set_custom_element_data(goa_icon, "inverted", "true");
|
|
1414
|
+
},
|
|
1415
|
+
m(target, anchor) {
|
|
1416
|
+
insert(target, goa_icon, anchor);
|
|
1417
|
+
},
|
|
1418
|
+
p(ctx, dirty) {
|
|
1419
|
+
if (dirty & /*leadingicon*/ 16) {
|
|
1420
|
+
set_custom_element_data(goa_icon, "type", /*leadingicon*/ ctx[4]);
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
d(detaching) {
|
|
1424
|
+
if (detaching) detach(goa_icon);
|
|
1425
|
+
}
|
|
1426
|
+
};
|
|
1427
|
+
}
|
|
1428
|
+
|
|
1429
|
+
// (41:4) {#if trailingicon}
|
|
1430
|
+
function create_if_block_1$8(ctx) {
|
|
1431
|
+
let goa_icon;
|
|
1432
|
+
|
|
1433
|
+
return {
|
|
1434
|
+
c() {
|
|
1435
|
+
goa_icon = element("goa-icon");
|
|
1436
|
+
set_custom_element_data(goa_icon, "type", /*trailingicon*/ ctx[5]);
|
|
1437
|
+
set_custom_element_data(goa_icon, "inverted", "true");
|
|
1438
|
+
},
|
|
1439
|
+
m(target, anchor) {
|
|
1440
|
+
insert(target, goa_icon, anchor);
|
|
1441
|
+
},
|
|
1442
|
+
p(ctx, dirty) {
|
|
1443
|
+
if (dirty & /*trailingicon*/ 32) {
|
|
1444
|
+
set_custom_element_data(goa_icon, "type", /*trailingicon*/ ctx[5]);
|
|
1445
|
+
}
|
|
1446
|
+
},
|
|
1447
|
+
d(detaching) {
|
|
1448
|
+
if (detaching) detach(goa_icon);
|
|
1449
|
+
}
|
|
1450
|
+
};
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1314
1453
|
function create_fragment$t(ctx) {
|
|
1315
1454
|
let button;
|
|
1316
|
-
let slot;
|
|
1317
1455
|
let button_class_value;
|
|
1318
1456
|
let mounted;
|
|
1319
1457
|
let dispose;
|
|
1320
1458
|
|
|
1459
|
+
function select_block_type(ctx, dirty) {
|
|
1460
|
+
if (/*type*/ ctx[0] === "get-started") return create_if_block$c;
|
|
1461
|
+
return create_else_block$2;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
let current_block_type = select_block_type(ctx);
|
|
1465
|
+
let if_block = current_block_type(ctx);
|
|
1466
|
+
|
|
1321
1467
|
return {
|
|
1322
1468
|
c() {
|
|
1323
1469
|
button = element("button");
|
|
1324
|
-
|
|
1470
|
+
if_block.c();
|
|
1325
1471
|
this.c = noop;
|
|
1326
1472
|
attr(button, "class", button_class_value = "" + (/*type*/ ctx[0] + " " + /*size*/ ctx[1] + " " + /*variant*/ ctx[2]));
|
|
1327
1473
|
attr(button, "title", /*title*/ ctx[3]);
|
|
1328
|
-
button.disabled = /*isDisabled*/ ctx[
|
|
1329
|
-
attr(button, "data-testid", /*testid*/ ctx[
|
|
1474
|
+
button.disabled = /*isDisabled*/ ctx[7];
|
|
1475
|
+
attr(button, "data-testid", /*testid*/ ctx[6]);
|
|
1330
1476
|
},
|
|
1331
1477
|
m(target, anchor) {
|
|
1332
1478
|
insert(target, button, anchor);
|
|
1333
|
-
|
|
1479
|
+
if_block.m(button, null);
|
|
1334
1480
|
|
|
1335
1481
|
if (!mounted) {
|
|
1336
1482
|
dispose = listen(button, "click", clickHandler);
|
|
@@ -1338,6 +1484,18 @@ function create_fragment$t(ctx) {
|
|
|
1338
1484
|
}
|
|
1339
1485
|
},
|
|
1340
1486
|
p(ctx, [dirty]) {
|
|
1487
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
1488
|
+
if_block.p(ctx, dirty);
|
|
1489
|
+
} else {
|
|
1490
|
+
if_block.d(1);
|
|
1491
|
+
if_block = current_block_type(ctx);
|
|
1492
|
+
|
|
1493
|
+
if (if_block) {
|
|
1494
|
+
if_block.c();
|
|
1495
|
+
if_block.m(button, null);
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1341
1499
|
if (dirty & /*type, size, variant*/ 7 && button_class_value !== (button_class_value = "" + (/*type*/ ctx[0] + " " + /*size*/ ctx[1] + " " + /*variant*/ ctx[2]))) {
|
|
1342
1500
|
attr(button, "class", button_class_value);
|
|
1343
1501
|
}
|
|
@@ -1346,18 +1504,19 @@ function create_fragment$t(ctx) {
|
|
|
1346
1504
|
attr(button, "title", /*title*/ ctx[3]);
|
|
1347
1505
|
}
|
|
1348
1506
|
|
|
1349
|
-
if (dirty & /*isDisabled*/
|
|
1350
|
-
button.disabled = /*isDisabled*/ ctx[
|
|
1507
|
+
if (dirty & /*isDisabled*/ 128) {
|
|
1508
|
+
button.disabled = /*isDisabled*/ ctx[7];
|
|
1351
1509
|
}
|
|
1352
1510
|
|
|
1353
|
-
if (dirty & /*testid*/
|
|
1354
|
-
attr(button, "data-testid", /*testid*/ ctx[
|
|
1511
|
+
if (dirty & /*testid*/ 64) {
|
|
1512
|
+
attr(button, "data-testid", /*testid*/ ctx[6]);
|
|
1355
1513
|
}
|
|
1356
1514
|
},
|
|
1357
1515
|
i: noop,
|
|
1358
1516
|
o: noop,
|
|
1359
1517
|
d(detaching) {
|
|
1360
1518
|
if (detaching) detach(button);
|
|
1519
|
+
if_block.d();
|
|
1361
1520
|
mounted = false;
|
|
1362
1521
|
dispose();
|
|
1363
1522
|
}
|
|
@@ -1372,10 +1531,12 @@ function clickHandler(e) {
|
|
|
1372
1531
|
function instance$p($$self, $$props, $$invalidate) {
|
|
1373
1532
|
let isDisabled;
|
|
1374
1533
|
let { type = "primary" } = $$props;
|
|
1375
|
-
let { size = "
|
|
1534
|
+
let { size = "normal" } = $$props;
|
|
1376
1535
|
let { variant = "default" } = $$props;
|
|
1377
1536
|
let { title = "" } = $$props;
|
|
1378
1537
|
let { disabled = "false" } = $$props;
|
|
1538
|
+
let { leadingicon = null } = $$props;
|
|
1539
|
+
let { trailingicon = null } = $$props;
|
|
1379
1540
|
let { testid = "" } = $$props;
|
|
1380
1541
|
|
|
1381
1542
|
$$self.$$set = $$props => {
|
|
@@ -1383,30 +1544,42 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
|
1383
1544
|
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
1384
1545
|
if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
|
|
1385
1546
|
if ('title' in $$props) $$invalidate(3, title = $$props.title);
|
|
1386
|
-
if ('disabled' in $$props) $$invalidate(
|
|
1387
|
-
if ('
|
|
1547
|
+
if ('disabled' in $$props) $$invalidate(8, disabled = $$props.disabled);
|
|
1548
|
+
if ('leadingicon' in $$props) $$invalidate(4, leadingicon = $$props.leadingicon);
|
|
1549
|
+
if ('trailingicon' in $$props) $$invalidate(5, trailingicon = $$props.trailingicon);
|
|
1550
|
+
if ('testid' in $$props) $$invalidate(6, testid = $$props.testid);
|
|
1388
1551
|
};
|
|
1389
1552
|
|
|
1390
1553
|
$$self.$$.update = () => {
|
|
1391
|
-
if ($$self.$$.dirty & /*disabled*/
|
|
1554
|
+
if ($$self.$$.dirty & /*disabled*/ 256) {
|
|
1392
1555
|
// export let type: ButtonType = "primary";
|
|
1393
1556
|
// export let size: ButtonSize = "medium";
|
|
1394
1557
|
// export let variant: ButtonVariant = "default";
|
|
1395
1558
|
// export let title: string = "";
|
|
1396
1559
|
// export let disabled: WCBoolean = WC_FALSE;
|
|
1397
|
-
$$invalidate(
|
|
1560
|
+
$$invalidate(7, isDisabled = toBoolean(disabled));
|
|
1398
1561
|
}
|
|
1399
1562
|
};
|
|
1400
1563
|
|
|
1401
|
-
return [
|
|
1564
|
+
return [
|
|
1565
|
+
type,
|
|
1566
|
+
size,
|
|
1567
|
+
variant,
|
|
1568
|
+
title,
|
|
1569
|
+
leadingicon,
|
|
1570
|
+
trailingicon,
|
|
1571
|
+
testid,
|
|
1572
|
+
isDisabled,
|
|
1573
|
+
disabled
|
|
1574
|
+
];
|
|
1402
1575
|
}
|
|
1403
1576
|
|
|
1404
1577
|
class Button extends SvelteElement {
|
|
1405
1578
|
constructor(options) {
|
|
1406
1579
|
super();
|
|
1407
1580
|
|
|
1408
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-
|
|
1409
|
-
border-color 0.2s ease-in-out;
|
|
1581
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-lg);font-weight:400;height:var(--button-height);padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
1582
|
+
border-color 0.2s ease-in-out}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.get-started{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.get-started,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.get-started:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.get-started:focus,button.get-started:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`;
|
|
1410
1583
|
|
|
1411
1584
|
init(
|
|
1412
1585
|
this,
|
|
@@ -1423,8 +1596,10 @@ class Button extends SvelteElement {
|
|
|
1423
1596
|
size: 1,
|
|
1424
1597
|
variant: 2,
|
|
1425
1598
|
title: 3,
|
|
1426
|
-
disabled:
|
|
1427
|
-
|
|
1599
|
+
disabled: 8,
|
|
1600
|
+
leadingicon: 4,
|
|
1601
|
+
trailingicon: 5,
|
|
1602
|
+
testid: 6
|
|
1428
1603
|
},
|
|
1429
1604
|
null
|
|
1430
1605
|
);
|
|
@@ -1442,7 +1617,16 @@ class Button extends SvelteElement {
|
|
|
1442
1617
|
}
|
|
1443
1618
|
|
|
1444
1619
|
static get observedAttributes() {
|
|
1445
|
-
return [
|
|
1620
|
+
return [
|
|
1621
|
+
"type",
|
|
1622
|
+
"size",
|
|
1623
|
+
"variant",
|
|
1624
|
+
"title",
|
|
1625
|
+
"disabled",
|
|
1626
|
+
"leadingicon",
|
|
1627
|
+
"trailingicon",
|
|
1628
|
+
"testid"
|
|
1629
|
+
];
|
|
1446
1630
|
}
|
|
1447
1631
|
|
|
1448
1632
|
get type() {
|
|
@@ -1482,7 +1666,7 @@ class Button extends SvelteElement {
|
|
|
1482
1666
|
}
|
|
1483
1667
|
|
|
1484
1668
|
get disabled() {
|
|
1485
|
-
return this.$$.ctx[
|
|
1669
|
+
return this.$$.ctx[8];
|
|
1486
1670
|
}
|
|
1487
1671
|
|
|
1488
1672
|
set disabled(disabled) {
|
|
@@ -1490,10 +1674,28 @@ class Button extends SvelteElement {
|
|
|
1490
1674
|
flush();
|
|
1491
1675
|
}
|
|
1492
1676
|
|
|
1493
|
-
get
|
|
1677
|
+
get leadingicon() {
|
|
1494
1678
|
return this.$$.ctx[4];
|
|
1495
1679
|
}
|
|
1496
1680
|
|
|
1681
|
+
set leadingicon(leadingicon) {
|
|
1682
|
+
this.$$set({ leadingicon });
|
|
1683
|
+
flush();
|
|
1684
|
+
}
|
|
1685
|
+
|
|
1686
|
+
get trailingicon() {
|
|
1687
|
+
return this.$$.ctx[5];
|
|
1688
|
+
}
|
|
1689
|
+
|
|
1690
|
+
set trailingicon(trailingicon) {
|
|
1691
|
+
this.$$set({ trailingicon });
|
|
1692
|
+
flush();
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
get testid() {
|
|
1696
|
+
return this.$$.ctx[6];
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1497
1699
|
set testid(testid) {
|
|
1498
1700
|
this.$$set({ testid });
|
|
1499
1701
|
flush();
|
|
@@ -4325,7 +4527,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
4325
4527
|
class IconButton extends SvelteElement {
|
|
4326
4528
|
constructor(options) {
|
|
4327
4529
|
super();
|
|
4328
|
-
this.shadowRoot.innerHTML = `<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>`;
|
|
4530
|
+
this.shadowRoot.innerHTML = `<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9);border:none}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>`;
|
|
4329
4531
|
|
|
4330
4532
|
init(
|
|
4331
4533
|
this,
|
|
@@ -7003,7 +7205,7 @@ function create_if_block_3(ctx) {
|
|
|
7003
7205
|
};
|
|
7004
7206
|
}
|
|
7005
7207
|
|
|
7006
|
-
// (42:2) {#if
|
|
7208
|
+
// (42:2) {#if ["alpha", "beta"].includes(level)}
|
|
7007
7209
|
function create_if_block_1$2(ctx) {
|
|
7008
7210
|
let div0;
|
|
7009
7211
|
let t0_value = capitalize(/*level*/ ctx[0]) + "";
|
|
@@ -7028,7 +7230,7 @@ function create_if_block_1$2(ctx) {
|
|
|
7028
7230
|
t4 = text("\n service\n ");
|
|
7029
7231
|
if (if_block) if_block.c();
|
|
7030
7232
|
attr(div0, "data-testid", "level");
|
|
7031
|
-
attr(div0, "class", div0_class_value = "service-level service-level--" + /*level*/ ctx[0]
|
|
7233
|
+
attr(div0, "class", div0_class_value = "service-level service-level--" + /*level*/ ctx[0].toLowerCase());
|
|
7032
7234
|
attr(a, "href", "https://www.alberta.ca/index.aspx");
|
|
7033
7235
|
attr(div1, "data-testid", "site-text");
|
|
7034
7236
|
attr(div1, "class", "site-text");
|
|
@@ -7046,7 +7248,7 @@ function create_if_block_1$2(ctx) {
|
|
|
7046
7248
|
p(ctx, dirty) {
|
|
7047
7249
|
if (dirty & /*level*/ 1 && t0_value !== (t0_value = capitalize(/*level*/ ctx[0]) + "")) set_data(t0, t0_value);
|
|
7048
7250
|
|
|
7049
|
-
if (dirty & /*level*/ 1 && div0_class_value !== (div0_class_value = "service-level service-level--" + /*level*/ ctx[0]
|
|
7251
|
+
if (dirty & /*level*/ 1 && div0_class_value !== (div0_class_value = "service-level service-level--" + /*level*/ ctx[0].toLowerCase())) {
|
|
7050
7252
|
attr(div0, "class", div0_class_value);
|
|
7051
7253
|
}
|
|
7052
7254
|
|
|
@@ -7072,7 +7274,7 @@ function create_if_block_1$2(ctx) {
|
|
|
7072
7274
|
};
|
|
7073
7275
|
}
|
|
7074
7276
|
|
|
7075
|
-
// (
|
|
7277
|
+
// (52:6) {#if feedbackurl}
|
|
7076
7278
|
function create_if_block_2(ctx) {
|
|
7077
7279
|
let span;
|
|
7078
7280
|
let t0;
|
|
@@ -7105,7 +7307,7 @@ function create_if_block_2(ctx) {
|
|
|
7105
7307
|
};
|
|
7106
7308
|
}
|
|
7107
7309
|
|
|
7108
|
-
// (
|
|
7310
|
+
// (60:2) {#if version}
|
|
7109
7311
|
function create_if_block$3(ctx) {
|
|
7110
7312
|
let div;
|
|
7111
7313
|
let t;
|
|
@@ -7133,11 +7335,12 @@ function create_if_block$3(ctx) {
|
|
|
7133
7335
|
function create_fragment$4(ctx) {
|
|
7134
7336
|
let header;
|
|
7135
7337
|
let t0;
|
|
7338
|
+
let show_if = ["alpha", "beta"].includes(/*level*/ ctx[0]);
|
|
7136
7339
|
let t1;
|
|
7137
7340
|
let div;
|
|
7138
7341
|
let t2;
|
|
7139
7342
|
let if_block0 = /*level*/ ctx[0] === "live" && create_if_block_3();
|
|
7140
|
-
let if_block1 =
|
|
7343
|
+
let if_block1 = show_if && create_if_block_1$2(ctx);
|
|
7141
7344
|
let if_block2 = /*version*/ ctx[1] && create_if_block$3(ctx);
|
|
7142
7345
|
|
|
7143
7346
|
return {
|
|
@@ -7176,7 +7379,9 @@ function create_fragment$4(ctx) {
|
|
|
7176
7379
|
if_block0 = null;
|
|
7177
7380
|
}
|
|
7178
7381
|
|
|
7179
|
-
if (/*level*/ ctx[0]
|
|
7382
|
+
if (dirty & /*level*/ 1) show_if = ["alpha", "beta"].includes(/*level*/ ctx[0]);
|
|
7383
|
+
|
|
7384
|
+
if (show_if) {
|
|
7180
7385
|
if (if_block1) {
|
|
7181
7386
|
if_block1.p(ctx, dirty);
|
|
7182
7387
|
} else {
|
|
@@ -7214,7 +7419,7 @@ function create_fragment$4(ctx) {
|
|
|
7214
7419
|
}
|
|
7215
7420
|
|
|
7216
7421
|
function capitalize(val) {
|
|
7217
|
-
if (!val ||
|
|
7422
|
+
if (!val || val && val.length === 0) return "";
|
|
7218
7423
|
return val[0].toUpperCase() + val.slice(1);
|
|
7219
7424
|
}
|
|
7220
7425
|
|
package/web-components.umd.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
(function(I,p){typeof exports=="object"&&typeof module!="undefined"?p(exports):typeof define=="function"&&define.amd?define(["exports"],p):(I=typeof globalThis!="undefined"?globalThis:I||self,p(I["web-components"]={}))})(this,function(I){"use strict";function p(){}const fe=t=>t;function Ne(t,e){for(const i in e)t[i]=e[i];return t}function Ie(t){return t()}function Fe(){return Object.create(null)}function Y(t){t.forEach(Ie)}function oe(t){return typeof t=="function"}function G(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let we;function qe(t,e){return we||(we=document.createElement("a")),we.href=e,t===we.href}function
|
|
1
|
+
(function(I,p){typeof exports=="object"&&typeof module!="undefined"?p(exports):typeof define=="function"&&define.amd?define(["exports"],p):(I=typeof globalThis!="undefined"?globalThis:I||self,p(I["web-components"]={}))})(this,function(I){"use strict";function p(){}const fe=t=>t;function Ne(t,e){for(const i in e)t[i]=e[i];return t}function Ie(t){return t()}function Fe(){return Object.create(null)}function Y(t){t.forEach(Ie)}function oe(t){return typeof t=="function"}function G(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let we;function qe(t,e){return we||(we=document.createElement("a")),we.href=e,t===we.href}function zi(t){return Object.keys(t).length===0}function Ei(t,...e){if(t==null)return p;const i=t.subscribe(...e);return i.unsubscribe?()=>i.unsubscribe():i}function Ci(t,e,i){t.$$.on_destroy.push(Ei(e,i))}function We(t){return t&&oe(t.destroy)?t.destroy:p}const Ke=typeof window!="undefined";let ke=Ke?()=>window.performance.now():()=>Date.now(),Ge=Ke?t=>requestAnimationFrame(t):p;const se=new Set;function Ue(t){se.forEach(e=>{e.c(t)||(se.delete(e),e.f())}),se.size!==0&&Ge(Ue)}function xe(t){let e;return se.size===0&&Ge(Ue),{promise:new Promise(i=>{se.add(e={c:t,f:i})}),abort(){se.delete(e)}}}function y(t,e){t.appendChild(e)}function Ze(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function Ai(t){const e=_("style");return Mi(Ze(t),e),e}function Mi(t,e){y(t.head||t,e)}function k(t,e,i){t.insertBefore(e,i||null)}function E(t){t.parentNode.removeChild(t)}function _(t){return document.createElement(t)}function ne(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function W(t){return document.createTextNode(t)}function M(){return W(" ")}function ae(){return W("")}function X(t,e,i,r){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}function d(t,e,i){i==null?t.removeAttribute(e):t.getAttribute(e)!==i&&t.setAttribute(e,i)}function z(t,e,i){e in t?t[e]=typeof t[e]=="boolean"&&i===""?!0:i:d(t,e,i)}function Ri(t){return Array.from(t.childNodes)}function V(t,e){e=""+e,t.wholeText!==e&&(t.data=e)}function N(t,e,i,r){t.style.setProperty(e,i,r?"important":"")}function P(t,e,i){t.classList[i?"add":"remove"](e)}function Li(t,e,i=!1){const r=document.createEvent("CustomEvent");return r.initCustomEvent(t,i,!1,e),r}function S(t){const e={};for(const i of t)e[i.name]=i.value;return e}const De=new Set;let ze=0;function Ti(t){let e=5381,i=t.length;for(;i--;)e=(e<<5)-e^t.charCodeAt(i);return e>>>0}function Ee(t,e,i,r,o,n,a,l=0){const s=16.666/r;let c=`{
|
|
2
2
|
`;for(let w=0;w<=1;w+=s){const x=e+(i-e)*n(w);c+=w*100+`%{${a(x,1-x)}}
|
|
3
3
|
`}const u=c+`100% {${a(i,1-i)}}
|
|
4
|
-
}`,f=`__svelte_${Ri(u)}_${l}`,m=Ze(t);De.add(m);const v=m.__svelte_stylesheet||(m.__svelte_stylesheet=Ei(t).sheet),b=m.__svelte_rules||(m.__svelte_rules={});b[f]||(b[f]=!0,v.insertRule(`@keyframes ${f} ${u}`,v.cssRules.length));const g=t.style.animation||"";return t.style.animation=`${g?`${g}, `:""}${f} ${r}ms linear ${o}ms 1 both`,ze+=1,f}function Ce(t,e){const i=(t.style.animation||"").split(", "),r=i.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=i.length-r.length;o&&(t.style.animation=r.join(", "),ze-=o,ze||Li())}function Li(){Ge(()=>{ze||(De.forEach(t=>{const e=t.__svelte_stylesheet;let i=e.cssRules.length;for(;i--;)e.deleteRule(i);t.__svelte_rules={}}),De.clear())})}let ge;function he(t){ge=t}function Ve(){if(!ge)throw new Error("Function called outside component initialization");return ge}function Ae(t){Ve().$$.on_mount.push(t)}function Xe(t){Ve().$$.on_destroy.push(t)}const me=[],ce=[],Me=[],Ye=[],Je=Promise.resolve();let Be=!1;function Qe(){Be||(Be=!0,Je.then(h))}function $e(){return Qe(),Je}function J(t){Me.push(t)}const Se=new Set;let Re=0;function h(){const t=ge;do{for(;Re<me.length;){const e=me[Re];Re++,he(e),Ti(e.$$)}for(he(null),me.length=0,Re=0;ce.length;)ce.pop()();for(let e=0;e<Me.length;e+=1){const i=Me[e];Se.has(i)||(Se.add(i),i())}Me.length=0}while(me.length);for(;Ye.length;)Ye.pop()();Be=!1,Se.clear(),he(t)}function Ti(t){if(t.fragment!==null){t.update(),Y(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(J)}}let be;function je(){return be||(be=Promise.resolve(),be.then(()=>{be=null})),be}function ae(t,e,i){t.dispatchEvent(Mi(`${e?"intro":"outro"}${i}`))}const Le=new Set;let Q;function ve(){Q={r:0,c:[],p:Q}}function ye(){Q.r||Y(Q.c),Q=Q.p}function F(t,e){t&&t.i&&(Le.delete(t),t.i(e))}function Z(t,e,i,r){if(t&&t.o){if(Le.has(t))return;Le.add(t),Q.c.push(()=>{Le.delete(t),r&&(i&&t.d(1),r())}),t.o(e)}}const Pe={duration:0};function et(t,e,i){let r=e(t,i),o=!1,n,a,l=0;function s(){n&&Ce(t,n)}function c(){const{delay:f=0,duration:m=300,easing:v=fe,tick:b=p,css:g}=r||Pe;g&&(n=Ee(t,0,1,m,f,v,g,l++)),b(0,1);const w=ke()+f,x=w+m;a&&a.abort(),o=!0,J(()=>ae(t,!0,"start")),a=xe(R=>{if(o){if(R>=x)return b(1,0),ae(t,!0,"end"),s(),o=!1;if(R>=w){const C=v((R-w)/m);b(C,1-C)}}return o})}let u=!1;return{start(){u||(u=!0,Ce(t),oe(r)?(r=r(),je().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function tt(t,e,i){let r=e(t,i),o=!0,n;const a=Q;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=fe,tick:f=p,css:m}=r||Pe;m&&(n=Ee(t,1,0,c,s,u,m));const v=ke()+s,b=v+c;J(()=>ae(t,!1,"start")),xe(g=>{if(o){if(g>=b)return f(0,1),ae(t,!1,"end"),--a.r||Y(a.c),!1;if(g>=v){const w=u((g-v)/c);f(1-w,w)}}return o})}return oe(r)?je().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Ce(t,n),o=!1)}}}function Te(t,e,i,r){let o=e(t,i),n=r?0:1,a=null,l=null,s=null;function c(){s&&Ce(t,s)}function u(m,v){const b=m.b-n;return v*=Math.abs(b),{a:n,b:m.b,d:b,duration:v,start:m.start,end:m.start+v,group:m.group}}function f(m){const{delay:v=0,duration:b=300,easing:g=fe,tick:w=p,css:x}=o||Pe,R={start:ke()+v,b:m};m||(R.group=Q,Q.r+=1),a||l?l=R:(x&&(c(),s=Ee(t,n,m,b,v,g,x)),m&&w(0,1),a=u(R,b),J(()=>ae(t,m,"start")),xe(C=>{if(l&&C>l.start&&(a=u(l,b),l=null,ae(t,a.b,"start"),x&&(c(),s=Ee(t,n,a.b,a.duration,0,g,o.css))),a){if(C>=a.end)w(n=a.b,1-n),ae(t,a.b,"end"),l||(a.b?c():--a.group.r||Y(a.group.c)),a=null;else if(C>=a.start){const H=C-a.start;n=a.a+a.d*g(H/a.duration),w(n,1-n)}}return!!(a||l)}))}return{run(m){oe(o)?je().then(()=>{o=o(),f(m)}):f(m)},end(){c(),a=l=null}}}function it(t,e){t.d(1),e.delete(t.key)}function rt(t,e,i,r,o,n,a,l,s,c,u,f){let m=t.length,v=n.length,b=m;const g={};for(;b--;)g[t[b].key]=b;const w=[],x=new Map,R=new Map;for(b=v;b--;){const T=f(o,n,b),K=i(T);let U=a.get(K);U?r&&U.p(T,e):(U=c(K,T),U.c()),x.set(K,w[b]=U),K in g&&R.set(K,Math.abs(b-g[K]))}const C=new Set,H=new Set;function B(T){F(T,1),T.m(l,u),a.set(T.key,T),u=T.first,v--}for(;m&&v;){const T=w[v-1],K=t[m-1],U=T.key,A=K.key;T===K?(u=T.first,m--,v--):x.has(A)?!a.has(U)||C.has(U)?B(T):H.has(A)?m--:R.get(U)>R.get(A)?(H.add(U),B(T)):(C.add(A),m--):(s(K,a),m--)}for(;m--;){const T=t[m];x.has(T.key)||s(T,a)}for(;v;)B(w[v-1]);return w}function re(t){t&&t.c()}function te(t,e,i,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=t.$$;o&&o.m(e,i),r||J(()=>{const s=n.map(Ie).filter(oe);a?a.push(...s):Y(s),t.$$.on_mount=[]}),l.forEach(J)}function ie(t,e){const i=t.$$;i.fragment!==null&&(Y(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Hi(t,e){t.$$.dirty[0]===-1&&(me.push(t),Qe(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function j(t,e,i,r,o,n,a,l=[-1]){const s=ge;he(t);const c=t.$$={fragment:null,ctx:null,props:n,update:p,not_equal:o,bound:Fe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Fe(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=i?i(t,e.props||{},(f,m,...v)=>{const b=v.length?v[0]:m;return c.ctx&&o(c.ctx[f],c.ctx[f]=b)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](b),u&&Hi(t,f)),m}):[],c.update(),u=!0,Y(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Ai(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&F(t.$$.fragment),te(t,e.target,e.anchor,e.customElement),h()}he(s)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(Ie).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(t,e,i){this[t]=i}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){ie(this,1),this.$destroy=p}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const r=i.indexOf(e);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!ki(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});function Ii(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","page-content")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class ot extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Ii,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-block",ot);function Gi(t){let e,i,r,o,n,a,l,s,c,u,f,m;return{c(){e=_("div"),i=_("a"),r=_("img"),n=M(),a=_("img"),s=M(),c=_("span"),u=W(t[1]),f=M(),m=_("div"),m.innerHTML="<slot></slot>",this.c=p,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),qe(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),qe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(i,"href",t[0]),d(i,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",t[2])},m(v,b){k(v,e,b),y(e,i),y(i,r),y(i,n),y(i,a),y(i,s),y(i,c),y(c,u),y(e,f),y(e,m)},p(v,[b]){b&2&&V(u,v[1]),b&1&&d(i,"href",v[0]),b&4&&d(e,"data-testid",v[2])},i:p,o:p,d(v){v&&E(e)}}}function Di(t,e,i){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return t.$$set=a=>{"url"in a&&i(0,r=a.url),"title"in a&&i(1,o=a.title),"testid"in a&&i(2,n=a.testid)},[r,o,n]}class nt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Di,Gi,G,{url:0,title:1,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),h()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-app-header",nt);function q(t){return t==="false"?!1:t===""?!0:!!t}function Bi(t){let e;return{c(){e=_("div"),N(e,"height","1.2rem"),N(e,"margin-left","-0.25rem")},m(i,r){k(i,e,r)},p,d(i){i&&E(e)}}}function Si(t){let e;return{c(){e=_("goa-icon"),z(e,"type",t[3]),z(e,"size","small")},m(i,r){k(i,e,r)},p(i,r){r&8&&z(e,"type",i[3])},d(i){i&&E(e)}}}function at(t){let e,i;return{c(){e=_("div"),i=W(t[2]),d(e,"class","goa-badge-content")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&4&&V(i,r[2])},d(r){r&&E(e)}}}function ji(t){let e,i,r;function o(s,c){return s[4]?Si:Bi}let n=o(t),a=n(t),l=t[2]&&at(t);return{c(){e=_("div"),a.c(),i=M(),l&&l.c(),this.c=p,d(e,"data-testid",t[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+t[0]),P(e,"icon-only",t[4]&&!t[2])},m(s,c){k(s,e,c),a.m(e,null),y(e,i),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,i))),s[2]?l?l.p(s,c):(l=at(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&P(e,"icon-only",s[4]&&!s[2])},i:p,o:p,d(s){s&&E(e),a.d(),l&&l.d()}}}function Pi(t,e,i){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return t.$$set=c=>{"type"in c&&i(0,n=c.type),"testid"in c&&i(1,a=c.testid),"icon"in c&&i(5,l=c.icon),"content"in c&&i(2,s=c.content)},t.$$.update=()=>{t.$$.dirty&32&&i(4,r=q(l)),t.$$.dirty&1&&i(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class lt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Pi,ji,G,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","testid","icon","content"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get testid(){return this.$$.ctx[1]}set testid(e){this.$$set({testid:e}),h()}get icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}}customElements.define("goa-badge",lt);function Oi(t){let e,i,r,o,n;return{c(){e=_("button"),i=_("slot"),this.c=p,d(e,"class",r=""+(t[0]+" "+t[1]+" "+t[2])),d(e,"title",t[3]),e.disabled=t[5],d(e,"data-testid",t[4])},m(a,l){k(a,e,l),y(e,i),o||(n=X(e,"click",Ni),o=!0)},p(a,[l]){l&7&&r!==(r=""+(a[0]+" "+a[1]+" "+a[2]))&&d(e,"class",r),l&8&&d(e,"title",a[3]),l&32&&(e.disabled=a[5]),l&16&&d(e,"data-testid",a[4])},i:p,o:p,d(a){a&&E(e),o=!1,n()}}}function Ni(t){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),t.stopPropagation()}function Fi(t,e,i){let r,{type:o="primary"}=e,{size:n="medium"}=e,{variant:a="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{testid:c=""}=e;return t.$$set=u=>{"type"in u&&i(0,o=u.type),"size"in u&&i(1,n=u.size),"variant"in u&&i(2,a=u.variant),"title"in u&&i(3,l=u.title),"disabled"in u&&i(6,s=u.disabled),"testid"in u&&i(4,c=u.testid)},t.$$.update=()=>{t.$$.dirty&64&&i(5,r=q(s))},[o,n,a,l,c,r,s]}class st extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-base, 1rem);font-weight:700;height:var(--button-height);padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
-
border-color 0.2s ease-in-out;
|
|
6
|
-
}}</style>`,j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Vi,Zi,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["elevation","width","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 testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),h()}}customElements.define("goa-card",ut);function Xi(t){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=p},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class ft extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Xi,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ft);function Yi(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-content")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class gt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Yi,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",gt);function Ji(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-group")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class ht extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Ji,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",ht);function Qi(t){let e;return{c(){e=_("div"),this.c=p,d(e,"class","card-image"),N(e,"background-image","url("+t[0]+")"),N(e,"height",t[1]),N(e,"background-size","cover"),N(e,"background-position","center")},m(i,r){k(i,e,r)},p(i,[r]){r&1&&N(e,"background-image","url("+i[0]+")"),r&2&&N(e,"height",i[1])},i:p,o:p,d(i){i&&E(e)}}}function $i(t,e,i){let{src:r}=e,{height:o="100%"}=e;return t.$$set=n=>{"src"in n&&i(0,r=n.src),"height"in n&&i(1,o=n.height)},[r,o]}class mt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},$i,Qi,G,{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",mt);function er(t){let e,i;return{c(){e=ne("svg"),i=ne("path"),d(i,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){k(r,e,o),y(e,i)},d(r){r&&E(e)}}}function tr(t){let e,i;return{c(){e=ne("svg"),i=ne("rect"),d(i,"width","15"),d(i,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){k(r,e,o),y(e,i)},d(r){r&&E(e)}}}function ir(t){let e,i,r,o,n,a,l,s,c,u,f;function m(g,w){if(g[5])return tr;if(g[4])return er}let v=m(t),b=v&&v(t);return{c(){e=_("label"),i=_("div"),r=_("input"),n=M(),b&&b.c(),a=M(),l=_("div"),s=_("slot"),c=W(t[1]),this.c=p,d(r,"id",t[8]),d(r,"data-testid",t[3]),d(r,"name",t[0]),r.checked=t[4],r.disabled=t[7],d(r,"type","checkbox"),r.value=o=`${t[2]}`,d(i,"class","goa-checkbox-container"),P(i,"goa-checkbox--selected",t[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",t[8]),d(e,"class","goa-checkbox"),P(e,"goa-checkbox--disabled",t[7]),P(e,"goa-checkbox--error",t[6])},m(g,w){k(g,e,w),y(e,i),y(i,r),y(i,n),b&&b.m(i,null),y(e,a),y(e,l),y(l,s),y(s,c),u||(f=X(r,"change",t[9]),u=!0)},p(g,[w]){w&256&&d(r,"id",g[8]),w&8&&d(r,"data-testid",g[3]),w&1&&d(r,"name",g[0]),w&16&&(r.checked=g[4]),w&128&&(r.disabled=g[7]),w&4&&o!==(o=`${g[2]}`)&&(r.value=o),v!==(v=m(g))&&(b&&b.d(1),b=v&&v(g),b&&(b.c(),b.m(i,null))),w&16&&P(i,"goa-checkbox--selected",g[4]),w&2&&V(c,g[1]),w&256&&d(e,"for",g[8]),w&128&&P(e,"goa-checkbox--disabled",g[7]),w&64&&P(e,"goa-checkbox--error",g[6])},i:p,o:p,d(g){g&&E(e),b&&b.d(),u=!1,f()}}}function rr(t,e,i){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:m}=e,{error:v}=e,{testid:b=""}=e;function g(w){const x=!a,R=x?`${u||"checked"}`:"";w.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:x,value:R}}))}return t.$$set=w=>{"name"in w&&i(0,s=w.name),"text"in w&&i(1,c=w.text),"value"in w&&i(2,u=w.value),"checked"in w&&i(10,f=w.checked),"disabled"in w&&i(11,m=w.disabled),"error"in w&&i(12,v=w.error),"testid"in w&&i(3,b=w.testid)},t.$$.update=()=>{t.$$.dirty&1&&i(8,r=`id-${s}`),t.$$.dirty&2048&&i(7,o=q(m)),t.$$.dirty&4096&&i(6,n=q(v)),t.$$.dirty&1024&&i(4,a=q(f))},i(5,l=!1),[s,c,u,b,a,l,n,o,r,g,f,m,v]}class bt extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},rr,ir,G,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name: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 checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-checkbox",bt);function or(t){let e,i,r,o,n,a,l,s,c;return{c(){e=_("div"),i=_("header"),r=_("div"),r.innerHTML='<slot name="title"></slot>',o=M(),n=_("div"),n.innerHTML='<slot name="actions"></slot>',l=M(),s=_("div"),s.innerHTML="<slot></slot>",this.c=p,d(r,"class","title"),d(n,"class","actions"),d(i,"class",a="heading--"+t[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+t[0])},m(u,f){k(u,e,f),y(e,i),y(i,r),y(i,o),y(i,n),y(e,l),y(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(i,"class",a),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:p,o:p,d(u){u&&E(e)}}}function nr(t,e,i){let{variant:r="default"}=e,{headingsize:o="large"}=e;return t.$$set=n=>{"variant"in n&&i(0,r=n.variant),"headingsize"in n&&i(1,o=n.headingsize)},[r,o]}class vt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},nr,or,G,{variant:0,headingsize:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("goa-container",vt);const de=[];function yt(t,e=p){let i;const r=new Set;function o(l){if(G(t,l)&&(t=l,i)){const s=!de.length;for(const c of r)c[1](),de.push(c,t);if(s){for(let c=0;c<de.length;c+=2)de[c][0](de[c+1]);de.length=0}}}function n(l){o(l(t))}function a(l,s=p){const c=[l,s];return r.add(c),r.size===1&&(i=e(o)||p),l(t),()=>{r.delete(c),r.size===0&&(i(),i=null)}}return{set:o,update:n,subscribe:a}}const pe={};class ar{constructor(){this.store=yt()}subscribe(e){this.store.subscribe(i=>{e(i)})}notify(e){this.store.update(()=>e)}}function pt(t){const e=new ar;return pe[t]=e,e}async function _t(t){return await wt(t,0)}async function wt(t,e){if(e>10)throw new Error(`Could not find context ${t}`);return pe[t]?pe[t]:(await $e(),wt(t,e+1))}function kt(t){!pe[t]||delete pe[t]}const xt="bind";function zt(t,e,i){const r=t.slice();return r[29]=e[i],r[31]=i,r}function Et(t){let e,i,r,o;return{c(){e=_("div"),d(e,"data-testid",i=`${t[1]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){k(n,e,a),r||(o=X(e,"click",t[15]),r=!0)},p(n,a){a[0]&2&&i!==(i=`${n[1]}-dropdown-background`)&&d(e,"data-testid",i)},d(n){n&&E(e),r=!1,o()}}}function Ct(t,e){let i,r=e[29].label+"",o,n,a,l,s,c,u;function f(){return e[18](e[29])}return{key:t,first:null,c(){i=_("li"),o=W(r),n=M(),d(i,"data-testid",a=`${e[29].value}-dropdown-item`),d(i,"data-index",l=e[31]),d(i,"class","goa-dropdown-option"),d(i,"style",s="display: block"),P(i,"goa-dropdown-option--disabled",!1),P(i,"goa-dropdown-option--tabbed",e[31]===e[10]),P(i,"goa-dropdown-option--selected",e[29].value===e[0]),this.first=i},m(m,v){k(m,i,v),y(i,o),y(i,n),c||(u=X(i,"click",f),c=!0)},p(m,v){e=m,v[0]&128&&r!==(r=e[29].label+"")&&V(o,r),v[0]&128&&a!==(a=`${e[29].value}-dropdown-item`)&&d(i,"data-testid",a),v[0]&128&&l!==(l=e[31])&&d(i,"data-index",l),v[0]&1152&&P(i,"goa-dropdown-option--tabbed",e[31]===e[10]),v[0]&129&&P(i,"goa-dropdown-option--selected",e[29].value===e[0])},d(m){m&&E(i),c=!1,u()}}}function lr(t){let e,i,r,o,n,a,l,s,c,u,f=[],m=new Map,v,b,g,w=t[9]&&Et(t),x=t[7];const R=C=>C[29].value;for(let C=0;C<x.length;C+=1){let H=zt(t,x,C),B=R(H);m.set(B,f[C]=Ct(B,H))}return{c(){e=_("div"),w&&w.c(),i=M(),r=_("div"),o=_("goa-input"),l=M(),s=_("ul"),c=_("slot"),u=M();for(let C=0;C<f.length;C+=1)f[C].c();this.c=p,z(o,"error",t[13]),z(o,"disabled",t[5]),z(o,"leadingicon",t[2]),z(o,"placeholder",t[4]),z(o,"id",n=`${t[1]}-dropdown-input`),z(o,"name","search"),z(o,"readonly",""),z(o,"trailingicon","chevron-down"),z(o,"type","text"),z(o,"value",t[8]),d(r,"data-testid",a=`${t[1]}-dropdown`),d(s,"tabindex","0"),d(s,"class","goa-dropdown-list"),d(s,"style",v=`overflow-y: auto; max-height: ${t[3]}px`),P(s,"dropdown-active",t[9]),d(e,"data-testid",t[6]),d(e,"class","goa-dropdown-box")},m(C,H){k(C,e,H),w&&w.m(e,null),y(e,i),y(e,r),y(r,o),y(e,l),y(e,s),y(s,c),y(s,u);for(let B=0;B<f.length;B+=1)f[B].m(s,null);t[19](s),t[20](e),b||(g=X(o,"click",t[14]),b=!0)},p(C,H){C[9]?w?w.p(C,H):(w=Et(C),w.c(),w.m(e,i)):w&&(w.d(1),w=null),H[0]&8192&&z(o,"error",C[13]),H[0]&32&&z(o,"disabled",C[5]),H[0]&4&&z(o,"leadingicon",C[2]),H[0]&16&&z(o,"placeholder",C[4]),H[0]&2&&n!==(n=`${C[1]}-dropdown-input`)&&z(o,"id",n),H[0]&256&&z(o,"value",C[8]),H[0]&2&&a!==(a=`${C[1]}-dropdown`)&&d(r,"data-testid",a),H[0]&66689&&(x=C[7],f=rt(f,H,R,1,C,x,m,s,it,Ct,null,zt)),H[0]&8&&v!==(v=`overflow-y: auto; max-height: ${C[3]}px`)&&d(s,"style",v),H[0]&512&&P(s,"dropdown-active",C[9]),H[0]&64&&d(e,"data-testid",C[6])},i:p,o:p,d(C){C&&E(e),w&&w.d();for(let H=0;H<f.length;H+=1)f[H].d();t[19](null),t[20](null),b=!1,g()}}}const sr=300;function cr(t,e,i){let r,{name:o}=e,{value:n}=e,{leadingicon:a}=e,{maxheight:l=sr}=e,{placeholder:s=""}=e,{disabled:c}=e,{error:u}=e,{testid:f}=e,m=[],v="",b=!1,g=0,w,x,R;Ae(async()=>{w.addEventListener("focus",A,!0),w.addEventListener("blur",O,!0),C()}),Xe(()=>{w.removeEventListener("focus",A,!0),w.removeEventListener("blur",O,!0),kt(o)});function C(){R=pt(o),R.subscribe(L=>{switch(L==null?void 0:L.type){case xt:{const _e=L,He=n===_e.value;i(7,m=[...m,Object.assign(Object.assign({},_e),{selected:He})]),He&&i(8,v=_e.label),T();break}}})}async function H(){c||b||(i(9,b=!0),await $e(),x.addEventListener("blur",B),x.focus(),x.addEventListener("keydown",ee),x.addEventListener("mouseover",wi))}function B(){x.removeEventListener("blur",B),x.removeEventListener("keydown",ee),x.removeEventListener("mouseover",wi),T(),i(9,b=!1)}function T(){i(10,g=m.findIndex(L=>L.value===n))}function K(L,_e,He){i(8,v=He),i(0,n=_e),B(),w.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:L,value:n}}))}const U=L=>{switch(L.key){case" ":H(),L.preventDefault();break}};function A(){w.addEventListener("keydown",U)}function O(){w.removeEventListener("keydown",U)}function ee(L){switch(L.key){case"ArrowUp":g===0?i(10,g=m.length-1):i(10,g--,g),L.preventDefault();break;case"ArrowDown":i(10,g=(g+1)%m.length),L.preventDefault();break;case"Tab":case"Enter":K(o,m[g].value,m[g].label),L.preventDefault();break;case"Escape":B(),L.preventDefault();break}}function wi(L){i(10,g=Number(L.target.dataset.index))}const no=L=>K(L.name,L.value,L.label);function ao(L){ce[L?"unshift":"push"](()=>{x=L,i(12,x)})}function lo(L){ce[L?"unshift":"push"](()=>{w=L,i(11,w)})}return t.$$set=L=>{"name"in L&&i(1,o=L.name),"value"in L&&i(0,n=L.value),"leadingicon"in L&&i(2,a=L.leadingicon),"maxheight"in L&&i(3,l=L.maxheight),"placeholder"in L&&i(4,s=L.placeholder),"disabled"in L&&i(5,c=L.disabled),"error"in L&&i(17,u=L.error),"testid"in L&&i(6,f=L.testid)},t.$$.update=()=>{t.$$.dirty[0]&131072&&i(13,r=u?"true":"false")},[n,o,a,l,s,c,f,m,v,b,g,w,x,r,H,B,K,u,no,ao,lo]}class At extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},cr,lr,G,{name:1,value:0,leadingicon:2,maxheight:3,placeholder:4,disabled:5,error:17,testid:6},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get leadingicon(){return this.$$.ctx[2]}set leadingicon(e){this.$$set({leadingicon:e}),h()}get maxheight(){return this.$$.ctx[3]}set maxheight(e){this.$$set({maxheight:e}),h()}get placeholder(){return this.$$.ctx[4]}set placeholder(e){this.$$set({placeholder:e}),h()}get disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[17]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-dropdown",At);function dr(t){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function ur(t,e,i){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return Ae(async()=>{a=await _t(r),a.notify({type:xt,name:r,label:n,value:o})}),t.$$set=l=>{"name"in l&&i(0,r=l.name),"value"in l&&i(1,o=l.value),"label"in l&&i(2,n=l.label)},[r,o,n]}class Mt extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},ur,dr,G,{name:0,value:1,label:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),h()}}customElements.define("goa-dropdown-item",Mt);function fr(t){let e,i;return{c(){e=_("div"),i=_("slot"),this.c=p,d(e,"class","goa-flex-row"),N(e,"gap",t[0])},m(r,o){k(r,e,o),y(e,i)},p(r,[o]){o&1&&N(e,"gap",r[0])},i:p,o:p,d(r){r&&E(e)}}}function gr(t,e,i){let r,{gap:o=""}=e;return t.$$set=n=>{"gap"in n&&i(1,o=n.gap)},t.$$.update=()=>{t.$$.dirty&2&&i(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Rt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},gr,fr,G,{gap:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),h()}}customElements.define("goa-flex-row",Rt);function Lt(t){let e,i,r,o=t[3]&&Tt();return{c(){e=_("label"),i=W(t[0]),r=M(),o&&o.c(),d(e,"for","")},m(n,a){k(n,e,a),y(e,i),y(e,r),o&&o.m(e,null)},p(n,a){a&1&&V(i,n[0]),n[3]?o||(o=Tt(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&E(e),o&&o.d()}}}function Tt(t){let e;return{c(){e=_("em"),e.textContent="(optional)"},m(i,r){k(i,e,r)},d(i){i&&E(e)}}}function Ht(t){let e,i;return{c(){e=_("div"),i=W(t[2]),d(e,"class","error-msg")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&4&&V(i,r[2])},d(r){r&&E(e)}}}function It(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"class","help-msg")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function hr(t){let e,i,r,o,n,a=t[0]&&Lt(t),l=t[2]&&Ht(t),s=t[1]&&It(t);return{c(){e=_("div"),a&&a.c(),i=M(),r=_("div"),r.innerHTML="<slot></slot>",o=M(),l&&l.c(),n=M(),s&&s.c(),this.c=p,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){k(c,e,u),a&&a.m(e,null),y(e,i),y(e,r),y(e,o),l&&l.m(e,null),y(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Lt(c),a.c(),a.m(e,i)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Ht(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=It(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function mr(t,e,i){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:l}=e;return t.$$set=s=>{"label"in s&&i(0,o=s.label),"helptext"in s&&i(1,n=s.helptext),"error"in s&&i(2,a=s.error),"optional"in s&&i(4,l=s.optional)},t.$$.update=()=>{t.$$.dirty&16&&i(3,r=q(l))},[o,n,a,r,l]}class Gt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},mr,hr,G,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),h()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),h()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),h()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),h()}}customElements.define("goa-form-item",Gt);function br(t){let e,i,r,o,n,a,l,s;return{c(){e=_("div"),i=_("goa-page-block"),r=_("h1"),o=W(t[0]),n=M(),a=_("div"),a.innerHTML="<slot></slot>",l=M(),s=_("slot"),this.c=p,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),N(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("+t[1]+")"),N(e,"background-size","cover"),N(e,"background-position","center"),N(e,"background-repeat","no-repeat")},m(c,u){k(c,e,u),y(e,i),y(i,r),y(r,o),y(i,n),y(i,a),y(i,l),y(i,s)},p(c,[u]){u&1&&V(o,c[0]),u&2&&N(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:p,o:p,d(c){c&&E(e)}}}function vr(t,e,i){let{title:r}=e,{backgroundurl:o}=e;return t.$$set=n=>{"title"in n&&i(0,r=n.title),"backgroundurl"in n&&i(1,o=n.backgroundurl)},[r,o]}class Dt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},vr,br,G,{title:0,backgroundurl:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),h()}}customElements.define("goa-hero-banner",Dt);function Bt(t){let e,i,r;return{c(){e=_("ion-icon"),z(e,"style",i=`width: ${t[2]}; height: ${t[2]}`),z(e,"name",r=t[1]==="filled"?t[0]:`${t[0]}-${t[1]}`)},m(o,n){k(o,e,n)},p(o,n){n&4&&i!==(i=`width: ${o[2]}; height: ${o[2]}`)&&z(e,"style",i),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&z(e,"name",r)},d(o){o&&E(e)}}}function yr(t){let e,i,r,o=t[0]&&Bt(t);return{c(){e=_("div"),o&&o.c(),this.c=p,d(e,"class","goa-icon"),d(e,"data-testid",i=`icon-${t[0]}`),d(e,"style",r=`--size: ${t[2]}`),P(e,"inverted",t[3])},m(n,a){k(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=Bt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&i!==(i=`icon-${n[0]}`)&&d(e,"data-testid",i),a&4&&r!==(r=`--size: ${n[2]}`)&&d(e,"style",r),a&8&&P(e,"inverted",n[3])},i:p,o:p,d(n){n&&E(e),o&&o.d()}}}function pr(t,e,i){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return t.$$set=c=>{"type"in c&&i(0,n=c.type),"size"in c&&i(4,a=c.size),"theme"in c&&i(1,l=c.theme),"inverted"in c&&i(5,s=c.inverted)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=q(s)),t.$$.dirty&16&&i(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class St extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},pr,yr,G,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),h()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),h()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon",St);function _r(t){let e,i,r,o;return{c(){e=_("button"),i=_("goa-icon"),this.c=p,z(i,"type",t[0]),z(i,"size",t[1]),z(i,"theme",t[2]),z(i,"inverted",t[5]),N(e,"--size",t[6]),d(e,"title",t[3]),e.disabled=t[7],d(e,"class",t[8]),d(e,"data-testid",t[4])},m(n,a){k(n,e,a),y(e,i),r||(o=X(e,"click",wr),r=!0)},p(n,[a]){a&1&&z(i,"type",n[0]),a&2&&z(i,"size",n[1]),a&4&&z(i,"theme",n[2]),a&32&&z(i,"inverted",n[5]),a&64&&N(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:p,o:p,d(n){n&&E(e),r=!1,o()}}}function wr(t){t.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:t}}))}function kr(t,e,i){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:m=""}=e,{disabled:v}=e,{inverted:b}=e;return t.$$set=g=>{"type"in g&&i(0,l=g.type),"size"in g&&i(1,s=g.size),"theme"in g&&i(2,c=g.theme),"variant"in g&&i(9,u=g.variant),"title"in g&&i(3,f=g.title),"testId"in g&&i(4,m=g.testId),"disabled"in g&&i(10,v=g.disabled),"inverted"in g&&i(11,b=g.inverted)},t.$$.update=()=>{t.$$.dirty&2048&&i(5,n=q(b)),t.$$.dirty&544&&i(8,r=`goa-icon-button goa-icon-button--${u} ${n?"goa-icon-button--inverted":""}`),t.$$.dirty&1024&&i(7,o=q(v)),t.$$.dirty&2&&i(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,m,n,a,o,r,u,v,b]}class jt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9)}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},kr,_r,G,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}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 theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),h()}get variant(){return this.$$.ctx[9]}set variant(e){this.$$set({variant:e}),h()}get title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),h()}get testId(){return this.$$.ctx[4]}set testId(e){this.$$set({testId:e}),h()}get disabled(){return this.$$.ctx[10]}set disabled(e){this.$$set({disabled:e}),h()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),h()}}customElements.define("goa-icon-button",jt);function Pt(t){let e;return{c(){e=_("goa-icon"),z(e,"class","goa-input-leading-icon"),z(e,"data-testid","leading-icon"),z(e,"type",t[4])},m(i,r){k(i,e,r)},p(i,r){r&16&&z(e,"type",i[4])},d(i){i&&E(e)}}}function Ot(t){let e;return{c(){e=_("goa-icon"),z(e,"class","goa-input-trailing-icon"),z(e,"data-testid","trailing-icon"),z(e,"size","medium"),z(e,"type",t[5])},m(i,r){k(i,e,r)},p(i,r){r&32&&z(e,"type",i[5])},d(i){i&&E(e)}}}function Nt(t){let e,i,r;return{c(){e=_("goa-icon-button"),z(e,"class","goa-input-trailing-icon"),z(e,"disabled",t[10]),z(e,"variant","nocolor"),z(e,"size","medium"),z(e,"type",t[5]),z(e,"data-testid","trailing-icon-button")},m(o,n){k(o,e,n),i||(r=X(e,"click",zr),i=!0)},p(o,n){n&1024&&z(e,"disabled",o[10]),n&32&&z(e,"type",o[5])},d(o){o&&E(e),i=!1,r()}}}function xr(t){let e,i,r,o,n,a,l,s,c,u,f,m=t[4]&&Pt(t),v=t[5]&&!t[13]&&Ot(t),b=t[5]&&t[13]&&Nt(t);return{c(){e=_("div"),m&&m.c(),i=M(),r=_("input"),a=M(),v&&v.c(),l=M(),b&&b.c(),this.c=p,d(r,"class",o=`input--${t[6]}`),d(r,"style",n=`--search-icon-offset: ${t[5]?"-0.5rem":"0"}`),r.readOnly=t[12],r.disabled=t[10],d(r,"data-testid",t[7]),d(r,"name",t[1]),d(r,"type",t[0]),r.value=t[2],d(r,"placeholder",t[3]),d(e,"style",s=`width: ${t[8]};`),d(e,"class",c=`
|
|
4
|
+
}`,f=`__svelte_${Ti(u)}_${l}`,g=Ze(t);De.add(g);const v=g.__svelte_stylesheet||(g.__svelte_stylesheet=Ai(t).sheet),b=g.__svelte_rules||(g.__svelte_rules={});b[f]||(b[f]=!0,v.insertRule(`@keyframes ${f} ${u}`,v.cssRules.length));const h=t.style.animation||"";return t.style.animation=`${h?`${h}, `:""}${f} ${r}ms linear ${o}ms 1 both`,ze+=1,f}function Ce(t,e){const i=(t.style.animation||"").split(", "),r=i.filter(e?n=>n.indexOf(e)<0:n=>n.indexOf("__svelte")===-1),o=i.length-r.length;o&&(t.style.animation=r.join(", "),ze-=o,ze||Hi())}function Hi(){Ge(()=>{ze||(De.forEach(t=>{const e=t.__svelte_stylesheet;let i=e.cssRules.length;for(;i--;)e.deleteRule(i);t.__svelte_rules={}}),De.clear())})}let ge;function he(t){ge=t}function Ve(){if(!ge)throw new Error("Function called outside component initialization");return ge}function Ae(t){Ve().$$.on_mount.push(t)}function Xe(t){Ve().$$.on_destroy.push(t)}const me=[],ce=[],Me=[],Ye=[],Je=Promise.resolve();let Be=!1;function Qe(){Be||(Be=!0,Je.then(m))}function $e(){return Qe(),Je}function J(t){Me.push(t)}const Se=new Set;let Re=0;function m(){const t=ge;do{for(;Re<me.length;){const e=me[Re];Re++,he(e),Ii(e.$$)}for(he(null),me.length=0,Re=0;ce.length;)ce.pop()();for(let e=0;e<Me.length;e+=1){const i=Me[e];Se.has(i)||(Se.add(i),i())}Me.length=0}while(me.length);for(;Ye.length;)Ye.pop()();Be=!1,Se.clear(),he(t)}function Ii(t){if(t.fragment!==null){t.update(),Y(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(J)}}let be;function je(){return be||(be=Promise.resolve(),be.then(()=>{be=null})),be}function le(t,e,i){t.dispatchEvent(Li(`${e?"intro":"outro"}${i}`))}const Le=new Set;let Q;function ve(){Q={r:0,c:[],p:Q}}function ye(){Q.r||Y(Q.c),Q=Q.p}function F(t,e){t&&t.i&&(Le.delete(t),t.i(e))}function Z(t,e,i,r){if(t&&t.o){if(Le.has(t))return;Le.add(t),Q.c.push(()=>{Le.delete(t),r&&(i&&t.d(1),r())}),t.o(e)}}const Pe={duration:0};function et(t,e,i){let r=e(t,i),o=!1,n,a,l=0;function s(){n&&Ce(t,n)}function c(){const{delay:f=0,duration:g=300,easing:v=fe,tick:b=p,css:h}=r||Pe;h&&(n=Ee(t,0,1,g,f,v,h,l++)),b(0,1);const w=ke()+f,x=w+g;a&&a.abort(),o=!0,J(()=>le(t,!0,"start")),a=xe(R=>{if(o){if(R>=x)return b(1,0),le(t,!0,"end"),s(),o=!1;if(R>=w){const C=v((R-w)/g);b(C,1-C)}}return o})}let u=!1;return{start(){u||(u=!0,Ce(t),oe(r)?(r=r(),je().then(c)):c())},invalidate(){u=!1},end(){o&&(s(),o=!1)}}}function tt(t,e,i){let r=e(t,i),o=!0,n;const a=Q;a.r+=1;function l(){const{delay:s=0,duration:c=300,easing:u=fe,tick:f=p,css:g}=r||Pe;g&&(n=Ee(t,1,0,c,s,u,g));const v=ke()+s,b=v+c;J(()=>le(t,!1,"start")),xe(h=>{if(o){if(h>=b)return f(0,1),le(t,!1,"end"),--a.r||Y(a.c),!1;if(h>=v){const w=u((h-v)/c);f(1-w,w)}}return o})}return oe(r)?je().then(()=>{r=r(),l()}):l(),{end(s){s&&r.tick&&r.tick(1,0),o&&(n&&Ce(t,n),o=!1)}}}function Te(t,e,i,r){let o=e(t,i),n=r?0:1,a=null,l=null,s=null;function c(){s&&Ce(t,s)}function u(g,v){const b=g.b-n;return v*=Math.abs(b),{a:n,b:g.b,d:b,duration:v,start:g.start,end:g.start+v,group:g.group}}function f(g){const{delay:v=0,duration:b=300,easing:h=fe,tick:w=p,css:x}=o||Pe,R={start:ke()+v,b:g};g||(R.group=Q,Q.r+=1),a||l?l=R:(x&&(c(),s=Ee(t,n,g,b,v,h,x)),g&&w(0,1),a=u(R,b),J(()=>le(t,g,"start")),xe(C=>{if(l&&C>l.start&&(a=u(l,b),l=null,le(t,a.b,"start"),x&&(c(),s=Ee(t,n,a.b,a.duration,0,h,o.css))),a){if(C>=a.end)w(n=a.b,1-n),le(t,a.b,"end"),l||(a.b?c():--a.group.r||Y(a.group.c)),a=null;else if(C>=a.start){const H=C-a.start;n=a.a+a.d*h(H/a.duration),w(n,1-n)}}return!!(a||l)}))}return{run(g){oe(o)?je().then(()=>{o=o(),f(g)}):f(g)},end(){c(),a=l=null}}}function it(t,e){t.d(1),e.delete(t.key)}function rt(t,e,i,r,o,n,a,l,s,c,u,f){let g=t.length,v=n.length,b=g;const h={};for(;b--;)h[t[b].key]=b;const w=[],x=new Map,R=new Map;for(b=v;b--;){const T=f(o,n,b),K=i(T);let U=a.get(K);U?r&&U.p(T,e):(U=c(K,T),U.c()),x.set(K,w[b]=U),K in h&&R.set(K,Math.abs(b-h[K]))}const C=new Set,H=new Set;function B(T){F(T,1),T.m(l,u),a.set(T.key,T),u=T.first,v--}for(;g&&v;){const T=w[v-1],K=t[g-1],U=T.key,A=K.key;T===K?(u=T.first,g--,v--):x.has(A)?!a.has(U)||C.has(U)?B(T):H.has(A)?g--:R.get(U)>R.get(A)?(H.add(U),B(T)):(C.add(A),g--):(s(K,a),g--)}for(;g--;){const T=t[g];x.has(T.key)||s(T,a)}for(;v;)B(w[v-1]);return w}function re(t){t&&t.c()}function te(t,e,i,r){const{fragment:o,on_mount:n,on_destroy:a,after_update:l}=t.$$;o&&o.m(e,i),r||J(()=>{const s=n.map(Ie).filter(oe);a?a.push(...s):Y(s),t.$$.on_mount=[]}),l.forEach(J)}function ie(t,e){const i=t.$$;i.fragment!==null&&(Y(i.on_destroy),i.fragment&&i.fragment.d(e),i.on_destroy=i.fragment=null,i.ctx=[])}function Gi(t,e){t.$$.dirty[0]===-1&&(me.push(t),Qe(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function j(t,e,i,r,o,n,a,l=[-1]){const s=ge;he(t);const c=t.$$={fragment:null,ctx:null,props:n,update:p,not_equal:o,bound:Fe(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(s?s.$$.context:[])),callbacks:Fe(),dirty:l,skip_bound:!1,root:e.target||s.$$.root};a&&a(c.root);let u=!1;if(c.ctx=i?i(t,e.props||{},(f,g,...v)=>{const b=v.length?v[0]:g;return c.ctx&&o(c.ctx[f],c.ctx[f]=b)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](b),u&&Gi(t,f)),g}):[],c.update(),u=!0,Y(c.before_update),c.fragment=r?r(c.ctx):!1,e.target){if(e.hydrate){const f=Ri(e.target);c.fragment&&c.fragment.l(f),f.forEach(E)}else c.fragment&&c.fragment.c();e.intro&&F(t.$$.fragment),te(t,e.target,e.anchor,e.customElement),m()}he(s)}let D;typeof HTMLElement=="function"&&(D=class extends HTMLElement{constructor(){super();this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:t}=this.$$;this.$$.on_disconnect=t.map(Ie).filter(oe);for(const e in this.$$.slotted)this.appendChild(this.$$.slotted[e])}attributeChangedCallback(t,e,i){this[t]=i}disconnectedCallback(){Y(this.$$.on_disconnect)}$destroy(){ie(this,1),this.$destroy=p}$on(t,e){const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(e),()=>{const r=i.indexOf(e);r!==-1&&i.splice(r,1)}}$set(t){this.$$set&&!zi(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}});function Di(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","page-content")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class ot extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--page-width-max);margin:0 auto;padding:0 1.75rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Di,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-block",ot);function Bi(t){let e,i,r,o,n,a,l,s,c,u,f,g;return{c(){e=_("div"),i=_("a"),r=_("img"),n=M(),a=_("img"),s=M(),c=_("span"),u=W(t[1]),f=M(),g=_("div"),g.innerHTML="<slot></slot>",this.c=p,d(r,"alt","GoA Logo"),d(r,"class","image-mobile"),qe(r.src,o="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='16' height='16' viewBox='0 0 16 16'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bfill:%2300aad2;%7D.c%7Bclip-path:url(%23a);%7D.d%7Bfill:%23fff;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='14' height='14' transform='translate(-0.345 -0.21)'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg transform='translate(0 -0.135)'%3E%3Ccircle class='b' cx='8' cy='8' r='8' transform='translate(0 0.135)'/%3E%3Cg transform='translate(1.345 1.344)'%3E%3Cg class='c' transform='translate(0 0)'%3E%3Cpath class='d' d='M12.612,13.636a16.24,16.24,0,0,1-1.86-.822,13.436,13.436,0,0,0,1.6-.708,11.312,11.312,0,0,0,.264,1.53M16.032,7.3c-.266-.034-.128.091-.2.442a5.465,5.465,0,0,1-2.8,3.338,16.141,16.141,0,0,1,.249-4.84c.275-1,.6-.813.2-1.022-.427-.22-.887.071-1.258.813A27.247,27.247,0,0,1,7.4,13.522a2.141,2.141,0,0,1-2.918.461c-.206-.174-.282.095-.026.37a2.412,2.412,0,0,0,3.387-.082A32.715,32.715,0,0,0,12.219,7.51a23.541,23.541,0,0,0,.063,3.971,11.464,11.464,0,0,1-1.964.749c-.388.1-.628.26-.635.439-.007.2.253.363.63.541.67.318,2.633,1.246,3.117,1.527.414.24.616.053.739-.207.16-.338-.279-.533-.7-.661a13.175,13.175,0,0,1-.382-2.179,7.143,7.143,0,0,0,2.547-2.454,4.7,4.7,0,0,0,.4-1.133,2.125,2.125,0,0,0,.048-.742s-.007-.054-.048-.059' transform='translate(-3.51 -3.943)'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")||d(r,"src",o),d(a,"alt","GoA Logo"),d(a,"class","image-desktop"),qe(a.src,l="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E")||d(a,"src",l),d(c,"class","title"),d(i,"href",t[0]),d(i,"class","app-link"),d(e,"class","app-header"),d(e,"data-testid",t[2])},m(v,b){k(v,e,b),y(e,i),y(i,r),y(i,n),y(i,a),y(i,s),y(i,c),y(c,u),y(e,f),y(e,g)},p(v,[b]){b&2&&V(u,v[1]),b&1&&d(i,"href",v[0]),b&4&&d(e,"data-testid",v[2])},i:p,o:p,d(v){v&&E(e)}}}function Si(t,e,i){let{url:r="#"}=e,{title:o=""}=e,{testid:n=""}=e;return t.$$set=a=>{"url"in a&&i(0,r=a.url),"title"in a&&i(1,o=a.title),"testid"in a&&i(2,n=a.testid)},[r,o,n]}class nt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.app-header{display:flex;align-items:center;justify-content:space-between;margin:0 auto;padding:1rem 0.5rem;border-bottom:1px solid var(--color-gray-100)}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 768px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Si,Bi,G,{url:0,title:1,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["url","title","testid"]}get url(){return this.$$.ctx[0]}set url(e){this.$$set({url:e}),m()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-app-header",nt);function q(t){return t==="false"?!1:t===""?!0:!!t}function ji(t){let e;return{c(){e=_("div"),N(e,"height","1.2rem"),N(e,"margin-left","-0.25rem")},m(i,r){k(i,e,r)},p,d(i){i&&E(e)}}}function Pi(t){let e;return{c(){e=_("goa-icon"),z(e,"type",t[3]),z(e,"size","small")},m(i,r){k(i,e,r)},p(i,r){r&8&&z(e,"type",i[3])},d(i){i&&E(e)}}}function at(t){let e,i;return{c(){e=_("div"),i=W(t[2]),d(e,"class","goa-badge-content")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&4&&V(i,r[2])},d(r){r&&E(e)}}}function Oi(t){let e,i,r;function o(s,c){return s[4]?Pi:ji}let n=o(t),a=n(t),l=t[2]&&at(t);return{c(){e=_("div"),a.c(),i=M(),l&&l.c(),this.c=p,d(e,"data-testid",t[1]),d(e,"data-type","goa-badge"),d(e,"class",r="goa-badge badge-"+t[0]),P(e,"icon-only",t[4]&&!t[2])},m(s,c){k(s,e,c),a.m(e,null),y(e,i),l&&l.m(e,null)},p(s,[c]){n===(n=o(s))&&a?a.p(s,c):(a.d(1),a=n(s),a&&(a.c(),a.m(e,i))),s[2]?l?l.p(s,c):(l=at(s),l.c(),l.m(e,null)):l&&(l.d(1),l=null),c&2&&d(e,"data-testid",s[1]),c&1&&r!==(r="goa-badge badge-"+s[0])&&d(e,"class",r),c&21&&P(e,"icon-only",s[4]&&!s[2])},i:p,o:p,d(s){s&&E(e),a.d(),l&&l.d()}}}function Ni(t,e,i){let r,o,{type:n}=e,{testid:a=""}=e,{icon:l="false"}=e,{content:s=""}=e;return t.$$set=c=>{"type"in c&&i(0,n=c.type),"testid"in c&&i(1,a=c.testid),"icon"in c&&i(5,l=c.icon),"content"in c&&i(2,s=c.content)},t.$$.update=()=>{t.$$.dirty&32&&i(4,r=q(l)),t.$$.dirty&1&&i(3,o={success:"checkmark-circle",warning:"alert-circle",information:"information-circle",emergency:"warning",inactive:"information-circle",dark:"information-circle",midtone:"information-circle",light:"information-circle"}[n])},[n,a,s,o,r,l]}class lt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--fw-regular);margin:0.25rem}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--fs-sm);line-height:var(--lh-sm)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-warning{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}.goa-badge.badge-inactive{background-color:var(--color-white);color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ni,Oi,G,{type:0,testid:1,icon:5,content:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","testid","icon","content"]}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 icon(){return this.$$.ctx[5]}set icon(e){this.$$set({icon:e}),m()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),m()}}customElements.define("goa-badge",lt);function Fi(t){let e,i,r,o,n=t[4]&&st(t),a=t[5]&&ct(t);return{c(){n&&n.c(),e=M(),i=_("slot"),r=M(),a&&a.c(),o=ae()},m(l,s){n&&n.m(l,s),k(l,e,s),k(l,i,s),k(l,r,s),a&&a.m(l,s),k(l,o,s)},p(l,s){l[4]?n?n.p(l,s):(n=st(l),n.c(),n.m(e.parentNode,e)):n&&(n.d(1),n=null),l[5]?a?a.p(l,s):(a=ct(l),a.c(),a.m(o.parentNode,o)):a&&(a.d(1),a=null)},d(l){n&&n.d(l),l&&E(e),l&&E(i),l&&E(r),a&&a.d(l),l&&E(o)}}}function qi(t){let e,i,r;return{c(){e=_("slot"),i=M(),r=_("goa-icon"),z(r,"type","arrow-forward"),z(r,"inverted","true")},m(o,n){k(o,e,n),k(o,i,n),k(o,r,n)},p,d(o){o&&E(e),o&&E(i),o&&E(r)}}}function st(t){let e;return{c(){e=_("goa-icon"),z(e,"type",t[4]),z(e,"inverted","true")},m(i,r){k(i,e,r)},p(i,r){r&16&&z(e,"type",i[4])},d(i){i&&E(e)}}}function ct(t){let e;return{c(){e=_("goa-icon"),z(e,"type",t[5]),z(e,"inverted","true")},m(i,r){k(i,e,r)},p(i,r){r&32&&z(e,"type",i[5])},d(i){i&&E(e)}}}function Wi(t){let e,i,r,o;function n(s,c){return s[0]==="get-started"?qi:Fi}let a=n(t),l=a(t);return{c(){e=_("button"),l.c(),this.c=p,d(e,"class",i=""+(t[0]+" "+t[1]+" "+t[2])),d(e,"title",t[3]),e.disabled=t[7],d(e,"data-testid",t[6])},m(s,c){k(s,e,c),l.m(e,null),r||(o=X(e,"click",Ki),r=!0)},p(s,[c]){a===(a=n(s))&&l?l.p(s,c):(l.d(1),l=a(s),l&&(l.c(),l.m(e,null))),c&7&&i!==(i=""+(s[0]+" "+s[1]+" "+s[2]))&&d(e,"class",i),c&8&&d(e,"title",s[3]),c&128&&(e.disabled=s[7]),c&64&&d(e,"data-testid",s[6])},i:p,o:p,d(s){s&&E(e),l.d(),r=!1,o()}}}function Ki(t){this.dispatchEvent(new CustomEvent("_click",{composed:!0,bubbles:!0})),t.stopPropagation()}function Ui(t,e,i){let r,{type:o="primary"}=e,{size:n="normal"}=e,{variant:a="default"}=e,{title:l=""}=e,{disabled:s="false"}=e,{leadingicon:c=null}=e,{trailingicon:u=null}=e,{testid:f=""}=e;return t.$$set=g=>{"type"in g&&i(0,o=g.type),"size"in g&&i(1,n=g.size),"variant"in g&&i(2,a=g.variant),"title"in g&&i(3,l=g.title),"disabled"in g&&i(8,s=g.disabled),"leadingicon"in g&&i(4,c=g.leadingicon),"trailingicon"in g&&i(5,u=g.trailingicon),"testid"in g&&i(6,f=g.testid)},t.$$.update=()=>{t.$$.dirty&256&&i(7,r=q(s))},[o,n,a,l,c,u,f,r,s]}class dt extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 320px){:host{width:100%}button{width:100%}}button{border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-size:var(--fs-lg);font-weight:400;height:var(--button-height);padding:0 0.75rem;display:flex;gap:0.25rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
5
|
+
border-color 0.2s ease-in-out}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.get-started{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.get-started,button.primary{border:2px solid var(--goa-color-interactive);background:var(--goa-color-interactive);color:var(--color-white, white)}button.get-started:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background:var(--goa-color-interactive--hover)}button.get-started:focus,button.get-started:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background:var(--color-white);color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.primary.danger{color:var(--color-white);background:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.primary.danger:hover{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.primary.danger:focus,.primary.danger:active{background:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.danger{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background:var(--color-white)}.secondary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.secondary.danger:focus,.secondary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background:var(--color-white)}.tertiary.danger:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background:var(--color-white)}.tertiary.danger:focus,.tertiary.danger:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background:var(--color-white)}</style>`,j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ui,Wi,G,{type:0,size:1,variant:2,title:3,disabled:8,leadingicon:4,trailingicon:5,testid:6},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","size","variant","title","disabled","leadingicon","trailingicon","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),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 title(){return this.$$.ctx[3]}set title(e){this.$$set({title:e}),m()}get disabled(){return this.$$.ctx[8]}set disabled(e){this.$$set({disabled:e}),m()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),m()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-button",dt);function Zi(t){let e,i;return{c(){e=_("div"),i=_("slot"),this.c=p,N(e,"--alignment","flex-"+t[1]),N(e,"--gap-size",t[0]==="small"?"0.5rem":"1rem")},m(r,o){k(r,e,o),y(e,i)},p(r,[o]){o&2&&N(e,"--alignment","flex-"+r[1]),o&1&&N(e,"--gap-size",r[0]==="small"?"0.5rem":"1rem")},i:p,o:p,d(r){r&&E(e)}}}function Vi(t,e,i){let{gap:r="medium"}=e,{alignment:o}=e;return t.$$set=n=>{"gap"in n&&i(0,r=n.gap),"alignment"in n&&i(1,o=n.alignment)},[r,o]}class ut extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);flex-wrap:wrap;gap:var(--gap-size)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Vi,Zi,G,{gap:0,alignment:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["gap","alignment"]}get gap(){return this.$$.ctx[0]}set gap(e){this.$$set({gap:e}),m()}get alignment(){return this.$$.ctx[1]}set alignment(e){this.$$set({alignment:e}),m()}}customElements.define("goa-button-group",ut);function Xi(t){let e,i,r,o,n,a,l,s,c,u,f;return{c(){e=_("div"),i=_("span"),r=_("goa-icon"),a=M(),l=_("span"),s=_("h3"),c=W(t[1]),u=M(),f=_("slot"),this.c=p,z(r,"type",t[3]),z(r,"inverted",o=t[0]==="important"?"false":"true"),d(i,"class",n="icon "+t[0]),d(l,"class","content"),d(e,"class","notification"),d(e,"data-testid",t[2])},m(g,v){k(g,e,v),y(e,i),y(i,r),y(e,a),y(e,l),y(l,s),y(s,c),y(l,u),y(l,f)},p(g,[v]){v&8&&z(r,"type",g[3]),v&1&&o!==(o=g[0]==="important"?"false":"true")&&z(r,"inverted",o),v&1&&n!==(n="icon "+g[0])&&d(i,"class",n),v&2&&V(c,g[1]),v&4&&d(e,"data-testid",g[2])},i:p,o:p,d(g){g&&E(e)}}}function Yi(t,e,i){let r,{type:o}=e,{title:n}=e,{testid:a=""}=e;return t.$$set=l=>{"type"in l&&i(0,o=l.type),"title"in l&&i(1,n=l.title),"testid"in l&&i(2,a=l.testid)},t.$$.update=()=>{t.$$.dirty&1&&i(3,r=o==="emergency"?"warning":o==="important"?"alert-circle":o==="information"?"information-circle":o==="success"?"checkmark-circle":o==="event"?"calendar":"")},[o,n,a,r]}class ft extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden;margin-bottom:1.75rem}h3{font-size:var(--fs-xl);line-height:var(--lh-base);font-weight:var(--fw-regular);margin-top:0}.emergency{background-color:var(--goa-color-status-emergency)}.important{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info)}.event{background-color:var(--goa-color-status-info)}.success{background-color:var(--goa-color-status-success)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.5rem}.content{flex:1 1 auto;background-color:var(--color-gray-100);padding:1.5rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Yi,Xi,G,{type:0,title:1,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","title","testid"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get title(){return this.$$.ctx[1]}set title(e){this.$$set({title:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-callout",ft);function Ji(t){let e,i,r;return{c(){e=_("div"),i=_("slot"),this.c=p,d(e,"data-testid",t[2]),d(e,"class","card"),d(e,"style",r="--width: "+t[1]+"px; "+(t[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${t[0]});`)+"")},m(o,n){k(o,e,n),y(e,i)},p(o,[n]){n&4&&d(e,"data-testid",o[2]),n&3&&r!==(r="--width: "+o[1]+"px; "+(o[0]===0?"border: 1px solid var(--color-gray-200);":`box-shadow: var(--shadow-${o[0]});`)+"")&&d(e,"style",r)},i:p,o:p,d(o){o&&E(e)}}}function Qi(t,e,i){let{elevation:r=0}=e,{width:o=320}=e,{testId:n=""}=e;return t.$$set=a=>{"elevation"in a&&i(0,r=a.elevation),"width"in a&&i(1,o=a.width),"testId"in a&&i(2,n=a.testId)},[r,o,n]}class gt extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{display:flex;flex-direction:column;background-color:var(--color-white);border-radius:4px;overflow:hidden;width:100%}@media(min-width: 320px){.card{width:var(--width);margin:0 auto
|
|
6
|
+
}}</style>`,j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Qi,Ji,G,{elevation:0,width:1,testId:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["elevation","width","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 testId(){return this.$$.ctx[2]}set testId(e){this.$$set({testId:e}),m()}}customElements.define("goa-card",gt);function $i(t){let e;return{c(){e=_("goa-card-content"),e.innerHTML='<goa-button-group alignment="end"><slot></slot></goa-button-group>',this.c=p},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class ht extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,$i,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-actions",ht);function er(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-content")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class mt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,er,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-content",mt);function tr(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","card-group")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class bt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,tr,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-card-group",bt);function ir(t){let e;return{c(){e=_("div"),this.c=p,d(e,"class","card-image"),N(e,"background-image","url("+t[0]+")"),N(e,"height",t[1]),N(e,"background-size","cover"),N(e,"background-position","center")},m(i,r){k(i,e,r)},p(i,[r]){r&1&&N(e,"background-image","url("+i[0]+")"),r&2&&N(e,"height",i[1])},i:p,o:p,d(i){i&&E(e)}}}function rr(t,e,i){let{src:r}=e,{height:o="100%"}=e;return t.$$set=n=>{"src"in n&&i(0,r=n.src),"height"in n&&i(1,o=n.height)},[r,o]}class vt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},rr,ir,G,{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",vt);function or(t){let e,i;return{c(){e=ne("svg"),i=ne("path"),d(i,"d","M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z"),d(e,"id","checkmark"),d(e,"data-testid","checkmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 16 12.18")},m(r,o){k(r,e,o),y(e,i)},d(r){r&&E(e)}}}function nr(t){let e,i;return{c(){e=ne("svg"),i=ne("rect"),d(i,"width","15"),d(i,"height","2"),d(e,"id","dashmark"),d(e,"data-testid","dashmark"),d(e,"xmlns","http://www.w3.org/2000/svg"),d(e,"viewBox","0 0 15 2")},m(r,o){k(r,e,o),y(e,i)},d(r){r&&E(e)}}}function ar(t){let e,i,r,o,n,a,l,s,c,u,f;function g(h,w){if(h[5])return nr;if(h[4])return or}let v=g(t),b=v&&v(t);return{c(){e=_("label"),i=_("div"),r=_("input"),n=M(),b&&b.c(),a=M(),l=_("div"),s=_("slot"),c=W(t[1]),this.c=p,d(r,"id",t[8]),d(r,"data-testid",t[3]),d(r,"name",t[0]),r.checked=t[4],r.disabled=t[7],d(r,"type","checkbox"),r.value=o=`${t[2]}`,d(i,"class","goa-checkbox-container"),P(i,"goa-checkbox--selected",t[4]),d(s,"name","main"),d(l,"class","goa-checkbox-text"),d(l,"data-testid","text"),d(e,"for",t[8]),d(e,"class","goa-checkbox"),P(e,"goa-checkbox--disabled",t[7]),P(e,"goa-checkbox--error",t[6])},m(h,w){k(h,e,w),y(e,i),y(i,r),y(i,n),b&&b.m(i,null),y(e,a),y(e,l),y(l,s),y(s,c),u||(f=X(r,"change",t[9]),u=!0)},p(h,[w]){w&256&&d(r,"id",h[8]),w&8&&d(r,"data-testid",h[3]),w&1&&d(r,"name",h[0]),w&16&&(r.checked=h[4]),w&128&&(r.disabled=h[7]),w&4&&o!==(o=`${h[2]}`)&&(r.value=o),v!==(v=g(h))&&(b&&b.d(1),b=v&&v(h),b&&(b.c(),b.m(i,null))),w&16&&P(i,"goa-checkbox--selected",h[4]),w&2&&V(c,h[1]),w&256&&d(e,"for",h[8]),w&128&&P(e,"goa-checkbox--disabled",h[7]),w&64&&P(e,"goa-checkbox--error",h[6])},i:p,o:p,d(h){h&&E(e),b&&b.d(),u=!1,f()}}}function lr(t,e,i){let r,o,n,a,l,{name:s}=e,{text:c=""}=e,{value:u=""}=e,{checked:f}=e,{disabled:g}=e,{error:v}=e,{testid:b=""}=e;function h(w){const x=!a,R=x?`${u||"checked"}`:"";w.target.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:s,checked:x,value:R}}))}return t.$$set=w=>{"name"in w&&i(0,s=w.name),"text"in w&&i(1,c=w.text),"value"in w&&i(2,u=w.value),"checked"in w&&i(10,f=w.checked),"disabled"in w&&i(11,g=w.disabled),"error"in w&&i(12,v=w.error),"testid"in w&&i(3,b=w.testid)},t.$$.update=()=>{t.$$.dirty&1&&i(8,r=`id-${s}`),t.$$.dirty&2048&&i(7,o=q(g)),t.$$.dirty&4096&&i(6,n=q(v)),t.$$.dirty&1024&&i(4,a=q(f))},i(5,l=!1),[s,c,u,b,a,l,n,o,r,h,f,g,v]}class yt extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-gray-600);border-radius:2px;background-color:var(--color-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px}.goa-checkbox-container svg{fill:var(--color-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive--hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--fw-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--color-gray-500)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-status-emergency);box-shadow:inset 0 0 0 1px var(--goa-color-status-emergency);background-color:var(--color-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},lr,ar,G,{name:0,text:1,value:2,checked:10,disabled:11,error:12,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","text","value","checked","disabled","error","testid"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name: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 checked(){return this.$$.ctx[10]}set checked(e){this.$$set({checked:e}),m()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[12]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-checkbox",yt);function sr(t){let e,i,r,o,n,a,l,s,c;return{c(){e=_("div"),i=_("header"),r=_("div"),r.innerHTML='<slot name="title"></slot>',o=M(),n=_("div"),n.innerHTML='<slot name="actions"></slot>',l=M(),s=_("div"),s.innerHTML="<slot></slot>",this.c=p,d(r,"class","title"),d(n,"class","actions"),d(i,"class",a="heading--"+t[1]),d(s,"class","content"),d(e,"class",c="goa-container goa-container--"+t[0])},m(u,f){k(u,e,f),y(e,i),y(i,r),y(i,o),y(i,n),y(e,l),y(e,s)},p(u,[f]){f&2&&a!==(a="heading--"+u[1])&&d(i,"class",a),f&1&&c!==(c="goa-container goa-container--"+u[0])&&d(e,"class",c)},i:p,o:p,d(u){u&&E(e)}}}function cr(t,e,i){let{variant:r="default"}=e,{headingsize:o="large"}=e;return t.$$set=n=>{"variant"in n&&i(0,r=n.variant),"headingsize"in n&&i(1,o=n.headingsize)},[r,o]}class pt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},cr,sr,G,{variant:0,headingsize:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["variant","headingsize"]}get variant(){return this.$$.ctx[0]}set variant(e){this.$$set({variant:e}),m()}get headingsize(){return this.$$.ctx[1]}set headingsize(e){this.$$set({headingsize:e}),m()}}customElements.define("goa-container",pt);const de=[];function _t(t,e=p){let i;const r=new Set;function o(l){if(G(t,l)&&(t=l,i)){const s=!de.length;for(const c of r)c[1](),de.push(c,t);if(s){for(let c=0;c<de.length;c+=2)de[c][0](de[c+1]);de.length=0}}}function n(l){o(l(t))}function a(l,s=p){const c=[l,s];return r.add(c),r.size===1&&(i=e(o)||p),l(t),()=>{r.delete(c),r.size===0&&(i(),i=null)}}return{set:o,update:n,subscribe:a}}const pe={};class dr{constructor(){this.store=_t()}subscribe(e){this.store.subscribe(i=>{e(i)})}notify(e){this.store.update(()=>e)}}function wt(t){const e=new dr;return pe[t]=e,e}async function kt(t){return await xt(t,0)}async function xt(t,e){if(e>10)throw new Error(`Could not find context ${t}`);return pe[t]?pe[t]:(await $e(),xt(t,e+1))}function zt(t){!pe[t]||delete pe[t]}const Et="bind";function Ct(t,e,i){const r=t.slice();return r[29]=e[i],r[31]=i,r}function At(t){let e,i,r,o;return{c(){e=_("div"),d(e,"data-testid",i=`${t[1]}-dropdown-background`),d(e,"class","goa-dropdown-background")},m(n,a){k(n,e,a),r||(o=X(e,"click",t[15]),r=!0)},p(n,a){a[0]&2&&i!==(i=`${n[1]}-dropdown-background`)&&d(e,"data-testid",i)},d(n){n&&E(e),r=!1,o()}}}function Mt(t,e){let i,r=e[29].label+"",o,n,a,l,s,c,u;function f(){return e[18](e[29])}return{key:t,first:null,c(){i=_("li"),o=W(r),n=M(),d(i,"data-testid",a=`${e[29].value}-dropdown-item`),d(i,"data-index",l=e[31]),d(i,"class","goa-dropdown-option"),d(i,"style",s="display: block"),P(i,"goa-dropdown-option--disabled",!1),P(i,"goa-dropdown-option--tabbed",e[31]===e[10]),P(i,"goa-dropdown-option--selected",e[29].value===e[0]),this.first=i},m(g,v){k(g,i,v),y(i,o),y(i,n),c||(u=X(i,"click",f),c=!0)},p(g,v){e=g,v[0]&128&&r!==(r=e[29].label+"")&&V(o,r),v[0]&128&&a!==(a=`${e[29].value}-dropdown-item`)&&d(i,"data-testid",a),v[0]&128&&l!==(l=e[31])&&d(i,"data-index",l),v[0]&1152&&P(i,"goa-dropdown-option--tabbed",e[31]===e[10]),v[0]&129&&P(i,"goa-dropdown-option--selected",e[29].value===e[0])},d(g){g&&E(i),c=!1,u()}}}function ur(t){let e,i,r,o,n,a,l,s,c,u,f=[],g=new Map,v,b,h,w=t[9]&&At(t),x=t[7];const R=C=>C[29].value;for(let C=0;C<x.length;C+=1){let H=Ct(t,x,C),B=R(H);g.set(B,f[C]=Mt(B,H))}return{c(){e=_("div"),w&&w.c(),i=M(),r=_("div"),o=_("goa-input"),l=M(),s=_("ul"),c=_("slot"),u=M();for(let C=0;C<f.length;C+=1)f[C].c();this.c=p,z(o,"error",t[13]),z(o,"disabled",t[5]),z(o,"leadingicon",t[2]),z(o,"placeholder",t[4]),z(o,"id",n=`${t[1]}-dropdown-input`),z(o,"name","search"),z(o,"readonly",""),z(o,"trailingicon","chevron-down"),z(o,"type","text"),z(o,"value",t[8]),d(r,"data-testid",a=`${t[1]}-dropdown`),d(s,"tabindex","0"),d(s,"class","goa-dropdown-list"),d(s,"style",v=`overflow-y: auto; max-height: ${t[3]}px`),P(s,"dropdown-active",t[9]),d(e,"data-testid",t[6]),d(e,"class","goa-dropdown-box")},m(C,H){k(C,e,H),w&&w.m(e,null),y(e,i),y(e,r),y(r,o),y(e,l),y(e,s),y(s,c),y(s,u);for(let B=0;B<f.length;B+=1)f[B].m(s,null);t[19](s),t[20](e),b||(h=X(o,"click",t[14]),b=!0)},p(C,H){C[9]?w?w.p(C,H):(w=At(C),w.c(),w.m(e,i)):w&&(w.d(1),w=null),H[0]&8192&&z(o,"error",C[13]),H[0]&32&&z(o,"disabled",C[5]),H[0]&4&&z(o,"leadingicon",C[2]),H[0]&16&&z(o,"placeholder",C[4]),H[0]&2&&n!==(n=`${C[1]}-dropdown-input`)&&z(o,"id",n),H[0]&256&&z(o,"value",C[8]),H[0]&2&&a!==(a=`${C[1]}-dropdown`)&&d(r,"data-testid",a),H[0]&66689&&(x=C[7],f=rt(f,H,R,1,C,x,g,s,it,Mt,null,Ct)),H[0]&8&&v!==(v=`overflow-y: auto; max-height: ${C[3]}px`)&&d(s,"style",v),H[0]&512&&P(s,"dropdown-active",C[9]),H[0]&64&&d(e,"data-testid",C[6])},i:p,o:p,d(C){C&&E(e),w&&w.d();for(let H=0;H<f.length;H+=1)f[H].d();t[19](null),t[20](null),b=!1,h()}}}const fr=300;function gr(t,e,i){let r,{name:o}=e,{value:n}=e,{leadingicon:a}=e,{maxheight:l=fr}=e,{placeholder:s=""}=e,{disabled:c}=e,{error:u}=e,{testid:f}=e,g=[],v="",b=!1,h=0,w,x,R;Ae(async()=>{w.addEventListener("focus",A,!0),w.addEventListener("blur",O,!0),C()}),Xe(()=>{w.removeEventListener("focus",A,!0),w.removeEventListener("blur",O,!0),zt(o)});function C(){R=wt(o),R.subscribe(L=>{switch(L==null?void 0:L.type){case Et:{const _e=L,He=n===_e.value;i(7,g=[...g,Object.assign(Object.assign({},_e),{selected:He})]),He&&i(8,v=_e.label),T();break}}})}async function H(){c||b||(i(9,b=!0),await $e(),x.addEventListener("blur",B),x.focus(),x.addEventListener("keydown",ee),x.addEventListener("mouseover",xi))}function B(){x.removeEventListener("blur",B),x.removeEventListener("keydown",ee),x.removeEventListener("mouseover",xi),T(),i(9,b=!1)}function T(){i(10,h=g.findIndex(L=>L.value===n))}function K(L,_e,He){i(8,v=He),i(0,n=_e),B(),w.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:L,value:n}}))}const U=L=>{switch(L.key){case" ":H(),L.preventDefault();break}};function A(){w.addEventListener("keydown",U)}function O(){w.removeEventListener("keydown",U)}function ee(L){switch(L.key){case"ArrowUp":h===0?i(10,h=g.length-1):i(10,h--,h),L.preventDefault();break;case"ArrowDown":i(10,h=(h+1)%g.length),L.preventDefault();break;case"Tab":case"Enter":K(o,g[h].value,g[h].label),L.preventDefault();break;case"Escape":B(),L.preventDefault();break}}function xi(L){i(10,h=Number(L.target.dataset.index))}const co=L=>K(L.name,L.value,L.label);function uo(L){ce[L?"unshift":"push"](()=>{x=L,i(12,x)})}function fo(L){ce[L?"unshift":"push"](()=>{w=L,i(11,w)})}return t.$$set=L=>{"name"in L&&i(1,o=L.name),"value"in L&&i(0,n=L.value),"leadingicon"in L&&i(2,a=L.leadingicon),"maxheight"in L&&i(3,l=L.maxheight),"placeholder"in L&&i(4,s=L.placeholder),"disabled"in L&&i(5,c=L.disabled),"error"in L&&i(17,u=L.error),"testid"in L&&i(6,f=L.testid)},t.$$.update=()=>{t.$$.dirty[0]&131072&&i(13,r=u?"true":"false")},[n,o,a,l,s,c,f,g,v,b,h,w,x,r,H,B,K,u,co,uo,fo]}class Rt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-dropdown-box{position:relative;cursor:pointer}.goa-dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.goa-dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.goa-dropdown-list::-webkit-scrollbar{width:6px}.goa-dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.goa-dropdown-list::-webkit-scrollbar-thumb{background:#888}.goa-dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.goa-dropdown-option{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black)}.goa-dropdown-option--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.goa-dropdown-option--disabled{opacity:0.5;cursor:default}.goa-dropdown-option--disabled:hover{cursor:default;color:var(--color-gray-600)}.goa-dropdown-option--selected{background:var(--goa-color-interactive);color:var(--color-white)}.goa-dropdown-option--tabbed.goa-dropdown-option--selected,.goa-dropdown-option--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},gr,ur,G,{name:1,value:0,leadingicon:2,maxheight:3,placeholder:4,disabled:5,error:17,testid:6},null,[-1,-1]),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","value","leadingicon","maxheight","placeholder","disabled","error","testid"]}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 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 disabled(){return this.$$.ctx[5]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[17]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[6]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-dropdown",Rt);function hr(t){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function mr(t,e,i){let{name:r=""}=e,{value:o=""}=e,{label:n=""}=e,a;return Ae(async()=>{a=await kt(r),a.notify({type:Et,name:r,label:n,value:o})}),t.$$set=l=>{"name"in l&&i(0,r=l.name),"value"in l&&i(1,o=l.value),"label"in l&&i(2,n=l.label)},[r,o,n]}class Lt extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},mr,hr,G,{name:0,value:1,label:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["name","value","label"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),m()}get label(){return this.$$.ctx[2]}set label(e){this.$$set({label:e}),m()}}customElements.define("goa-dropdown-item",Lt);function br(t){let e,i;return{c(){e=_("div"),i=_("slot"),this.c=p,d(e,"class","goa-flex-row"),N(e,"gap",t[0])},m(r,o){k(r,e,o),y(e,i)},p(r,[o]){o&1&&N(e,"gap",r[0])},i:p,o:p,d(r){r&&E(e)}}}function vr(t,e,i){let r,{gap:o=""}=e;return t.$$set=n=>{"gap"in n&&i(1,o=n.gap)},t.$$.update=()=>{t.$$.dirty&2&&i(0,r=o==="small"?"1rem":o==="medium"?"2rem":o==="large"?"3rem":"0")},[r,o]}class Tt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-flex-row{margin-bottom:1rem;display:flex;flex-direction:column;flex-wrap:wrap;align-items:stretch}@media(min-width: 480px){.goa-flex-row{flex-direction:row}}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},vr,br,G,{gap:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["gap"]}get gap(){return this.$$.ctx[1]}set gap(e){this.$$set({gap:e}),m()}}customElements.define("goa-flex-row",Tt);function Ht(t){let e,i,r,o=t[3]&&It();return{c(){e=_("label"),i=W(t[0]),r=M(),o&&o.c(),d(e,"for","")},m(n,a){k(n,e,a),y(e,i),y(e,r),o&&o.m(e,null)},p(n,a){a&1&&V(i,n[0]),n[3]?o||(o=It(),o.c(),o.m(e,null)):o&&(o.d(1),o=null)},d(n){n&&E(e),o&&o.d()}}}function It(t){let e;return{c(){e=_("em"),e.textContent="(optional)"},m(i,r){k(i,e,r)},d(i){i&&E(e)}}}function Gt(t){let e,i;return{c(){e=_("div"),i=W(t[2]),d(e,"class","error-msg")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&4&&V(i,r[2])},d(r){r&&E(e)}}}function Dt(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"class","help-msg")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function yr(t){let e,i,r,o,n,a=t[0]&&Ht(t),l=t[2]&&Gt(t),s=t[1]&&Dt(t);return{c(){e=_("div"),a&&a.c(),i=M(),r=_("div"),r.innerHTML="<slot></slot>",o=M(),l&&l.c(),n=M(),s&&s.c(),this.c=p,d(r,"class","form-item-input"),d(e,"class","goa-form-item")},m(c,u){k(c,e,u),a&&a.m(e,null),y(e,i),y(e,r),y(e,o),l&&l.m(e,null),y(e,n),s&&s.m(e,null)},p(c,[u]){c[0]?a?a.p(c,u):(a=Ht(c),a.c(),a.m(e,i)):a&&(a.d(1),a=null),c[2]?l?l.p(c,u):(l=Gt(c),l.c(),l.m(e,n)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=Dt(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function pr(t,e,i){let r,{label:o=""}=e,{helptext:n=""}=e,{error:a=""}=e,{optional:l}=e;return t.$$set=s=>{"label"in s&&i(0,o=s.label),"helptext"in s&&i(1,n=s.helptext),"error"in s&&i(2,a=s.error),"optional"in s&&i(4,l=s.optional)},t.$$.update=()=>{t.$$.dirty&16&&i(3,r=q(l))},[o,n,a,r,l]}class Bt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{flex:1 1 auto;box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}label{display:block;font-weight:var(--fw-bold);color:var(--goa-color-text);font-size:var(--fs-base);padding:0.5rem 0}label em{color:var(--color-gray-600);font-weight:var(--fw-regular);font-size:var(--fs-sm);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--fs-sm);color:var(--goa-color-text)}.error-msg{font-size:var(--fs-sm);color:var(--goa-color-interactive--error);margin-bottom:0.25rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},pr,yr,G,{label:0,helptext:1,error:2,optional:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["label","helptext","error","optional"]}get label(){return this.$$.ctx[0]}set label(e){this.$$set({label:e}),m()}get helptext(){return this.$$.ctx[1]}set helptext(e){this.$$set({helptext:e}),m()}get error(){return this.$$.ctx[2]}set error(e){this.$$set({error:e}),m()}get optional(){return this.$$.ctx[4]}set optional(e){this.$$set({optional:e}),m()}}customElements.define("goa-form-item",Bt);function _r(t){let e,i,r,o,n,a,l,s;return{c(){e=_("div"),i=_("goa-page-block"),r=_("h1"),o=W(t[0]),n=M(),a=_("div"),a.innerHTML="<slot></slot>",l=M(),s=_("slot"),this.c=p,d(r,"role","heading"),d(a,"class","goa-hero-banner-content"),d(a,"role","note"),d(s,"name","actions"),d(e,"class","goa-hero"),d(e,"data-testid","background"),N(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("+t[1]+")"),N(e,"background-size","cover"),N(e,"background-position","center"),N(e,"background-repeat","no-repeat")},m(c,u){k(c,e,u),y(e,i),y(i,r),y(r,o),y(i,n),y(i,a),y(i,l),y(i,s)},p(c,[u]){u&1&&V(o,c[0]),u&2&&N(e,"background-image","linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 40%, rgba(0, 0, 0, 0.6) 100%), url("+c[1]+")")},i:p,o:p,d(c){c&&E(e)}}}function wr(t,e,i){let{title:r}=e,{backgroundurl:o}=e;return t.$$set=n=>{"title"in n&&i(0,r=n.title),"backgroundurl"in n&&i(1,o=n.backgroundurl)},[r,o]}class St extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;min-height:600px;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--fs-3xl);line-height:var(--lh-2xl);font-weight:var(--fw-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},wr,_r,G,{title:0,backgroundurl:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["title","backgroundurl"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),m()}get backgroundurl(){return this.$$.ctx[1]}set backgroundurl(e){this.$$set({backgroundurl:e}),m()}}customElements.define("goa-hero-banner",St);function jt(t){let e,i,r;return{c(){e=_("ion-icon"),z(e,"style",i=`width: ${t[2]}; height: ${t[2]}`),z(e,"name",r=t[1]==="filled"?t[0]:`${t[0]}-${t[1]}`)},m(o,n){k(o,e,n)},p(o,n){n&4&&i!==(i=`width: ${o[2]}; height: ${o[2]}`)&&z(e,"style",i),n&3&&r!==(r=o[1]==="filled"?o[0]:`${o[0]}-${o[1]}`)&&z(e,"name",r)},d(o){o&&E(e)}}}function kr(t){let e,i,r,o=t[0]&&jt(t);return{c(){e=_("div"),o&&o.c(),this.c=p,d(e,"class","goa-icon"),d(e,"data-testid",i=`icon-${t[0]}`),d(e,"style",r=`--size: ${t[2]}`),P(e,"inverted",t[3])},m(n,a){k(n,e,a),o&&o.m(e,null)},p(n,[a]){n[0]?o?o.p(n,a):(o=jt(n),o.c(),o.m(e,null)):o&&(o.d(1),o=null),a&1&&i!==(i=`icon-${n[0]}`)&&d(e,"data-testid",i),a&4&&r!==(r=`--size: ${n[2]}`)&&d(e,"style",r),a&8&&P(e,"inverted",n[3])},i:p,o:p,d(n){n&&E(e),o&&o.d()}}}function xr(t,e,i){let r,o,{type:n}=e,{size:a="medium"}=e,{theme:l="outline"}=e,{inverted:s}=e;return t.$$set=c=>{"type"in c&&i(0,n=c.type),"size"in c&&i(4,a=c.size),"theme"in c&&i(1,l=c.theme),"inverted"in c&&i(5,s=c.inverted)},t.$$.update=()=>{t.$$.dirty&32&&i(3,r=q(s)),t.$$.dirty&16&&i(2,o={small:"1.1rem",medium:"1.5rem",large:"2rem"}[a])},[n,l,o,r,a,s]}class Pt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}:host,.goa-icon{display:inline-flex;align-items:center}.goa-icon,.goa-icon *{box-sizing:border-box}.goa-icon{width:var(--size);height:var(--size)}.inverted{color:#fff;fill:#fff}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},xr,kr,G,{type:0,size:4,theme:1,inverted:5},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","size","theme","inverted"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get size(){return this.$$.ctx[4]}set size(e){this.$$set({size:e}),m()}get theme(){return this.$$.ctx[1]}set theme(e){this.$$set({theme:e}),m()}get inverted(){return this.$$.ctx[5]}set inverted(e){this.$$set({inverted:e}),m()}}customElements.define("goa-icon",Pt);function zr(t){let e,i,r,o;return{c(){e=_("button"),i=_("goa-icon"),this.c=p,z(i,"type",t[0]),z(i,"size",t[1]),z(i,"theme",t[2]),z(i,"inverted",t[5]),N(e,"--size",t[6]),d(e,"title",t[3]),e.disabled=t[7],d(e,"class",t[8]),d(e,"data-testid",t[4])},m(n,a){k(n,e,a),y(e,i),r||(o=X(e,"click",Er),r=!0)},p(n,[a]){a&1&&z(i,"type",n[0]),a&2&&z(i,"size",n[1]),a&4&&z(i,"theme",n[2]),a&32&&z(i,"inverted",n[5]),a&64&&N(e,"--size",n[6]),a&8&&d(e,"title",n[3]),a&128&&(e.disabled=n[7]),a&256&&d(e,"class",n[8]),a&16&&d(e,"data-testid",n[4])},i:p,o:p,d(n){n&&E(e),r=!1,o()}}}function Er(t){t.target.dispatchEvent(new CustomEvent("_click",{composed:!0,detail:{event:t}}))}function Cr(t,e,i){let r,o,n,a,{type:l}=e,{size:s="medium"}=e,{theme:c="outline"}=e,{variant:u="color"}=e,{title:f=""}=e,{testId:g=""}=e,{disabled:v}=e,{inverted:b}=e;return t.$$set=h=>{"type"in h&&i(0,l=h.type),"size"in h&&i(1,s=h.size),"theme"in h&&i(2,c=h.theme),"variant"in h&&i(9,u=h.variant),"title"in h&&i(3,f=h.title),"testId"in h&&i(4,g=h.testId),"disabled"in h&&i(10,v=h.disabled),"inverted"in h&&i(11,b=h.inverted)},t.$$.update=()=>{t.$$.dirty&2048&&i(5,n=q(b)),t.$$.dirty&544&&i(8,r=`goa-icon-button goa-icon-button--${u} ${n?"goa-icon-button--inverted":""}`),t.$$.dirty&1024&&i(7,o=q(v)),t.$$.dirty&2&&i(6,a={small:"1rem",medium:"1.5rem",large:"2rem"}[s])},[l,s,c,f,g,n,a,o,r,u,v,b]}class Ot extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{display:flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}.goa-icon-button,.goa-icon-button *{box-sizing:border-box}.goa-icon-button{display:inline-flex;align-items:center;background:transparent;cursor:pointer;padding:0;border:none}.goa-icon-button--color{border-radius:0.5rem;padding:calc(var(--size) / 4)}.goa-icon-button--color{border-radius:0.5rem;color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.goa-icon-button--color:active,.goa-icon-button--nocolor:active{transform:scale(0.9);border:none}.goa-icon-button--color:hover{background-color:var(--goa-color-primary-light)}.goa-icon-button--color.goa-icon-button--inverted:hover{background-color:var(--goa-color-primary-dark)}.goa-icon-button:disabled{color:var(--color-gray-200);fill:var(--color-gray-200);transform:none;cursor:default}.goa-icon-button:disabled:hover{background-color:transparent}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Cr,zr,G,{type:0,size:1,theme:2,variant:9,title:3,testId:4,disabled:10,inverted:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","size","theme","variant","title","testId","disabled","inverted"]}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 theme(){return this.$$.ctx[2]}set theme(e){this.$$set({theme:e}),m()}get variant(){return this.$$.ctx[9]}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[10]}set disabled(e){this.$$set({disabled:e}),m()}get inverted(){return this.$$.ctx[11]}set inverted(e){this.$$set({inverted:e}),m()}}customElements.define("goa-icon-button",Ot);function Nt(t){let e;return{c(){e=_("goa-icon"),z(e,"class","goa-input-leading-icon"),z(e,"data-testid","leading-icon"),z(e,"type",t[4])},m(i,r){k(i,e,r)},p(i,r){r&16&&z(e,"type",i[4])},d(i){i&&E(e)}}}function Ft(t){let e;return{c(){e=_("goa-icon"),z(e,"class","goa-input-trailing-icon"),z(e,"data-testid","trailing-icon"),z(e,"size","medium"),z(e,"type",t[5])},m(i,r){k(i,e,r)},p(i,r){r&32&&z(e,"type",i[5])},d(i){i&&E(e)}}}function qt(t){let e,i,r;return{c(){e=_("goa-icon-button"),z(e,"class","goa-input-trailing-icon"),z(e,"disabled",t[10]),z(e,"variant","nocolor"),z(e,"size","medium"),z(e,"type",t[5]),z(e,"data-testid","trailing-icon-button")},m(o,n){k(o,e,n),i||(r=X(e,"click",Mr),i=!0)},p(o,n){n&1024&&z(e,"disabled",o[10]),n&32&&z(e,"type",o[5])},d(o){o&&E(e),i=!1,r()}}}function Ar(t){let e,i,r,o,n,a,l,s,c,u,f,g=t[4]&&Nt(t),v=t[5]&&!t[13]&&Ft(t),b=t[5]&&t[13]&&qt(t);return{c(){e=_("div"),g&&g.c(),i=M(),r=_("input"),a=M(),v&&v.c(),l=M(),b&&b.c(),this.c=p,d(r,"class",o=`input--${t[6]}`),d(r,"style",n=`--search-icon-offset: ${t[5]?"-0.5rem":"0"}`),r.readOnly=t[12],r.disabled=t[10],d(r,"data-testid",t[7]),d(r,"name",t[1]),d(r,"type",t[0]),r.value=t[2],d(r,"placeholder",t[3]),d(e,"style",s=`width: ${t[8]};`),d(e,"class",c=`
|
|
7
7
|
goa-input
|
|
8
8
|
${t[10]?"goa-input--disabled":""}
|
|
9
9
|
variant--${t[6]}
|
|
10
10
|
type--${t[0]}
|
|
11
|
-
`),P(e,"error",t[11])},m(
|
|
11
|
+
`),P(e,"error",t[11])},m(h,w){k(h,e,w),g&&g.m(e,null),y(e,i),y(e,r),t[21](r),y(e,a),v&&v.m(e,null),y(e,l),b&&b.m(e,null),u||(f=[X(r,"keyup",t[14]),X(r,"change",t[14])],u=!0)},p(h,[w]){h[4]?g?g.p(h,w):(g=Nt(h),g.c(),g.m(e,i)):g&&(g.d(1),g=null),w&64&&o!==(o=`input--${h[6]}`)&&d(r,"class",o),w&32&&n!==(n=`--search-icon-offset: ${h[5]?"-0.5rem":"0"}`)&&d(r,"style",n),w&4096&&(r.readOnly=h[12]),w&1024&&(r.disabled=h[10]),w&128&&d(r,"data-testid",h[7]),w&2&&d(r,"name",h[1]),w&1&&d(r,"type",h[0]),w&4&&r.value!==h[2]&&(r.value=h[2]),w&8&&d(r,"placeholder",h[3]),h[5]&&!h[13]?v?v.p(h,w):(v=Ft(h),v.c(),v.m(e,l)):v&&(v.d(1),v=null),h[5]&&h[13]?b?b.p(h,w):(b=qt(h),b.c(),b.m(e,null)):b&&(b.d(1),b=null),w&256&&s!==(s=`width: ${h[8]};`)&&d(e,"style",s),w&1089&&c!==(c=`
|
|
12
12
|
goa-input
|
|
13
|
-
${
|
|
14
|
-
variant--${
|
|
15
|
-
type--${
|
|
16
|
-
`)&&d(e,"class",c),w&3137&&P(e,"error",
|
|
13
|
+
${h[10]?"goa-input--disabled":""}
|
|
14
|
+
variant--${h[6]}
|
|
15
|
+
type--${h[0]}
|
|
16
|
+
`)&&d(e,"class",c),w&3137&&P(e,"error",h[11])},i:p,o:p,d(h){h&&E(e),g&&g.d(),t[21](null),v&&v.d(),b&&b.d(),u=!1,Y(f)}}}function Mr(){this.dispatchEvent(new CustomEvent("_trailingIconClick",{composed:!0}))}function Rr(t,e,i){let r,o,n,a,l,{type:s="text"}=e,{name:c=""}=e,{value:u=""}=e,{placeholder:f=""}=e,{leadingicon:g=null}=e,{trailingicon:v=null}=e,{variant:b="goa"}=e,{disabled:h="false"}=e,{handletrailingiconclick:w="false"}=e,{focused:x="false"}=e,{readonly:R="false"}=e,{error:C="false"}=e,{testid:H=""}=e,{width:B="100%"}=e,T;function K(A){A.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{name:c,value:A.target.value}})),A.stopPropagation()}function U(A){ce[A?"unshift":"push"](()=>{T=A,i(9,T)})}return t.$$set=A=>{"type"in A&&i(0,s=A.type),"name"in A&&i(1,c=A.name),"value"in A&&i(2,u=A.value),"placeholder"in A&&i(3,f=A.placeholder),"leadingicon"in A&&i(4,g=A.leadingicon),"trailingicon"in A&&i(5,v=A.trailingicon),"variant"in A&&i(6,b=A.variant),"disabled"in A&&i(15,h=A.disabled),"handletrailingiconclick"in A&&i(16,w=A.handletrailingiconclick),"focused"in A&&i(17,x=A.focused),"readonly"in A&&i(18,R=A.readonly),"error"in A&&i(19,C=A.error),"testid"in A&&i(7,H=A.testid),"width"in A&&i(8,B=A.width)},t.$$.update=()=>{t.$$.dirty&65536&&i(13,r=q(w)),t.$$.dirty&131072&&i(20,o=q(x)),t.$$.dirty&262144&&i(12,n=q(R)),t.$$.dirty&524288&&i(11,a=q(C)),t.$$.dirty&32768&&i(10,l=q(h)),t.$$.dirty&1049088&&o&&T&&setTimeout(()=>T.focus(),1),t.$$.dirty&513&&T&&s==="search"&&T.addEventListener("search",A=>{K(A)})},[s,c,u,f,g,v,b,H,B,T,l,a,n,r,K,h,w,x,R,C,o,U]}class Wt extends D{constructor(e){super();this.shadowRoot.innerHTML=`<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background:white;display:inline-flex;align-items:center;vertical-align:middle}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}input{color:var(--goa-color-text)}input[readonly]{cursor:pointer}.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{display:flex;align-items:center;margin-left:0.5rem}.goa-input-trailing-icon{display:flex;align-items:center;margin-right:0.5rem}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:block;width:100%;font-size:var(--input-font-size);padding:var(--input-padding);line-height:calc(40px - calc(var(--input-padding) * 2));background-color:transparent}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--color-gray-100);border-color:var(--color-gray-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive--error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>') center center no-repeat}</style>`,j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Rr,Ar,G,{type:0,name:1,value:2,placeholder:3,leadingicon:4,trailingicon:5,variant:6,disabled:15,handletrailingiconclick:16,focused:17,readonly:18,error:19,testid:7,width:8},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","name","value","placeholder","leadingicon","trailingicon","variant","disabled","handletrailingiconclick","focused","readonly","error","testid","width"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[2]}set value(e){this.$$set({value:e}),m()}get placeholder(){return this.$$.ctx[3]}set placeholder(e){this.$$set({placeholder:e}),m()}get leadingicon(){return this.$$.ctx[4]}set leadingicon(e){this.$$set({leadingicon:e}),m()}get trailingicon(){return this.$$.ctx[5]}set trailingicon(e){this.$$set({trailingicon:e}),m()}get variant(){return this.$$.ctx[6]}set variant(e){this.$$set({variant:e}),m()}get disabled(){return this.$$.ctx[15]}set disabled(e){this.$$set({disabled:e}),m()}get handletrailingiconclick(){return this.$$.ctx[16]}set handletrailingiconclick(e){this.$$set({handletrailingiconclick:e}),m()}get focused(){return this.$$.ctx[17]}set focused(e){this.$$set({focused:e}),m()}get readonly(){return this.$$.ctx[18]}set readonly(e){this.$$set({readonly:e}),m()}get error(){return this.$$.ctx[19]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[7]}set testid(e){this.$$set({testid:e}),m()}get width(){return this.$$.ctx[8]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-input",Wt);function Lr(t){const e=t-1;return e*e*e+1}function Tr(t){return Math.pow(t-1,3)*(1-t)+1}function ue(t,{delay:e=0,duration:i=400,easing:r=fe}={}){const o=+getComputedStyle(t).opacity;return{delay:e,duration:i,easing:r,css:n=>`opacity: ${n*o}`}}function Kt(t,{delay:e=0,duration:i=400,easing:r=Lr,x:o=0,y:n=0,opacity:a=0}={}){const l=getComputedStyle(t),s=+l.opacity,c=l.transform==="none"?"":l.transform,u=s*(1-a);return{delay:e,duration:i,easing:r,css:(f,g)=>`
|
|
17
17
|
transform: ${c} translate(${(1-f)*o}px, ${(1-f)*n}px);
|
|
18
|
-
opacity: ${s-u*m}`}}function Wt(t,e){function i(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&i(),{update(){e.enable?i():r()},destroy(){r()}}}function Kt(t){let e,i,r,o,n,a,l,s,c,u,f,m,v,b,g,w,x,R,C,H,B=t[0]&&Ut(t),T=t[4]&&Zt(t);function K(O,ee){return O[5]?Rr:Mr}let U=K(t),A=U(t);return{c(){e=_("div"),i=_("div"),r=M(),o=_("div"),B&&B.c(),n=M(),T&&T.c(),a=M(),l=_("div"),A.c(),s=M(),c=_("slot"),u=M(),f=_("div"),f.innerHTML='<slot name="actions"></slot>',d(i,"data-testid","modal-overlay"),d(i,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",b="--scroll-offset: "+t[3]+"px; "+(t[1]&&`--width: ${t[1]};`)+";")},m(O,ee){k(O,e,ee),y(e,i),y(e,r),y(e,o),B&&B.m(o,null),y(o,n),T&&T.m(o,null),y(o,a),y(o,l),A.m(l,null),y(l,s),y(l,c),y(o,u),y(o,f),R=!0,C||(H=[X(i,"click",t[6]),We(g=Wt.call(null,e,{enable:t[2]}))],C=!0)},p(O,ee){O[0]?B?B.p(O,ee):(B=Ut(O),B.c(),B.m(o,n)):B&&(B.d(1),B=null),O[4]?T?T.p(O,ee):(T=Zt(O),T.c(),T.m(o,a)):T&&(T.d(1),T=null),U!==(U=K(O))&&(A.d(1),A=U(O),A&&(A.c(),A.m(l,s))),(!R||ee&10&&b!==(b="--scroll-offset: "+O[3]+"px; "+(O[1]&&`--width: ${O[1]};`)+";"))&&d(e,"style",b),g&&oe(g.update)&&ee&4&&g.update.call(null,{enable:O[2]})},i(O){R||(J(()=>{v&&v.end(1),m=et(o,qt,{duration:200,y:200}),m.start()}),J(()=>{x&&x.end(1),w=et(e,ue,{duration:200}),w.start()}),R=!0)},o(O){m&&m.invalidate(),v=tt(o,qt,{delay:200,duration:200,y:-100}),w&&w.invalidate(),x=tt(e,ue,{delay:200,duration:200}),R=!1},d(O){O&&E(e),B&&B.d(),T&&T.d(),A.d(),O&&v&&v.end(),O&&x&&x.end(),C=!1,Y(H)}}}function Ut(t){let e,i;return{c(){e=_("div"),i=W(t[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&1&&V(i,r[0])},d(r){r&&E(e)}}}function Zt(t){let e,i,r,o;return{c(){e=_("div"),i=_("goa-icon-button"),z(i,"data-testid","modal-close-button"),z(i,"type","close"),d(e,"class","modal-close")},m(n,a){k(n,e,a),y(e,i),r||(o=X(i,"click",t[6]),r=!0)},p,d(n){n&&E(e),r=!1,o()}}}function Mr(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",N(e,"margin","1.75rem")},m(i,r){k(i,e,r)},d(i){i&&E(e)}}}function Rr(t){let e;return{c(){e=_("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50"),z(e,"hpadding","1.75")},m(i,r){k(i,e,r)},d(i){i&&E(e)}}}function Lr(t){let e,i,r=t[2]&&Kt(t);return{c(){r&&r.c(),e=se(),this.c=p},m(o,n){r&&r.m(o,n),k(o,e,n),i=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&F(r,1)):(r=Kt(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),ye())},i(o){i||(F(r),i=!0)},o(o){Z(r),i=!1},d(o){r&&r.d(o),o&&E(e)}}}function Tr(t,e,i){let r,o,n,{heading:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,{width:u}=e,f=0;function m(v){!r||(v.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),v.stopPropagation())}return t.$$set=v=>{"heading"in v&&i(0,a=v.heading),"closable"in v&&i(7,l=v.closable),"scrollable"in v&&i(8,s=v.scrollable),"open"in v&&i(9,c=v.open),"width"in v&&i(1,u=v.width)},t.$$.update=()=>{t.$$.dirty&128&&i(4,r=q(l)),t.$$.dirty&256&&i(5,o=q(s)),t.$$.dirty&512&&i(2,n=q(c)),t.$$.dirty&4&&n&&i(3,f=window.pageYOffset)},[a,u,n,f,r,o,m,l,s,c]}class Vt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Tr,Lr,G,{heading:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["heading","closable","scrollable","open","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),h()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),h()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),h()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),h()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),h()}}customElements.define("goa-modal",Vt);function Xt(t){let e,i,r,o,n,a,l,s,c,u,f,m,v;return{c(){e=_("div"),i=_("div"),r=_("goa-icon"),o=M(),n=_("div"),n.innerHTML="<slot></slot>",a=M(),l=_("div"),s=_("goa-icon-button"),z(r,"type",t[2]),z(r,"inverted",""),d(i,"class","icon"),d(n,"class","content"),z(s,"type","close"),z(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+t[0])},m(b,g){k(b,e,g),y(e,i),y(i,r),y(e,o),y(e,n),y(e,a),y(e,l),y(l,s),f=!0,m||(v=X(s,"click",t[3]),m=!0)},p(b,g){(!f||g&4)&&z(r,"type",b[2]),(!f||g&1&&c!==(c="notification "+b[0]))&&d(e,"class",c)},i(b){f||(J(()=>{u||(u=Te(e,ue,{},!0)),u.run(1)}),f=!0)},o(b){u||(u=Te(e,ue,{},!1)),u.run(0),f=!1},d(b){b&&E(e),b&&u&&u.end(),m=!1,v()}}}function Hr(t){let e,i,r=t[1]&&Xt(t);return{c(){r&&r.c(),e=se(),this.c=p},m(o,n){r&&r.m(o,n),k(o,e,n),i=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&F(r,1)):(r=Xt(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),ye())},i(o){i||(F(r),i=!0)},o(o){Z(r),i=!1},d(o){r&&r.d(o),o&&E(e)}}}function Ir(t,e,i){let r,{type:o}=e,n=!0;function a(){i(1,n=!1)}return t.$$set=l=>{"type"in l&&i(0,o=l.type)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class Yt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ir,Hr,G,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-notification",Yt);function Gr(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","layout")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class Jt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Gr,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-layout",Jt);function Qt(t){let e,i,r,o;const n=[Br,Dr],a=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(t))&&(i=a[e]=n[e](t)),{c(){i&&i.c(),r=se()},m(s,c){~e&&a[e].m(s,c),k(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(i&&(ve(),Z(a[u],1,1,()=>{a[u]=null}),ye()),~e?(i=a[e],i?i.p(s,c):(i=a[e]=n[e](s),i.c()),F(i,1),i.m(r.parentNode,r)):i=null)},i(s){o||(F(i),o=!0)},o(s){Z(i),o=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function Dr(t){let e,i,r,o,n,a=t[1]&&$t(t);return{c(){e=_("div"),i=_("goa-spinner"),o=M(),a&&a.c(),z(i,"type",t[0]),z(i,"size",t[4]),z(i,"progress",r=t[2]||0),d(e,"class",n="spinner-"+t[4]),P(e,"inline",t[5])},m(l,s){k(l,e,s),y(e,i),y(e,o),a&&a.m(e,null)},p(l,s){s&1&&z(i,"type",l[0]),s&16&&z(i,"size",l[4]),s&4&&r!==(r=l[2]||0)&&z(i,"progress",r),l[1]?a?a.p(l,s):(a=$t(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&16&&n!==(n="spinner-"+l[4])&&d(e,"class",n),s&48&&P(e,"inline",l[5])},i:p,o:p,d(l){l&&E(e),a&&a.d()}}}function Br(t){let e,i,r,o,n,a,l,s,c=t[1]&&ei(t);return{c(){e=_("div"),i=_("goa-spinner"),o=M(),c&&c.c(),z(i,"type",t[0]),z(i,"size",t[4]),z(i,"progress",r=t[2]||0),P(e,"fullscreen",t[6])},m(u,f){k(u,e,f),y(e,i),y(e,o),c&&c.m(e,null),a=!0,l||(s=We(Wt.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&z(i,"type",u[0]),(!a||f&16)&&z(i,"size",u[4]),(!a||f&4&&r!==(r=u[2]||0))&&z(i,"progress",r),u[1]?c?c.p(u,f):(c=ei(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&P(e,"fullscreen",u[6])},i(u){a||(J(()=>{n||(n=Te(e,ue,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Te(e,ue,{duration:300},!1)),n.run(0),a=!1},d(u){u&&E(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function $t(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"class","message")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function ei(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"class","message")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function Sr(t){let e,i,r=t[3]&&Qt(t);return{c(){r&&r.c(),e=se(),this.c=p},m(o,n){r&&r.m(o,n),k(o,e,n),i=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&F(r,1)):(r=Qt(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),ye())},i(o){i||(F(r),i=!0)},o(o){Z(r),i=!1},d(o){r&&r.d(o),o&&E(e)}}}function jr(t,e,i){let r,o,n,a,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:m=0}=e,{visible:v="false"}=e;return t.$$set=b=>{"type"in b&&i(0,s=b.type),"variant"in b&&i(7,c=b.variant),"size"in b&&i(8,u=b.size),"message"in b&&i(1,f=b.message),"progress"in b&&i(2,m=b.progress),"visible"in b&&i(9,v=b.visible)},t.$$.update=()=>{t.$$.dirty&512&&i(10,r=q(v)),t.$$.dirty&128&&i(6,o=c==="fullscreen"),t.$$.dirty&128&&i(5,n=c==="inline"),t.$$.dirty&256&&i(4,a=u==="small"?"large":"xlarge"),t.$$.dirty&1281&&i(3,l=s&&r&&u)},[s,f,m,l,a,n,o,c,u,v,r]}class ti extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},jr,Sr,G,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),h()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),h()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),h()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),h()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),h()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),h()}}customElements.define("goa-circular-progress",ti);const ii="bind";function ri(t,e,i){const r=t.slice();return r[14]=e[i],r}function oi(t,e){let i,r,o,n,a,l,s,c,u=(e[14].label||e[14].value)+"",f,m,v,b,g;function w(){return e[11](e[14])}return{key:t,first:null,c(){i=_("label"),r=_("input"),a=M(),l=_("div"),s=M(),c=_("span"),f=W(u),m=M(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(i,"data-testid",v="radio-option-"+e[14].value),d(i,"class","goa-radio"),P(i,"goa-radio--disabled",e[7]),P(i,"goa-radio--error",e[5]),this.first=i},m(x,R){k(x,i,R),y(i,r),y(i,a),y(i,l),y(i,s),y(i,c),y(c,f),y(i,m),b||(g=X(r,"change",w),b=!0)},p(x,R){e=x,R&2&&d(r,"name",e[1]),R&16&&o!==(o=e[14].value)&&(r.value=o),R&128&&(r.disabled=e[7]),R&17&&n!==(n=e[14].value===e[0])&&(r.checked=n),R&16&&u!==(u=(e[14].label||e[14].value)+"")&&V(f,u),R&16&&v!==(v="radio-option-"+e[14].value)&&d(i,"data-testid",v),R&128&&P(i,"goa-radio--disabled",e[7]),R&32&&P(i,"goa-radio--error",e[5])},d(x){x&&E(i),b=!1,g()}}}function Pr(t){let e,i,r,o=[],n=new Map,a,l=t[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=ri(t,l,c),f=s(u);n.set(f,o[c]=oi(f,u))}return{c(){e=_("div"),i=_("slot"),r=M();for(let c=0;c<o.length;c+=1)o[c].c();this.c=p,d(e,"class",a=`goa-radio-group--${t[2]}`),d(e,"data-testid",t[3])},m(c,u){k(c,e,u),y(e,i),y(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);t[12](e)},p(c,[u]){u&435&&(l=c[4],o=rt(o,u,s,1,c,l,n,e,it,oi,null,ri)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:p,o:p,d(c){c&&E(e);for(let u=0;u<o.length;u+=1)o[u].d();t[12](null)}}}function Or(t,e,i){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,m,v;Ae(()=>{m=pt(o),m.subscribe(x=>{switch(x==null?void 0:x.type){case ii:i(4,u=[...u,x])}})});function b(x){x!==n&&(i(0,n=x),v.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}Xe(()=>{kt(o)});const g=x=>b(x.value);function w(x){ce[x?"unshift":"push"](()=>{v=x,i(6,v)})}return t.$$set=x=>{"name"in x&&i(1,o=x.name),"value"in x&&i(0,n=x.value),"orientation"in x&&i(2,a=x.orientation),"disabled"in x&&i(9,l=x.disabled),"error"in x&&i(10,s=x.error),"testid"in x&&i(3,c=x.testid)},t.$$.update=()=>{t.$$.dirty&512&&i(7,r=q(l)),t.$$.dirty&1024&&i(5,f=q(s))},[n,o,a,c,u,f,v,r,b,l,s,g,w]}class ni extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:flex;flex-direction:column}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Or,Pr,G,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","orientation","disabled","error","testid"]}get name(){return this.$$.ctx[1]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get orientation(){return this.$$.ctx[2]}set orientation(e){this.$$set({orientation:e}),h()}get disabled(){return this.$$.ctx[9]}set disabled(e){this.$$set({disabled:e}),h()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),h()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-radio-group",ni);function Nr(t){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function Fr(t,e,i){let{value:r}=e,{label:o}=e,{name:n}=e,a;return Ae(async()=>{a=await _t(n),a.notify({type:ii,value:r,label:o})}),t.$$set=l=>{"value"in l&&i(0,r=l.value),"label"in l&&i(1,o=l.label),"name"in l&&i(2,n=l.name)},[r,o,n]}class ai extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Fr,Nr,G,{value:0,label:1,name:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),h()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),h()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),h()}}customElements.define("goa-radio-item",ai);function qr(t){let e,i,r;return{c(){e=_("div"),i=_("slot"),this.c=p,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
18
|
+
opacity: ${s-u*g}`}}function Ut(t,e){function i(){const n=o();document.body.style.overflow="hidden",document.body.style.paddingRight=n+"px"}function r(){setTimeout(()=>{document.body.style.overflow="",document.body.style.paddingRight="0"},500)}function o(){if(document.body.clientHeight<=document.documentElement.clientHeight)return 0;const n=document.createElement("div");n.style.visibility="hidden",n.style.overflow="scroll",document.body.appendChild(n);const a=document.createElement("div");n.appendChild(a);const l=n.offsetWidth-a.offsetWidth;return n.parentNode.removeChild(n),l}return e.enable&&i(),{update(){e.enable?i():r()},destroy(){r()}}}function Zt(t){let e,i,r,o,n,a,l,s,c,u,f,g,v,b,h,w,x,R,C,H,B=t[0]&&Vt(t),T=t[4]&&Xt(t);function K(O,ee){return O[5]?Ir:Hr}let U=K(t),A=U(t);return{c(){e=_("div"),i=_("div"),r=M(),o=_("div"),B&&B.c(),n=M(),T&&T.c(),a=M(),l=_("div"),A.c(),s=M(),c=_("slot"),u=M(),f=_("div"),f.innerHTML='<slot name="actions"></slot>',d(i,"data-testid","modal-overlay"),d(i,"class","modal-overlay"),d(l,"data-testid","modal-content"),d(l,"class","modal-content"),d(f,"data-testid","modal-actions"),d(f,"class","modal-actions"),d(o,"class","modal-pane"),d(e,"data-testid","modal"),d(e,"class","modal"),d(e,"style",b="--scroll-offset: "+t[3]+"px; "+(t[1]&&`--width: ${t[1]};`)+";")},m(O,ee){k(O,e,ee),y(e,i),y(e,r),y(e,o),B&&B.m(o,null),y(o,n),T&&T.m(o,null),y(o,a),y(o,l),A.m(l,null),y(l,s),y(l,c),y(o,u),y(o,f),R=!0,C||(H=[X(i,"click",t[6]),We(h=Ut.call(null,e,{enable:t[2]}))],C=!0)},p(O,ee){O[0]?B?B.p(O,ee):(B=Vt(O),B.c(),B.m(o,n)):B&&(B.d(1),B=null),O[4]?T?T.p(O,ee):(T=Xt(O),T.c(),T.m(o,a)):T&&(T.d(1),T=null),U!==(U=K(O))&&(A.d(1),A=U(O),A&&(A.c(),A.m(l,s))),(!R||ee&10&&b!==(b="--scroll-offset: "+O[3]+"px; "+(O[1]&&`--width: ${O[1]};`)+";"))&&d(e,"style",b),h&&oe(h.update)&&ee&4&&h.update.call(null,{enable:O[2]})},i(O){R||(J(()=>{v&&v.end(1),g=et(o,Kt,{duration:200,y:200}),g.start()}),J(()=>{x&&x.end(1),w=et(e,ue,{duration:200}),w.start()}),R=!0)},o(O){g&&g.invalidate(),v=tt(o,Kt,{delay:200,duration:200,y:-100}),w&&w.invalidate(),x=tt(e,ue,{delay:200,duration:200}),R=!1},d(O){O&&E(e),B&&B.d(),T&&T.d(),A.d(),O&&v&&v.end(),O&&x&&x.end(),C=!1,Y(H)}}}function Vt(t){let e,i;return{c(){e=_("div"),i=W(t[0]),d(e,"data-testid","modal-title"),d(e,"class","modal-title")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&1&&V(i,r[0])},d(r){r&&E(e)}}}function Xt(t){let e,i,r,o;return{c(){e=_("div"),i=_("goa-icon-button"),z(i,"data-testid","modal-close-button"),z(i,"type","close"),d(e,"class","modal-close")},m(n,a){k(n,e,a),y(e,i),r||(o=X(i,"click",t[6]),r=!0)},p,d(n){n&&E(e),r=!1,o()}}}function Hr(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",N(e,"margin","1.75rem")},m(i,r){k(i,e,r)},d(i){i&&E(e)}}}function Ir(t){let e;return{c(){e=_("goa-scrollable"),e.innerHTML="<slot></slot>",z(e,"direction","vertical"),z(e,"height","50"),z(e,"hpadding","1.75")},m(i,r){k(i,e,r)},d(i){i&&E(e)}}}function Gr(t){let e,i,r=t[2]&&Zt(t);return{c(){r&&r.c(),e=ae(),this.c=p},m(o,n){r&&r.m(o,n),k(o,e,n),i=!0},p(o,[n]){o[2]?r?(r.p(o,n),n&4&&F(r,1)):(r=Zt(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),ye())},i(o){i||(F(r),i=!0)},o(o){Z(r),i=!1},d(o){r&&r.d(o),o&&E(e)}}}function Dr(t,e,i){let r,o,n,{heading:a}=e,{closable:l}=e,{scrollable:s}=e,{open:c}=e,{width:u}=e,f=0;function g(v){!r||(v.target.dispatchEvent(new CustomEvent("_close",{composed:!0})),v.stopPropagation())}return t.$$set=v=>{"heading"in v&&i(0,a=v.heading),"closable"in v&&i(7,l=v.closable),"scrollable"in v&&i(8,s=v.scrollable),"open"in v&&i(9,c=v.open),"width"in v&&i(1,u=v.width)},t.$$.update=()=>{t.$$.dirty&128&&i(4,r=q(l)),t.$$.dirty&256&&i(5,o=q(s)),t.$$.dirty&512&&i(2,n=q(c)),t.$$.dirty&4&&n&&i(3,f=window.pageYOffset)},[a,u,n,f,r,o,g,l,s,c]}class Yt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:absolute;top:var(--scroll-offset, 0);left:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:var(--width, 60ch);margin:1rem;box-shadow:var(--shadow-2);border-radius:4px;max-height:90%}@media(min-width: 640px){.modal-pane{max-height:80%}}.modal-actions{text-align:right;padding:0 1.75rem;margin:1.75rem 0;flex:1 1 auto}.modal-close{position:absolute;top:1rem;right:1rem}.modal-title{font-size:var(--fs-xl);padding-bottom:1rem;padding:0 1.75rem;margin:1.75rem 0;margin-right:40px;flex:0 0 auto}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Dr,Gr,G,{heading:0,closable:7,scrollable:8,open:9,width:1},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["heading","closable","scrollable","open","width"]}get heading(){return this.$$.ctx[0]}set heading(e){this.$$set({heading:e}),m()}get closable(){return this.$$.ctx[7]}set closable(e){this.$$set({closable:e}),m()}get scrollable(){return this.$$.ctx[8]}set scrollable(e){this.$$set({scrollable:e}),m()}get open(){return this.$$.ctx[9]}set open(e){this.$$set({open:e}),m()}get width(){return this.$$.ctx[1]}set width(e){this.$$set({width:e}),m()}}customElements.define("goa-modal",Yt);function Jt(t){let e,i,r,o,n,a,l,s,c,u,f,g,v;return{c(){e=_("div"),i=_("div"),r=_("goa-icon"),o=M(),n=_("div"),n.innerHTML="<slot></slot>",a=M(),l=_("div"),s=_("goa-icon-button"),z(r,"type",t[2]),z(r,"inverted",""),d(i,"class","icon"),d(n,"class","content"),z(s,"type","close"),z(s,"inverted",""),d(l,"class","close"),d(e,"class",c="notification "+t[0])},m(b,h){k(b,e,h),y(e,i),y(i,r),y(e,o),y(e,n),y(e,a),y(e,l),y(l,s),f=!0,g||(v=X(s,"click",t[3]),g=!0)},p(b,h){(!f||h&4)&&z(r,"type",b[2]),(!f||h&1&&c!==(c="notification "+b[0]))&&d(e,"class",c)},i(b){f||(J(()=>{u||(u=Te(e,ue,{},!0)),u.run(1)}),f=!0)},o(b){u||(u=Te(e,ue,{},!1)),u.run(0),f=!1},d(b){b&&E(e),b&&u&&u.end(),g=!1,v()}}}function Br(t){let e,i,r=t[1]&&Jt(t);return{c(){r&&r.c(),e=ae(),this.c=p},m(o,n){r&&r.m(o,n),k(o,e,n),i=!0},p(o,[n]){o[1]?r?(r.p(o,n),n&2&&F(r,1)):(r=Jt(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),ye())},i(o){i||(F(r),i=!0)},o(o){Z(r),i=!1},d(o){r&&r.d(o),o&&E(e)}}}function Sr(t,e,i){let r,{type:o}=e,n=!0;function a(){i(1,n=!1)}return t.$$set=l=>{"type"in l&&i(0,o=l.type)},t.$$.update=()=>{t.$$.dirty&1&&i(2,r=o==="emergency"?"warning":o==="caution"?"alert-circle":o==="information"?"information-circle":"calendar")},[o,n,r,a]}class Qt extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;align-items:center;gap:1rem;border-radius:3px}.emergency{background-color:var(--goa-color-status-emergency);color:var(--color-white)}.caution{background-color:var(--goa-color-status-warning)}.information{background-color:var(--goa-color-status-info);color:var(--color-white)}.event{background-color:var(--goa-color-status-success);color:var(--color-white)}.icon{flex:0 0 auto;align-self:flex-start}.content{flex:1 1 auto}.close{flex:0 0 auto;align-self:flex-start}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Sr,Br,G,{type:0},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}}customElements.define("goa-notification",Qt);function jr(t){let e;return{c(){e=_("div"),e.innerHTML="<slot></slot>",this.c=p,d(e,"class","layout")},m(i,r){k(i,e,r)},p,i:p,o:p,d(i){i&&E(e)}}}class $t extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>@media(min-width: 768px){}.layout{max-width:768px;margin:0 auto;padding:2rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,jr,G,{},null),e&&e.target&&k(e.target,this,e.anchor)}}customElements.define("goa-page-layout",$t);function ei(t){let e,i,r,o;const n=[Or,Pr],a=[];function l(s,c){return s[6]?0:s[5]?1:-1}return~(e=l(t))&&(i=a[e]=n[e](t)),{c(){i&&i.c(),r=ae()},m(s,c){~e&&a[e].m(s,c),k(s,r,c),o=!0},p(s,c){let u=e;e=l(s),e===u?~e&&a[e].p(s,c):(i&&(ve(),Z(a[u],1,1,()=>{a[u]=null}),ye()),~e?(i=a[e],i?i.p(s,c):(i=a[e]=n[e](s),i.c()),F(i,1),i.m(r.parentNode,r)):i=null)},i(s){o||(F(i),o=!0)},o(s){Z(i),o=!1},d(s){~e&&a[e].d(s),s&&E(r)}}}function Pr(t){let e,i,r,o,n,a=t[1]&&ti(t);return{c(){e=_("div"),i=_("goa-spinner"),o=M(),a&&a.c(),z(i,"type",t[0]),z(i,"size",t[4]),z(i,"progress",r=t[2]||0),d(e,"class",n="spinner-"+t[4]),P(e,"inline",t[5])},m(l,s){k(l,e,s),y(e,i),y(e,o),a&&a.m(e,null)},p(l,s){s&1&&z(i,"type",l[0]),s&16&&z(i,"size",l[4]),s&4&&r!==(r=l[2]||0)&&z(i,"progress",r),l[1]?a?a.p(l,s):(a=ti(l),a.c(),a.m(e,null)):a&&(a.d(1),a=null),s&16&&n!==(n="spinner-"+l[4])&&d(e,"class",n),s&48&&P(e,"inline",l[5])},i:p,o:p,d(l){l&&E(e),a&&a.d()}}}function Or(t){let e,i,r,o,n,a,l,s,c=t[1]&&ii(t);return{c(){e=_("div"),i=_("goa-spinner"),o=M(),c&&c.c(),z(i,"type",t[0]),z(i,"size",t[4]),z(i,"progress",r=t[2]||0),P(e,"fullscreen",t[6])},m(u,f){k(u,e,f),y(e,i),y(e,o),c&&c.m(e,null),a=!0,l||(s=We(Ut.call(null,e,{enable:!0})),l=!0)},p(u,f){(!a||f&1)&&z(i,"type",u[0]),(!a||f&16)&&z(i,"size",u[4]),(!a||f&4&&r!==(r=u[2]||0))&&z(i,"progress",r),u[1]?c?c.p(u,f):(c=ii(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null),f&64&&P(e,"fullscreen",u[6])},i(u){a||(J(()=>{n||(n=Te(e,ue,{duration:300},!0)),n.run(1)}),a=!0)},o(u){n||(n=Te(e,ue,{duration:300},!1)),n.run(0),a=!1},d(u){u&&E(e),c&&c.d(),u&&n&&n.end(),l=!1,s()}}}function ti(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"class","message")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function ii(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"class","message")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function Nr(t){let e,i,r=t[3]&&ei(t);return{c(){r&&r.c(),e=ae(),this.c=p},m(o,n){r&&r.m(o,n),k(o,e,n),i=!0},p(o,[n]){o[3]?r?(r.p(o,n),n&8&&F(r,1)):(r=ei(o),r.c(),F(r,1),r.m(e.parentNode,e)):r&&(ve(),Z(r,1,1,()=>{r=null}),ye())},i(o){i||(F(r),i=!0)},o(o){Z(r),i=!1},d(o){r&&r.d(o),o&&E(e)}}}function Fr(t,e,i){let r,o,n,a,l,{type:s}=e,{variant:c}=e,{size:u}=e,{message:f=""}=e,{progress:g=0}=e,{visible:v="false"}=e;return t.$$set=b=>{"type"in b&&i(0,s=b.type),"variant"in b&&i(7,c=b.variant),"size"in b&&i(8,u=b.size),"message"in b&&i(1,f=b.message),"progress"in b&&i(2,g=b.progress),"visible"in b&&i(9,v=b.visible)},t.$$.update=()=>{t.$$.dirty&512&&i(10,r=q(v)),t.$$.dirty&128&&i(6,o=c==="fullscreen"),t.$$.dirty&128&&i(5,n=c==="inline"),t.$$.dirty&256&&i(4,a=u==="small"?"large":"xlarge"),t.$$.dirty&1281&&i(3,l=s&&r&&u)},[s,f,g,l,a,n,o,c,u,v,r]}class ri extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Fr,Nr,G,{type:0,variant:7,size:8,message:1,progress:2,visible:9},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["type","variant","size","message","progress","visible"]}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),m()}get variant(){return this.$$.ctx[7]}set variant(e){this.$$set({variant:e}),m()}get size(){return this.$$.ctx[8]}set size(e){this.$$set({size:e}),m()}get message(){return this.$$.ctx[1]}set message(e){this.$$set({message:e}),m()}get progress(){return this.$$.ctx[2]}set progress(e){this.$$set({progress:e}),m()}get visible(){return this.$$.ctx[9]}set visible(e){this.$$set({visible:e}),m()}}customElements.define("goa-circular-progress",ri);const oi="bind";function ni(t,e,i){const r=t.slice();return r[14]=e[i],r}function ai(t,e){let i,r,o,n,a,l,s,c,u=(e[14].label||e[14].value)+"",f,g,v,b,h;function w(){return e[11](e[14])}return{key:t,first:null,c(){i=_("label"),r=_("input"),a=M(),l=_("div"),s=M(),c=_("span"),f=W(u),g=M(),d(r,"type","radio"),d(r,"name",e[1]),r.value=o=e[14].value,r.disabled=e[7],r.checked=n=e[14].value===e[0],d(l,"class","goa-radio-icon"),d(c,"class","goa-radio-label"),d(i,"data-testid",v="radio-option-"+e[14].value),d(i,"class","goa-radio"),P(i,"goa-radio--disabled",e[7]),P(i,"goa-radio--error",e[5]),this.first=i},m(x,R){k(x,i,R),y(i,r),y(i,a),y(i,l),y(i,s),y(i,c),y(c,f),y(i,g),b||(h=X(r,"change",w),b=!0)},p(x,R){e=x,R&2&&d(r,"name",e[1]),R&16&&o!==(o=e[14].value)&&(r.value=o),R&128&&(r.disabled=e[7]),R&17&&n!==(n=e[14].value===e[0])&&(r.checked=n),R&16&&u!==(u=(e[14].label||e[14].value)+"")&&V(f,u),R&16&&v!==(v="radio-option-"+e[14].value)&&d(i,"data-testid",v),R&128&&P(i,"goa-radio--disabled",e[7]),R&32&&P(i,"goa-radio--error",e[5])},d(x){x&&E(i),b=!1,h()}}}function qr(t){let e,i,r,o=[],n=new Map,a,l=t[4];const s=c=>c[14].value;for(let c=0;c<l.length;c+=1){let u=ni(t,l,c),f=s(u);n.set(f,o[c]=ai(f,u))}return{c(){e=_("div"),i=_("slot"),r=M();for(let c=0;c<o.length;c+=1)o[c].c();this.c=p,d(e,"class",a=`goa-radio-group--${t[2]}`),d(e,"data-testid",t[3])},m(c,u){k(c,e,u),y(e,i),y(e,r);for(let f=0;f<o.length;f+=1)o[f].m(e,null);t[12](e)},p(c,[u]){u&435&&(l=c[4],o=rt(o,u,s,1,c,l,n,e,it,ai,null,ni)),u&4&&a!==(a=`goa-radio-group--${c[2]}`)&&d(e,"class",a),u&8&&d(e,"data-testid",c[3])},i:p,o:p,d(c){c&&E(e);for(let u=0;u<o.length;u+=1)o[u].d();t[12](null)}}}function Wr(t,e,i){let r,{name:o}=e,{value:n}=e,{orientation:a="vertical"}=e,{disabled:l="false"}=e,{error:s="false"}=e,{testid:c=""}=e,u=[],f,g,v;Ae(()=>{g=wt(o),g.subscribe(x=>{switch(x==null?void 0:x.type){case oi:i(4,u=[...u,x])}})});function b(x){x!==n&&(i(0,n=x),v.dispatchEvent(new CustomEvent("_change",{composed:!0,detail:{name:o,value:n}})))}Xe(()=>{zt(o)});const h=x=>b(x.value);function w(x){ce[x?"unshift":"push"](()=>{v=x,i(6,v)})}return t.$$set=x=>{"name"in x&&i(1,o=x.name),"value"in x&&i(0,n=x.value),"orientation"in x&&i(2,a=x.orientation),"disabled"in x&&i(9,l=x.disabled),"error"in x&&i(10,s=x.error),"testid"in x&&i(3,c=x.testid)},t.$$.update=()=>{t.$$.dirty&512&&i(7,r=q(l)),t.$$.dirty&1024&&i(5,f=q(s))},[n,o,a,c,u,f,v,r,b,l,s,h,w]}class li extends D{constructor(e){super();this.shadowRoot.innerHTML='<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:flex;flex-direction:column}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;box-sizing:border-box;display:inline-flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive--hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--fw-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive--focus)}.goa-radio--disabled{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--color-gray-600)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid var(--goa-color-interactive--active)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-status-emergency)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-status-emergency)}</style>',j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Wr,qr,G,{name:1,value:0,orientation:2,disabled:9,error:10,testid:3},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"]}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[9]}set disabled(e){this.$$set({disabled:e}),m()}get error(){return this.$$.ctx[10]}set error(e){this.$$set({error:e}),m()}get testid(){return this.$$.ctx[3]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-radio-group",li);function Kr(t){return{c(){this.c=p},m:p,p,i:p,o:p,d:p}}function Ur(t,e,i){let{value:r}=e,{label:o}=e,{name:n}=e,a;return Ae(async()=>{a=await kt(n),a.notify({type:oi,value:r,label:o})}),t.$$set=l=>{"value"in l&&i(0,r=l.value),"label"in l&&i(1,o=l.label),"name"in l&&i(2,n=l.name)},[r,o,n]}class si extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ur,Kr,G,{value:0,label:1,name:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["value","label","name"]}get value(){return this.$$.ctx[0]}set value(e){this.$$set({value:e}),m()}get label(){return this.$$.ctx[1]}set label(e){this.$$set({label:e}),m()}get name(){return this.$$.ctx[2]}set name(e){this.$$set({name:e}),m()}}customElements.define("goa-radio-item",si);function Zr(t){let e,i,r;return{c(){e=_("div"),i=_("slot"),this.c=p,d(e,"class","goa-scrollable"),d(e,"style",r=`
|
|
19
19
|
--max-height: ${t[3]};
|
|
20
20
|
overflow-y: ${t[0]==="vertical"?"auto":"hidden"};
|
|
21
21
|
overflow-x: ${t[0]==="horizontal"?"auto":"hidden"};
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
overflow-x: ${o[0]==="horizontal"?"auto":"hidden"};
|
|
28
28
|
margin: ${o[2]}rem 0;
|
|
29
29
|
padding: 0 ${o[1]}rem;
|
|
30
|
-
`)&&d(e,"style",r)},i:p,o:p,d(o){o&&E(e)}}}function
|
|
30
|
+
`)&&d(e,"style",r)},i:p,o:p,d(o){o&&E(e)}}}function Vr(t,e,i){let{direction:r="vertical"}=e,{hpadding:o=0}=e,{vpadding:n=0}=e,{height:a=0}=e;return t.$$set=l=>{"direction"in l&&i(0,r=l.direction),"hpadding"in l&&i(1,o=l.hpadding),"vpadding"in l&&i(2,n=l.vpadding),"height"in l&&i(3,a=l.height)},[r,o,n,a]}class ci extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>.goa-scrollable{scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}.goa-scrollable::-webkit-scrollbar{width:6px}.goa-scrollable::-webkit-scrollbar-track{background:#f1f1f1}.goa-scrollable::-webkit-scrollbar-thumb{background:#888}.goa-scrollable::-webkit-scrollbar-thumb:hover{background:#555}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Vr,Zr,G,{direction:0,hpadding:1,vpadding:2,height:3},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["direction","hpadding","vpadding","height"]}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 height(){return this.$$.ctx[3]}set height(e){this.$$set({height:e}),m()}}customElements.define("goa-scrollable",ci);function di(t){let e,i,r;return{c(){e=_("div"),e.innerHTML='<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13 26C20.1797 26 26 20.1797 26 13C26 5.8203 20.1797 0 13 0C5.8203 0 0 5.8203 0 13C0 20.1797 5.8203 26 13 26Z" fill="#00AAD2"></path><path d="M16.9764 17.7174C15.942 17.3358 14.9325 16.8896 13.9539 16.3817C14.8446 16.0551 15.7131 15.6708 16.5539 15.2312C16.6398 16.0688 16.7831 16.8995 16.9829 17.7174H16.9764ZM22.5339 7.42143C22.1016 7.36618 22.3259 7.56931 22.2089 8.13968C21.863 9.3075 21.2806 10.3917 20.4978 11.3248C19.7151 12.258 18.7487 13.0201 17.6589 13.5639C17.3972 10.9368 17.5336 8.28529 18.0635 5.69893C18.5104 4.07393 19.0385 4.3778 18.3885 4.03818C17.6946 3.68068 16.9471 4.15356 16.3443 5.35931C14.4174 9.81946 11.7695 13.932 8.50689 17.5322C7.96404 18.2422 7.16875 18.7161 6.28592 18.8556C5.40309 18.9951 4.50044 18.7894 3.76514 18.2813C3.43039 17.9986 3.30689 18.4357 3.72289 18.8826C4.47366 19.5882 5.47211 19.9699 6.50216 19.945C7.53222 19.92 8.51102 19.4905 9.22677 18.7493C12.0405 15.3939 14.429 11.7038 16.3378 7.76268C16.1901 9.91268 16.2243 12.0713 16.4401 14.2156C15.4158 14.7181 14.3475 15.1256 13.2486 15.4327C12.6181 15.5952 12.2281 15.8552 12.2168 16.1461C12.2054 16.4711 12.6279 16.7359 13.2405 17.0252C14.3293 17.5419 17.5191 19.0499 18.3056 19.5066C18.9784 19.8966 19.3066 19.5927 19.5065 19.1702C19.7665 18.6209 19.0531 18.3041 18.369 18.0961C18.0632 16.9353 17.8555 15.7508 17.7483 14.5552C19.4404 13.5939 20.8636 12.2226 21.8871 10.5674C22.1817 9.98406 22.4001 9.36529 22.5371 8.7263C22.6338 8.3321 22.6602 7.92393 22.6151 7.52056C22.6151 7.52056 22.6038 7.43281 22.5371 7.42468" fill="white"></path></svg>',i=M(),r=_("div"),r.innerHTML='An official site of the <a href="https://www.alberta.ca/index.aspx">Alberta Government</a>',d(e,"class","service-level service-level--live"),d(r,"data-testid","level"),d(r,"class","site-text")},m(o,n){k(o,e,n),k(o,i,n),k(o,r,n)},d(o){o&&E(e),o&&E(i),o&&E(r)}}}function ui(t){let e,i=hi(t[0])+"",r,o,n,a,l,s,c,u=t[2]&&fi(t);return{c(){e=_("div"),r=W(i),n=M(),a=_("div"),l=W("This is a new "),s=_("a"),s.textContent="Alberta Government",c=W(`
|
|
31
31
|
service
|
|
32
|
-
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+t[0]?.toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,m){k(f,e,m),y(e,r),k(f,n,m),k(f,a,m),y(a,l),y(a,s),y(a,c),u&&u.m(a,null)},p(f,m){m&1&&i!==(i=fi(f[0])+"")&&V(r,i),m&1&&o!==(o="service-level service-level--"+f[0]?.toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,m):(u=di(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(n),f&&E(a),u&&u.d()}}}function di(t){let e,i,r,o;return{c(){e=_("span"),i=W("\u2014 help us improve it by giving "),r=_("a"),o=W("feedback"),d(r,"href",t[2]),d(e,"data-testid","feedback")},m(n,a){k(n,e,a),y(e,i),y(e,r),y(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&E(e)}}}function ui(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function Kr(t){let e,i,r,o,n,a=t[0]==="live"&&si(),l=t[0]!=="live"&&ci(t),s=t[1]&&ui(t);return{c(){e=_("header"),a&&a.c(),i=M(),l&&l.c(),r=M(),o=_("div"),n=M(),s&&s.c(),this.c=p,d(o,"class","spacer"),d(e,"class","goa-official-site-header")},m(c,u){k(c,e,u),a&&a.m(e,null),y(e,i),l&&l.m(e,null),y(e,r),y(e,o),y(e,n),s&&s.m(e,null)},p(c,[u]){c[0]==="live"?a||(a=si(),a.c(),a.m(e,i)):a&&(a.d(1),a=null),c[0]!=="live"?l?l.p(c,u):(l=ci(c),l.c(),l.m(e,r)):l&&(l.d(1),l=null),c[1]?s?s.p(c,u):(s=ui(c),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:p,o:p,d(c){c&&E(e),a&&a.d(),l&&l.d(),s&&s.d()}}}function fi(t){return!t||(t==null?void 0:t.length)===0?"":t[0].toUpperCase()+t.slice(1)}function Ur(t,e,i){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return t.$$set=a=>{"level"in a&&i(0,r=a.level),"version"in a&&i(1,o=a.version),"feedbackurl"in a&&i(2,n=a.feedbackurl)},[r,o,n]}class gi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ur,Kr,G,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level:e}),h()}get version(){return this.$$.ctx[1]}set version(e){this.$$set({version:e}),h()}get feedbackurl(){return this.$$.ctx[2]}set feedbackurl(e){this.$$set({feedbackurl:e}),h()}}customElements.define("goa-microsite-header",gi);function Zr(t){let e,i;return{c(){e=_("div"),d(e,"class",i="skeleton "+t[2]+` ${t[2]}-${t[1]}`)},m(r,o){k(r,e,o)},p(r,o){o&6&&i!==(i="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",i)},i:p,o:p,d(r){r&&E(e)}}}function Vr(t){let e,i,r,o,n,a,l,s,c,u;return r=new $({props:{type:"avatar",size:t[1]}}),a=new $({props:{type:"title",size:t[1]}}),s=new $({props:{type:"text-small",size:t[1]}}),{c(){e=_("div"),i=_("div"),re(r.$$.fragment),o=M(),n=_("div"),re(a.$$.fragment),l=M(),re(s.$$.fragment),d(i,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+t[1])},m(f,m){k(f,e,m),y(e,i),te(r,i,null),y(e,o),y(e,n),te(a,n,null),y(n,l),te(s,n,null),u=!0},p(f,m){const v={};m&2&&(v.size=f[1]),r.$set(v);const b={};m&2&&(b.size=f[1]),a.$set(b);const g={};m&2&&(g.size=f[1]),s.$set(g),(!u||m&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(F(r.$$.fragment,f),F(a.$$.fragment,f),F(s.$$.fragment,f),u=!0)},o(f){Z(r.$$.fragment,f),Z(a.$$.fragment,f),Z(s.$$.fragment,f),u=!1},d(f){f&&E(e),ie(r),ie(a),ie(s)}}}function Xr(t){let e,i,r,o,n,a,l,s,c,u,f,m,v;return i=new $({props:{type:"image",size:t[1]}}),n=new $({props:{type:"header",size:t[1]}}),l=new $({props:{type:"text",size:t[1]}}),c=new $({props:{type:"text",size:t[1]}}),f=new $({props:{type:"text",size:t[1]}}),{c(){e=_("div"),re(i.$$.fragment),r=M(),o=_("div"),re(n.$$.fragment),a=M(),re(l.$$.fragment),s=M(),re(c.$$.fragment),u=M(),re(f.$$.fragment),d(o,"class","card-content"),d(e,"class",m="card card-"+t[1]),N(e,"--width",t[0]+"px")},m(b,g){k(b,e,g),te(i,e,null),y(e,r),y(e,o),te(n,o,null),y(o,a),te(l,o,null),y(o,s),te(c,o,null),y(o,u),te(f,o,null),v=!0},p(b,g){const w={};g&2&&(w.size=b[1]),i.$set(w);const x={};g&2&&(x.size=b[1]),n.$set(x);const R={};g&2&&(R.size=b[1]),l.$set(R);const C={};g&2&&(C.size=b[1]),c.$set(C);const H={};g&2&&(H.size=b[1]),f.$set(H),(!v||g&2&&m!==(m="card card-"+b[1]))&&d(e,"class",m),(!v||g&1)&&N(e,"--width",b[0]+"px")},i(b){v||(F(i.$$.fragment,b),F(n.$$.fragment,b),F(l.$$.fragment,b),F(c.$$.fragment,b),F(f.$$.fragment,b),v=!0)},o(b){Z(i.$$.fragment,b),Z(n.$$.fragment,b),Z(l.$$.fragment,b),Z(c.$$.fragment,b),Z(f.$$.fragment,b),v=!1},d(b){b&&E(e),ie(i),ie(n),ie(l),ie(c),ie(f)}}}function Yr(t){let e,i,r,o;const n=[Xr,Vr,Zr],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(t),i=a[e]=n[e](t),{c(){i.c(),r=se(),this.c=p},m(s,c){a[e].m(s,c),k(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(ve(),Z(a[u],1,1,()=>{a[u]=null}),ye(),i=a[e],i?i.p(s,c):(i=a[e]=n[e](s),i.c()),F(i,1),i.m(r.parentNode,r))},i(s){o||(F(i),o=!0)},o(s){Z(i),o=!1},d(s){a[e].d(s),s&&E(r)}}}function Jr(t,e,i){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return t.$$set=a=>{"width"in a&&i(0,r=a.width),"size"in a&&i(1,o=a.size),"type"in a&&i(2,n=a.type)},[r,o,n]}class $ extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.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-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Jr,Yr,G,{width:0,size:1,type:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),h()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),h()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),h()}}customElements.define("goa-skeleton",$);function hi(t){return Object.prototype.toString.call(t)==="[object Date]"}function Oe(t,e){if(t===e||t!==t)return()=>t;const i=typeof t;if(i!==typeof e||Array.isArray(t)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const r=e.map((o,n)=>Oe(t[n],o));return o=>r.map(n=>n(o))}if(i==="object"){if(!t||!e)throw new Error("Object cannot be null");if(hi(t)&&hi(e)){t=t.getTime(),e=e.getTime();const n=e-t;return a=>new Date(t+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Oe(t[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(i==="number"){const r=e-t;return o=>t+o*r}throw new Error(`Cannot interpolate ${i} values`)}function Qr(t,e={}){const i=yt(t);let r,o=t;function n(a,l){if(t==null)return i.set(t=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:m=fe,interpolate:v=Oe}=Ne(Ne({},e),l);if(f===0)return s&&(s.abort(),s=null),i.set(t=o),Promise.resolve();const b=ke()+u;let g;return r=xe(w=>{if(w<b)return!0;c||(g=v(t,a),typeof f=="function"&&(f=f(t,a)),c=!0),s&&(s.abort(),s=null);const x=w-b;return x>f?(i.set(t=a),!1):(i.set(t=g(m(x/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,t),l),subscribe:i.subscribe}}function mi(t){let e,i,r,o,n,a,l,s,c;return{c(){e=ne("svg"),i=ne("circle"),n=ne("path"),d(i,"cx",t[3]),d(i,"cy",t[3]),d(i,"stroke",r=t[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(i,"stroke-width",t[4]),d(i,"r",o=t[3]-t[4]/2),d(n,"d",a=t[9](t[7])),d(n,"stroke-width",t[4]),d(n,"stroke",l=t[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${t[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+t[5]+" "+t[5]),d(e,"width",t[5]),d(e,"height",t[5]),d(e,"data-testid",t[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){k(u,e,f),y(e,i),y(e,n)},p(u,f){f&8&&d(i,"cx",u[3]),f&8&&d(i,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(i,"stroke",r),f&16&&d(i,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(i,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&E(e)}}}function $r(t){let e,i=t[6]&&mi(t);return{c(){i&&i.c(),e=se(),this.c=p},m(r,o){i&&i.m(r,o),k(r,e,o)},p(r,[o]){r[6]?i?i.p(r,o):(i=mi(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:p,o:p,d(r){i&&i.d(r),r&&E(e)}}}function eo(t,e,i){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:m="0"}=e,{testid:v=""}=e;const b=Qr(0,{duration:500,easing:Ar});zi(t,b,x=>i(7,s=x));function g(x){const R=n+a*Math.cos(x),C=n+a*Math.sin(x);return R+" "+C}function w(x){switch(f){case"progress":{const R=g(-Math.PI/2),C=g(-Math.PI/2+2*Math.PI*(x/100)),H=x%100<50?0:1;return`M ${R} A ${a} ${a} 0 ${H} 1 ${C}`}case"infinite":{const R=g(Math.PI*1.5),C=g(0);return`M ${R} A ${a} ${a} 0 1 0 ${C}`}}}return t.$$set=x=>{"size"in x&&i(10,c=x.size),"invert"in x&&i(0,u=x.invert),"type"in x&&i(1,f=x.type),"progress"in x&&i(11,m=x.progress),"testid"in x&&i(2,v=x.testid)},t.$$.update=()=>{t.$$.dirty&2048&&b.set(parseFloat(m)),t.$$.dirty&1024&&i(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),t.$$.dirty&1024&&i(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),t.$$.dirty&32&&i(3,n=r/2),t.$$.dirty&24&&i(12,a=n-o/2),t.$$.dirty&6146&&i(6,l=f==="infinite"?a:a&&m)},[u,f,v,n,o,r,l,s,b,w,c,m,a]}class bi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},eo,$r,G,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["size","invert","type","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 type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),h()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),h()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),h()}}customElements.define("goa-spinner",bi);function to(t){let e,i,r;return{c(){e=_("textarea"),this.c=p,d(e,"name",t[0]),d(e,"placeholder",t[2]),e.value=t[1],d(e,"rows",t[3]),d(e,"class","goa-textarea"),e.disabled=t[5],e.readOnly=t[6],d(e,"data-testid",t[4]),P(e,"error",t[7])},m(o,n){k(o,e,n),i||(r=X(e,"keyup",t[8]),i=!0)},p(o,[n]){n&1&&d(e,"name",o[0]),n&4&&d(e,"placeholder",o[2]),n&2&&(e.value=o[1]),n&8&&d(e,"rows",o[3]),n&32&&(e.disabled=o[5]),n&64&&(e.readOnly=o[6]),n&16&&d(e,"data-testid",o[4]),n&128&&P(e,"error",o[7])},i:p,o:p,d(o){o&&E(e),i=!1,r()}}}function io(t,e,i){let r,o,n,{name:a}=e,{value:l=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:u=""}=e,{error:f="false"}=e,{readonly:m="false"}=e,{disabled:v="false"}=e;function b(g){const x=g.target.value;o||(g.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:g,name:a,value:x}})),g.stopPropagation())}return t.$$set=g=>{"name"in g&&i(0,a=g.name),"value"in g&&i(1,l=g.value),"placeholder"in g&&i(2,s=g.placeholder),"rows"in g&&i(3,c=g.rows),"testid"in g&&i(4,u=g.testid),"error"in g&&i(9,f=g.error),"readonly"in g&&i(10,m=g.readonly),"disabled"in g&&i(11,v=g.disabled)},t.$$.update=()=>{t.$$.dirty&512&&i(7,r=q(f)),t.$$.dirty&2048&&i(5,o=q(v)),t.$$.dirty&1024&&i(6,n=q(m))},[a,l,s,c,u,o,n,r,b,f,m,v]}class vi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},io,to,G,{name:0,value:1,placeholder:2,rows:3,testid:4,error:9,readonly:10,disabled:11},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["name","value","placeholder","rows","testid","error","readonly","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),h()}get value(){return this.$$.ctx[1]}set value(e){this.$$set({value:e}),h()}get placeholder(){return this.$$.ctx[2]}set placeholder(e){this.$$set({placeholder:e}),h()}get rows(){return this.$$.ctx[3]}set rows(e){this.$$set({rows:e}),h()}get testid(){return this.$$.ctx[4]}set testid(e){this.$$set({testid:e}),h()}get error(){return this.$$.ctx[9]}set error(e){this.$$set({error:e}),h()}get readonly(){return this.$$.ctx[10]}set readonly(e){this.$$set({readonly:e}),h()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),h()}}customElements.define("goa-textarea",vi);function yi(t){let e,i;return{c(){e=_("div"),i=W(t[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&1&&V(i,r[0])},d(r){r&&E(e)}}}function pi(t){let e;return{c(){e=_("div"),d(e,"class","actions"),d(e,"slot","actions")},m(i,r){k(i,e,r),e.innerHTML=t[1]},p(i,r){r&2&&(e.innerHTML=i[1])},d(i){i&&E(e)}}}function ro(t){let e,i,r,o,n=t[0]&&yi(t),a=t[1]&&pi(t);return{c(){e=_("goa-container"),n&&n.c(),i=M(),a&&a.c(),r=M(),o=_("div"),this.c=p,d(o,"class","content"),d(o,"slot",""),z(e,"variant",t[3]),z(e,"headingsize",t[4])},m(l,s){k(l,e,s),n&&n.m(e,null),y(e,i),a&&a.m(e,null),y(e,r),y(e,o),o.innerHTML=t[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=yi(l),n.c(),n.m(e,i)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=pi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&z(e,"variant",l[3]),s&16&&z(e,"headingsize",l[4])},i:p,o:p,d(l){l&&E(e),n&&n.d(),a&&a.d()}}}function oo(t,e,i){let{title:r}=e,{actions:o=""}=e,{content:n}=e,{variant:a="default"}=e,{headingsize:l="large"}=e;return t.$$set=s=>{"title"in s&&i(0,r=s.title),"actions"in s&&i(1,o=s.actions),"content"in s&&i(2,n=s.content),"variant"in s&&i(3,a=s.variant),"headingsize"in s&&i(4,l=s.headingsize)},[r,o,n,a,l]}class _i extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},oo,ro,G,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),h()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),h()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),h()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),h()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),h()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),h()}}customElements.define("test-container",_i),I.ContainerWrapper=_i,I.GoAAppHeader=nt,I.GoABadge=lt,I.GoAButton=st,I.GoAButtonGroup=ct,I.GoACallout=dt,I.GoACard=ut,I.GoACardActions=ft,I.GoACardContent=gt,I.GoACardGroup=ht,I.GoACardImage=mt,I.GoACheckbox=bt,I.GoACircularProgress=ti,I.GoAContainer=vt,I.GoADropdown=At,I.GoADropdownItem=Mt,I.GoAFlexRow=Rt,I.GoAFormItem=Gt,I.GoAHeroBanner=Dt,I.GoAIcon=St,I.GoAIconButton=jt,I.GoAInput=Ft,I.GoAMicrositeHeader=gi,I.GoAModal=Vt,I.GoANotification=Yt,I.GoAPageBlock=ot,I.GoAPageLayout=Jt,I.GoARadioGroup=ni,I.GoARadioItem=ai,I.GoAScrollable=li,I.GoASkeleton=$,I.GoASpinner=bi,I.GoATextArea=vi,Object.defineProperty(I,"__esModule",{value:!0}),I[Symbol.toStringTag]="Module"});
|
|
32
|
+
`),u&&u.c(),d(e,"data-testid","level"),d(e,"class",o="service-level service-level--"+t[0].toLowerCase()),d(s,"href","https://www.alberta.ca/index.aspx"),d(a,"data-testid","site-text"),d(a,"class","site-text")},m(f,g){k(f,e,g),y(e,r),k(f,n,g),k(f,a,g),y(a,l),y(a,s),y(a,c),u&&u.m(a,null)},p(f,g){g&1&&i!==(i=hi(f[0])+"")&&V(r,i),g&1&&o!==(o="service-level service-level--"+f[0].toLowerCase())&&d(e,"class",o),f[2]?u?u.p(f,g):(u=fi(f),u.c(),u.m(a,null)):u&&(u.d(1),u=null)},d(f){f&&E(e),f&&E(n),f&&E(a),u&&u.d()}}}function fi(t){let e,i,r,o;return{c(){e=_("span"),i=W("\u2014 help us improve it by giving "),r=_("a"),o=W("feedback"),d(r,"href",t[2]),d(e,"data-testid","feedback")},m(n,a){k(n,e,a),y(e,i),y(e,r),y(r,o)},p(n,a){a&4&&d(r,"href",n[2])},d(n){n&&E(e)}}}function gi(t){let e,i;return{c(){e=_("div"),i=W(t[1]),d(e,"data-testid","version"),d(e,"class","version")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&2&&V(i,r[1])},d(r){r&&E(e)}}}function Xr(t){let e,i,r=["alpha","beta"].includes(t[0]),o,n,a,l=t[0]==="live"&&di(),s=r&&ui(t),c=t[1]&&gi(t);return{c(){e=_("header"),l&&l.c(),i=M(),s&&s.c(),o=M(),n=_("div"),a=M(),c&&c.c(),this.c=p,d(n,"class","spacer"),d(e,"class","goa-official-site-header")},m(u,f){k(u,e,f),l&&l.m(e,null),y(e,i),s&&s.m(e,null),y(e,o),y(e,n),y(e,a),c&&c.m(e,null)},p(u,[f]){u[0]==="live"?l||(l=di(),l.c(),l.m(e,i)):l&&(l.d(1),l=null),f&1&&(r=["alpha","beta"].includes(u[0])),r?s?s.p(u,f):(s=ui(u),s.c(),s.m(e,o)):s&&(s.d(1),s=null),u[1]?c?c.p(u,f):(c=gi(u),c.c(),c.m(e,null)):c&&(c.d(1),c=null)},i:p,o:p,d(u){u&&E(e),l&&l.d(),s&&s.d(),c&&c.d()}}}function hi(t){return!t||t&&t.length===0?"":t[0].toUpperCase()+t.slice(1)}function Yr(t,e,i){let{level:r}=e,{version:o}=e,{feedbackurl:n}=e;return t.$$set=a=>{"level"in a&&i(0,r=a.level),"version"in a&&i(1,o=a.version),"feedbackurl"in a&&i(2,n=a.feedbackurl)},[r,o,n]}class mi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive--hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive--hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:2.5rem;padding:0 0.5rem;gap:0.5rem}.spacer{flex:1 1 auto}.version{color:var(--goa-color-600)}.service-level{font-weight:bold;padding:0 0.5rem;height:1.5rem;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.service-level--beta{background-color:var(--goa-color-brand);color:var(--goa-color-text-light)}.service-level--live{padding:0}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--goa-color-text)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Yr,Xr,G,{level:0,version:1,feedbackurl:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["level","version","feedbackurl"]}get level(){return this.$$.ctx[0]}set level(e){this.$$set({level: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()}}customElements.define("goa-microsite-header",mi);function Jr(t){let e,i;return{c(){e=_("div"),d(e,"class",i="skeleton "+t[2]+` ${t[2]}-${t[1]}`)},m(r,o){k(r,e,o)},p(r,o){o&6&&i!==(i="skeleton "+r[2]+` ${r[2]}-${r[1]}`)&&d(e,"class",i)},i:p,o:p,d(r){r&&E(e)}}}function Qr(t){let e,i,r,o,n,a,l,s,c,u;return r=new $({props:{type:"avatar",size:t[1]}}),a=new $({props:{type:"title",size:t[1]}}),s=new $({props:{type:"text-small",size:t[1]}}),{c(){e=_("div"),i=_("div"),re(r.$$.fragment),o=M(),n=_("div"),re(a.$$.fragment),l=M(),re(s.$$.fragment),d(i,"class","profile-avatar"),d(n,"class","profile-name"),d(e,"class",c="profile profile-"+t[1])},m(f,g){k(f,e,g),y(e,i),te(r,i,null),y(e,o),y(e,n),te(a,n,null),y(n,l),te(s,n,null),u=!0},p(f,g){const v={};g&2&&(v.size=f[1]),r.$set(v);const b={};g&2&&(b.size=f[1]),a.$set(b);const h={};g&2&&(h.size=f[1]),s.$set(h),(!u||g&2&&c!==(c="profile profile-"+f[1]))&&d(e,"class",c)},i(f){u||(F(r.$$.fragment,f),F(a.$$.fragment,f),F(s.$$.fragment,f),u=!0)},o(f){Z(r.$$.fragment,f),Z(a.$$.fragment,f),Z(s.$$.fragment,f),u=!1},d(f){f&&E(e),ie(r),ie(a),ie(s)}}}function $r(t){let e,i,r,o,n,a,l,s,c,u,f,g,v;return i=new $({props:{type:"image",size:t[1]}}),n=new $({props:{type:"header",size:t[1]}}),l=new $({props:{type:"text",size:t[1]}}),c=new $({props:{type:"text",size:t[1]}}),f=new $({props:{type:"text",size:t[1]}}),{c(){e=_("div"),re(i.$$.fragment),r=M(),o=_("div"),re(n.$$.fragment),a=M(),re(l.$$.fragment),s=M(),re(c.$$.fragment),u=M(),re(f.$$.fragment),d(o,"class","card-content"),d(e,"class",g="card card-"+t[1]),N(e,"--width",t[0]+"px")},m(b,h){k(b,e,h),te(i,e,null),y(e,r),y(e,o),te(n,o,null),y(o,a),te(l,o,null),y(o,s),te(c,o,null),y(o,u),te(f,o,null),v=!0},p(b,h){const w={};h&2&&(w.size=b[1]),i.$set(w);const x={};h&2&&(x.size=b[1]),n.$set(x);const R={};h&2&&(R.size=b[1]),l.$set(R);const C={};h&2&&(C.size=b[1]),c.$set(C);const H={};h&2&&(H.size=b[1]),f.$set(H),(!v||h&2&&g!==(g="card card-"+b[1]))&&d(e,"class",g),(!v||h&1)&&N(e,"--width",b[0]+"px")},i(b){v||(F(i.$$.fragment,b),F(n.$$.fragment,b),F(l.$$.fragment,b),F(c.$$.fragment,b),F(f.$$.fragment,b),v=!0)},o(b){Z(i.$$.fragment,b),Z(n.$$.fragment,b),Z(l.$$.fragment,b),Z(c.$$.fragment,b),Z(f.$$.fragment,b),v=!1},d(b){b&&E(e),ie(i),ie(n),ie(l),ie(c),ie(f)}}}function eo(t){let e,i,r,o;const n=[$r,Qr,Jr],a=[];function l(s,c){return s[2]==="card"?0:s[2]==="profile"?1:2}return e=l(t),i=a[e]=n[e](t),{c(){i.c(),r=ae(),this.c=p},m(s,c){a[e].m(s,c),k(s,r,c),o=!0},p(s,[c]){let u=e;e=l(s),e===u?a[e].p(s,c):(ve(),Z(a[u],1,1,()=>{a[u]=null}),ye(),i=a[e],i?i.p(s,c):(i=a[e]=n[e](s),i.c()),F(i,1),i.m(r.parentNode,r))},i(s){o||(F(i),o=!0)},o(s){Z(i),o=!1},d(s){a[e].d(s),s&&E(r)}}}function to(t,e,i){let{width:r=320}=e,{size:o=1}=e,{type:n}=e;return t.$$set=a=>{"width"in a&&i(0,r=a.width),"size"in a&&i(1,o=a.size),"type"in a&&i(2,n=a.type)},[r,o,n]}class $ extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-gray-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--color-gray-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-4,.text-4{width:100%;height:.75rem;border-radius:0.25rem}.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-bottom:12px;border-radius:0.25rem}.header-2{width:60%;height:20px;margin-bottom:14px;border-radius:0.25rem}.header-3{width:70%;height:22px;margin-bottom:16px;border-radius:0.25rem}.header-4{width:80%;height:24px;margin-bottom:18px;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--color-gray-100);border-radius:4px}.card{width:100%}@media(min-width: 320px){.card{width:var(--width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},to,eo,G,{width:0,size:1,type:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["width","size","type"]}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),m()}get size(){return this.$$.ctx[1]}set size(e){this.$$set({size:e}),m()}get type(){return this.$$.ctx[2]}set type(e){this.$$set({type:e}),m()}}customElements.define("goa-skeleton",$);function bi(t){return Object.prototype.toString.call(t)==="[object Date]"}function Oe(t,e){if(t===e||t!==t)return()=>t;const i=typeof t;if(i!==typeof e||Array.isArray(t)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const r=e.map((o,n)=>Oe(t[n],o));return o=>r.map(n=>n(o))}if(i==="object"){if(!t||!e)throw new Error("Object cannot be null");if(bi(t)&&bi(e)){t=t.getTime(),e=e.getTime();const n=e-t;return a=>new Date(t+a*n)}const r=Object.keys(e),o={};return r.forEach(n=>{o[n]=Oe(t[n],e[n])}),n=>{const a={};return r.forEach(l=>{a[l]=o[l](n)}),a}}if(i==="number"){const r=e-t;return o=>t+o*r}throw new Error(`Cannot interpolate ${i} values`)}function io(t,e={}){const i=_t(t);let r,o=t;function n(a,l){if(t==null)return i.set(t=a),Promise.resolve();o=a;let s=r,c=!1,{delay:u=0,duration:f=400,easing:g=fe,interpolate:v=Oe}=Ne(Ne({},e),l);if(f===0)return s&&(s.abort(),s=null),i.set(t=o),Promise.resolve();const b=ke()+u;let h;return r=xe(w=>{if(w<b)return!0;c||(h=v(t,a),typeof f=="function"&&(f=f(t,a)),c=!0),s&&(s.abort(),s=null);const x=w-b;return x>f?(i.set(t=a),!1):(i.set(t=h(g(x/f))),!0)}),r.promise}return{set:n,update:(a,l)=>n(a(o,t),l),subscribe:i.subscribe}}function vi(t){let e,i,r,o,n,a,l,s,c;return{c(){e=ne("svg"),i=ne("circle"),n=ne("path"),d(i,"cx",t[3]),d(i,"cy",t[3]),d(i,"stroke",r=t[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)"),d(i,"stroke-width",t[4]),d(i,"r",o=t[3]-t[4]/2),d(n,"d",a=t[9](t[7])),d(n,"stroke-width",t[4]),d(n,"stroke",l=t[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)"),d(n,"stroke-linecap","round"),d(e,"class",s=`spinner-${t[1]}`),d(e,"fill","none"),d(e,"viewBox",c="0 0 "+t[5]+" "+t[5]),d(e,"width",t[5]),d(e,"height",t[5]),d(e,"data-testid",t[2]),d(e,"xmlns","http://www.w3.org/2000/svg")},m(u,f){k(u,e,f),y(e,i),y(e,n)},p(u,f){f&8&&d(i,"cx",u[3]),f&8&&d(i,"cy",u[3]),f&1&&r!==(r=u[0]?"var(--goa-color-primary-dark)":"var(--goa-color-brand-light)")&&d(i,"stroke",r),f&16&&d(i,"stroke-width",u[4]),f&24&&o!==(o=u[3]-u[4]/2)&&d(i,"r",o),f&128&&a!==(a=u[9](u[7]))&&d(n,"d",a),f&16&&d(n,"stroke-width",u[4]),f&1&&l!==(l=u[0]?"var(--goa-color-brand-light)":"var(--goa-color-primary)")&&d(n,"stroke",l),f&2&&s!==(s=`spinner-${u[1]}`)&&d(e,"class",s),f&32&&c!==(c="0 0 "+u[5]+" "+u[5])&&d(e,"viewBox",c),f&32&&d(e,"width",u[5]),f&32&&d(e,"height",u[5]),f&4&&d(e,"data-testid",u[2])},d(u){u&&E(e)}}}function ro(t){let e,i=t[6]&&vi(t);return{c(){i&&i.c(),e=ae(),this.c=p},m(r,o){i&&i.m(r,o),k(r,e,o)},p(r,[o]){r[6]?i?i.p(r,o):(i=vi(r),i.c(),i.m(e.parentNode,e)):i&&(i.d(1),i=null)},i:p,o:p,d(r){i&&i.d(r),r&&E(e)}}}function oo(t,e,i){let r,o,n,a,l,s,{size:c}=e,{invert:u=!1}=e,{type:f="infinite"}=e,{progress:g="0"}=e,{testid:v=""}=e;const b=io(0,{duration:500,easing:Tr});Ci(t,b,x=>i(7,s=x));function h(x){const R=n+a*Math.cos(x),C=n+a*Math.sin(x);return R+" "+C}function w(x){switch(f){case"progress":{const R=h(-Math.PI/2),C=h(-Math.PI/2+2*Math.PI*(x/100)),H=x%100<50?0:1;return`M ${R} A ${a} ${a} 0 ${H} 1 ${C}`}case"infinite":{const R=h(Math.PI*1.5),C=h(0);return`M ${R} A ${a} ${a} 0 1 0 ${C}`}}}return t.$$set=x=>{"size"in x&&i(10,c=x.size),"invert"in x&&i(0,u=x.invert),"type"in x&&i(1,f=x.type),"progress"in x&&i(11,g=x.progress),"testid"in x&&i(2,v=x.testid)},t.$$.update=()=>{t.$$.dirty&2048&&b.set(parseFloat(g)),t.$$.dirty&1024&&i(5,r=c&&{small:16,medium:32,large:64,xlarge:100}[c]),t.$$.dirty&1024&&i(4,o=c&&{small:2,medium:4,large:7,xlarge:9}[c]),t.$$.dirty&32&&i(3,n=r/2),t.$$.dirty&24&&i(12,a=n-o/2),t.$$.dirty&6146&&i(6,l=f==="infinite"?a:a&&g)},[u,f,v,n,o,r,l,s,b,w,c,g,a]}class yi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},oo,ro,G,{size:10,invert:0,type:1,progress:11,testid:2},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["size","invert","type","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 type(){return this.$$.ctx[1]}set type(e){this.$$set({type:e}),m()}get progress(){return this.$$.ctx[11]}set progress(e){this.$$set({progress:e}),m()}get testid(){return this.$$.ctx[2]}set testid(e){this.$$set({testid:e}),m()}}customElements.define("goa-spinner",yi);function no(t){let e,i,r;return{c(){e=_("textarea"),this.c=p,d(e,"name",t[0]),d(e,"placeholder",t[2]),e.value=t[1],d(e,"rows",t[3]),d(e,"class","goa-textarea"),e.disabled=t[5],e.readOnly=t[6],d(e,"data-testid",t[4]),P(e,"error",t[7])},m(o,n){k(o,e,n),i||(r=X(e,"keyup",t[8]),i=!0)},p(o,[n]){n&1&&d(e,"name",o[0]),n&4&&d(e,"placeholder",o[2]),n&2&&(e.value=o[1]),n&8&&d(e,"rows",o[3]),n&32&&(e.disabled=o[5]),n&64&&(e.readOnly=o[6]),n&16&&d(e,"data-testid",o[4]),n&128&&P(e,"error",o[7])},i:p,o:p,d(o){o&&E(e),i=!1,r()}}}function ao(t,e,i){let r,o,n,{name:a}=e,{value:l=""}=e,{placeholder:s=""}=e,{rows:c=3}=e,{testid:u=""}=e,{error:f="false"}=e,{readonly:g="false"}=e,{disabled:v="false"}=e;function b(h){const x=h.target.value;o||(h.target.dispatchEvent(new CustomEvent("_change",{composed:!0,bubbles:!1,cancelable:!0,detail:{event:h,name:a,value:x}})),h.stopPropagation())}return t.$$set=h=>{"name"in h&&i(0,a=h.name),"value"in h&&i(1,l=h.value),"placeholder"in h&&i(2,s=h.placeholder),"rows"in h&&i(3,c=h.rows),"testid"in h&&i(4,u=h.testid),"error"in h&&i(9,f=h.error),"readonly"in h&&i(10,g=h.readonly),"disabled"in h&&i(11,v=h.disabled)},t.$$.update=()=>{t.$$.dirty&512&&i(7,r=q(f)),t.$$.dirty&2048&&i(5,o=q(v)),t.$$.dirty&1024&&i(6,n=q(g))},[a,l,s,c,u,o,n,r,b,f,g,v]}class pi extends D{constructor(e){super();this.shadowRoot.innerHTML="<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:var(--color-white);color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem);font-size:var(--input-font-size);font-family:var(--font-family)}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive--hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}.goa-textarea:disabled{border-color:var(--color-gray-200)}.goa-textarea:disabled:hover{border-color:var(--color-gray-200)}.goa-textarea:disabled:focus,.goa-textarea:disabled:active{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>",j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},ao,no,G,{name:0,value:1,placeholder:2,rows:3,testid:4,error:9,readonly:10,disabled: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","error","readonly","disabled"]}get name(){return this.$$.ctx[0]}set name(e){this.$$set({name:e}),m()}get value(){return this.$$.ctx[1]}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 error(){return this.$$.ctx[9]}set error(e){this.$$set({error:e}),m()}get readonly(){return this.$$.ctx[10]}set readonly(e){this.$$set({readonly:e}),m()}get disabled(){return this.$$.ctx[11]}set disabled(e){this.$$set({disabled:e}),m()}}customElements.define("goa-textarea",pi);function _i(t){let e,i;return{c(){e=_("div"),i=W(t[0]),d(e,"slot","title"),d(e,"class","title")},m(r,o){k(r,e,o),y(e,i)},p(r,o){o&1&&V(i,r[0])},d(r){r&&E(e)}}}function wi(t){let e;return{c(){e=_("div"),d(e,"class","actions"),d(e,"slot","actions")},m(i,r){k(i,e,r),e.innerHTML=t[1]},p(i,r){r&2&&(e.innerHTML=i[1])},d(i){i&&E(e)}}}function lo(t){let e,i,r,o,n=t[0]&&_i(t),a=t[1]&&wi(t);return{c(){e=_("goa-container"),n&&n.c(),i=M(),a&&a.c(),r=M(),o=_("div"),this.c=p,d(o,"class","content"),d(o,"slot",""),z(e,"variant",t[3]),z(e,"headingsize",t[4])},m(l,s){k(l,e,s),n&&n.m(e,null),y(e,i),a&&a.m(e,null),y(e,r),y(e,o),o.innerHTML=t[2]},p(l,[s]){l[0]?n?n.p(l,s):(n=_i(l),n.c(),n.m(e,i)):n&&(n.d(1),n=null),l[1]?a?a.p(l,s):(a=wi(l),a.c(),a.m(e,r)):a&&(a.d(1),a=null),s&4&&(o.innerHTML=l[2]),s&8&&z(e,"variant",l[3]),s&16&&z(e,"headingsize",l[4])},i:p,o:p,d(l){l&&E(e),n&&n.d(),a&&a.d()}}}function so(t,e,i){let{title:r}=e,{actions:o=""}=e,{content:n}=e,{variant:a="default"}=e,{headingsize:l="large"}=e;return t.$$set=s=>{"title"in s&&i(0,r=s.title),"actions"in s&&i(1,o=s.actions),"content"in s&&i(2,n=s.content),"variant"in s&&i(3,a=s.variant),"headingsize"in s&&i(4,l=s.headingsize)},[r,o,n,a,l]}class ki extends D{constructor(e){super();j(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},so,lo,G,{title:0,actions:1,content:2,variant:3,headingsize:4},null),e&&(e.target&&k(e.target,this,e.anchor),e.props&&(this.$set(e.props),m()))}static get observedAttributes(){return["title","actions","content","variant","headingsize"]}get title(){return this.$$.ctx[0]}set title(e){this.$$set({title:e}),m()}get actions(){return this.$$.ctx[1]}set actions(e){this.$$set({actions:e}),m()}get content(){return this.$$.ctx[2]}set content(e){this.$$set({content:e}),m()}get variant(){return this.$$.ctx[3]}set variant(e){this.$$set({variant:e}),m()}get headingsize(){return this.$$.ctx[4]}set headingsize(e){this.$$set({headingsize:e}),m()}}customElements.define("test-container",ki),I.ContainerWrapper=ki,I.GoAAppHeader=nt,I.GoABadge=lt,I.GoAButton=dt,I.GoAButtonGroup=ut,I.GoACallout=ft,I.GoACard=gt,I.GoACardActions=ht,I.GoACardContent=mt,I.GoACardGroup=bt,I.GoACardImage=vt,I.GoACheckbox=yt,I.GoACircularProgress=ri,I.GoAContainer=pt,I.GoADropdown=Rt,I.GoADropdownItem=Lt,I.GoAFlexRow=Tt,I.GoAFormItem=Bt,I.GoAHeroBanner=St,I.GoAIcon=Pt,I.GoAIconButton=Ot,I.GoAInput=Wt,I.GoAMicrositeHeader=mi,I.GoAModal=Yt,I.GoANotification=Qt,I.GoAPageBlock=ot,I.GoAPageLayout=$t,I.GoARadioGroup=li,I.GoARadioItem=si,I.GoAScrollable=ci,I.GoASkeleton=$,I.GoASpinner=yi,I.GoATextArea=pi,Object.defineProperty(I,"__esModule",{value:!0}),I[Symbol.toStringTag]="Module"});
|