PageSourceSearch

https://www.diezminutos.es/_assets/fre/scopes/hdm/_next/static/chunks/pages/myaccount-0d7f59fd40dfff1c.js

js diezminutos.es collected 2026-09-24 19:05:20 UTC 9,560 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53439],{9640:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/myaccount",function(){return a(32565)}])},32565:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>R,default:()=>U});var r=a(40561),n=a(800),o=a(1950),i=a(99738),l=a(20339),c=a(93682),u=a(38536),m=a(28270),d=a(46043),p=a(26282);let s=(0,u.A)("div",{target:"eukjmcw8"})((0,m.Ay)("my-account-page-wrapper",{margin:"0 auto",maxWidth:"maxContentWidth",p:{_:"{m} {mobileOuterGutter} {m} {mobileOuterGutter}",md:"{m} {tabletOuterGutter} {m} {tabletOuterGutter}",sm:"{m} {tabletOuterGutter} {m} {tabletOuterGutter}",lg:"{m} {tablet-gutter}",xxxlg:"{m} 0",xxxxlg:"{m} 0"},marginBottom:"xl",display:"flex",flexDirection:"column",gap:"{*space.space-lg}"}),""),y=(0,u.A)("div",{target:"eukjmcw7"})((0,m.Ay)("my-account-page-headline-wrapper"),""),g=(0,u.A)("h1",{target:"eukjmcw6"})((0,m.Ay)("my-account-page-headline",{textTransform:"capitalize",fontFamily:"var(--type-font-family-secondary)",color:"brandColorPrimary"}),""),f=(0,u.A)("p",{target:"eukjmcw5"})((0,m.Ay)("my-account-page-text",{fontFamily:"var(--type-font-family-secondary)"}),""),h=(0,u.A)("div",{target:"eukjmcw4"})((0,m.Ay)("my-account-cards-wrapper",{display:"grid",gridArea:"content",gridTemplateColumns:{_:"repeat(1, 1fr)",sm:"repeat(1, 1fr)",md:"repeat(3, 1fr)",lg:"repeat(3, 1fr)"},gridGap:{_:"var(--dim-space-md, var(--space-md, 1rem))",sm:"var(--dim-space-xl, var(--space-xl, 1.5rem))"}}),""),b=(0,u.A)(d.A,{target:"eukjmcw3"})((0,m.Ay)("my-account-card",{boxShadow:"none",borderRadius:"{xs}",border:"1px solid {*colors.neutral-400}",height:"100%",'> [data-theme-key="card-body"]':{display:"grid",gridTemplateRows:"auto 1fr auto",gap:"{*space.space-md}",height:"100%"}}),""),A=(0,u.A)("h2",{target:"eukjmcw2"})((0,m.Ay)("my-account-card-title",{m:"0",fontFamily:"var(--type-font-family-primary)",fontSize:"font-size-18",lineHeight:"lineheight-base",letterSpacing:"letter-spacing-4",minHeight:"calc(2 * 1em * var(--lineheight-base))"}),""),x=(0,u.A)("p",{target:"eukjmcw1"})((0,m.Ay)("my-account-card-description",{m:"0",fontFamily:"var(--type-font-family-secondary)",fontSize:"font-size-14",lineHeight:"lineheight-base",letterSpacing:"letter-spacing-4",minHeight:"calc(2 * 1em * var(--lineheight-base))"}),""),w=(0,u.A)(p.A,{target:"eukjmcw0"})((0,m.Ay)("my-account-card-button",{width:"100%",gap:"{*space.space-xs}",textTransform:"none",fontFamily:"var(--type-font-family-secondary)",fontSize:"font-size-14","&:focus-visible":{outlineColor:"black"}}),"");var v=a(53225),k=a(29278),_=a(29538),O=a(27199),S=a(94263);let j=e=>"string"==typeof e?e.trim():"";var Y=a(73366),P=a(64900),z=a(22440),E=a(174);let C=(0,u.A)("div",{target:"e1af7gwp2"})((0,m.Ay)("my-account-unauthorized-page-wrapper",{display:"flex",flexDirection:"column",alignItems:"center",gap:"{*space.space-2xl}",padding:"{*space.space-2xl} 0",margin:"{*space.xl} 0"}),""),T=(0,u.A)("p",{target:"e1af7gwp1"})((0,m.Ay)("my-account-unauthorized-description",{fontFamily:"var(--type-font-family-secondary)",margin:"0",maxWidth:"40rem",textAlign:"center"}),""),L=(0,u.A)("div",{target:"e1af7gwp0"})((0,m.Ay)("my-account-unauthorized-buttons-wrapper",{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"{*space.space-lg}",justifyContent:"center",alignItems:"center"}),"");var B=a(9954);let D=[{key:new Set(["piano.my-account.unauthorized.description","content.auth.authorizeToSeeDetails"])},{key:new Set(["piano.my-account.unauthorized.signUpLabel","content.auth.signup"])},{key:new Set(["piano.my-account.unauthorized.signInLabel","content.auth.login"])}];function $(){let e=(0,Y.Bm)(),t=(0,Y.cA)(),[a,r,n]=(0,l.Bd)(D);return(0,B.Y)(C,null,(0,B.Y)(T,null,a),(0,B.Y)(L,null,(0,B.Y)(z.Ay,{href:e,onClick:()=>(0,E.A)("myaccount","sign-up"),rel:"nofollow",themeKey:"my-account-unauthorized-link-contained",sx:{variant:"button-contained"}},r),(0,B.Y)(z.Ay,{href:t,onClick:()=>(0,E.A)("myaccount","sign-in"),rel:"nofollow",themeKey:"my-account-unauthorized-link-text",sx:{variant:"button-text"}},n)))}var K=a(71055);function G(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),a.push.apply(a,r)}return a}function N(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};
1t%2?G(Object(a),!0).forEach(function(t){(0,c.A)(e,t,a[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):G(Object(a)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))})}return e}let I={key:new Set(["piano.my-account.title","common.myAccount"])},F=[{key:new Set(["piano.my-account.unauthorized.signUpLabel","content.auth.signup"])},{key:new Set(["piano.my-account.unauthorized.signInLabel","content.auth.login"])}];function H({showUnauthorizedState:e=!1}){let t=(()=>{let[e,t]=(0,v._P)(["fre.piano.login","fre.piano.enable-auth-via-hearst-id"]),{isLoggedInPiano:a}=(0,O.id)(),r=(0,S.useUserAuthorizedStatus)(),n=(0,_.G)(k.ym.HEARSTID_STATUS)===k.tG.AUTHORIZED;return e&&!t?a:t?n:r})(),a=(0,n.Q6)("myAccount.items",[]),r=(0,Y.Bm)(),o=(0,Y.cA)(),i=(0,l.Bd)(I),[c,u]=(0,l.Bd)(F),m=(0,l.Bd)(a.flatMap(({translationKey:e})=>[`piano.my-account.${e}.title`,`piano.my-account.${e}.description`,`piano.my-account.${e}.ctaButtonLabel`])),d=a.map((e,t)=>{let a=e.translationKey&&Array.isArray(m)?m.slice(3*t,3*t+3):[];return N(N({},e),{},{title:a[0]||e.title,description:a[1]||e.description,button:N(N({},e.button),{},{label:a[2]||e.button?.label})})}),p=(0,l.Bd)({key:"content.auth.registerOrLogin",macros:{register:`<a href="${r}" target="_blank" rel="noreferrer nofollow">${c}</a>`,login:`<a href="${o}" target="_blank" rel="noreferrer nofollow">${u}</a>`}});return(0,B.Y)(s,null,(0,B.Y)(y,null,(0,B.Y)(g,null,i)),e&&!t?(0,B.Y)($,null):t?(0,B.Y)(h,null,d.map(({title:e,description:t,button:{label:a,link:r},tracking:n})=>{let o=((e={})=>{if(!e||"object"!=typeof e)return null;let t=j(e.eventName),a=j(e.section),r=j(e.ctaText);return t&&a&&r?{eventName:t,eventParameters:{pageName:"my_account",section:a,ctaText:r}}:null})(n);return(0,B.Y)(b,{key:e},(0,B.Y)(K.Fragment,null,(0,B.Y)(A,null,e),(0,B.Y)(x,null,t),(0,B.Y)(w,{as:"a","aria-label":a,href:r,target:"_blank",rel:"noopener noreferrer",onClick:o?()=>(0,E.A)(o):void 0},(0,B.Y)("span",null,a),(0,B.Y)(P.A,{width:"20",height:"20",viewBox:"0 0 24 24"}))))})):(0,B.Y)(f,{dangerouslySetInnerHTML:{__html:p}}))}var R=!0;let U=function({theme:e,layoutContextProps:t,ssr:a,showUnauthorizedState:c=!1}){let u=(0,i.useBrandName)(),m=(0,n.BV)("layoutContextProps.siteData.brand.slug"),[d,p]=(0,l.Bd)([{key:"content.myAccountTitle"},{key:new Set([`content.myAccountTitleSEO--${m}`,"content.myAccountTitleSEO"]),macros:{brandName:u}}]);return(0,B.Y)(o.A,{theme:e,layoutContextProps:t,ssr:a},(0,B.Y)(r.A,null,(0,B.Y)("title",null,p),(0,B.Y)("meta",{property:"og:title",content:d})),(0,B.Y)(H,{showUnauthorizedState:c}))}},46043:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var r=a(53520),n=a(38536),o=a(28270),i=(0,n.A)("div",{target:"e1p4gxfn5"})((0,o.Ay)("card-base",{display:"flex",flexDirection:"column",padding:"0",border:"border-thin-grey",borderRadius:"xxs",boxShadow:"shadow-modal"}),""),l=(0,n.A)("div",{target:"e1p4gxfn4"})((0,o.Ay)("card-header",{backgroundColor:"greyLight",borderRadius:"{xxs} {xxs} 0 0",padding:"{xs}",width:"100%",textAlign:"center",boxShadow:"0 0 0.063rem rgb(0 0 0 / 25%)"}),""),c=(0,n.A)("div",{target:"e1p4gxfn3"})((0,o.Ay)("card-header-image-wrapper",{backgroundColor:"greyLight",borderRadius:e=>e.topLabel?"0":"{xxs} {xxs} 0 0",width:"100%"}),""),u=(0,n.A)("div",{target:"e1p4gxfn2"})((0,o.Ay)("card-body",{display:"flex",flexDirection:"column",alignItems:"flex-start",padding:"1.56rem {s}"}),""),m=(0,n.A)("h2",{target:"e1p4gxfn1"})((0,o.Ay)("card-title",{textAlign:"center",width:"100%",margin:0}),""),d=(0,n.A)("p",{target:"e1p4gxfn0"})((0,o.Ay)("card-price",{textAlign:"center",width:"100%",margin:"0 0 0.75rem"}),""),p=a(71055);let s=["id","topLabel","ref","title","imageComponent","children","sxProps","themeKey","cardPrice"];function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}function g(e){let{id:t="",topLabel:a="",ref:n=null,title:o="",imageComponent:g=null,children:f,sxProps:h={},themeKey:b,cardPrice:A=null}=e,x=(0,r.A)(e,s);return p.createElement(i,y({id:t,ref:n,sx:h,__themeKey:b,"data-theme-key":"card-base"},x),a?p.createElement(l,{__themeKey:`${b}-label`,"data-theme-key":"card-header"}
1,a):null,g?p.createElement(c,{topLabel:!!a,"data-theme-key":"card-header-image-wrapper"},g):null,p.createElement(u,{topLabel:a,__themeKey:`${b}-body`,"data-theme-key":"card-body"},A?p.createElement(d,{__themeKey:`${b}-price`,"data-theme-key":"card-price"},A):null,o?p.createElement(m,{__themeKey:`${b}-title`,"data-theme-key":"card-title"},o):null,f))}},64900:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});var r=a(1873),n=a(61546),o=a(64781),i=a(9954);let l=function(e){return(0,i.Y)(o.default,(0,r.A)({type:n.PV.Embeddable,relativeUrl:"/static/icons/arrow-square-out-rounded.svg",alt:"Arrow square out rounded",fill:"currentcolor",primary:"currentcolor",scope:{fallback:"/static/icons/arrow-square-out-regular.svg"}},e))}}},e=>{e.O(0,[46593,31947,23254,31237,60718,98756,15452,96609,66188,78497,43992,25065,41403,9131,28268,11217,90636,38792],()=>e(e.s=9640)),_N_E=e.O()}]);

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.