PageSourceSearch

https://landfolk.com/_next/static/chunks/pages/referred/[referralCode]-cffa84ed907515c2.js

js landfolk.com collected 2026-09-24 22:59:04 UTC 7,544 bytes, 10 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9d2a333d-3998-452e-9be5-407746508faa",e._sentryDebugIdIdentifier="sentry-dbid-9d2a333d-3998-452e-9be5-407746508faa")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6897],{61491:function(e,r,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/referred/[referralCode]",function(){return s(71626)}])},26009:function(e,r,s){"use strict";s.d(r,{zg:function(){return i}});var a=s(2506),t=s(64076);let n={},o=(0,a.Ps)`
2    query Referrer($referralCode: String!) {
3  referrer(referralCode: $referralCode) {
4    id
5    firstName
6    referralCode
7  }
8}
9    `;function i(e){let r={...n,...e};return t.a(o,r)}},9074:function(e,r,s){"use strict";s.d(r,{BB:function(){return l},Zl:function(){return i},aV:function(){return o}});var a=s(97458),t=s(81641),n=s(61716);let o=({items:e})=>(0,a.jsx)("ol",{className:"ml-3.5 list-decimal",children:e.map((e,r)=>(0,a.jsx)("li",{children:(0,a.jsx)(t.Z,{...e,values:{b:e=>(0,a.jsx)("span",{className:"font-bold",children:e})}})},r))}),i=()=>{let e=[(0,n.Em)({defaultMessage:"Gift card for a Landfolk stay (worth € 250)",id:"T434GjnxDx",description:"Refer: FAQ answer list item"})];return(0,a.jsx)(o,{items:e})},l=()=>{let e=[(0,n.Em)({defaultMessage:"Gift card for a Landfolk stay (worth 125 €)",id:"n36SqSZhMO",description:"Refer: FAQ answer list item"})];return(0,a.jsx)(o,{items:e})}},71626:function(e,r,s){"use strict";s.r(r),s.d(r,{default:function(){return q}});var a=s(97458),t=s(71775),n=s(80215),o=s(81035),i=s(38166),l=s(95199),d=s(78869),c=s.n(d),f=s(52983),u=s(47014),h=s(1168),m=s(81641),p=s(58080),y=s(83440),j=s(80026),x=s(75418),w=s(76997),g=s(85156),b=s(44664),k=s(70309),N=s(28347),v=s(44132),R=s(90720),L=s(65171),_=s(23099),A=s(77279),M=s(18591),S=s(9074);let F=c()(()=>s.e(4539).then(s.bind(s,84539)).then(e=>e.StickyHostHeader),{loadableGenerated:{webpack:()=>[84539]},ssr:!1});function C({firstName:e,referralCode:r}){let s=(0,h.Z)(),t="static/referral-1.jpg",n=s.formatMessage({description:"Referred host: title",defaultMessage:"You've been recommended by {referrerName}",id:"ucRMQR0L8A"},{referrerName:e}),d=s.formatMessage({description:"Referred host: intro",defaultMessage:"… because of your lovely holiday home. Apply to join Landfolk and get the opportunity to earn a reward. <a>Learn more in the FAQs.</a>",id:"FdzAdDTAkm"},{a:e=>(0,a.jsx)(b.r,{href:"#faq",children:e})}),c=s.formatMessage({description:"Referred host: intro",defaultMessage:"You've been recommended because of your lovely holiday home. Apply to join Landfolk and get the opportunity to earn a reward.",id:"TcMjbKtI+A"}),m=(0,l.e)("sm"),[x,w]=(0,f.useState)(!1),[S]=(0,u.YD)({threshold:0,onChange(e){!1===e?w(!0):w(!1)}});return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(i.zS,{children:(0,a.jsxs)("div",{className:"scroll-smooth",children:[(0,a.jsx)(k.HJ,{title:n,description:c,images:[{url:t}]}),(0,a.jsxs)(g.L,{title:n,ref:S,imageUrl:t,children:[(0,a.jsx)("p",{className:"mb-3",children:d}),(0,a.jsx)("div",{className:"flex sm:flex-col sm:space-y-2 ns:space-x-3",children:(0,a.jsx)(p.Ud,{referrer:r})})]}),m&&(0,a.jsx)(p.PX,{showElement:x,referrer:r}),(0,a.jsx)(F,{referrer:r,active:x}),(0,a.jsx)(M.c,{className:"mb-5"}),(0,a.jsxs)(o.k,{id:"criteria",className:"lg:scroll-m-5 nl:scroll-m-5.5",children:[(0,a.jsx)(v.rf,{className:"mb-5 pt-3 ns:mb-5.5"}),(0,a.jsx)(L.K,{className:"ns:mb-5.5 ns:pb-3"}),(0,a.jsx)(_.R,{})]}),(0,a.jsx)(o.k,{id:"product",className:"lg:scroll-m-5.5 nl:scroll-m-5",children:(0,a.jsx)(A.sb,{referrer:r})}),"da"===s.locale&&(0,a.jsx)(o.k,{id:"earnings",className:"lg:scroll-m-5.5 nl:scroll-m-5",children:(0,a.jsx)(R.g,{className:"lg:-mt-5.5"})}),(0,a.jsxs)(o.k,{id:"testimonials",className:"lg:scroll-m-5.5 nl:scroll-m-5",children:[(0,a.jsx)(j.E,{}),(0,a.jsx)(y.F,{referrer:r})]}),(0,a.jsx)(o.k,{id:"compare",className:"lg:scroll-m-5 nl:scroll-m-4.5",children:(0,a.jsx)(N.h,{className:"!mb-5 sm:!mb-4.5"})}
9),(0,a.jsx)(o.k,{id:"faq",className:"lg:scroll-m-5.5 nl:scroll-m-5",children:(0,a.jsx)(E,{referrerName:e})})]})})})}function E({referrerName:e}){let r=(0,h.Z)(),s=(0,x._z)(x.zU.REFERRAL),t=(0,x._z)(x.zU.HOST),n=[...s.map(s=>"referral-how-it-works"===s.id?{...s,answer:(0,a.jsx)(m.Z,{defaultMessage:"{referrerName} has shared his or her personal link with you and thinks that you have a holiday home that fits Landfolk. When you apply using that link, we'll know that you were referred by them and let them know that you've applied. Your application will go through the same procedure with our supply team as all other holiday homes. If it results in a successful onboarding and your holiday home is online on landfolk.com within 30 days from the application time, both you and {referrerName} will receive a Landfolk gift card. When this happens, we'll make sure to notify you both.",id:"FJkKh51xy9",description:"Referred host: FAQ answer",values:{referrerName:e||r.formatMessage({defaultMessage:"Someone",id:"SSXh7fcjB+",description:"Referred host: FAQ: Referrer name fallback"})}})}:"referral-rewards"===s.id?{...s,answer:(0,a.jsx)(m.Z,{defaultMessage:"Once your holiday home has joined Landfolk and your holiday home profile is live within 30 days of initiating the application, you will receive: {referredRewardList}{br}The person who referred you will receive: {referrerRewardList}{br}The rewards might change between the time you apply and the time your holiday home is published. In that case, it's the rewards that are valid at the time of publishing that apply.",id:"+GwaS5iqdq",description:"Referred host: FAQ answer",values:{referrerRewardList:(0,S.Zl)(),referredRewardList:(0,S.BB)(),br:(0,a.jsx)("br",{})}})}:s),...t];return(0,a.jsx)(w.b,{faqs:n,variant:"two-column",headline:(0,a.jsx)(m.Z,{defaultMessage:"FAQ",id:"tsHhCg3uAd",description:"Referred host: FAQ: Headline"})})}var T=s(26009);function q(){let e=(0,n.useRouter)().query.referralCode,r=(0,T.zg)({variables:{referralCode:e},skip:!e});return(0,a.jsx)(t.G,{query:r,field:"referrer",awaitRouterReady:!0,children:e=>(0,a.jsx)(C,{...e})})}},71775:function(e,r,s){"use strict";s.d(r,{G:function(){return l}});var a=s(97458),t=s(80215),n=s(74252),o=s(48315),i=s(82415);function l({children:e,field:r,query:s,renderError:o,renderLoading:i,renderNotFound:l,awaitRouterReady:c,onLaunchSupport:f}){let u=(0,t.useRouter)(),{loading:h,error:m,previousData:p}=s,{data:y}=s;return(h&&p&&(y=p),!y&&(h||u.isFallback)||c&&!u.isReady)?i?.(s)||(0,a.jsx)(n.L,{}):m&&"not found"!==m.message.toLowerCase()&&!m.message.toLowerCase().includes("no object found")?(console.error("error",m),o?.(m,s)||(0,a.jsx)(d,{error:m,onLaunchSupport:f})):y&&(!r||y[r])?e(r?y[r]:y,h):l?.(s)||(0,a.jsx)(d,{onLaunchSupport:f})}function d({error:e,onLaunchSupport:r}){if(!e)return(0,a.jsx)(c,{children:(0,a.jsx)(o.B,{errorType:"not-found",onLaunchSupport:r})});let s=(0,i.k)(e);return(0,a.jsx)(c,{children:(0,a.jsx)(o.B,{errorType:s.type,subtitle:s.message,technicalDetails:s.technicalDetails,onRetry:"not-found"===s.type?void 0:()=>window.location.reload(),onLaunchSupport:r})})}let c=(0,s(99888).z)("div","flex h-screen max-h-8 items-center justify-center")}},function(e){e.O(0,[1367,6028,5809,5483,7132,6205,7325,3468,7746,2614,2335,7340,5362,14,625,3361,8195,3273,6235,8452,7936,5832,4559,3352,7095,2888,9774,179],function(){return e(e.s=61491)}),_N_E=e.O()}]);
10//# sourceMappingURL=[referralCode]-cffa84ed907515c2.js.map

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.