PageSourceSearch

https://www.openbank.es/component---src-views-fund-fund-tsx-a0a068bafe92f7e198ec.js

js openbank.es collected 2026-10-01 11:40:39 UTC 4,823 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmb_ui_pub_ok_es=self.webpackChunkmb_ui_pub_ok_es||[]).push([[1708],{30066:function(e,t,n){n.d(t,{E:function(){return a.E}});var a=n(78078)},82230:function(e,t,n){n.r(t),n.d(t,{default:function(){return L}});var a=n(27699),o=n(90017),r=n(55009),i=n(94679),l=n(89585),s=n(1079),d=n(28930),u=n(71130);const c=d.default.main.withConfig({displayName:"Fundstyled__Background",componentId:"sc-1cwkmk5-0"})(["",";background:",";"],(({withPadding:e,theme:t})=>{var n,a,o;return e&&(0,d.css)(["padding-top:",";padding-bottom:",";@media screen and ","{padding-bottom:",";}"],null==t||null===(n=t.spaces)||void 0===n?void 0:n.m,null==t||null===(a=t.spaces)||void 0===a?void 0:a.xxl,u.Fr,null==t||null===(o=t.spaces)||void 0===o?void 0:o.l)}),(({theme:e})=>{var t;return null==e||null===(t=e.colors)||void 0===t?void 0:t.accentF}));var g=n(58219),m=n(88313),p=n(66789),v=n(27359),f=n(13227),h=n(64724),w=n(36280),b=n(28e3);const E=e=>({color:null==e?void 0:e.fund_message_box_color_palette,text:null==e?void 0:e.fund_message_box_text}),_=e=>{window.location.href=`${v.B.getPartenonPrivateSiteUrl()}${e}`},P=({isin:e,isCustomer:t,isLoggedUser:n,isAlternativeFund:a=!1})=>{const o=p.i.getContentLanguage(),r=h.A.data.languages[o].fundsPartenon;return{isin:e,countryCode:b.$.getCountryCode(),baseApiUrl:v.B.getPartenonBaseApiUrl(),currentLanguage:o,privateSiteUrl:v.B.getPartenonPrivateSiteUrl(),isProspectUser:!t,isPublicUser:!0,isAlternativeFund:a,isCustomer:t,isLoggedIn:n,messageFundBox:E(r),redirectOnBoarding:()=>{const t=`${v.B.getOnboardingUrl()}/promo-code/Fondos/ISIN/${e}`;window.location.href=t},redirectHire:_,contextUriBrowser:`${v.B.getBaseUrl()}${null==r?void 0:r.fund_url_page_alias}`}},F=d.default.div.withConfig({displayName:"FundsPartenonstyled__Wrapper",componentId:"sc-1mif7hx-0"})([".row > div{flex-basis:auto !important;}.tab-profitability > .row,.tabfees > .row,.tabassets > .row,.tabinfo > .row{display:block !important;}.text-formatted .white{color:",";}"],(({theme:e})=>{var t;return null==e||null===(t=e.colors)||void 0===t?void 0:t.neutralA})),k="model-ok-funds-card",y=({isin:e,onDataLoad:t,isAlternativeFund:n})=>{var o,r;const{setIsOpenModal:l,setOnSuccessUrl:s}=(0,w.v)(),d=g.D.isLoggedIn(),u=g.D.isCustomer(),c=p.i.getContentLanguageShort(),b=null===(o=h.A.data)||void 0===o||null===(r=o.drupalSettings)||void 0===r?void 0:r.user_cookie_domain,[E,_]=(0,a.useState)(""),y=e=>{_(e)};(0,a.useEffect)((()=>{f.Q.exists("language")&&f.Q.remove("language",b),f.Q.add("language",c);const t=P({isin:e,isCustomer:u,isLoggedUser:d,isAlternativeFund:n});window.okFunds={...t,displayAccessModal:C,onChangeNameProduct:y},m.s.loadScript("/lib/ok-funds-card-stand-alone/dist/index.js").then((()=>{new OKFundsCardStandAlone.default(e).render(k)}))}),[d,e,u,c]),(0,a.useEffect)((()=>{t&&t(E)}),[E]),(0,a.useEffect)((()=>{window.utag_pending=window.utag_pending||[]}),[]);const C=e=>{const t=`${v.B.getPartenonPrivateSiteUrl()}${e}`;s(t),l((e=>!e))};return a.createElement(a.Fragment,null,a.createElement(i.Helmet,null,a.createElement("link",{href:"/lib/ok-funds-card-stand-alone/dist/style.css",rel:"stylesheet"})),a.createElement(F,{id:k}))};var C=n(30066);const U=e=>{C.E.pageViewEvent({pageName:e,serviceType:"productInformation",sectionFamily:"wealth",sectionName:"wealth",pageType:"productPage",sectionCategory:"public"})},$=({content:e,pathname:t,onDataLoad:n})=>{var o,r;return(e=>{(0,a.useEffect)((()=>{U(e)}),[e])})(t),a.createElement(c,{withPadding:!0},a.createElement(y,{isAlternativeFund:null==e||null===(o=e.content)||void 0===o?void 0:o.isAlternativeFund,isin:null==e||null===(r=e.content)||void 0===r?void 0:r.isinDgs,onDataLoad:n}))},x=(e,t)=>{const n=s.j.getPrefixPath(e.value);return`${v.B.getBaseUrl()}${n}/fund/${t}`},B=({isin:e="",langcode:t})=>{const[n,o]=(0,a.useState)(""),d=(0,r.useLocation)();(0,a.useEffect)((()=>{if(!(12===e.length)){const e=s.j.getPrefixPath(t.value);(0,l.o)(`${e}/404`)}}),[t.value]);const u={langcode:t,content:{name:"",isinDgs:e,securityDomicile:t.value.toUpperCase()}},c=n?`${n} | ${e}`:e;return a.createElement(a.Fragment,null,a.createElement(i.Helmet,null,a.createElement("title",null,c),a.createElement("link",{rel:"canonical",href:x(t,e)})),a.createElement($,{content:u,pathname:d.pathname,onDataLoad:o}))},A=({langcode:e,browserPath:t})=>((0,a.useEffect)((()=>
1{if(t)return void(0,l.o)(t);const n=s.j.getHomePath(e.value);(0,l.o)(n)}),[]),a.createElement(a.Fragment,null)),S=({content:e})=>a.createElement(r.Router,{basepath:e.basePath},a.createElement(B,{path:"/:isin",langcode:e.langcode}),a.createElement(A,{path:"/",langcode:e.langcode,browserPath:e.browserPath}));var L=({content:e,location:t})=>o.$.getFlagStatus("dynamic-fund-paths_PUB-14181")?a.createElement(S,{content:e}):a.createElement($,{content:e,pathname:t.pathname})}}]);

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.