PageSourceSearch

https://contact.xyz/static/js/3888.3e19fe4b.chunk.js

js contact.xyz collected 2026-10-04 02:25:10 UTC 12,634 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgloss=self.webpackChunkgloss||[]).push([[3888],{23888(e,t,s){s.r(t),s.d(t,{Blog:()=>ie,default:()=>ne});var a=s(27565),r=s(65030),i=s(43145),n=s(96369),o=s(73893),c=s(27800),l=s(76562);var d=s(55334),h=s(286),p=s(16005),x=s(97541),g=s(27929),m=(0,x.I4)("img",{width:80,height:80,borderRadius:"$round",mb:"$4","@bp2":{mb:0,mr:"$7"}}),b=(0,x.I4)(h.EY,{fontSize:"$16",lineHeight:"$26",color:"$grey6",textAlign:"center","@bp2":{textAlign:"left"}}),u=e=>{var t=e.post;return(0,g.jsxs)(d.so,{css:{alignItems:"center",flexDirection:"column",justifyContent:"center","@bp2":{flexDirection:"row"}},children:[(0,g.jsx)(m,{src:"".concat(t.author.avatarUrl,"?w=").concat(80,"&h=").concat(80,"&fit=fill&f=face"),alt:"Written by ".concat(t.author.name)}),(0,g.jsxs)("div",{children:[(0,g.jsxs)(h.EY,{variant:"h4",css:{fontWeight:"$regular",textAlign:"center","@bp2":{textAlign:"left"}},children:[t.author.name.trim(),", on ",(0,p.Yq)(t.createdAt)]}),(0,g.jsx)(b,{children:t.author.bio})]})]})},j=s(17648),v=s(93825),f=s(23627),w=(0,x.I4)("img",{objectFit:"cover","@bp2":{width:300,height:"auto"}}),k=e=>{var t=e.heading,s=e.body,a=e.imgSrc,r=e.children,i=(0,f.Y_)(a);return(0,g.jsx)(h.Zk,{css:{padding:0},children:(0,g.jsxs)(d.so,{css:{flexDirection:"column","@bp2":{flexDirection:"row"}},children:[i.isTwicpics?(0,g.jsx)(v.e,{src:i.url,css:{objectFit:"cover","@bp2":{width:300,height:"auto"}}}):(0,g.jsx)(w,{src:i.url}),(0,g.jsxs)(d.so,{css:{flexDirection:"column",padding:"$6",spaceY:"$6",justifyContent:"center","@bp2":{padding:"$10"}},children:[(0,g.jsx)(h.EY,{variant:"h4",children:t}),(0,g.jsx)(h.EY,{children:s}),(0,g.jsx)(d.az,{children:r})]})]})})},y=s(88702),$=()=>(0,g.jsx)(k,{heading:"Book creatives",body:"With Contact, clients of all sizes can seamlessly book models from all walks of life. Don't just take our word for it, create your first job today.",imgSrc:"https://contact-media.twic.pics/gloss/blog-cta-create-job.jpg",children:(0,g.jsx)(y.yr,{to:"/jobs/new",eventName:"blog:post:cta",eventValues:{ctaType:"createJob"},children:"Book creatives"})}),A=s(89379),C=s(5544),S=s(77265),Y=s(26248),I=s(84702),z=s(75792),E=s(14292),P=s(62890),T=s(42746),D={name:"",email:""},F=["Booker","Creative"],q=()=>{var e=(0,a.useState)(F[0].toLowerCase()),t=(0,C.A)(e,2),s=t[0],r=t[1],i=(0,S.n)(T.PV,{onError:I.noop,onCompleted:()=>(0,z.s)("blog:post:cta",{ctaType:"mailingList"})}),n=(0,C.A)(i,2),o=n[0],c=n[1],l=c.data,h=c.error;return(0,g.jsx)(k,{heading:"Discover more",body:"Interested in learning more about Contact and how we're empowering the next generation of creatives? Sign up to our exclusive mail.",imgSrc:"https://contact-media.twic.pics/gloss/blog-cta-mailing-list.jpg",children:(0,g.jsx)(Y.l1,{initialValues:D,validate:e=>{var t={};return""===e.name.trim()&&(t.name="Required"),""===e.email.trim()&&(t.email="Required"),t},onSubmit:e=>o({variables:(0,A.A)((0,A.A)({},e),{},{role:s,source:"blog"})}),children:e=>{var t=e.errors,a=e.isSubmitting;return(0,g.jsxs)(Y.lV,{children:[(0,g.jsxs)(d.az,{children:[(0,g.jsx)(E.D0,{label:"Name",children:(0,g.jsx)(E.jF,{type:"text",name:"name",placeholder:"e.g. Sarah Edwards"})}),(0,g.jsx)(E.D0,{label:"Email",children:(0,g.jsx)(E.jF,{type:"text",name:"email",placeholder:"e.g. [email protected]"})}),(0,g.jsx)(E.D0,{label:"Role",children:(0,g.jsx)(E.l6,{name:"role",value:s,onChange:e=>{r(e.currentTarget.value)},children:F.map((e,t)=>(0,g.jsx)("option",{value:e.toLowerCase(),children:e},t))})}),(0,g.jsx)(y.$n,{type:"submit",variant:"primary",name:"subscribe",disabled:a||!(null===l||void 0===l||!l.subscribeToNewsletter),css:{mt:"$3",width:"100%","@bp2":{mt:"$5"}},children:"+ Subscribe"})]}),(0,g.jsxs)(d.az,{css:{mt:"$5"},children:[(Object.keys(t).length>0||h)&&(0,g.jsx)(P.z2,{variant:"error",title:"Oops, something went wrong. Have you filled all the fields?"}),(null===l||void 0===l?void 0:l.subscribeToNewsletter)&&(0,g.jsx)(P.z2,{variant:"success",title:"Thanks, you\u2019ve been added to our mailing list."})]})]})}})})},N=()=>(0,g.jsx)(k,{heading:"Become a model",body:"Contact is a platform for the next generation of models. If you want to join a community that celebrates expression and professionalism, sign up here (it only takes a few minutes).",imgSrc:"https://contact-media.twic.pics/gloss/blog-cta-talent-application.jpg",children:(0,g.jsx)(y.z9,{to:"/account/new",onClick:()=>(0,z.s)("blog:post:cta",{ctaType:"talentApplication"}),children:"Sign up"})}),R=e=>{switch(e.variant){case"createJob":return(0,g.jsx)($,{});case"mailingList":return(0,g.jsx)(q,{});case"talentApplication":return(0,g.jsx)(N,{})}},U=(s(4991),e=>{var t=e.post;return t?(0,g.jsx)(y.N_,{to:{pathname:"/backstage/".concat(t.slug),state:{post:t}},css:{textDecoration:"none",display:"block"},"data-test-id":"blog-post-card",children:(0,g.jsxs)(h.Zk,{css:{padding:"$0"},children:[t.coverAsset&&(0,g.jsx)(j.x,{asset:t.coverAsset}),(0,g.jsxs)(d.az,{css:{padding:"$9",spaceY:"$6"},children:[(0,g.jsx)(h.EY,{variant:"h3",children:t.title}),(0,g.jsx)(h.EY,{css:{fontSize:"$16",lineHeight:"$26"},children:t.leadIn}),(0,g.jsxs)(h.EY,{variant:"meta",color:"grey6",children:[t.author.name.trim(),", on ",(0,p.Yq)(t.createdAt)]})]})]})}):(0,g.jsx)(d.az,{children:(0,g.jsx)(h.tz,{css:{pt:"100%"}})})});const B=s.p+"static/media/email.82cf67020c561567994b4338e9649aac.svg";const _=s.p+"static/media/facebook.d240e51a06fa9956971ff8c219284d36.svg";const W=s.p+"static/media/linkedin.013202dcdbb7d4225374b42269e737ad.svg";const L=s.p+"static/media/reddit.3f8ec48a145a0df14247748c36eb3797.svg";const O=s.p+"static/media/twitter.4fe94d39a8dff48ebbb24073b45ef555.svg";var V=(0,x.I4)("a",{display:"flex",width:30,height:30,backgroundColor:"$black",borderRadius:"$round",alignItems:"center",justifyContent:"center",ml:"$2","&:first-child":{ml:0}}),H=(0,x.I4)("img",{display:"block",height:"50%",width:"50%",objectFit:"contain"}),G=e=>{var t,s,a=e.service,r=e.url,i=void 0===r?window.location.href:r,n=e.tracked,o=void 0===n||n,c=encodeURIComponent(i);switch(a){case"email":t=B,s="mailto:?subject=".concat(c);break;case"facebook":t=_,s="https://www.facebook.com/sharer/sharer.php?u=".concat(c);break;case"linkedin":t=W,s="https://www.linkedin.com/sharing/share-offsite/?url=".concat(c);break;case"reddit":t=L,s="https://www.reddit.com/submit?url=".concat(c);break;case"twitter":t=O,s="https://twitter.com/intent/tweet?url=".concat(c);break;default:return null}return(0,g.jsx)(V,{href:s,onClick:()=>{o&&(0,z.s)("socialShare",{service:a,url:c})},children:(0,g.jsx)(H,{src:t,alt:"Share via ".concat(a)})})},J=()=>(0,g.jsxs)(d.so,{children:[(0,g.jsx)(G,{service:"twitter"}),(0,g.jsx)(G,{service:"facebook"}),(0,g.jsx)(G,{service:"linkedin"}),(0,g.jsx)(G,{service:"reddit"}),(0,g.jsx)(G,{service:"email"})]}),Z=(s(65025),s(40024)),K=e=>{var t=e.post,s=e.withTitle;return t?(0,g.jsx)(d.N,{variant:{"@initial":void 0,"@bp2":"gutter"}
1,children:(0,g.jsx)(d.az,{css:{position:"relative",overflowY:"hidden",minHeight:620,mb:"$16",py:"$11",backgroundColor:"$black","@bp2":{mb:"$11",backgroundColor:"transparent",linearGradient:"0deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), linear-gradient(258.66deg, rgba(0, 0, 0, 0) 34.07%, rgba(0, 0, 0, 0.75) 100%"}},children:(0,g.jsx)(y.N_,{to:{pathname:"/backstage/".concat(t.slug),state:{post:t}},css:{textDecoration:"none"},"data-test-id":"blog-hero-post-card",children:(0,g.jsxs)(d.so,{css:{flexDirection:"column",justifyContent:"space-between",height:"100%",width:"100%","@bp2":{px:"$6",spaceY:"$8",width:"85%"},"@bp5":{width:"50%"}},children:[(0,g.jsx)("div",{children:s&&(0,g.jsx)(h.EY,{variant:"h3",color:"white",css:{px:"$6"},children:"Backstage"})}),(0,g.jsxs)("div",{children:[t.coverAsset&&(0,g.jsx)(j.x,{asset:t.coverAsset,assetCSS:{"@bp2":{position:"absolute",top:0,left:0,zIndex:-1,objectFit:"cover",height:"100%",width:"100%"}}}),(0,g.jsxs)(d.N,{css:{px:"$6",spaceY:"$8",pt:"$8"},children:[(0,g.jsx)(h.EY,{variant:{"@initial":"h2","@bp2":"h1"},color:"white",children:t.title}),(0,g.jsx)(h.EY,{variant:"h4",color:"white",css:{fontWeight:"$regular"},children:t.leadIn}),(0,g.jsxs)(d.so,{css:{alignItems:"center"},children:[(0,g.jsx)(Z.eu,{imageUrl:t.author.avatarUrl}),(0,g.jsxs)(h.EY,{variant:"meta",color:"white",css:{ml:"$6"},children:[null===t||void 0===t?void 0:t.author.name.trim(),", on ",(0,p.Yq)(t.createdAt)]})]})]})]})]})})})}):(0,g.jsx)(h.tz,{css:{mb:"$9",height:"60vh"}})},M=s(1222),Q=s(70187),X=s(21328),ee=e=>{var t=e.posts;return(0,g.jsx)(d.xA,{css:{gridColumns:1,gridGap:"$10","@bp2":{gridColumns:2},"@bp5":{gridColumns:3}},children:t.map((e,t)=>(0,g.jsx)(U,{post:e},t))})},te=()=>{var e=(0,r.g)().page,t=parseInt(e||"1"),s=14*Math.max(t-1,0),a=(0,f.wm)("contentful");if((0,f.bP)(a.request,{contentType:"blogPost",skip:s.toString(),limit:14..toString()}),(0,f.bs)(e),(0,f.rI)({title:"Backstage"}),"error"===a.status||"loaded"===a.status&&a.data&&(!a.data.items||0===a.data.items.length))return(0,g.jsx)(M.default,{});var p="loaded"===a.status&&a.data&&a.data.skip===s?a.blogPosts:Array(14).fill(null);return(0,g.jsxs)(Q._x,{FooterComponent:X.Footer,children:[1===t&&[p.slice(0,7),p.slice(7)].map((e,t)=>{var s,a=(s=e,(0,n.A)(s)||(0,o.A)(s)||(0,c.A)(s)||(0,l.A)()),r=a[0],h=(0,i.A)(a).slice(1);return(0,g.jsxs)(d.az,{children:[void 0!==r&&(0,g.jsx)(K,{post:r,withTitle:0===t}),h.length>0&&(0,g.jsx)(d.xI,{css:{spaceY:"$16",mb:"$16"},children:(0,g.jsx)(ee,{posts:h})})]},t)}),(0,g.jsxs)(d.xI,{css:{spaceY:"$16"},children:[1!==t&&(0,g.jsx)(ee,{posts:p}),a.data&&(0,g.jsx)(d.az,{css:{pb:"$16"},children:(0,g.jsx)(h.dK,{currentPage:t,itemsPerPage:14,totalItems:a.data.total,rootUrl:"/backstage",olderText:"Older posts",newerText:"Newer posts"})})]})]})},se=s(70161),ae=(0,x.I4)(h.EY,{background:"linear-gradient(#cfcfcf, #fff)",textAlign:"center",boxShadow:"0 -30px 80px rgba(0, 0, 0, 0.2)",mt:-45,mb:60,p:"$8"}),re=()=>{var e=(0,r.g)().slug,t=new URLSearchParams(window.location.search),s=(0,f.Jr)(),a=s.loading,i=s.featureEnabled,n=!a&&(i("blog_previews")&&"true"===t.get("preview")),o=(0,f.wm)("contentful");(0,f.bP)(o.request,{usePreviewApi:String(n),contentType:"blogPost","fields.slug":e||""});var c=(0,r.zy)().state,l=!o.blogPost&&null!==c&&void 0!==c&&c.post?c.post:o.blogPost;return(0,f.rI)((e=>{if(null===e)return{};var t,s;if(e.coverAsset){var a=e.coverAsset.fields.file;if(a.contentType.startsWith("image")){t=a.url;var r=new URL(t.startsWith("//")?"https:".concat(t):t);r.searchParams.append("w","1200"),r.searchParams.append("h","600"),r.searchParams.append("fit","thumb"),s=r.toString()}}return{title:e.title,description:e.metaDescription,imageUrl:t,twitterImageUrl:s,ogType:"article",ogProperties:[{property:"article:published_time",content:e.createdAt.toISOString()},{property:"article:author",content:e.author.name}]}})(l)),"loading"!==o.status||l?"error"!==o.status&&l?(0,g.jsxs)(Q._x,{FooterComponent:X.Footer,children:[l.coverAsset&&(0,g.jsx)(j.x,{asset:l.coverAsset,alt:l.title,assetCSS:{width:"100%",zIndex:-1,position:"relative",height:"30vh",objectFit:"cover","@bp2":{height:"45vh"},"@bp5":{height:"60vh"}}}),(0,g.jsxs)(d.xI,{children:[(0,g.jsx)(ae,{variant:{"@initial":"h2","@bp2":"h1"},children:l.title}),(0,g.jsx)(d.az,{css:{"@bp2":{width:"80%",margin:"0 auto"},"@bp5":{width:"50%"}},children:(0,g.jsxs)(d.az,{css:{spaceY:45},children:[(0,g.jsx)(h.EY,{variant:"impact",children:l.leadIn}),(0,g.jsx)(d.so,{css:{justifyContent:"center",borderTop:"1px $grey3 solid",borderBottom:"1px $grey3 solid",py:"$6"},children:(0,g.jsx)(u,{post:l})}),(0,g.jsx)(se.G,{document:l.body,assets:l.assets})]})}),(0,g.jsx)(d.so,{css:{justifyContent:"center",mt:105,mb:70},children:(0,g.jsx)(u,{post:l})}),(0,g.jsxs)(d.az,{css:{"@bp2":{width:"80%"},margin:"0 auto"},children:[(0,g.jsxs)(d.so,{css:{justifyContent:"space-between",alignItems:"center",flexDirection:"column",pb:90,spaceY:"$14","@bp2":{pb:11
15,flexDirection:"row",spaceY:0}},children:[(0,g.jsxs)(d.az,{css:{spaceY:"$4"},children:[(0,g.jsx)(h.EY,{variant:"h3",children:"Share post"}),(0,g.jsx)(J,{})]}),(0,g.jsx)("div",{children:(0,g.jsx)(y.z9,{to:"/backstage",children:"See more posts \u2192"})})]}),(0,g.jsx)(d.az,{css:{mb:100,"@bp2":{mb:200}},children:(0,g.jsx)(R,{variant:l.ctaVariant})})]})]})]}):(0,g.jsx)(M.default,{}):(0,g.jsx)(Q._x,{FooterComponent:X.Footer,children:(0,g.jsx)(se.Rh,{})})},ie=()=>{var e=(0,r.W5)().path;return(0,g.jsxs)(r.dO,{children:[(0,g.jsx)(r.qh,{exact:!0,path:e,children:(0,g.jsx)(te,{})}),(0,g.jsx)(r.qh,{component:re,exact:!0,path:"".concat(e,"/:slug"),children:(0,g.jsx)(re,{})}),(0,g.jsx)(r.qh,{component:te,path:"".concat(e,"/page/:page"),children:(0,g.jsx)(te,{})})]})};const ne=ie}}]);
2//# sourceMappingURL=3888.3e19fe4b.chunk.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.