@penn-libraries/web 1.1.0-dev.6 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{index-C0A2bnrZ.js → index-4ixBJUwu.js} +284 -191
- package/dist/cjs/index-4ixBJUwu.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -3
- package/dist/cjs/loader.cjs.js +3 -6
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/cjs/pennlibs-autocomplete.pennlibs-footer.pennlibs-header.entry.cjs.js.map +1 -1
- package/dist/cjs/pennlibs-autocomplete_3.cjs.entry.js +56 -52
- package/dist/cjs/pennlibs-banner.cjs.entry.js +1 -3
- package/dist/cjs/pennlibs-chat.cjs.entry.js +1 -3
- package/dist/cjs/pennlibs-fallback-img.cjs.entry.js +1 -3
- package/dist/cjs/pennlibs-feedback.cjs.entry.js +1 -3
- package/dist/cjs/pennlibs-hero.cjs.entry.js +1 -3
- package/dist/cjs/web.cjs.js +4 -7
- package/dist/cjs/web.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/pennlibs-autocomplete/pennlibs-autocomplete.js +71 -39
- package/dist/collection/components/pennlibs-autocomplete/pennlibs-autocomplete.js.map +1 -1
- package/dist/collection/components/pennlibs-header/pennlibs-header.js +6 -6
- package/dist/components/index.js +1 -1
- package/dist/components/pennlibs-autocomplete.js +59 -36
- package/dist/components/pennlibs-autocomplete.js.map +1 -1
- package/dist/components/pennlibs-banner.js +5 -3
- package/dist/components/pennlibs-banner.js.map +1 -1
- package/dist/components/pennlibs-chat.js +5 -3
- package/dist/components/pennlibs-chat.js.map +1 -1
- package/dist/components/pennlibs-fallback-img.js +5 -3
- package/dist/components/pennlibs-fallback-img.js.map +1 -1
- package/dist/components/pennlibs-feedback.js +5 -3
- package/dist/components/pennlibs-feedback.js.map +1 -1
- package/dist/components/pennlibs-footer.js +5 -3
- package/dist/components/pennlibs-footer.js.map +1 -1
- package/dist/components/pennlibs-header.js +6 -19
- package/dist/components/pennlibs-header.js.map +1 -1
- package/dist/components/pennlibs-hero.js +5 -3
- package/dist/components/pennlibs-hero.js.map +1 -1
- package/dist/docs.json +30 -10
- package/dist/esm/{index-CE_ILdTo.js → index-Di48-Vtw.js} +284 -192
- package/dist/esm/index-Di48-Vtw.js.map +1 -0
- package/dist/esm/index.js +1 -3
- package/dist/esm/loader.js +3 -6
- package/dist/esm/loader.js.map +1 -1
- package/dist/esm/pennlibs-autocomplete.pennlibs-footer.pennlibs-header.entry.js.map +1 -1
- package/dist/esm/pennlibs-autocomplete_3.entry.js +56 -52
- package/dist/esm/pennlibs-banner.entry.js +1 -3
- package/dist/esm/pennlibs-chat.entry.js +1 -3
- package/dist/esm/pennlibs-fallback-img.entry.js +1 -3
- package/dist/esm/pennlibs-feedback.entry.js +1 -3
- package/dist/esm/pennlibs-hero.entry.js +1 -3
- package/dist/esm/web.js +4 -7
- package/dist/esm/web.js.map +1 -1
- package/dist/types/components/pennlibs-autocomplete/pennlibs-autocomplete.d.ts +19 -3
- package/dist/types/components.d.ts +24 -0
- package/dist/types/stencil-public-runtime.d.ts +73 -9
- package/dist/web/index.esm.js +1 -3
- package/dist/web/loader.esm.js.map +1 -1
- package/dist/web/{p-5e385536.entry.js → p-09e4a02c.entry.js} +1 -3
- package/dist/web/{p-909144f6.entry.js → p-269363bf.entry.js} +56 -52
- package/dist/web/{p-370e32b1.entry.js → p-56b9f10c.entry.js} +1 -3
- package/dist/web/{p-07ad051f.entry.js → p-6503bb09.entry.js} +1 -3
- package/dist/web/{p-cbae5952.entry.js → p-783e2a87.entry.js} +1 -3
- package/dist/web/{p-20c0bd7a.entry.js → p-7cbd16c0.entry.js} +1 -3
- package/dist/web/{p-CE_ILdTo.js → p-Di48-Vtw.js} +284 -192
- package/dist/web/p-Di48-Vtw.js.map +1 -0
- package/dist/web/pennlibs-autocomplete.pennlibs-footer.pennlibs-header.entry.esm.js.map +1 -1
- package/dist/web/web.esm.js +4 -7
- package/dist/web/web.esm.js.map +1 -1
- package/hydrate/index.d.ts +28 -24
- package/hydrate/index.js +478 -257
- package/hydrate/index.mjs +478 -257
- package/package.json +3 -9
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
- package/dist/cjs/index-C0A2bnrZ.js.map +0 -1
- package/dist/cjs/pennlibs-autocomplete_3.cjs.entry.js.map +0 -1
- package/dist/cjs/pennlibs-banner.cjs.entry.js.map +0 -1
- package/dist/cjs/pennlibs-chat.cjs.entry.js.map +0 -1
- package/dist/cjs/pennlibs-fallback-img.cjs.entry.js.map +0 -1
- package/dist/cjs/pennlibs-feedback.cjs.entry.js.map +0 -1
- package/dist/cjs/pennlibs-hero.cjs.entry.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -4
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -6
- package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
- package/dist/esm/index-CE_ILdTo.js.map +0 -1
- package/dist/esm/pennlibs-autocomplete_3.entry.js.map +0 -1
- package/dist/types/utils/utils.d.ts +0 -1
- package/dist/web/p-07ad051f.entry.js.map +0 -1
- package/dist/web/p-20c0bd7a.entry.js.map +0 -1
- package/dist/web/p-370e32b1.entry.js.map +0 -1
- package/dist/web/p-5e385536.entry.js.map +0 -1
- package/dist/web/p-909144f6.entry.js.map +0 -1
- package/dist/web/p-CE_ILdTo.js.map +0 -1
- package/dist/web/p-DQuL1Twl.js +0 -6
- package/dist/web/p-DQuL1Twl.js.map +0 -1
- package/dist/web/p-cbae5952.entry.js.map +0 -1
package/hydrate/index.js
CHANGED
|
@@ -34,6 +34,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
34
34
|
var CharacterData = $stencilWindow.CharacterData;
|
|
35
35
|
var CSS = $stencilWindow.CSS;
|
|
36
36
|
var CustomEvent = $stencilWindow.CustomEvent;
|
|
37
|
+
var CSSStyleSheet = $stencilWindow.CSSStyleSheet;
|
|
37
38
|
var Document = $stencilWindow.Document;
|
|
38
39
|
var ShadowRoot = $stencilWindow.ShadowRoot;
|
|
39
40
|
var DocumentFragment = $stencilWindow.DocumentFragment;
|
|
@@ -126,10 +127,10 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
126
127
|
|
|
127
128
|
|
|
128
129
|
const NAMESPACE = 'web';
|
|
129
|
-
const BUILD = /* web */ { hydratedSelectorName: "hydrated",
|
|
130
|
+
const BUILD = /* web */ { hydratedSelectorName: "hydrated", propChangeCallback: false, slotRelocation: true, updatable: true};
|
|
130
131
|
|
|
131
132
|
/*
|
|
132
|
-
Stencil Hydrate Platform v4.
|
|
133
|
+
Stencil Hydrate Platform v4.38.1 | MIT Licensed | https://stenciljs.com
|
|
133
134
|
*/
|
|
134
135
|
var __defProp = Object.defineProperty;
|
|
135
136
|
var __export = (target, all) => {
|
|
@@ -341,6 +342,24 @@ function deserializeProperty(value) {
|
|
|
341
342
|
return RemoteValue.fromLocalValue(JSON.parse(atob(value.slice(SERIALIZED_PREFIX.length))));
|
|
342
343
|
}
|
|
343
344
|
|
|
345
|
+
// src/utils/style.ts
|
|
346
|
+
function createStyleSheetIfNeededAndSupported(styles2) {
|
|
347
|
+
return void 0;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// src/utils/shadow-root.ts
|
|
351
|
+
var globalStyleSheet;
|
|
352
|
+
function createShadowRoot(cmpMeta) {
|
|
353
|
+
var _a;
|
|
354
|
+
const shadowRoot = this.attachShadow({ mode: "open" });
|
|
355
|
+
if (globalStyleSheet === void 0) globalStyleSheet = (_a = createStyleSheetIfNeededAndSupported()) != null ? _a : null;
|
|
356
|
+
if (globalStyleSheet) {
|
|
357
|
+
{
|
|
358
|
+
shadowRoot.adoptedStyleSheets = [...shadowRoot.adoptedStyleSheets, globalStyleSheet];
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
|
|
344
363
|
// src/runtime/runtime-constants.ts
|
|
345
364
|
var CONTENT_REF_ID = "r";
|
|
346
365
|
var ORG_LOCATION_ID = "o";
|
|
@@ -463,7 +482,7 @@ function patchSlotNode(node) {
|
|
|
463
482
|
const slotName = this["s-sn"];
|
|
464
483
|
if (opts == null ? void 0 : opts.flatten) {
|
|
465
484
|
console.error(`
|
|
466
|
-
Flattening is not supported for Stencil non-shadow slots.
|
|
485
|
+
Flattening is not supported for Stencil non-shadow slots.
|
|
467
486
|
You can use \`.childNodes\` to nested slot fallback content.
|
|
468
487
|
If you have a particular use case, please open an issue on the Stencil repo.
|
|
469
488
|
`);
|
|
@@ -507,6 +526,94 @@ var uniqueTime = (key, measureText) => {
|
|
|
507
526
|
};
|
|
508
527
|
}
|
|
509
528
|
};
|
|
529
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
530
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
531
|
+
let style = styles.get(scopeId2);
|
|
532
|
+
{
|
|
533
|
+
style = cssText;
|
|
534
|
+
}
|
|
535
|
+
styles.set(scopeId2, style);
|
|
536
|
+
};
|
|
537
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
538
|
+
var _a;
|
|
539
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
540
|
+
const style = styles.get(scopeId2);
|
|
541
|
+
if (!win.document) {
|
|
542
|
+
return scopeId2;
|
|
543
|
+
}
|
|
544
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
545
|
+
if (style) {
|
|
546
|
+
if (typeof style === "string") {
|
|
547
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
548
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
549
|
+
let styleElm;
|
|
550
|
+
if (!appliedStyles) {
|
|
551
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
552
|
+
}
|
|
553
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
554
|
+
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
555
|
+
styleElm.innerHTML = style;
|
|
556
|
+
} else {
|
|
557
|
+
styleElm = win.document.createElement("style");
|
|
558
|
+
styleElm.innerHTML = style;
|
|
559
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
560
|
+
if (nonce != null) {
|
|
561
|
+
styleElm.setAttribute("nonce", nonce);
|
|
562
|
+
}
|
|
563
|
+
if ((cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
564
|
+
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
565
|
+
}
|
|
566
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
567
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
568
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
569
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
570
|
+
styleContainerNode.insertBefore(
|
|
571
|
+
styleElm,
|
|
572
|
+
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
573
|
+
);
|
|
574
|
+
} else if ("host" in styleContainerNode) {
|
|
575
|
+
{
|
|
576
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
577
|
+
if (existingStyleContainer) {
|
|
578
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
579
|
+
} else {
|
|
580
|
+
styleContainerNode.prepend(styleElm);
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
} else {
|
|
584
|
+
styleContainerNode.append(styleElm);
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
588
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
592
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
593
|
+
}
|
|
594
|
+
if (appliedStyles) {
|
|
595
|
+
appliedStyles.add(scopeId2);
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
return scopeId2;
|
|
601
|
+
};
|
|
602
|
+
var attachStyles = (hostRef) => {
|
|
603
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
604
|
+
const elm = hostRef.$hostElement$;
|
|
605
|
+
const flags = cmpMeta.$flags$;
|
|
606
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
607
|
+
const scopeId2 = addStyle(
|
|
608
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
609
|
+
cmpMeta);
|
|
610
|
+
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
611
|
+
elm["s-sc"] = scopeId2;
|
|
612
|
+
elm.classList.add(scopeId2 + "-h");
|
|
613
|
+
}
|
|
614
|
+
endAttachStyles();
|
|
615
|
+
};
|
|
616
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
510
617
|
var h = (nodeName, vnodeData, ...children) => {
|
|
511
618
|
let child = null;
|
|
512
619
|
let key = null;
|
|
@@ -621,7 +728,7 @@ var convertToPrivate = (node) => {
|
|
|
621
728
|
|
|
622
729
|
// src/runtime/client-hydrate.ts
|
|
623
730
|
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
624
|
-
var _a;
|
|
731
|
+
var _a, _b;
|
|
625
732
|
const endHydrate = createTime("hydrateClient", tagName);
|
|
626
733
|
const shadowRoot = hostElm.shadowRoot;
|
|
627
734
|
const childRenderNodes = [];
|
|
@@ -630,19 +737,6 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
630
737
|
const shadowRootNodes = shadowRoot ? [] : null;
|
|
631
738
|
const vnode = newVNode(tagName, null);
|
|
632
739
|
vnode.$elm$ = hostElm;
|
|
633
|
-
const members = Object.entries(((_a = hostRef.$cmpMeta$) == null ? void 0 : _a.$members$) || {});
|
|
634
|
-
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
635
|
-
var _a2;
|
|
636
|
-
if (!(memberFlags & 31 /* Prop */)) {
|
|
637
|
-
return;
|
|
638
|
-
}
|
|
639
|
-
const attributeName = metaAttributeName || memberName;
|
|
640
|
-
const attrVal = hostElm.getAttribute(attributeName);
|
|
641
|
-
if (attrVal !== null) {
|
|
642
|
-
const attrPropVal = parsePropertyValue(attrVal, memberFlags);
|
|
643
|
-
(_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.set(memberName, attrPropVal);
|
|
644
|
-
}
|
|
645
|
-
});
|
|
646
740
|
if (win.document && (!plt.$orgLocNodes$ || !plt.$orgLocNodes$.size)) {
|
|
647
741
|
initializeDocumentHydrate(win.document.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
648
742
|
}
|
|
@@ -671,6 +765,16 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
671
765
|
if (childRenderNode.$tag$ === "slot") {
|
|
672
766
|
node["s-cr"] = hostElm["s-cr"];
|
|
673
767
|
}
|
|
768
|
+
} else if (((_a = childRenderNode.$tag$) == null ? void 0 : _a.toString().includes("-")) && childRenderNode.$tag$ !== "slot-fb" && !childRenderNode.$elm$.shadowRoot) {
|
|
769
|
+
const cmpMeta = getHostRef(childRenderNode.$elm$);
|
|
770
|
+
if (cmpMeta) {
|
|
771
|
+
const scopeId3 = getScopeId(
|
|
772
|
+
cmpMeta.$cmpMeta$);
|
|
773
|
+
const styleSheet = win.document.querySelector(`style[sty-id="${scopeId3}"]`);
|
|
774
|
+
if (styleSheet) {
|
|
775
|
+
hostElm.shadowRoot.append(styleSheet.cloneNode(true));
|
|
776
|
+
}
|
|
777
|
+
}
|
|
674
778
|
}
|
|
675
779
|
if (childRenderNode.$tag$ === "slot") {
|
|
676
780
|
childRenderNode.$name$ = childRenderNode.$elm$["s-sn"] || childRenderNode.$elm$["name"] || null;
|
|
@@ -686,7 +790,7 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
686
790
|
}
|
|
687
791
|
}
|
|
688
792
|
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
689
|
-
if (shadowRoot && orgLocationNode["s-en"] === "") {
|
|
793
|
+
if (orgLocationNode.parentElement.shadowRoot && orgLocationNode["s-en"] === "") {
|
|
690
794
|
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
691
795
|
}
|
|
692
796
|
orgLocationNode.parentNode.removeChild(orgLocationNode);
|
|
@@ -694,7 +798,9 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
694
798
|
node["s-oo"] = parseInt(childRenderNode.$nodeId$);
|
|
695
799
|
}
|
|
696
800
|
}
|
|
697
|
-
|
|
801
|
+
if (orgLocationNode && !orgLocationNode["s-id"]) {
|
|
802
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
803
|
+
}
|
|
698
804
|
}
|
|
699
805
|
const hosts = [];
|
|
700
806
|
const snLen = slottedNodes.length;
|
|
@@ -715,39 +821,46 @@ var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
|
715
821
|
}
|
|
716
822
|
if (!hosts[slottedItem.hostId]) continue;
|
|
717
823
|
const hostEle = hosts[slottedItem.hostId];
|
|
824
|
+
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
|
825
|
+
hostEle.appendChild(slottedItem.node);
|
|
826
|
+
}
|
|
718
827
|
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
719
|
-
slottedItem.slot["s-cr"]
|
|
720
|
-
|
|
721
|
-
slottedItem.slot["s-cr"]
|
|
722
|
-
|
|
723
|
-
|
|
828
|
+
if (!slottedItem.slot["s-cr"]) {
|
|
829
|
+
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
|
830
|
+
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
831
|
+
slottedItem.slot["s-cr"] = hostEle;
|
|
832
|
+
} else {
|
|
833
|
+
slottedItem.slot["s-cr"] = (hostEle.__childNodes || hostEle.childNodes)[0];
|
|
834
|
+
}
|
|
724
835
|
}
|
|
725
836
|
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
837
|
+
if (((_b = slottedItem.node.parentElement) == null ? void 0 : _b.shadowRoot) && slottedItem.node["getAttribute"] && slottedItem.node.getAttribute("slot")) {
|
|
838
|
+
slottedItem.node.removeAttribute("slot");
|
|
839
|
+
}
|
|
729
840
|
}
|
|
730
841
|
}
|
|
731
842
|
}
|
|
732
|
-
if (shadowRoot
|
|
843
|
+
if (shadowRoot) {
|
|
733
844
|
let rnIdex = 0;
|
|
734
845
|
const rnLen = shadowRootNodes.length;
|
|
735
846
|
if (rnLen) {
|
|
736
847
|
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
737
|
-
|
|
848
|
+
const node = shadowRootNodes[rnIdex];
|
|
849
|
+
if (node) {
|
|
850
|
+
shadowRoot.appendChild(node);
|
|
851
|
+
}
|
|
738
852
|
}
|
|
739
853
|
Array.from(hostElm.childNodes).forEach((node) => {
|
|
740
|
-
if (typeof node["s-sn"] !== "string") {
|
|
854
|
+
if (typeof node["s-en"] !== "string" && typeof node["s-sn"] !== "string") {
|
|
741
855
|
if (node.nodeType === 1 /* ElementNode */ && node.slot && node.hidden) {
|
|
742
856
|
node.removeAttribute("hidden");
|
|
743
|
-
} else if (node.nodeType === 8 /* CommentNode */ || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
857
|
+
} else if (node.nodeType === 8 /* CommentNode */ && !node.nodeValue || node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
744
858
|
node.parentNode.removeChild(node);
|
|
745
859
|
}
|
|
746
860
|
}
|
|
747
861
|
});
|
|
748
862
|
}
|
|
749
863
|
}
|
|
750
|
-
plt.$orgLocNodes$.delete(hostElm["s-id"]);
|
|
751
864
|
hostRef.$hostElement$ = hostElm;
|
|
752
865
|
endHydrate();
|
|
753
866
|
};
|
|
@@ -901,7 +1014,7 @@ var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes,
|
|
|
901
1014
|
vnode.$index$ = "0";
|
|
902
1015
|
parentVNode.$children$ = [vnode];
|
|
903
1016
|
} else {
|
|
904
|
-
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim()) {
|
|
1017
|
+
if (node.nodeType === 3 /* TextNode */ && !node.wholeText.trim() && !node["s-nr"]) {
|
|
905
1018
|
node.remove();
|
|
906
1019
|
}
|
|
907
1020
|
}
|
|
@@ -959,10 +1072,10 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
959
1072
|
if (childVNode.$name$) {
|
|
960
1073
|
childVNode.$elm$.setAttribute("name", slotName);
|
|
961
1074
|
}
|
|
962
|
-
if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
963
|
-
parentVNode.$elm
|
|
1075
|
+
if (parentVNode.$elm$.shadowRoot && parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1076
|
+
internalCall(parentVNode.$elm$, "insertBefore")(slot, internalCall(parentVNode.$elm$, "children")[0]);
|
|
964
1077
|
} else {
|
|
965
|
-
node
|
|
1078
|
+
internalCall(internalCall(node, "parentNode"), "insertBefore")(slot, node);
|
|
966
1079
|
}
|
|
967
1080
|
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
968
1081
|
node.remove();
|
|
@@ -977,8 +1090,8 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
977
1090
|
if (shouldMove) {
|
|
978
1091
|
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
|
979
1092
|
}
|
|
980
|
-
childRenderNodes.push(childVNode);
|
|
981
1093
|
}
|
|
1094
|
+
childRenderNodes.push(childVNode);
|
|
982
1095
|
slotNodes.push(childVNode);
|
|
983
1096
|
if (!parentVNode.$children$) {
|
|
984
1097
|
parentVNode.$children$ = [];
|
|
@@ -986,13 +1099,17 @@ function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNod
|
|
|
986
1099
|
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
987
1100
|
}
|
|
988
1101
|
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1102
|
+
var _a, _b;
|
|
989
1103
|
let slottedNode = slotNode.nextSibling;
|
|
990
1104
|
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
1105
|
+
if (!slottedNode || ((_a = slottedNode.nodeValue) == null ? void 0 : _a.startsWith(SLOT_NODE_ID + "."))) return;
|
|
1106
|
+
do {
|
|
1107
|
+
if (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (!slottedNode["getAttribute"] || !slottedNode.getAttribute("slot")) && (slottedNode.nodeType === 8 /* CommentNode */ || slottedNode.nodeType === 3 /* TextNode */))) {
|
|
1108
|
+
slottedNode["s-sn"] = slotName;
|
|
1109
|
+
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
|
1110
|
+
}
|
|
1111
|
+
slottedNode = slottedNode == null ? void 0 : slottedNode.nextSibling;
|
|
1112
|
+
} while (slottedNode && !((_b = slottedNode.nodeValue) == null ? void 0 : _b.startsWith(SLOT_NODE_ID + ".")));
|
|
996
1113
|
};
|
|
997
1114
|
var findCorrespondingNode = (node, type) => {
|
|
998
1115
|
let sibling = node;
|
|
@@ -1017,6 +1134,12 @@ var findCorrespondingNode = (node, type) => {
|
|
|
1017
1134
|
var safeSelector = (selector) => {
|
|
1018
1135
|
const placeholders = [];
|
|
1019
1136
|
let index = 0;
|
|
1137
|
+
selector = selector.replace(/(\[\s*part~=\s*("[^"]*"|'[^']*')\s*\])/g, (_, keep) => {
|
|
1138
|
+
const replaceBy = `__part-${index}__`;
|
|
1139
|
+
placeholders.push(keep);
|
|
1140
|
+
index++;
|
|
1141
|
+
return replaceBy;
|
|
1142
|
+
});
|
|
1020
1143
|
selector = selector.replace(/(\[[^\]]*\])/g, (_, keep) => {
|
|
1021
1144
|
const replaceBy = `__ph-${index}__`;
|
|
1022
1145
|
placeholders.push(keep);
|
|
@@ -1036,6 +1159,7 @@ var safeSelector = (selector) => {
|
|
|
1036
1159
|
return ss;
|
|
1037
1160
|
};
|
|
1038
1161
|
var restoreSafeSelector = (placeholders, content) => {
|
|
1162
|
+
content = content.replace(/__part-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1039
1163
|
return content.replace(/__ph-(\d+)__/g, (_, index) => placeholders[+index]);
|
|
1040
1164
|
};
|
|
1041
1165
|
var _polyfillHost = "-shadowcsshost";
|
|
@@ -1048,6 +1172,7 @@ var _cssColonSlottedRe = new RegExp("(" + _polyfillSlotted + _parenSuffix, "gim"
|
|
|
1048
1172
|
var _polyfillHostNoCombinator = _polyfillHost + "-no-combinator";
|
|
1049
1173
|
var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\s]*)/;
|
|
1050
1174
|
var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g];
|
|
1175
|
+
var _safePartRe = /__part-(\d+)__/g;
|
|
1051
1176
|
var _selectorReSuffix = "([>\\s~+[.,{:][\\s\\S]*)?$";
|
|
1052
1177
|
var _polyfillHostRe = /-shadowcsshost/gim;
|
|
1053
1178
|
var createSupportsRuleRe = (selector) => {
|
|
@@ -1262,7 +1387,7 @@ var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
|
1262
1387
|
let scopedSelector = "";
|
|
1263
1388
|
let startIndex = 0;
|
|
1264
1389
|
let res;
|
|
1265
|
-
const sep = /( |>|\+|~(?!=))\s*/g;
|
|
1390
|
+
const sep = /( |>|\+|~(?!=))(?=(?:[^()]*\([^()]*\))*[^()]*$)\s*/g;
|
|
1266
1391
|
const hasHost = selector.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1267
1392
|
let shouldScope = !hasHost;
|
|
1268
1393
|
while ((res = sep.exec(selector)) !== null) {
|
|
@@ -1274,7 +1399,7 @@ var applyStrictSelectorScope = (selector, scopeSelector2, hostSelector) => {
|
|
|
1274
1399
|
startIndex = sep.lastIndex;
|
|
1275
1400
|
}
|
|
1276
1401
|
const part = selector.substring(startIndex);
|
|
1277
|
-
shouldScope = shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1;
|
|
1402
|
+
shouldScope = !part.match(_safePartRe) && (shouldScope || part.indexOf(_polyfillHostNoCombinator) > -1);
|
|
1278
1403
|
scopedSelector += shouldScope ? _scopeSelectorPart(part) : part;
|
|
1279
1404
|
return restoreSafeSelector(safeContent.placeholders, scopedSelector);
|
|
1280
1405
|
};
|
|
@@ -1331,6 +1456,36 @@ var scopeCssText = (cssText, scopeId2, hostScopeId, slotScopeId, commentOriginal
|
|
|
1331
1456
|
var replaceShadowCssHost = (cssText, hostScopeId) => {
|
|
1332
1457
|
return cssText.replace(/-shadowcsshost-no-combinator/g, `.${hostScopeId}`);
|
|
1333
1458
|
};
|
|
1459
|
+
var expandPartSelectors = (cssText) => {
|
|
1460
|
+
const partSelectorRe = /([^\s,{][^,{]*?)::part\(\s*([^)]+?)\s*\)((?:[:.][^,{]*)*)/g;
|
|
1461
|
+
return processRules(cssText, (rule) => {
|
|
1462
|
+
if (rule.selector[0] === "@") {
|
|
1463
|
+
return rule;
|
|
1464
|
+
}
|
|
1465
|
+
const selectors = rule.selector.split(",").map((sel) => {
|
|
1466
|
+
const out = [sel.trim()];
|
|
1467
|
+
let m;
|
|
1468
|
+
while ((m = partSelectorRe.exec(sel)) !== null) {
|
|
1469
|
+
const before = m[1].trimEnd();
|
|
1470
|
+
const partNames = m[2].trim().split(/\s+/);
|
|
1471
|
+
const after = m[3] || "";
|
|
1472
|
+
const partAttr = partNames.flatMap((p) => {
|
|
1473
|
+
if (!rule.selector.includes(`[part~="${p}"]`)) {
|
|
1474
|
+
return [`[part~="${p}"]`];
|
|
1475
|
+
}
|
|
1476
|
+
return [];
|
|
1477
|
+
}).join("");
|
|
1478
|
+
const expanded = `${before} ${partAttr}${after}`;
|
|
1479
|
+
if (!!partAttr && expanded !== sel.trim()) {
|
|
1480
|
+
out.push(expanded);
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
return out.join(", ");
|
|
1484
|
+
});
|
|
1485
|
+
rule.selector = selectors.join(", ");
|
|
1486
|
+
return rule;
|
|
1487
|
+
});
|
|
1488
|
+
};
|
|
1334
1489
|
var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
1335
1490
|
const hostScopeId = scopeId2 + "-h";
|
|
1336
1491
|
const slotScopeId = scopeId2 + "-s";
|
|
@@ -1366,16 +1521,10 @@ var scopeCss = (cssText, scopeId2, commentOriginalSelector) => {
|
|
|
1366
1521
|
const regex = new RegExp(escapeRegExpSpecialCharacters(slottedSelector.orgSelector), "g");
|
|
1367
1522
|
cssText = cssText.replace(regex, slottedSelector.updatedSelector);
|
|
1368
1523
|
});
|
|
1524
|
+
cssText = expandPartSelectors(cssText);
|
|
1369
1525
|
return cssText;
|
|
1370
1526
|
};
|
|
1371
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
1372
|
-
if (typeof propValue === "string" && (propValue.startsWith("{") && propValue.endsWith("}") || propValue.startsWith("[") && propValue.endsWith("]"))) {
|
|
1373
|
-
try {
|
|
1374
|
-
propValue = JSON.parse(propValue);
|
|
1375
|
-
return propValue;
|
|
1376
|
-
} catch (e) {
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1527
|
+
var parsePropertyValue = (propValue, propType, isFormAssociated) => {
|
|
1379
1528
|
if (typeof propValue === "string" && propValue.startsWith(SERIALIZED_PREFIX)) {
|
|
1380
1529
|
propValue = deserializeProperty(propValue);
|
|
1381
1530
|
return propValue;
|
|
@@ -1388,7 +1537,10 @@ var parsePropertyValue = (propValue, propType) => {
|
|
|
1388
1537
|
}
|
|
1389
1538
|
return propValue;
|
|
1390
1539
|
};
|
|
1391
|
-
var getElement = (ref) =>
|
|
1540
|
+
var getElement = (ref) => {
|
|
1541
|
+
var _a;
|
|
1542
|
+
return (_a = getHostRef(ref)) == null ? void 0 : _a.$hostElement$ ;
|
|
1543
|
+
};
|
|
1392
1544
|
|
|
1393
1545
|
// src/runtime/event-emitter.ts
|
|
1394
1546
|
var createEvent = (ref, name, flags) => {
|
|
@@ -1409,94 +1561,6 @@ var emitEvent = (elm, name, opts) => {
|
|
|
1409
1561
|
elm.dispatchEvent(ev);
|
|
1410
1562
|
return ev;
|
|
1411
1563
|
};
|
|
1412
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1413
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1414
|
-
let style = styles.get(scopeId2);
|
|
1415
|
-
{
|
|
1416
|
-
style = cssText;
|
|
1417
|
-
}
|
|
1418
|
-
styles.set(scopeId2, style);
|
|
1419
|
-
};
|
|
1420
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1421
|
-
var _a;
|
|
1422
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
1423
|
-
const style = styles.get(scopeId2);
|
|
1424
|
-
if (!win.document) {
|
|
1425
|
-
return scopeId2;
|
|
1426
|
-
}
|
|
1427
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : win.document;
|
|
1428
|
-
if (style) {
|
|
1429
|
-
if (typeof style === "string") {
|
|
1430
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1431
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1432
|
-
let styleElm;
|
|
1433
|
-
if (!appliedStyles) {
|
|
1434
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1435
|
-
}
|
|
1436
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
1437
|
-
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1438
|
-
styleElm.innerHTML = style;
|
|
1439
|
-
} else {
|
|
1440
|
-
styleElm = document.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`) || win.document.createElement("style");
|
|
1441
|
-
styleElm.innerHTML = style;
|
|
1442
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(win.document);
|
|
1443
|
-
if (nonce != null) {
|
|
1444
|
-
styleElm.setAttribute("nonce", nonce);
|
|
1445
|
-
}
|
|
1446
|
-
if ((cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */ || cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
1447
|
-
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
1448
|
-
}
|
|
1449
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1450
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
1451
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1452
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1453
|
-
styleContainerNode.insertBefore(
|
|
1454
|
-
styleElm,
|
|
1455
|
-
(referenceNode2 == null ? void 0 : referenceNode2.parentNode) === styleContainerNode ? referenceNode2 : null
|
|
1456
|
-
);
|
|
1457
|
-
} else if ("host" in styleContainerNode) {
|
|
1458
|
-
{
|
|
1459
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1460
|
-
if (existingStyleContainer) {
|
|
1461
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1462
|
-
} else {
|
|
1463
|
-
styleContainerNode.prepend(styleElm);
|
|
1464
|
-
}
|
|
1465
|
-
}
|
|
1466
|
-
} else {
|
|
1467
|
-
styleContainerNode.append(styleElm);
|
|
1468
|
-
}
|
|
1469
|
-
}
|
|
1470
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1471
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
1472
|
-
}
|
|
1473
|
-
}
|
|
1474
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1475
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1476
|
-
}
|
|
1477
|
-
if (appliedStyles) {
|
|
1478
|
-
appliedStyles.add(scopeId2);
|
|
1479
|
-
}
|
|
1480
|
-
}
|
|
1481
|
-
}
|
|
1482
|
-
}
|
|
1483
|
-
return scopeId2;
|
|
1484
|
-
};
|
|
1485
|
-
var attachStyles = (hostRef) => {
|
|
1486
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
1487
|
-
const elm = hostRef.$hostElement$;
|
|
1488
|
-
const flags = cmpMeta.$flags$;
|
|
1489
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1490
|
-
const scopeId2 = addStyle(
|
|
1491
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1492
|
-
cmpMeta);
|
|
1493
|
-
if (flags & 10 /* needsScopedEncapsulation */) {
|
|
1494
|
-
elm["s-sc"] = scopeId2;
|
|
1495
|
-
elm.classList.add(scopeId2 + "-h");
|
|
1496
|
-
}
|
|
1497
|
-
endAttachStyles();
|
|
1498
|
-
};
|
|
1499
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
1500
1564
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRender) => {
|
|
1501
1565
|
if (oldValue === newValue) {
|
|
1502
1566
|
return;
|
|
@@ -1507,12 +1571,13 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
|
|
|
1507
1571
|
const classList = elm.classList;
|
|
1508
1572
|
const oldClasses = parseClassList(oldValue);
|
|
1509
1573
|
let newClasses = parseClassList(newValue);
|
|
1510
|
-
if (elm["s-si"] && initialRender) {
|
|
1511
|
-
|
|
1574
|
+
if ((elm["s-si"] || elm["s-sc"]) && initialRender) {
|
|
1575
|
+
const scopeId2 = elm["s-sc"] || elm["s-si"];
|
|
1576
|
+
newClasses.push(scopeId2);
|
|
1512
1577
|
oldClasses.forEach((c) => {
|
|
1513
|
-
if (c.startsWith(
|
|
1578
|
+
if (c.startsWith(scopeId2)) newClasses.push(c);
|
|
1514
1579
|
});
|
|
1515
|
-
newClasses = [...new Set(newClasses)];
|
|
1580
|
+
newClasses = [...new Set(newClasses)].filter((c) => c);
|
|
1516
1581
|
classList.add(...newClasses);
|
|
1517
1582
|
} else {
|
|
1518
1583
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
@@ -1933,6 +1998,8 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1933
1998
|
!isInitialRender && BUILD.updatable && oldChildren !== null
|
|
1934
1999
|
) {
|
|
1935
2000
|
removeVnodes(oldChildren, 0, oldChildren.length - 1);
|
|
2001
|
+
} else if (isInitialRender && BUILD.updatable && oldChildren !== null && newChildren === null) {
|
|
2002
|
+
newVNode2.$children$ = oldChildren;
|
|
1936
2003
|
}
|
|
1937
2004
|
if (isSvgMode && tag === "svg") {
|
|
1938
2005
|
isSvgMode = false;
|
|
@@ -2139,6 +2206,12 @@ var scheduleUpdate = (hostRef, isInitialLoad) => {
|
|
|
2139
2206
|
}
|
|
2140
2207
|
attachToAncestor(hostRef, hostRef.$ancestorComponent$);
|
|
2141
2208
|
const dispatch = () => dispatchHooks(hostRef, isInitialLoad);
|
|
2209
|
+
if (isInitialLoad) {
|
|
2210
|
+
queueMicrotask(() => {
|
|
2211
|
+
dispatch();
|
|
2212
|
+
});
|
|
2213
|
+
return;
|
|
2214
|
+
}
|
|
2142
2215
|
return writeTask(dispatch) ;
|
|
2143
2216
|
};
|
|
2144
2217
|
var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
@@ -2153,10 +2226,15 @@ var dispatchHooks = (hostRef, isInitialLoad) => {
|
|
|
2153
2226
|
let maybePromise;
|
|
2154
2227
|
if (isInitialLoad) {
|
|
2155
2228
|
{
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
hostRef.$queuedListeners
|
|
2159
|
-
|
|
2229
|
+
{
|
|
2230
|
+
hostRef.$flags$ |= 256 /* isListenReady */;
|
|
2231
|
+
if (hostRef.$queuedListeners$) {
|
|
2232
|
+
hostRef.$queuedListeners$.map(([methodName, event]) => safeCall(instance, methodName, event, elm));
|
|
2233
|
+
hostRef.$queuedListeners$ = void 0;
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
if (hostRef.$fetchedCbList$.length) {
|
|
2237
|
+
hostRef.$fetchedCbList$.forEach((cb) => cb(elm));
|
|
2160
2238
|
}
|
|
2161
2239
|
}
|
|
2162
2240
|
maybePromise = safeCall(instance, "componentWillLoad", void 0, elm);
|
|
@@ -2273,10 +2351,16 @@ var postUpdateComponent = (hostRef) => {
|
|
|
2273
2351
|
}
|
|
2274
2352
|
};
|
|
2275
2353
|
var appDidLoad = (who) => {
|
|
2354
|
+
var _a;
|
|
2276
2355
|
if (BUILD.asyncQueue) {
|
|
2277
2356
|
plt.$flags$ |= 2 /* appLoaded */;
|
|
2278
2357
|
}
|
|
2279
2358
|
nextTick(() => emitEvent(win, "appload", { detail: { namespace: NAMESPACE } }));
|
|
2359
|
+
{
|
|
2360
|
+
if ((_a = plt.$orgLocNodes$) == null ? void 0 : _a.size) {
|
|
2361
|
+
plt.$orgLocNodes$.clear();
|
|
2362
|
+
}
|
|
2363
|
+
}
|
|
2280
2364
|
};
|
|
2281
2365
|
var safeCall = (instance, method, arg, elm) => {
|
|
2282
2366
|
if (instance && instance[method]) {
|
|
@@ -2309,6 +2393,9 @@ var serverSideConnected = (elm) => {
|
|
|
2309
2393
|
var getValue = (ref, propName) => getHostRef(ref).$instanceValues$.get(propName);
|
|
2310
2394
|
var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
2311
2395
|
const hostRef = getHostRef(ref);
|
|
2396
|
+
if (!hostRef) {
|
|
2397
|
+
return;
|
|
2398
|
+
}
|
|
2312
2399
|
if (!hostRef) {
|
|
2313
2400
|
throw new Error(
|
|
2314
2401
|
`Couldn't find host element for "${cmpMeta.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).`
|
|
@@ -2317,7 +2404,9 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2317
2404
|
const oldVal = hostRef.$instanceValues$.get(propName);
|
|
2318
2405
|
const flags = hostRef.$flags$;
|
|
2319
2406
|
const instance = hostRef.$lazyInstance$ ;
|
|
2320
|
-
newVal = parsePropertyValue(
|
|
2407
|
+
newVal = parsePropertyValue(
|
|
2408
|
+
newVal,
|
|
2409
|
+
cmpMeta.$members$[propName][0]);
|
|
2321
2410
|
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
2322
2411
|
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
2323
2412
|
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === void 0) && didValueChange) {
|
|
@@ -2339,7 +2428,7 @@ var setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
2339
2428
|
var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
2340
2429
|
var _a;
|
|
2341
2430
|
const prototype = Cstr.prototype;
|
|
2342
|
-
if (cmpMeta.$members$ || BUILD.
|
|
2431
|
+
if (cmpMeta.$members$ || BUILD.propChangeCallback) {
|
|
2343
2432
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
2344
2433
|
members.map(([memberName, [memberFlags]]) => {
|
|
2345
2434
|
if ((memberFlags & 31 /* Prop */ || memberFlags & 32 /* State */)) {
|
|
@@ -2366,14 +2455,19 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
2366
2455
|
Object.defineProperty(prototype, memberName, {
|
|
2367
2456
|
set(newValue) {
|
|
2368
2457
|
const ref = getHostRef(this);
|
|
2458
|
+
if (!ref) {
|
|
2459
|
+
return;
|
|
2460
|
+
}
|
|
2369
2461
|
if (origSetter) {
|
|
2370
2462
|
const currentValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2371
2463
|
if (typeof currentValue === "undefined" && ref.$instanceValues$.get(memberName)) {
|
|
2372
2464
|
newValue = ref.$instanceValues$.get(memberName);
|
|
2373
|
-
} else if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
2374
|
-
ref.$instanceValues$.set(memberName, currentValue);
|
|
2375
2465
|
}
|
|
2376
|
-
origSetter.apply(this, [
|
|
2466
|
+
origSetter.apply(this, [
|
|
2467
|
+
parsePropertyValue(
|
|
2468
|
+
newValue,
|
|
2469
|
+
memberFlags)
|
|
2470
|
+
]);
|
|
2377
2471
|
newValue = memberFlags & 32 /* State */ ? this[memberName] : ref.$hostElement$[memberName];
|
|
2378
2472
|
setValue(this, memberName, newValue, cmpMeta);
|
|
2379
2473
|
return;
|
|
@@ -2441,8 +2535,12 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
2441
2535
|
const scopeId2 = getScopeId(cmpMeta);
|
|
2442
2536
|
if (!styles.has(scopeId2)) {
|
|
2443
2537
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
2444
|
-
|
|
2445
|
-
|
|
2538
|
+
{
|
|
2539
|
+
if (cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */) {
|
|
2540
|
+
style = scopeCss(style, scopeId2);
|
|
2541
|
+
} else if (needsScopedSSR()) {
|
|
2542
|
+
style = expandPartSelectors(style);
|
|
2543
|
+
}
|
|
2446
2544
|
}
|
|
2447
2545
|
registerStyle(scopeId2, style);
|
|
2448
2546
|
endRegisterStyles();
|
|
@@ -2467,6 +2565,9 @@ var fireConnectedCallback = (instance, elm) => {
|
|
|
2467
2565
|
var connectedCallback = (elm) => {
|
|
2468
2566
|
if ((plt.$flags$ & 1 /* isTmpDisconnected */) === 0) {
|
|
2469
2567
|
const hostRef = getHostRef(elm);
|
|
2568
|
+
if (!hostRef) {
|
|
2569
|
+
return;
|
|
2570
|
+
}
|
|
2470
2571
|
const cmpMeta = hostRef.$cmpMeta$;
|
|
2471
2572
|
const endConnected = createTime("connectedCallback", cmpMeta.$tagName$);
|
|
2472
2573
|
if (!(hostRef.$flags$ & 1 /* hasConnected */)) {
|
|
@@ -2718,8 +2819,13 @@ var hAsync = (nodeName, vnodeData, ...children) => {
|
|
|
2718
2819
|
}
|
|
2719
2820
|
return h(nodeName, vnodeData);
|
|
2720
2821
|
};
|
|
2822
|
+
|
|
2823
|
+
// src/hydrate/platform/proxy-host-element.ts
|
|
2721
2824
|
function proxyHostElement(elm, cstr) {
|
|
2722
2825
|
const cmpMeta = cstr.cmpMeta;
|
|
2826
|
+
cmpMeta.$watchers$ = cmpMeta.$watchers$ || cstr.watchers;
|
|
2827
|
+
cmpMeta.$deserializers$ = cmpMeta.$deserializers$ || cstr.deserializers;
|
|
2828
|
+
cmpMeta.$serializers$ = cmpMeta.$serializers$ || cstr.serializers;
|
|
2723
2829
|
if (typeof elm.componentOnReady !== "function") {
|
|
2724
2830
|
elm.componentOnReady = componentOnReady;
|
|
2725
2831
|
}
|
|
@@ -2727,15 +2833,13 @@ function proxyHostElement(elm, cstr) {
|
|
|
2727
2833
|
elm.forceUpdate = forceUpdate2;
|
|
2728
2834
|
}
|
|
2729
2835
|
if (!elm.shadowRoot && !!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) && !(cmpMeta.$flags$ & 128 /* shadowNeedsScopedCss */)) {
|
|
2730
|
-
|
|
2731
|
-
elm.attachShadow({ mode: "open" });
|
|
2732
|
-
}
|
|
2836
|
+
createShadowRoot.call(elm, cmpMeta);
|
|
2733
2837
|
}
|
|
2734
2838
|
if (cmpMeta.$members$ != null) {
|
|
2735
2839
|
const hostRef = getHostRef(elm);
|
|
2736
2840
|
const members = Object.entries(cmpMeta.$members$);
|
|
2737
2841
|
members.forEach(([memberName, [memberFlags, metaAttributeName]]) => {
|
|
2738
|
-
var _a;
|
|
2842
|
+
var _a, _b;
|
|
2739
2843
|
if (memberFlags & 31 /* Prop */) {
|
|
2740
2844
|
const attributeName = metaAttributeName || memberName;
|
|
2741
2845
|
const attrValue = elm.getAttribute(attributeName);
|
|
@@ -2743,7 +2847,13 @@ function proxyHostElement(elm, cstr) {
|
|
|
2743
2847
|
let attrPropVal;
|
|
2744
2848
|
const { get: origGetter, set: origSetter } = Object.getOwnPropertyDescriptor(cstr.prototype, memberName) || {};
|
|
2745
2849
|
if (attrValue != null) {
|
|
2746
|
-
|
|
2850
|
+
if ((_a = cmpMeta.$deserializers$) == null ? void 0 : _a[memberName]) {
|
|
2851
|
+
for (const methodName of cmpMeta.$deserializers$[memberName]) {
|
|
2852
|
+
attrPropVal = cstr.prototype[methodName](attrValue, memberName);
|
|
2853
|
+
}
|
|
2854
|
+
} else {
|
|
2855
|
+
attrPropVal = parsePropertyValue(attrValue, memberFlags);
|
|
2856
|
+
}
|
|
2747
2857
|
}
|
|
2748
2858
|
if (propValue !== void 0) {
|
|
2749
2859
|
attrPropVal = propValue;
|
|
@@ -2754,7 +2864,7 @@ function proxyHostElement(elm, cstr) {
|
|
|
2754
2864
|
origSetter.apply(elm, [attrPropVal]);
|
|
2755
2865
|
attrPropVal = origGetter ? origGetter.apply(elm) : attrPropVal;
|
|
2756
2866
|
}
|
|
2757
|
-
(
|
|
2867
|
+
(_b = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _b.set(memberName, attrPropVal);
|
|
2758
2868
|
}
|
|
2759
2869
|
const getterSetterDescriptor = {
|
|
2760
2870
|
get: function() {
|
|
@@ -2768,21 +2878,18 @@ function proxyHostElement(elm, cstr) {
|
|
|
2768
2878
|
};
|
|
2769
2879
|
Object.defineProperty(elm, memberName, getterSetterDescriptor);
|
|
2770
2880
|
Object.defineProperty(elm, metaAttributeName, getterSetterDescriptor);
|
|
2771
|
-
|
|
2772
|
-
|
|
2773
|
-
|
|
2774
|
-
|
|
2775
|
-
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
2779
|
-
|
|
2780
|
-
|
|
2781
|
-
|
|
2782
|
-
|
|
2783
|
-
enumerable: true
|
|
2784
|
-
});
|
|
2785
|
-
}
|
|
2881
|
+
hostRef.$fetchedCbList$.push(() => {
|
|
2882
|
+
var _a2;
|
|
2883
|
+
if (!((_a2 = hostRef == null ? void 0 : hostRef.$instanceValues$) == null ? void 0 : _a2.has(memberName))) {
|
|
2884
|
+
setValue(
|
|
2885
|
+
elm,
|
|
2886
|
+
memberName,
|
|
2887
|
+
attrPropVal !== void 0 ? attrPropVal : hostRef.$lazyInstance$[memberName],
|
|
2888
|
+
cmpMeta
|
|
2889
|
+
);
|
|
2890
|
+
}
|
|
2891
|
+
Object.defineProperty(hostRef.$lazyInstance$, memberName, getterSetterDescriptor);
|
|
2892
|
+
});
|
|
2786
2893
|
} else if (memberFlags & 64 /* Method */) {
|
|
2787
2894
|
Object.defineProperty(elm, memberName, {
|
|
2788
2895
|
value(...args) {
|
|
@@ -2798,7 +2905,6 @@ function proxyHostElement(elm, cstr) {
|
|
|
2798
2905
|
});
|
|
2799
2906
|
}
|
|
2800
2907
|
});
|
|
2801
|
-
cstr.prototype.__stencilAugmented = true;
|
|
2802
2908
|
}
|
|
2803
2909
|
}
|
|
2804
2910
|
function componentOnReady() {
|
|
@@ -2816,6 +2922,7 @@ function hydrateApp(win2, opts, results, afterHydrate, resolve) {
|
|
|
2816
2922
|
const orgDocumentCreateElement = win2.document.createElement;
|
|
2817
2923
|
const orgDocumentCreateElementNS = win2.document.createElementNS;
|
|
2818
2924
|
const resolved2 = Promise.resolve();
|
|
2925
|
+
setScopedSSR(opts);
|
|
2819
2926
|
let tmrId;
|
|
2820
2927
|
let ranCompleted = false;
|
|
2821
2928
|
function hydratedComplete() {
|
|
@@ -2923,13 +3030,16 @@ async function hydrateComponent(win2, results, tagName, elm, waitingElements) {
|
|
|
2923
3030
|
if (cmpMeta != null) {
|
|
2924
3031
|
waitingElements.add(elm);
|
|
2925
3032
|
const hostRef = getHostRef(this);
|
|
3033
|
+
if (!hostRef) {
|
|
3034
|
+
return;
|
|
3035
|
+
}
|
|
2926
3036
|
addHostEventListeners(this, hostRef, cmpMeta.$listeners$);
|
|
2927
3037
|
try {
|
|
2928
3038
|
connectedCallback(elm);
|
|
2929
3039
|
await elm.componentOnReady();
|
|
2930
3040
|
results.hydratedCount++;
|
|
2931
3041
|
const ref = getHostRef(elm);
|
|
2932
|
-
const modeName = !ref.$modeName$ ? "$" : ref.$modeName$;
|
|
3042
|
+
const modeName = !(ref == null ? void 0 : ref.$modeName$) ? "$" : ref == null ? void 0 : ref.$modeName$;
|
|
2933
3043
|
if (!results.components.some((c) => c.tag === tagName && c.mode === modeName)) {
|
|
2934
3044
|
results.components.push({
|
|
2935
3045
|
tag: tagName,
|
|
@@ -3144,6 +3254,7 @@ var getHostRef = (ref) => {
|
|
|
3144
3254
|
return void 0;
|
|
3145
3255
|
};
|
|
3146
3256
|
var registerInstance = (lazyInstance, hostRef) => {
|
|
3257
|
+
if (!hostRef) return void 0;
|
|
3147
3258
|
lazyInstance.__stencil__getHostRef = () => hostRef;
|
|
3148
3259
|
hostRef.$lazyInstance$ = lazyInstance;
|
|
3149
3260
|
return hostRef;
|
|
@@ -3154,8 +3265,10 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
3154
3265
|
$cmpMeta$: cmpMeta,
|
|
3155
3266
|
$hostElement$: elm,
|
|
3156
3267
|
$instanceValues$: /* @__PURE__ */ new Map(),
|
|
3268
|
+
$serializerValues$: /* @__PURE__ */ new Map(),
|
|
3157
3269
|
$renderCount$: 0
|
|
3158
3270
|
};
|
|
3271
|
+
hostRef.$fetchedCbList$ = [];
|
|
3159
3272
|
hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
|
|
3160
3273
|
hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
|
|
3161
3274
|
elm["s-p"] = [];
|
|
@@ -3164,9 +3277,19 @@ var registerHost = (elm, cmpMeta) => {
|
|
|
3164
3277
|
return hostRef;
|
|
3165
3278
|
};
|
|
3166
3279
|
var styles = /* @__PURE__ */ new Map();
|
|
3280
|
+
var setScopedSSR = (opts) => {
|
|
3281
|
+
scopedSSR = opts.serializeShadowRoot !== false && opts.serializeShadowRoot !== "declarative-shadow-dom";
|
|
3282
|
+
};
|
|
3283
|
+
var needsScopedSSR = () => scopedSSR;
|
|
3284
|
+
var scopedSSR = false;
|
|
3167
3285
|
|
|
3168
3286
|
const pennlibsAutocompleteCss = ":host {\n display: block;\n width: 100%;\n border-radius: 1.25rem;\n padding: 0;\n border-top: 0;\n position: relative;\n}\n\n[role=listbox] {\n position: absolute;\n margin-top: var(--pl-space-xs);\n background: var(--pl-color-bg-default);\n border-radius: 1.25rem;\n box-shadow: rgba(140, 149, 159, 0.3) 0px 8px 24px 0px;\n width: 100%;\n overflow: hidden;\n z-index: 1;\n\n display: flex;\n flex-direction: column;\n}\n\np {\n margin: 0;\n font-size: var(--pl-font-size-s);\n color: var(--pl-color-fg-subtle);\n padding: var(--pl-space-xs) calc(var(--pl-space-m) + var(--pl-space-2xs));\n font-size: var(--pl-font-size-s);\n order: 2;\n font-weight: 500;\n background: var(--pl-color-bg-subtle);\n border-radius: 0 0 1.25rem 1.25rem;\n\n display: flex;\n gap: var(--pl-space-s) var(--pl-space-l);\n flex-wrap: wrap;\n}\n\nol {\n list-style: none;\n margin: 0;\n padding: var(--pl-space-xs) 0;\n order: 1;\n}\n\n[role=option] {\n color: var(--pl-color-fg-default);\n padding: var(--pl-space-s) calc(var(--pl-space-m) + var(--pl-space-2xs));\n text-decoration: none;\n font-weight: 700; \n\n &:hover {\n cursor: pointer;\n }\n\n &:hover,\n &:focus {\n text-decoration-thickness: 2px;\n text-underline-offset: 2px;\n text-decoration: underline;\n }\n}\n\n[aria-selected=true] {\n text-decoration-thickness: 2px;\n text-underline-offset: 2px;\n text-decoration: underline;\n}\n\nmark,\nb {\n background: none;\n font-weight: 400;\n}\n\n.suggestion--border {\n border-bottom: solid 1px rgb(from var(--pl-color-fg-default) r g b / 0.2);\n padding-bottom: calc(var(--pl-space-2xs) + var(--pl-space-s));\n margin-bottom: var(--pl-space-2xs);\n}";
|
|
3169
3287
|
|
|
3288
|
+
/**
|
|
3289
|
+
* Offer predictive suggestions while typing your search query.
|
|
3290
|
+
*
|
|
3291
|
+
* @slot start - Content to display at the start (top).
|
|
3292
|
+
*/
|
|
3170
3293
|
class Autocomplete {
|
|
3171
3294
|
constructor(hostRef) {
|
|
3172
3295
|
registerInstance(this, hostRef);
|
|
@@ -3175,6 +3298,12 @@ class Autocomplete {
|
|
|
3175
3298
|
this.currentIndex = -1;
|
|
3176
3299
|
this.originalValue = '';
|
|
3177
3300
|
this.options = [];
|
|
3301
|
+
this.keyHandlerMap = {
|
|
3302
|
+
'Escape': () => this.handleEscape(),
|
|
3303
|
+
'ArrowDown': () => this.handleArrowDown(),
|
|
3304
|
+
'ArrowUp': () => this.handleArrowUp(),
|
|
3305
|
+
'Enter': () => this.handleEnter()
|
|
3306
|
+
};
|
|
3178
3307
|
this.handleOptionClick = (index) => {
|
|
3179
3308
|
this.currentIndex = index;
|
|
3180
3309
|
this.selectCurrent();
|
|
@@ -3226,7 +3355,12 @@ class Autocomplete {
|
|
|
3226
3355
|
if (!this.for)
|
|
3227
3356
|
return null;
|
|
3228
3357
|
const slot = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot[name="start"]');
|
|
3229
|
-
|
|
3358
|
+
if (!slot)
|
|
3359
|
+
return null;
|
|
3360
|
+
const assignedElements = slot.assignedElements();
|
|
3361
|
+
if (assignedElements.length === 0)
|
|
3362
|
+
return null;
|
|
3363
|
+
const input = assignedElements[0].querySelector(`input#${this.for}`);
|
|
3230
3364
|
return input || null;
|
|
3231
3365
|
}
|
|
3232
3366
|
isInputFocused() {
|
|
@@ -3285,35 +3419,30 @@ class Autocomplete {
|
|
|
3285
3419
|
return;
|
|
3286
3420
|
if (event.metaKey || event.ctrlKey)
|
|
3287
3421
|
return; // Ignore keyboard shortcuts
|
|
3288
|
-
const handler = this.
|
|
3422
|
+
const handler = this.keyHandlerMap[event.key];
|
|
3289
3423
|
if (handler) {
|
|
3290
|
-
|
|
3424
|
+
// Don't prevent default for Enter - allow form submission
|
|
3425
|
+
if (event.key !== 'Enter') {
|
|
3426
|
+
event.preventDefault();
|
|
3427
|
+
}
|
|
3291
3428
|
handler();
|
|
3292
3429
|
}
|
|
3293
3430
|
}
|
|
3294
|
-
keyHandlers() {
|
|
3295
|
-
return {
|
|
3296
|
-
'Escape': () => this.handleEscape(),
|
|
3297
|
-
'ArrowDown': () => this.handleArrowDown(),
|
|
3298
|
-
'ArrowUp': () => this.handleArrowUp(),
|
|
3299
|
-
'Enter': () => this.handleEnter()
|
|
3300
|
-
};
|
|
3301
|
-
}
|
|
3302
3431
|
handleEscape() {
|
|
3303
3432
|
this.reset();
|
|
3304
|
-
this.
|
|
3433
|
+
this.syncAll();
|
|
3305
3434
|
}
|
|
3306
3435
|
handleArrowDown() {
|
|
3307
3436
|
if (!this.showSuggestions)
|
|
3308
3437
|
return;
|
|
3309
3438
|
this.moveNext();
|
|
3310
|
-
this.
|
|
3439
|
+
this.syncAll();
|
|
3311
3440
|
}
|
|
3312
3441
|
handleArrowUp() {
|
|
3313
3442
|
if (!this.showSuggestions)
|
|
3314
3443
|
return;
|
|
3315
3444
|
this.movePrevious();
|
|
3316
|
-
this.
|
|
3445
|
+
this.syncAll();
|
|
3317
3446
|
}
|
|
3318
3447
|
handleEnter() {
|
|
3319
3448
|
if (this.canSelect())
|
|
@@ -3335,16 +3464,22 @@ class Autocomplete {
|
|
|
3335
3464
|
if (this.currentIndex < 0)
|
|
3336
3465
|
return;
|
|
3337
3466
|
const selectedOption = this.options[this.currentIndex];
|
|
3467
|
+
this.applySelection(selectedOption);
|
|
3468
|
+
this.emitActivation(selectedOption);
|
|
3469
|
+
this.closeSuggestions();
|
|
3470
|
+
}
|
|
3471
|
+
applySelection(option) {
|
|
3338
3472
|
const input = this.getInput();
|
|
3339
|
-
if (input)
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3473
|
+
if (!input)
|
|
3474
|
+
return;
|
|
3475
|
+
input.value = option.value;
|
|
3476
|
+
this.originalValue = option.value;
|
|
3477
|
+
}
|
|
3478
|
+
emitActivation(option) {
|
|
3343
3479
|
this.activated.emit({
|
|
3344
3480
|
index: this.currentIndex,
|
|
3345
|
-
value:
|
|
3481
|
+
value: option.value
|
|
3346
3482
|
});
|
|
3347
|
-
this.closeSuggestions();
|
|
3348
3483
|
}
|
|
3349
3484
|
openSuggestions() {
|
|
3350
3485
|
if (!this.isInputFocused())
|
|
@@ -3353,17 +3488,18 @@ class Autocomplete {
|
|
|
3353
3488
|
if (input)
|
|
3354
3489
|
this.originalValue = input.value;
|
|
3355
3490
|
this.showSuggestionsPanel();
|
|
3356
|
-
this.syncInputState();
|
|
3357
3491
|
}
|
|
3358
3492
|
showSuggestionsPanel() {
|
|
3359
3493
|
this.showSuggestions = true;
|
|
3360
|
-
this.
|
|
3494
|
+
this.syncAriaAttributes();
|
|
3361
3495
|
}
|
|
3362
3496
|
closeSuggestions() {
|
|
3363
3497
|
this.reset();
|
|
3364
|
-
this.
|
|
3498
|
+
this.syncAll();
|
|
3365
3499
|
}
|
|
3366
3500
|
deferCloseSuggestions() {
|
|
3501
|
+
if (this.blurTimeout)
|
|
3502
|
+
clearTimeout(this.blurTimeout);
|
|
3367
3503
|
this.blurTimeout = setTimeout(() => {
|
|
3368
3504
|
if (this.isFocusOutsideComponent())
|
|
3369
3505
|
this.closeSuggestions();
|
|
@@ -3384,41 +3520,49 @@ class Autocomplete {
|
|
|
3384
3520
|
const active = document.activeElement;
|
|
3385
3521
|
return !((_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.contains(active)) && active !== this.getInput();
|
|
3386
3522
|
}
|
|
3387
|
-
|
|
3523
|
+
syncAriaAttributes() {
|
|
3388
3524
|
const input = this.getInput();
|
|
3389
3525
|
if (!input)
|
|
3390
3526
|
return;
|
|
3391
3527
|
this.updateAriaExpanded(input);
|
|
3392
3528
|
this.updateAriaActiveDescendant(input);
|
|
3393
|
-
|
|
3529
|
+
}
|
|
3530
|
+
syncInputValueToSelection() {
|
|
3531
|
+
const input = this.getInput();
|
|
3532
|
+
if (!input)
|
|
3533
|
+
return;
|
|
3534
|
+
input.value = this.currentIndex >= 0 && this.currentIndex < this.options.length
|
|
3535
|
+
? this.options[this.currentIndex].value
|
|
3536
|
+
: this.originalValue;
|
|
3537
|
+
}
|
|
3538
|
+
syncAll() {
|
|
3539
|
+
this.syncAriaAttributes();
|
|
3540
|
+
this.syncInputValueToSelection();
|
|
3394
3541
|
}
|
|
3395
3542
|
updateAriaExpanded(input) {
|
|
3396
3543
|
input.setAttribute('aria-expanded', this.showSuggestions.toString());
|
|
3397
3544
|
}
|
|
3398
3545
|
updateAriaActiveDescendant(input) {
|
|
3399
|
-
const hasSelection = this.showSuggestions &&
|
|
3400
|
-
|
|
3546
|
+
const hasSelection = this.showSuggestions &&
|
|
3547
|
+
this.currentIndex >= 0 &&
|
|
3548
|
+
this.currentIndex < this.options.length;
|
|
3549
|
+
if (hasSelection) {
|
|
3401
3550
|
input.setAttribute('aria-activedescendant', this.options[this.currentIndex].id);
|
|
3402
3551
|
}
|
|
3403
3552
|
else {
|
|
3404
3553
|
input.removeAttribute('aria-activedescendant');
|
|
3405
3554
|
}
|
|
3406
3555
|
}
|
|
3407
|
-
updateInputValue(input) {
|
|
3408
|
-
input.value = this.currentIndex >= 0
|
|
3409
|
-
? this.options[this.currentIndex].value
|
|
3410
|
-
: this.originalValue;
|
|
3411
|
-
}
|
|
3412
3556
|
shouldShowListbox() {
|
|
3413
3557
|
return this.showSuggestions && this.options.length > 0 && this.isInputFocused();
|
|
3414
3558
|
}
|
|
3415
3559
|
render() {
|
|
3416
|
-
return (hAsync("div", { key: '
|
|
3560
|
+
return (hAsync("div", { key: 'ee4ead1b5bec44a561901a29d3d5e119da0d09f8' }, hAsync("slot", { key: '7d7128ab7968544ab25125d30a648136f8d8a566', name: "start" }), this.shouldShowListbox() && (hAsync("ol", { key: '95d45d524847f83b646853a8d919bc88f471f150', role: "listbox", id: "listbox" }, this.options.map((option, index) => (hAsync("li", { role: "option", id: option.id, "aria-selected": this.currentIndex === index ? 'true' : 'false', tabindex: "-1", onClick: () => this.handleOptionClick(index), innerHTML: option.html })))))));
|
|
3417
3561
|
}
|
|
3418
3562
|
get el() { return getElement(this); }
|
|
3419
3563
|
static get style() { return pennlibsAutocompleteCss; }
|
|
3420
3564
|
static get cmpMeta() { return {
|
|
3421
|
-
"$flags$":
|
|
3565
|
+
"$flags$": 265,
|
|
3422
3566
|
"$tagName$": "pennlibs-autocomplete",
|
|
3423
3567
|
"$members$": {
|
|
3424
3568
|
"for": [1],
|
|
@@ -3446,7 +3590,7 @@ class Banner {
|
|
|
3446
3590
|
static get assetsDirs() { return ["assets"]; }
|
|
3447
3591
|
static get style() { return pennlibsBannerCss; }
|
|
3448
3592
|
static get cmpMeta() { return {
|
|
3449
|
-
"$flags$":
|
|
3593
|
+
"$flags$": 265,
|
|
3450
3594
|
"$tagName$": "pennlibs-banner",
|
|
3451
3595
|
"$members$": undefined,
|
|
3452
3596
|
"$listeners$": undefined,
|
|
@@ -3471,7 +3615,7 @@ class Chat {
|
|
|
3471
3615
|
}
|
|
3472
3616
|
static get style() { return pennlibsChatCss; }
|
|
3473
3617
|
static get cmpMeta() { return {
|
|
3474
|
-
"$flags$":
|
|
3618
|
+
"$flags$": 265,
|
|
3475
3619
|
"$tagName$": "pennlibs-chat",
|
|
3476
3620
|
"$members$": {
|
|
3477
3621
|
"href": [32]
|
|
@@ -3547,7 +3691,7 @@ class Footer {
|
|
|
3547
3691
|
get hostElement() { return getElement(this); }
|
|
3548
3692
|
static get style() { return pennlibsFooterCss; }
|
|
3549
3693
|
static get cmpMeta() { return {
|
|
3550
|
-
"$flags$":
|
|
3694
|
+
"$flags$": 265,
|
|
3551
3695
|
"$tagName$": "pennlibs-footer",
|
|
3552
3696
|
"$members$": {
|
|
3553
3697
|
"navigationByChildren": [32]
|
|
@@ -3563,22 +3707,7 @@ const LogoWhite = () => {
|
|
|
3563
3707
|
};
|
|
3564
3708
|
|
|
3565
3709
|
const LogoBlue = () => {
|
|
3566
|
-
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "445", fill: "none", class: "website-header__logo", viewBox: "0 0 445 95" },
|
|
3567
|
-
hAsync("g", { "clip-path": "url(#clip0_10377_15535)" },
|
|
3568
|
-
hAsync("path", { fill: "#011F5B", d: "M443.498 60.919H84.084v1.247h359.414v-1.247z" }),
|
|
3569
|
-
hAsync("path", { fill: "#fff", d: "M76.106 3.45H0v37.926c-.052 16.52 9.105 28.478 16.793 35.601 8.456 7.841 17.766 12.368 20.875 13.035l.376.085.376-.085c3.11-.683 12.437-5.194 20.876-13.035 7.687-7.123 16.827-19.082 16.793-35.601V3.45h.017z" }),
|
|
3570
|
-
hAsync("path", { fill: "#900", d: "M1.93 5.45s.103 22.037 0 21.934h72.245V5.45H1.93zM21.32 19.32c.12.085.222.17.307.29.086.137.12.274.12.445a.888.888 0 01-.12.427c-.085.12-.205.205-.307.307-.171.137-.342.257-.342.479v1.35H5.022v-1.35c0-.222-.17-.36-.341-.479a1.054 1.054 0 01-.308-.307.753.753 0 01-.12-.444c0-.171.035-.308.12-.445.085-.12.205-.205.308-.29.17-.137.341-.256.341-.495V14.4c0-.222-.17-.342-.341-.478a1.245 1.245 0 01-.308-.29.752.752 0 01-.12-.445c0-.17.035-.307.12-.444.085-.12.205-.222.308-.29.17-.137.341-.257.341-.479v-1.383h.205c.94 0 1.743-.018 2.324-.274.239-.085.444-.239.666-.376.495-.307 1.042-.649 1.879-.649.666 0 1.281.256 1.828.479.393.153.752.29 1.025.29h.102c.274 0 .633-.154 1.025-.29.547-.223 1.162-.479 1.828-.479.837 0 1.384.342 1.88.65.222.136.444.273.683.375.564.24 1.384.274 2.323.274h.205v1.383c0 .222.17.342.342.479.102.085.222.17.307.29.086.137.12.273.12.444 0 .171-.051.308-.12.444-.085.12-.205.205-.307.29-.171.137-.342.257-.342.48v4.407c0 .222.17.358.342.495m30.527 2.306c-1.23 1.965-3.621 2.46-3.706 2.477-.462.086-.957.12-1.436.12-2.494 0-4.783-1.093-7.123-2.29-.256-.136-.547-.29-.854-.46-1.487-.82-3.57-1.948-5.33-1.948-.513 0-1.008.102-1.435.325l-.069.034v.085c0 .222-.068.444-.136.65-.29.751-1.196 1.537-1.64 1.861-1.025.735-2.29 1.487-3.844 1.487-.24 0-.444-.035-.65-.103a1.502 1.502 0 01-.7-.495c-.085-.103-.153-.24-.222-.376-.051-.103-.068-.222-.102-.342v-.085l-.103-.034c-.615-.188-.973-.581-.973-1.06 0-.375.273-.683.53-.99.41-.479.75-.889.187-1.435-.051-.052-.12-.086-.17-.137-.086-.068-.172-.12-.24-.205-.495-.53-.205-1.657-.034-2.323v-.069c.205-.734.512-1.486.922-2.306.564-1.11 1.23-2.374 2.187-3.16.017 0 .034-.017.068-.017.017 0 .052.017.069.034 0 .034.12.188.273.444l.154.273.102-.29c.274-.786.7-1.298 1.299-1.52.632-.24 1.23.085 1.52.307l.12.102.085-.136c.188-.308.547-.684 1.128-.718.649-.034 1.178.41 1.434.684l.103.085.102-.085c.29-.24 1.042-.786 1.794-.684.718.103.991.718 1.076.974l.052.17.153-.068c.342-.17.991-.392 1.606 0 .393.257.444.684.41.991v.188l.171-.034c.461-.068 1.316-.12 1.828.393.393.41.427.94.376 1.298v.188h.17c.41-.068.957-.034 1.248.427.205.308.12.752.051.974l-.034.137.136.034c.24.051.65.205.77.547.102.256.068.666-.07 1.161l-.033.12.12.051c.204.085.58.29.785.683.205.393.188.872-.017 1.453l-.034.085.068.068c.53.479 1.06.906 1.589 1.282 1.06.768 2.716 1.178 3.844.256.427-.342.615-.991.478-1.589-.137-.53-.478-.888-.957-1.008-.854-.188-1.52.615-2.067 1.435 0 .017-.05.034-.085.034-.034 0-.051-.017-.068-.051-.513-1.213-.53-2.204-.086-2.973.393-.649 1.128-1.11 2.033-1.264h.12v-.153c0-1.418.324-2.46 1.008-3.092.427-.376 1.195-.803 2.477-.615a.13.13 0 01.068.034v.068c-.94 2.29-.718 3.143-.205 5.023.051.17.085.341.137.512.478 1.777.341 3.297-.428 4.527m19.56-2.306c.12.085.223.17.308.29a.79.79 0 01.12.444.734.734 0 01-.12.427c-.085.12-.205.206-.307.308-.171.137-.342.256-.342.478v1.35H55.127v-1.35c0-.222-.153-.358-.341-.478a1.055 1.055 0 01-.308-.308.648.648 0 01-.12-.444c0-.17.035-.307.12-.444.086-.12.188-.205.308-.29.17-.137.341-.256.341-.496V14.35c0-.222-.153-.342-.341-.479a1.242 1.242 0 01-.308-.29.648.648 0 01-.12-.444c0-.154.035-.308.12-.444.086-.12.205-.222.308-.29.17-.137.341-.257.341-.479V10.54h.205c.94 0 1.743-.017 2.324-.273.239-.085.444-.24.683-.376.478-.307 1.042-.65 1.862-.65.666 0 1.281.257 1.828.48.393.153.752.29 1.025.29h.103c.273 0 .632-.154 1.025-.29.546-.223 1.161-.48 1.828-.48.837 0 1.383.343 1.879.65.222.137.444.273.683.376.564.24 1.384.273 2.323.273h.205v1.384c0 .222.154.342.342.478.103.086.222.171.308.29.085.137.119.274.119.445 0 .17-.034.307-.12.444-.085.12-.204.205-.307.29-.17.137-.342.257-.342.479v4.407c0 .222.154.36.342.496" }),
|
|
3571
|
-
hAsync("path", { fill: "#011F5B", d: "M26.82 18.382c.257 0 .496.068.735.256.086.068.154.136.222.188a.374.374 0 01-.017.564c-.17.153-.376.29-.512.375-.29.205-.803.564-1.145.29-.17-.153.17-.392.017-.99-.12-.478.342-.683.718-.683" }),
|
|
3572
|
-
hAsync("path", { fill: "#011F5B", d: "M46.706 24.378c-2.495 0-4.818-1.077-7.192-2.307-.257-.136-.564-.29-.872-.46-1.896-1.043-4.749-2.598-6.628-1.624 0 .24-.051.479-.137.684-.29.785-1.23 1.605-1.69 1.93-1.043.752-2.324 1.503-3.93 1.503-.24 0-.478-.034-.683-.102a1.64 1.64 0 01-.77-.547 2.354 2.354 0 01-.238-.41 1.784 1.784 0 01-.103-.376c-.666-.205-1.076-.649-1.076-1.195 0-.41.29-.752.564-1.077.444-.53.649-.803.188-1.23-.052-.051-.103-.085-.171-.136-.086-.069-.171-.12-.256-.223-.547-.597-.24-1.759-.069-2.46v-.068c.222-.734.513-1.503.94-2.34.564-1.128 1.247-2.409 2.22-3.212.052-.034.12-.068.188-.051.069 0 .12.051.154.102.034.052.427.65.837 1.435 1.692-1.008 4.1-1.127 4.374-1.127 1.486-.051 3.638.17 5.483 1.589 1.145.888 2.085 1.964 2.99 3.023.24.274.478.564.734.838 1.401 1.571 2.734 2.818 4.066 3.792 1.008.735 2.597 1.145 3.673.256.393-.324.564-.905.427-1.435-.12-.478-.427-.803-.854-.905-.769-.171-1.4.598-1.913 1.366-.051.069-.137.12-.222.103-.086 0-.154-.068-.188-.137-.53-1.247-.547-2.289-.069-3.092.41-.683 1.196-1.178 2.136-1.315 0-1.47.342-2.546 1.06-3.195.443-.393 1.246-.837 2.596-.666.068 0 .136.051.17.12.035.068.052.136 0 .205-.939 2.237-.7 3.075-.204 4.92.05.17.085.341.153.53.496 1.81.342 3.382-.444 4.629-1.264 2.033-3.707 2.528-3.81 2.545-.495.085-.973.12-1.452.12M33.398 19.2c1.793 0 3.843 1.128 5.45 2 .307.17.597.324.87.46 2.734 1.418 5.433 2.648 8.337 2.136.017 0 2.358-.479 3.502-2.34.718-1.145.837-2.58.393-4.271a7.72 7.72 0 01-.137-.513c-.478-1.76-.751-2.75.103-4.937-.99-.068-1.589.273-1.93.564-.65.58-.957 1.606-.906 3.058a.24.24 0 01-.205.239c-.888.102-1.64.512-2.016 1.127-.358.598-.376 1.367-.05 2.29.443-.598 1.195-1.418 2.152-1.213.598.136 1.042.598 1.195 1.23.171.717-.05 1.486-.58 1.913-1.265 1.025-3.075.598-4.237-.24-1.367-.99-2.716-2.254-4.134-3.86l-.735-.837c-.905-1.025-1.828-2.101-2.921-2.956-1.725-1.332-3.775-1.554-5.176-1.503-.957.034-2.887.308-4.186 1.094.41.82.752 1.776.752 2.494 0 .136-.017.256-.068.393.94-.547 2.067-.154 2.682.53.136.153.29.375.444.631.24.359.53.786.854 1.11.051.052.068.12.068.188a.188.188 0 01-.102.171s-.598.428-1.435 1.043c-.12.085-.24.17-.342.239-.017 0-.034.034-.051.05l.735.12c.512-.273 1.059-.393 1.657-.393m-6.475-7.926c-.803.752-1.4 1.88-1.913 2.887-.41.803-.7 1.537-.888 2.255v.068c-.154.53-.445 1.623-.069 2.016.051.051.12.103.188.154.068.051.137.102.205.17.786.752.24 1.402-.154 1.863-.239.273-.461.53-.461.786 0 .546.666.751.871.785.103.018.171.103.171.205 0 .171.034.274.085.41.052.12.103.205.171.308.137.17.325.307.547.393.154.068.342.085.547.085 1.486 0 2.682-.734 3.673-1.435.58-.41 1.315-1.161 1.537-1.708.051-.154.085-.308.103-.478l-1.042-.171h-.018a.3.3 0 01-.205-.222c-.034-.205.154-.325.53-.581.103-.069.222-.154.325-.24.546-.41.99-.717 1.23-.888a7.525 7.525 0 01-.735-1.008c-.154-.222-.29-.444-.41-.563-.512-.547-1.418-.871-2.152-.427-.29.188-.547.41-.838.666-.222.188-.444.41-.7.58-.103.069-.24.052-.308-.05-.085-.086-.068-.223 0-.308a.742.742 0 01.12-.103c.325-.324 1.11-1.042 1.11-1.571 0-1.213-1.161-3.195-1.571-3.861" }),
|
|
3573
|
-
hAsync("path", { fill: "#011F5B", d: "M25.386 22.789c-.223 0-.445 0-.667-.034-.12-.017-.222-.12-.205-.256 0-.12.12-.205.257-.205 1.042.136 2.58 0 3.895-1.384a.237.237 0 01.324 0 .238.238 0 010 .324C28 22.26 26.752 22.79 25.37 22.79M43.802 19.338s-.052 0-.086-.017c-.12-.051-.154-.17-.12-.29.24-.547.274-1.008.103-1.35-.239-.461-.786-.615-.803-.615-.051 0-.12-.051-.136-.102-.035-.052-.035-.12 0-.188.085-.205.256-.837.153-1.162-.102-.273-.615-.376-.785-.41-.069 0-.137-.051-.171-.103-.035-.068-.035-.136 0-.187.068-.171.222-.684.034-.957-.342-.53-1.23-.273-1.23-.273-.086.017-.171 0-.222-.052-.052-.05-.069-.153-.052-.222 0 0 .257-.803-.239-1.332-.58-.598-1.845-.24-1.862-.24a.196.196 0 01-.205-.068c-.051-.051-.068-.136-.051-.222 0-.034.222-.7-.24-.973-.717-.445-1.537.119-1.537.136a.181.181 0 01-.205.017c-.068-.034-.12-.102-.12-.17 0-.035-.119-.906-.887-1.009-.838-.12-1.709.735-1.726.752a.26.26 0 01-.17.069.18.18 0 01-.154-.086s-.599-.769-1.333-.735c-.717.035-.99.752-.99.77a.242.242 0 01-.155.136c-.068 0-.136 0-.188-.051 0 0-.717-.684-1.434-.41-.906.341-1.162 1.452-1.248 1.81a.206.206 0 01-.256.171c-.12-.017-.188-.136-.17-.256.102-.427.392-1.708 1.52-2.118.7-.257 1.332.085 1.657.324.188-.307.564-.751 1.247-.786.7-.034 1.281.462 1.537.718.342-.273 1.11-.837 1.914-.718.7.103 1.042.65 1.178 1.077.376-.188 1.077-.41 1.76 0 .461.307.512.803.478 1.127.496-.085 1.401-.136 1.948.427.444.462.461 1.06.41 1.418.393-.051 1.042-.017 1.384.513.222.358.153.803.068 1.093.29.068.735.24.871.632.137.376 0 .94-.085 1.247.239.103.632.325.854.752.24.478.205 1.042-.086 1.725-.034.086-.12.12-.205.12" }),
|
|
3574
|
-
hAsync("path", { fill: "#011F5B", d: "M42.725 22.31h-.017c-.12 0-.205-.119-.188-.239.103-.82-.393-.973-.803-1.093-.102-.034-.204-.068-.29-.12-.222-.136-.24-.41-.24-.683 0-.307-.016-.649-.255-.905-.41-.444-1.196-.154-1.196-.154-.069.034-.154 0-.205-.034-.069-.051-.086-.12-.086-.188 0 0 .12-.871-.375-1.298-.428-.36-1.23-.274-1.504-.205-.068 0-.136 0-.188-.052-.05-.034-.068-.102-.068-.17.034-.53-.17-1.008-.58-1.265a1.06 1.06 0 00-1.094-.085c-.906.478-1.264.512-2.204-.154-.29-.205-.598-.273-.871-.205-.359.086-.683.41-.94.906-.051.102-.17.153-.29.102a.22.22 0 01-.103-.29c.308-.598.735-1.008 1.213-1.128.41-.102.837 0 1.23.274.803.563.974.546 1.743.12.478-.257 1.059-.223 1.537.084.462.308.752.82.786 1.401.393-.05 1.128-.068 1.606.342.461.393.547 1.008.547 1.367.358-.069.956-.086 1.366.358.325.376.359.838.359 1.196 0 .12 0 .29.034.342.034.017.12.051.205.068.41.12 1.247.393 1.11 1.572 0 .102-.102.188-.204.188M21.405 19.202c-.17-.137-.273-.222-.273-.36v-4.406c0-.137.102-.24.273-.376.12-.086.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.086-.137-.222-.24-.342-.342-.17-.136-.273-.222-.273-.376v-1.537h-.359c-.82 0-1.691 0-2.255-.256-.222-.086-.444-.222-.666-.359-.495-.325-1.076-.683-1.948-.683-.7 0-1.332.256-1.879.478-.376.154-.717.29-.973.29h-.103c-.24 0-.598-.136-.974-.29-.546-.222-1.178-.478-1.879-.478-.871 0-1.452.358-1.947.683-.222.137-.427.273-.65.359-.563.239-1.452.256-2.272.256h-.341v1.537c0 .154-.103.24-.274.376-.12.086-.239.188-.341.342a.959.959 0 000 1.042c.085.137.222.24.341.325.171.136.274.222.274.375v4.408c0 .137-.103.222-.274.359a1.52 1.52 0 00-.341.324.959.959 0 000 1.042c.085.137.222.24.341.325.171.137.274.222.274.376v1.469h16.246v-1.47c0-.136.102-.238.273-.375.12-.085.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.086-.136-.222-.239-.342-.324zm-7.192-9.089c.513-.205 1.094-.444 1.691-.444.718 0 1.196.29 1.675.598.222.137.46.29.734.41a4.5 4.5 0 00.684.205v9.362c-.376-.069-.803-.069-1.248-.069-.666 0-1.366 0-2.032-.205-.223-.068-.462-.136-.684-.222-.683-.222-1.298-.41-1.725-.444h-.017v-8.883c.29-.051.598-.17.94-.308m-6.527.564a6.17 6.17 0 00.735-.41c.495-.307.957-.598 1.674-.598.598 0 1.179.24 1.691.444.36.137.684.274.974.308v8.866h-.051c-.427.034-1.042.24-1.726.444-.222.069-.46.154-.683.222-.666.205-1.366.205-2.033.205-.444 0-.854 0-1.247.069v-9.345a3.15 3.15 0 00.684-.205m13.752 9.396a.445.445 0 01-.069.256c-.051.086-.154.154-.239.222-.205.171-.444.359-.444.735v.974H5.33v-.974c0-.376-.256-.564-.444-.735a1.02 1.02 0 01-.24-.222c-.05-.085-.085-.17-.068-.256 0-.12.017-.188.069-.273.05-.086.153-.154.239-.223.205-.153.444-.358.444-.717v-4.407c0-.376-.256-.564-.444-.718-.103-.085-.188-.154-.24-.24-.05-.084-.085-.17-.068-.255 0-.103.017-.205.069-.274.05-.085.153-.153.239-.222.205-.153.444-.358.444-.734v-1.025h.034c.41 0 .786 0 1.162-.034v10.147h5.586a.923.923 0 00.905.683c.444 0 .803-.29.906-.683h5.586V10.933c.359.035.752.035 1.145.035h.034v1.025c0 .375.239.563.444.734.102.069.188.154.239.222.051.069.085.171.068.257 0 .119-.017.187-.068.273-.051.085-.154.154-.24.239-.204.154-.443.359-.443.717v4.408c0 .359.239.564.444.717.102.086.188.154.239.223.051.085.085.17.068.256l.035.034zM71.51 19.202c-.188-.137-.273-.222-.273-.36v-4.406c0-.137.103-.24.273-.376.12-.086.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.085-.137-.222-.24-.342-.342-.188-.136-.273-.222-.273-.376v-1.537h-.359c-.82 0-1.69 0-2.255-.256a4.235 4.235 0 01-.666-.359c-.495-.325-1.076-.683-1.947-.683-.684 0-1.333.256-1.88.478-.375.154-.734.29-.973.29h-.103c-.239 0-.598-.136-.974-.29-.563-.222-1.195-.478-1.879-.478-.87 0-1.452.358-1.947.683-.222.137-.427.273-.65.359-.563.239-1.451.256-2.271.256h-.342v1.537c0 .154-.103.24-.273.376-.12.086-.24.188-.342.342a.959.959 0 000 1.042c.085.137.222.24.342.325.17.136.273.222.273.375v4.408c0 .137-.103.222-.273.359a1.52 1.52 0 00-.342.324.959.959 0 000 1.042c.085.137.222.24.342.325.17.137.273.222.273.376v1.469h16.246v-1.47c0-.136.103-.238.273-.375.12-.085.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.085-.136-.222-.239-.342-.324m-7.192-9.089c.513-.205 1.094-.444 1.692-.444.734 0 1.178.29 1.674.598.222.137.461.29.717.41.222.086.444.154.684.205v9.362c-.376-.069-.803-.069-1.247-.069-.667 0-1.367 0-2.033-.205-.223-.068-.462-.136-.684-.222-.683-.222-1.298-.41-1.725-.444h-.017v-8.883c.29-.051.598-.17.94-.308m-6.526.564c.256-.12.495-.256.717-.41.495-.307.957-.598 1.674-.598.598 0 1.179.24 1.692.444.358.137.683.274.973.308v8.866h-.051c-.427.034-1.025.24-1.725.444-.223.069-.462.154-.684.222-.666.205-1.366.205-2.033.205-.444 0-.854 0-1.247.069v-9.345a3.15 3.15 0 00.684-.205m13.752 9.396a.446.446 0 01-.069.256c-.051.086-.153.154-.239.222-.205.171-.444.359-.444.735v.974h-15.34v-.974c0-.376-.257-.564-.445-.735a1.02 1.02 0 01-.24-.222c-.05-.085-.085-.17-.068-.256 0-.12.018-.188.069-.273.051-.086.154-.154.239-.223.205-.153.444-.358.444-.717v-4.407c0-.376-.256-.564-.444-.718-.102-.085-.188-.154-.24-.24-.05-.084-.085-.17-.068-.255 0-.103.018-.205.069-.274.051-.085.154-.153.239-.222.205-.153.444-.358.444-.734v-1.025h.034c.41 0 .786 0 1.162-.034v10.147h5.586a.923.923 0 00.906.683c.444 0 .785-.29.905-.683h5.586V10.933c.376.035.752.035 1.162.035h.034v1.025c0 .375.256.563.444.734.103.069.188.154.24.222.05.069.085.171.068.257 0 .119-.017.187-.069.273-.05.085-.153.154-.239.239-.205.154-.444.359-.444.717v4.408c0 .359.256.564.444.717.103.086.188.154.24.223.05.085.085.17.068.256l-.034.034z" }),
|
|
3575
|
-
hAsync("path", { fill: "#011F5B", d: "M74.654 4.886H1.452v36.49c-.051 15.99 8.85 27.606 16.315 34.542 8.148 7.551 17.322 12.061 20.21 12.676h.153c2.887-.632 12.06-5.125 20.21-12.676 7.482-6.936 16.365-18.552 16.331-34.542V4.886h-.017zm-1.008 21.986H2.46V5.894h71.186v20.978zM16.588 62.457a6.28 6.28 0 010-8.867 6.279 6.279 0 018.866 0 6.28 6.28 0 010 8.867 6.28 6.28 0 01-8.866 0zm41.051 12.727c-8.473 7.858-17.237 11.804-19.595 12.402-2.357-.598-11.12-4.561-19.594-12.402-.205-.188-.41-.393-.615-.581l20.21-21.457 20.209 21.457c-.205.188-.41.393-.615.58zM31.775 42.469c0-3.45 2.802-6.27 6.27-6.27a6.263 6.263 0 016.269 6.27 6.263 6.263 0 01-6.27 6.27 6.274 6.274 0 01-6.27-6.27zm27.743 19.988a6.28 6.28 0 01-8.866 0 6.28 6.28 0 010-8.867 6.279 6.279 0 018.866 0 6.28 6.28 0 010 8.867zm10.062-3.178L38.045 28.871 6.508 59.279C4.066 54.12 2.426 48.158 2.46 41.376V27.88h71.186v13.496c.017 6.765-1.606 12.744-4.066 17.903M88.799 81.3c0 3.604.973 6.371 4.817 6.371 3.536 0 5.398-2.374 5.398-6.491v-7.175c0-.53-.102-.974-.153-1.384-.12-.922-1.008-1.298-2.221-1.418v-.666h6.082v.666c-1.23.12-2.085.495-2.221 1.418-.051.41-.137.854-.137 1.384v7.277c0 5.552-3.536 7.602-6.867 7.602-5.484 0-7.192-2.784-7.192-7.448v-7.688c0-2.391.102-2.272-2.221-2.545v-.666h6.935v.666c-2.323.273-2.22.154-2.22 2.546v7.55zM117.31 88.577c-3.16-3.742-6.44-7.654-9.686-11.48v8.798c0 .41.086.751.12 1.059.102.717.769 1.008 2.084 1.093v.513h-4.869v-.513c.957-.085 1.606-.376 1.709-1.093.034-.325.119-.65.119-1.06v-9.361c-.564-.718-1.179-1.35-2.306-1.35v-.512h3.622c2.955 3.604 6.047 7.26 9.002 10.865h.035V77.37c0-.427-.086-.769-.12-1.076-.102-.718-.786-.991-2.084-1.093v-.513h4.869v.513c-.94.102-1.623.375-1.709 1.093-.034.307-.119.649-.119 1.076v11.224h-.684l.017-.017zM127.117 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.086-1.743-1.708-1.965v-.53h5.347v.53c-1.794.205-1.708.12-1.708 1.965v8.951zM137.503 75.166c-1.093 0-1.879.308-1.23 2.221a1204.83 1204.83 0 002.973 8.798c1.281-3.04 2.494-6.116 3.724-9.14.495-1.264-.017-1.879-1.367-1.879v-.512h4.288v.512c-.581 0-1.23.188-1.64 1.196-1.674 4.083-3.348 8.132-5.022 12.198h-1.025c-1.213-3.434-2.563-7.278-3.776-10.643-.734-2.136-1.349-2.75-2.306-2.75v-.513h5.398v.512h-.017zM148.932 88.047c1.793-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.085-1.76-1.708-1.965v-.512h8.9v3.194h-.512c-.205-1.486-.598-2.562-2.033-2.562h-2.7v5.689h1.675c1.247 0 1.793-.496 1.828-1.726h.512v4.237h-.512c-.035-1.162-.496-1.862-1.828-1.862h-1.675v4.493c0 1.69.786 1.828 2.563 1.828 2.887 0 2.75-.82 3.656-2.939h.512l-.598 3.57h-9.788v-.529zM162.735 74.654h5.791c1.999 0 4.015 1.059 4.015 3.382 0 2.05-1.247 3.451-2.785 4.049l1.948 2.955c.991 1.453 2.101 2.853 2.819 3.263v.257h-2.05c-1.179 0-1.811-2.17-4.22-6.168h-1.879v3.69c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.069-1.76-1.708-1.965v-.512zm3.639 7.124h1.64c1.725 0 2.528-1.299 2.528-3.554s-1.196-2.921-2.648-2.921h-1.537v6.475h.017zM184.568 77.61c-.171-1.384-.923-2.512-2.512-2.512-1.144 0-2.186.598-2.186 2.067 0 1.47 1.383 2.221 3.382 3.724 2.101 1.572 2.785 2.597 2.785 4.237 0 2.358-2.426 3.673-4.818 3.673a9.267 9.267 0 01-3.399-.632c-.086-.034-.137-.12-.137-.273v-2.87h.513c.205 2.203 1.657 3.092 3.211 3.092 1.401 0 2.563-1.077 2.563-2.529 0-1.281-.701-2.34-3.673-4.322-1.076-.717-2.409-1.486-2.409-3.656 0-1.793 1.999-3.211 4.271-3.211.854 0 1.999.102 2.784.376.12.034.137.12.137.204v2.614h-.512v.017zM193.81 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.069-1.743-1.708-1.965v-.53h5.347v.53c-1.794.205-1.708.12-1.708 1.965v8.951zM205.7 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965V75.286h-1.793c-1.726 0-2.119 1.093-2.785 2.409h-.495l.546-3.041h11.002l.529 3.04h-.512c-.649-1.315-1.042-2.408-2.785-2.408H205.7v10.796zM216.53 88.047c1.794-.222 1.708-.12 1.708-1.965v-3.057l-3.057-6.065c-.65-1.298-1.213-1.794-2.136-1.794v-.512h5.074v.512c-1.503 0-1.384.752-.871 1.794l2.408 4.988 2.734-4.988c.683-1.213.034-1.794-1.145-1.794v-.512h4.1v.512c-.547 0-1.093.257-1.623 1.213l-3.331 6.03c-.205.393-.222.957-.222 1.453v2.22c0 1.846-.086 1.743 1.708 1.965v.513h-5.364v-.513h.017zM235.527 83.81c0-3.382 2.921-8.438 7.209-8.438 3.434 0 4.186 2.323 4.186 4.646 0 2.836-2.272 8.866-7.192 8.866-3.297 0-4.203-2.647-4.203-5.073m9.02-5.023c0-2.682-1.623-2.784-2.033-2.784-2.784 0-4.612 5.005-4.612 8.353 0 1.333.222 3.759 2.135 3.759 2.938 0 4.51-4.835 4.51-9.328zM258.914 76.225l-.615.547h-3.383c-1.264 6.15-3.331 14.316-4.8 18.228h-1.162l3.69-18.228h-2.443l.24-1.076h2.425c1.367-5.484 5.911-6.065 6.987-6.065.598 0 1.828.103 2.221.462l-.324 1.708-.649.307c-.359-.7-1.179-1.503-2.255-1.503-1.555 0-2.717 1.06-3.332 3.844l-.29 1.23h3.792l-.102.546zM274.391 85.348c0 2.392-.102 2.272 2.221 2.546v.666h-6.935v-.666c2.323-.291 2.22-.154 2.22-2.546v-11.6c0-2.391.103-2.272-2.22-2.545v-.666h6.747c4.288 0 6.39 1.691 6.39 4.783 0 3.707-3.349 5.723-7.295 5.484v-.513c3.212.052 4.715-1.879 4.715-4.715 0-2.835-1.384-4.22-4.271-4.22h-1.572v13.992zM286.384 88.047c1.776-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.068-1.76-1.708-1.965v-.512h8.883v3.194h-.513c-.205-1.486-.598-2.562-2.033-2.562h-2.699v5.689h1.674c1.248 0 1.794-.496 1.828-1.726h.513v4.237h-.513c-.034-1.162-.495-1.862-1.828-1.862h-1.674v4.493c0 1.69.769 1.828 2.563 1.828 2.87 0 2.733-.82 3.656-2.939h.512l-.598 3.57h-9.789v-.512l.018-.017zM312.231 88.577c-3.161-3.742-6.441-7.654-9.687-11.48v8.798c0 .41.086.751.12 1.059.103.717.769 1.008 2.084 1.093v.513h-4.869v-.513c.957-.085 1.606-.376 1.709-1.093.051-.325.119-.65.119-1.06v-9.361c-.563-.718-1.178-1.35-2.306-1.35v-.512h3.622c2.955 3.604 6.047 7.26 9.003 10.865h.034V77.37c0-.427-.068-.769-.12-1.076-.102-.718-.769-.991-2.101-1.093v-.513h4.886v.513c-.94.102-1.606.375-1.726 1.093-.034.307-.119.649-.119 1.076v11.224h-.666l.017-.017zM330.373 88.577c-3.16-3.742-6.44-7.654-9.686-11.48v8.798c0 .41.068.751.119 1.059.103.717.786 1.008 2.084 1.093v.513h-4.868v-.513c.956-.085 1.606-.376 1.708-1.093.034-.325.12-.65.12-1.06v-9.361c-.547-.718-1.179-1.35-2.307-1.35v-.512h3.622c2.973 3.604 6.048 7.26 9.02 10.865h.034V77.37c0-.427-.068-.769-.102-1.076-.103-.718-.786-.991-2.102-1.093v-.513h4.869v.513c-.939.102-1.606.375-1.708 1.093-.051.307-.137.649-.137 1.076v11.224h-.666v-.017zM343.322 77.61c-.154-1.384-.922-2.512-2.511-2.512-1.145 0-2.187.598-2.187 2.067 0 1.47 1.401 2.221 3.383 3.724 2.101 1.572 2.784 2.597 2.784 4.237 0 2.358-2.409 3.673-4.817 3.673a9.34 9.34 0 01-3.4-.632c-.068-.034-.136-.12-.136-.273v-2.87h.512c.222 2.203 1.674 3.092 3.212 3.092 1.4 0 2.562-1.077 2.562-2.529 0-1.281-.683-2.34-3.673-4.322-1.076-.717-2.409-1.486-2.409-3.656 0-1.793 1.982-3.211 4.288-3.211.855 0 1.982.102 2.768.376.119.034.137.12.137.204v2.614h-.513v.017zM351.334 88.047c1.794-.222 1.708-.12 1.708-1.965v-3.057l-3.057-6.065c-.65-1.298-1.213-1.794-2.119-1.794v-.512h5.057v.512c-1.503 0-1.367.752-.871 1.794l2.408 4.988 2.734-4.988c.683-1.213.051-1.794-1.128-1.794v-.512h4.1v.512c-.547 0-1.093.257-1.623 1.213l-3.314 6.03c-.188.393-.239.957-.239 1.453v2.22c0 1.846-.085 1.743 1.708 1.965v.513h-5.347v-.513h-.017zM363.6 88.047c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.069-1.76-1.708-1.965v-.512h5.347v.512c-1.794.205-1.708.12-1.708 1.965v9.276c0 1.384.769 1.538 2.545 1.538 2.887 0 2.768-.82 3.673-2.939h.496l-.598 3.57h-9.772v-.512l.017-.017zM379.761 75.166c-1.094 0-1.897.308-1.23 2.221.785 2.358 1.93 5.757 2.972 8.798 1.264-3.04 2.477-6.116 3.707-9.14.496-1.264 0-1.879-1.366-1.879v-.512h4.287v.512c-.58 0-1.23.188-1.64 1.196a2610.34 2610.34 0 01-5.039 12.198h-1.008c-1.213-3.434-2.563-7.278-3.775-10.643-.735-2.136-1.35-2.75-2.307-2.75v-.513h5.416v.512h-.017zM391.77 83.964l-.922 2.665c-.256.77.119 1.435.991 1.435v.513h-3.622v-.513c.547 0 1.128-.341 1.435-.99.854-1.76 3.178-8.252 4.835-12.66h1.11c1.35 3.998 3.382 10.131 4.066 11.89.444 1.111.751 1.743 1.606 1.743v.513h-4.63v-.513c1.247 0 1.367-.649 1.042-1.52l-.854-2.58h-5.057v.017zm4.818-.751l-2.118-6.458h-.035l-2.374 6.458h4.527zM416.268 88.577c-3.178-3.742-6.441-7.654-9.687-11.48v8.798c0 .41.069.751.12 1.059.102.717.786 1.008 2.084 1.093v.513h-4.869v-.513c.957-.085 1.606-.376 1.709-1.093.051-.325.119-.65.119-1.06v-9.361c-.546-.718-1.161-1.35-2.306-1.35v-.512h3.622c2.955 3.604 6.047 7.26 9.003 10.865h.034V77.37c0-.427-.069-.769-.12-1.076-.102-.718-.786-.991-2.084-1.093v-.513h4.869v.513c-.94.102-1.606.375-1.709 1.093-.034.307-.119.649-.119 1.076v11.224h-.666v-.017zM425.664 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.086-1.743-1.708-1.965v-.53h5.347v.53c-1.794.205-1.708.12-1.708 1.965v8.951zM433.983 83.964l-.922 2.665c-.257.77.119 1.435 1.007 1.435v.513h-3.621v-.513c.546 0 1.11-.341 1.435-.99.854-1.76 3.177-8.252 4.834-12.66h1.111c1.349 3.998 3.382 10.131 4.066 11.89.444 1.111.751 1.743 1.605 1.743v.513h-4.629v-.513c1.247 0 1.366-.649 1.059-1.52l-.854-2.58h-5.057l-.034.017zm4.8-.751l-2.101-6.458h-.034l-2.375 6.458h4.51zM101.116 6.201h-5.689v20.654c1.537.53 3.434.786 5.689.786 3.451 0 6.184-.888 8.183-2.665 1.998-1.777 3.006-4.22 3.006-7.295 0-3.314-.991-6.064-2.989-8.217-1.999-2.152-4.715-3.245-8.2-3.245m-17.032-1.76h16.81c5.5 0 9.84 1.213 13.051 3.656 3.212 2.443 4.818 5.569 4.818 9.43 0 3.86-1.401 6.765-4.203 8.815-2.801 2.05-6.816 3.075-12.061 3.075-2.015 0-4.373-.154-7.072-.479v12.898c0 2.785.376 4.698 1.11 5.74.752 1.042 2.119 1.572 4.1 1.572v1.332h-16.57v-1.332c1.981 0 3.348-.547 4.1-1.657.751-1.093 1.11-2.938 1.11-5.501V13.12c0-2.75-.376-4.664-1.11-5.74-.752-1.076-2.119-1.606-4.1-1.606V4.442l.017.017zM119.6 31.758h15.511v-.547c0-2.545-.717-4.561-2.169-6.047-1.452-1.487-3.263-2.238-5.433-2.238-2.306 0-4.151.785-5.552 2.357-1.4 1.572-2.186 3.724-2.34 6.475m21.388 11.428v2.084c-1.725 2.204-3.485 3.776-5.279 4.715-1.793.94-3.946 1.418-6.457 1.418-4.442 0-8.115-1.4-11.019-4.185-2.887-2.785-4.339-6.32-4.339-10.626 0-4.305 1.384-7.96 4.134-10.916 2.768-2.955 6.15-4.442 10.148-4.442 3.297 0 6.167 1.11 8.627 3.332 2.46 2.22 3.69 4.885 3.69 7.978v.58h-20.927v.393c0 3.144.478 5.86 1.435 8.183.956 2.323 2.357 4.134 4.185 5.433 1.828 1.315 3.741 1.964 5.74 1.964 1.862 0 3.451-.393 4.766-1.162 1.316-.768 3.075-2.357 5.279-4.766" }),
|
|
3576
|
-
hAsync("path", { fill: "#011F5B", d: "M151.118 21.234v5.69c3.332-3.793 6.748-5.69 10.284-5.69 2.751 0 5.04.94 6.868 2.82 1.828 1.878 2.75 4.338 2.75 7.413v12.847c0 1.964.325 3.263.991 3.895.649.632 1.931.94 3.844.94v1.332h-15.187v-1.333c1.879 0 3.177-.239 3.861-.734.683-.496 1.042-1.418 1.042-2.819V30.7c0-2-.598-3.57-1.777-4.767-1.196-1.178-2.716-1.776-4.578-1.776-2.665 0-5.364 1.862-8.081 5.569v13.923c0 2.357.308 3.86.923 4.51.615.649 1.896.956 3.827.956v1.333h-15v-1.333c2.17 0 3.503-.341 3.998-1.042.495-.7.752-2.17.752-4.424V27.589c0-1.708-.308-2.818-.906-3.365-.598-.53-1.879-.803-3.844-.803v-1.332l8.867-.872h1.366v.017z" }),
|
|
3577
|
-
hAsync("path", { fill: "#011F5B", d: "M185.695 21.234v5.69c3.331-3.793 6.748-5.69 10.284-5.69 2.751 0 5.04.94 6.868 2.82 1.828 1.878 2.75 4.338 2.75 7.413v12.847c0 1.964.325 3.263.991 3.895.649.632 1.93.94 3.844.94v1.332h-15.187v-1.333c1.879 0 3.177-.239 3.86-.734.684-.496 1.042-1.418 1.042-2.819V30.7c0-2-.597-3.57-1.776-4.767-1.196-1.178-2.716-1.776-4.578-1.776-2.665 0-5.365 1.862-8.081 5.569v13.923c0 2.357.308 3.86.923 4.51.615.649 1.896.956 3.826.956v1.333h-14.999v-1.333c2.17 0 3.502-.341 3.998-1.042.495-.7.751-2.17.751-4.424V27.589c0-1.708-.307-2.818-.905-3.365-.598-.53-1.879-.803-3.844-.803v-1.332l8.866-.872h1.367v.017zM251.466 40.436h1.366l-2.818 10.045H216.65V49.15c1.879 0 3.229-.598 4.032-1.777.802-1.179 1.195-3.16 1.195-5.928v-28.99c0-2.494-.375-4.22-1.11-5.21-.752-.974-2.118-1.47-4.1-1.47V4.442h16.485v1.332c-1.828 0-3.143.564-3.946 1.692-.803 1.127-1.196 2.99-1.196 5.569v30.767c0 1.708.359 2.87 1.077 3.502.717.632 2.101.94 4.134.94h9.139c2.819 0 4.801-.496 5.928-1.47 1.128-.974 2.187-3.092 3.178-6.338zM261.203 6.509c.974 0 1.777.341 2.46 1.008.683.666 1.008 1.486 1.008 2.46 0 .973-.342 1.793-1.025 2.494-.683.7-1.486 1.042-2.426 1.042a3.474 3.474 0 01-2.511-1.042c-.7-.7-1.059-1.52-1.059-2.494 0-.974.341-1.794 1.042-2.46a3.534 3.534 0 012.528-1.008m1.247 14.726h1.367v23.984c0 1.572.342 2.631 1.025 3.144.683.53 1.93.786 3.724.786v1.332h-15.58V49.15c2.272 0 3.741-.257 4.391-.77.649-.512.973-1.57.973-3.177V27.675c0-1.726-.307-2.87-.905-3.434-.598-.546-2.101-.82-4.476-.82V22.09l9.464-.871.017.017zM276.851 27.555v16.246c0 2.119.359 3.57 1.076 4.357.718.785 1.965 1.178 3.759 1.178 3.707 0 6.628-1.195 8.781-3.57 2.152-2.374 3.228-5.723 3.228-10.01 0-3.588-.939-6.51-2.801-8.799-1.862-2.272-4.1-3.416-6.697-3.416-2.733 0-5.176 1.332-7.363 3.997M275.467-.017h1.367V25.47c1.213-1.315 2.665-2.34 4.39-3.109 1.726-.752 3.451-1.145 5.211-1.145 3.69 0 6.816 1.35 9.379 4.015 2.562 2.682 3.826 5.98 3.826 9.874 0 4.578-1.725 8.337-5.159 11.275-3.451 2.938-8.2 4.39-14.247 4.39-2.358 0-5.313-.29-8.849-.87V7.225c0-2.22-.274-3.604-.838-4.117-.563-.53-1.964-.786-4.219-.786V.991L275.467 0v-.017z" }),
|
|
3578
|
-
hAsync("path", { fill: "#011F5B", d: "M310.198 21.234v6.167c2.614-2.272 4.646-3.878 6.099-4.783 1.452-.922 2.665-1.366 3.621-1.366 1.811 0 3.553.751 5.228 2.237l-2.153 5.057c-3.041-1.674-5.296-2.511-6.748-2.511-1.623 0-3.638 1.144-6.047 3.45v15.649c0 1.572.324 2.63.991 3.194.649.547 1.913.82 3.775.82v1.333h-15.033v-1.333c1.981 0 3.297-.307 3.912-.94.615-.631.922-2.135.922-4.526V28.119c0-1.965-.341-3.246-1.008-3.827-.666-.58-2.289-.871-4.885-.871v-1.332l9.976-.872h1.367l-.017.017zM341.341 44.707v-9.652c-.803.341-1.982.769-3.537 1.298-2.853.974-4.68 1.93-5.483 2.887-.803.957-1.196 2.238-1.196 3.861 0 1.418.427 2.63 1.281 3.673.854 1.042 1.862 1.554 3.041 1.554 1.076 0 2.204-.341 3.382-1.042 1.179-.7 2.016-1.554 2.512-2.58zm-7.654 6.68c-2.221 0-4.134-.735-5.74-2.221-1.588-1.487-2.391-3.263-2.391-5.365 0-2.1.683-3.638 2.067-4.92 1.366-1.298 4.168-2.528 8.371-3.707 2.647-.734 4.424-1.366 5.347-1.879v-2.118c0-2.067-.581-3.741-1.726-5.006-1.144-1.264-2.699-1.896-4.629-1.896-1.76 0-3.315.547-4.664 1.64-1.367 1.094-2.323 2.597-2.87 4.476L326 29.998c.581-2.648 1.828-4.766 3.741-6.355 1.93-1.589 4.185-2.392 6.765-2.392 3.058 0 5.535.923 7.448 2.768 1.897 1.845 2.853 4.407 2.853 7.67v12.215c0 1.725.12 2.904.342 3.519.222.615.649.922 1.281.922.41 0 .752-.17 1.025-.53.256-.358.564-1.092.906-2.22h1.366c-.136 1.777-.683 3.195-1.674 4.237-.991 1.042-2.272 1.571-3.861 1.571-2.323 0-3.946-1.35-4.834-4.048-1.418 1.537-2.665 2.596-3.776 3.177-1.093.581-2.391.871-3.878.871M362.421 21.234v6.167c2.614-2.272 4.647-3.878 6.099-4.783 1.452-.922 2.665-1.366 3.622-1.366 1.811 0 3.553.751 5.227 2.237l-2.152 5.057c-3.041-1.674-5.296-2.511-6.748-2.511-1.623 0-3.639 1.144-6.048 3.45v15.649c0 1.572.325 2.63.991 3.194.649.547 1.914.82 3.776.82v1.333h-15.034v-1.333c1.982 0 3.297-.307 3.912-.94.615-.631.923-2.135.923-4.526V28.119c0-1.965-.342-3.246-1.008-3.827-.666-.58-2.289-.871-4.886-.871v-1.332l9.977-.872h1.366l-.017.017zM387.141 6.509c.974 0 1.777.341 2.46 1.008.683.666 1.008 1.486 1.008 2.46 0 .973-.342 1.793-1.025 2.494-.684.7-1.486 1.042-2.426 1.042-.94 0-1.811-.342-2.511-1.042-.701-.7-1.059-1.52-1.059-2.494 0-.974.341-1.794 1.042-2.46a3.534 3.534 0 012.528-1.008m1.247 14.726h1.367v23.984c0 1.572.341 2.631 1.025 3.144.683.53 1.93.786 3.724.786v1.332h-15.58V49.15c2.272 0 3.741-.257 4.39-.77.649-.512.974-1.57.974-3.177V27.675c0-1.726-.307-2.87-.905-3.434-.598-.546-2.102-.82-4.476-.82V22.09l9.464-.871.017.017zM399.988 31.758h15.511v-.547c0-2.545-.734-4.561-2.169-6.047-1.452-1.487-3.263-2.238-5.433-2.238-2.306 0-4.151.785-5.552 2.357-1.401 1.572-2.187 3.724-2.34 6.475m21.388 11.428v2.084c-1.726 2.204-3.485 3.776-5.279 4.715-1.794.94-3.946 1.418-6.457 1.418-4.459 0-8.115-1.4-11.019-4.185-2.887-2.785-4.339-6.32-4.339-10.626 0-4.305 1.384-7.96 4.134-10.916 2.767-2.955 6.15-4.442 10.147-4.442 3.298 0 6.167 1.11 8.627 3.332 2.46 2.22 3.69 4.885 3.69 7.978v.58H399.97v.393c0 3.144.479 5.86 1.435 8.183.957 2.323 2.341 4.134 4.186 5.433 1.828 1.315 3.741 1.964 5.74 1.964 1.862 0 3.451-.393 4.766-1.162 1.315-.768 3.075-2.357 5.279-4.766M442.678 21.234v8.747h-1.606c-.256-2.204-1.042-3.946-2.357-5.245-1.316-1.298-2.887-1.947-4.749-1.947-1.418 0-2.546.359-3.417 1.06-.854.7-1.298 1.64-1.298 2.818 0 1.179.393 2.17 1.196 3.04.802.872 2.528 1.931 5.193 3.161 3.451 1.572 5.74 3.075 6.85 4.51 1.111 1.435 1.674 3.16 1.674 5.176 0 2.375-.888 4.442-2.665 6.184-1.776 1.743-3.877 2.614-6.32 2.614-1.265 0-2.922-.461-4.989-1.366-1.127-.496-1.879-.752-2.238-.752-.495 0-.922.188-1.247.547-.341.358-.529.82-.598 1.366h-1.366v-9.703h1.366c.496 2.545 1.589 4.578 3.297 6.081 1.709 1.504 3.656 2.256 5.86 2.256 1.418 0 2.597-.479 3.553-1.418.957-.94 1.435-2.102 1.435-3.502 0-1.401-.444-2.495-1.315-3.485-.888-.991-2.785-2.119-5.723-3.4-3.297-1.452-5.467-2.785-6.509-4.049-1.042-1.264-1.571-2.767-1.571-4.561 0-2.22.854-4.151 2.579-5.757 1.709-1.606 3.741-2.409 6.099-2.409 1.093 0 2.289.256 3.57.786.923.359 1.657.547 2.238.547.769 0 1.316-.445 1.691-1.333h1.367v.034z" })),
|
|
3579
|
-
hAsync("defs", null,
|
|
3580
|
-
hAsync("clipPath", { id: "clip0_10377_15535" },
|
|
3581
|
-
hAsync("path", { fill: "#fff", d: "M0 0H444.165V95H0z" })))));
|
|
3710
|
+
return (hAsync("svg", { xmlns: "http://www.w3.org/2000/svg", width: "445", fill: "none", class: "website-header__logo", viewBox: "0 0 445 95" }, hAsync("g", { "clip-path": "url(#clip0_10377_15535)" }, hAsync("path", { fill: "#011F5B", d: "M443.498 60.919H84.084v1.247h359.414v-1.247z" }), hAsync("path", { fill: "#fff", d: "M76.106 3.45H0v37.926c-.052 16.52 9.105 28.478 16.793 35.601 8.456 7.841 17.766 12.368 20.875 13.035l.376.085.376-.085c3.11-.683 12.437-5.194 20.876-13.035 7.687-7.123 16.827-19.082 16.793-35.601V3.45h.017z" }), hAsync("path", { fill: "#900", d: "M1.93 5.45s.103 22.037 0 21.934h72.245V5.45H1.93zM21.32 19.32c.12.085.222.17.307.29.086.137.12.274.12.445a.888.888 0 01-.12.427c-.085.12-.205.205-.307.307-.171.137-.342.257-.342.479v1.35H5.022v-1.35c0-.222-.17-.36-.341-.479a1.054 1.054 0 01-.308-.307.753.753 0 01-.12-.444c0-.171.035-.308.12-.445.085-.12.205-.205.308-.29.17-.137.341-.256.341-.495V14.4c0-.222-.17-.342-.341-.478a1.245 1.245 0 01-.308-.29.752.752 0 01-.12-.445c0-.17.035-.307.12-.444.085-.12.205-.222.308-.29.17-.137.341-.257.341-.479v-1.383h.205c.94 0 1.743-.018 2.324-.274.239-.085.444-.239.666-.376.495-.307 1.042-.649 1.879-.649.666 0 1.281.256 1.828.479.393.153.752.29 1.025.29h.102c.274 0 .633-.154 1.025-.29.547-.223 1.162-.479 1.828-.479.837 0 1.384.342 1.88.65.222.136.444.273.683.375.564.24 1.384.274 2.323.274h.205v1.383c0 .222.17.342.342.479.102.085.222.17.307.29.086.137.12.273.12.444 0 .171-.051.308-.12.444-.085.12-.205.205-.307.29-.171.137-.342.257-.342.48v4.407c0 .222.17.358.342.495m30.527 2.306c-1.23 1.965-3.621 2.46-3.706 2.477-.462.086-.957.12-1.436.12-2.494 0-4.783-1.093-7.123-2.29-.256-.136-.547-.29-.854-.46-1.487-.82-3.57-1.948-5.33-1.948-.513 0-1.008.102-1.435.325l-.069.034v.085c0 .222-.068.444-.136.65-.29.751-1.196 1.537-1.64 1.861-1.025.735-2.29 1.487-3.844 1.487-.24 0-.444-.035-.65-.103a1.502 1.502 0 01-.7-.495c-.085-.103-.153-.24-.222-.376-.051-.103-.068-.222-.102-.342v-.085l-.103-.034c-.615-.188-.973-.581-.973-1.06 0-.375.273-.683.53-.99.41-.479.75-.889.187-1.435-.051-.052-.12-.086-.17-.137-.086-.068-.172-.12-.24-.205-.495-.53-.205-1.657-.034-2.323v-.069c.205-.734.512-1.486.922-2.306.564-1.11 1.23-2.374 2.187-3.16.017 0 .034-.017.068-.017.017 0 .052.017.069.034 0 .034.12.188.273.444l.154.273.102-.29c.274-.786.7-1.298 1.299-1.52.632-.24 1.23.085 1.52.307l.12.102.085-.136c.188-.308.547-.684 1.128-.718.649-.034 1.178.41 1.434.684l.103.085.102-.085c.29-.24 1.042-.786 1.794-.684.718.103.991.718 1.076.974l.052.17.153-.068c.342-.17.991-.392 1.606 0 .393.257.444.684.41.991v.188l.171-.034c.461-.068 1.316-.12 1.828.393.393.41.427.94.376 1.298v.188h.17c.41-.068.957-.034 1.248.427.205.308.12.752.051.974l-.034.137.136.034c.24.051.65.205.77.547.102.256.068.666-.07 1.161l-.033.12.12.051c.204.085.58.29.785.683.205.393.188.872-.017 1.453l-.034.085.068.068c.53.479 1.06.906 1.589 1.282 1.06.768 2.716 1.178 3.844.256.427-.342.615-.991.478-1.589-.137-.53-.478-.888-.957-1.008-.854-.188-1.52.615-2.067 1.435 0 .017-.05.034-.085.034-.034 0-.051-.017-.068-.051-.513-1.213-.53-2.204-.086-2.973.393-.649 1.128-1.11 2.033-1.264h.12v-.153c0-1.418.324-2.46 1.008-3.092.427-.376 1.195-.803 2.477-.615a.13.13 0 01.068.034v.068c-.94 2.29-.718 3.143-.205 5.023.051.17.085.341.137.512.478 1.777.341 3.297-.428 4.527m19.56-2.306c.12.085.223.17.308.29a.79.79 0 01.12.444.734.734 0 01-.12.427c-.085.12-.205.206-.307.308-.171.137-.342.256-.342.478v1.35H55.127v-1.35c0-.222-.153-.358-.341-.478a1.055 1.055 0 01-.308-.308.648.648 0 01-.12-.444c0-.17.035-.307.12-.444.086-.12.188-.205.308-.29.17-.137.341-.256.341-.496V14.35c0-.222-.153-.342-.341-.479a1.242 1.242 0 01-.308-.29.648.648 0 01-.12-.444c0-.154.035-.308.12-.444.086-.12.205-.222.308-.29.17-.137.341-.257.341-.479V10.54h.205c.94 0 1.743-.017 2.324-.273.239-.085.444-.24.683-.376.478-.307 1.042-.65 1.862-.65.666 0 1.281.257 1.828.48.393.153.752.29 1.025.29h.103c.273 0 .632-.154 1.025-.29.546-.223 1.161-.48 1.828-.48.837 0 1.383.343 1.879.65.222.137.444.273.683.376.564.24 1.384.273 2.323.273h.205v1.384c0 .222.154.342.342.478.103.086.222.171.308.29.085.137.119.274.119.445 0 .17-.034.307-.12.444-.085.12-.204.205-.307.29-.17.137-.342.257-.342.479v4.407c0 .222.154.36.342.496" }), hAsync("path", { fill: "#011F5B", d: "M26.82 18.382c.257 0 .496.068.735.256.086.068.154.136.222.188a.374.374 0 01-.017.564c-.17.153-.376.29-.512.375-.29.205-.803.564-1.145.29-.17-.153.17-.392.017-.99-.12-.478.342-.683.718-.683" }), hAsync("path", { fill: "#011F5B", d: "M46.706 24.378c-2.495 0-4.818-1.077-7.192-2.307-.257-.136-.564-.29-.872-.46-1.896-1.043-4.749-2.598-6.628-1.624 0 .24-.051.479-.137.684-.29.785-1.23 1.605-1.69 1.93-1.043.752-2.324 1.503-3.93 1.503-.24 0-.478-.034-.683-.102a1.64 1.64 0 01-.77-.547 2.354 2.354 0 01-.238-.41 1.784 1.784 0 01-.103-.376c-.666-.205-1.076-.649-1.076-1.195 0-.41.29-.752.564-1.077.444-.53.649-.803.188-1.23-.052-.051-.103-.085-.171-.136-.086-.069-.171-.12-.256-.223-.547-.597-.24-1.759-.069-2.46v-.068c.222-.734.513-1.503.94-2.34.564-1.128 1.247-2.409 2.22-3.212.052-.034.12-.068.188-.051.069 0 .12.051.154.102.034.052.427.65.837 1.435 1.692-1.008 4.1-1.127 4.374-1.127 1.486-.051 3.638.17 5.483 1.589 1.145.888 2.085 1.964 2.99 3.023.24.274.478.564.734.838 1.401 1.571 2.734 2.818 4.066 3.792 1.008.735 2.597 1.145 3.673.256.393-.324.564-.905.427-1.435-.12-.478-.427-.803-.854-.905-.769-.171-1.4.598-1.913 1.366-.051.069-.137.12-.222.103-.086 0-.154-.068-.188-.137-.53-1.247-.547-2.289-.069-3.092.41-.683 1.196-1.178 2.136-1.315 0-1.47.342-2.546 1.06-3.195.443-.393 1.246-.837 2.596-.666.068 0 .136.051.17.12.035.068.052.136 0 .205-.939 2.237-.7 3.075-.204 4.92.05.17.085.341.153.53.496 1.81.342 3.382-.444 4.629-1.264 2.033-3.707 2.528-3.81 2.545-.495.085-.973.12-1.452.12M33.398 19.2c1.793 0 3.843 1.128 5.45 2 .307.17.597.324.87.46 2.734 1.418 5.433 2.648 8.337 2.136.017 0 2.358-.479 3.502-2.34.718-1.145.837-2.58.393-4.271a7.72 7.72 0 01-.137-.513c-.478-1.76-.751-2.75.103-4.937-.99-.068-1.589.273-1.93.564-.65.58-.957 1.606-.906 3.058a.24.24 0 01-.205.239c-.888.102-1.64.512-2.016 1.127-.358.598-.376 1.367-.05 2.29.443-.598 1.195-1.418 2.152-1.213.598.136 1.042.598 1.195 1.23.171.717-.05 1.486-.58 1.913-1.265 1.025-3.075.598-4.237-.24-1.367-.99-2.716-2.254-4.134-3.86l-.735-.837c-.905-1.025-1.828-2.101-2.921-2.956-1.725-1.332-3.775-1.554-5.176-1.503-.957.034-2.887.308-4.186 1.094.41.82.752 1.776.752 2.494 0 .136-.017.256-.068.393.94-.547 2.067-.154 2.682.53.136.153.29.375.444.631.24.359.53.786.854 1.11.051.052.068.12.068.188a.188.188 0 01-.102.171s-.598.428-1.435 1.043c-.12.085-.24.17-.342.239-.017 0-.034.034-.051.05l.735.12c.512-.273 1.059-.393 1.657-.393m-6.475-7.926c-.803.752-1.4 1.88-1.913 2.887-.41.803-.7 1.537-.888 2.255v.068c-.154.53-.445 1.623-.069 2.016.051.051.12.103.188.154.068.051.137.102.205.17.786.752.24 1.402-.154 1.863-.239.273-.461.53-.461.786 0 .546.666.751.871.785.103.018.171.103.171.205 0 .171.034.274.085.41.052.12.103.205.171.308.137.17.325.307.547.393.154.068.342.085.547.085 1.486 0 2.682-.734 3.673-1.435.58-.41 1.315-1.161 1.537-1.708.051-.154.085-.308.103-.478l-1.042-.171h-.018a.3.3 0 01-.205-.222c-.034-.205.154-.325.53-.581.103-.069.222-.154.325-.24.546-.41.99-.717 1.23-.888a7.525 7.525 0 01-.735-1.008c-.154-.222-.29-.444-.41-.563-.512-.547-1.418-.871-2.152-.427-.29.188-.547.41-.838.666-.222.188-.444.41-.7.58-.103.069-.24.052-.308-.05-.085-.086-.068-.223 0-.308a.742.742 0 01.12-.103c.325-.324 1.11-1.042 1.11-1.571 0-1.213-1.161-3.195-1.571-3.861" }), hAsync("path", { fill: "#011F5B", d: "M25.386 22.789c-.223 0-.445 0-.667-.034-.12-.017-.222-.12-.205-.256 0-.12.12-.205.257-.205 1.042.136 2.58 0 3.895-1.384a.237.237 0 01.324 0 .238.238 0 010 .324C28 22.26 26.752 22.79 25.37 22.79M43.802 19.338s-.052 0-.086-.017c-.12-.051-.154-.17-.12-.29.24-.547.274-1.008.103-1.35-.239-.461-.786-.615-.803-.615-.051 0-.12-.051-.136-.102-.035-.052-.035-.12 0-.188.085-.205.256-.837.153-1.162-.102-.273-.615-.376-.785-.41-.069 0-.137-.051-.171-.103-.035-.068-.035-.136 0-.187.068-.171.222-.684.034-.957-.342-.53-1.23-.273-1.23-.273-.086.017-.171 0-.222-.052-.052-.05-.069-.153-.052-.222 0 0 .257-.803-.239-1.332-.58-.598-1.845-.24-1.862-.24a.196.196 0 01-.205-.068c-.051-.051-.068-.136-.051-.222 0-.034.222-.7-.24-.973-.717-.445-1.537.119-1.537.136a.181.181 0 01-.205.017c-.068-.034-.12-.102-.12-.17 0-.035-.119-.906-.887-1.009-.838-.12-1.709.735-1.726.752a.26.26 0 01-.17.069.18.18 0 01-.154-.086s-.599-.769-1.333-.735c-.717.035-.99.752-.99.77a.242.242 0 01-.155.136c-.068 0-.136 0-.188-.051 0 0-.717-.684-1.434-.41-.906.341-1.162 1.452-1.248 1.81a.206.206 0 01-.256.171c-.12-.017-.188-.136-.17-.256.102-.427.392-1.708 1.52-2.118.7-.257 1.332.085 1.657.324.188-.307.564-.751 1.247-.786.7-.034 1.281.462 1.537.718.342-.273 1.11-.837 1.914-.718.7.103 1.042.65 1.178 1.077.376-.188 1.077-.41 1.76 0 .461.307.512.803.478 1.127.496-.085 1.401-.136 1.948.427.444.462.461 1.06.41 1.418.393-.051 1.042-.017 1.384.513.222.358.153.803.068 1.093.29.068.735.24.871.632.137.376 0 .94-.085 1.247.239.103.632.325.854.752.24.478.205 1.042-.086 1.725-.034.086-.12.12-.205.12" }), hAsync("path", { fill: "#011F5B", d: "M42.725 22.31h-.017c-.12 0-.205-.119-.188-.239.103-.82-.393-.973-.803-1.093-.102-.034-.204-.068-.29-.12-.222-.136-.24-.41-.24-.683 0-.307-.016-.649-.255-.905-.41-.444-1.196-.154-1.196-.154-.069.034-.154 0-.205-.034-.069-.051-.086-.12-.086-.188 0 0 .12-.871-.375-1.298-.428-.36-1.23-.274-1.504-.205-.068 0-.136 0-.188-.052-.05-.034-.068-.102-.068-.17.034-.53-.17-1.008-.58-1.265a1.06 1.06 0 00-1.094-.085c-.906.478-1.264.512-2.204-.154-.29-.205-.598-.273-.871-.205-.359.086-.683.41-.94.906-.051.102-.17.153-.29.102a.22.22 0 01-.103-.29c.308-.598.735-1.008 1.213-1.128.41-.102.837 0 1.23.274.803.563.974.546 1.743.12.478-.257 1.059-.223 1.537.084.462.308.752.82.786 1.401.393-.05 1.128-.068 1.606.342.461.393.547 1.008.547 1.367.358-.069.956-.086 1.366.358.325.376.359.838.359 1.196 0 .12 0 .29.034.342.034.017.12.051.205.068.41.12 1.247.393 1.11 1.572 0 .102-.102.188-.204.188M21.405 19.202c-.17-.137-.273-.222-.273-.36v-4.406c0-.137.102-.24.273-.376.12-.086.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.086-.137-.222-.24-.342-.342-.17-.136-.273-.222-.273-.376v-1.537h-.359c-.82 0-1.691 0-2.255-.256-.222-.086-.444-.222-.666-.359-.495-.325-1.076-.683-1.948-.683-.7 0-1.332.256-1.879.478-.376.154-.717.29-.973.29h-.103c-.24 0-.598-.136-.974-.29-.546-.222-1.178-.478-1.879-.478-.871 0-1.452.358-1.947.683-.222.137-.427.273-.65.359-.563.239-1.452.256-2.272.256h-.341v1.537c0 .154-.103.24-.274.376-.12.086-.239.188-.341.342a.959.959 0 000 1.042c.085.137.222.24.341.325.171.136.274.222.274.375v4.408c0 .137-.103.222-.274.359a1.52 1.52 0 00-.341.324.959.959 0 000 1.042c.085.137.222.24.341.325.171.137.274.222.274.376v1.469h16.246v-1.47c0-.136.102-.238.273-.375.12-.085.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.086-.136-.222-.239-.342-.324zm-7.192-9.089c.513-.205 1.094-.444 1.691-.444.718 0 1.196.29 1.675.598.222.137.46.29.734.41a4.5 4.5 0 00.684.205v9.362c-.376-.069-.803-.069-1.248-.069-.666 0-1.366 0-2.032-.205-.223-.068-.462-.136-.684-.222-.683-.222-1.298-.41-1.725-.444h-.017v-8.883c.29-.051.598-.17.94-.308m-6.527.564a6.17 6.17 0 00.735-.41c.495-.307.957-.598 1.674-.598.598 0 1.179.24 1.691.444.36.137.684.274.974.308v8.866h-.051c-.427.034-1.042.24-1.726.444-.222.069-.46.154-.683.222-.666.205-1.366.205-2.033.205-.444 0-.854 0-1.247.069v-9.345a3.15 3.15 0 00.684-.205m13.752 9.396a.445.445 0 01-.069.256c-.051.086-.154.154-.239.222-.205.171-.444.359-.444.735v.974H5.33v-.974c0-.376-.256-.564-.444-.735a1.02 1.02 0 01-.24-.222c-.05-.085-.085-.17-.068-.256 0-.12.017-.188.069-.273.05-.086.153-.154.239-.223.205-.153.444-.358.444-.717v-4.407c0-.376-.256-.564-.444-.718-.103-.085-.188-.154-.24-.24-.05-.084-.085-.17-.068-.255 0-.103.017-.205.069-.274.05-.085.153-.153.239-.222.205-.153.444-.358.444-.734v-1.025h.034c.41 0 .786 0 1.162-.034v10.147h5.586a.923.923 0 00.905.683c.444 0 .803-.29.906-.683h5.586V10.933c.359.035.752.035 1.145.035h.034v1.025c0 .375.239.563.444.734.102.069.188.154.239.222.051.069.085.171.068.257 0 .119-.017.187-.068.273-.051.085-.154.154-.24.239-.204.154-.443.359-.443.717v4.408c0 .359.239.564.444.717.102.086.188.154.239.223.051.085.085.17.068.256l.035.034zM71.51 19.202c-.188-.137-.273-.222-.273-.36v-4.406c0-.137.103-.24.273-.376.12-.086.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.085-.137-.222-.24-.342-.342-.188-.136-.273-.222-.273-.376v-1.537h-.359c-.82 0-1.69 0-2.255-.256a4.235 4.235 0 01-.666-.359c-.495-.325-1.076-.683-1.947-.683-.684 0-1.333.256-1.88.478-.375.154-.734.29-.973.29h-.103c-.239 0-.598-.136-.974-.29-.563-.222-1.195-.478-1.879-.478-.87 0-1.452.358-1.947.683-.222.137-.427.273-.65.359-.563.239-1.451.256-2.271.256h-.342v1.537c0 .154-.103.24-.273.376-.12.086-.24.188-.342.342a.959.959 0 000 1.042c.085.137.222.24.342.325.17.136.273.222.273.375v4.408c0 .137-.103.222-.273.359a1.52 1.52 0 00-.342.324.959.959 0 000 1.042c.085.137.222.24.342.325.17.137.273.222.273.376v1.469h16.246v-1.47c0-.136.103-.238.273-.375.12-.085.24-.188.342-.325a.959.959 0 00.154-.53.904.904 0 00-.154-.512c-.085-.136-.222-.239-.342-.324m-7.192-9.089c.513-.205 1.094-.444 1.692-.444.734 0 1.178.29 1.674.598.222.137.461.29.717.41.222.086.444.154.684.205v9.362c-.376-.069-.803-.069-1.247-.069-.667 0-1.367 0-2.033-.205-.223-.068-.462-.136-.684-.222-.683-.222-1.298-.41-1.725-.444h-.017v-8.883c.29-.051.598-.17.94-.308m-6.526.564c.256-.12.495-.256.717-.41.495-.307.957-.598 1.674-.598.598 0 1.179.24 1.692.444.358.137.683.274.973.308v8.866h-.051c-.427.034-1.025.24-1.725.444-.223.069-.462.154-.684.222-.666.205-1.366.205-2.033.205-.444 0-.854 0-1.247.069v-9.345a3.15 3.15 0 00.684-.205m13.752 9.396a.446.446 0 01-.069.256c-.051.086-.153.154-.239.222-.205.171-.444.359-.444.735v.974h-15.34v-.974c0-.376-.257-.564-.445-.735a1.02 1.02 0 01-.24-.222c-.05-.085-.085-.17-.068-.256 0-.12.018-.188.069-.273.051-.086.154-.154.239-.223.205-.153.444-.358.444-.717v-4.407c0-.376-.256-.564-.444-.718-.102-.085-.188-.154-.24-.24-.05-.084-.085-.17-.068-.255 0-.103.018-.205.069-.274.051-.085.154-.153.239-.222.205-.153.444-.358.444-.734v-1.025h.034c.41 0 .786 0 1.162-.034v10.147h5.586a.923.923 0 00.906.683c.444 0 .785-.29.905-.683h5.586V10.933c.376.035.752.035 1.162.035h.034v1.025c0 .375.256.563.444.734.103.069.188.154.24.222.05.069.085.171.068.257 0 .119-.017.187-.069.273-.05.085-.153.154-.239.239-.205.154-.444.359-.444.717v4.408c0 .359.256.564.444.717.103.086.188.154.24.223.05.085.085.17.068.256l-.034.034z" }), hAsync("path", { fill: "#011F5B", d: "M74.654 4.886H1.452v36.49c-.051 15.99 8.85 27.606 16.315 34.542 8.148 7.551 17.322 12.061 20.21 12.676h.153c2.887-.632 12.06-5.125 20.21-12.676 7.482-6.936 16.365-18.552 16.331-34.542V4.886h-.017zm-1.008 21.986H2.46V5.894h71.186v20.978zM16.588 62.457a6.28 6.28 0 010-8.867 6.279 6.279 0 018.866 0 6.28 6.28 0 010 8.867 6.28 6.28 0 01-8.866 0zm41.051 12.727c-8.473 7.858-17.237 11.804-19.595 12.402-2.357-.598-11.12-4.561-19.594-12.402-.205-.188-.41-.393-.615-.581l20.21-21.457 20.209 21.457c-.205.188-.41.393-.615.58zM31.775 42.469c0-3.45 2.802-6.27 6.27-6.27a6.263 6.263 0 016.269 6.27 6.263 6.263 0 01-6.27 6.27 6.274 6.274 0 01-6.27-6.27zm27.743 19.988a6.28 6.28 0 01-8.866 0 6.28 6.28 0 010-8.867 6.279 6.279 0 018.866 0 6.28 6.28 0 010 8.867zm10.062-3.178L38.045 28.871 6.508 59.279C4.066 54.12 2.426 48.158 2.46 41.376V27.88h71.186v13.496c.017 6.765-1.606 12.744-4.066 17.903M88.799 81.3c0 3.604.973 6.371 4.817 6.371 3.536 0 5.398-2.374 5.398-6.491v-7.175c0-.53-.102-.974-.153-1.384-.12-.922-1.008-1.298-2.221-1.418v-.666h6.082v.666c-1.23.12-2.085.495-2.221 1.418-.051.41-.137.854-.137 1.384v7.277c0 5.552-3.536 7.602-6.867 7.602-5.484 0-7.192-2.784-7.192-7.448v-7.688c0-2.391.102-2.272-2.221-2.545v-.666h6.935v.666c-2.323.273-2.22.154-2.22 2.546v7.55zM117.31 88.577c-3.16-3.742-6.44-7.654-9.686-11.48v8.798c0 .41.086.751.12 1.059.102.717.769 1.008 2.084 1.093v.513h-4.869v-.513c.957-.085 1.606-.376 1.709-1.093.034-.325.119-.65.119-1.06v-9.361c-.564-.718-1.179-1.35-2.306-1.35v-.512h3.622c2.955 3.604 6.047 7.26 9.002 10.865h.035V77.37c0-.427-.086-.769-.12-1.076-.102-.718-.786-.991-2.084-1.093v-.513h4.869v.513c-.94.102-1.623.375-1.709 1.093-.034.307-.119.649-.119 1.076v11.224h-.684l.017-.017zM127.117 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.086-1.743-1.708-1.965v-.53h5.347v.53c-1.794.205-1.708.12-1.708 1.965v8.951zM137.503 75.166c-1.093 0-1.879.308-1.23 2.221a1204.83 1204.83 0 002.973 8.798c1.281-3.04 2.494-6.116 3.724-9.14.495-1.264-.017-1.879-1.367-1.879v-.512h4.288v.512c-.581 0-1.23.188-1.64 1.196-1.674 4.083-3.348 8.132-5.022 12.198h-1.025c-1.213-3.434-2.563-7.278-3.776-10.643-.734-2.136-1.349-2.75-2.306-2.75v-.513h5.398v.512h-.017zM148.932 88.047c1.793-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.085-1.76-1.708-1.965v-.512h8.9v3.194h-.512c-.205-1.486-.598-2.562-2.033-2.562h-2.7v5.689h1.675c1.247 0 1.793-.496 1.828-1.726h.512v4.237h-.512c-.035-1.162-.496-1.862-1.828-1.862h-1.675v4.493c0 1.69.786 1.828 2.563 1.828 2.887 0 2.75-.82 3.656-2.939h.512l-.598 3.57h-9.788v-.529zM162.735 74.654h5.791c1.999 0 4.015 1.059 4.015 3.382 0 2.05-1.247 3.451-2.785 4.049l1.948 2.955c.991 1.453 2.101 2.853 2.819 3.263v.257h-2.05c-1.179 0-1.811-2.17-4.22-6.168h-1.879v3.69c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.069-1.76-1.708-1.965v-.512zm3.639 7.124h1.64c1.725 0 2.528-1.299 2.528-3.554s-1.196-2.921-2.648-2.921h-1.537v6.475h.017zM184.568 77.61c-.171-1.384-.923-2.512-2.512-2.512-1.144 0-2.186.598-2.186 2.067 0 1.47 1.383 2.221 3.382 3.724 2.101 1.572 2.785 2.597 2.785 4.237 0 2.358-2.426 3.673-4.818 3.673a9.267 9.267 0 01-3.399-.632c-.086-.034-.137-.12-.137-.273v-2.87h.513c.205 2.203 1.657 3.092 3.211 3.092 1.401 0 2.563-1.077 2.563-2.529 0-1.281-.701-2.34-3.673-4.322-1.076-.717-2.409-1.486-2.409-3.656 0-1.793 1.999-3.211 4.271-3.211.854 0 1.999.102 2.784.376.12.034.137.12.137.204v2.614h-.512v.017zM193.81 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.069-1.743-1.708-1.965v-.53h5.347v.53c-1.794.205-1.708.12-1.708 1.965v8.951zM205.7 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965V75.286h-1.793c-1.726 0-2.119 1.093-2.785 2.409h-.495l.546-3.041h11.002l.529 3.04h-.512c-.649-1.315-1.042-2.408-2.785-2.408H205.7v10.796zM216.53 88.047c1.794-.222 1.708-.12 1.708-1.965v-3.057l-3.057-6.065c-.65-1.298-1.213-1.794-2.136-1.794v-.512h5.074v.512c-1.503 0-1.384.752-.871 1.794l2.408 4.988 2.734-4.988c.683-1.213.034-1.794-1.145-1.794v-.512h4.1v.512c-.547 0-1.093.257-1.623 1.213l-3.331 6.03c-.205.393-.222.957-.222 1.453v2.22c0 1.846-.086 1.743 1.708 1.965v.513h-5.364v-.513h.017zM235.527 83.81c0-3.382 2.921-8.438 7.209-8.438 3.434 0 4.186 2.323 4.186 4.646 0 2.836-2.272 8.866-7.192 8.866-3.297 0-4.203-2.647-4.203-5.073m9.02-5.023c0-2.682-1.623-2.784-2.033-2.784-2.784 0-4.612 5.005-4.612 8.353 0 1.333.222 3.759 2.135 3.759 2.938 0 4.51-4.835 4.51-9.328zM258.914 76.225l-.615.547h-3.383c-1.264 6.15-3.331 14.316-4.8 18.228h-1.162l3.69-18.228h-2.443l.24-1.076h2.425c1.367-5.484 5.911-6.065 6.987-6.065.598 0 1.828.103 2.221.462l-.324 1.708-.649.307c-.359-.7-1.179-1.503-2.255-1.503-1.555 0-2.717 1.06-3.332 3.844l-.29 1.23h3.792l-.102.546zM274.391 85.348c0 2.392-.102 2.272 2.221 2.546v.666h-6.935v-.666c2.323-.291 2.22-.154 2.22-2.546v-11.6c0-2.391.103-2.272-2.22-2.545v-.666h6.747c4.288 0 6.39 1.691 6.39 4.783 0 3.707-3.349 5.723-7.295 5.484v-.513c3.212.052 4.715-1.879 4.715-4.715 0-2.835-1.384-4.22-4.271-4.22h-1.572v13.992zM286.384 88.047c1.776-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.068-1.76-1.708-1.965v-.512h8.883v3.194h-.513c-.205-1.486-.598-2.562-2.033-2.562h-2.699v5.689h1.674c1.248 0 1.794-.496 1.828-1.726h.513v4.237h-.513c-.034-1.162-.495-1.862-1.828-1.862h-1.674v4.493c0 1.69.769 1.828 2.563 1.828 2.87 0 2.733-.82 3.656-2.939h.512l-.598 3.57h-9.789v-.512l.018-.017zM312.231 88.577c-3.161-3.742-6.441-7.654-9.687-11.48v8.798c0 .41.086.751.12 1.059.103.717.769 1.008 2.084 1.093v.513h-4.869v-.513c.957-.085 1.606-.376 1.709-1.093.051-.325.119-.65.119-1.06v-9.361c-.563-.718-1.178-1.35-2.306-1.35v-.512h3.622c2.955 3.604 6.047 7.26 9.003 10.865h.034V77.37c0-.427-.068-.769-.12-1.076-.102-.718-.769-.991-2.101-1.093v-.513h4.886v.513c-.94.102-1.606.375-1.726 1.093-.034.307-.119.649-.119 1.076v11.224h-.666l.017-.017zM330.373 88.577c-3.16-3.742-6.44-7.654-9.686-11.48v8.798c0 .41.068.751.119 1.059.103.717.786 1.008 2.084 1.093v.513h-4.868v-.513c.956-.085 1.606-.376 1.708-1.093.034-.325.12-.65.12-1.06v-9.361c-.547-.718-1.179-1.35-2.307-1.35v-.512h3.622c2.973 3.604 6.048 7.26 9.02 10.865h.034V77.37c0-.427-.068-.769-.102-1.076-.103-.718-.786-.991-2.102-1.093v-.513h4.869v.513c-.939.102-1.606.375-1.708 1.093-.051.307-.137.649-.137 1.076v11.224h-.666v-.017zM343.322 77.61c-.154-1.384-.922-2.512-2.511-2.512-1.145 0-2.187.598-2.187 2.067 0 1.47 1.401 2.221 3.383 3.724 2.101 1.572 2.784 2.597 2.784 4.237 0 2.358-2.409 3.673-4.817 3.673a9.34 9.34 0 01-3.4-.632c-.068-.034-.136-.12-.136-.273v-2.87h.512c.222 2.203 1.674 3.092 3.212 3.092 1.4 0 2.562-1.077 2.562-2.529 0-1.281-.683-2.34-3.673-4.322-1.076-.717-2.409-1.486-2.409-3.656 0-1.793 1.982-3.211 4.288-3.211.855 0 1.982.102 2.768.376.119.034.137.12.137.204v2.614h-.513v.017zM351.334 88.047c1.794-.222 1.708-.12 1.708-1.965v-3.057l-3.057-6.065c-.65-1.298-1.213-1.794-2.119-1.794v-.512h5.057v.512c-1.503 0-1.367.752-.871 1.794l2.408 4.988 2.734-4.988c.683-1.213.051-1.794-1.128-1.794v-.512h4.1v.512c-.547 0-1.093.257-1.623 1.213l-3.314 6.03c-.188.393-.239.957-.239 1.453v2.22c0 1.846-.085 1.743 1.708 1.965v.513h-5.347v-.513h-.017zM363.6 88.047c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.069-1.76-1.708-1.965v-.512h5.347v.512c-1.794.205-1.708.12-1.708 1.965v9.276c0 1.384.769 1.538 2.545 1.538 2.887 0 2.768-.82 3.673-2.939h.496l-.598 3.57h-9.772v-.512l.017-.017zM379.761 75.166c-1.094 0-1.897.308-1.23 2.221.785 2.358 1.93 5.757 2.972 8.798 1.264-3.04 2.477-6.116 3.707-9.14.496-1.264 0-1.879-1.366-1.879v-.512h4.287v.512c-.58 0-1.23.188-1.64 1.196a2610.34 2610.34 0 01-5.039 12.198h-1.008c-1.213-3.434-2.563-7.278-3.775-10.643-.735-2.136-1.35-2.75-2.307-2.75v-.513h5.416v.512h-.017zM391.77 83.964l-.922 2.665c-.256.77.119 1.435.991 1.435v.513h-3.622v-.513c.547 0 1.128-.341 1.435-.99.854-1.76 3.178-8.252 4.835-12.66h1.11c1.35 3.998 3.382 10.131 4.066 11.89.444 1.111.751 1.743 1.606 1.743v.513h-4.63v-.513c1.247 0 1.367-.649 1.042-1.52l-.854-2.58h-5.057v.017zm4.818-.751l-2.118-6.458h-.035l-2.374 6.458h4.527zM416.268 88.577c-3.178-3.742-6.441-7.654-9.687-11.48v8.798c0 .41.069.751.12 1.059.102.717.786 1.008 2.084 1.093v.513h-4.869v-.513c.957-.085 1.606-.376 1.709-1.093.051-.325.119-.65.119-1.06v-9.361c-.546-.718-1.161-1.35-2.306-1.35v-.512h3.622c2.955 3.604 6.047 7.26 9.003 10.865h.034V77.37c0-.427-.069-.769-.12-1.076-.102-.718-.786-.991-2.084-1.093v-.513h4.869v.513c-.94.102-1.606.375-1.709 1.093-.034.307-.119.649-.119 1.076v11.224h-.666v-.017zM425.664 86.082c0 1.846-.086 1.743 1.708 1.965v.513h-5.347v-.513c1.794-.222 1.708-.12 1.708-1.965v-8.951c0-1.845.086-1.743-1.708-1.965v-.53h5.347v.53c-1.794.205-1.708.12-1.708 1.965v8.951zM433.983 83.964l-.922 2.665c-.257.77.119 1.435 1.007 1.435v.513h-3.621v-.513c.546 0 1.11-.341 1.435-.99.854-1.76 3.177-8.252 4.834-12.66h1.111c1.349 3.998 3.382 10.131 4.066 11.89.444 1.111.751 1.743 1.605 1.743v.513h-4.629v-.513c1.247 0 1.366-.649 1.059-1.52l-.854-2.58h-5.057l-.034.017zm4.8-.751l-2.101-6.458h-.034l-2.375 6.458h4.51zM101.116 6.201h-5.689v20.654c1.537.53 3.434.786 5.689.786 3.451 0 6.184-.888 8.183-2.665 1.998-1.777 3.006-4.22 3.006-7.295 0-3.314-.991-6.064-2.989-8.217-1.999-2.152-4.715-3.245-8.2-3.245m-17.032-1.76h16.81c5.5 0 9.84 1.213 13.051 3.656 3.212 2.443 4.818 5.569 4.818 9.43 0 3.86-1.401 6.765-4.203 8.815-2.801 2.05-6.816 3.075-12.061 3.075-2.015 0-4.373-.154-7.072-.479v12.898c0 2.785.376 4.698 1.11 5.74.752 1.042 2.119 1.572 4.1 1.572v1.332h-16.57v-1.332c1.981 0 3.348-.547 4.1-1.657.751-1.093 1.11-2.938 1.11-5.501V13.12c0-2.75-.376-4.664-1.11-5.74-.752-1.076-2.119-1.606-4.1-1.606V4.442l.017.017zM119.6 31.758h15.511v-.547c0-2.545-.717-4.561-2.169-6.047-1.452-1.487-3.263-2.238-5.433-2.238-2.306 0-4.151.785-5.552 2.357-1.4 1.572-2.186 3.724-2.34 6.475m21.388 11.428v2.084c-1.725 2.204-3.485 3.776-5.279 4.715-1.793.94-3.946 1.418-6.457 1.418-4.442 0-8.115-1.4-11.019-4.185-2.887-2.785-4.339-6.32-4.339-10.626 0-4.305 1.384-7.96 4.134-10.916 2.768-2.955 6.15-4.442 10.148-4.442 3.297 0 6.167 1.11 8.627 3.332 2.46 2.22 3.69 4.885 3.69 7.978v.58h-20.927v.393c0 3.144.478 5.86 1.435 8.183.956 2.323 2.357 4.134 4.185 5.433 1.828 1.315 3.741 1.964 5.74 1.964 1.862 0 3.451-.393 4.766-1.162 1.316-.768 3.075-2.357 5.279-4.766" }), hAsync("path", { fill: "#011F5B", d: "M151.118 21.234v5.69c3.332-3.793 6.748-5.69 10.284-5.69 2.751 0 5.04.94 6.868 2.82 1.828 1.878 2.75 4.338 2.75 7.413v12.847c0 1.964.325 3.263.991 3.895.649.632 1.931.94 3.844.94v1.332h-15.187v-1.333c1.879 0 3.177-.239 3.861-.734.683-.496 1.042-1.418 1.042-2.819V30.7c0-2-.598-3.57-1.777-4.767-1.196-1.178-2.716-1.776-4.578-1.776-2.665 0-5.364 1.862-8.081 5.569v13.923c0 2.357.308 3.86.923 4.51.615.649 1.896.956 3.827.956v1.333h-15v-1.333c2.17 0 3.503-.341 3.998-1.042.495-.7.752-2.17.752-4.424V27.589c0-1.708-.308-2.818-.906-3.365-.598-.53-1.879-.803-3.844-.803v-1.332l8.867-.872h1.366v.017z" }), hAsync("path", { fill: "#011F5B", d: "M185.695 21.234v5.69c3.331-3.793 6.748-5.69 10.284-5.69 2.751 0 5.04.94 6.868 2.82 1.828 1.878 2.75 4.338 2.75 7.413v12.847c0 1.964.325 3.263.991 3.895.649.632 1.93.94 3.844.94v1.332h-15.187v-1.333c1.879 0 3.177-.239 3.86-.734.684-.496 1.042-1.418 1.042-2.819V30.7c0-2-.597-3.57-1.776-4.767-1.196-1.178-2.716-1.776-4.578-1.776-2.665 0-5.365 1.862-8.081 5.569v13.923c0 2.357.308 3.86.923 4.51.615.649 1.896.956 3.826.956v1.333h-14.999v-1.333c2.17 0 3.502-.341 3.998-1.042.495-.7.751-2.17.751-4.424V27.589c0-1.708-.307-2.818-.905-3.365-.598-.53-1.879-.803-3.844-.803v-1.332l8.866-.872h1.367v.017zM251.466 40.436h1.366l-2.818 10.045H216.65V49.15c1.879 0 3.229-.598 4.032-1.777.802-1.179 1.195-3.16 1.195-5.928v-28.99c0-2.494-.375-4.22-1.11-5.21-.752-.974-2.118-1.47-4.1-1.47V4.442h16.485v1.332c-1.828 0-3.143.564-3.946 1.692-.803 1.127-1.196 2.99-1.196 5.569v30.767c0 1.708.359 2.87 1.077 3.502.717.632 2.101.94 4.134.94h9.139c2.819 0 4.801-.496 5.928-1.47 1.128-.974 2.187-3.092 3.178-6.338zM261.203 6.509c.974 0 1.777.341 2.46 1.008.683.666 1.008 1.486 1.008 2.46 0 .973-.342 1.793-1.025 2.494-.683.7-1.486 1.042-2.426 1.042a3.474 3.474 0 01-2.511-1.042c-.7-.7-1.059-1.52-1.059-2.494 0-.974.341-1.794 1.042-2.46a3.534 3.534 0 012.528-1.008m1.247 14.726h1.367v23.984c0 1.572.342 2.631 1.025 3.144.683.53 1.93.786 3.724.786v1.332h-15.58V49.15c2.272 0 3.741-.257 4.391-.77.649-.512.973-1.57.973-3.177V27.675c0-1.726-.307-2.87-.905-3.434-.598-.546-2.101-.82-4.476-.82V22.09l9.464-.871.017.017zM276.851 27.555v16.246c0 2.119.359 3.57 1.076 4.357.718.785 1.965 1.178 3.759 1.178 3.707 0 6.628-1.195 8.781-3.57 2.152-2.374 3.228-5.723 3.228-10.01 0-3.588-.939-6.51-2.801-8.799-1.862-2.272-4.1-3.416-6.697-3.416-2.733 0-5.176 1.332-7.363 3.997M275.467-.017h1.367V25.47c1.213-1.315 2.665-2.34 4.39-3.109 1.726-.752 3.451-1.145 5.211-1.145 3.69 0 6.816 1.35 9.379 4.015 2.562 2.682 3.826 5.98 3.826 9.874 0 4.578-1.725 8.337-5.159 11.275-3.451 2.938-8.2 4.39-14.247 4.39-2.358 0-5.313-.29-8.849-.87V7.225c0-2.22-.274-3.604-.838-4.117-.563-.53-1.964-.786-4.219-.786V.991L275.467 0v-.017z" }), hAsync("path", { fill: "#011F5B", d: "M310.198 21.234v6.167c2.614-2.272 4.646-3.878 6.099-4.783 1.452-.922 2.665-1.366 3.621-1.366 1.811 0 3.553.751 5.228 2.237l-2.153 5.057c-3.041-1.674-5.296-2.511-6.748-2.511-1.623 0-3.638 1.144-6.047 3.45v15.649c0 1.572.324 2.63.991 3.194.649.547 1.913.82 3.775.82v1.333h-15.033v-1.333c1.981 0 3.297-.307 3.912-.94.615-.631.922-2.135.922-4.526V28.119c0-1.965-.341-3.246-1.008-3.827-.666-.58-2.289-.871-4.885-.871v-1.332l9.976-.872h1.367l-.017.017zM341.341 44.707v-9.652c-.803.341-1.982.769-3.537 1.298-2.853.974-4.68 1.93-5.483 2.887-.803.957-1.196 2.238-1.196 3.861 0 1.418.427 2.63 1.281 3.673.854 1.042 1.862 1.554 3.041 1.554 1.076 0 2.204-.341 3.382-1.042 1.179-.7 2.016-1.554 2.512-2.58zm-7.654 6.68c-2.221 0-4.134-.735-5.74-2.221-1.588-1.487-2.391-3.263-2.391-5.365 0-2.1.683-3.638 2.067-4.92 1.366-1.298 4.168-2.528 8.371-3.707 2.647-.734 4.424-1.366 5.347-1.879v-2.118c0-2.067-.581-3.741-1.726-5.006-1.144-1.264-2.699-1.896-4.629-1.896-1.76 0-3.315.547-4.664 1.64-1.367 1.094-2.323 2.597-2.87 4.476L326 29.998c.581-2.648 1.828-4.766 3.741-6.355 1.93-1.589 4.185-2.392 6.765-2.392 3.058 0 5.535.923 7.448 2.768 1.897 1.845 2.853 4.407 2.853 7.67v12.215c0 1.725.12 2.904.342 3.519.222.615.649.922 1.281.922.41 0 .752-.17 1.025-.53.256-.358.564-1.092.906-2.22h1.366c-.136 1.777-.683 3.195-1.674 4.237-.991 1.042-2.272 1.571-3.861 1.571-2.323 0-3.946-1.35-4.834-4.048-1.418 1.537-2.665 2.596-3.776 3.177-1.093.581-2.391.871-3.878.871M362.421 21.234v6.167c2.614-2.272 4.647-3.878 6.099-4.783 1.452-.922 2.665-1.366 3.622-1.366 1.811 0 3.553.751 5.227 2.237l-2.152 5.057c-3.041-1.674-5.296-2.511-6.748-2.511-1.623 0-3.639 1.144-6.048 3.45v15.649c0 1.572.325 2.63.991 3.194.649.547 1.914.82 3.776.82v1.333h-15.034v-1.333c1.982 0 3.297-.307 3.912-.94.615-.631.923-2.135.923-4.526V28.119c0-1.965-.342-3.246-1.008-3.827-.666-.58-2.289-.871-4.886-.871v-1.332l9.977-.872h1.366l-.017.017zM387.141 6.509c.974 0 1.777.341 2.46 1.008.683.666 1.008 1.486 1.008 2.46 0 .973-.342 1.793-1.025 2.494-.684.7-1.486 1.042-2.426 1.042-.94 0-1.811-.342-2.511-1.042-.701-.7-1.059-1.52-1.059-2.494 0-.974.341-1.794 1.042-2.46a3.534 3.534 0 012.528-1.008m1.247 14.726h1.367v23.984c0 1.572.341 2.631 1.025 3.144.683.53 1.93.786 3.724.786v1.332h-15.58V49.15c2.272 0 3.741-.257 4.39-.77.649-.512.974-1.57.974-3.177V27.675c0-1.726-.307-2.87-.905-3.434-.598-.546-2.102-.82-4.476-.82V22.09l9.464-.871.017.017zM399.988 31.758h15.511v-.547c0-2.545-.734-4.561-2.169-6.047-1.452-1.487-3.263-2.238-5.433-2.238-2.306 0-4.151.785-5.552 2.357-1.401 1.572-2.187 3.724-2.34 6.475m21.388 11.428v2.084c-1.726 2.204-3.485 3.776-5.279 4.715-1.794.94-3.946 1.418-6.457 1.418-4.459 0-8.115-1.4-11.019-4.185-2.887-2.785-4.339-6.32-4.339-10.626 0-4.305 1.384-7.96 4.134-10.916 2.767-2.955 6.15-4.442 10.147-4.442 3.298 0 6.167 1.11 8.627 3.332 2.46 2.22 3.69 4.885 3.69 7.978v.58H399.97v.393c0 3.144.479 5.86 1.435 8.183.957 2.323 2.341 4.134 4.186 5.433 1.828 1.315 3.741 1.964 5.74 1.964 1.862 0 3.451-.393 4.766-1.162 1.315-.768 3.075-2.357 5.279-4.766M442.678 21.234v8.747h-1.606c-.256-2.204-1.042-3.946-2.357-5.245-1.316-1.298-2.887-1.947-4.749-1.947-1.418 0-2.546.359-3.417 1.06-.854.7-1.298 1.64-1.298 2.818 0 1.179.393 2.17 1.196 3.04.802.872 2.528 1.931 5.193 3.161 3.451 1.572 5.74 3.075 6.85 4.51 1.111 1.435 1.674 3.16 1.674 5.176 0 2.375-.888 4.442-2.665 6.184-1.776 1.743-3.877 2.614-6.32 2.614-1.265 0-2.922-.461-4.989-1.366-1.127-.496-1.879-.752-2.238-.752-.495 0-.922.188-1.247.547-.341.358-.529.82-.598 1.366h-1.366v-9.703h1.366c.496 2.545 1.589 4.578 3.297 6.081 1.709 1.504 3.656 2.256 5.86 2.256 1.418 0 2.597-.479 3.553-1.418.957-.94 1.435-2.102 1.435-3.502 0-1.401-.444-2.495-1.315-3.485-.888-.991-2.785-2.119-5.723-3.4-3.297-1.452-5.467-2.785-6.509-4.049-1.042-1.264-1.571-2.767-1.571-4.561 0-2.22.854-4.151 2.579-5.757 1.709-1.606 3.741-2.409 6.099-2.409 1.093 0 2.289.256 3.57.786.923.359 1.657.547 2.238.547.769 0 1.316-.445 1.691-1.333h1.367v.034z" })), hAsync("defs", null, hAsync("clipPath", { id: "clip0_10377_15535" }, hAsync("path", { fill: "#fff", d: "M0 0H444.165V95H0z" })))));
|
|
3582
3711
|
};
|
|
3583
3712
|
|
|
3584
3713
|
const pennlibsHeaderCss = ":host{font-family:var(--pl-font-family);font-size:var(--pl-font-size);color:var(--pl-color-fg-default)}*,*:before,*:after{box-sizing:inherit}.viewport-margins{width:100%;max-width:var(--pl-viewport-margins-max-width);margin:0 auto;padding:0 var(--pl-viewport-margins-gutter, 1em)}a{color:var(--color-fg-menu)}*:focus{box-shadow:0 0 0 2px var(--pl-color-bg-accent), 0 0 0 4px var(--pl-color-bg-accent-emphasis);outline:none}.website-header{--color-fg-service:var(--pl-color-penn-blue);--color-fg-menu:var(--pl-color-fg-default);--color-bg-menu:var(--pl-color-bg-default)}.website-header--dark{--color-fg-service:var(--pl-color-fg-on-emphasis);--color-fg-menu:var(--pl-color-fg-on-emphasis);--color-bg-menu:var(--pl-color-penn-blue)}.website-header__logo-name-container{display:flex;align-items:stretch;margin-right:auto}@media (max-width: 620px){.website-header__logo-name-container{margin-right:6em;flex-direction:column;gap:0.5rem}}.website-header_logo-link{line-height:0}.website-header__logo{max-width:260px;margin-right:1em}@media (max-width: 1000px){.website-header__logo{max-width:200px}}@media (max-width: 620px){.website-header__logo{max-width:190px}}.website-header__service-link{display:flex;justify-content:center;flex-direction:column;text-decoration:none;line-height:1;color:var(--color-fg-service)}@media (min-width: 1001px){.website-header__service-link{padding-left:0.5em}}.website-header__hero .website-header__service-link{border-left:none}.website-header__service-link:hover .website-header__service-name{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:0.1em;text-decoration-color:var(--color-fg-service)}.website-header__service-name{font-size:1.5em;font-weight:500}.website-header__service-lede{font-size:1em}.website-header__inner-container{display:flex;justify-content:space-between;align-items:center;position:relative;padding:1em 0}@media (max-width: 1000px){.website-header__inner-container{flex-direction:column;align-items:flex-start}}@media (max-width: 1000px){.website-header__navigation{width:100%}}.website-header__navigation-list{list-style:none;display:flex;margin:0;padding:0}@media (max-width: 1000px){.website-header__navigation-list{display:none}}@media (max-width: 1000px){.website-header__navigation-list--visible{display:block;margin-top:1rem}.website-header__navigation-list--visible a{display:inline-block}}.website-header__navigation-list button{background-color:transparent;border-width:0;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;padding:0;color:inherit}.website-header__navigation-list a,.website-header__navigation-list button{display:block;text-decoration:none;cursor:pointer}@media (max-width: 1000px){.website-header__navigation-list a,.website-header__navigation-list button{padding:0.75em 0}}.website-header__navigation-list--visible a,.website-header__navigation-list--visible button{padding:0.5em 0}@media (min-width: 1001px){.website-header__navigation-list a,.website-header__navigation-list button{padding:0.5em}}.website-header__navigation-list a:hover,.website-header__navigation-list button:hover{text-decoration:underline;text-underline-offset:var(--pl-link-text-underline-offset)}.website-header__navigation-button{all:unset;text-transform:uppercase;font-size:0.75em;letter-spacing:0.075em;font-weight:600;padding:0.5em;border-radius:0.25em;position:absolute;right:0;top:1.5em;display:flex;align-items:center;color:var(--color-fg-service);cursor:pointer}@media (min-width: 1001px){.website-header__navigation-button{display:none}}.website-header__navigation-button[aria-expanded=true] svg{rotate:180deg}@media print{.website-header__inner-container>*:not(.website-header__logo-name-container){display:none}}";
|
|
@@ -3650,7 +3779,7 @@ class Header {
|
|
|
3650
3779
|
get hostElement() { return getElement(this); }
|
|
3651
3780
|
static get style() { return pennlibsHeaderCss; }
|
|
3652
3781
|
static get cmpMeta() { return {
|
|
3653
|
-
"$flags$":
|
|
3782
|
+
"$flags$": 265,
|
|
3654
3783
|
"$tagName$": "pennlibs-header",
|
|
3655
3784
|
"$members$": {
|
|
3656
3785
|
"serviceName": [1, "service-name"],
|
|
@@ -3727,7 +3856,7 @@ class Hero {
|
|
|
3727
3856
|
get hostElement() { return getElement(this); }
|
|
3728
3857
|
static get style() { return pennlibsHeroCss; }
|
|
3729
3858
|
static get cmpMeta() { return {
|
|
3730
|
-
"$flags$":
|
|
3859
|
+
"$flags$": 265,
|
|
3731
3860
|
"$tagName$": "pennlibs-hero",
|
|
3732
3861
|
"$members$": {
|
|
3733
3862
|
"heroPictureElement": [32],
|
|
@@ -3754,7 +3883,7 @@ class NoImage {
|
|
|
3754
3883
|
static get assetsDirs() { return ["assets"]; }
|
|
3755
3884
|
static get style() { return pennlibsFallbackImgCss; }
|
|
3756
3885
|
static get cmpMeta() { return {
|
|
3757
|
-
"$flags$":
|
|
3886
|
+
"$flags$": 265,
|
|
3758
3887
|
"$tagName$": "pennlibs-fallback-img",
|
|
3759
3888
|
"$members$": undefined,
|
|
3760
3889
|
"$listeners$": undefined,
|
|
@@ -3814,7 +3943,7 @@ class PennlibsFeedback {
|
|
|
3814
3943
|
}
|
|
3815
3944
|
static get style() { return pennlibsFeedbackCss; }
|
|
3816
3945
|
static get cmpMeta() { return {
|
|
3817
|
-
"$flags$":
|
|
3946
|
+
"$flags$": 265,
|
|
3818
3947
|
"$tagName$": "pennlibs-feedback",
|
|
3819
3948
|
"$members$": {
|
|
3820
3949
|
"error": [32],
|
|
@@ -3886,7 +4015,7 @@ var BUILD = {
|
|
|
3886
4015
|
vdomRender: true,
|
|
3887
4016
|
vdomStyle: true,
|
|
3888
4017
|
vdomText: true,
|
|
3889
|
-
|
|
4018
|
+
propChangeCallback: true,
|
|
3890
4019
|
taskQueue: true,
|
|
3891
4020
|
hotModuleReplacement: false,
|
|
3892
4021
|
isDebug: false,
|
|
@@ -3934,7 +4063,7 @@ var NAMESPACE = (
|
|
|
3934
4063
|
);
|
|
3935
4064
|
|
|
3936
4065
|
/*
|
|
3937
|
-
Stencil Hydrate Runner v4.
|
|
4066
|
+
Stencil Hydrate Runner v4.38.1 | MIT Licensed | https://stenciljs.com
|
|
3938
4067
|
*/
|
|
3939
4068
|
var __defProp = Object.defineProperty;
|
|
3940
4069
|
var __export = (target, all) => {
|
|
@@ -3948,6 +4077,7 @@ var ORG_LOCATION_ID = "o";
|
|
|
3948
4077
|
var SLOT_NODE_ID = "s";
|
|
3949
4078
|
var TEXT_NODE_ID = "t";
|
|
3950
4079
|
var HYDRATE_ID = "s-id";
|
|
4080
|
+
var HYDRATED_STYLE_ID = "sty-id";
|
|
3951
4081
|
var STENCIL_DOC_DATA = "_stencilDocData";
|
|
3952
4082
|
var XLINK_NS = "http://www.w3.org/1999/xlink";
|
|
3953
4083
|
|
|
@@ -4658,8 +4788,21 @@ function triggerEventListener(elm, ev) {
|
|
|
4658
4788
|
} else if (elm.parentElement == null && elm.tagName === "HTML") {
|
|
4659
4789
|
triggerEventListener(elm.ownerDocument, ev);
|
|
4660
4790
|
} else {
|
|
4661
|
-
|
|
4791
|
+
const nextTarget = getNextEventTarget(elm, ev);
|
|
4792
|
+
triggerEventListener(nextTarget, ev);
|
|
4793
|
+
}
|
|
4794
|
+
}
|
|
4795
|
+
function getNextEventTarget(elm, ev) {
|
|
4796
|
+
if (elm.parentElement) {
|
|
4797
|
+
return elm.parentElement;
|
|
4662
4798
|
}
|
|
4799
|
+
if (elm.host && ev.composed) {
|
|
4800
|
+
return elm.host;
|
|
4801
|
+
}
|
|
4802
|
+
if (ev.composed && elm.parentNode && elm.parentNode.host) {
|
|
4803
|
+
return elm.parentNode.host;
|
|
4804
|
+
}
|
|
4805
|
+
return null;
|
|
4663
4806
|
}
|
|
4664
4807
|
function dispatchEvent(currentTarget, ev) {
|
|
4665
4808
|
ev.target = currentTarget;
|
|
@@ -14301,6 +14444,11 @@ function* streamToHtml(node, opts, output) {
|
|
|
14301
14444
|
const mode = ` shadowrootmode="open"`;
|
|
14302
14445
|
yield mode;
|
|
14303
14446
|
output.currentLineWidth += mode.length;
|
|
14447
|
+
if (node.delegatesFocus) {
|
|
14448
|
+
const delegatesFocusAttr = " shadowrootdelegatesfocus";
|
|
14449
|
+
yield delegatesFocusAttr;
|
|
14450
|
+
output.currentLineWidth += delegatesFocusAttr.length;
|
|
14451
|
+
}
|
|
14304
14452
|
}
|
|
14305
14453
|
const attrsLength = node.attributes.length;
|
|
14306
14454
|
const attributes = opts.prettyHtml && attrsLength > 1 ? cloneAttributes(node.attributes, true) : node.attributes;
|
|
@@ -14819,6 +14967,15 @@ var MockNode2 = class {
|
|
|
14819
14967
|
set textContent(value) {
|
|
14820
14968
|
this._nodeValue = String(value);
|
|
14821
14969
|
}
|
|
14970
|
+
addEventListener(type, handler) {
|
|
14971
|
+
addEventListener(this, type, handler);
|
|
14972
|
+
}
|
|
14973
|
+
removeEventListener(type, handler) {
|
|
14974
|
+
removeEventListener(this, type, handler);
|
|
14975
|
+
}
|
|
14976
|
+
dispatchEvent(ev) {
|
|
14977
|
+
return dispatchEvent(this, ev);
|
|
14978
|
+
}
|
|
14822
14979
|
};
|
|
14823
14980
|
MockNode2.ELEMENT_NODE = 1;
|
|
14824
14981
|
MockNode2.TEXT_NODE = 3;
|
|
@@ -14857,15 +15014,25 @@ var MockElement = class extends MockNode2 {
|
|
|
14857
15014
|
addEventListener(this, type, handler);
|
|
14858
15015
|
}
|
|
14859
15016
|
attachShadow(_opts) {
|
|
15017
|
+
var _a2;
|
|
14860
15018
|
const shadowRoot = this.ownerDocument.createDocumentFragment();
|
|
15019
|
+
shadowRoot.delegatesFocus = (_a2 = _opts.delegatesFocus) != null ? _a2 : false;
|
|
14861
15020
|
this.shadowRoot = shadowRoot;
|
|
14862
15021
|
return shadowRoot;
|
|
14863
15022
|
}
|
|
14864
15023
|
blur() {
|
|
14865
|
-
|
|
14866
|
-
|
|
14867
|
-
|
|
14868
|
-
);
|
|
15024
|
+
if (isCurrentlyDispatching(this, "blur")) {
|
|
15025
|
+
return;
|
|
15026
|
+
}
|
|
15027
|
+
markAsDispatching(this, "blur");
|
|
15028
|
+
try {
|
|
15029
|
+
dispatchEvent(
|
|
15030
|
+
this,
|
|
15031
|
+
new MockFocusEvent("blur", { relatedTarget: null, bubbles: true, cancelable: true, composed: true })
|
|
15032
|
+
);
|
|
15033
|
+
} finally {
|
|
15034
|
+
unmarkAsDispatching(this, "blur");
|
|
15035
|
+
}
|
|
14869
15036
|
}
|
|
14870
15037
|
get localName() {
|
|
14871
15038
|
if (!this.nodeName) {
|
|
@@ -15607,6 +15774,28 @@ function setTextContent(elm, text) {
|
|
|
15607
15774
|
const textNode = new MockTextNode(elm.ownerDocument, text);
|
|
15608
15775
|
elm.appendChild(textNode);
|
|
15609
15776
|
}
|
|
15777
|
+
var currentlyDispatching = /* @__PURE__ */ new WeakMap();
|
|
15778
|
+
function isCurrentlyDispatching(target, eventType) {
|
|
15779
|
+
const dispatchingEvents = currentlyDispatching.get(target);
|
|
15780
|
+
return dispatchingEvents != null && dispatchingEvents.has(eventType);
|
|
15781
|
+
}
|
|
15782
|
+
function markAsDispatching(target, eventType) {
|
|
15783
|
+
let dispatchingEvents = currentlyDispatching.get(target);
|
|
15784
|
+
if (dispatchingEvents == null) {
|
|
15785
|
+
dispatchingEvents = /* @__PURE__ */ new Set();
|
|
15786
|
+
currentlyDispatching.set(target, dispatchingEvents);
|
|
15787
|
+
}
|
|
15788
|
+
dispatchingEvents.add(eventType);
|
|
15789
|
+
}
|
|
15790
|
+
function unmarkAsDispatching(target, eventType) {
|
|
15791
|
+
const dispatchingEvents = currentlyDispatching.get(target);
|
|
15792
|
+
if (dispatchingEvents != null) {
|
|
15793
|
+
dispatchingEvents.delete(eventType);
|
|
15794
|
+
if (dispatchingEvents.size === 0) {
|
|
15795
|
+
currentlyDispatching.delete(target);
|
|
15796
|
+
}
|
|
15797
|
+
}
|
|
15798
|
+
}
|
|
15610
15799
|
|
|
15611
15800
|
// src/mock-doc/comment-node.ts
|
|
15612
15801
|
var MockComment = class _MockComment extends MockNode2 {
|
|
@@ -15634,6 +15823,12 @@ var MockDocumentFragment = class _MockDocumentFragment extends MockHTMLElement {
|
|
|
15634
15823
|
getElementById(id) {
|
|
15635
15824
|
return getElementById(this, id);
|
|
15636
15825
|
}
|
|
15826
|
+
get adoptedStyleSheets() {
|
|
15827
|
+
return [];
|
|
15828
|
+
}
|
|
15829
|
+
set adoptedStyleSheets(_adoptedStyleSheets) {
|
|
15830
|
+
throw new Error("Unimplemented");
|
|
15831
|
+
}
|
|
15637
15832
|
cloneNode(deep) {
|
|
15638
15833
|
const cloned = new _MockDocumentFragment(null);
|
|
15639
15834
|
if (deep) {
|
|
@@ -15682,7 +15877,9 @@ var MockCSSStyleSheet = class {
|
|
|
15682
15877
|
deleteRule(index) {
|
|
15683
15878
|
if (index >= 0 && index < this.cssRules.length) {
|
|
15684
15879
|
this.cssRules.splice(index, 1);
|
|
15685
|
-
|
|
15880
|
+
if (this.ownerNode) {
|
|
15881
|
+
updateStyleTextNode(this.ownerNode);
|
|
15882
|
+
}
|
|
15686
15883
|
}
|
|
15687
15884
|
}
|
|
15688
15885
|
insertRule(rule, index = 0) {
|
|
@@ -15698,9 +15895,23 @@ var MockCSSStyleSheet = class {
|
|
|
15698
15895
|
const cssRule = new MockCSSRule(this);
|
|
15699
15896
|
cssRule.cssText = rule;
|
|
15700
15897
|
this.cssRules.splice(index, 0, cssRule);
|
|
15701
|
-
|
|
15898
|
+
if (this.ownerNode) {
|
|
15899
|
+
updateStyleTextNode(this.ownerNode);
|
|
15900
|
+
}
|
|
15702
15901
|
return index;
|
|
15703
15902
|
}
|
|
15903
|
+
replaceSync(cssText) {
|
|
15904
|
+
this.cssRules = [];
|
|
15905
|
+
const rules = cssText.split("}").map((rule) => rule.trim()).filter(Boolean).map((rule) => rule + "}");
|
|
15906
|
+
for (const rule of rules) {
|
|
15907
|
+
const cssRule = new MockCSSRule(this);
|
|
15908
|
+
cssRule.cssText = rule;
|
|
15909
|
+
this.cssRules.push(cssRule);
|
|
15910
|
+
}
|
|
15911
|
+
if (this.ownerNode) {
|
|
15912
|
+
updateStyleTextNode(this.ownerNode);
|
|
15913
|
+
}
|
|
15914
|
+
}
|
|
15704
15915
|
};
|
|
15705
15916
|
function getStyleElementText(styleElm) {
|
|
15706
15917
|
const output = [];
|
|
@@ -16739,9 +16950,11 @@ var WINDOW_PROPS = [
|
|
|
16739
16950
|
"NodeList",
|
|
16740
16951
|
"FocusEvent",
|
|
16741
16952
|
"KeyboardEvent",
|
|
16742
|
-
"MouseEvent"
|
|
16953
|
+
"MouseEvent",
|
|
16954
|
+
"CSSStyleSheet"
|
|
16743
16955
|
];
|
|
16744
16956
|
var GLOBAL_CONSTRUCTORS = [
|
|
16957
|
+
["CSSStyleSheet", MockCSSStyleSheet],
|
|
16745
16958
|
["CustomEvent", MockCustomEvent],
|
|
16746
16959
|
["DocumentFragment", MockDocumentFragment],
|
|
16747
16960
|
["DOMParser", MockDOMParser],
|
|
@@ -16949,12 +17162,6 @@ var MockShadowRoot = class extends MockDocumentFragment {
|
|
|
16949
17162
|
get activeElement() {
|
|
16950
17163
|
return null;
|
|
16951
17164
|
}
|
|
16952
|
-
set adoptedStyleSheets(_adoptedStyleSheets) {
|
|
16953
|
-
throw new Error("Unimplemented");
|
|
16954
|
-
}
|
|
16955
|
-
get adoptedStyleSheets() {
|
|
16956
|
-
return [];
|
|
16957
|
-
}
|
|
16958
17165
|
get cloneable() {
|
|
16959
17166
|
return false;
|
|
16960
17167
|
}
|
|
@@ -17758,7 +17965,7 @@ var MockDocument = class _MockDocument extends MockHTMLElement {
|
|
|
17758
17965
|
}
|
|
17759
17966
|
set location(val) {
|
|
17760
17967
|
if (this.defaultView != null) {
|
|
17761
|
-
this.defaultView.location = val;
|
|
17968
|
+
this.defaultView.location.href = val;
|
|
17762
17969
|
}
|
|
17763
17970
|
}
|
|
17764
17971
|
get baseURI() {
|
|
@@ -18533,6 +18740,9 @@ var _colonHostContextRe = createSupportsRuleRe(":host-context");
|
|
|
18533
18740
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
18534
18741
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
18535
18742
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
18743
|
+
var baseClass = BUILD.lazyLoad ? class {
|
|
18744
|
+
} : globalThis.HTMLElement || class {
|
|
18745
|
+
};
|
|
18536
18746
|
|
|
18537
18747
|
// src/compiler/html/canonical-link.ts
|
|
18538
18748
|
var updateCanonicalLink = (doc, href) => {
|
|
@@ -19723,6 +19933,7 @@ function renderToString(html, options, asStream) {
|
|
|
19723
19933
|
}
|
|
19724
19934
|
function hydrateDocument(doc, options, asStream) {
|
|
19725
19935
|
const opts = normalizeHydrateOptions(options);
|
|
19936
|
+
opts.serializeShadowRoot = typeof opts.serializeShadowRoot === "undefined" ? "declarative-shadow-dom" : opts.serializeShadowRoot;
|
|
19726
19937
|
let win2 = null;
|
|
19727
19938
|
const results = generateHydrateResults(opts);
|
|
19728
19939
|
if (hasError(results.diagnostics)) {
|
|
@@ -19734,7 +19945,7 @@ function hydrateDocument(doc, options, asStream) {
|
|
|
19734
19945
|
opts.destroyDocument = true;
|
|
19735
19946
|
win2 = new MockWindow(doc);
|
|
19736
19947
|
if (!asStream) {
|
|
19737
|
-
return
|
|
19948
|
+
return render2(win2, opts, results).then(() => results);
|
|
19738
19949
|
}
|
|
19739
19950
|
return renderStream(win2, opts, results);
|
|
19740
19951
|
} catch (e) {
|
|
@@ -19751,7 +19962,7 @@ function hydrateDocument(doc, options, asStream) {
|
|
|
19751
19962
|
opts.destroyDocument = false;
|
|
19752
19963
|
win2 = patchDomImplementation(doc, opts);
|
|
19753
19964
|
if (!asStream) {
|
|
19754
|
-
return
|
|
19965
|
+
return render2(win2, opts, results).then(() => results);
|
|
19755
19966
|
}
|
|
19756
19967
|
return renderStream(win2, opts, results);
|
|
19757
19968
|
} catch (e) {
|
|
@@ -19766,7 +19977,7 @@ function hydrateDocument(doc, options, asStream) {
|
|
|
19766
19977
|
renderBuildError(results, `Invalid html or document. Must be either a valid "html" string, or DOM "document".`);
|
|
19767
19978
|
return Promise.resolve(results);
|
|
19768
19979
|
}
|
|
19769
|
-
async function
|
|
19980
|
+
async function render2(win2, opts, results) {
|
|
19770
19981
|
if ("process" in globalThis && typeof process.on === "function" && !process.__stencilErrors) {
|
|
19771
19982
|
process.__stencilErrors = true;
|
|
19772
19983
|
process.on("unhandledRejection", (e) => {
|
|
@@ -19791,7 +20002,7 @@ async function render(win2, opts, results) {
|
|
|
19791
20002
|
}
|
|
19792
20003
|
function renderStream(win2, opts, results) {
|
|
19793
20004
|
async function* processRender() {
|
|
19794
|
-
const renderResult = await
|
|
20005
|
+
const renderResult = await render2(win2, opts, results);
|
|
19795
20006
|
yield renderResult.html;
|
|
19796
20007
|
}
|
|
19797
20008
|
return stream.Readable.from(processRender());
|
|
@@ -19827,6 +20038,16 @@ function finalizeHydrate(win2, doc, opts, results) {
|
|
|
19827
20038
|
if (opts.removeScripts) {
|
|
19828
20039
|
removeScripts(doc.documentElement);
|
|
19829
20040
|
}
|
|
20041
|
+
const styles2 = doc.querySelectorAll("head style");
|
|
20042
|
+
if (styles2.length > 0) {
|
|
20043
|
+
results.styles.push(
|
|
20044
|
+
...Array.from(styles2).map((style) => ({
|
|
20045
|
+
href: style.getAttribute("href"),
|
|
20046
|
+
id: style.getAttribute(HYDRATED_STYLE_ID),
|
|
20047
|
+
content: style.textContent
|
|
20048
|
+
}))
|
|
20049
|
+
);
|
|
20050
|
+
}
|
|
19830
20051
|
try {
|
|
19831
20052
|
updateCanonicalLink(doc, opts.canonicalUrl);
|
|
19832
20053
|
} catch (e) {
|