PageSourceSearch

https://seekingalpha.com/samw/static/js/c.PremiumCheckoutPopupOrange-W.c1eff2367.js

js seekingalpha.com collected 2026-09-24 07:17:28 UTC 8,296 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunksamw=globalThis.webpackChunksamw||[]).push([[1374,65236],{212112(e,t,o){o.r(t),o.d(t,{default:()=>N});var l=o(353986),n=o(296540),s=o(694626),r=o(852357),d=o(640134),a=o(716926),i=o(644375),c=o(2289),u=o(646920),m=o(373396),p=o(109748),x=o(15994),g=o(834615),h=o(285917),f=o(634164),b=o(537166),j=o(393120);const v=o.p+"static/images/[email protected]";var y=o(68168),w=o(474848);const C=()=>(0,w.jsxs)("div",{className:(0,f.$)(y.oO,"grid h-full auto-rows-min content-start justify-items-center gap-28 pt-60"),"data-test-id":"premium-popup-content-virtual-analyst",children:[(0,w.jsxs)("div",{className:"grid gap-28 px-80",children:[(0,w.jsx)(j.T,{}),(0,w.jsxs)("div",{className:"grid gap-28",children:[(0,w.jsx)("div",{className:"text-6x-large-b",children:(0,w.jsx)(h.x6,{id:"YSZEYV",components:{0:(0,w.jsx)("span",{className:"text-orange-60"})}})}),(0,w.jsxs)("div",{className:"grid gap-20 text-x-large-2-r",children:[(0,w.jsx)("div",{children:(0,w.jsx)(h.x6,{id:"HdH0uH"})}),(0,w.jsxs)("ul",{className:"m-0",children:[(0,w.jsx)("li",{children:(0,w.jsx)(h.x6,{id:"oWHsXl",components:{0:(0,w.jsx)("strong",{})}})}),(0,w.jsx)("li",{children:(0,w.jsx)(h.x6,{id:"43V3Kt",components:{0:(0,w.jsx)("strong",{})}})}),(0,w.jsx)("li",{children:(0,w.jsx)(h.x6,{id:"aD0SfU",components:{0:(0,w.jsx)("strong",{})}})})]}),(0,w.jsx)("div",{children:(0,w.jsx)(h.x6,{id:"0A9DeP"})})]})]})]}),(0,w.jsx)(b.V,{alt:{id:"u7qyHA"},src:v})]}),k={openCheckoutPopup:"proresearch",variant:"virtual_analyst"},S=e=>{let t=e.source,o=e.onClose,l=e.onReopen;const n=(0,c.X)(),s=(0,m.g)(),r=(0,u.M)({pathname:"/premium_checkout_popup",data:{variant:n},source:t,onFakePageTracked:s}).onSuccessBeforeUserFetch;return(0,g.d)(),(0,w.jsx)(p.l,{leftColumnContent:(0,w.jsx)(C,{}),rightColumnContent:(0,w.jsx)(x.C,{checkoutPopupQueryParams:k,onClose:o,onReopen:l,onSuccessBeforeUserFetch:r}),onClose:o})},I=["modalId","portfolioTemplateSlug"],N=e=>{let t=e.modalId,o=e.portfolioTemplateSlug,c=(0,l.A)(e,I);const u=(0,n.useMemo)(()=>({checkoutType:"popup",popupVariant:"virtual_analyst",portfolioTemplateSlug:o,serviceId:s.E}),[o]);return(0,w.jsx)(i.o,{modalId:t,children:(0,w.jsx)(a.t,{fallback:(0,w.jsx)(d.$,{serviceId:s.E}),children:(0,w.jsx)(r.g,{value:u,children:(0,w.jsx)(S,{...c})})})})}},982095(e,t,o){o.d(t,{m:()=>N});var l=o(205544),n=(o(874423),o(736376)),s=o(434743),r=o(807315),d=o(634164),a=o(296540),i=o(195304),c=o(601784),u=o(251301),m=(o(218111),o(430531),o(161701),o(285917)),p=o(926457),x=o(373853),g=o(956237);const h={xs:{6:"rounded-6",8:"rounded-8"},md:{6:"md:rounded-6",8:"md:rounded-8"},lg:{6:"lg:rounded-6",8:"lg:rounded-8"}},f={xs:{tl:"rounded-tl-0",tr:"rounded-tr-0",bl:"rounded-bl-0",br:"rounded-br-0"},md:{tl:"md:rounded-tl-0",tr:"md:rounded-tr-0",bl:"md:rounded-bl-0",br:"md:rounded-br-0"},lg:{tl:"lg:rounded-tl-0",tr:"lg:rounded-tr-0",bl:"lg:rounded-bl-0",br:"lg:rounded-br-0"}};var b=o(40476),j=o(474848);const v=e=>{let t=e.onCloseDropdown,o=e.isOverlay,l=e.title,n=e.ref;const s=(0,m.uB)()._;return o?(0,j.jsx)("div",{className:"px-safe-or-18",ref:n,children:(0,j.jsxs)("div",{className:(0,d.$)("oS94V","flex items-center pb-18 pt-safe-or-18",l?"justify-between":"justify-end"),children:[l?(0,j.jsx)("h3",{className:"m-0 grow truncate pr-32 text-5x-large-r text-share-text-2","data-test-id":"dropdown-content-title",children:(0,b.Z)(l)?s(l):l}):null,(0,j.jsx)("button",{"aria-label":s({id:"E5gF1W"}),className:"mb-6 mt-12 shrink-0 self-start text-medium-b text-share-text","data-test-id":"dropdown-cancel-btn",type:"button",onClick:t,children:(0,j.jsx)(m.x6,{id:"dEgA5A"})})]})}):null},y={small:"jf7sQ",medium:"dWyiS",large:"HQIqr",fixed:"Jm40C",auto:""},w={full:(0,d.$)("grow"),auto:(0,d.$)("grow-0")},C=e=>{let t=e.children,o=e.onCloseDropdown,n=e.width,s=e.rounded,r=void 0===s?8:s,i=e.attachment,u=void 0===i?"floating":i,b=e.mobileHeight,C=void 0===b?"auto":b,k=e.setActiveItemId,S=e.verticalPlacement,I=e.extraClassName,N=e.isMobileView,F=void 0!==N&&N,O=e.hideHeader,A=e.title,H=e.setIsLoading,P=e.isLoading,E=e.disabledBodyScroll,R=e.returnFocusNodeRef,T=e.isReturnFocus,$=e.isOverlayPosition;const B=(0,m.uB)()._,M=(0,a.useState)(0),V=(0,l.A)(M,2),W=V[0],D=V[1],Q=(0,p.Z)(D),Y=W>18;(0,x.N)(()=>{Y&&(null==H||H(!1))},[Y,H]);const _="auto"===C,U="attached"===u,q=(0,a.useMemo)(()=>
1{if(F||!S)return null;const e=!$&&U?(e=>"top"===e?["bl","br"]:["tl","tr"])(S):[];return(0,d.$)((0,c.E$)(r,h),e.flatMap(e=>[f.xs[e],f.md[e],f.lg[e]]),!$&&U?(e=>"top"===e?"kW7Il":"RAgAe")(S):"")},[r,U,$,S,F]),L=Boolean((F||E)&&!P);return(0,a.useEffect)(()=>{const e=null==R?void 0:R.current;return()=>{T&&e&&(null==e||e.focus())}},[T,R]),(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(g.U,{lockScroll:L,rootClassName:F?"bg-black/50":""}),F?(0,j.jsx)("button",{"aria-label":B({id:"E5gF1W"}),className:"fixed left-0 top-0 size-full cursor-default",type:"button",onClick:o}):null,(0,j.jsxs)("div",{className:(0,d.$)("Tv7Pg","relative flex flex-col",F?["WqqTp","max-h-full",_?"_pCa2":"",w[C],"pb-safe-or-18"]:[y[n],q],I),"data-test-id":"dropdown-content",ref:P?Q:null,children:[P||O?null:(0,j.jsx)(v,{isOverlay:F,title:A,onCloseDropdown:o}),a.Children.map(t,e=>(0,a.isValidElement)(e)&&(0,a.cloneElement)(e,{onCloseDropdown:o,isOverlay:F,setActiveItemId:k}))]})]})},k=["content"],S={button:e=>({mainAxis:-e.rects.reference.height})},I={xs:{6:"before:rounded-6",8:"before:rounded-8"},md:{6:"md:before:rounded-6",8:"md:before:rounded-8"},lg:{6:"lg:before:rounded-6",8:"lg:before:rounded-8"}},N=e=>{let t=e.button,o=e.children,m=e.portalContainerRef,p=e.dataTestId,x=void 0===p?"dropdown":p,g=e.disabledBodyScroll,h=e.initialOpened,f=void 0!==h&&h,b=e.mobileHeight,v=e.contentClassName,y=e.placement,w=e.strategy,N=e.order,F=void 0===N?k:N,O=e.flipOptions,A=e.onClose,H=e.onOpen,P=e.onButtonToggleOpen,E=e.attachment,R=void 0===E?"floating":E,T=e.offsetY,$=e.width,B=void 0===$?"medium":$,M=e.withOverlay,V=e.rounded,W=void 0===V?8:V,D=e.title,Q=e.hideHeader;const Y=(0,a.useState)(f),_=(0,l.A)(Y,2),U=_[0],q=_[1],L=(0,a.useState)(!0),X=(0,l.A)(L,2),Z=X[0],z=X[1],J=(0,a.useState)(!0),K=(0,l.A)(J,2),G=K[0],ee=K[1],te=(0,a.useState)(),oe=(0,l.A)(te,2),le=oe[0],ne=oe[1],se=(0,a.useCallback)(e=>{var t;q(!1),ee(null===(t=null==e?void 0:e.returnFocus)||void 0===t||t)},[]),re=(0,a.useCallback)(()=>{q(!0)},[]),de=(0,i.zk)(),ae=M||(0,u.Xb)()||(0,u.jl)()||de.innerHeight<400,ie=(0,n.we)({placement:y||"bottom-end",strategy:w,open:U,onOpenChange:e=>{e?(re(),null==H||H(),null==P||P()):(se(),null==A||A(),null==P||P(),ne(null))},middleware:ae?[]:[T&&(0,s.cY)(S[T]),(0,s.UU)(O),(0,s.Ej)({apply(e){const t=e.availableHeight,o=e.elements,l=`${Math.max(0,t).toFixed(0)}px`,n=`${Math.max(0,o.reference.offsetWidth)}px`,s=`${Math.max(0,o.reference.offsetHeight)}px`;o.floating.style.setProperty("--sa-dropdown-floating-max-height",l),o.floating.style.setProperty("--sa-dropdown-button-width",n),o.floating.style.setProperty("--sa-dropdown-button-height",s)}})],whileElementsMounted:r.ll}),ce=ie.refs,ue=ie.floatingStyles,me=ie.context,pe=(ye=ie.placement).includes("top")?"top":ye.includes("bottom")?"bottom":null,xe=(0,n.kp)(me),ge=(0,n.s9)(me,{ancestorScroll:!g,enabled:!ae}),he=(0,n.bv)([xe,ge]),fe=he.getReferenceProps,be=he.getFloatingProps,je=fe(),ve="auto"===b;var ye;return(0,j.jsxs)(j.Fragment,{children:[(0,a.cloneElement)(t,{buttonRef:ce.setReference,dataTestId:x,isOpen:U,toggleOpen:je.onClick,yPosition:pe,setIsOpen:q,activeItemId:le}),U?(0,j.jsx)(n.XF,{root:m,children:(0,j.jsx)(n.s3,{closeOnFocusOut:!0,context:me,disabled:Z,order:F,returnFocus:!1,children:(0,j.jsx)("div",{className:(0,d.$)("z-dropdown",Z?"opacity-0":"opacity-100","sot61",ae?"flex flex-col sa-fixed":"",ae?{"justify-start":"top"===pe,"justify-end":"bottom"===pe,"top-sticky-offset after:top-0":ve}:"",ae?"QwYmQ":"RVZdh",ae?"":["top"===pe?"cYSQS":"HOdWB"],ae?"":["fixed"===B&&"button"===T?["IQJco"]:"rRciY",(0,c.E$)(W,I)]),ref:ce.setFloating,style:ae?{}:ue,...be(),children:(0,j.jsx)(C,{attachment:R,disabledBodyScroll:g,extraClassName:v,hideHeader:Q,isLoading:Z,isMobileView:ae,isOverlayPosition:"button"===T,isReturnFocus:G,mobileHeight:b,returnFocusNodeRef:ce.domReference,rounded:W,setActiveItemId:ne,setIsLoading:z,title:D,verticalPlacement:pe,width:B,onCloseDropdown:se,children:o})})})}):null]})}}}]);

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.