1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="750a4003-409b-5133-9077-cb6b9b80dcc8")}catch(e){}}(); 3import{r as o,j as e}from"./index-CZGzgYgi.js";import{c as p,L as c}from"./DiagonalArrowIcon-Oz4frL2E.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"6b6ce4043f559c51452ba457c665cac085c21225"}}catch{}})();const l=t=>({blockType:"external-link",text:t.text,url:t.url,newWindow:!1}),r="data-above-nav-banner",g={"sage-light":{scope:"sage-green",tone:"light"},"powder-blue":{scope:"powder-blue",tone:"default"},"sky-blue":{scope:"sky-blue",tone:"default"},celery:{scope:"celery",tone:"default"},"pine-green":{scope:"pine",tone:"default"},"cadet-blue":{scope:"cadet-blue",tone:"default"}};function b({banner:t}){const[n,s]=o.useState(!0);o.useEffect(()=>{const f=localStorage.getItem(`announcement-dismissed-${t.id}`)==="true";s(f)},[t.id]);const i=(t.position??"above-nav")==="above-nav";if(o.useEffect(()=>{if(!(n||!i))return document.documentElement.setAttribute(r,""),()=>document.documentElement.removeAttribute(r)},[n,i]),n)return null;const m=()=>{localStorage.setItem(`announcement-dismissed-${t.id}`,"true"),s(!0)},a=g[t.backgroundColor??"sage-light"];return e.jsxs("div",{"data-theme-accent":a.scope,className:p("text-body-small min-h-10 md:h-10",a.tone==="light"?"bg-accent-light text-on-accent-light":"bg-accent text-on-accent"),children:[e.jsx(x,{banner:t}),e.jsx(h,{banner:t,onDismiss:m})]})}function x({banner:t}){const n="flex min-h-10 items-center justify-between gap-gap-lg px-inline-lg py-stack-sm md:hidden",s=t.message.find(i=>i.blockType==="announcement-link-segment");return s?e.jsxs(c,{link:l(s),className:n,children:[e.jsx("span",{className:"line-clamp-2 underline underline-offset-2",children:e.jsx(j,{message:t.message})}),e.jsx(u,{})]}):e.jsx("div",{className:n,children:e.jsx("span",{className:"line-clamp-2",children:e.jsx(d,{message:t.message})})})}function h({banner:t,onDismiss:n}){return e.jsxs("div",{className:"px-inline-3xl hidden h-10 grid-cols-[1fr_auto_1fr] items-center md:grid",children:[e.jsx("div",{className:"gap-gap-2xl col-start-2 flex items-center justify-center",children:e.jsx(d,{message:t.message})}),e.jsx("button",{type:"button",onClick:n,"aria-label":"Dismiss banner",className:"col-start-3 justify-self-end opacity-60 transition-opacity hover:opacity-100",children:e.jsx(y,{})})]})}function d({message:t}){return e.jsx("span",{children:t.map((n,s)=>n.blockType==="announcement-text-segment"?e.jsx("span",{children:n.text},n.id??s):n.blockType==="announcement-link-segment"?e.jsxs(c,{link:l(n),className:"gap-gap-md inline-flex items-center underline underline-offset-2",children:[n.text,e.jsx(u,{})]},n.id??s):null)})}function j({message:t}){return e.jsx(e.Fragment,{children:t.map((n,s)=>e.jsx("span",{children:n.text},n.id??s))})}function u(){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",className:"shrink-0",children:e.jsx("path",{d:"M3 8h10m0 0L9 4m4 4l-4 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function y(){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none","aria-hidden":"true",children:e.jsx("path",{d:"M12.5 3.5L3.5 12.5M3.5 3.5L12.5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}export{b as A}; 4 5//# debugId=750a4003-409b-5133-9077-cb6b9b80dcc8
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.