PageSourceSearch

https://www.dn.no/investor/_pulse/DCk2BYwL.js

js dn.no collected 2026-10-01 10:14:17 UTC 39,165 bytes, 1 lines download raw bytes

1import{_ as ge}from"./DuOfCX-Z.js";import W from"./D4G_9L3Y.js";import{_ as xe}from"./CUw4pbXj.js";import{_ as ke}from"./BnROEwKj.js";import{_ as ie}from"./Co_mShYz.js";import{d as H,b8 as pe,i as O,o as i,c as R,a as e,E as ee,l as v,h as m,f as t,t as r,b as a,e as f,n as z,g,a4 as Ue,F as X,r as ye,m as P,bf as we,S as qe,a7 as Re,U as Ie,a_ as ze,w as ne,bg as Ce,j as $e,ag as Se,M as te,aN as Ae,aQ as oe,W as ce,a6 as ue,a9 as be,am as me,bh as Ee,ba as je,_ as Be,u as J,G as Pe,aO as Fe,ae as Oe,k as He,p as Ne,I as Qe}from"./DjRoh7cm.js";import{_ as Me,s as We}from"./BbTHIdhe.js";import{_ as Ze}from"./CLrBGT7n.js";import{u as ae}from"./BCy0515n.js";import{u as Ke}from"./B4b3C7i3.js";import{h as se,l as he,_ as Ye,j as Ge,k as Xe,m as le,q as Je,r as ve}from"./BJGJdDj7.js";import{_ as fe}from"./DZTJzZ12.js";import{_ as _e}from"./j-G2pMb4.js";import{a as re,p as et,d as Te,e as tt,b as De,i as de,l as st}from"./C3uRr7wg.js";import{u as ot}from"./CRk_Kew1.js";import{o as rt,f as nt,s as at,u as lt,a as it}from"./CQ8bV0yh.js";import{u as ct}from"./CIh4zJK7.js";import{u as Le}from"./DFXs759s.js";const ut={class:"h-7.5 p-px rounded-full bg-ai-background w-fit flex items-center"},dt={type:"button",class:"bg-surface rounded-full items-center px-2.5 h-full cursor-pointer dark:shadow-[0_0_12px_color-mix(in_srgb,var(--ai-content-start)_35%,transparent),0_0_28px_color-mix(in_srgb,var(--ai-content-start)_14%,transparent)]"},pt={class:"bg-ai-content-gradient bg-clip-text text-transparent flex gap-1 text-xs uppercase"},mt={class:"line-height-none font-semibold tracking-widest whitespace-nowrap"},ft={class:"w-full flex gap-2 justify-between items-center"},_t={class:"space-y-4 overflow-y-auto text-sm leading-relaxed"},bt={class:"font-medium text-basic-text"},ht={class:"text-tertiary"},vt=H({__name:"PulseAiLabel",props:{label:{}},setup($){const s=$,{trackUserAction:o}=pe(),_=O();return(u,x)=>{const d=ge,I=W,C=xe,c=ke,p=ie;return i(),R(p,{modelValue:e(_),"onUpdate:modelValue":x[1]||(x[1]=k=>ee(_)?_.value=k:null),onOpenChange:x[2]||(x[2]=k=>e(o)({action:"beakon-ai-disclaimer-dialog"}))},{trigger:v(()=>[t("div",ut,[t("button",dt,[t("div",pt,[t("span",mt,r(s.label),1),m(d)])])])]),content:v(()=>[m(c,{variant:"glass",title:u.$t("pulse.ai.label.disclaimer.title")},{title:v(({title:k})=>[t("div",ft,[t("h2",null,r(k),1),m(C,{size:"small",rounded:"",type:"no-border",class:"text-secondary aspect-square w-fit p-0!",onClick:x[0]||(x[0]=b=>_.value=!1)},{default:v(()=>[m(I,{name:"mdi:close",size:"16"})]),_:1})])]),default:v(()=>[t("div",_t,[t("p",null,r(u.$t("pulse.ai.label.disclaimer.introduction")),1),t("p",null,r(u.$t("pulse.ai.label.disclaimer.methodology")),1),t("p",null,r(u.$t("pulse.ai.label.disclaimer.relevance")),1),t("p",null,[t("span",bt,r(u.$t("pulse.ai.label.disclaimer.caveat-title")),1),t("span",ht,r(u.$t("pulse.ai.label.disclaimer.caveat-description")),1)])])]),_:1},8,["title"])]),_:1},8,["modelValue"])}}}),Ao=Object.assign(vt,{__name:"PulseAiLabel"}),gt={class:"flex shrink-0 items-center h-[28px] rounded-full bg-muted px-2.5 text-[11px] leading-none text-muted-content tracking-widest whitespace-nowrap"},xt={class:"flex items-center leading-none gap-1"},kt=H({__name:"PulseAiInstrumentPill",props:{quant:{}},setup($){const s=$,{p:o,pTailwind:_}=ae(),u=a(()=>[s.quant]),{data:x}=Ke(u),d=a(()=>x.value?.find(p=>p.quant===s.quant)),I=a(()=>{if(d.value)return o.calculatePercent(d.value)}),C=a(()=>{if(d.value)return o.calculateChange(d.value)}),c=a(()=>{const p=I.value;if(p==null||Number.isNaN(p))return"";const k=o.dynamicPercentStr(p);return p>0?`+${k}`:k});return(p,k)=>{const b=Me,y=Ze;return i(),R(y,{quant:s.quant},{default:v(()=>[m(b,{quant:s.quant},{default:v(({model:w})=>[t("div",gt,[t("div",xt,[t("span",null,r(e(We)(w)),1),e(c)?(i(),f("span",{key:0,class:z(e(_).textClass(e(C)))},r(e(c)),3)):g("",!0)])])]),_:1},8,["quant"])]),_:1},8,["quant"])}}}),yt=Object.assign(kt,{__name:"PulseAiInstrumentPill"}),wt={class:"flex flex-col gap-5"},It={key:0,class:"border-t border-primary"},Ct=["onClick"],$t={class:"text-xs text-muted-secondary uppercase tracking-widest"},St={key:0},At={class:"font-semibold"},Pt={class:"text-xs text-muted-secondary uppercase tracking-widest"},Mt={key:0},Tt={class:"font-semibold"},Dt={key:3,class:"flex flex-col gap-0.5"},Lt={class:"text-xs text-muted-secondary uppercase tracking-widest"},Vt={key:0},Ut={class:"font-semibold"},qt={key:0,class:"relative w-20 lg:w-28 shrink-0"},Rt={key:0,class:"absolute bottom-0 w-20 lg:w-28 left-0 z-10 flex items-center rounded-b-md bg-accent pr-2 text-neutral-invert-content"},zt={class:"flex flex-col gap-0.5 w-full"},Et={class:"text-xs text-muted-secondary uppercase tracking-widest"},jt={class:"flex gap-1 text-muted-secondary text-xs uppercase tracking-widest"},Bt={key:0},Ft={key:1},Ot={class:"inline-flex items-start gap-1"},Ht={class:"flex flex-col gap-1"},Nt={class:"flex gap-1 text-muted-secondary text-xs uppercase tracking-widest"},Qt={key:0},Wt={class:"font-medium inline-flex items-start gap-1"},Zt={key:0,class:"border-t border-primary pt-5"},Kt={class:"flex flex-col gap-1"},Yt={class:"flex gap-1 text-muted-secondary text-xs uppercase tracking-widest"},Gt={class:"font-medium inline-flex items-start gap-1"},Xt={key:1,class:"border-t border-primary pt-5"},Jt={class:"flex flex-col items-start gap-1"},es={class:"flex gap-1 text-muted-secondary text-xs uppercase tracking-widest"},ts=7200*1e3,ss=H({__name:"PulseAiSourceItems",props:{sourceInfos:{},reportQuant:{},captureId:{},trackingAction:{default:"source"},trackingContext:{},isMarketReportSource:{type:Boolean}},emits:["liveCenterActivate"],setup($,{emit:s}){const o=$,_=s,{p:u}=ae(),{trackUserAction:x}=pe(),d=Ue(),I=qe(),C=ot(),c=a(()=>o.sourceInfos??se.value),p=a(()=>o.trackingContext??(o.isMarketReportSource?"market-report":"instrument-report")),
1k=n=>n._t==="dnArticleSourceInfo"||n._t==="lcSourceInfo",b=n=>n.publishedAt??Number.NEGATIVE_INFINITY,y=a(()=>{const n=c.value.filter(V=>V._t!=="quantSourceInfo"&&V._t!=="roboSourceInfo"&&V._t!=="roboSector"),D=n.filter(k).sort((V,Q)=>b(Q)-b(V));let S=0;const N=n.map(V=>k(V)?D[S++]:V),Z=c.value.filter(V=>V._t==="quantSourceInfo");return[...N,...Z]}),w=a(()=>c.value.filter(n=>n._t==="roboSourceInfo").length),T=a(()=>c.value.some(n=>n._t==="roboSector")),E=we(Te),j=n=>et(n)?.id,B=n=>!!E&&re(n)&&j(n)!=null;function h(n){if(n)switch(p.value){case"market-report":x({action:"beakon-market-report-source-click",sourceId:n,captureId:o.captureId});return;case"portfolio-report":x({action:o.trackingAction==="recommended-read"?"beakon-portfolio-report-recommended-read-click":"beakon-portfolio-report-source-click",quant:o.reportQuant,sourceId:n,captureId:o.captureId});return;case"instrument-report":if(!o.reportQuant)return;x({action:o.trackingAction==="recommended-read"?"beakon-instrument-report-recommended-read-click":"beakon-instrument-report-source-click",quant:o.reportQuant,sourceId:n,captureId:o.captureId})}}const L=n=>{const D=j(n);D&&(h(n),_("liveCenterActivate"),E?.({id:D}))},q=n=>n.quant,A=a(()=>{const n=d.params.quant;return(Array.isArray(n)?n[0]:n)?.toUpperCase()}),M=n=>A.value===n.quant.toUpperCase(),U=n=>!!n.imageUrl&&I.value.getTime()-n.publishedAt*1e3<ts;function F(n){const D=n.ticker?.trim();if(D)return D;const S=n.quant??o.reportQuant;if(!S)return;const N=C.modelsRecord[S];if(!(!N||!("ticker"in N)))return N.ticker?.trim()||void 0}const Y=a(()=>{const n={};for(const D of c.value)D._t==="exchangeMessageSourceInfo"&&(n[D.sourceId]=F(D));return n});return(n,D)=>{const S=Ye,N=fe,Z=_e,V=W,Q=Me;return i(),f("div",wt,[(i(!0),f(X,null,ye(e(y),(l,G)=>(i(),f(X,{key:`${l._t}-${l.sourceId}-${G}`},[G>0?(i(),f("div",It)):g("",!0),l._t==="lcSourceInfo"&&B(l.sourceId)?(i(),f("button",{key:1,type:"button",class:"flex flex-col gap-0.5 text-left cursor-pointer",onClick:K=>L(l.sourceId)},[t("span",$t,[P(r(n.$t("pulse.ai.source-items.live-center.publisher")),1),l.publishedAt!=null?(i(),f("span",St," · "+r(e(u).timeMinutesTodayOrDateStr(l.publishedAt)),1)):g("",!0),P(" · "+r(l.byline),1)]),t("h3",At,r(l.title||l.sourceId),1)],8,Ct)):l._t==="lcSourceInfo"&&e(he)(l.sourceId)?(i(),R(S,{key:2,to:e(he)(l.sourceId),class:"flex flex-col gap-0.5",onClick:K=>h(l.sourceId)},{default:v(()=>[t("span",Pt,[P(r(n.$t("pulse.ai.source-items.live-center.publisher")),1),l.publishedAt!=null?(i(),f("span",Mt," · "+r(e(u).timeMinutesTodayOrDateStr(l.publishedAt)),1)):g("",!0),P(" · "+r(l.byline),1)]),t("h3",Tt,r(l.title||l.sourceId),1)]),_:2},1032,["to","onClick"])):l._t==="lcSourceInfo"?(i(),f("div",Dt,[t("span",Lt,[P(r(n.$t("pulse.ai.source-items.live-center.publisher")),1),l.publishedAt!=null?(i(),f("span",Vt," · "+r(e(u).timeMinutesTodayOrDateStr(l.publishedAt)),1)):g("",!0),P(" · "+r(l.byline),1)]),t("h3",Ut,r(l.title||l.sourceId),1)])):l._t==="dnArticleSourceInfo"?(i(),R(Z,{key:4,to:l.url,target:"_blank",rel:"noopener noreferrer",class:"flex gap-3 items-start w-full",onClick:K=>h(l.sourceId)},{default:v(()=>[l.imageUrl?(i(),f("div",qt,[U(l)?(i(),f("div",Rt,[D[0]||(D[0]=t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",class:"fill-none"},[t("circle",{id:"center",cx:"12",cy:"12",r:"2.25",class:"fill-secondary"},[t("animate",{attributeName:"r",from:"2.25",to:"2.5",dur:"1.5s",values:"2.25; 4; 2.5; 2; 2.5; 2.5;",keyTimes:"0; 0.2; 0.4; 0.5; 0.8; 1",repeatCount:"indefinite"})]),t("circle",{id:"circle",cx:"12",cy:"12",r:"2.25",class:"stroke-secondary"},[t("animate",{attributeName:"r",from:"2.25",to:"10",dur:"1.5s",repeatCount:"indefinite"}),t("animate",{attributeName:"stroke-opacity",from:"1",to:"0",dur:"1.5s",repeatCount:"indefinite"})])],-1)),P(" "+r(n.$t("pulse.ai.source-items.dn-article.latest")),1)])):g("",!0),m(N,{src:l.imageUrl,class:"h-14 lg:h-20 w-full rounded object-cover",alt:""},null,8,["src"])])):g("",!0),t("div",zt,[t("span",Et,r(n.$t("pulse.ai.source-items.dn-article.publisher"))+" · "+r(e(u).timeMinutesTodayOrDateStr(l.publishedAt))+" · "+r(l.authors.join(", ")),1),t("h3",null,r(l.title),
11)])]),_:2},1032,["to","onClick"])):l._t==="exchangeMessageSourceInfo"?(i(),R(Z,{key:5,to:l.url,target:"_blank",rel:"noopener noreferrer",class:"flex flex-col gap-1",onClick:K=>h(l.sourceId)},{default:v(()=>[t("span",jt,[m(V,{name:"mdi:mail-outline",class:"text-base shrink-0"}),P(" "+r(n.$t("pulse.ai.source-items.exchange-message.label"))+" ",1),l.publishedAt!=null?(i(),f("span",Bt," · "+r(e(u).timeMinutesTodayOrDateStr(l.publishedAt)),1)):g("",!0),e(Y)[l.sourceId]?(i(),f("span",Ft," · "+r(e(Y)[l.sourceId]),1)):g("",!0)]),t("h3",Ot,r(l.title||l.url),1)]),_:2},1032,["to","onClick"])):l._t==="quantSourceInfo"?(i(),R(Q,{key:6,quant:q(l),"is-disabled":M(l),onClick:K=>h(l.sourceId)},{default:v(({model:K})=>[t("div",Ht,[t("span",Nt,[m(V,{name:"mdi:chart-line",class:"text-base shrink-0"}),P(" "+r(n.$t("pulse.ai.source-items.quant-data.label"))+" ",1),l.instrumentTime!=null?(i(),f("span",Qt," · "+r(e(u).timeMinutesTodayWithDateStr(l.instrumentTime)),1)):g("",!0)]),t("span",Wt,[P(r(n.$t("pulse.ai.source-items.quant-data.for-instrument"))+" ",1),t("span",{class:z(["font-bold",{"hover:text-secondary":!M(l)}])},r(K?.displayName??l.quant),3)])])]),_:2},1032,["quant","is-disabled","onClick"])):g("",!0)],64))),128)),e(w)>0?(i(),f("div",Zt,[t("div",Kt,[t("span",Yt,[m(V,{name:"mdi:lightbulb-variant-outline",class:"text-base shrink-0"}),P(" "+r(e(w)===1?n.$t("pulse.ai.source-items.robo-insight.label-singular"):n.$t("pulse.ai.source-items.robo-insight.label-plural")),1)]),t("span",Gt,r(e(w)===1?n.$t("pulse.ai.source-items.robo-insight.description-singular",{count:e(w)}):n.$t("pulse.ai.source-items.robo-insight.description-plural",{c
1ount:e(w)})),1)])])):g("",!0),e(T)?(i(),f("div",Xt,[t("div",Jt,[t("span",es,[m(V,{name:"mdi:chart-arc",class:"text-base shrink-0"}),P(" "+r(n.$t("pulse.ai.source-items.sector-insight.label")),1)]),t("span",null,r(n.$t("pulse.ai.source-items.sector-insight.description")),1)])])):g("",!0)])}}}),os=Object.assign(ss,{__name:"PulseAiSourceItems"}),rs={class:"flex h-full flex-col"},ns={class:"flex justify-center md:hidden"},as=["aria-label"],ls={class:"pb-4 md:pb-0"},is=50,cs=H({__name:"PulseDrawer",props:be({mobileFocusElement:{},isPaddingDisabled:{type:Boolean},closeLabel:{default:"Close"}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:be(["close"],["update:modelValue"]),setup($,{emit:s}){const o=$,_=s,u=Re($,"modelValue"),x=Ie("drawerElement"),d=O(),I=O(0),C=O(!1),c=O(),p=a(()=>o.mobileFocusElement!==void 0),k=a(()=>C.value?`translateY(${I.value}px)`:void 0),b=a(()=>({transform:k.value,"--pulse-drawer-visual-viewport-height":c.value?`${c.value}px`:void 0})),{breakpoints:y}=Le(),w=y.smaller("md"),T=ze(a(()=>document.body));ne(u,async M=>{if(T.value=M,!!M){if(await me(),w.value&&o.mobileFocusElement){o.mobileFocusElement.focus(),o.mobileFocusElement.scrollIntoView({behavior:"smooth",block:"nearest"});return}x.value?.focus()}},{immediate:!0}),Ce("Escape",()=>{j()}),$e(()=>{E(),window.visualViewport?.addEventListener("resize",E)}),Se(()=>{T.value=!1,window.visualViewport?.removeEventListener("resize",E)});function E(){c.value=window.visualViewport?.height}function j(){u.value&&(u.value=!1,q())}function B(M){if(!w.value)return;const U=M.touches[0];U&&(d.value=U.clientY,C.value=!0)}function h(M){if(!w.value)return;const U=M.touches[0];!U||d.value===void 0||(I.value=Math.max(0,U.clientY-d.value))}function L(){w.value&&(I.value>is?j():q())}function q(){d.value=void 0,I.value=0,C.value=!1}function A(){_("close")}return(M,U)=>(i(),f(X,null,[te(M.$slots,"trigger"),(i(),R(Ae,{to:"body"},[m(oe,{"enter-active-class":"transition-opacity duration-300 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition-opacity duration-300 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:v(()=>[u.value?(i(),f("div",{key:0,class:"fixed inset-0 z-40 max-md:backdrop-blur-xs md:bg-overlay-background","aria-hidden":"true",onClick:j})):g("",!0)]),_:1}),m(oe,{"enter-active-class":"transition-transform duration-300 ease-out","enter-from-class":"max-md:translate-y-full md:translate-x-full","enter-to-class":"max-md:translate-y-0 md:translate-x-0","leave-active-class":"transition-transform duration-300 ease-in","leave-from-class":"max-md:translate-y-0 md:translate-x-0","leave-to-class":"max-md:translate-y-full md:translate-x-full",onAfterLeave:A},{default:v(()=>[u.value?(i(),f("div",{key:0,ref_key:"drawerElement",ref:x,role:"dialog","aria-modal":"true",tabindex:"-1",class:z(["fixed inset-x-0 bottom-0 z-50 h-5/6 transform-gpu overscroll-contain rounded-t-lg border border-b-0 border-muted bg-surface text-primary shadow-lg focus:outline-none max-md:max-h-(--pulse-drawer-visual-viewport-height) md:inset-y-0 md:left-auto md:h-screen md:w-1/3 md:overflow-y-auto md:rounded-none md:border-y-0 md:border-r-0",{"max-md:h-[70%]":e(p),"max-md:px-6":!o.isPaddingDisabled,"transition-none":e(C)}]),style:ce(e(b))},[t("div",rs,[t("div",ns,[t("button",{type:"button","aria-label":o.closeLabel,class:"group flex min-h-11 w-full touch-none items-center justify-center transition-colors focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-muted-selected",onClick:j,onTouchstart:B,onTouchmove:ue(h,["prevent"]),onTouchend:L,onTouchcancel:q},[...U[1]||(U[1]=[t("span",{class:"h-1 w-12 rounded-radius-full bg-muted-selected"},null,-1)])],40,as)]),t("div",{class:"mb-2 flex h-full flex-col overflow-y-auto overscroll-contain md:mb-0",onTouchmove:U[0]||(U[0]=ue(()=>{},["stop"]))},[t("div",ls,[te(M.$slots,"content",{},()=>[te(M.$slots,"default")])])],32)])],6)):g("",!0)]),_:3})]))],64))}}),Ve=Object.assign(cs,{__name:"PulseDrawer"}),us={class:"flex flex-nowrap items-start gap-1"},ds=["tabindex","aria-haspopup","aria-expanded"],ps={class:"pulse-glass bg-overlay-background ai-sources-glass-panel ai-sources-glass-panel-drawer h-full"},ms={class:"p-6 flex flex-col text-basic-text text-sm leading-relaxed"},fs={class:"pulse-glass bg-overlay-background ai-sources-glass-panel ai-sources-glass-panel-drawer h-full rounded-lg custom-scrollbar"},_s={class:"p-6 flex flex-col text-basic-text text-sm leading-relaxed"},bs=H({__name:"PulseAiSources",props:{sourceInfos:{},sourceIds:{},reportQuant:{},captureId:{},isMarketReportSource:{type:Boolean},trackingContext:{},isShowingInstruments:{type:Boolean,default:!0},isShowingSources:{type:Boolean,default:!0}
1,isClickable:{type:Boolean,default:!0},drawerPlacement:{default:"below"},drawerBelowAlign:{default:"right"},drawerSide:{default:"right"}},setup($){const s=$,o=a(()=>s.drawerSide==="right"?"ai-sources-slide-side-r":"ai-sources-slide-side-l");let _=null;function u(){_!==null&&(clearTimeout(_),_=null)}const x=je(),d=ct(),I=a(()=>s.sourceIds?new Set(s.sourceIds):void 0),C=a(()=>Ge(s.sourceInfos.filter(S=>!I.value||I.value.has(S.sourceId)).filter(Xe))),c=a(()=>C.value.length),p=a(()=>le.value===x);function k(){le.value=x,se.value=C.value}function b(){u(),le.value=null,se.value=[]}function y(){u(),_=setTimeout(()=>{_=null,p.value&&b()},140)}function w(){!s.isClickable||d.value||(u(),p.value||k())}function T(){!s.isClickable||d.value||y()}function E(){!s.isClickable||!d.value||(p.value?b():k())}function j(S){!s.isClickable||!d.value||(S.key==="Enter"||S.key===" ")&&(S.preventDefault(),E())}function B(S){S?k():b()}function h(){!s.isClickable||d.value||u()}function L(){!s.isClickable||d.value||y()}Se(()=>{u()}),ne(C,S=>{p.value&&(se.value=S)});const q=a(()=>{const S=Je(s.sourceInfos)??[];return s.reportQuant?S.filter(N=>N.quant===s.reportQuant):S}),A=O(null),M=O(null),U=a(()=>s.drawerPlacement==="below"?s.drawerBelowAlign==="left"?"bottom-start":"bottom-end":s.drawerSide==="right"?"right-start":"left-start"),F=a(()=>[rt(({placement:S})=>s.drawerPlacement==="below"?8:S.startsWith("right")?40:8),nt(),at({padding:16,crossAxis:!0})]),{floatingStyles:Y,isPositioned:n}=lt(A,M,{open:p,placement:U,middleware:F,strategy:"fixed",transform:!1,whileElementsMounted:it}),D=a(()=>{const S=s.drawerPlacement==="side"?420:350;return{...Y.value,width:`${S}px`,maxWidth:"calc(100vw - 32px)",visibility:n.value?"visible":"hidden"}});return Ee(M,()=>{p.value&&b()},{ignore:[A]}),(S,N)=>{const Z=yt,V=W,Q=os,l=Ve;return s.sourceInfos?(i(),f(X,{key:0},[t("div",{class:z(["inline-flex flex-col items-start rounded-lg",[s.drawerPlacement==="side"&&!e(d)||!e(d)&&e(p)?"relative":"",!e(d)&&e(p)?"z-40":"z-0"]])},[t("div",us,[s.isShowingInstruments?(i(!0),f(X,{key:0},ye(e(q),G=>(i(),R(Z,{key:G.quant,quant:G.quant},null,8,["quant"]))),128)):g("",!0),s.isShowingSources&&e(c)>0?(i(),f("div",{key:1,class:z(["shrink-0",{relative:s.drawerPlacement==="below"&&!e(d)}])},[t("div",{ref_key:"pillRef",ref:A,class:z(["relative z-10 flex items-center gap-0.5 text-[11px] h-[28px] leading-none bg-muted rounded-full px-2.5 tracking-widest whitespace-nowrap text-muted-secondary hover:bg-muted-hover",{"cursor-pointer":e(d)}]),role:"button",tabindex:e(d)?0:void 0,"aria-haspopup":e(d)?"dialog":void 0,"aria-expanded":e(d)?e(p):void 0,onMouseenter:w,onMouseleave:T,onClick:E,onKeydown:j},[t("span",null,r(S.$t("pulse.ai.sources.count",{n:e(c)})),1),m(V,{name:"mdi:link-variant",size:"10"})],42,ds)],2)):g("",!0)])],2),(i(),R(Ae,{to:"body"},[s.drawerPlacement==="below"&&!e(d)?(i(),R(oe,{key:0,name:"ai-sources-slide-down"},{default:v(()=>[e(p)?(i(),f("div",{key:0,ref_key:"drawerRef",ref:M,class:"fixed z-50",style:ce(e(D)),onMouseenter:h,onMouseleave:L},[t("div",ps,[t("div",ms,[m(Q,{"report-quant":s.reportQuant,"capture-id":s.captureId,"is-market-report-source":s.isMarketReportSource,"tracking-context":s.trackingContext,onLiveCenterActivate:b},null,8,["report-quant","capture-id","is-market-report-source","tracking-context"])])])],36)):g("",!0)]),_:1})):g("",!0),s.drawerPlacement==="side"&&!e(d)?(i(),R(oe,{key:1,name:e(o)},{default:v(()=>[e(p)?(i(),f("div",{key:0,ref_key:"drawerRef",ref:M,class:"fixed z-50",style:ce(e(D)),onMouseenter:h,onMouseleave:L},[t("div",fs,[t("div",_s,[m(Q,{"report-quant":s.reportQuant,"capture-id":s.captureId,"is-market-report-source":s.isMarketReportSource,"tracking-context":s.trackingContext,onLiveCenterActivate:b},null,8,["report-quant","capture-id","is-market-report-source","tracking-context"])])])],36)):g("",!0)]),_:1},8,["name"])):g("",!0)])),e(d)?(i(),R(l,{key:0,"model-value":e(p),"close-label":S.$t("pulse.ai.sources.actions.close"),"onUpdate:modelValue":B},{content:v(()=>[m(Q,{"report-quant":s.reportQuant,"capture-id":s.captureId,"is-market-report-source":s.isMarketReportSource,"tracking-context":s.trackingContext,onLiveCenterActivate:b},null,8,["report-quant","capture-id","is-market-report-source","tracking-context"])]),_:1},8,["model-value","close-label"])):g("",!0)],64)):g("",!0)}}}
1),Po=Object.assign(Be(bs,[["__scopeId","data-v-f64276cf"]]),{__name:"PulseAiSources"}),hs={key:0,class:"flex items-start gap-2"},vs={class:"shrink-0 flex items-center justify-center mt-0.5"},gs={key:0,class:"bg-ai-content-gradient bg-clip-text text-transparent mr-2"},xs=H({__name:"PulseAiMarketReportSourceExchange",props:{sourceId:{},title:{},articleUrl:{},why:{},appearance:{default:"key-point"},prependSpace:{type:Boolean,default:!1},wrapperClass:{}},setup($){const s=$,{t:o}=J(),_=a(()=>s.why?.trim()||null),u=a(()=>_.value?"recommended-read":s.appearance),x=a(()=>!!_.value||s.prependSpace),d=a(()=>s.wrapperClass||"ml-1"),I=a(()=>u.value==="recommended-read"?"inline-flex items-center text-secondary underline":"underline inline-flex items-center text-tertiary"),C=a(()=>s.articleUrl??tt(s.sourceId)),c=a(()=>De(s.sourceId)&&!!C.value),p=a(()=>s.title??o("pulse.ai.market-report-source.actions.read-more"));return(k,b)=>{const y=ge,w=W,T=_e;return e(u)==="recommended-read"&&e(c)?(i(),f("div",hs,[t("div",vs,[m(y,{size:"20"})]),t("p",null,[e(_)?(i(),f("span",gs,r(e(_)),1)):g("",!0),m(T,{target:"_blank",to:e(C),external:"",class:z(e(I))},{default:v(()=>[P(r(e(x)?" ":"")+r(e(p))+" ",1),m(w,{name:"mdi:arrow-top-right",class:"text-base"})]),_:1},8,["to","class"])])])):e(u)==="key-point"&&e(c)?(i(),f("span",{key:1,class:z(e(d))},[m(T,{target:"_blank",to:e(C),external:"",class:z(e(I))},{default:v(()=>[P(r(e(x)?" ":"")+r(e(p))+" ",1),m(w,{name:"mdi:arrow-top-right",class:"text-base"})]),_:1},8,["to","class"])],2)):g("",!0)}}}),ks=Object.assign(xs,{__name:"PulseAiMarketReportSourceExchange"}),ys={key:0,class:"size-14 shrink-0 overflow-hidden rounded-md lg:size-20"},ws={class:"min-w-0 flex-1"},Is={key:0,class:"bg-ai-content-gradient bg-clip-text text-sm leading-tight text-transparent"},Cs={class:"text-xs text-muted-secondary uppercase tracking-widest pt-1 pb-px"},$s={class:"text-base leading-snug text-primary"},Ss={class:"box-decoration-clone mt-1 rounded-full bg-muted px-2.5 py-1 text-sm leading-7 text-muted hover:bg-muted-hover hover:text-muted-hover dark:shadow-sm"},As="inline",Ps=H({__name:"PulseAiMarketReportSourceDnUrl",props:{sourceId:{},title:{},articleUrl:{},imageUrl:{},authors:{},publishedAt:{},why:{},appearance:{default:"key-point"},wrapperClass:{}},setup($){const s=$,{t:o}=J(),_=a(()=>s.why?.trim()||null),u=a(()=>_.value?"recommended-read":s.appearance),x=a(()=>s.wrapperClass||"ml-1"),d=a(()=>s.articleUrl??null),I=a(()=>de(s.sourceId)&&!!d.value),C=a(()=>s.title??o("pulse.ai.market-report-source.actions.read-more")),{p:c}=ae(),p=a(()=>{const k=s.publishedAt==null?null:c.timeMinutesTodayOrDateStr(s.publishedAt),b=s.authors?.map(y=>y.trim()).filter(Boolean).join(", ");return[o("pulse.ai.market-report-source.dn-article.publisher"),k,b].filter(Boolean).join(" · ")});return(k,b)=>{const y=fe,w=W,T=_e;return e(u)==="recommended-read"&&e(I)?(i(),R(T,{key:0,target:"_blank",to:e(d),external:"",class:"group flex items-start gap-3 rounded-md bg-muted p-4 no-underline hover:bg-muted-hover transition-colors duration-300"},{default:v(()=>[$.imageUrl?(i(),f("div",ys,[m(y,{src:$.imageUrl,alt:"",class:"size-full object-cover transition-transform duration-300 group-hover:scale-110"},null,8,["src"])])):g("",!0),t("div",ws,[e(_)?(i(),f("p",Is,r(e(_)),1)):g("",!0),t("p",Cs,r(e(p)),1),t("h4",$s,[P(r(e(C))+" ",1),m(w,{name:"mdi:arrow-top-right",size:"12",class:"inline-block align-baseline"})])])]),_:1},8,["to"])):e(u)==="key-point"&&e(I)?(i(),f("span",{key:1,class:z(e(x))},[m(T,{target:"_blank",to:e(d),external:""},{default:v(()=>[t("span",Ss,[b[0]||(b[0]=t("svg",{class:"mr-1 inline-block w-4 fill-primary align-text-bottom",viewBox:"0 -15 60 60"},[t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3236 32.0001C25.2231 32.0001 29.6713 24.3736 29.6708 15.3794C29.6708 8.16743 25.6234 0.0436198 14.8583 0.0436198H0V1.2041C0.0552595 1.2041 0.110208 1.20396 0.164844 1.20381C1.0338 1.20152 1.82398 1.19943 2.535 1.78434C3.29212 2.40603 3.38062 3.27639 3.38062 10.6127V21.431C3.38062 28.6011 3.29212 29.6372 2.535 30.2593C1.77927 30.881 0.845623 30.881 0 30.881V32.0001H14.3236ZM9.83249 1.40641H13.4795C19.4401 1.40641 22.9996 7.62371 22.9991 16.3278C22.999
11 25.4877 19.0402 30.7103 13.746 30.7103C13.3461 30.7103 9.7866 30.6684 9.7866 30.6684L9.83249 1.40641Z"}),t("path",{d:"M60.1055 1.11656C57.3109 1.11656 55.3145 2.10867 55.2253 6.44959C55.1809 8.39248 55.137 15.3377 55.137 15.3377V31.9564H53.1405L34.3269 7.77198C34.3269 9.67352 34.3722 12.3192 34.3722 16.0813C34.3722 19.7191 34.3722 23.6053 34.4166 25.5482C34.5049 29.8891 36.5014 30.8816 39.2969 30.8816V31.956H27.3619V30.8816C30.1565 30.8816 32.1539 29.8891 32.2422 25.5482C32.2866 23.6053 32.3305 16.0813 32.3305 16.0813L32.3758 5.20902C30.3784 2.52162 29.8021 1.28148 27.2727 1.11613V0.041338H31.7546C32.9077 0.041338 37.256 0 37.256 0L53.0952 20.0916V15.3377C53.0952 11.6995 53.0952 8.39248 53.0509 6.44959C52.9626 2.10867 50.9661 1.11656 48.1706 1.11656V0.0417731H60.1055V1.11656Z"})],-1)),t("span",{class:z(As)},r(e(C)),1),m(w,{name:"mdi:arrow-top-right",size:"12",class:"inline-block text-base align-baseline"})])]),_:1},8,["to"])],2)):g("",!0)}}}),Ms=Object.assign(Ps,{__name:"PulseAiMarketReportSourceDnUrl"}),Ts={key:0,class:"size-14 shrink-0 overflow-hidden rounded-md lg:size-20"},Ds={class:"min-w-0 flex-1"},Ls={key:0,class:"bg-ai-content-gradient bg-clip-text text-sm leading-tight text-transparent"},Vs={class:"text-xs text-muted-secondary uppercase tracking-widest pt-1 pb-px"},Us={class:"text-base leading-snug text-primary"},qs={class:"mr-1 inline-flex items-baseline gap-0.5 whitespace-nowrap align-baseline"},Rs={class:"text-[9px] font-normal tracking-wide"},zs="text-muted hover:text-muted-hover",Es=H({__name:"PulseAiMarketReportSourceLc",props:{sourceId:{},title:{},imageUrl:{},byline:{},publishedAt:{},why:{},appearance:{default:"key-point"},wrapperClass:{}},setup($){const s=$,o=we(Te),{t:_}=J(),u=a(()=>s.why?.trim()||null),x=a(()=>u.value?"recommended-read":s.appearance),d=a(()=>s.wrapperClass||"ml-1"),I=a(()=>st(s.sourceId)),C=a(()=>re(s.sourceId)&&!!I.value),c=a(()=>s.title??_("pulse.ai.market-report-source.actions.read-more")),{p}=ae(),k=a(()=>{const y=s.publishedAt==null?null:p.timeMinutesTodayOrDateStr(s.publishedAt);return[_("pulse.ai.market-report-source.live-center.publisher"),y,s.byline?.trim()].filter(Boolean).join(" · ")});function b(){const y=I.value?.params.id;y&&o?.({id:y})}return(y,w)=>{const T=fe;return e(x)==="recommended-read"&&e(C)?(i(),f("button",{key:0,type:"button",class:"group flex w-full cursor-pointer items-start gap-3 rounded-md bg-muted p-4 text-left no-underline hover:bg-muted-hover transition-colors duration-300",onClick:b},[$.imageUrl?(i(),f("div",Ts,[m(T,{src:$.imageUrl,alt:"",class:"size-full object-cover transition-transform duration-300 group-hover:scale-110"},null,8,["src"])])):g("",!0),t("div",Ds,[e(u)?(i(),f("p",Ls,r(e(u)),1)):g("",!0),t("p",Vs,r(e(k)),1),t("h4",Us,r(e(c)),1)])])):e(x)==="key-point"&&e(C)?(i(),f("span",{key:1,class:z(e(d))},[e(I)?.params.id?(i(),f("span",{key:0,class:z(["box-decoration-clone mt-1 cursor-pointer rounded-full bg-muted px-2.5 py-1 text-sm leading-7 hover:bg-muted-hover dark:shadow-sm",zs]),onClick:b},[t("span",qs,[w[0]||(w[0]=t("svg",{class:"inline-block w-3.75 shrink-0 fill-primary align-text-bottom",viewBox:"0 0 60.1055 32"},[t("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.3236 32.0001C25.2231 32.0001 29.6713 24.3736 29.6708 15.3794C29.6708 8.16743 25.6234 0.0436198 14.8583 0.0436198H0V1.2041C0.0552595 1.2041 0.110208 1.20396 0.164844 1.20381C1.0338 1.20152 1.82398 1.19943 2.535 1.78434C3.29212 2.40603 3.38062 3.27639 3.38062 10.6127V21.431C3.38062 28.6011 3.29212 29.6372 2.535 30.2593C1.77927 30.881 0.845623 30.881 0 30.881V32.0001H14.3236ZM9.83249 1.40641H13.4795C19.4401 1.40641 22.9996 7.62371 22.9991 16.3278C22.9991 25.4877 19.0402 30.7103 13.746 30.7103C13.3461 30.7103 9.7866 30.6684 9.7866 30.6684L9.83249 1.40641Z"}),t("path",{d:"M60.1055 1.11656C57.3109 1.11656 55.3145 2.10867 55.2253 6.44959C55.1809 8.39248 55.137 15.3377 55.137 15.3377V31.9564H53.1405L34.3269 7.77198C34.3269 9.67352 34.3722 12.3192 34.3722 16.0813C34.3722 19.7191 34.3722 23.6053 34.4166 25.5482C34.5049 29.8891 36.5014 30.8816 39.2969 30.8816V31.956H27.3619V30.8816C30.1565 30.8816 32.1539 29.8891 32.2422 25.5482C32.2866 23.6053 32.3305 16.0813 32.3305 16.0813L32.3758 5.20902C30.3784 2.52162 29.8021 1.28148 27.2727 1.11613V0.041338H31.7546C32.9077 0.041338 37.256 0 37.256 0L53.0952 20.0916V15.3377C53.0952 11.6995 53.0952 8.39248 53.0509 6.44959C52.9626 2.10867 50.9661 1.11656 48.1706 1.11656V0.0417731H60.1055V1.11656
1Z"})],-1)),t("span",Rs,r(y.$t("pulse.ai.market-report-source.live-center.short-publisher")),1)]),P(" "+r(e(c)),1)])):g("",!0)],2)):g("",!0)}}}),js=Object.assign(Es,{__name:"PulseAiMarketReportSourceLc"}),Bs=H({__name:"PulseAiMarketReportSourceById",props:{sourceId:{},title:{},articleUrl:{},imageUrl:{},authors:{},byline:{},publishedAt:{},why:{},appearance:{default:"key-point"},allowExchange:{type:Boolean,default:!0},keyPointSourceIds:{},bulkSourceInfos:{},avoidSourceId:{},wrapperClass:{}},emits:["activate"],setup($,{emit:s}){const o=$,_=s,u=a(()=>{if(o.keyPointSourceIds!==void 0){const k=o.bulkSourceInfos??[],b=o.keyPointSourceIds.filter(A=>typeof A!="string"?!1:re(A)||de(A));if(!b.length)return null;const y=o.avoidSourceId,w=typeof y=="string"?b.find(A=>A!==y)??null:b[0]??null;if(!w)return null;const T=k.find(A=>A?.sourceId===w),{title:E,url:j,imageUrl:B,authors:h,byline:L,publishedAt:q}=ve(T);return{sourceId:w,title:E,articleUrl:j,imageUrl:B,authors:h,byline:L,publishedAt:q}}if(!o.sourceId)return null;const c=(o.bulkSourceInfos??[]).find(k=>k?.sourceId===o.sourceId),p=ve(c);return{sourceId:o.sourceId,title:o.title,articleUrl:o.articleUrl,imageUrl:o.imageUrl,authors:o.authors??p.authors,byline:o.byline??p.byline,publishedAt:o.publishedAt??p.publishedAt}}),x=a(()=>{const c=u.value?.sourceId;return c?(o.keyPointSourceIds!==void 0?!1:o.allowExchange)&&De(c)?"exchange":de(c)?"dn-article":re(c)?"lc":null:null}),d=a(()=>{switch(x.value){case"exchange":return ks;case"dn-article":return Ms;case"lc":return js;default:return null}});function I(){const c=u.value?.sourceId;c&&_("activate",c)}const C=a(()=>{const c=u.value;return c?{sourceId:c.sourceId,title:c.title,articleUrl:c.articleUrl,imageUrl:c.imageUrl,authors:c.authors,byline:c.byline,publishedAt:c.publishedAt,why:o.why,appearance:o.appearance,wrapperClass:o.wrapperClass}:null});return(c,p)=>e(d)&&e(C)?(i(),R(Pe(e(d)),Fe({key:0},e(C),{onClick:I}),null,16)):g("",!0)}}),Mo=Object.assign(Bs,{__name:"PulseAiMarketReportSourceById"}),Fs={class:"flex gap-1 group/ai-button relative z-2 bg-surface/90 dark:bg-surface/95 backdrop-blur-sm rounded-full"},Os={class:"bg-ai-content-gradient tracking-wider bg-clip-text h-12 text-sm text-transparent items-center justify-center flex gap-2 line-height-none border-[1.5px] border-ai-image-background rounded-full px-4 w-fit dark:shadow-[inset_0px_6px_10px_0_rgb(0_0_0/30%)]"},Hs={class:"line-height-none"},Ns="-translate-y-1 shadow-[0_8px_34px_0_rgba(147,255,246,0.1)]",Qs=H({__name:"PulseAiButton",props:{isParentHovered:{type:Boolean,default:!1},variant:{default:"default"}},setup($){const s=$,{t:o}=J(),_=a(()=>s.variant==="portfolio"?o("pulse.ai.button.portfolio-label"):o("pulse.ai.button.market-report-label")),u=["relative isolate overflow-hidden","p-0.5 cursor-pointer rounded-full w-fit self-center","shadow-[0_4px_26px_0_rgba(147,255,246,0.08)]","translate-y-0","[transition:box-shadow_0.7s_ease-in-out,translate_0.2s_ease-in-out]","before:content-[''] before:absolute before:inset-0 before:z-0 before:pointer-events-none","before:bg-[linear-gradient(90deg,var(--ai-content-start),var(--ai-content-end))] before:opacity-70","after:content-[''] after:absolute after:inset-[-120%] after:z-[1] after:pointer-events-none","after:bg-[conic-gradient(from_0deg,transparent_0deg_312deg,color-mix(in_srgb,var(--ai-content-end)_96%,white)_338deg,transparent_360deg)]","after:opacity-[0.92] after:will-change-transform after:animate-[spin_6s_linear_infinite]","hover:-translate-y-1 hover:shadow-[0_8px_34px_0_rgba(147,255,246,0.1)]","group-hover/cta:-translate-y-1 group-hover/cta:shadow-[0_8px_34px_0_rgba(147,255,246,0.1)]"];return(x,d)=>{const I=W;return i(),f("div",{class:z([u,{[Ns]:s.isParentHovered}])},[t("div",Fs,[t("div",Os,[t("span",Hs,[te(x.$slots,"default",{},()=>[P(r(e(_)),1)])]),m(I,{name:"mdi:chevron-down",class:"text-(--ai-content-start)"})])])],2)}}}),To=Object.assign(Qs,{__name:"PulseAiButton"}),Ws={class:"flex flex-col items-center gap-4 border-t border-muted pt-6"},Zs={class:"flex flex-col gap-1 text-center items-center [&>p]:first:text-secondary [&>p]:first:text-sm [&>p]:text-xs [&>p]:text-tertiary [&>p]:md:w-4/5"},Ks={class:"flex w-full max-md:flex-col md:flex-wrap items-center justify-center gap-2"},Ys={class:"w-full md:w-fit"},Gs={class:"flex justify-between items-center"},Xs={class:"text-tertiary text-pretty text-sm py-3 md:pt-1"},Js=["placeholder"],eo={class:"flex justify-end gap-2"},to=["disabled"],so={class:"w-full md:w-fit"},oo={class:"w-full flex gap-2 justify-between items-center"},ro={class:"flex flex-col gap-4 text-sm"},no={class:"text-secondary"},ao={class:"text-tertiary"},lo=["href"],io=H({__name:"PulseAiMarketReportFooter",props:{trackingContext:{default:"market-report"}},setup($){const s=$,{trackUserAction:o}=pe(),{t:_}=J(),{createToast:u}=Oe(),{breakpoints:x}=Le(),d=x.smaller("md"),I=ie,C=Ve,c=a(()=>d.value?C:I);function p(){switch(s.trackingContext){case"market-report":o({action:"beakon-market-report-report-error"});return;case"instrument-report":o({action:"beakon-instrument-report-report-error"});return;case"portfolio-report":o({action:"beakon-portfolio-report-report-error"})}}const k=O(!1),b=O(!1),y=O(""),w=Ie("feedbackTextarea"),T=a(()=>`mailto:[email protected]?subject=${encodeURIComponent(_("pulse.ai.market-report.footer.report-error.email-subject"))}`);ne(b,async h=>{!h||d.value||(await me(),w.value?.focus())});function E(){b.value=!0}function j(){const h=y.value.trim();if(h){switch(s.trackingContext){case"market-report":o({action:"beakon-market-report-feedback-submit",feedback:h});break;case"instrument-report":o({action:"beakon-instrument-report-feedback-submit",feedback:h});break;case"portfolio-report":o({action:"beakon-portfolio-report-feedback-submit",feedback:h})}u({text:_("pulse.ai.market-report.footer.feedback.success")}),y.value="",b.value=!1}}function B(){y.value="",b.value=!1}return Ce("Escape",()=>{b.value&&B()}),(h,L)=>{const q=xe,A=W,M=ke,U=ie;return i(),f("div",Ws,[t("div",Zs,[t("p",null,r(h.$t("pulse.ai.market-report.footer.disclaimer.delayed-data")),1),t("p",null,r(h.$t("pulse.ai.market-report.footer.disclaimer.generated-content")),1),t("p",null,r(h.$t("pulse.ai.market-report.footer.disclaimer.verified-sources")),1)]),t("div",Ks,[t("div",Ys,[(i(),R(Pe(e(c)),{modelValue:e(b),"onUpdate:modelValue":L[1]||(L[1]=F=>ee(b)?b.value=F:null),"mobile-focus-element":e(w)??void 0},{trigger:v(()=>[m(q,{size:"small",rounded:"",type:"primary",class:"w-full! md:w-fit",onClick:E},{default:v(()=>[P(r(h.$t("pulse.ai.market-report.footer.feedback.action")),1)]),_:1})]),content:v(()=>[m(M,{variant:"glass",class:"max-md:contents"},{title:v(()=>[t("div",Gs,[t("h2",null,r(h.$t("pulse.ai.market-report.footer.feedback.title")),1),m(q,{type:"no-border",size:"small",class:"hidden md:block",onClick:B},{default:v(()=>[m(A,{name:"mdi:close",size:"16"})]),_:1})])]),default:v(()=>[t("p",Xs,r(h.$t("pulse.ai.market-report.footer.feedback.description")),1),t("form",{class:"flex flex-col gap-4 px-px md:px-0",onSubmit:ue(j,["prevent"])},[He(t("textarea",{ref:"feedbackTextarea","onUpdate:modelValue":L[0]||(L[0]=F=>ee(y)?y.value=F:null),placeholder:h.$t("pulse.ai.market-report.footer.feedback.placeholder"),required:"",class:"border border-muted px-2 py-1 rounded-sm ring-1 ring-transparent focus:ring-accent focus:outline-none"},null,8,Js),[[Ne,e(y)]]),t("div",eo,[t("button",{type:"button",class:"flex items-center justify-center gap-1 bg-muted hover:bg-muted-hover px-4 py-2 rounded-md text-sm cursor-pointer w-full md:w-fit",onClick:B},[m(A,{name:"mdi:close",size:"12",class:"text-secondary"}),P(" "+r(h.$t("pulse.ai.market-report.footer.feedback.actions.cancel")),1)]),t("button",{type:"submit",class:"flex items-center justify-center gap-1 bg-success-solid-base hover:bg-success-solid-hover hover:text-success-solid-hovered text-success-solid-content px-4 py-2 rounded-md text-sm cursor-pointer group disabled:bg-muted-disabled disabled:text-muted-disabled disabled:cursor-not-allowed transition delay-150 duration-300 ease-in-out w-full md:w-fit",disabled:!e(y).trim()},[P(r(h.$t("pulse.ai.market-report.footer.feedback.actions.send"))+" ",1),m(A,{name:"mdi:send-variant",size:"12",class:"-rotate-45 mb-0.5 group-[:not(:disabled):hover]:animate-spin"})],8,to)])],32)]),_:1})]),_:1},8,["modelValue","mobile-focus-element"]))]),t("div",so,[m(U,{modelValue:e(k),"onUpdate:modelValue":L[3]||(L[3]=F=>ee(k)?k.value=F:null)},{trigger:v(()=>[m(q,{class:"border-error! text-error! shrink-0 justify-center whitespace-nowrap w-full md:w-fit",type:"outlined",size:"small",rounded:"",onClick:p},{default:v(()=>[m(A,{name:"mdi:alert-circle",size:"16"}),P(" "+r(h.$t("pulse.ai.market-report.footer.report-error.action")),1)]),_:1})]),content:v(()=>[m(M,{variant:"glass",title:h.$t("pulse.ai.market-report.footer.report-error.title")},{title:v(({title:F})=>[t("div",oo,[t("h2",null,r(F),1),m(q,{size:"small",rounded:"",type:"no-border",class:"text-secondary aspect-square w-fit p-0!",onClick:L[2]||(L[2]=Y=>k.value=!1)},{default:v(()=>[m(A,{name:"mdi:close",size:"16"})]),_:1})])]),default:v(()=>[t("div",ro,[t("p",no,r(h.$t("pulse.ai.market-report.footer.report-error.description")),1),t("p",ao,r(h.$t("pulse.ai.market-report.footer.report-error.instructions")),1),t("a",{href:e(T)},[m(q,null,{default:v(()=>[m(A,{name:"mdi:email-outline"}),P(" "+r(h.$t("pulse.ai.market-report.footer.report-error.email-action")),1)]),_:1})],8,lo)])]),_:1},8,["title"])]),_:1},8,["modelValue"])])])])}}}),Do=Object.assign(io,{__name:"PulseAiMarketReportFooter"});
1function Lo($,s){const o=O(!1);$e(()=>{ne(()=>Qe($),async _=>{!_||o.value||(await me(),!o.value&&(o.value=!0,s()))},{flush:"post",immediate:!0})})}export{Ao as _,Po as a,Mo as b,To as c,Do as d,os as e,Lo as u};

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.