PageSourceSearch

https://www.investify.pk/_next/static/chunks/3d_3xhsk7nh1c.js

js investify.pk collected 2026-10-01 23:53:44 UTC 30,579 bytes, 3 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:{};e._posthogReleaseId=e._posthogReleaseId||"01a0f91a-990b-0000-13bf-99fb4a36d115";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="4996195d-a57d-5387-b7b2-fa71f5c7203e")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,862911,e=>{"use strict";let t=(0,e.i(475254).default)("BriefcaseBusiness",[["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 6V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v2",key:"1ksdt3"}],["path",{d:"M22 13a18.15 18.15 0 0 1-20 0",key:"12hx5q"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);e.s(["BriefcaseBusiness",0,t],862911)},283086,e=>{"use strict";let t=(0,e.i(475254).default)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);e.s(["Sparkles",0,t],283086)},808341,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={cancelIdleCallback:function(){return o},requestIdleCallback:function(){return i}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},519083,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={ESCAPE_REGEX:function(){return o},htmlEscapeAttributeString:function(){return c},htmlEscapeJsonString:function(){return d}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},o=/[&><\u2028\u2029]/g,s={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},l=/[&"'<>]/g;function d(e){return e.replace(o,e=>i[e])}function c(e){return e.replace(l,e=>s[e])}},479520,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return g}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=e.r(555682),o=e.r(190809),s=e.r(843476),l=i._(e.r(174080)),d=o._(e.r(271645)),c=e.r(742732),u=e.r(922737),f=e.r(808341),p=e.r(519083),m=new Map,h=new Set,b=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:a=null,dangerouslySetInnerHTML:i,children:o="",strategy:s="afterInteractive",onError:d,stylesheets:c}=e,f=r||t;if(f&&h.has(f))return;if(m.has(t)){h.add(f),m.get(t).then(n,d);return}let p=()=>{a&&a(),h.add(f)},b=document.createElement("script"),x=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),n&&n.call(this,t),p()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});i?(b.innerHTML=i.__html||"",p()):o?(b.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",p()):t&&(b.src=t,m.set(t,x)),(0,u.setAttributesFromProps)(b,e),"worker"===s&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",s),c&&(e=>{if(l.default.preinit)return e.forEach(e=>{l.default.preinit(e,{as:"style"})});if("u">typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(c),document.body.appendChild(b)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>b(e))}):b(e)}function g(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
1h(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function w(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:a=null,strategy:i="afterInteractive",onError:o,stylesheets:u,...m}=e,{updateScripts:x,scripts:g,getIsSsr:w,appDir:y,nonce:v}=(0,d.useContext)(c.HeadManagerContext);v=m.nonce||v;let j=(0,d.useRef)(!1);(0,d.useEffect)(()=>{let e=t||r;j.current||(a&&e&&h.has(e)&&a(),j.current=!0)},[a,t,r]);let S=(0,d.useRef)(!1);if((0,d.useEffect)(()=>{if(!S.current){if("afterInteractive"===i)b(e);else"lazyOnload"===i&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>b(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>b(e))}));S.current=!0}},[e,i]),("beforeInteractive"===i||"worker"===i)&&(x?(g[i]=(g[i]||[]).concat([{id:t,src:r,onLoad:n,onReady:a,onError:o,...m,nonce:v}]),x(g)):w&&w()?h.add(t||r):w&&!w()&&b({...e,nonce:v})),y){if(u&&u.forEach(e=>{l.default.preinit(e,{as:"style"})}),"beforeInteractive"===i)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))})`}});else return l.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:v,crossOrigin:m.crossOrigin}:{as:"script",nonce:v,crossOrigin:m.crossOrigin}),(0,s.jsx)("script",{nonce:v,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${(0,p.htmlEscapeJsonString)(JSON.stringify([r,{...m,id:t}]))})`}});"afterInteractive"===i&&r&&l.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:v,crossOrigin:m.crossOrigin}:{as:"script",nonce:v,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(w,"__nextScript",{value:!0});let y=w;("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},90317,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={bindSnapshot:function(){return d},createAsyncLocalStorage:function(){return l},createSnapshot:function(){return c}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let i=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class o{disable(){throw i}getStore(){}run(){throw i}exit(){throw i}enterWith(){throw i}static bind(e){return e}}let s="u">typeof globalThis&&globalThis.AsyncLocalStorage;function l(){return s?new s:new o}function d(e){return s?s.bind(e):o.bind(e)}function c(){return s?s.snapshot():function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return e(...r)}}},242344,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorageInstance",{enumerable:!0,get:function(){return n}});let n=(0,e.r(90317).createAsyncLocalStorage)()},563599,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"workAsyncStorage",{enumerable:!0,get:function(){return n.workAsyncStorageInstance}});let n=e.r(242344)},309885,(e,t,r)=>{"use strict";function n(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return n}})},667585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let n=e.r(132061);function a(e){let{reason:t,children:r}=e;if("u"<typeof window)throw Object.defineProperty(new n.BailoutToCSRError(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return r}},652157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let n=e.r(843476),a=e.r(174080),i=e.r(563599),o=e.r(309885),s=e.r(543369);function l(e){let{moduleIds:t}=e;if("u">typeof window)return null;let r=i.workAsyncStorage.getStore();if(void 0===r)return null;let l=[];
1if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files;l.push(...t)}}if(0===l.length)return null;let d=(0,s.getAssetTokenQuery)();return(0,n.jsx)(n.Fragment,{children:l.map(e=>{let t=`${r.assetPrefix}/_next/${(0,o.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style",nonce:r.nonce},e):((0,a.preload)(t,{as:"script",fetchPriority:"low",nonce:r.nonce}),null)})})}},869093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let n=e.r(843476),a=e.r(271645),i=e.r(667585),o=e.r(652157);function s(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},d=function(e){let t={...l,...e},r=(0,a.lazy)(()=>t.loader().then(s)),d=t.loading;function c(e){let s=d?(0,n.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,c=l?a.Suspense:a.Fragment,u=t.ssr?(0,n.jsxs)(n.Fragment,{children:["u"<typeof window?(0,n.jsx)(o.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(c,{...l?{fallback:s}:{},children:u})}return c.displayName="LoadableComponent",c}},770703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let n=e.r(555682)._(e.r(869093));function a(e,t){let r={};"function"==typeof e&&(r.loader=e);let a={...r,...t};return(0,n.default)({...a,modules:a.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},544636,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(217255),a=e.i(363178),i=e.i(770703),o=e.i(651223),s=e.i(784161);let l=(0,i.default)(()=>e.A(297839),{loadableGenerated:{modules:[78924]},ssr:!1}),d={...o.defaultPortfolioRealtimeState,isLoading:!0};function c(a){let{children:i}=a,{data:c,status:u}=(0,n.useSession)(),[f,p]=(0,r.useState)(null),m=(0,r.useCallback)(t=>{p(t),t.porfolio&&t.firebaseUserId&&((0,s.writePortfolioDocCache)(t.firebaseUserId,t.porfolio),e.A(624282).then(e=>{let{writePortfolioNotificationSnapshot:r}=e;return r(t.porfolio)}))},[]);(0,r.useEffect)(()=>{"authenticated"!==u&&p(null)},[u]);let h=c?.user?.user_id?.toString(),b=(0,r.useMemo)(()=>{if("authenticated"!==u||!h)return null;let e=(0,s.readPortfolioDocCache)(h);return e?{porfolio:e,isLoading:!1,hasLoaded:!0,error:null,isUserFirebaseAuthenticated:!1,firebaseUserId:null}:null},[u,h]),x=(0,r.useMemo)(()=>"authenticated"===u&&c?.user?f?.hasLoaded?f:b??f??d:"loading"===u?d:o.defaultPortfolioRealtimeState,[u,c?.user,f,b]);return(0,t.jsxs)(o.PortfolioRealtimeContext.Provider,{value:x,children:["authenticated"===u&&c?.user?(0,t.jsx)(l,{session:c,onState:m}):null,i]})}var u=e.i(743693);function f(){let{data:t}=(0,n.useSession)(),a=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{t?.error!=="RefreshAccessTokenError"||a.current||(a.current=!0,e.A(320269).then(e=>{let{performLogout:t}=e;return t({callbackUrl:"/login"})}).catch(()=>window.location.assign("/login")))},[t?.error]),null}e.s(["NextAuthProvider",0,function(e){let{children:r}=e;return(0,t.jsxs)(n.SessionProvider,{children:[(0,t.jsx)(f,{}),(0,t.jsx)(u.MarketFeedProvider,{children:(0,t.jsx)(a.ThemeProvider,{attribute:"class",defaultTheme:"system",enableSystem:!0,disableTransitionOnChange:!0,children:(0,t.jsx)(c,{children:r})})})]})}],544636)},312239,e=>{"use strict";var t=e.i(843476),r=e.i(770703),n=e.i(217255),a=e.i(271645);let i=(0,r.default)(()=>e.A(808887).then(e=>e.FirebaseAnalyticsListener),{loadableGenerated:{modules:[221726]},ssr:!1}),o=(0,r.default)(()=>e.A(788980).then(e=>e.PostHogErrorListener),{loadableGenerated:{modules:[935635]},ssr:!1}),s=(0,r.default)(()=>e.A(103958).then(e=>e.PushForegroundListener),{loadableGenerated:{modules:[468278]},ssr:!1}),l=(0,r.default)(()=>e.A(95586).then(e=>e.PwaServiceWorkerRegistration),{loadableGenerated:{modules:[908198]},ssr:!1}),d=(0,r.default)(()=>e.A(52452).then(e=>e.WebVitalsListener),{loadableGenerated:{modules:[810769]},ssr:!1}),c=["pointerdown","keydown","touchstart","wheel"];e.s(["DeferredAppRuntime",0,function(){let{status:e}
1=(0,n.useSession)(),[r,u]=(0,a.useState)(!1),[f,p]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{let e=window;if(e.requestIdleCallback){let t=e.requestIdleCallback(()=>u(!0),{timeout:1500});return()=>e.cancelIdleCallback?.(t)}let t=window.setTimeout(()=>u(!0),600);return()=>window.clearTimeout(t)},[]),(0,a.useEffect)(()=>{let e,t=0,r=()=>{for(let e of(window.clearTimeout(t),c))window.removeEventListener(e,r);e=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window,r=!1,n=0,a=0,i=0,o=()=>{r||e()};return n=t.requestAnimationFrame(()=>{n=t.requestAnimationFrame(()=>{"function"==typeof t.requestIdleCallback?a=t.requestIdleCallback(o,{timeout:2e3}):i=t.setTimeout(o,250)})}),()=>{r=!0,t.cancelAnimationFrame(n),a&&t.cancelIdleCallback(a),i&&t.clearTimeout(i)}}(()=>p(!0))};for(let e of c)window.addEventListener(e,r,{passive:!0});return t=window.setTimeout(r,1e4),()=>{for(let n of(window.clearTimeout(t),e?.(),c))window.removeEventListener(n,r)}},[]),r||f)?(0,t.jsxs)(a.Suspense,{fallback:null,children:[r?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o,{}),(0,t.jsx)(d,{}),(0,t.jsx)(l,{}),"authenticated"===e?(0,t.jsx)(s,{}):null]}):null,f?(0,t.jsx)(i,{}):null]}):null}],312239)},225521,e=>{"use strict";var t=e.i(271645),r=e.i(846696),n=e.i(399012);e.s(["PublicApiHealthListener",0,function(){return(0,t.useEffect)(()=>((0,n.setPublicApiHealthHandlers)({onStale:()=>r.toast.error("Live updates paused.",{id:"live-updates-stale",duration:1/0,action:{label:"Refresh",onClick:()=>window.location.reload()}})}),()=>(0,n.setPublicApiHealthHandlers)({})),[]),null}])},726806,e=>{"use strict";var t=e.i(618566),r=e.i(271645);let n=[0,50,150,400,900],a="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover";function i(){(function(){if(!window.matchMedia("(pointer: coarse), (max-width: 767px)").matches)return;let e=document.querySelector('meta[name="viewport"]');e&&e.content!==a&&(e.content=a)})(),window.scrollTo({top:0,left:0,behavior:"auto"})}e.s(["RouteScrollManager",0,function(){let e=(0,t.usePathname)(),a=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e,t=window.history.scrollRestoration;if(window.history.scrollRestoration="manual",e=window.performance.getEntriesByType("navigation")[0],e?.type!=="reload")return()=>{window.history.scrollRestoration=t};i();let r=n.map(e=>window.setTimeout(i,e));return()=>{window.history.scrollRestoration=t,r.forEach(e=>window.clearTimeout(e))}},[]),(0,r.useEffect)(()=>{e&&(null!==a.current&&a.current!==e&&window.requestAnimationFrame(()=>{i()}),a.current=e)},[e]),null}])},330989,e=>{"use strict";var t=e.i(843476),r=e.i(657688),n=e.i(862911),a=e.i(655900),i=e.i(283086),o=e.i(25652),s=e.i(37727),l=e.i(271645),d=e.i(897330),c=e.i(865627),u=e.i(301205);let f="investify-mobile-app-install-snoozed-until",p="resetInstallPrompt";e.s(["MobileAppInstallPrompt",0,function(){let[e,m]=(0,l.useState)(null),[h,b]=(0,l.useState)(!1),[x,g]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e,t,r,n,a,i,o,s=(e=window.navigator.userAgent||"",t=window.navigator.platform||"",r=window.navigator.maxTouchPoints>1,n=/Android/i.test(e),a=/iPhone|iPod|iPad/i.test(e)||"MacIntel"===t&&r,i=/CriOS|Chrome|Chromium/i.test(e)&&!/Edg|EdgiOS|OPR|OPiOS|Firefox|FxiOS|SamsungBrowser/i.test(e),window.matchMedia?.("(display-mode: standalone)")?.matches||window.navigator.standalone||!i?null:n?{platform:"android",href:u.site.playUrl,storeName:"Google Play",buttonLabel:"Install from Google Play",icon:c.default}:a?{platform:"ios",href:u.site.appStoreUrl,storeName:"App Store",buttonLabel:"Download on the App Store",icon:d.default}:null);if(function(){try{let e=new URL(window.location.href);if("1"!==e.searchParams.get(p))return;window.localStorage.removeItem(f),e.searchParams.delete(p),window.history.replaceState(null,"",`${e.pathname}${e.search}${e.hash}`)}catch{}}(),!s||function(){try{let e=Number(window.localStorage.getItem(f));return Number.isFinite(e)&&e>Date.now()}catch{return!1}}())return;m(s);let l=()=>{window.removeEventListener("scroll",l),window.removeEventListener("wheel",l),window.removeEventListener("touchmove",l),o=window.setTimeout(()=>{b(!0),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>g(!0))})},120)};return window.addEventListener("scroll",l,{passive:!0,once:!0}),window.addEventListener("wheel",l,{passive:!0,once:!0}),window.addEventListener("touchmove",l,{passive:!0,once:!0}),()=>{window.removeEventListener("scroll",l),window.removeEventListener("wheel",l),window.removeEventListener("touchmove",l),o&&window.clearTimeout(o)}},[]);let w=(0,l.useMemo)(()=>
1e?"ios"===e.platform?{metric:"4.9",metricLabel:"App Store rating",accentLabel:"iPhone app"}:{metric:"4.7",metricLabel:"Google Play rating",accentLabel:"Android app"}:null,[e]);if(!e||!w||!h)return null;let y=()=>{g(!1),window.setTimeout(()=>b(!1),420)},v=()=>{try{window.localStorage.setItem(f,String(Date.now()+6048e5))}catch{}},j=()=>{y()};return(0,t.jsxs)("div",{className:"fixed inset-0 z-[80] flex items-end justify-center px-3 pb-[calc(env(safe-area-inset-bottom)+12px)] sm:hidden",role:"dialog","aria-modal":"true","aria-labelledby":"mobile-app-install-title",children:[(0,t.jsx)("div",{className:`absolute inset-0 bg-black/65 backdrop-blur-[6px] transition-opacity duration-[420ms] ease-out motion-reduce:transition-none ${x?"opacity-100":"opacity-0"}`,onClick:j}),(0,t.jsxs)("div",{className:`relative w-full max-w-[430px] transform-gpu overflow-hidden rounded-[28px] border border-primary/20 bg-white shadow-[0_-22px_70px_rgba(0,0,0,0.34)] transition-[transform,opacity] duration-[520ms] ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform motion-reduce:transition-none ${x?"translate-y-0 scale-100 opacity-100":"translate-y-[calc(100%+28px)] scale-[0.98] opacity-0"}`,children:[(0,t.jsxs)("div",{className:"relative bg-gradient-to-br from-[#f4fbfb] via-white to-[#ecf8f6] px-5 pb-5 pt-4 tdark:from-[#11211e] tdark:via-[#141a1d] tdark:to-[#0f1d19]",children:[(0,t.jsx)("div",{className:"mx-auto mb-3 h-1.5 w-12 rounded-full bg-[#cfdede] tdark:bg-white/15","aria-hidden":"true"}),(0,t.jsx)("button",{type:"button",onClick:j,className:"absolute right-4 top-4 inline-flex h-9 w-9 items-center justify-center rounded-full border border-[#d8e8e8] bg-white/85 text-heading shadow-sm transition hover:bg-white","aria-label":"Close app install prompt",children:(0,t.jsx)(s.X,{className:"h-4 w-4"})}),(0,t.jsxs)("div",{className:"flex items-start gap-4 pr-10",children:[(0,t.jsx)("div",{className:"relative h-[112px] w-[92px] shrink-0 overflow-hidden rounded-[24px] border border-primary/20 bg-[#071311] p-2 shadow-[0_16px_32px_rgba(10,132,128,0.22)]",children:(0,t.jsxs)("div",{className:"h-full rounded-[18px] bg-white px-2 py-3",children:[(0,t.jsx)("div",{className:"mx-auto mb-3 h-1 w-8 rounded-full bg-[#dceaea]"}),(0,t.jsxs)("div",{className:"flex items-end gap-1.5",children:[(0,t.jsx)("span",{className:"h-8 w-2 rounded-full bg-[#f3a619]"}),(0,t.jsx)("span",{className:"h-12 w-2 rounded-full bg-primary"}),(0,t.jsx)("span",{className:"h-16 w-2 rounded-full bg-[#0f766e]"}),(0,t.jsx)("span",{className:"h-10 w-2 rounded-full bg-[#f3a619]"})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-center justify-between",children:[(0,t.jsx)("span",{className:"h-2 w-8 rounded-full bg-primary/20"}),(0,t.jsx)(a.ChevronUp,{className:"h-4 w-4 text-[#12aa72]"})]}),(0,t.jsx)("div",{className:"mt-2 h-2 w-12 rounded-full bg-[#eaf4f4]"})]})}),(0,t.jsxs)("div",{className:"min-w-0 pt-1",children:[(0,t.jsxs)("div",{className:"inline-flex items-center gap-1.5 rounded-full bg-primary/10 px-3 py-1 text-[11px] font-semibold uppercase tracking-[0.12em] text-primary",children:[(0,t.jsx)(i.Sparkles,{className:"h-3.5 w-3.5"}),w.accentLabel]}),(0,t.jsx)("p",{id:"mobile-app-install-title",className:"mt-3 text-[22px] font-semibold leading-tight text-heading",children:"Investify looks better in the app"}),(0,t.jsx)("p",{className:"mt-2 text-sm leading-6 text-lightText",children:"Follow PSX prices, portfolios, alerts and news with a smoother mobile experience."})]})]}),(0,t.jsxs)("div",{className:"mt-4 grid grid-cols-2 gap-2 text-xs font-semibold text-heading",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-2xl border border-[#dceaea] bg-white/80 px-3 py-2",children:[(0,t.jsx)(o.TrendingUp,{className:"h-4 w-4 text-primary"}),(0,t.jsx)("span",{children:"Live PSX tools"})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 rounded-2xl border border-[#dceaea] bg-white/80 px-3 py-2",children:[(0,t.jsx)(n.BriefcaseBusiness,{className:"h-4 w-4 text-primary"}),(0,t.jsx)("span",{children:"Portfolio tracking"})]})]}),(0,t.jsxs)("div",{className:"mt-4 flex items-center justify-between rounded-2xl border border-[#dceaea] bg-white/85 px-3 py-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-lg font-semibold text-heading",children:w.metric}),(0,t.jsx)("p",{className:"text-[11px] font-semibold uppercase tracking-[0.08em] text-lightText",children:w.metricLabel})]}),(0,t.jsx)("p",{className:"text-right text-xs font-semibold text-primary",children:"1M+ downloads"})]})]}),(0,t.jsxs)("div",{className:"space-y-2 px-5 pb-5 pt-4",children:[(0,t.jsxs)("a",{href:e.href,onClick:t=>{t.preventDefault(),v(),window.location.assign(e.href)},className:"flex min-h-[54px] w-full items-center justify-center gap-3 rounded-full bg-primary px-4 text-base font-semibold text-white shadow-[0_10px_24px_rgba(10,132,128,0.24)] transition hover:bg-primary/90 hover:no-underline","aria-label":`${e.buttonLabel} from ${e.storeName}`,children:[(0,t.jsx)(r.default,{src:e.icon,alt:"",width:22,height:22,className:"h-[22px] w-[22px] shrink-0"}),e.buttonLabel]}),(0,t.jsx)("button",{type:"button",onClick:()=>{v(),y()},className:"min-h-[46px] w-full rounded-full border border-[#d8e8e8] bg-white px-4 text-sm font-semibold text-lightText transition hover:border-primary/30 hover:text-heading tdark:hover:text-[#e9ecef]",children:"Do not remind me for 7 days"})]})]})]})}])},201324,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(217255),a=e.i(657688),i=e.i(522016),o=e.i(618566),s=e.i(63727);let l=(0,e.i(475254).default)("ChevronsLeft",[["path",{d:"m11 17-5-5 5-5",key:"13zhaf"}],["path",{d:"m18 17-5-5 5-5",key:"h8a8et"}]]);var d=e.i(694351),c=e.i(423609),u=e.i(931091),f=e.i(779334),p=e.i(239616),m=e.i(870273),h=e.i(25652),b=e.i(975157);let x=[{label:"Home",href:"/",icon:d.Home},{label:"Stocks",href:"/stocks",icon:h.TrendingUp,match:["/stocks/","/company/"]}
1,{label:"Indices",href:"/indices",icon:c.Landmark,match:["/indices/"]},{label:"Announcements",href:"/announcements",icon:u.Megaphone,match:["/announcements/"]},{label:"News",href:"/news",icon:f.Newspaper,match:["/news/","/ur/news"]},{label:"Watchlist",href:"/watchlist",icon:m.Star},{label:"Portfolio",href:"/portfolio",icon:s.Briefcase,match:["/portfolio/"]}],g={label:"Settings",href:"/settings",icon:p.Settings};function w(e){let{label:r}=e;return(0,t.jsx)("span",{"aria-hidden":"true",className:"pointer-events-none absolute left-full top-1/2 z-50 ml-0.5 -translate-y-1/2 whitespace-nowrap rounded-md bg-[#374151] tdark:bg-[#212832] px-2 py-0.5 text-[11px] font-medium text-white opacity-0 transition-opacity duration-100 group-hover:opacity-100 group-focus-visible:opacity-100",children:r})}function y(e){let{item:r,expanded:n,pathname:a}=e,o=r.icon,s=!!a&&(a===r.href||"/"!==r.href&&(!!a.startsWith(`${r.href}/`)||!!r.match?.some(e=>a.startsWith(e))));return(0,t.jsxs)(i.default,{href:r.href,"aria-current":s?"page":void 0,className:(0,b.cn)("group relative flex h-11 items-center gap-3 rounded-[12px] px-[14px] text-[15px] font-medium transition-colors",s?"bg-[#f2f8f8] text-primary":"text-heading hover:bg-[#f2f8f8] hover:text-primary"),children:[(0,t.jsx)(o,{className:(0,b.cn)("h-5 w-5 shrink-0 transition-colors",r.iconClassName?r.iconClassName:s?"text-primary":"text-[#647080] group-hover:text-primary")}),(0,t.jsx)("span",{className:(0,b.cn)("min-w-0 flex-1 truncate transition-opacity duration-150",n?"opacity-100":"pointer-events-none opacity-0"),children:r.label}),n?null:(0,t.jsx)(w,{label:r.label})]})}function v(e){let{expanded:r,onToggle:n}=e,s=(0,o.usePathname)();return(0,t.jsxs)("aside",{className:(0,b.cn)("fixed inset-y-0 left-0 z-40 hidden flex-col border-r border-[#e6eeee] bg-white shadow-[0_8px_30px_rgba(15,23,42,0.05)] transition-[width] duration-200 ease-out tdark:border-r-0 xl:flex",r?"w-[200px]":"w-[68px]"),"aria-label":"Primary",children:[(0,t.jsxs)("div",{className:"flex h-[72px] shrink-0 items-center gap-2 px-3",children:[(0,t.jsx)(i.default,{href:"/",className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl","aria-label":"Investify home",children:(0,t.jsx)(a.default,{src:"/assetsnew/img/investify-logo-icon.png",alt:"Investify",width:32,height:32,className:"h-8 w-8 object-contain",priority:!0})}),(0,t.jsx)("span",{className:(0,b.cn)("min-w-0 flex-1 truncate text-[15px] font-bold text-heading transition-opacity duration-150",r?"opacity-100":"pointer-events-none opacity-0"),children:"Investify"})]}),(0,t.jsx)("nav",{className:"flex-1 space-y-1 overflow-visible px-2 py-3",children:x.map(e=>(0,t.jsx)(y,{item:e,expanded:r,pathname:s},e.href))}),(0,t.jsxs)("div",{className:"shrink-0 space-y-1 p-2",children:[(0,t.jsx)(y,{item:g,expanded:r,pathname:s}),(0,t.jsxs)("button",{type:"button",onClick:n,"aria-label":r?"Collapse sidebar":"Expand sidebar","aria-expanded":r,className:"group relative flex h-11 w-full items-center gap-3 rounded-[12px] px-[14px] text-[15px] font-medium text-[#647080] transition-colors hover:bg-[#f2f8f8] hover:text-primary",children:[(0,t.jsx)(l,{className:(0,b.cn)("h-5 w-5 shrink-0 transition-transform duration-200",r?"rotate-0":"rotate-180")}),(0,t.jsx)("span",{className:(0,b.cn)("min-w-0 flex-1 truncate text-left transition-opacity duration-150",r?"opacity-100":"pointer-events-none opacity-0"),children:"Collapse"}),r?null:(0,t.jsx)(w,{label:"Expand"})]})]})]})}var j=e.i(308790);let S="investify:sidebar-expanded",_="investify:was-authed";function k(e){try{return"1"===window.localStorage.getItem(e)}catch{return!1}}e.s(["AppShell",0,function(e){let{children:a}=e,{data:i,status:o}=(0,n.useSession)(),s=(0,j.useSidebarEnabled)(),[l,d]=(0,r.useState)(!1),[c,u]=(0,r.useState)(()=>k(S));(0,r.useEffect)(()=>{d(!0),document.documentElement.classList.add("app-rail-ready")},[]),(0,r.useEffect)(()=>{if("loading"!==o)try{"authenticated"===o?window.localStorage.setItem(_,"1"):window.localStorage.removeItem(_)}catch{}},[o]);let f=("authenticated"===o||"unauthenticated"!==o&&k(_))&&s;return(0,r.useEffect)(()=>{let e=document.documentElement;e.classList.toggle("app-has-rail",f),e.classList.toggle("app-sidebar-expanded",f&&c)},[f,c]),(0,t.jsxs)(t.Fragment,{children:[l&&f?(0,t.jsx)(v,{expanded:c,onToggle:()=>{u(e=>{let t=!e;try{window.localStorage.setItem(S,t?"1":"0")}catch{}return t})}}):null,(0,t.jsx)("div",{className:"app-shell-content",children:a})]})}],201324)},713354,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(846696);e.s(["Toaster",0,e=>{let{...a}=e,[i,o]=(0,r.useState)("bottom-right");return(0,r.useEffect)(()=>{let e=window.matchMedia("(max-width: 640px)"),t=()=>o(e.matches?"bottom-center":"bottom-right");return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,t.jsx)(n.Toaster,{theme:"light",className:"toaster group",position:i,closeButton:!0,gap:10,offset:{top:84,right:16,bottom:16,left:16},mobileOffset:{top:72,right:12,bottom:16,left:12},duration:3500,style:{"--width":"404px","--toast-close-button-start":"unset","--toast-close-button-end":"0","--toast-close-button-transform":"translate(35%, -35%)"},toastOptions:{classNames:{toast:"group toast pointer-events-auto !flex !items-center !gap-3.5 !rounded-xl !border !border-black/[0.06] !border-l-[3px] !border-l-[color:var(--toast-accent,#D4D4D4)] !bg-white !px-5 !py-4 !text-[15px] !shadow-[0_10px_34px_-12px_rgba(17,24,39,0.22)] backdrop-blur-sm [&_[data-icon]]:text-[color:var(--toast-accent,#6B7280)] [&_[data-icon]>svg]:!h-5 [&_[data-icon]>
1svg]:!w-5",title:"!font-semibold !leading-snug !text-heading",description:"!mt-0.5 !text-sm !leading-snug !text-subtitle",icon:"ml-0.5",success:"[--toast-accent:#00A08A]",error:"[--toast-accent:#E24D45]",info:"[--toast-accent:#028C8C]",warning:"[--toast-accent:#F59E1A]",actionButton:"group-[.toast]:!rounded-lg group-[.toast]:!bg-primary group-[.toast]:!px-3 group-[.toast]:!text-xs group-[.toast]:!font-medium group-[.toast]:!text-white",cancelButton:"group-[.toast]:!rounded-lg group-[.toast]:!bg-neutral-100 group-[.toast]:!px-3 group-[.toast]:!text-xs group-[.toast]:!text-neutral-600",closeButton:"group-[.toast]:!border-black/5 group-[.toast]:!bg-white group-[.toast]:!text-neutral-400 group-[.toast]:hover:!text-heading"}},...a})}])},308790,e=>{"use strict";var t=e.i(271645);let r="investify:sidebar-enabled",n="investify:sidebar-pref-change";function a(){try{return"0"!==window.localStorage.getItem(r)}catch{return!0}}function i(e){return window.addEventListener(n,e),window.addEventListener("storage",e),()=>{window.removeEventListener(n,e),window.removeEventListener("storage",e)}}e.s(["setSidebarEnabled",0,function(e){try{window.localStorage.setItem(r,e?"1":"0")}catch{}window.dispatchEvent(new CustomEvent(n))},"useSidebarEnabled",0,function(){return(0,t.useSyncExternalStore)(i,a,()=>!0)}])}]);
2
3//# chunkId=4996195d-a57d-5387-b7b2-fa71f5c7203e

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.