PageSourceSearch

https://ground.news/_next/static/chunks/d45bab24bac88d9d.js

js ground.news collected 2026-09-24 08:30:26 UTC 73,621 bytes, 6 lines download raw bytes

1!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._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0b168-f81c-7ef3-b0bb-7e68638aecb7")}catch(e){}}();;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ca989755-a447-f217-c72d-e101fe1a90c2")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4977,e=>{"use strict";var t=e.i(604362),r=e.i(905649);e.s(["PrimaryLink",0,({href:e,children:i,id:n,className:s,updatedHeader:a,onClick:o=()=>{},...l})=>(0,t.jsx)(r.default,{href:e,id:n,onClick:o,...l,className:`${a?"px-[0.6rem] py-[0.6rem] tablet:w-[6.9rem] desktop:w-[8.8rem] tablet:justify-center text-center tablet:h-[2.8rem]":"px-[0.7rem] py-[0.7rem]"} text-16 font-bold rounded-[4px] leading-10 bg-dark-primary flex shrink items-center dark:bg-light-primary text-light-primary dark:text-dark-primary hover:text-light-heavy active:text-light-heavy disabled:opacity-50 ${s??""}`,children:i})])},419588,e=>{"use strict";var t=e.i(604362);e.s(["default",0,({width:e=24,height:r=24,className:i="",id:n})=>(0,t.jsxs)("svg",{id:n,width:e,height:r,className:i,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"Section Icon"}),(0,t.jsx)("path",{d:"M3.75 12H16.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M3.75 16.5H12.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M3.75 7.5H20.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"square",strokeLinejoin:"round"})]})])},459837,e=>{"use strict";var t=e.i(604362),r=e.i(904352),i=e.i(127460),n=e.i(561774);let s=(0,i.createContext)({notificationsDisabled:!1,setNotificationsDisabled:()=>{}});e.s(["NotificationsProvider",0,({children:e})=>{let[a,o]=(0,i.useState)(!0);return(0,i.useEffect)(()=>{let e;try{e=localStorage.getItem(r.FCM_TOKEN_PATH)}catch(e){console.error("Error getting FCM token",e)}"Notification"in window&&!n.isSafari&&!n.isFirefox&&(!e||["denied"].includes(Notification.permission))?o(!0):o(!1)},[]),(0,t.jsx)(s.Provider,{value:{notificationsDisabled:a,setNotificationsDisabled:o},children:e})},"useNotifications",0,()=>(0,i.useContext)(s)])},33318,206158,e=>{"use strict";var t=e.i(486118);let r=async(e,r)=>await (0,t.post)("/public/geo/info",{lat:e,lon:r});var i=e.i(962934);let n=async(e,r)=>await (0,t.put)("/v04/user/geo",{location:{lat:e,lon:r}}),s=async(e,r)=>{let i=await (0,t.post)("/v04/interests/setLocal",{interestId:e,returnInterestId:"true"},r,!0);return i?.locationInterestId};e.s(["setLocalLocation",0,s,"setLocation",0,n],206158),e.i(78420);var a=e.i(304812),o=e.i(88454);let l=async(e,t,s)=>{let l=(await r(e,t))[0];(0,o.track)("userSetPlace",{location:l.name,id:l.id});let c=await (0,i.getPlaceInterest)(l.id);c&&(s&&n(e,t),(0,a.setLocalInterest)(c,void 0))};e.s(["setLocalFromCoords",0,l],33318)},71723,e=>{e.v({"scroll-bar":"location-module__QU6REa__scroll-bar","set-location-icon":"location-module__QU6REa__set-location-icon"})},264570,e=>{"use strict";var t=e.i(604362),r=e.i(517746),i=e.i(172465);let n=e.r(71723);e.s(["LocationSearchBar",0,({selectedInterest:e,searchText:s,setSearchText:a,setSearchLoading:o,setHasSelectedInterest:l,searchResults:c,searchLoading:d,setSelectedInterest:u,setSearchResults:m,hasSelectedInterest:f,customPlaceholder:h,autoFocus:p,darkBG:x})=>(0,t.jsxs)("div",{className:"w-full text-14 border border-ground-black dark:border-dark-ground-black relative",children:[(0,t.jsx)("input",{name:"searchLocation",id:"searchfield",type:"text",placeholder:h??e?.name??"Enter your city's name",autoComplete:"on",autoFocus:p??!0,value:s,onChange:e=>{o(!0),l(!1),a(e.target.value)},className:`w-full py-[0.6rem] text-16 border-none focus:underline focus:underline-offset-1 dark:bg-ground-black placeholder-[var(--gray-200)] dark:placeholder-[var(--gray-200)] dark:text-light-primary ${x?"bg-dark-primary text-light-primary":"bg-light-primary text-dark-primary"}`,style:{boxShadow:"none"}}),(0,t.jsx)("div",{className:`flex flex-col gap-[6px] tablet:gap-[8px] overflow-scroll absolute bg-light-light dark:bg-[var(--gray-100)] w-full box-content shadow border-l border-b border-r border-dark-primary ${!!c.length&&!f||d&&s&&"border-t border-dark-primary py-[4px]"} ${n["scroll-bar"]} `,style:{maxHeight:"6.25rem",left:"-1px"},children:d&&s?(0,t.jsx)(i.FontAwesomeIcon,{icon:r.faSpinner,spin:!0,className:"ml-[0.6rem] block"}):!f&&c.map((e,r)=>(0,t.jsx)("button",{type:"button",onClick:()=>{u(e),a(e.name),l(!0),m([])},className:`block w-full text-left px-[0.6rem] cursor-pointer hover:bg-light-heavy font-normal border-0 bg-transparent m-0 ${0===r&&"pt-[0.6rem] desktop:pt-[5px]"}`,children:e.name},`${e.name}-${r}`))})]})])},987367,e=>{"use strict";var t=e.i(604362),r=e.i(172465),i=e.i(127460),n=e.i(33318),s=e.i(98608),a=e.i(29158),o=e.i(55148),l=e.i(206158),c=e.i(304812),d=e.i(264570),u=e.i(88454);let m=e.r(71723);
2e.s(["LocationAccess",0,({close:e,session:f,noPadding:h,homepage:p,inHeader:x})=>{let[g,b]=(0,i.useState)(!1),[y,v]=(0,i.useState)(!1),[w,k]=(0,i.useState)([]),[j,S]=(0,i.useState)(""),[N,_]=(0,i.useState)(!1),[I,L]=(0,i.useState)(),[$,C]=(0,i.useState)(!1),R=e||(()=>{});(0,a.useDebounce)(()=>{j?(_(!0),(0,o.searchInterests)(j,"place").then(e=>{k(e)}),_(!1)):k([])},300,[j]);let A=async()=>{v(!0);let e=await new Promise((e,t)=>{navigator.geolocation.getCurrentPosition(e,t)});await (0,n.setLocalFromCoords)(e.coords.latitude,e.coords.longitude),window.location.reload()},E=async()=>{x&&(0,u.track)("location",{chart:"submit"}),b(!0),I&&(f&&await (0,l.setLocalLocation)(I.id,f),(0,c.setLocalInterest)(I)),window.location.reload()};return(0,t.jsxs)("div",{className:`flex flex-col ${h?"p-0":"p-[1.9rem]"} text-18 text-dark-primary dark:text-light-primary`,children:[(0,t.jsx)("span",{className:"text-20 leading-10 text-left",children:"Discover stories and media bias happening right in your city."}),(0,t.jsxs)("div",{className:"flex mt-[0.9rem] gap-[5px]",children:[(0,t.jsx)(d.LocationSearchBar,{selectedInterest:I,searchText:j,setSearchText:S,setSearchLoading:_,hasSelectedInterest:$,setHasSelectedInterest:C,searchResults:w,searchLoading:N,setSelectedInterest:L,setSearchResults:k,autoFocus:!p}),(0,t.jsx)("button",{type:"button",onClick:E,className:`bg-ground-black dark:bg-dark-ground-black rounded-lg-s dark:text-dark-primary text-white px-[1.3rem] py-[5px] ${I?"":"opacity-70 pointer-events-none"}`,children:g?(0,t.jsx)(r.FontAwesomeIcon,{icon:s.faSpinner,spin:!0}):"Submit"})]}),(0,t.jsxs)("div",{className:"flex my-[0.9rem] items-center",children:[(0,t.jsx)("hr",{className:"border border-[var(--gray-200)] w-full"})," "]}),(0,t.jsx)("button",{type:"button",onClick:()=>{x&&(0,u.track)("location",{chart:"detect"}),A().finally(R)},className:"flex items-center justify-center gap-[0.6rem] bg-ground-black dark:bg-light-light dark:text-dark-primary text-white py-[5px] font-medium",children:y?(0,t.jsx)(r.FontAwesomeIcon,{icon:s.faSpinner,spin:!0}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{className:m["set-location-icon"],alt:"Location icon"})," Set Location"]})}),!h&&(0,t.jsx)("button",{type:"button",onClick:()=>{x&&(0,u.track)("location",{chart:"no-thanks"}),R()},className:"text-16 font-semibold py-[5px] mt-[0.9rem]",children:"No, thanks"})]})}])},369867,e=>{"use strict";var t=e.i(604362);e.s(["default",0,({width:e=18,height:r=18,className:i="",id:n=""})=>(0,t.jsxs)("svg",{id:n,width:e,height:r,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,children:[(0,t.jsx)("title",{children:"Plus Icon"}),(0,t.jsx)("path",{d:"M2.8125 9H15.1875",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M9 2.8125V15.1875",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})])},29158,e=>{"use strict";var t=e.i(127460);function r(e,r,i){void 0===r&&(r=0),void 0===i&&(i=[]);var n,s,a,o,l,c,d,u=(void 0===(n=r)&&(n=0),s=(0,t.useRef)(!1),a=(0,t.useRef)(),o=(0,t.useRef)(e),l=(0,t.useCallback)(function(){return s.current},[]),c=(0,t.useCallback)(function(){s.current=!1,a.current&&clearTimeout(a.current),a.current=setTimeout(function(){s.current=!0,o.current()},n)},[n]),d=(0,t.useCallback)(function(){s.current=null,a.current&&clearTimeout(a.current)},[]),(0,t.useEffect)(function(){o.current=e},[e]),(0,t.useEffect)(function(){return c(),d},[n]),[l,d,c]),m=u[0],f=u[1],h=u[2];return(0,t.useEffect)(h,i),[m,f]}e.s(["useDebounce",()=>r],29158)},133978,e=>{"use strict";var t=e.i(486118),r=e.i(157964);let i=async(e,i,n)=>{if(!e)return;let s="/public/interest/:id".replace(":id",e),a=await (0,t.get)(s,void 0,void 0,void 0,void 0,i,void 0,void 0,n?28800:void 0);if(a){if(a.error){console.log("[interest] error: ",a.error.message),(0,r.logToSentry)(Error("Interest not found"),a.error.message,400,"text/plain");return}return a.interest}};e.s(["getInterest",0,i])},962934,e=>{"use strict";var t=e.i(486118);let r=async e=>{let r="https://web-api-cdn.ground.news/api/public/place/:id/interest".replace(":id",encodeURIComponent(e)),i=await (0,t.setHeadersAndFetch)(r);return(await i.json()).interest};e.s(["getPlaceInterest",0,r])},869800,e=>{"use strict";e.s(["secondaryInteractiveFocusClass",0,"gn-secondary-focus-target focus-visible:ring-2 focus-visible:ring-offset-[3px] focus-visible:ring-[color:var(--color-dark-primary)] dark:focus-visible:ring-[color:var(--color-light-primary)]"])},773392,283746,e=>{"use strict";var t={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function r(e){var r=function(e){if("number"==typeof e)return{value:e,unit:"px"};var r,i=(e.match(/^[0-9.]*/)||"").toString();r=i.includes(".")?parseFloat(i):parseInt(i,10);var n=(e.match(/[^0-9]*$/)||"").toString();return t[n]?{value:r,unit:n}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(r,"px.")),{value:r,unit:"px"})}(e);return"".concat(r.value).concat(r.unit)}e.s(["cssValue",()=>r],773392);var i=function(e,t,r){var i="react-spinners-".concat(e,"-").concat(r);if("u"<typeof window||!window.document)return i;var n=document.createElement("style");document.head.appendChild(n);var s=n.sheet,a="\n    @keyframes ".concat(i," {\n      ").concat(t,"\n    }\n  ");return s&&s.insertRule(a,0),i};e.s(["createAnimation",()=>i],283746)},470713,e=>{"use strict";var t=e.i(127460),r=e.i(773392),i=e.i(283746),n=function(){return(n=Object.assign||function(e){for(var t,r=1,i=arguments.length;r<i;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)},s=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r},a=[(0,i.createAnimation)("PuffLoader","0% {transform: scale(0)} 100% {transform: scale(1.0)}","puff-1"),(0,i.createAnimation)("PuffLoader","0% {opacity: 1} 100% {opacity: 0}","puff-2")];e.s(["default",0,function(e){var i=e.loading,o=e.color,l=void 0===o?"#000000":o,c=e.speedMultiplier,d=void 0===c?1:c,u=e.cssOverride,m=e.size,f=void 0===m?60:m,h=s(e,["loading","color","speedMultiplier","cssOverride","size"]),p=n({display:"inherit",position:"relative",width:(0,r.cssValue)(f),height:(0,r.cssValue)(f)},void 0===u?{}:u),x=function(e){return{position:"absolute",height:(0,r.cssValue)(f),width:(0,r.cssValue)(f),border:"thick solid ".concat(l),borderRadius:"50%",opacity:"1",top:"0",left:"0",animationFillMode:"both",animation:"".concat(a[0],", ").concat(a[1]),animationDuration:"".concat(2/d,"s"),animationIterationCount:"infinite",animationTimingFunction:"cubic-bezier(0.165, 0.84, 0.44, 1), cubic-bezier(0.3, 0.61, 0.355, 1)",animationDelay:1===e?"-1s":"0s"}};return void 0===i||i?t.createElement("span",n({style:p},h),t.createElement("span",{style:x(1)}),t.createElement("span",{style:x(2)})):null}])},142535,e=>{"use strict";var t=e.i(470713);e.s(["PuffLoader",()=>t.default])}
2,850355,e=>{"use strict";var t=e.i(153845);function r(){let e=(0,t.usePathname)(),r=(0,t.useSearchParams)();if(!r)return e;if(e){let t=new URL(e,"https://groundnews.com");return(t.search=r.toString(),t.search)?t.pathname+t.search:t.pathname}}e.s(["default",()=>r])},55148,e=>{"use strict";var t=e.i(486118);let r="/public/search",i=async(e,i,n,s)=>(s&&(r=`${r}?limit=${s}`),(await (0,t.post)(r,{type:i,searchText:e},n)).searchResults.map(e=>({...e,name:e.title?e.title:e.name})));e.s(["searchInterests",0,i])},454106,e=>{"use strict";var t=e.i(604362),r=e.i(127460),i=e.i(299204),n=e.i(558862);let s={...e.i(407062).enUS,formatDistance:(e,t)=>`${t}${({xSeconds:"s",xMinutes:"m",xHours:"h",xDays:"d",xMonths:"mo",xYears:"y"})[e]||""}`};e.s(["default",0,({date:e,isRelative:a,formatString:o,isShortLocale:l})=>{let c=(0,r.useMemo)(()=>{let t,r;return a?(t=new Date().getTime()>e.getTime(),r=(0,n.formatDistanceToNowStrict)(e,l?{locale:s}:{}),t?`${r} ago`:`in ${r}`):function(e,t="MM/dd/yyyy h:mm:ss aaaa"){return(0,i.format)(e,t)}(e,o)},[e,a,o]);return(0,t.jsx)("time",{suppressHydrationWarning:!0,dateTime:e.toJSON(),children:c})}])},878704,e=>{"use strict";var t=e.i(604362),r=e.i(883564),i=e.i(621405),n=e.i(987881),s=e.i(850355),a=e.i(481380),o=e.i(610319);e.s(["RegistrationModalPopup",0,({showRegModal:e,showPaywall:l,setShowRegModal:c,setShowPaywall:d,user:u,session:m,hasUserHitLimit:f})=>{let h=(0,s.default)(),p=(0,n.useAbsolutelyNoSolicitation)();return(0,t.jsx)(a.WrapperModal,{dialogTitle:"Registration Modal",blockScroll:!0,classNames:{modal:"rounded-2 text-dark-primary"},open:!p&&(e||l),onClose:()=>{c(!1),d(!1)},center:!0,showCloseIcon:!0,closeIcon:(0,t.jsx)(o.CrossCancelIcon,{className:"text-light-primary"}),styles:{modal:{backgroundColor:"#262626",padding:"0"},overlay:{transform:"translateZ(0)"}},children:u&&m?(0,t.jsxs)("div",{className:"flex flex-col text-light-primary p-[1.5rem] gap-[1rem] max-w-5xl text-16 leading-tight",children:[(0,t.jsx)("span",{className:"text-32",children:"You've reached your limit on following interests. Subscribe to follow more."}),(0,t.jsx)("span",{className:"text-22 text-[var(--gray-100)]",children:"Subscriptions start at $9.99/year"}),(0,t.jsx)("div",{className:"w-full flex",children:(0,t.jsx)("a",{id:f?"feed-subscribe-limit":"feed-subscribe-nudge",className:"flex border border-light-primary rounded-lg-s px-[1.3rem] py-[0.6rem]",href:"/subscribe",onClick:()=>{(0,r.setLocalReferrerToSubscribe)("paywall-follow-interests-trending-interests-widget")},children:"Subscribe"})})]}):(0,t.jsx)(i.RegistrationModal,{redirect:h??void 0,success:()=>{(0,r.clearSessionData)(),window.location.href=h??""}})})}])},676709,e=>{"use strict";var t=e.i(604362),r=e.i(905649),i=e.i(869800);e.s(["SecondaryLink",0,({href:e,className:n,id:s,updatedHeader:a,children:o,onClick:l})=>e.includes("blindspot")&&!e.includes("login")?(0,t.jsx)("a",{href:e,id:s,onClick:l,className:`${i.secondaryInteractiveFocusClass} ${a?"px-[0.7rem] py-[0.6rem] desktop:w-[8.8rem] tablet:w-[6.9rem] text-center tablet:justify-center tablet:h-[2.8rem]":"px-[0.7rem] py-[0.7rem]"} text-16 rounded-[4px] font-bold leading-10 whitespace-nowrap border flex shrink items-center border-dark-primary dark:border-light-primary text-dark-primary dark:text-light-primary hover:text-light-heavy active:text-light-heavy disabled:opacity-50 ${n??""}`,children:o}):(0,t.jsx)(r.default,{href:e,id:s,onClick:l,className:`${i.secondaryInteractiveFocusClass} ${a?"px-[0.7rem] py-[0.6rem] desktop:w-[8.8rem] tablet:w-[6.9rem] text-center tablet:justify-center tablet:h-[2.8rem]":"px-[0.7rem] py-[0.7rem]"} text-16 rounded-[4px] font-bold leading-10 whitespace-nowrap border flex shrink items-center border-dark-primary dark:border-light-primary text-dark-primary dark:text-light-primary hover:text-light-heavy active:text-light-heavy disabled:opacity-50 ${n??""}`,children:o})])},640036,e=>{e.v({arrow:"header-main-new-module__ArVhnW__arrow",arrowEdition:"header-main-new-module__ArVhnW__arrowEdition",interest_trending:"header-main-new-module__ArVhnW__interest_trending",logo:"header-main-new-module__ArVhnW__logo"})},919919,e=>{"use strict";var t=e.i(604362),r=e.i(905649),i=e.i(127460),n=e.i(987367),s=e.i(304812),a=e.i(322488),o=e.i(895832),l=e.i(172465),c=e.i(517746),d=e.i(554468),u=e.i(133978),m=e.i(101152),f=e.i(752426);let h=()=>{var e,r,n;let{theme:s,setTheme:a}=(0,f.useTheme)(),[o,l]=(0,i.useState)(!1);(0,i.useEffect)(()=>
2{l(!0)},[]);let c="opacity-75 cursor-pointer hover:opacity-100";return o&&void 0!==s?(0,t.jsxs)("div",{className:"flex items-center space-x-[0.6rem]",children:[(0,t.jsx)("span",{className:"lg:inline hidden",children:"Theme:"}),(0,t.jsxs)("span",{suppressHydrationWarning:!0,className:`flex items-center space-x-[0.6rem] ${s===f.Theme.System?"opacity-75":""}`,children:[(0,t.jsx)("button",{type:"button",onClick:(e=f.Theme.Light,()=>a(e)),className:s===f.Theme.System||s===f.Theme.Dark?c:"",children:"Light"}),(0,t.jsx)("button",{type:"button",onClick:(r=f.Theme.Dark,()=>a(r)),className:s===f.Theme.System||s===f.Theme.Light?c:"",children:"Dark"})]}),(0,t.jsx)("button",{type:"button",onClick:(n=f.Theme.System,()=>a(n)),className:s===f.Theme.System?"":c,children:"Auto"})]}):null};var p=e.i(88454),x=e.i(520380),g=e.i(454106),b=e.i(561774),y=e.i(546475),v=e.i(459837),w=e.i(883564);let k=({session:e,user:r})=>{let{notificationsDisabled:n,setNotificationsDisabled:s}=(0,v.useNotifications)(),[a,o]=(0,i.useState)(!1),{fireOffNotificationsToggleAmplitude:d}=(0,m.useAmplitude)();return(0,i.useEffect)(()=>{(0,w.localStorageAvailable)()?o(!b.isSafari&&!!e):o(!1)},[]),a&&(0,t.jsxs)("button",{type:"button",id:n?"enable-notifications-top":"disable-notifications-top",onClick:async()=>{s(!n),n?await (0,y.enableFirebaseNotifications)(e):await (0,y.disableFirebaseNotifications)(e),r&&d(n?"enable":"disable"),(0,p.track)("notifications",{chart:n?"enable":"disable"})},className:"hideElementSiteWide flex gap-[0.6rem] items-center py-[5px] text-18 rounded-sm",children:[(0,t.jsx)(l.FontAwesomeIcon,{icon:n?c.faToggleOff:c.faToggleOn}),(0,t.jsx)("span",{className:"text-12",children:"Enable Notifications"})]})};var j=e.i(447560),S=e.i(299204);let N=e.r(640036);e.s(["HeaderUpdatedTopBarLatest",0,({localInterest:e,session:f,user:b,feedsList:y,cookies:v})=>{let{fireOffHeaderEditionToggleAmplitudeEvent:w,fireOffHeaderLocationSet:_}=(0,m.useAmplitude)(),I=(0,i.useId)(),L=(0,i.useId)(),[$,C]=(0,i.useState)(!1),{edition:R}=(0,j.useEdition)(),[A,E]=(0,i.useState)(!1),F=(0,i.useRef)(null),[P,M]=(0,i.useState)(e);(0,o.useOutsideClickWithUseRefRef)(F,()=>{E(!1)});let T=y.map(e=>({webId:e.webFeedId,textId:e.id,webIcon:e.webIcon,icon:e.icon})).find(e=>e.webId===R||e.textId===R);(0,i.useEffect)(()=>{if(!e&&v.localInterest){let e=v.localInterest;(0,u.getInterest)(e).then(e=>{e&&((0,s.setLocalInterest)(e),M(e))})}},[v.localInterest]);let O=T?.webIcon||T?.icon,D=new Date;return(0,t.jsx)("section",{"aria-label":"Site utilities",className:"app-header-topbar hidden desktop:flex transition-all duration-200 flex-col text-12 py-[5px] border-b border-b-gray-300 bg-dark-primary text-light-primary items-center",children:(0,t.jsx)("div",{className:"max-w-screen-designmax px-margindesktop w-full",children:(0,t.jsxs)("div",{className:"flex justify-between w-full",children:[(0,t.jsxs)("div",{className:"flex items-center gap-[1.5rem]",children:[(0,t.jsx)(k,{user:b,session:f??""}),(0,t.jsx)(r.default,{href:"/extension",id:"browser-extension-top",className:"py-[5px]",onClick:()=>{(0,p.track)("extension",{chart:"click_header"})},children:"Browser Extension"}),(0,t.jsx)(h,{})]}),(0,t.jsxs)("div",{className:"flex gap-[1.3rem]",children:[(0,t.jsxs)("div",{className:"flex gap-[0.6rem] items-center",children:[(0,t.jsx)("time",{className:"opacity-75",dateTime:(0,S.format)(D,"yyyy-MM-dd"),children:(0,t.jsx)(g.default,{date:D,isRelative:!1,formatString:"EEEE, MMMM d, yyyy"})}),(0,t.jsx)("button",{type:"button",id:"location-top",className:"hideElementSiteWide relative text-light-primary py-[5px]","aria-expanded":$,"aria-haspopup":"dialog","aria-controls":I,onClick:()=>{v.user&&_(P?.name?"Change":"Set"),(0,p.track)("location",{chart:"open"}),C(!$)},children:P?.name??"Set Location"})]}),(0,t.jsx)("div",{className:"relative",children:(0,t.jsx)("div",{id:I,hidden:!$,children:$&&(0,t.jsx)("div",{className:`absolute bg-light-primary dark:bg-dark-primary w-[25rem] ${N.arrow} -translate-x-[18.8rem]`,style:{top:"1.88rem",left:"50%",zIndex:300,filter:"drop-shadow(0px 4px 14px rgba(0, 0, 0, 0.25))"},children:(0,t.jsx)(n.LocationAccess,{close:()=>C(!1),session:f,inHeader:!0})})})}),(0,t.jsxs)("div",{className:"relative flex flex-col justify-center px-0",children:[(0,t.jsxs)("button",{type:"button",id:"top-edition-clicked","aria-expanded":A,"aria-haspopup":"menu","aria-controls":L,"aria-disabled":d.isAcademic,onClick:()=>{d.isAcademic||E(!0),v.user&&w(),(0,p.track)("edition",{chart:"open"})},className:"flex w-full min-w-0 items-start gap-[0.6rem] text-left text-inherit font-inherit text-light-primary curs
2or-pointer bg-transparent border-0 p-0 m-0",children:[O?(0,t.jsxs)("span",{className:"flex self-start gap-[0.6rem]",children:[(0,t.jsx)(x.default,{src:O,alt:"",className:"w-[1rem] h-[1rem] aspect-square object-cover",width:36,height:36}),T?.textId," Edition"]}):null,(0,t.jsx)(l.FontAwesomeIcon,{icon:c.faChevronDown,className:"hideElementSiteWide self-center","aria-hidden":!0})]},`selected-${T?.webId}`),(0,t.jsx)("div",{className:"hideElementSiteWide",children:(0,t.jsx)("div",{id:L,hidden:!A,children:!!A&&(0,t.jsx)("div",{className:"hideElementSiteWide absolute w-[10rem] bg-ground-black px-[1.3rem] py-[0.6rem]",style:{top:"1.88rem",left:"-4.2rem",zIndex:200},ref:F,children:(0,t.jsx)(a.DropDownEditionList,{location:"top-menu",setShowFeedDropdown:E},"dropdown-menu")})})})]})]})]})})})}],919919)},1646,e=>{"use strict";var t=e.i(604362),r=e.i(101152),i=e.i(407136),n=e.i(88454),s=e.i(500679),a=e.i(905649),o=e.i(927232),l=e.i(142535),c=e.i(369867),d=e.i(363256),u=e.i(850355),m=e.i(172465),f=e.i(517746);let h=({interest:e,index:r,user:i,session:h,isFollowed:p,setHasUserHitLimit:x,setShowRegModal:g,setShowPaywall:b,fireOffHeaderNavBarLinkAmplitude:y,hidden:v,isPageRouter:w})=>{let k=(0,u.default)(),{followInterest:j,isSavingFollowInterest:S}=(0,d.useFollowInterest)(e.id,h,w);return(0,t.jsxs)("div",{className:`bg-tertiary-light dark:bg-dark-light flex items-center gap-[8px] py-[4px] px-[8px] rounded-full ${k===(0,s.interestAs)(e)?"border border-dark-primary":""} embla__slide`,style:{visibility:v?"hidden":"visible"},children:[(0,t.jsx)(a.default,{href:(0,s.interestAs)(e),id:`header-trending-${e.name}`,"data-dd-action-name":"interest-pill-click",onClick:()=>{i&&i.id&&h&&y(i.id,e.name,r+3,i.subscriptionStatus),(0,n.track)("header-interest-click",{chart:`trending-bar_${e.name}`})},className:"whitespace-nowrap text-ellipsis overflow-hidden ",children:(0,o.titleCase)(e.name)}),(0,t.jsx)("button",{type:"button",id:p?"interest-unfollow_trending-bar":"interest-follow_trending-bar","data-dd-action-name":"interest-pill-follow-click","aria-label":p?`Unfollow ${e.name}`:`Follow ${e.name}`,onClick:async t=>{if(t.stopPropagation(),t.preventDefault(),i&&h){let{hasHitLimit:t}=await j(!!p);t&&(x(!0),b(!0)),(0,n.track)(`interest-${p?"unfollow":"follow"}`,{chart:`trending-bar_${e.name}`})}else g(!0)},className:`flex h-[1.13rem] w-[1.13rem] justify-center items-center ${p?"text-ground-green":""} `,children:S?(0,t.jsx)(l.PuffLoader,{size:"1rem"}):p?(0,t.jsx)(m.FontAwesomeIcon,{icon:f.faCheck,className:`font-bold scale-75 ${S?"cursor-not-allowed":"cursor-pointer"}`}):(0,t.jsx)(c.default,{className:`font-bold scale-75 ${S?"cursor-not-allowed":"cursor-pointer"}`})})]},`header-trending-${e.id}`)};var p=e.i(301409),x=e.i(878704);let g=({width:e=18,height:r=18,className:i=""})=>(0,t.jsxs)("svg",{width:e,height:r,className:i,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"Trending Icon"}),(0,t.jsxs)("g",{clipPath:"url(#clip0_2615_7475)",children:[(0,t.jsx)("path",{d:"M16.3125 3.9375L9.5625 10.6875L6.75 7.875L1.6875 12.9375",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,t.jsx)("path",{d:"M16.3125 8.4375V3.9375H11.8125",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"clip0_2615_7475",children:(0,t.jsx)("rect",{width:"18",height:"18",fill:"white"})})})]});var b=e.i(453780);e.s(["TrendingInterestsBar",0,({user:e,session:n,trendingInterests:s,userInterests:a,isPageRouter:o})=>{let{fireOffHeaderNavBarLinkAmplitude:l}=(0,r.useAmplitude)(),{showRegModal:c,setShowRegModal:d,showPaywall:u,setShowPaywall:m,hasHitFollowLimit:f,setHasHitFollowLimit:y}=(0,p.useInterestLimitPaywall)(),[v]=(0,i.default)({align:"start",containScroll:"trimSnaps",startIndex:0,dragFree:!0}),w=new Set(a?.map(e=>e.id));return(0,b.useWebToAppBannerVisible)()?null:(0,t.jsxs)("div",{"data-testid":"trending-interests-bar",className:"w-full flex items-center justify-center gap-[8px] border-b border-light-heavy font-semibold text-12 py-[8px] bg-light-primary dark:bg-dark-primary",children:[(0,t.jsx)(x.RegistrationModalPopup,{showRegModal:c,showPaywall:u,setShowRegModal:d,setShowPaywall:m,user:e,session:n,hasUserHitLimit:f}),(0,t.jsx)("div",{className:"flex flex-col gap-[0.6rem] w-full overflow-hidden max-w-screen-designmax px-marginmobile tablet:px-margintablet desktop:px-margindesktop",children:(0,t.jsx)("div",{className:"embla overflow-hidden relative",children:(0,t.jsx)("div",{className:"embla__viewport",ref:v,children:(0,t.jsxs)("div",{className:"embla__container flex gap-[8px] items-center",children:[(0,t.jsx)(g,{className:"shrink-0 user-select-none focus:outline-none opacity-75"}),s&&Array.isArray(s)?s.map((r,i)=>(0,t.jsx)(h,{session:n,index:i,user:e,interest:r,isFollowed:w.has(r.id),fireOffHeaderNavBarLinkAmplitude:l,setHasUserHitLimit:y,setShowRegModal:d,setShowPaywall:m,isPageRouter:o},r.id)):(0,t.jsx)(h,{session:n,index:0,user:e,interest:{id:"cls",name:"",type:"topic",icon:""},isFollowed:!1,fireOffHeaderNavBarLinkAmplitude:l,setHasUserHitLimit:y,setShowRegModal:d,setShowPaywall:m,hidden:!0,isPageRouter:o})]})})})})]})}],1646)},752607,e=>{"use strict";var t=e.i(604362),r=e.i(419588),i=e.i(101152),n=e.i(832066);e.s(["LogoAndHamburgerHeader",0,({showSearchBar:e,setDiscoverOpen:s,user:a,session:o,absolutelyNoSolicitation:l})=>{let{fireOffHeaderHamburgerAmplitude:c}=(0,i.useAmplitude)();return(0,t.jsxs)("div",{className:`flex ${e?"max-designmax:w-full":""}
2 tablet:w-auto self-center items-center gap-[1.3rem] text-18`,children:[(0,t.jsx)("button",{type:"button","aria-label":"Open menu",className:"cursor-pointer hidden tablet:inline-block",onClick:()=>{s(!0),a&&a.id&&o&&c(a.id,a.subscriptionStatus)},children:(0,t.jsx)(r.default,{id:"hamburger-"})}),(0,t.jsxs)("div",{className:`block mt-[4px] tablet:flex relative items-center w-[6.3rem] h-full self-center ${e?"hidden tablet:w-[3.1rem] tablet:-mr-[1.3rem] desktop:-mr-0 desktop:w-[6.3rem] desktop:block":""} justify-center max-md:mr-0`,children:[(0,t.jsx)("div",{id:"header-main-logo-mobile",className:"tablet:hidden",children:(0,t.jsx)(n.LinkedLogo,{width:"4.06rem",height:"auto",incNews:!0,customAlt:"Ground News: Breaking News Headlines and Media Bias",unlink:l})}),(0,t.jsx)("div",{id:"header-main-logo",className:"hidden tablet:block bg-light-primary dark:bg-dark-primary",children:(0,t.jsx)(n.LinkedLogo,{width:"4.38rem",height:"auto",incNews:!0,customAlt:"Ground News: Breaking News Headlines and Media Bias",unlink:l})})]})]})}])},521618,e=>{"use strict";var t=e.i(604362),r=e.i(905649),i=e.i(127460),n=e.i(883564),s=e.i(101152),a=e.i(88454),o=e.i(850355);e.s(["HeaderMainLinksUpdatedUILatest",0,({user:e,session:l,showSearchBar:c})=>{let{fireOffHeaderNavBarLinkAmplitude:d}=(0,s.useAmplitude)(),u=(0,o.default)()??"",[m,f]=(0,i.useState)(!1);(0,i.useEffect)(()=>{f("true"===(0,n.getOrSetMyFeedNotification)())},[]);let h="/"===u||"/home-test"===u,p=/^\/my(\/.*)?$/.test(u),x=/^\/local(\/.*|\?.*)?$/.test(u),g=/^\/blindspot(?:\/.*|\?.*)?$/.test(u);return(0,t.jsxs)("nav",{"aria-label":"Primary",className:`${c?"tablet:hidden desktop:flex":""} pb-0 flex gap-[8px] w-full font-bold text-dark-primary dark:text-light-primary text-15`,children:[(0,t.jsxs)("div",{className:"px-[5px] flex flex-col gap-[8px]",children:[(0,t.jsx)(r.default,{href:"/",id:"header-navbar-home","aria-current":h?"page":void 0,className:"flex gap-[5px] whitespace-nowrap",onClick:()=>{(0,n.turnOffMyFeedNotification)(),e&&e.id&&l&&d(e.id,"Home",0,e.subscriptionStatus)},children:"Home"}),(0,t.jsx)("div",{className:h?"border-b-4 border-dark-primary dark:border-light-primary w-full mt-[0.6rem]":"border-b-4 border-transparent mt-[0.6rem]"})]})," ",(0,t.jsxs)("div",{className:"hideElementSiteWide px-[5px] flex flex-col gap-[8px] font-bold",children:[(0,t.jsxs)(r.default,{href:"/my",id:"header-navbar-my","aria-current":p?"page":void 0,className:"flex gap-[5px] whitespace-nowrap",onClick:()=>{(0,n.turnOffMyFeedNotification)(),e&&e.id&&l&&d(e.id,"My-Feed",0,e.subscriptionStatus),(0,a.trackMainMenuClicks)({event:"main_menu",label:"For_You"})},children:["For You",!!m&&(0,t.jsx)("div",{className:"w-[6px] h-[6px] rounded-full bg-focus"})]}),(0,t.jsx)("div",{className:p?"border-b-4 border-dark-primary dark:border-light-primary w-full mt-[0.6rem]":"border-b-4 border-transparent mt-[0.6rem]"})]})," ",(0,t.jsxs)("div",{className:"px-[5px] flex justify-center flex-col gap-[8px]",children:[(0,t.jsx)(r.default,{href:"/local",id:"header-navbar-local","aria-current":x?"page":void 0,onClick:()=>{e&&e.id&&l&&d(e.id,"Local",1,e.subscriptionStatus),(0,a.trackMainMenuClicks)({event:"main_menu",label:"Local"})},children:"Local"}),(0,t.jsx)("div",{className:x?"border-b-4 border-dark-primary dark:border-light-primary w-full mt-[0.6rem]":"border-b-4 border-transparent mt-[0.6rem]"})]}),(0,t.jsxs)("div",{className:"px-[5px] flex justify-center flex-col gap-[8px]",children:[(0,t.jsx)(r.default,{id:"header-navbar-blindspot",href:"/blindspot","aria-current":g?"page":void 0,onClick:t=>{g&&t.preventDefault(),e&&e.id&&l&&d(e.id,"Blindspot",2,e.subscriptionStatus),(0,a.trackMainMenuClicks)({event:"main_menu",label:"Blindspot"})},children:"Blindspot"}),(0,t.jsx)("div",{className:g?"border-b-4 border-dark-primary dark:border-light-primary w-full mt-[0.6rem]":"border-b-4 border-transparent mt-[0.6rem]"})]})]})}])},782721,e=>{"use strict";var t=e.i(604362),r=e.i(4977),i=e.i(904352),n=e.i(101152),s=e.i(88454),a=e.i(883564),o=e.i(676709),l=e.i(127460),c=e.i(980782),d=e.i(161471),u=e.i(895832);let m=({showSearchBar:e,setShowSearchBar:r,user:i,session:s,showSearch:a,setShowSearch:o,isLoggedIn:m,cookies:f,referrerDomain:h,isPageRouter:p})=>{let{fireOffHeaderSearchAmplitude:x}=(0,n.useAmplitude)(),[g,b]=(0,l.useState)(null);return(0,u.useOutsideClick)(g,()=>{r(!1)}),(0,t.jsxs)("label",{ref:b,id:"header-search",htmlFor:"searchfield",className:"flex rounded-lg-s items-center desktop:border border-light-heavy cursor-pointer ",children:[(0,t.jsxs)("div",{className:`flex gap-[0.6rem] p-[8px] items-center ${e?"my-0 max-lg:my-[0.7rem]":"tablet:w-full desktop:w-[15rem] gap-[0.6rem]"}`,onClick:()=>{r(!e),i&&i.id&&s&&x(i.id,i.subscriptionStatus)},children:[(0,t.jsx)(c.default,{id:"header-search"}),!e&&(0,t.jsx)("span",{children:"Search"})]}),(0,t.jsx)("div",{className:e?"":"sr-only",children:(0,t.jsx)(d.SearchBoxUpdated,{showSearch:a,setShowSearch:o,isLoggedIn:m,session:s,userInfo:i,utmCodes:f.utmCodes,referrer:h,isPageRouter:p})})]})};var f=e.i(850355);e.s(["SearchAndPrompts",0,({hideRegisterAndLogin:e,hideSubscribe:l,absolutelyNoSolicitation:c,isLoggedIn:d,redirect:u,simplified:h,showSearchBar:p,setShowSearchBar:x,session:g,showSearch:b,setShowSearch:y,user:v,cookies:w,isPageRouter:k,paymentType:j})=>{let{fireOffHeaderSubscribeAmplitude:S,fireOffHeaderGiftSubscriptionAmplitude:N}=(0,n.useAmplitude)(),_=(0,a.useDomainReferrer)(),I=(0,f.default)()??"";return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"tablet:hidden flex text-14 w-1/3 justify-end transition-all duration-200 h-[2.5rem]",onClick:()=>{(0,s.track)(`${d?"account":"register"}_clicked_header`,{chart:""})},children:e||c?null:d?(0,t.jsx)(o.SecondaryLink,{id:"header-account",className:"hideElementSiteWide",href:"/account",children:"Account"}):(0,t.jsxs)("div",{className:"flex gap-[8px]",children:[!l&&(0,t.jsx)(r.PrimaryLink,{id:"header-sub
2scribe",href:"/subscribe",className:"hideElementSiteWide",children:"Subscribe"}),(0,t.jsx)(o.SecondaryLink,{id:"header-login",className:"hideElementSiteWide",href:"/login",children:"Login"})]})}),(0,t.jsxs)("div",{className:"hidden tablet:flex gap-[0.6rem]",children:[!h&&(0,t.jsx)("div",{className:"hidden tablet:flex self-center items-center gap-[1.3rem] text-18",children:(0,t.jsx)(m,{showSearchBar:p,setShowSearchBar:x,user:v,session:g,showSearch:b,setShowSearch:y,isLoggedIn:d,cookies:w,referrerDomain:_,isPageRouter:k})}),(0,t.jsx)("div",{className:"flex gap-[0.6rem]",children:!c&&(0,t.jsxs)(t.Fragment,{children:["pro"!==v?.subscriptionStatus&&"premium"!==v?.subscriptionStatus||"webStripe"!==j||l?(0,t.jsx)("div",{onClick:()=>{I.includes("subscribe")||(0,a.setLocalReferrerToSubscribe)("header"),v&&v.id&&g&&((0,i.hasWebPolicy)(i.Policy.CanGiftSubscription,v)?N(v.id,v.subscriptionStatus):S(v.id,I,v.subscriptionStatus)),(0,a.setAmplitudeEventProps)("Subscribe-Enter",{section:I,entryPoint:"Header"})},id:"subscribe-top",className:"hideElementSiteWide flex items-center",children:(0,i.hasWebPolicy)(i.Policy.CanGiftSubscription,v)?(0,t.jsx)(r.PrimaryLink,{updatedHeader:!0,href:"/gift",id:"gift-button",children:"Send Gift"}):!I.includes("subscribe")&&!l&&(0,t.jsx)(r.PrimaryLink,{updatedHeader:!0,href:"/subscribe",children:"Subscribe"})}):(0,t.jsx)(r.PrimaryLink,{updatedHeader:!0,href:"/subscribe",id:"header-upgrade","data-click-event-name":"header_upgrade_button_click",onClick:()=>{(0,a.setLocalReferrerToSubscribe)("header"),(0,s.track)("upgrade_clicked_header",{chart:""}),(0,a.setAmplitudeEventProps)("Subscribe-Enter",{section:I,entryPoint:"Header"})},children:"Upgrade"}),(0,t.jsx)("div",{onClick:()=>{(0,s.track)("header_account",{chart:d?"my_account":"login"})},children:e||c?null:d?(0,t.jsx)(o.SecondaryLink,{updatedHeader:!0,id:"header-account",href:"/account",children:"My Account"}):(0,t.jsx)(o.SecondaryLink,{id:"header-login",href:u?`/login?redirect=${u}`:"/login",updatedHeader:!0,children:"Login"})})]})})]})]})}],782721)},489079,e=>{e.v({"search-bottom-row":"search-item-module__AqCh4q__search-bottom-row","search-result":"search-item-module__AqCh4q__search-result","search-top-row":"search-item-module__AqCh4q__search-top-row"})},653396,224652,e=>{"use strict";var t=e.i(486118);let r=async(e,r,i)=>{let n="/public/search/url";r&&(n="/v04/search/url"),i&&(n+="?includeInternalPages=true");try{return await (0,t.post)(n,{url:e},r)}catch(e){console.log(e);return}};function i(e){if(!e)return{sections:void 0,singleResult:void 0};if(e.event)return{sections:void 0,singleResult:{...e.event,type:"event"}};if(e.interest)return{sections:void 0,singleResult:e.interest};let t=Array.isArray(e.searchResults)?e.searchResults:[];if(0===t.length)return{sections:void 0,singleResult:void 0};let r=t.reduce((e,t,r)=>"object"==typeof t&&null!==t&&"event"===t.type?(e.articles.items.push(t),null===e.articles.firstIndex&&(e.articles.firstIndex=r),e):"object"==typeof t&&null!==t&&"interest"===t.type?(e.interests.items.push(t),null===e.interests.firstIndex&&(e.interests.firstIndex=r),e):"object"==typeof t&&null!==t&&"feed"===t.type?(e.feeds.items.push(t),null===e.feeds.firstIndex&&(e.feeds.firstIndex=r),e):("object"==typeof t&&null!==t&&"internalPage"===t.type&&(e.about.items.push(t),null===e.about.firstIndex&&(e.about.firstIndex=r)),e),{articles:{items:[],firstIndex:null},interests:{items:[],firstIndex:null},feeds:{items:[],firstIndex:null},about:{items:[],firstIndex:null}}),i=[];return null!==r.articles.firstIndex&&i.push({type:"articles",items:r.articles.items,firstIndex:r.articles.firstIndex,sectionRank:0}),null!==r.interests.firstIndex&&i.push({type:"interests",items:r.interests.items,firstIndex:r.interests.firstIndex,sectionRank:0}),null!==r.feeds.firstIndex&&i.push({type:"feeds",items:r.feeds.items,firstIndex:r.feeds.firstIndex,sectionRank:0}),null!==r.about.firstIndex&&i.push({type:"about",items:r.about.items,firstIndex:r.about.firstIndex,sectionRank:0}),i.sort((e,t)=>e.firstIndex-t.firstIndex),{sections:i.map((e,t)=>({...e,sectionRank:t})),singleResult:void 0}}e.s(["getSearchUrl",0,r],653396),e.s(["processSearchResults",()=>i],224652)},557033,e=>{e.v({"search-box":"search-box-module__5YaRwq__search-box","search-box-add-transition":"search-box-module__5YaRwq__search-box-add-transition","search-box-dynamic-width":"search-box-module__5YaRwq__search-box-dynamic-width","search-box-find-page":"search-box-module__5YaRwq__search-box-find-page","search-box-mobile":"search-box-module__5YaRwq__search-box-mobile","search-box-show":"search-box-module__5YaRwq__search-box-show","search-button":"search-box-module__5YaRwq__search-button","search-sub-bar":"search-box-module__5YaRwq__search-sub-bar",show:"search-box-module__5YaRwq__show"})},161471,e=>{"use strict";var t=e.i(604362),r=e.i(127460),i=e.i(976755),n=e.i(641712),s=e.i(431227),a=e.i(653396),o=e.i(172465),l=e.i(517746),c=e.i(905649),d=e.i(500679),u=e.i(927232),m=e.i(115647),f=e.i(101152),h=e.i(88867),p=e.i(88454),x=e.i(363256),g=e.i(520380);let b=e.r(489079),y=({children:e})=>(0,t.jsx)("div",{className:`flex w-full ${b["search-result"]} text-dark-heavy hover:text-dark-light dark:text-light-heavy dark:hover:text-light-light`,children:e}),v="https://groundnews.b-cdn.net/assets/event_placeholders/headlines.jpg",w=(e,r,i)=>{if(!r)return e;if(!e)return r;let n=RegExp(`(${r.replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&")})`,"gi"),s=e.split(n),a=e.replace(n,"");if(i){let e=[];for(let[i,n]of s.entries())n.toLowerCase()===r.toLowerCase()?e.push((0,t.jsx)("span",{className:"text-dark-light hover:text-light-primary dark:text-light-primary dark:hover:text-light-primary",children:n},`${r}_gray_auto_${i}`)):e.push((0,t.jsx)("span",{children:n},`${n}${i}_fill`));return e}if(s[0].toLowerCase()===r.toLowerCase()||""===s[0]&&s[1].toLowerCase()===r.toLowerCase()){let e=s[0].toLowerCase()===r.toLowerCase()?s[0]:s[1];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{children:i?e:(0,u.titleCase)(e)}),(0,t.jsx)("span",{className:"text-dark-primary dark:text-light-primary",children:a})]})}return(0,t.jsx)("span",{className:"text-dark-primary dark:text-light-primary",children:e})},k=({result:e,query:i,isLoggedIn:n,setModifyInterestFollow:s,session:a,userInfo:u,utmCodes:k,referrer:j,index:S,reset:N,sectionRank:_,isPageRouter:I})=>{let L,$,C;return"event"===e.type?((e,r,i,n,s,a,o,l,u)=>{let{fireOffEvRoomEnterAmplitude:h}=(0,f.useAmplitude)(),x=(0,d.articleAs)(e);return(0,t.jsxs)(c.default,{as:x,href:(0,d.articleLink)(),id:`search-click-article-${x}`,onClick:()=>{i&&i.id&&n&&h(i.id,"Search","Search",e.title,e.id,i.subscriptionStatus,s?.utm_source,s?.utm_medium,s?.utm_campaign,a,o?o+1:void 0,void 0,"Search"),(0,p.track)("result_clicked",{chart:`${o}-${l}-article-${r?.length}`}),(0,p.track)("result_clicked_term",{chart:`${o}-${l}-article-${r}-${x}`}),u?.()},className:`flex w-full px-[0.6rem] py-[5px] ${b["search-result-updated"]}`,children:[(0,t.jsx)(g.default,{alt:e.title,className:"h-[4.4rem] w-[4.4rem] aspect-square object-cover max-md:hidden",style:{maxWidth:"4.25rem",maxHeight:"4.25rem"},src:(0,m.getImageUrl)(e,270,120,void 0,!0).getOrElse(v),width:70,height:70,onError:e=>{e.currentTarget.src=v}}),(0,t.jsx)(y,{children:(0,t.jsxs)("div",{className:"flex flex-col mx-[0.6rem]",children:[(0,t.jsx)("span",{className:"font-bold text-14",children:w(e.title,r,!0)}),e.sourceCount&&(0,t.jsxs)("span",{className:"text-12",children:[e.sourceCount," Sources ",e.start?`- ${new Date(e.start).toDateString()}`:""]})]})})]},e.id)})(e,i,u,a,k,j,S,_,N):"feed"===e.type?(0,t.jsxs)(c.default,{href:`/feed/${e.slug}`,id:`feed-search-${e.slug}`,className:`flex w-full items-center ${b["search-result"]}`,onClick:()=>{(0,p.track)("result_clicked",{chart:`${S}-${_}-feed-${i?.length}`}),(0,p.track)("result_clicked_term",{chart:`${S}-${_}-feed-${i}-${e.slug}`}),N?.()},children:[(0,t.jsx)(g.default,{alt:e.title,className:"w-[3.1rem] h-[3.1rem] rounded-full object-cover",src:e.icon||v,width:50,height:50}),(0,t.jsx)(y,{children:(0,t.jsx)("div",{className:"flex flex-col mx-[0.6rem]",children:(0,t.jsx)("span",{className:"font-bold text-14",children:w(e.title,i,!0)})})})]},`feed-${e.id}
2`):"internalPage"===e.type?(L="internalPage",$=e.id,C=e.title.toLowerCase().includes("page")?e.title:`${e.title} Page`,(0,t.jsxs)(c.default,{href:e.directArticleUrl,onClick:()=>{(0,p.track)("result_clicked",{chart:`${S}-${_}-${L}-${i?.length}`}),(0,p.track)("result_clicked_term",{chart:`${S}-${_}-${L}-${i}-${$}`}),N?.()},className:`flex w-full px-[0.6rem] py-[0.6rem] ${b["search-result-updated"]} items-center justify-between hover:bg-light-light dark:hover:bg-dark-heavy transition-colors`,children:[(0,t.jsx)("span",{className:"font-bold text-14 text-dark-primary dark:text-light-primary",children:C}),(0,t.jsx)(o.FontAwesomeIcon,{icon:l.faArrowRight,className:"text-14 text-dark-heavy dark:text-light-heavy ml-[0.6rem]",style:{transform:"rotate(-45deg)"}})]})):((e,i,n,s,a,u,m,v,k,j)=>{let{fireOffInterestFollowAmplitudeEvent:S,fireOffInterestUnfollowAmplitudeEvent:N}=(0,f.useAmplitude)(),{followInterest:_}=(0,x.useFollowInterest)(e.id,u,i),[I,L]=(0,r.useState)(e.youFollow),[$,C]=(0,r.useState)(!1),[R,A]=(0,r.useState)(!1),E="title"in e?w(e.title,n):w(e.name,n),F="title"in e?e.title:e.name||e.slug,P=e.subType||e.type;(0,r.useEffect)(()=>{$&&!I?A(!0):A(!1)},[$,I]);let M=async()=>{if(u){let{hasHitLimit:e}=await _(!!I);C(!!e),e||L(!I)}};return(0,t.jsxs)(y,{children:[(0,t.jsx)(c.default,{as:(0,d.interestAs)(e),href:(0,d.interestLink)(),id:`search-click-interest-${(0,d.interestAs)(e)}`,className:"block",style:{width:s?"95%":"100%"},onClick:()=>{(0,p.track)("result_clicked",{chart:`${k}-${j}-interest_${P}-${n?.length}`}),(0,p.track)("result_clicked_term",{chart:`${k}-${j}-interest_${P}-${n}-${F}`}),v?.()},children:(0,t.jsxs)("div",{className:"flex text-15 truncate justify-between",children:[(0,t.jsxs)("div",{className:"flex truncate items-center",children:[(0,t.jsx)(g.default,{alt:"Interest",className:"w-[3.1rem] h-[3.1rem] rounded-full",src:e.icon||"https://groundnews.b-cdn.net/assets/interest_placeholders/news_default_inv.png",width:50,height:50,onError:e=>{e.currentTarget.src="https://groundnews.b-cdn.net/assets/interest_placeholders/news_default_inv.png"}}),(0,t.jsx)("span",{className:`ml-[0.6rem] truncate ${b["search-top-row-updated"]}`,children:E})]}),(0,t.jsx)("div",{className:"flex mt-[0.9rem] mx-[1.3rem]",children:(0,t.jsxs)("span",{className:"text-12 text-dark-heavy dark:text-light-heavy",children:[(0,h.formatWithCommas)(e.refCount??0)," Recent Stories"]})})]})},e.id),s&&(0,t.jsxs)("div",{className:"relative group",children:[R&&(0,t.jsx)("div",{className:"absolute bottom-0 left-0 w-[8.8rem] text-12 leading-6 hidden group-hover:flex bg-dark-primary text-light-primary -mt-[1.3rem] text-center -ml-[8.8rem] rounded-[4px] py-[4px] px-[8px] tracking-tight",children:"Follow limit reached. Subscribe to follow more topics."}),(0,t.jsx)(o.FontAwesomeIcon,{onClick:()=>{a?.(!0),M(),u&&m?.id&&(I?N(e,"Search"):S(e,"Search"))},icon:I?l.faMinusCircle:l.faPlusCircle,className:`mt-[0.9rem] text-18 mr-[1.3rem] text-dark-primary dark:text-light-primary ${!I&&$?"cursor-not-allowed":"cursor-pointer"}`},`${e.id}_follow_button`)]})]},`${e.id}_outer_div`)})(e,I,i,n,s,a,u,N,S,_)},j=({title:e})=>(0,t.jsx)("div",{className:"font-normal text-14 p-[0.6rem] h-[2.2rem] bg-tertiary-light text-dark-primary dark:text-light-primary dark:bg-dark-heavy leading-[0.94rem]",children:e}),S=({query:e,sections:r,singleResult:i,isLoggedIn:n,setModifyInterestFollow:s,session:a,userInfo:c,utmCodes:d,referrer:u,reset:m,isPageRouter:f})=>r||i?r&&r.length>0||i?(0,t.jsxs)(t.Fragment,{children:[i?.type==="event"&&(0,t.jsxs)("div",{className:"flex flex-row py-[0.6rem] pl-[0.6rem] w-full items-center mb-[0.6rem] bg-[#D1BD91] leading-[1.75rem]",children:[(0,t.jsx)(o.FontAwesomeIcon,{className:"text-18",color:"#000000",icon:l.faBolt}),(0,t.jsx)("span",{className:"ml-[0.6rem] font-bold text-18",children:"BAM! We found your URL."})]}),r?.map((r,i)=>{switch(r.type){case"about":return(0,t.jsxs)("div",{children:[(0,t.jsx)(j,{title:"About"}),r.items.map((r,o)=>(0,t.jsx)(k,{result:r,query:e,isLoggedIn:n,setModifyInterestFollow:s,session:a,userInfo:c,utmCodes:d,referrer:u,index:o,sectionRank:i,isPageRouter:f,reset:m},`about-${r.id??o}
2`))]},"about");case"articles":return(0,t.jsxs)("div",{children:[(0,t.jsx)(j,{title:"Stories"}),r.items.map((r,o)=>(0,t.jsx)(k,{result:r,query:e,isLoggedIn:n,setModifyInterestFollow:s,session:a,userInfo:c,utmCodes:d,referrer:u,index:o,sectionRank:i,isPageRouter:f,reset:m},`article-${r.id??o}`))]},"articles");case"interests":return(0,t.jsxs)("div",{children:[(0,t.jsx)(j,{title:"Interests"}),r.items.map((r,o)=>(0,t.jsx)(k,{result:r,query:e,isLoggedIn:n,setModifyInterestFollow:s,session:a,index:o,sectionRank:i,isPageRouter:f,reset:m},`interest-${r.id??o}`))]},"interests");case"feeds":return(0,t.jsxs)("div",{children:[(0,t.jsx)(j,{title:"Feeds"}),r.items.map((r,o)=>(0,t.jsx)(k,{result:r,query:e,isLoggedIn:n,setModifyInterestFollow:s,session:a,index:o,sectionRank:i,isPageRouter:f,reset:m},`feed-${r.id??o}`))]},"feeds");default:return null}}),i&&(0,t.jsx)(k,{result:i,query:e,isLoggedIn:n,setModifyInterestFollow:s,session:a,userInfo:c,utmCodes:d,referrer:u,index:0,sectionRank:0,isPageRouter:f})]}):(0,t.jsxs)("div",{className:"flex w-full px-[0.6rem] py-[5px] bg-light-primary text-dark-heavy dark:bg-dark-light dark:text-light-heavy",children:[(0,t.jsx)("div",{className:"w-[4.4rem] h-[4.4rem] flex items-center justify-center bg-light-light dark:bg-dark-heavy rounded max-md:hidden",children:(0,t.jsx)(o.FontAwesomeIcon,{className:"text-24 text-gray-400",icon:l.faExclamationCircle})}),(0,t.jsx)("div",{className:"flex w-full text-dark-primary dark:text-light-heavy cursor-default",children:(0,t.jsxs)("div",{className:"flex flex-col mx-[0.6rem] justify-center",children:[(0,t.jsx)("span",{className:"font-bold text-14",children:"No Results Found"}),(0,t.jsx)("span",{className:"text-12 text-light-heavy",children:"Try adjusting your search terms"})]})})]}):(0,t.jsxs)("div",{className:"flex px-[0.6rem] flex-row items-center bg-light-primary text-dark-primary dark:bg-dark-light dark:text-light-primary",children:[(0,t.jsx)(o.FontAwesomeIcon,{className:"text-18",icon:l.faSpinner,spin:!0}),(0,t.jsx)("span",{className:"ml-[0.6rem] font-bold text-18",children:"Searching..."})]});var N=e.i(895832),_=e.i(29158),I=e.i(224652);let L=e.r(557033);e.s(["SearchBoxUpdated",0,({findPage:e,mobile:o,setShowSearch:l,selectOnLoad:c,showSearch:d,searchText:u,isLoggedIn:m,session:f,fullWidth:h,userInfo:x,utmCodes:g,referrer:b,isPageRouter:y})=>{let[v,w]=(0,r.useState)(!1),{refs:k,floatingStyles:j,update:$}=(0,i.useFloating)({placement:"bottom-start",middleware:[(0,s.offset)(4),(0,s.size)({apply({elements:e}){let t=window.innerWidth<768?-20:10,r=Math.round(e.reference.getBoundingClientRect().width-t);e.floating.style.width=`${r}px`,window.innerWidth<768&&(e.floating.style.left="0px")}}),{name:"mobileTransform",fn:({elements:e,x:t,y:r})=>(window.innerWidth<768&&e.floating&&(e.floating.style.transform="translate3d(0px, 114px, 0px)"),{x:window.innerWidth<768?0:t,y:r})}],whileElementsMounted:n.autoUpdate}),[C,R]=(0,r.useState)(""),[A,E]=(0,r.useState)(void 0),[F,P]=(0,r.useState)(!1);(0,_.useDebounce)(()=>{C?C.length>1&&!v&&C.trim().length&&((0,p.track)("search_entered",{chart:C.length.toString()}),(0,p.track)("search_entered_term",{chart:C}),w(!0),E(void 0),(0,a.getSearchUrl)(C,f,!0).then(e=>{e||(P(!0),setTimeout(()=>P(!1),3e3),(0,p.track)("search_limit_hit",{chart:"auto"})),(0,p.track)("search_item",{chart:C,method:""}),E((0,I.processSearchResults)(e)),w(!1)})):E(void 0)},1e3,[C]),(0,r.useEffect)(()=>{u&&(R(u),setTimeout(()=>T(u),500))},[u]),(0,r.useEffect)(()=>{C&&l(!0)},[C]),(0,r.useEffect)(()=>{c&&document.getElementById("searchfield")?.focus()},[c]);let M=e=>{setTimeout(()=>{l(!1),E(void 0),R("")},500*!!e)};(0,N.useOutsideClick)(k.reference.current,()=>{window.innerWidth>=768&&M()});let T=e=>{e.length>1&&((0,p.track)("search_entered",{chart:e.length.toString()}),(0,p.track)("search_entered_term",{chart:e}),w(!0),E(void 0),(0,a.getSearchUrl)(e,f,!0).then(t=>{t||(P(!0),setTimeout(()=>P(!1),3e3),(0,p.track)("search_limit_hit",{chart:"enter"})),(0,p.track)("search_item",{chart:e,method:""}),E((0,I.processSearchResults)(t)),setTimeout(()=>w(!1),1500)}))},O=()=>{R(""),l(!1),E(void 0)},[D,H]=(0,r.useState)(!1);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{ref:k.setReference,className:`bg-transparent ${o?"tablet:hidden":L["search-box-mobile"]} ${L["search-box-updated"]} ${e?L["search-box-find-page"]:""}`,children:[(0,t.jsx)("div",{className:"flex flex-col h-full w-full",children:(0,t.jsxs)("div",{className:`flex h-full items-center ${h?"w-full":`w-[31.3rem] desktop:w-[31.3rem] bg-transparent tablet:w-[18.8rem] ${L["search-box-dynamic-width"]}`}`,children:[(0,t.jsx)("input",{name:"searchBar",id:"searchfield",type:"text",placeholder:"Enter an article's Web Address, URL, or type to search...",autoComplete:"off",onBlur:()=>window.innerWidth<768?M(!0):void 0,value:C,onChange:e=>{R(e.target.value)},onFocus:()=>{$()},onKeyDown:e=>"Enter"===e.key?T(C):void 0,className:"w-full focus:ring-0 border-none text-14 outline-none bg-light-primary bg-transparent placeholder-[var(--gray-200)] dark:placeholder-[var(--gray-200)] dark:text-light-primary tablet:pr-[1.3rem] desktop:pr-[3.8rem]"}),!!C&&(0,t.jsx)("button",{className:`text-dark-background dark:text-light-primary desktop:-ml-[3.8rem] -ml-[1.3rem] bg-light-primary bg-transparent px-[0.6rem] rounded-[6.25rem] h-[2.13rem] -mr-[0.7rem] ${L["search-button-updated"]} ${d?L.show:""}`,onClick:()=>{O()},type:"button",children:"X"})]})}),v||A||F?(0,t.jsx)("div",{ref:k.setFloating,style:{...j,overflow:"hidden",zIndex:1e3,marginTop:"0.19rem",borderRadius:"0px 0px 4px 4px"},className:"bg-transparent shadow-common",id:"search-content",children:(0,t.jsx)("div",{className:"container mx-auto ",children:F?(0,t.jsx)("div",{className:"text-14 p-[0.6rem]",children:"Too many requests received, please try again in a few moments..."}):(0,t.jsx)("div",{onClick:()=>!D&&O,className:"inline-flex max-h-[80vh] overflow-y-auto flex-col max-md:flex w-full max-md:px-[0.6rem] bg-light-primary text-dark-primary dark:bg-ground-black dark:text-light-primary",children:(0,t.jsx)(S,{sections:A?.sections,singleResult:A?.singleResult,query:C,isLoggedIn:m,setModifyInterestFollow:H,session:f,userInfo:x,utmCodes:g,referrer:b,reset:O,isPageRouter:y},C)})})}):null]}),(0,t.jsx)("div",{className:`md:hidden ${d?"py-[5px]":""}`})]})}],161471)},407136,e=>{"use strict";var t=e.i(127460);function r(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function i(e,t){let n=Object.keys(e),s=Object.keys(t);return n.length===s.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let s=e[n],a=t[n];return"function"==typeof s?`${s}`==`${a}`:r(s)&&r(a)?i(s,a):s===a})}function n(e){return e.concat().sort((e,t)=>
2e.name>t.name?1:-1).map(e=>e.options)}function s(e){return"number"==typeof e}function a(e){return"string"==typeof e}function o(e){return"boolean"==typeof e}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function c(e){return Math.abs(e)}function d(e){return Math.sign(e)}function u(e){return p(e).map(Number)}function m(e){return e[f(e)]}function f(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,r)=>t+r)}function p(e){return Object.keys(e)}function x(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function g(){let e=[],t={add:function(r,i,n,s={passive:!0}){let a;return"addEventListener"in r?(r.addEventListener(i,n,s),a=()=>r.removeEventListener(i,n,s)):(r.addListener(n),a=()=>r.removeListener(n)),e.push(a),t},clear:function(){e=e.filter(e=>e())}};return t}function b(e=0,t=0){let r=c(e-t);function i(r){return r<e||r>t}return{length:r,max:t,min:e,constrain:function(r){return i(r)?r<e?e:t:r},reachedAny:i,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return r?e-r*Math.ceil((e-t)/r):e}}}function y(e){let t=e;function r(e){return s(e)?e:e.get()}return{get:function(){return t},set:function(e){t=r(e)},add:function(e){t+=r(e)},subtract:function(e){t-=r(e)}}}function v(e,t){let r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},i=t.style,n=null,s=!1;return{clear:function(){!s&&(i.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(s)return;let a=Math.round(100*e.direction(t))/100;a!==n&&(i.transform=r(a),n=a)},toggleActive:function(e){s=!e}}}let w={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function k(e,t,r){let i,n,j,S,N,_,I,L,$=e.ownerDocument,C=$.defaultView,R=function(e){function t(e,t){return function e(t,r){return[t,r].reduce((t,r)=>(p(r).forEach(i=>{let n=t[i],s=r[i],a=l(n)&&l(s);t[i]=a?e(n,s):s}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(r){let i=r.breakpoints||{},n=p(i).filter(t=>e.matchMedia(t).matches).map(e=>i[e]).reduce((e,r)=>t(e,r),{});return t(r,n)},optionsMediaQueries:function(t){return t.map(e=>p(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(C),A=(L=[],{init:function(e,t){return(L=t.filter(({options:e})=>!1!==R.optionsAtMedia(e).active)).forEach(t=>t.init(e,R)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){L=L.filter(e=>e.destroy())}}),E=g(),F=(n={},j={init:function(e){i=e},emit:function(e){return(n[e]||[]).forEach(t=>t(i,e)),j},off:function(e,t){return n[e]=(n[e]||[]).filter(e=>e!==t),j},on:function(e,t){return n[e]=(n[e]||[]).concat([t]),j},clear:function(){n={}}}),{mergeOptions:P,optionsAtMedia:M,optionsMediaQueries:T}=R,{on:O,off:D,emit:H}=F,W=!1,B=P(w,k.globalOptions),q=P(B),U=[];function V(t,r){W||(q=M(B=P(B,t)),U=r||U,function(){let{container:t,slides:r}=q;_=(a(t)?e.querySelector(t):t)||e.children[0];let i=a(r)?_.querySelectorAll(r):r;I=[].slice.call(i||_.children)}(),S=function t(r){let i=function(e,t,r,i,n,l,w){var k,j;let S,N,_,I,L,$,C,R,A,E,F,P,M,T,{align:O,axis:D,direction:H,startIndex:W,loop:B,duration:q,dragFree:U,dragThreshold:V,inViewThreshold:z,slidesToScroll:Y,skipSnaps:G,containScroll:K,watchResize:J,watchSlides:Q,watchDrag:X,watchFocus:Z}=l,ee={measure:function(e){let{offsetTop:t,offsetLeft:r,offsetWidth:i,offsetHeight:n}=e;return{top:t,right:r+i,bottom:t+n,left:r,width:i,height:n}}},et=ee.measure(t),er=r.map(ee.measure),ei=(N="rtl"===H,I=(_="y"===D)||!N?1:-1,L=_?"top":N?"right":"left",$=_?"bottom":N?"left":"right",{scroll:_?"y":"x",cross:_?"x":"y",startEdge:L,endEdge:$,measureSize:function(e){let{height:t,width:r}=e;return _?t:r},direction:function(e){return e*I}}),en=ei.measureSize(et),es={measure:function(e){return e/100*en}},ea=(k=O,j=en,S={start:function(){return 0},center:function(e){return(j-e)/2},end:function(e){return j-e}},{measure:function(e,t){return a(k)?S[k](e):k(j,e,t)}}),eo=!B&&!!K,{slideSizes:el,slideSizesWithGaps:ec,startGap:ed,endGap:eu}=function(e,t,r,i,n,s){let{measureSize:a,startEdge:o,endEdge:l}=e,d=r[0]&&n,u=function(){if(!d)return 0;let e=r[0];return c(t[o]-e[o])}(),h=d?parseFloat(s.getComputedStyle(m(i)).getPropertyValue(`margin-${l}`)):0,p=r.map(a),x=r.map((e,t,r)=>{let i=t===f(r);return t?i?p[t]+h:r[t+1][o]-e[o]:p[t]+u}).map(c);return{slideSizes:p,slideSizesWithGaps:x,startGap:u,endGap:h}}(ei,et,er,r,B||!!K,n),em=function(e,t,r,i,n,a,o,l,d){let{startEdge:h,endEdge:p,direction:x}=e,g=s(r);return{groupSlides:function(e){return g?u(e).filter(e=>e%r==0).map(t=>e.slice(t,t+r)):e.length?u(e).reduce((r,s,d)=>{let u=m(r)||0,g=s===f(e),b=n[h]-a[u][h],y=n[h]-a[s][p],v=i||0!==u?0:x(o),w=c(y-(!i&&g?x(l):0)-(b+v));return d&&w>t+2&&r.push(s),g&&r.push(e.length),r},[]).map((t,r,i)=>{let n=Math.max(i[r-1]||0);return e.slice(n,t)}):[]}}}(ei,en,Y,B,et,er,ed,eu,0),{snaps:ef,snapsAligned:eh}=function(e,t,r,i,n){let{startEdge:s,endEdge:a}=e,{groupSlides:o}=n,l=o(i).map(e=>m(e)[a]-e[0][s]).map(c).map(t.measure),d=i.map(e=>r[s]-e[s]).map(e=>-c(e)),u=o(d).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:d,snapsAligned:u}}(ei,ea,et,er,em),ep=-m(ef)+m(ec),{snapsContained:ex,scrollContainLimit:eg}=function(e,t,r,i,n){let s,a,o=b(-t+e,0),l=r.map((e,t)=>{let{min:i,max:n}=o,s=o.constrain(e),a=t===f(r);return t?a||function(e,t){return 1>=c(e-t)}(i,s)?i:function(e,t){return 1>=c(e-t)}(n,s)?n:s:n}).map(e=>parseFloat(e.toFixed(3))),d=(s=l[0],a=m(l),b(l.lastIndexOf(s),l.indexOf(a)+1));return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===i)return l;let{min:r,max:n}=d;return l.slice(r,n)}(),scrollContainLimit:d}}(en,ep,eh,K,0),eb=eo?ex:eh,{limit:ey}=(C=eb[0],{limit:b(B?C-ep:m(eb),C)}),ev=function e(t,r,i){let{constrain:n}=b(0,t),s=t+1,a=o(r);function o(e){return i?c((s+e)%s):n(e)}function l(){return e(t,a,i)}let d={get:function(){return a}
2,set:function(e){return a=o(e),d},add:function(e){return l().set(a+e)},clone:l};return d}(f(eb),W,B),ew=ev.clone(),ek=u(r),ej=function(e,t,r,i){let n=g(),s=1e3/60,a=null,o=0,l=0;function c(e){if(!l)return;a||(a=e,r(),r());let n=e-a;for(a=e,o+=n;o>=s;)r(),o-=s;i(o/s),l&&(l=t.requestAnimationFrame(c))}function d(){t.cancelAnimationFrame(l),a=null,o=0,l=0}return{init:function(){n.add(e,"visibilitychange",()=>{e.hidden&&(a=null,o=0)})},destroy:function(){d(),n.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:d,update:r,render:i}}(i,n,()=>(({dragHandler:e,scrollBody:t,scrollBounds:r,options:{loop:i}})=>{i||r.constrain(e.pointerDown()),t.seek()})(eT),e=>(({scrollBody:e,translate:t,location:r,offsetLocation:i,previousLocation:n,scrollLooper:s,slideLooper:a,dragHandler:o,animation:l,eventHandler:c,scrollBounds:d,options:{loop:u}},m)=>{let f=e.settled(),h=!d.shouldConstrain(),p=u?f:f&&h,x=p&&!o.pointerDown();x&&l.stop();let g=r.get()*m+n.get()*(1-m);i.set(g),u&&(s.loop(e.direction()),a.loop()),t.to(i.get()),x&&c.emit("settle"),p||c.emit("scroll")})(eT,e)),eS=eb[ev.get()],eN=y(eS),e_=y(eS),eI=y(eS),eL=y(eS),e$=function(e,t,r,i,n,s){let a=0,o=0,l=n,u=.68,m=e.get(),f=0;function h(e){return l=e,x}function p(e){return u=e,x}let x={direction:function(){return o},duration:function(){return l},velocity:function(){return a},seek:function(){let t=i.get()-e.get(),n=0;return l?(r.set(e),a+=t/l,a*=u,m+=a,e.add(a),n=m-f):(a=0,r.set(i),e.set(i),n=t),o=d(n),f=m,x},settled:function(){return .001>c(i.get()-t.get())},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return h(n)},useFriction:p,useDuration:h};return x}(eN,eI,e_,eL,q,0),eC=function(e,t,r,i,n){let{reachedAny:s,removeOffset:a,constrain:o}=i;function l(e){return e.concat().sort((e,t)=>c(e)-c(t))[0]}function u(t,i){let n=[t,t+r,t-r];if(!e)return t;if(!i)return l(n);let s=n.filter(e=>d(e)===i);return s.length?l(s):m(n)-r}return{byDistance:function(r,i){let l=n.get()+r,{index:d,distance:m}=function(r){let i=e?a(r):o(r),{index:n}=t.map((e,t)=>({diff:u(e-i,0),index:t})).sort((e,t)=>c(e.diff)-c(t.diff))[0];return{index:n,distance:i}}(l),f=!e&&s(l);if(!i||f)return{index:d,distance:r};let h=r+u(t[d]-m,0);return{index:d,distance:h}},byIndex:function(e,r){let i=u(t[e]-n.get(),r);return{index:e,distance:i}},shortcut:u}}(B,eb,ep,ey,eL),eR=function(e,t,r,i,n,s,a){function o(n){let o=n.distance,l=n.index!==t.get();
2s.add(o),o&&(i.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(r.set(t.get()),t.set(n.index),a.emit("select"))}return{distance:function(e,t){o(n.byDistance(e,t))},index:function(e,r){let i=t.clone().set(e);o(n.byIndex(i.get(),r))}}}(ej,ev,ew,e$,eC,eL,w),eA=function(e){let{max:t,length:r}=e;return{get:function(e){return r?-((e-t)/r):0}}}(ey),eE=g(),eF=(A={},E=null,F=null,P=!1,{init:function(){R=new IntersectionObserver(e=>{P||(e.forEach(e=>{A[r.indexOf(e.target)]=e}),E=null,F=null,w.emit("slidesInView"))},{root:t.parentElement,threshold:z}),r.forEach(e=>R.observe(e))},destroy:function(){R&&R.disconnect(),P=!0},get:function(e=!0){if(e&&E)return E;if(!e&&F)return F;let t=p(A).reduce((t,r)=>{let i=parseInt(r),{isIntersecting:n}=A[i];return(e&&n||!e&&!n)&&t.push(i),t},[]);return e&&(E=t),e||(F=t),t}}),{slideRegistry:eP}=function(e,t,r,i,n,s){let a,{groupSlides:o}=n,{min:l,max:c}=i;return{slideRegistry:(a=o(s),1===r.length?[s]:e&&"keepSnaps"!==t?a.slice(l,c).map((e,t,r)=>{let i=t===f(r);return t?i?h(f(s)-m(r)[0]+1,m(r)[0]):e:h(m(r[0])+1)}):a)}}(eo,K,eb,eg,em,ek),eM=function(e,t,r,i,n,a,l,c){let d={passive:!0,capture:!0},u=0;function m(e){"Tab"===e.code&&(u=new Date().getTime())}return{init:function(f){c&&(a.add(document,"keydown",m,!1),t.forEach((t,m)=>{a.add(t,"focus",t=>{(o(c)||c(f,t))&&function(t){if(new Date().getTime()-u>10)return;l.emit("slideFocusStart"),e.scrollLeft=0;let a=r.findIndex(e=>e.includes(t));s(a)&&(n.useDuration(0),i.index(a,0),l.emit("slideFocus"))}(m)},d)}))}}}(e,r,eP,eR,e$,eE,w,Z),eT={ownerDocument:i,ownerWindow:n,eventHandler:w,containerRect:et,slideRects:er,animation:ej,axis:ei,dragHandler:function(e,t,r,i,n,s,a,l,u,m,f,h,p,y,v,w,k,j,S){let{cross:N,direction:_}=e,I=["INPUT","SELECT","TEXTAREA"],L={passive:!1},$=g(),C=g(),R=b(50,225).constrain(y.measure(20)),A={mouse:300,touch:400},E={mouse:500,touch:600},F=v?43:25,P=!1,M=0,T=0,O=!1,D=!1,H=!1,W=!1;function B(e){if(!x(e,i)&&e.touches.length>=2)return q(e);let t=s.readPoint(e),r=s.readPoint(e,N),a=c(t-M),o=c(r-T);if(!D&&!W&&(!e.cancelable||!(D=a>o)))return q(e);let d=s.pointerMove(e);a>w&&(H=!0),m.useFriction(.3).useDuration(.75),l.start(),n.add(_(d)),e.preventDefault()}function q(e){var t;let r,i,n=f.byDistance(0,!1).index!==h.get(),a=s.pointerUp(e)*(v?E:A)[W?"mouse":"touch"],o=(t=_(a),r=h.add(-1*d(t)),i=f.byDistance(t,!v).distance,v||c(t)<R?i:k&&n?.5*i:f.byIndex(r.get(),0).distance),l=function(e,t){var r,i;if(0===e||0===t||c(e)<=c(t))return 0;let n=(r=c(e),i=c(t),c(r-i));return c(n/e)}(a,o);D=!1,O=!1,C.clear(),m.useDuration(F-10*l).useFriction(.68+l/50),u.distance(o,!v),W=!1,p.emit("pointerUp")}function U(e){H&&(e.stopPropagation(),e.preventDefault(),H=!1)}return{init:function(e){S&&$.add(t,"dragstart",e=>e.preventDefault(),L).add(t,"touchmove",()=>void 0,L).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",q).add(t,"contextmenu",q).add(t,"click",U,!0);function l(l){(o(S)||S(e,l))&&function(e){let o,l=x(e,i);if((W=l,H=v&&l&&!e.buttons&&P,P=c(n.get()-a.get())>=2,!l||0===e.button)&&(o=e.target.nodeName||"",!I.includes(o))){let i;O=!0,s.pointerDown(e),m.useFriction(0).useDuration(0),n.set(a),i=W?r:t,C.add(i,"touchmove",B,L).add(i,"touchend",q).add(i,"mousemove",B,L).add(i,"mouseup",q),M=s.readPoint(e),T=s.readPoint(e,N),p.emit("pointerDown")}}(l)}},destroy:function(){$.clear(),C.clear()},pointerDown:function(){return O}}}(ei,e,i,n,eL,function(e,t){let r,i;function n(e){return e.timeStamp}function s(r,i){let n=i||e.scroll,s=`client${"x"===n?"X":"Y"}`;return(x(r,t)?r:r.touches[0])[s]}return{pointerDown:function(e){return r=e,i=e,s(e)},pointerMove:function(e){let t=s(e)-s(i),a=n(e)-n(r)>170;return i=e,a&&(r=e),t},pointerUp:function(e){if(!r||!i)return 0;let t=s(i)-s(r),a=n(e)-n(r),o=n(e)-n(i)>170,l=t/a;return a&&!o&&c(l)>.1?l:0},readPoint:s}}(ei,n),eN,ej,eR,e$,eC,ev,w,es,U,V,G,0,X),eventStore:eE,percentOfView:es,index:ev,indexPrevious:ew,limit:ey,location:eN,offsetLocation:eI,previousLocation:e_,options:l,resizeHandler:function(e,t,r,i,n,s,a){let l,d,u=[e].concat(i),m=[],f=!1;function h(e){return n.measureSize(a.measure(e))}
2return{init:function(n){s&&(d=h(e),m=i.map(h),l=new ResizeObserver(r=>{(o(s)||s(n,r))&&function(r){for(let s of r){if(f)return;let r=s.target===e,a=i.indexOf(s.target),o=r?d:m[a];if(c(h(r?e:i[a])-o)>=.5){n.reInit(),t.emit("resize");break}}}(r)}),r.requestAnimationFrame(()=>{u.forEach(e=>l.observe(e))}))},destroy:function(){f=!0,l&&l.disconnect()}}}(t,w,n,r,ei,J,ee),scrollBody:e$,scrollBounds:function(e,t,r,i,n){let s=n.measure(10),a=n.measure(50),o=b(.1,.99),l=!1;function d(){return!l&&!!e.reachedAny(r.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:d,constrain:function(n){if(!d())return;let l=e.reachedMin(t.get())?"min":"max",u=c(e[l]-t.get()),m=r.get()-t.get(),f=o.constrain(u/a);r.subtract(m*f),!n&&c(m)<s&&(r.set(e.constrain(r.get())),i.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}(ey,eI,eL,e$,es),scrollLooper:function(e,t,r,i){let{reachedMin:n,reachedMax:s}=b(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?s(r.get()):-1===t&&n(r.get())))return;let a=-1*t*e;i.forEach(e=>e.add(a))}}}(ep,ey,eI,[eN,eI,e_,eL]),scrollProgress:eA,scrollSnapList:eb.map(eA.get),scrollSnaps:eb,scrollTarget:eC,scrollTo:eR,slideLooper:function(e,t,r,i,n,s,a,o,l){let c=u(n),d=u(n).reverse(),m=p(h(d,a[0]),r,!1).concat(p(h(c,t-a[0]-1),-r,!0));function f(e,t){return e.reduce((e,t)=>e-n[t],t)}function h(e,t){return e.reduce((e,r)=>f(e,t)>0?e.concat([r]):e,[])}function p(n,a,c){let d=s.map((e,r)=>({start:e-i[r]+.5+a,end:e+t-.5+a}));return n.map(t=>{let i=c?0:-r,n=c?r:0,s=d[t][c?"end":"start"];return{index:t,loopPoint:s,slideLocation:y(-1),translate:v(e,l[t]),target:()=>o.get()>s?i:n}})}return{canLoop:function(){return m.every(({index:e})=>.1>=f(c.filter(t=>t!==e),t))},clear:function(){m.forEach(e=>e.translate.clear())},loop:function(){m.forEach(e=>{let{target:t,translate:r,slideLocation:i}=e,n=t();n!==i.get()&&(r.to(n),i.set(n))})},loopPoints:m}}(ei,en,ep,el,ec,ef,eb,eI,r),slideFocus:eM,slidesHandler:(T=!1,{init:function(e){Q&&(M=new MutationObserver(t=>{!T&&(o(Q)||Q(e,t))&&function(t){for(let r of t)if("childList"===r.type){e.reInit(),w.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){M&&M.disconnect(),T=!0}}),slidesInView:eF,slideIndexes:ek,slideRegistry:eP,slidesToScroll:em,target:eL,translate:v(ei,t)};return eT}(e,_,I,$,C,r,F);return r.loop&&!i.slideLooper.canLoop()?t(Object.assign({},r,{loop:!1})):i}(q),T([B,...U.map(({options:e})=>e)]).forEach(e=>E.add(e,"change",z)),q.active&&(S.translate.to(S.location.get()),S.animation.init(),S.slidesInView.init(),S.slideFocus.init(J),S.eventHandler.init(J),S.resizeHandler.init(J),S.slidesHandler.init(J),S.options.loop&&S.slideLooper.loop(),_.offsetParent&&I.length&&S.dragHandler.init(J),N=A.init(J,U)))}function z(e,t){let r=K();Y(),V(P({startIndex:r},e),t),F.emit("reInit")}function Y(){S.dragHandler.destroy(),S.eventStore.clear(),S.translate.clear(),S.slideLooper.clear(),S.resizeHandler.destroy(),S.slidesHandler.destroy(),S.slidesInView.destroy(),S.animation.destroy(),A.destroy(),E.clear()}function G(e,t,r){q.active&&!W&&(S.scrollBody.useBaseFriction().useDuration(!0===t?0:q.duration),S.scrollTo.index(e,r||0))}function K(){return S.index.get()}let J={canScrollNext:function(){return S.index.add(1).get()!==K()},canScrollPrev:function(){return S.index.add(-1).get()!==K()},containerNode:function(){return _},internalEngine:function(){return S},destroy:function(){W||(W=!0,E.clear(),Y(),F.emit("destroy"),F.clear())},off:D,on:O,emit:H,plugins:function(){return N},previousScrollSnap:function(){return S.indexPrevious.get()},reInit:z,rootNode:function(){return e},scrollNext:function(e){G(S.index.add(1).get(),e,-1)},scrollPrev:function(e){G(S.index.add(-1).get(),e,1)},scrollProgress:function(){return S.scrollProgress.get(S.offsetLocation.get())},scrollSnapList:function(){return S.scrollSnapList},scrollTo:G,selectedScrollSnap:K,slideNodes:function(){return I},slidesInView:function(){return S.slidesInView.get()},slidesNotInView:function(){return S.slidesInView.get(!1)}};return V(t,r),setTimeout(()=>F.emit("init"),0),J}function j(e={},r=[]){let s=(0,t.useRef)(e),a=(0,t.useRef)(r),[o,l]=(0,t.useState)(),[c,d]=(0,t.useState)(),u=(0,t.useCallback)(()=>{o&&o.reInit(s.current,a.current)},[o]);return(0,t.useEffect)(()=>{i(s.current,e)||(s.current=e,u())},[e,u]),(0,t.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let r=n(e),s=n(t);return r.every((e,t)=>i(e,s[t]))}(a.current,r)&&(a.current=r,u())},[r,u]),(0,t.useEffect)(()=>
2{if("u">typeof window&&window.document&&window.document.createElement&&c){k.globalOptions=j.globalOptions;let e=k(c,s.current,a.current);return l(e),()=>e.destroy()}l(void 0)},[c,l]),[d,o]}k.globalOptions=void 0,j.globalOptions=void 0,e.s(["default",()=>j],407136)},710503,e=>{"use strict";var t=e.i(127460),r=e.i(234585);function i(e){let i=(0,r.useFeatureFlagResult)(e);return(0,t.useMemo)(()=>({variant:i?.variant??i?.enabled,payload:i?.payload}),[i])}e.s(["useFeatureFlag",()=>i])},752426,e=>{"use strict";var t,r=e.i(821957),i=((t={}).System="system",t.Light="light",t.Dark="dark",t);e.s(["Theme",()=>i,"useTheme",0,()=>{let{theme:e,setTheme:t,resolvedTheme:i}=(0,r.useTheme)();return{theme:e,setTheme:t,resolvedTheme:i,isDark:"dark"===i}}])},431227,e=>{"use strict";var t=e.i(641712),r=e.i(127460),i=e.i(620348),n="u">typeof document?r.useLayoutEffect:function(){};function s(e,t){let r,i,n;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((r=e.length)!==t.length)return!1;for(i=r;0!=i--;)if(!s(e[i],t[i]))return!1;return!0}if((r=(n=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(i=r;0!=i--;)if(!({}).hasOwnProperty.call(t,n[i]))return!1;for(i=r;0!=i--;){let r=n[i];if(("_owner"!==r||!e.$$typeof)&&!s(e[r],t[r]))return!1}return!0}return e!=e&&t!=t}function a(e){return"u"<typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function o(e,t){let r=a(e);return Math.round(t*r)/r}function l(e){let t=r.useRef(e);return n(()=>{t.current=e}),t}function c(e){void 0===e&&(e={});let{placement:c="bottom",strategy:d="absolute",middleware:u=[],platform:m,elements:{reference:f,floating:h}={},transform:p=!0,whileElementsMounted:x,open:g}=e,[b,y]=r.useState({x:0,y:0,strategy:d,placement:c,middlewareData:{},isPositioned:!1}),[v,w]=r.useState(u);s(v,u)||w(u);let[k,j]=r.useState(null),[S,N]=r.useState(null),_=r.useCallback(e=>{e!==C.current&&(C.current=e,j(e))},[]),I=r.useCallback(e=>{e!==R.current&&(R.current=e,N(e))},[]),L=f||k,$=h||S,C=r.useRef(null),R=r.useRef(null),A=r.useRef(b),E=null!=x,F=l(x),P=l(m),M=l(g),T=r.useCallback(()=>{if(!C.current||!R.current)return;let e={placement:c,strategy:d,middleware:v};P.current&&(e.platform=P.current),(0,t.computePosition)(C.current,R.current,e).then(e=>{let t={...e,isPositioned:!1!==M.current};O.current&&!s(A.current,t)&&(A.current=t,i.flushSync(()=>{y(t)}))})},[v,c,d,P,M]);n(()=>{!1===g&&A.current.isPositioned&&(A.current.isPositioned=!1,y(e=>({...e,isPositioned:!1})))},[g]);let O=r.useRef(!1);n(()=>(O.current=!0,()=>{O.current=!1}),[]),n(()=>{if(L&&(C.current=L),$&&(R.current=$),L&&$){if(F.current)return F.current(L,$,T);T()}},[L,$,T,F,E]);let D=r.useMemo(()=>({reference:C,floating:R,setReference:_,setFloating:I}),[_,I]),H=r.useMemo(()=>({reference:L,floating:$}),[L,$]),W=r.useMemo(()=>{let e={position:d,left:0,top:0};if(!H.floating)return e;let t=o(H.floating,b.x),r=o(H.floating,b.y);return p?{...e,transform:"translate("+t+"px, "+r+"px)",...a(H.floating)>=1.5&&{willChange:"transform"}}:{position:d,left:t,top:r}},[d,p,H.floating,b.x,b.y]);return r.useMemo(()=>({...b,update:T,refs:D,elements:H,floatingStyles:W}),[b,T,D,H,W])}let d=(e,r)=>({...(0,t.offset)(e),options:[e,r]}),u=(e,r)=>({...(0,t.shift)(e),options:[e,r]}),m=(e,r)=>({...(0,t.limitShift)(e),options:[e,r]}),f=(e,r)=>({...(0,t.flip)(e),options:[e,r]}),h=(e,r)=>({...(0,t.size)(e),options:[e,r]}),p=(e,r)=>({...(0,t.hide)(e),options:[e,r]}),x=(e,r)=>({name:"arrow",options:e,fn(r){let{element:i,padding:n}="function"==typeof e?e(r):e;return i&&({}).hasOwnProperty.call(i,"current")?null!=i.current?(0,t.arrow)({element:i.current,padding:n}).fn(r):{}:i?(0,t.arrow)({element:i,padding:n}).fn(r):{}},options:[e,r]});e.s(["arrow",()=>x,"flip",()=>f,"hide",()=>p,"limitShift",()=>m,"offset",()=>d,"shift",()=>u,"size",()=>h,"useFloating",()=>c])},453780,e=>{"use strict";var t=e.i(127460);let r=!1,i=new Set;e.s(["setWebToAppBannerVisible",0,e=>{r!==e&&(r=e,i.forEach(t=>{t(e)}))},"useWebToAppBannerVisible",0,()=>{let[e,n]=(0,t.useState)(r);return(0,t.useEffect)(()=>(n(r),i.add(n),()=>{i.delete(n)}),[]),e}
2])}]);
3
4//# debugId=ca989755-a447-f217-c72d-e101fe1a90c2
5//# sourceMappingURL=99d929cf7fbfd4db.js.map
6//# chunkId=01a0b168-f81c-7ef3-b0bb-7e68638aecb7

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.