PageSourceSearch

https://www.spyglasses.io/_next/static/chunks/11370-7e52b0f0b2cd7465.js

js spyglasses.io collected 2026-09-24 19:10:44 UTC 12,596 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11370],{8907:(e,t,n)=>{"use strict";function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e}).apply(null,arguments)}n.d(t,{_:()=>s})},9156:(e,t,n)=>{"use strict";n.d(t,{F:()=>r});var s=n(81010);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=s.$,r=(e,t)=>n=>{var s;if((null==t?void 0:t.variants)==null)return l(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:r,defaultVariants:i}=t,o=Object.keys(r).map(e=>{let t=null==n?void 0:n[e],s=null==i?void 0:i[e];if(null===t)return null;let l=a(t)||a(s);return r[e][l]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,s]=t;return void 0===s||(e[n]=s),e},{});return l(e,o,null==t||null==(s=t.compoundVariants)?void 0:s.reduce((e,t)=>{let{class:n,className:s,...a}=t;return Object.entries(a).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...i,...c}[t]):({...i,...c})[t]===n})?[...e,n,s]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},11370:(e,t,n)=>{Promise.resolve().then(n.bind(n,45287)),Promise.resolve().then(n.bind(n,77454)),Promise.resolve().then(n.bind(n,58746)),Promise.resolve().then(n.bind(n,68698)),Promise.resolve().then(n.bind(n,82920)),Promise.resolve().then(n.t.bind(n,35142,23))},19310:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var s=n(18816),a=n(82964);let l=(0,n(9156).F)(["inline-block","rounded-full","px-3","py-1","text-xs","uppercase","font-semibold","leading-tight"],{variants:{status:{success:["bg-emerald-500/10","text-emerald-500"],info:["bg-primary/10","text-primary"],warning:["bg-amber-500/10","text-amber-500"],error:["bg-rose-500/10","text-rose-500"]}},defaultVariants:{status:"info"}}),r=e=>{let{children:t,className:n,status:r,...i}=e;return(0,s.jsx)("span",{className:(0,a.cn)(l({status:r}),n),...i,children:t})};r.displayName="Badge"},21420:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var s=n(57867),a=n(18786);let l="locale",r=!1;function i(){let e,t=(0,s.useParams)();try{e=(0,a.useLocale)()}catch(n){if("string"!=typeof(null==t?void 0:t[l]))throw n;r||(console.warn("Deprecation warning: `useLocale` has returned a default from `useParams().locale` since no `NextIntlClientProvider` ancestor was found for the calling component. This behavior will be removed in the next major version. Please ensure all Client Components that use `next-intl` are wrapped in a `NextIntlClientProvider`."),r=!0),e=t[l]}return e}},45287:(e,t,n)=>{"use strict";n.d(t,{CitationMixBars:()=>u,CoverageFunnelTile:()=>f,HiddenMediaCards:()=>m,McpTerminalTile:()=>x,RankedBarList:()=>d});var s=n(18816),a=n(17775),l=n(19310),r=n(82964),i=n(63078),o=n(24156),c=n(77454);function d(e){let{rows:t,suffix:n="%",className:a}
1=e,l=(0,c.QX)(),o=Math.max(...t.map(e=>e.value),1);return(0,s.jsx)("ul",{className:(0,r.cn)("space-y-3",a),children:t.map((e,t)=>(0,s.jsxs)("li",{children:[(0,s.jsxs)("div",{className:"flex items-baseline justify-between gap-2",children:[(0,s.jsxs)("span",{className:"flex min-w-0 items-baseline gap-2",children:[(0,s.jsx)("span",{className:"truncate text-sm font-medium",children:e.label}),(0,s.jsx)("span",{className:"hidden shrink-0 text-xs text-muted-foreground sm:inline",children:e.sublabel})]}),(0,s.jsxs)("span",{className:"shrink-0 font-mono text-sm font-semibold tabular-nums",children:[e.value.toFixed(+("%"===n)),n]})]}),(0,s.jsx)("div",{className:"mt-1 h-1.5 rounded-full bg-muted",children:(0,s.jsx)("div",{className:"h-full rounded-full motion-safe:transition-[width] motion-safe:duration-700 motion-safe:ease-out",style:{width:l?"".concat(e.value/o*100,"%"):"0%",backgroundColor:i.Hx[0],transitionDelay:"".concat(120*t,"ms")}})})]},e.label))})}function u(e){let{className:t}=e,n=(0,o.useTranslations)("marketing.citationIntelligence.widgets"),l=(0,c.QX)(),d=[{key:"attributed",color:i.Hx[0],opacity:1},{key:"contentMention",color:i.Hx[1],opacity:1},{key:"unrelated",color:"var(--muted-foreground)",opacity:.35}];return(0,s.jsxs)("div",{className:(0,r.cn)("space-y-3",t),children:[a.Qw.map(e=>(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-baseline justify-between text-xs",children:[(0,s.jsx)("span",{className:"font-mono text-muted-foreground",children:e.week}),(0,s.jsx)("span",{className:"font-mono tabular-nums text-muted-foreground",children:n("attributedShare",{pct:e.attributed})})]}),(0,s.jsx)("div",{className:"mt-1 flex h-2.5 overflow-hidden rounded-full bg-muted",children:d.map(t=>(0,s.jsx)("div",{className:"h-full motion-safe:transition-[width] motion-safe:duration-700 motion-safe:ease-out",style:{width:l?"".concat(e[t.key],"%"):"0%",backgroundColor:t.color,opacity:t.opacity}},t.key))})]},e.week)),(0,s.jsx)("div",{className:"flex flex-wrap gap-x-4 gap-y-1 pt-1 text-[11px] text-muted-foreground",children:d.map(e=>(0,s.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,s.jsx)("span",{className:"size-2 rounded-full",style:{backgroundColor:e.color,opacity:e.opacity}}),n("legend.".concat(e.key))]},e.key))})]})}function m(e){let{className:t}=e,n=(0,o.useTranslations)("marketing.citationIntelligence.widgets");return(0,s.jsx)("div",{className:(0,r.cn)("space-y-3",t),children:a.jt.map(e=>(0,s.jsxs)("div",{className:"rounded-xl border bg-background p-4",children:[(0,s.jsx)("div",{className:"flex items-center gap-2",children:(0,s.jsx)(l.E,{status:"hidden"===e.kind?"warning":"error",children:"hidden"===e.kind?n("badgeHidden"):n("badgeCompetitor")})}),(0,s.jsx)("p",{className:"mt-2 truncate font-mono text-sm text-foreground/90",children:e.page}),(0,s.jsx)("p",{className:"mt-1.5 text-xs text-muted-foreground",children:e.note})]},e.page))})}function x(e){let{className:t}=e,n=(0,c.QX)(),l=(0,r.cn)("motion-safe:transition-all motion-safe:duration-500",n?"motion-safe:translate-y-0 motion-safe:opacity-100":"motion-safe:translate-y-2 motion-safe:opacity-0"),i=e=>({transitionDelay:"".concat(260*e,"ms")});return(0,s.jsxs)("div",{className:(0,r.cn)("flex flex-col gap-3",t),children:[(0,s.jsxs)("div",{className:"flex items-center justify-between",children:[(0,s.jsxs)("span",{className:"flex items-center gap-1.5 text-xs font-semibold text-muted-foreground",children:["Publisher citations review",(0,s.jsx)("svg",{viewBox:"0 0 8 5",className:"size-2 fill-none stroke-current","aria-hidden":!0,children:(0,s.jsx)("path",{d:"M1 1l3 3 3-3",strokeWidth:"1.2"})})]}),(0,s.jsx)("span",{className:"rounded-md border bg-muted px-1.5 py-0.5 font-mono text-[10px] font-bold text-muted-foreground",children:"Spyglasses MCP \xb7 connected"})]}),a.K.map((e,t)=>"user"===e.role?(0,s.jsx)("div",{className:(0,r.cn)("ml-auto max-w-[85%] rounded-2xl bg-muted px-3.5 py-2 text-xs leading-relaxed text-foreground",l),style:i(t),children:e.text},e.text):(0,s.jsxs)("div",{className:(0,r.cn)("max-w-[92%]",l),style:i(t),children:[1===t?(0,s.jsx)("p",{className:"mb-1 text-[11px] italic text-muted-foreground
1/70",children:"Queried the Spyglasses MCP server"}):null,(0,s.jsxs)("p",{className:"text-xs leading-relaxed text-foreground/90",children:[e.text," ",(0,s.jsx)("span",{className:"inline-flex translate-y-px items-center rounded-full border bg-muted px-1.5 py-px text-[9px] font-medium text-muted-foreground",children:"Spyglasses"})]})]},e.text)),(0,s.jsxs)("div",{className:"mt-1 flex items-center gap-2 rounded-2xl border bg-background px-3 py-2.5",children:[(0,s.jsx)("span",{className:"flex size-5 shrink-0 items-center justify-center rounded-full border text-muted-foreground","aria-hidden":!0,children:(0,s.jsx)("svg",{viewBox:"0 0 10 10",className:"size-2.5 fill-none stroke-current",children:(0,s.jsx)("path",{d:"M5 1v8M1 5h8",strokeWidth:"1.2"})})}),(0,s.jsx)("span",{className:"flex-1 text-xs text-muted-foreground",children:"Write a message…"}),(0,s.jsxs)("span",{className:"flex shrink-0 items-center gap-1.5",children:[(0,s.jsx)("img",{src:"/images/claude-logo.svg",alt:"",className:"size-4","aria-hidden":!0}),(0,s.jsx)("span",{className:"text-xs font-semibold text-muted-foreground",children:"Claude"})]})]})]})}function f(e){let{className:t}=e,n=(0,o.useTranslations)("marketing.forPRFirms.v2.widgets"),l=(0,c.QX)(),d=[{key:"placements",label:n("stagePlacements"),value:a.N$.placements,color:"var(--muted-foreground)",opacity:.35},{key:"cited",label:n("stageCited"),value:a.N$.cited,color:i.Hx[0],opacity:.55},{key:"citedInline",label:n("stageInline"),value:a.N$.citedInline,color:i.Hx[0],opacity:1}],u=Math.max(...d.map(e=>e.value),1);return(0,s.jsxs)("div",{className:(0,r.cn)("space-y-3",t),children:[d.map((e,t)=>(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-baseline justify-between text-xs",children:[(0,s.jsx)("span",{className:"font-medium",children:e.label}),(0,s.jsx)("span",{className:"font-mono text-sm font-semibold tabular-nums",children:e.value})]}),(0,s.jsx)("div",{className:"mt-1 h-2.5 rounded-full bg-muted",children:(0,s.jsx)("div",{className:"h-full rounded-full motion-safe:transition-[width] motion-safe:duration-700 motion-safe:ease-out",style:{width:l?"".concat(e.value/u*100,"%"):"0%",backgroundColor:e.color,opacity:e.opacity,transitionDelay:"".concat(160*t,"ms")}})})]},e.key)),(0,s.jsx)("p",{className:"pt-0.5 text-[11px] text-muted-foreground",children:n("funnelCaption")})]})}},58746:(e,t,n)=>{"use strict";n.d(t,{FAQSection:()=>a});var s=n(18816);function a(e){let{title:t,description:n,items:a,className:l}=e;return(0,s.jsx)("div",{className:"py-16 bg-muted/30 ".concat(l||""),children:(0,s.jsxs)("div",{className:"container mx-auto px-4",children:[(0,s.jsxs)("div",{className:"text-center mb-12",children:[(0,s.jsx)("h2",{className:"text-3xl lg:text-4xl font-bold mb-4",children:t}),(0,s.jsx)("p",{className:"text-xl text-muted-foreground max-w-2xl mx-auto",children:n})]}),(0,s.jsx)("div",{className:"max-w-3xl mx-auto space-y-4",children:a.map((e,t)=>(0,s.jsxs)("div",{className:"bg-card rounded-xl p-6 border",children:[(0,s.jsx)("h3",{className:"text-lg font-semibold mb-3",children:e.question}),(0,s.jsx)("p",{className:"text-muted-foreground",children:e.answer})]},t))})]})})}},68698:(e,t,n)=>{"use strict";n.d(t,{default:()=>c});var s=n(8907),a=n(35142),l=n.n(a),r=n(57867),i=n(71948),o=n(21420),c=(0,i.forwardRef)(function(e,t){let{defaultLocale:n,href:a,locale:c,localeCookie:d,onClick:u,prefetch:m,unprefixed:x,...f}=e,p=(0,o.A)(),h=null!=c&&c!==p,g=c||p,v=function(){let[e,t]=(0,i.useState)();return(0,i.useEffect)(()=>{t(window.location.host)},[]),e}(),b=v&&x&&(x.domains[v]===g||!Object.keys(x.domains).includes(v)&&p===n&&!c)?x.pathname:a,j=(0,r.usePathname)();return h&&(m&&console.error("The `prefetch` prop is currently not supported when using the `locale` prop on `Link` to switch the locale.`"),m=!1),i.createElement(l(),(0,s._)({ref:t,href:b,hrefLang:h?c:void 0,onClick:function(e){(function(e,t,n,s){if(!e||s===n||null==s||!t)return;let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")}(t),{name:l,...r}=e;r.path||(r.path=""!==a?a:"/");let i="".concat(l,"=").concat(s,";");for(let[e,t]of Object.entries(r))i+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(i+="="+t),i+=";";document.cookie=i})(d,j,p,c),u&&u(e)},prefetch:m},f))})},82920:(e,t,n)=>{"use strict";n.d(t,{default:()=>u});var s=n(8907),a=n(57867),l=n(71948),r=n(21420);function i(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function o(e,t){let n;return"string"==typeof e?n=c(t,e):(n={...e},e.pathname&&(n.pathname=c(t,e.pathname))),n}function c(e,t){let n=e;
1return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),n+=t}n(37811);var d=n(68698);let u=(0,l.forwardRef)(function(e,t){let{href:n,locale:c,localeCookie:u,localePrefixMode:m,prefix:x,...f}=e,p=(0,a.usePathname)(),h=(0,r.A)(),g=c!==h,[v,b]=(0,l.useState)(()=>i(n)&&("never"!==m||g)?o(n,x):n);return(0,l.useEffect)(()=>{p&&b(function(e,t){var n,s;let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,l=arguments.length>3?arguments[3]:void 0,r=arguments.length>4?arguments[4]:void 0;if(!i(e))return e;let c=(n=r,(s=l)===n||s.startsWith("".concat(n,"/")));return(t!==a||c)&&null!=r?o(e,r):e}(n,c,h,p,x))},[h,n,c,p,x]),l.createElement(d.default,(0,s._)({ref:t,href:v,locale:c,localeCookie:u},f))});u.displayName="ClientLink"},82964:(e,t,n)=>{"use strict";n.d(t,{cn:()=>l});var s=n(81010),a=n(95986);function l(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,a.QP)((0,s.$)(t))}}}]);

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.