PageSourceSearch

https://shoutout.global/_next/static/chunks/app/partnership/page-5c46fbeed0c590a3.js

js shoutout.global collected 2026-09-24 18:01:28 UTC 8,947 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[809],{888:(e,t,a)=>{"use strict";a.d(t,{r:()=>i});var r=a(2115),n=a(3360),l=a(1430);let s=r.forwardRef((e,t)=>r.createElement(n.A,{ref:t,...e,weights:l.A}));s.displayName="CheckCircleIcon";let i=s},1286:(e,t,a)=>{"use strict";a.d(t,{Bg:()=>l,k8:()=>n,ph:()=>r});class r extends Error{status;fields;constructor(e,t,a){super(e),this.status=t,this.fields=a,this.name="FormSubmissionError"}}function n(e,t){let a,r="";try{a=new URL(e)}catch{}try{r=t?new URL(t).hostname:""}catch{}return{utmSource:a?.searchParams.get("utm_source")||"",utmMedium:a?.searchParams.get("utm_medium")||"",utmCampaign:a?.searchParams.get("utm_campaign")||"",utmTerm:a?.searchParams.get("utm_term")||"",utmContent:a?.searchParams.get("utm_content")||"",landingPath:a?.pathname||"",referrerDomain:r}}async function l(e,t,a=fetch){let n;try{n=await a(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})}catch{throw new r("We could not reach Shoutout. Check your connection and try again.",0)}let s=await n.json().catch(()=>({}));if(!n.ok||!s.ok)throw new r(s.error?.message||"Something went wrong. Please try again.",n.status,s.error?.fields)}},1430:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(2115);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M176.49,95.51a12,12,0,0,1,0,17l-56,56a12,12,0,0,1-17,0l-24-24a12,12,0,1,1,17-17L112,143l47.51-47.52A12,12,0,0,1,176.49,95.51ZM236,128A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),r.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm45.66,85.66-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35a8,8,0,0,1,11.32,11.32Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M172.24,99.76a6,6,0,0,1,0,8.48l-56,56a6,6,0,0,1-8.48,0l-24-24a6,6,0,0,1,8.48-8.48L112,151.51l51.76-51.75A6,6,0,0,1,172.24,99.76ZM230,128A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M173.66,98.34a8,8,0,0,1,0,11.32l-56,56a8,8,0,0,1-11.32,0l-24-24a8,8,0,0,1,11.32-11.32L112,148.69l50.34-50.35A8,8,0,0,1,173.66,98.34ZM232,128A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M170.83,101.17a4,4,0,0,1,0,5.66l-56,56a4,4,0,0,1-5.66,0l-24-24a4,4,0,0,1,5.66-5.66L112,154.34l53.17-53.17A4,4,0,0,1,170.83,101.17ZM228,128A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]])},1627:(e,t,a)=>{"use strict";a.d(t,{Q:()=>i});var r=a(2115),n=a(3360),l=a(9589);let s=r.forwardRef((e,t)=>r.createElement(n.A,{ref:t,...e,weights:l.A}));s.displayName="ArrowRightIcon";let i=s},2754:(e,t,a)=>{"use strict";a.d(t,{PartnerForm:()=>p});var r=a(5155),n=a(888),l=a(1627),s=a(2115),i=a(4193),o=a(1286);let c=[{name:"name",label:"Your name",autoComplete:"name",maxLength:100,required:!0},{name:"email",label:"Work email",autoComplete:"email",type:"email",maxLength:254,required:!0},{name:"company",label:"Company",autoComplete:"organization",maxLength:200,required:!0},{name:"companyUrl",label:"Company website (optional)",autoComplete:"url",type:"text",inputMode:"url",placeholder:"www.example.com",maxLength:2048}];function m({name:e,label:t,error:a,children:n,className:l}){return(0,r.jsxs)("div",{className:l,children:[(0,r.jsxs)("label",{children:[(0,r.jsx)("span",{children:t}),n]}),a?(0,r.jsx)("small",{id:`partner-${e}-error`,className:"form-error",children:a}):null]})}
1function p(){let[e,t]=(0,s.useState)("idle"),[a,p]=(0,s.useState)(""),[u,h]=(0,s.useState)({}),d=(0,s.useRef)(!1);function f(e){return{name:e,id:`partner-${e}`,"aria-invalid":!!u[e]||void 0,"aria-describedby":u[e]?`partner-${e}-error`:void 0}}async function g(e){e.preventDefault();let a=e.currentTarget;if(d.current||!a.reportValidity())return;let r=Object.fromEntries(new FormData(a));d.current=!0,t("submitting"),p(""),h({}),(0,i._)({name:"partner_application_submit",location:"partner-page"});try{await (0,o.Bg)("/api/partner-application",r),a.reset(),t("success"),(0,i._)({name:"partner_application_success",location:"partner-page"})}catch(e){if(t("idle"),p(e instanceof Error?e.message:"We could not send your application. Please try again."),e instanceof o.ph){h(e.fields||{});let t=Object.keys(e.fields||{})[0],r=a.elements.namedItem(t);r instanceof HTMLElement&&r.focus()}(0,i._)({name:"partner_application_error",location:"partner-page"})}finally{d.current=!1}}return"success"===e?(0,r.jsxs)("div",{className:"form-success partner-success",role:"status",tabIndex:-1,ref:e=>e?.focus(),children:[(0,r.jsx)(n.r,{size:28,weight:"fill","aria-hidden":"true"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:"Application received."}),(0,r.jsx)("p",{children:"We’ll review your fit and follow up with next steps."})]})]}):(0,r.jsxs)("form",{className:"partner-form",onSubmit:g,"aria-busy":"submitting"===e,children:[c.map(({name:e,label:t,...a})=>(0,r.jsx)(m,{name:e,label:t,error:u[e],children:(0,r.jsx)("input",{...a,...f(e)})},e)),(0,r.jsx)(m,{name:"clientCount",label:"Shopify clients (optional)",error:u.clientCount,children:(0,r.jsxs)("select",{...f("clientCount"),defaultValue:"",children:[(0,r.jsx)("option",{value:"",children:"Select a range"}),["1–5","6–20","21–50","51+"].map(e=>(0,r.jsx)("option",{children:e},e))]})}),(0,r.jsx)(m,{name:"notes",label:"How do you work with Shopify merchants? (optional)",error:u.notes,className:"partner-notes",children:(0,r.jsx)("textarea",{...f("notes"),rows:4,maxLength:5e3})}),(0,r.jsxs)("label",{className:"honeypot-field","aria-hidden":"true",children:["Website",(0,r.jsx)("input",{name:"website",tabIndex:-1,autoComplete:"off"})]}),(0,r.jsxs)("button",{type:"submit",disabled:"submitting"===e,children:["submitting"===e?"Sending…":"Apply to partner",(0,r.jsx)(l.Q,{size:18,"aria-hidden":"true"})]}),a?(0,r.jsx)("p",{className:"form-error",role:"alert",children:a}):null,(0,r.jsxs)("p",{className:"partner-notes form-privacy",children:["We use these details to review your application and contact you. Read our ",(0,r.jsx)("a",{href:"/partnership-terms",children:"partnership terms"})," and"," ",(0,r.jsx)("a",{href:"/privacy-policy",children:"privacy policy"}),"."]})]})}},2817:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,8500,23)),Promise.resolve().then(a.t.bind(a,2972,23)),Promise.resolve().then(a.bind(a,8753)),Promise.resolve().then(a.bind(a,2754)),Promise.resolve().then(a.bind(a,6766))},2972:e=>{e.exports={hero:"partnership_hero__Xnl7m",heroInner:"partnership_heroInner__sYbxS",workflow:"partnership_workflow__CBvpT",offers:"partnership_offers__RzLXf",steps:"partnership_steps___Yj__",intro:"partnership_intro__PTU0C",rate:"partnership_rate__zz4dT",note:"partnership_note__P0qY4",stepNumber:"partnership_stepNumber__FAPFd"}},9589:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(2115);let n=new Map([["bold",r.createElement(r.Fragment,null,r.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",r.createElement(r.Fragment,null,r.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),r.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",r.createElement(r.Fragment,null,r.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",r.createElement(r.Fragment,null,r.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",r.createElement(r.Fragment,null,r.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]])}},e=>{e.O(0,[847,858,397,166,441,794,358],()=>e(e.s=2817)),_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.