{"version":3,"file":"tds-global-footer-links.entry-Ci4i8M_O.js","sources":["../../../node_modules/@trv-tds/react/node_modules/@trv-tds/webcomponents/dist/esm/tds-global-footer-links.entry.js"],"sourcesContent":["import { r as registerInstance, h, H as Host, g as getElement } from './index-e1ee5b28.js';\n\nconst globalFooterLinksCss = \".footer-link-group-heading{font-family:BattersonSans, sans-serif;font-weight:700;font-style:normal;font-size:0.875rem;letter-spacing:0.0625rem;line-height:1.5;margin:0}[role=group] ::slotted(button){cursor:pointer;outline:0;transition-duration:0.25s;transition-property:background-color, color;transition-timing-function:ease-in-out;background-color:var(--tds-link-bg-color, rgba(0, 0, 0, 0));border:0;border-radius:0.1875rem;color:var(--tds-link-color, rgb(0, 115, 149));outline:0;-webkit-text-decoration:underline;text-decoration:underline;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto}[role=group] ::slotted(button:disabled),[role=group] ::slotted(button[aria-disabled=true]){cursor:not-allowed}[role=group] ::slotted(button:hover){background-color:var(--tds-interactive-hover-bg-color, rgba(0, 145, 235, 0.2));color:var(--tds-link-hover-color, rgb(0, 99, 128))}[role=group] ::slotted(button:active){background-color:var(--tds-interactive-active-bg-color, rgba(0, 145, 235, 0.4));color:var(--tds-link-active-color, rgb(0, 33, 45))}*,*::before,*::after{box-sizing:border-box}:host{display:block}.footer-link-group-heading{color:var(--tds-gfooter-heading-color, rgb(39, 42, 45));padding-top:1.125rem;padding-bottom:0.375rem}.footer-link-group-heading ::slotted(a){-webkit-text-decoration:none !important;text-decoration:none !important}.footer-link-group-heading ::slotted(a:hover){-webkit-text-decoration:underline !important;text-decoration:underline !important}[role=group]{display:flex;flex-direction:column;align-items:inherit}[role=group] ::slotted(button:hover){outline:0;-webkit-text-decoration:underline;text-decoration:underline}[role=group] ::slotted(button:active){-webkit-text-decoration:underline;text-decoration:underline}[role=group] ::slotted(*),[role=group] ::slotted(a){border:0;display:inline-block !important;margin:0 -0.1875rem 0.75rem !important;padding:0.25rem 0.1875rem !important;line-height:1.4 !important;font-size:0.84375rem !important;-webkit-text-decoration:none !important;text-decoration:none !important}[role=group] ::slotted(a:hover),[role=group] ::slotted(button:hover){-webkit-text-decoration:underline !important;text-decoration:underline !important}[role=group] ::slotted(button:focus-visible){outline:solid 0.25rem var(--tds-focus-ring-color, rgb(0, 104, 169));outline-offset:var(--tds-focus-ring-offset, 0)}@media (min-width: 50em){:host(.inline) [role=group],:host(.inline) [role=group]>ul{display:flex;flex-direction:row;flex-wrap:wrap;margin-left:-0.75rem;margin-right:-0.75rem}:host(.inline) [role=group] ::slotted(*){margin-left:0.75rem !important;margin-right:0.75rem !important}}\";\nconst TdsGlobalFooterLinksStyle0 = globalFooterLinksCss;\n\nlet nextId = 0;\nconst GlobalFooterLinks = class {\n    constructor(hostRef) {\n        registerInstance(this, hostRef);\n        this.heading = undefined;\n        this.headingLevel = '2';\n    }\n    render() {\n        const { el } = this;\n        const HEADING_SLOT_NAME = 'heading';\n        const hasHead = !!el.querySelector(`[slot=\"${HEADING_SLOT_NAME}\"]`);\n        const hHead = hasHead ? h(\"slot\", { name: HEADING_SLOT_NAME }) :\n            this.heading;\n        const headingId = hHead && `__tds-global-footer-link-group__${++nextId}`;\n        const HTag = `H${this.headingLevel}`;\n        return (h(Host, { key: 'd5cfd0c994edd3ecee144e0572cb1ae35d68ce1d' }, headingId && h(HTag, { class: 'footer-link-group-heading', id: headingId }, hHead), h(\"div\", { key: '5a8720ff3046c8783a4c5d0c7fc22a9d658b4631', role: 'group', \"aria-labelledby\": headingId }, h(\"slot\", { key: 'e331936e0411da4089840c8a9c995b3cc0529a3c' }))));\n    }\n    get el() { return getElement(this); }\n};\nGlobalFooterLinks.style = TdsGlobalFooterLinksStyle0;\n\nexport { GlobalFooterLinks as tds_global_footer_links };\n\n//# sourceMappingURL=tds-global-footer-links.entry.js.map"],"names":["globalFooterLinksCss","TdsGlobalFooterLinksStyle0","nextId","GlobalFooterLinks","hostRef","registerInstance","el","HEADING_SLOT_NAME","hHead","h","headingId","HTag","Host","getElement"],"mappings":"6DAEA,MAAMA,EAAuB,wlFACvBC,EAA6BD,EAEnC,IAAIE,EAAS,EACR,MAACC,EAAoB,KAAM,CAC5B,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,QAAU,OACf,KAAK,aAAe,GAC5B,CACI,QAAS,CACL,KAAM,CAAE,GAAAE,CAAE,EAAK,KACTC,EAAoB,UAEpBC,EADU,CAAC,CAACF,EAAG,cAAc,UAAUC,CAAiB,IAAI,EAC1CE,EAAE,OAAQ,CAAE,KAAMF,EAAmB,EACzD,KAAK,QACHG,EAAYF,GAAS,mCAAmC,EAAEN,CAAM,GAChES,EAAO,IAAI,KAAK,YAAY,GAClC,OAAQF,EAAEG,EAAM,CAAE,IAAK,0CAA4C,EAAEF,GAAaD,EAAEE,EAAM,CAAE,MAAO,4BAA6B,GAAID,CAAW,EAAEF,CAAK,EAAGC,EAAE,MAAO,CAAE,IAAK,2CAA4C,KAAM,QAAS,kBAAmBC,CAAS,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CAAC,CAC3U,CACI,IAAI,IAAK,CAAE,OAAOI,EAAW,IAAI,CAAE,CACvC,EACAV,EAAkB,MAAQF","x_google_ignoreList":[0]}