PageSourceSearch

https://rankia.ro/_next/static/chunks/pages/%5B%5B...slug%5D%5D-f3956634-777a1cea029c0270.js

js rankia.ro collected 2026-09-29 00:23:11 UTC 10,036 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="7f98246b-4343-4be1-8f2a-0749bafa5895",e._sentryDebugIdIdentifier="sentry-dbid-7f98246b-4343-4be1-8f2a-0749bafa5895")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[440],{19335:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...slug]]",function(){return n(41019)}])},69945:function(e,t,n){"use strict";var a=n(52322),i=n(5946);n(2784);var r=n(30256);t.Z=e=>{let{color:t,backgroundImage:n,cardType:l,extraClasses:s,children:c}=e,o=l===i.eT.basic?"rounded-t-radius-24 lg:rounded-t-radius-64":"rounded-tr-radius-24 lg:rounded-tr-radius-64";return n?(0,a.jsx)(r.Z,{src:n,className:"".concat(t," ").concat(o," ").concat(s," boxed-content"),style:{background:"center / cover no-repeat",backgroundImage:"linear-gradient(rgba(26, 82, 117, 0.8), rgba(26, 82, 117, 0.8) 50%)"},children:(0,a.jsx)("div",{className:"basic-x-padding",children:c})}):(0,a.jsx)("div",{className:"".concat(t," ").concat(o," ").concat(s," boxed-content"),style:{background:t},children:(0,a.jsx)("div",{className:"basic-x-padding",children:c})})}},28427:function(e,t,n){"use strict";var a=n(52322);n(2784);var i=n(60228);t.Z=e=>{let{color:t,contrastColor:n="bg-neutral0",card:r=!1,children:l,imageContrastURL:s,bannerSuffix:c}=e,o=(e,t)=>t?"".concat(e,"_").concat(t):e,d=o("megabanner",c),u=o("sky_izq",c),f=o("sky_der",c);return(0,a.jsx)("div",{className:"".concat(s?"bg-cover bg-top bg-no-repeat flex flex-col items-center bg-primary ".concat(s):"w-full h-full ".concat(n)),children:(0,a.jsx)("div",{className:"".concat(t," ").concat(r?"rounded-t-radius-24 lg:rounded-t-radius-64":""," py-2xl lg:pt-6xl px-xs w-full"),children:(0,a.jsxs)("div",{className:"flex justify-center items-center flex-col w-full max-h-full",children:[(0,a.jsxs)("div",{className:"flex justify-center items-center flex-row w-full",children:[(0,a.jsx)("div",{className:"h-full max-h-full overflow-hidden self-start hidden lg:block",children:(0,a.jsx)(i.Z,{id:u,width:160,height:600,showText:!0})}),(0,a.jsx)("div",{className:"h-full w-fit max-w-[468px] lg:max-w-full lg:w-[896px] px-xs lg:px-md mb-xl",children:l}),(0,a.jsx)("div",{className:"h-full max-h-full overflow-hidden self-start hidden lg:block",children:(0,a.jsx)(i.Z,{id:f,width:160,height:600,showText:!0})})]}),(0,a.jsx)("div",{className:"w-full lg:flex lg:justify-center hidden",children:(0,a.jsx)(i.Z,{id:d,width:728,height:90,showText:!0})})]})})})}},75909:function(e,t,n){"use strict";var a=n(2784);t.Z=e=>{let{event:t,data:n,viewType:i=""}=e;return(0,a.useEffect)(()=>{let e=(null==n?void 0:n.datalayerJson)?JSON.parse(n.datalayerJson):{viewType:i};window&&e&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:t,...e}))},[t,n]),null}},72971:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var a=n(52322),i=n(2784),r=n(25237),l=n.n(r),s=n(23420),c=n(76819),o=n(64875),d=n(87588),u=()=>{let e=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let t=e=>{let t=e.getAttribute("href");if(!t||!t.startsWith("https://red.rankia.com/")||t.includes("referer_url="))return;let n="referer_url="+encodeURIComponent(window.location.href),a=t.replace(/\/$/,""),i=a.includes("?")?"&":"?",r=a+i+n;try{new URL(r),e.setAttribute("href",r)}catch(e){}},n=()=>{document.querySelectorAll('a[href^="https://red.rankia.com/"]').forEach(t)};return n(),e.current=new MutationObserver(e=>{let t=!1;e.forEach(e=>{"childList"===e.type&&e.addedNodes.forEach(e=>{if(e.nodeType===Node.ELEMENT_NODE){var n;"A"===e.tagName&&(null===(n=e.getAttribute("href"))||void 0===n?void 0:n.startsWith("https://red.rankia.com/"))&&(t=!0),e.querySelectorAll&&e.querySelectorAll('a[href^="https://red.rankia.com/"]').length>0&&(t=!0)}})}),t&&n()}),e.current.observe(document.body,{childList:!0,subtree:!0}),()=>{e.current&&(e.current.disconnect(),e.current=null)}},[]),null};let f=l()(()=>Promise.all([n.e(6275),n.e(4666),n.e(3001),n.e(7805),n.e(9289),n.e(4633),n.e(9212),n.e(8101),n.e(7352),n.e(500),n.e(7395),n.e(3883),n.e(1389),n.e(6931),n.e(2532),n.e(7673),n.e(7669),n.e(7215),n.e(4979),n.e(7525),n.e(6167),n.e(2346),n.e(165),n.e(6865),n.e(401),n.e(4312)]).then(n.bind(n,44312)),{loadableGenerated:{webpack:()=>[44312]},ssr:!1}),h=l()(()=>Promise.all([n.e(4666),n.e(3001),n.e(7805),n.e(9289),n.e(4633),n.e(9212),n.e(8101),n.e(7352),n.e(500),n.e(7395),n.e(3883),n.e(1389),n.e(6931),n.e(2532),n.e(7673),n.e(7669),n.e(7215),n.e(4979),n.e(7525),n.e(6167),n.e(2346),n.e(165),n.e(6865),n.e(401),n.e(1684)]).then(n.bind(n,41684)),{loadableGenerated:{webpack:()=>[41684]},ssr:!1});var p=e=>{var t,n,i,r,l,p,m,v,g,w,x,_;let{children:b,menu:y,noPaddingTop:k=!1}=e,j=(null==y?void 0:null===(i=y.navbar)||void 0===i?void 0:null===(n=i.props)||void 0===n?void 0:null===(t=n.data)||void 0===t?void 0:t.menu)||[],N=(null==y?void 0:null===(p=y.menuLegal)||void 0===p?void 0:null===(l=p.props)||void 0===l?void 0:null===(r=l.data)||void 0===r?void 0:r.menu)||[],E=(null==y?void 0:null===(g=y.menuUtilLinks)||void 0===g?void 0:null===(v=g.props)||void 0===v?void 0:null===(m=v.data)||void 0===m?void 0:m.menu)||[],L=(null==y?void 0:null===(_=y.socialLinks)||void 0===_?void 0:null===(x=_.props)||void 0===x?void 0:null===(w=x.data)||void 0===w?void 0:w.socialLinks)||{__typename:"SocialLinks",facebook:"",instagram:"",linkedin:"",x:"",youtube:"",tiktok:""},T=new o.h(j),S=new o.h(N),Z=new o.h(E),A="GTM-NSZJC2CH";return(0,a.jsxs)(a.Fragment,{children:[A&&(0,a.jsx)(d.Z,{wrapper:"noscript",html:'<iframe src="https://'.concat("data.".concat("rankia.ro"),"/ns.html?id=").concat(A,'"\n            height="0" width="0" style="display:none;visibility:hidden"></iframe>')}),(0,a.jsx)(s.Z,{entries:T.entries,isNewsletterActive:(null==y?void 0:y.isNewsletterActive)||!1}),(0,a.jsx)("div",{className:"min-h-[45px] mt-3xl md:mt-[81px]",children:(0,a.jsx)(f,{})}),(0,a.jsx)("div",{className:"layout","data-area":"layout",children:(0,a.jsx)("div",{className:k?"pb-md md:pb-2xl min-h-screen ".concat(""):"pt-md md:pt-lg min-h-screen ".concat(""),children:b})}),(0,a.jsx)(c.Z,{menuLegal:S,menuUtilLinks:Z,socialLinks:L,isNewsletterActive:(null==y?void 0:y.isNewsletterActive)||!1}),(0,a.jsx)(h,{}),(0,a.jsx)(u,{})]})}},49255:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var a=n(52322),i=n(45847),r=n.n(i),l=n(2784);function s(){return(0,l.useEffect)(()=>{window.dataLayer&&(window.dataLayer.push({event:"cmplz_event_statistics"}),window.dataLayer.push({event:"cmplz_event_marketing"}))},[]),(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(r(),{src:"https://securepubads.g.doubleclick.net/tag/js/gpt.js",
1strategy:"lazyOnload"})})}},87588:function(e,t,n){"use strict";var a=n(52322),i=n(73199),r=n(80268),l=n(2784);let s=(0,l.forwardRef)((e,t)=>{let{html:n,wrapper:s="div",wrapperProps:c}=e,o=l.useMemo(()=>!n||["script","style"].includes(s)?null:(0,i.ZP)(n,{replace:e=>"tag"===e.type&&"img"===e.name?(0,a.jsx)(r.Z,{src:e.attribs.src,alt:e.attribs.alt,width:parseInt(e.attribs.width||"640"),height:parseInt(e.attribs.height||"480"),className:e.attribs.class}):e}),[n,s]);return n?["script","style"].includes(s)?l.createElement(s,{...c,ref:t,dangerouslySetInnerHTML:{__html:n}}):l.createElement(s,{...c,ref:t},o):(0,a.jsx)(a.Fragment,{})});s.displayName="RawHtml",t.Z=s},79055:function(e,t,n){"use strict";n.d(t,{R:function(){return l},f:function(){return r}});var a=n(23005),i=n(2784);function r(){let[e,t]=(0,i.useState)();return(0,i.useEffect)(()=>{let e=new Map;document.cookie.split("; ").forEach(t=>{let[n,a]=t.split("=");e.set(n,a)}),t(e)},["undefined"!=typeof document?document.cookie.length:null]),[e,(e,n,a)=>{let i=new Date(Date.now()+86400*a.days).toUTCString();document.cookie="".concat(e,"=").concat(n,"; expires=").concat(i,"; path=").concat(a.path),t(t=>(t&&t.set(e,n),t))},e=>{document.cookie="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"),t(t=>(t&&t.delete(e),t))}]}function l(e,t){let[n]=r(),l=(0,i.useContext)(a.lD);(0,i.useEffect)(()=>{if(!n||!e||Object.keys(e).length<=0){t&&t();return}let i=n.get(a.zu.ref_cookie),r=n.get(a.zu.visit_cookie);if(!i||!r||!l||l<=0)return t&&t();fetch(a.zu.ajaxurl,{method:"POST",body:JSON.stringify({...e,affiliate:l,action:"affwp_track_conversion"}),headers:{"Content-Type":"application/json"}}).then(e=>console.log(e)).catch(e=>console.log(e)).finally(()=>t&&t())},[l,n,e])}},23005:function(e,t,n){"use strict";n.d(t,{JH:function(){return c},lD:function(){return s},zu:function(){return l}});var a=n(52322),i=n(79055),r=n(2784);let l={referral_var:"affiliate",expiration_in_days:60,debug:0,referral_credit_last:0,ref_cookie:"affwp_ref",visit_cookie:"affwp_ref_visit_id",campaign_cookie:"affwp_campaign",ajaxurl:"/api/v1/affiliate-wp/"},s=(0,r.createContext)(0),c=e=>{let{children:t}=e,[n,c]=(0,r.useState)(0),[o,d,u]=(0,i.f)();return(0,r.useEffect)(()=>{if(n<=0)return;d(l.ref_cookie,n,{expires:l.expiration_in_days,path:"/"});let e=new URLSearchParams(window.location.search).get("campaign");fetch(l.ajaxurl,{method:"POST",body:JSON.stringify({campaign:e,url:document.URL,affiliate:n,referrer:document.referrer,action:"affwp_track_visit"}),headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(t=>{d(l.visit_cookie,t,{expires:l.expiration_in_days,path:"/"}),d(l.campaign_cookie,e,{expires:l.expiration_in_days,path:"/"})}).catch(e=>console.log(e))},[n]),(0,r.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get(l.referral_var);e&&fetch(l.ajaxurl,{method:"POST",body:JSON.stringify({action:"affwp_get_affiliate_id",affiliate:e}),headers:{"Content-Type":"application/json"}}).then(e=>e.json()).then(e=>{if("1"==e.data.success){let t=null==o?void 0:o.get(l.ref_cookie);1==l.referral_credit_last&&t&&t!=e.data.affiliate_id&&u(l.ref_cookie),(!t||1==l.referral_credit_last&&t&&t!=e.data.affiliate_id)&&c(parseInt(e.data.affiliate_id)||0)}}).catch(e=>console.log(e))},[]),(0,a.jsx)(s.Provider,{value:n,children:t})}}}]);

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.