1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15487],{1136:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>n});var a,s=r(987374);r(34268),r(73049),(a||(a={})).build=e=>e;let n=function(e,t,r){let a,n=(a=r?.headers??new Headers,{route:"/api/brand/:brand_token",service:"backend",url:`/api/brand/${e}`,method:"GET",params:t,...r,headers:a});return(0,s.E)(n)}},16323:(e,t,r)=>{"use strict";r.d(t,{Of:()=>u,aQ:()=>p});var a,s=r(11241),n=r(722944);let i=[];var o=r(582207),l=r(285311),d=((a={}).TERMS_OF_SERVICE_VERSION_UNKNOWN="TERMS_OF_SERVICE_VERSION_UNKNOWN",a.FAIRE_INC_V0="FAIRE_INC_V0",a.FAIRE_AUS_V0="FAIRE_AUS_V0",a.FAIRE_BV_V0="FAIRE_BV_V0",a.FAIRE_INC_ANZ_V0="FAIRE_INC_ANZ_V0",a);let c=(e,t)=>{let r=e.find(({countries:e})=>e.some(e=>e===t));return{contracting_party:r?.contracting_party??l.B.FAIRE_INC,terms_of_service_version:r?.terms_of_service_version??d.FAIRE_INC_V0}},u=e=>{let t,r=(0,s.c)(3),a=(0,n.useSetting)("CONTRACTING_PARTY_AND_LATEST_TOS_AGREEMENT_OF_COUNTRIES",i);if(r[0]!==a||r[1]!==e){let s,n;n=c(a,(s=(0,o.Z)())??""),t=s&&n.contracting_party===l.B.FAIRE_BV?n:e?c(a,e):n,r[0]=a,r[1]=e,r[2]=t}else t=r[2];return t},p=e=>u(e).contracting_party===l.B.FAIRE_BV},50981:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});let a="BRANDS_SERVICE_AS_SOURCE_OF_TRUTH_FOR_ONBOARDING_BRAND_LEAD_SIGNUP_260513"},58699:(e,t,r)=>{"use strict";r.d(t,{G:()=>s});var a=r(991181);let s=()=>(0,a.getSettingValueWithoutAssignment)("SALESFORCE_FALLBACK_SALES_REP_CALENDAR_URL","https://calendly.com/madeleine-maxwell_15_mins")},63144:(e,t,r)=>{"use strict";r.d(t,{AN:()=>k,Dx:()=>P,F9:()=>L,G8:()=>p,GY:()=>f,H7:()=>w,H8:()=>E,Hx:()=>o,No:()=>I,RB:()=>M,TC:()=>h,Tk:()=>A,Ub:()=>O,VL:()=>j,Vk:()=>N,We:()=>u,bk:()=>x,cd:()=>m,eD:()=>R,eQ:()=>d,f2:()=>g,jc:()=>T,k4:()=>v,lh:()=>_,mJ:()=>l,mp:()=>C,pO:()=>y,sH:()=>S,u5:()=>c,xR:()=>b});var a,s=r(366554),n=r(353113),i=r(173314);(a||(a={})).build=e=>({user:n.T.build(e?.user),retailer:s.K.build(e?.retailer)});let o=new i.o("RETAILER_SIGN_UP_EVENT"),l=new i.o("PERSONAL_INFO_NEXT_PRESSED"),d=new i.o("STORE_DETAIL_NEXT_PRESSED"),c=new i.o("DESCRIBE_STORE_NEXT_PRESSED"),u=new i.o("RETAILER_PURCHASE_EVENT"),p=new i.o("RETAILER_CANCEL_ORDER_EVENT"),f=new i.o("RETAILER_ADD_ADDRESS");new i.o("RETAILER_CHANGE_SHIPPING_ADDRESS");let g=new i.o("RETAILER_ADD_COLLECTION_TO_CART"),m=new i.o("INITIATE_CHECKOUT_ALL_CARTS"),_=new i.o("INITIATE_CHECKOUT_FLASH_SALE"),b=new i.o("FLASH_SALE_ORDER_SUBMITTED"),h=new i.o("VIEW_PRODUCT"),y=new i.o("VIEW_BRAND"),v=new i.o("INSIDER_MEMBERSHIP_PURCHASE"),E=new i.o("SEARCH_FOR_PRODUCT"),C=new i.o("PAID_INVOICES_SUCCESS"),A=new i.o("LIMIT_INCREASE_APPLICATION_SUBMITTED"),T=new i.o("MAKER_APPLY_EVENT"),x=new i.o("AD_PAGE_APPLY"),S=new i.o("PAGE_INIT"),R=new i.o("REFUSED_REDIRECT_TO_EXTERNAL_URL"),I=new i.o("BRAND_BLOG_CONTENT_FORM_SUBMISSION"),N=new i.o("INSIDER_MEMBERSHIP_MUTATED"),O=new i.o("OPEN_WITH_FAIRE_PAGE_VIEW"),k=new i.o("OPEN_WITH_FAIRE_PAGE_YES_FUNDING_SELECTED"),w=new i.o("OPEN_WITH_FAIRE_SIGN_UP_APPLICATION_VIEW"),M=new i.o("OPEN_WITH_FAIRE_STORE_INFO_SECTION_NEXT_PRESSED"),L=new i.o("OPEN_WITH_FAIRE_OWNERSHIP_SECTION_NEXT_PRESSED"),P=new i.o("OPEN_WITH_FAIRE_FINANCIAL_SECTION_NEXT_PRESSED"),j=new i.o("OPEN_WITH_FAIRE_ADDITIONAL_SECTION_NEXT_PRESSED")},93995:(e,t,r)=>{"use strict";r.d(t,{g:()=>i,u:()=>n});var a=r(123337);let s={email:"",companyName:"",url:"",secondaryCategoryOptions:new Set,country:null,formErrors:{},apiErrors:{},urlValidationInProgress:!1,emailValidationInProgress:!1,isUrlValidated:!1,isEmailValidated:!1,temporaryPosLinkKey:void 0,brandLeadToken:null,brandLeadCreationFailure:!1},{useStore:n,Provider:i}=(0,a.r)(e=>({...s,setStore:t=>{"function"==typeof t?e(e=>({...e,...t(e)})):e(t)}}),()=>({...s,setStore:()=>{}}))},97013:(e,t,r)=>{"use strict";var a,s,n;r.d(t,{j:()=>a}),(n=(s=a||(a={})).Source||(s.Source={})).BRAND_APPLIED="BRAND_APPLIED",n.SALES="SALES",n.SALES_SOURCED="SALES_SOURCED",n.REFERRAL="REFERRAL",n.LEAD_GENIUS="LEAD_GENIUS",n.PRODUCT_MATCHING="PRODUCT_MATCHING",n.EVENT="EVENT",n.ORGANIC="ORGANIC",n.DIRECT_MAIL="DIRECT_MAIL",n.DIGITAL_ADS="DIGITAL_ADS",n.PRESS="PRESS",n.BRAND_REFERRAL="BRAND_REFERRAL",n.INTERNATIONAL_TRADESHOW="INTERNATIONAL_TRADESHOW",n.SOCIAL_MEDIA="SOCIAL_MEDIA",n.RETAILER_REFERRAL="RETAILER_REFERRAL",n.FAIRE_EMPLOYEE="FAIRE_EMPLOYEE",n.MAKER_SCORING="MAKER_SCORING",n.CHARM_IO="CHARM_IO",n.OUTBOUND="OUTBOUND",n.OUTBOUND_OLD="OUTBOUND_OLD",n.FAIRE_BLOG="FAIRE_BLOG",n.ZOOMINFO="ZOOMINFO",n.PURCHASE_ORDER="PURCHASE_ORDER",n.ORGANIC_FROM_EXISTING_USER="ORGANIC_FROM_EXISTING_USER",s.build=e=>({secondary_categories:[],...e??{}})},109382:(e,t,r)=>{"use strict";r.d(t,{s:()=>d});var a=r(294799),s=r(11241),n=r(327068),i=r(834023),o=r(415767),l=r(673345);let d=e=>{let t,r,n,i,d,u,p=(0,s.c)(12);p[0]!==e?({children:t,role:n,announceToAssistiveTechnology:i,...r}=e,p[0]=e,p[1]=t,p[2]=r,p[3]=n,p[4]=i):(t=p[1],r=p[2],n=p[3],i=p[4]);let f=void 0===i||i;return p[5]!==f||p[6]!==t||p[7]!==n?(d=(0,a.jsx)(c,{role:n,announceToAssistiveTechnology:f,children:t}),p[5]=f,p[6]=t,p[7]=n,p[8]=d):d=p[8],p[9]!==r||p[10]!==d?(u=(0,a.jsx)(o.A,{children:(0,a.jsx)(l.n,{...r,children:d})}),p[9]=r,p[10]=d,p[11]=u):u=p[11],u},c=e=>{let t,r,a,l,d,c,u,p=(0,s.c)(17),{children:f,role:g,announceToAssistiveTechnology:m}=e,{floatingRootContext:_,setInteractions:b}=(0,o.N)();p[0]!==g?(t=g?(e=>{switch(e){case"label":return"label";case"additional-info":case"description":return"tooltip"}})(g):"tooltip",p[0]=g,p[1]=t):t=p[1];let h=m&&!!g;p[2]!==t||p[3]!==h?(r={role:t,enabled:h},p[2]=t,p[3]=h,p[4]=r):r=p[4];let y=(0,n.It)(_,r),v=(0,n.s9)(_);p[5]===Symbol.for("react.memo_cache_sentinel")?(a={move:!1},p[5]=a):a=p[5];let E=(0,n.Mk)(_,a);p[6]!==m?(l={enabled:m},p[6]=m,p[7]=l):l=p[7];let C=(0,n.iQ)(_,l);p[8]!==v||p[9]!==C||p[10]!==E||p[11]!==y?(d=[v,y,E,C],p[8]=v,p[9]=C,p[10]=E,p[11]=y,p[12]=d):d=p[12];let A=(0,n.bv)(d);return p[13]!==A||p[14]!==b?(c=()=>{b(A)},u=[A,b],p[13]=A,p[14]=b,p[15]=c,p[16]=u):(c=p[15],u=p[16]),(0,i.useEffect)(c,u),f}},120818:(e,t,r)=>{"use strict";r.d(t,{V:()=>d,l:()=>o});var a=r(294799),s=r(11241),n=r(595656),i=r(505712);r(834023);let o=e=>{let t,r,i,o,d,u,p,f,g,m,_,b,h,y,v,E,C=(0,s.c)(32);C[0]!==e?({children:t,className:r,disabled:i,error:o,gap:p,tooltip:g,optional:d,as:f,...u}=e,C[0]=e,C[1]=t,C[2]=r,C[3]=i,C[4]=o,C[5]=d,C[6]=u,C[7]=p,C[8]=f,C[9]=g):(t=C[1],r=C[2],i=C[3],o=C[4],d=C[5],u=C[6],p=C[7],f=C[8],g=C[9]);let A=void 0===p?0:p,T=void 0===f?"label":f;C[10]!==r?(m=l.cls({className:r}),C[10]=r,C[11]=m):m=C[11];let x=m;C[12]!==A?(_=l.vars({gap:`calc(var(--spacing) * ${A})`}),C[12]=A,C[13]=_):_=C[13];let S=_;if(!t)return null;C[14]!==S?(b={...S},C[14]=S,C[15]=b):b=C[15];let R=!!o;return C[16]!==t||C[17]!==d?(h=d?(0,a.jsx)(n.StrictLocalMsg,{id:"9rQTJ0",defaultMessage:"{formLabelFullyTranslatedSentence} <SubduedFormatting>(optional)</SubduedFormatting>",values:{formLabelFullyTranslatedSentence:(0,a.jsx)("span",{children:t}),SubduedFormatting:c},description:{text:"'(optional)' form label suffix: subdued text at the end of an input's label denoting that the input is optional",img:"https://cdn.faire.com/fastly/7fbddf072e4ab23243e94d7a239025328835c3ccf30fd639ae38aa2fb73a92dd.png"}}):t,C[16]=t,C[17]=d,C[18]=h):h=C[18],C[19]!==h?(y=(0,a.jsx)("span",{children:h}),C[19]=h,C[20]=y):y=C[20],C[21]!==g?(v=g?(0,a.jsx)("span",{className:"inline-flex pl-(--slate-spacing-element-default) align-text-bottom",children:g}):null,C[21]=g,C[22]=v):v=C[22],C[23]!==T||C[24]!==i||C[25]!==x||C[26]!==u||C[27]!==b||C[28]!==R||C[29]!==y||C[30]!==v?(E=(0,a.jsxs)(T,{style:b,className:x,"data-disabled":i,"data-error":R,...u,children:[y,v]}),C[23]=T,C[24]=i,C[25]=x,C[26]=u,C[27]=b,C[28]=R,C[29]=y,C[30]=v,C[31]=E):E=C[31],E},l=(0,i.K)({vars:{gap:"fs-form-field-label-gap"},base:["fs-form-field__label","mb-(--fs-form-field-label-gap)"]}
1),d=e=>{let t,r,n,i,o,l,d,c,p,f,g=(0,s.c)(21);g[0]!==e?({children:t,className:r,disabled:n,error:i,gap:l,...o}=e,g[0]=e,g[1]=t,g[2]=r,g[3]=n,g[4]=i,g[5]=o,g[6]=l):(t=g[1],r=g[2],n=g[3],i=g[4],o=g[5],l=g[6]);let m=void 0===l?1:l;if(!t&&"string"!=typeof i)return null;g[7]!==r?(d=u.cls({className:r}),g[7]=r,g[8]=d):d=g[8];let _=d;g[9]!==m?(c=u.vars({gap:`calc(var(--spacing) * ${m})`}),g[9]=m,g[10]=c):c=g[10];let b=c;g[11]!==b?(p={...b},g[11]=b,g[12]=p):p=g[12];let h=i?"alert":void 0,y=!!i,v=void 0===i||"boolean"==typeof i?t:i;return g[13]!==n||g[14]!==_||g[15]!==o||g[16]!==p||g[17]!==h||g[18]!==y||g[19]!==v?(f=(0,a.jsx)("span",{style:p,className:_,role:h,"data-disabled":n,"data-error":y,...o,children:v}),g[13]=n,g[14]=_,g[15]=o,g[16]=p,g[17]=h,g[18]=y,g[19]=v,g[20]=f):f=g[20],f},c=e=>{let t,r=(0,s.c)(2);return r[0]!==e?(t=(0,a.jsx)("span",{className:"text-fs-text-subdued",children:e}),r[0]=e,r[1]=t):t=r[1],t},u=(0,i.K)({vars:{gap:"fs-form-field-helper-gap"},base:["fs-form-field__helper","mt-(--fs-form-field-helper-gap)"]})},123906:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});var a=r(180215),s=r(201245);let n=e=>{let{prefix:t,idProp:r,name:n,label:i,helper:o,error:l}=e,d=r??(0,a.u)(t,n,i,o,"boolean"!=typeof l?l:void 0),c=(0,s.EA)(o)&&(0,s.EA)(d)?`${d}__helper`:void 0;return{id:d,helperId:c}}},126915:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});var a=r(294799),s=r(11241),n=r(377258),i=r(979754),o=r(505712);r(834023);let l=e=>{let t,r,n,o,l,c=(0,s.c)(9);return c[0]!==e?({className:t,...r}=e,c[0]=e,c[1]=t,c[2]=r):(t=c[1],r=c[2]),c[3]!==t?(n=d.cls({className:t}),c[3]=t,c[4]=n):n=c[4],c[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.jsx)(i.ChevronDown,{}),c[5]=o):o=c[5],c[6]!==r||c[7]!==n?(l=(0,a.jsx)("span",{className:n,...r,children:o}),c[6]=r,c[7]=n,c[8]=l):l=c[8],l},d=(0,o.K)({base:"fs-accordion__chevron"}),c=e=>{let t,r,n,i,o,l=(0,s.c)(10);l[0]!==e?({className:t,open:r,...n}=e,l[0]=e,l[1]=t,l[2]=r,l[3]=n):(t=l[1],r=l[2],n=l[3]),l[4]!==t?(i=u.cls({className:t}),l[4]=t,l[5]=i):i=l[5];let d=r||void 0;return l[6]!==n||l[7]!==i||l[8]!==d?(o=(0,a.jsx)("details",{className:i,open:d,...n}),l[6]=n,l[7]=i,l[8]=d,l[9]=o):o=l[9],o},u=(0,o.K)({base:"fs-accordion"}),p=e=>{let t,r,n,i,o=(0,s.c)(8);return o[0]!==e?({className:t,...r}=e,o[0]=e,o[1]=t,o[2]=r):(t=o[1],r=o[2]),o[3]!==t?(n=f.cls({className:t}),o[3]=t,o[4]=n):n=o[4],o[5]!==r||o[6]!==n?(i=(0,a.jsx)("div",{className:n,...r}),o[5]=r,o[6]=n,o[7]=i):i=o[7],i},f=(0,o.K)({base:"fs-accordion__content"});var g=r(135556),m=r(595656),_=r(201245),b=r(854944);let h=["Formatting"],y=RegExp(`${h.flatMap(e=>`(${e})`).join("|")}$`),v=["Medium"],E=e=>{let t,r,n,i,o,l,d=(0,s.c)(12);if(d[0]!==e?({variant:n,children:t,...r}=e,d[0]=e,d[1]=t,d[2]=r,d[3]=n):(t=d[1],r=d[2],n=d[3]),"string"==typeof t)i=t;else{let e;d[4]!==t?(e=((e,t)=>{let r,a=t?.length?(r=t,RegExp(`^([^<>]|${r.flatMap(e=>["",...h].map(t=>[`(<${e}${t}>[^<>]*</${e}${t}>)`])).join("|")})+$`)):void 0,[{strictLocalMsgs:s},n]=(0,b.u)(e,{strictLocalMsgs:[m.StrictLocalMsg,e=>{if(!a)return!0;let t=a.test(e.defaultMessage),r=e.values??{},s=(0,_.h9)(r).every(([e,t])=>{let r=e.replace(y,""),a=(0,_.$9)(g.C,e)===t,s=(0,_.$9)(g.C,r)===t;return a||s});return t&&s}]});return[{strictLocalMsgs:s},n]})(t,v),d[4]=t,d[5]=e):e=d[5];let[r,a]=e,{strictLocalMsgs:s}=r;a.length>0&&console.error(`AccordionItemLabel only accepts the following chunk transforms: ${v.map(A).join(", ")}`),i=s}return d[6]!==n?(o=C.cls({variant:n}),d[6]=n,d[7]=o):o=d[7],d[8]!==i||d[9]!==r||d[10]!==o?(l=(0,a.jsx)("div",{...r,className:o,children:i}),d[8]=i,d[9]=r,d[10]=o,d[11]=l):l=d[11],l},C=(0,o.K)({base:"fs-accordion__label",variants:{variant:{paragraph:"fs-accordion__label--paragraph",subheading:"fs-accordion__label--subheading"}}});function A(e){return`chunkTransformations.${e}`}let T=e=>{let t,r,n,i,o,l=(0,s.c)(10);return l[0]!==e?({className:r,children:t,...n}=e,l[0]=e,l[1]=t,l[2]=r,l[3]=n):(t=l[1],r=l[2],n=l[3]),l[4]!==r?(i=x.cls({className:r}),l[4]=r,l[5]=i):i=l[5],l[6]!==t||l[7]!==n||l[8]!==i?(o=(0,a.jsx)("summary",{className:i,...n,children:t}),l[6]=t,l[7]=n,l[8]=i,l[9]=o):o=l[9],o},x=(0,o.K)({base:"fs-accordion__summary interactive focusable"}),S=e=>{let t,r,i,o,d,u,f,g,m,_,b,h,y=(0,s.c)(22);y[0]!==e?({content:t,expanded:r,label:i,labelVariant:d,...o}=e,y[0]=e,y[1]=t,y[2]=r,y[3]=i,y[4]=o,y[5]=d):(t=y[1],r=y[2],i=y[3],o=y[4],d=y[5]);let v=void 0===d?"subheading":d;return y[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,n.I$)(),y[6]=u):u=y[6],y[7]!==i||y[8]!==v?
1(f=(0,a.jsx)(E,{variant:v,children:i}),y[7]=i,y[8]=v,y[9]=f):f=y[9],y[10]===Symbol.for("react.memo_cache_sentinel")?(g=(0,a.jsx)(l,{}),y[10]=g):g=y[10],y[11]!==f?(m=(0,a.jsxs)(T,{children:[f,g]}),y[11]=f,y[12]=m):m=y[12],y[13]!==t?(_="string"==typeof t?(0,a.jsx)("p",{children:t}):t,y[13]=t,y[14]=_):_=y[14],y[15]!==_?(b=(0,a.jsx)(p,{children:_}),y[15]=_,y[16]=b):b=y[16],y[17]!==r||y[18]!==o||y[19]!==m||y[20]!==b?(h=(0,a.jsxs)(c,{...o,className:u,"data-component-name":"Slate/AccordionItem",open:r,children:[m,b]}),y[17]=r,y[18]=o,y[19]=m,y[20]=b,y[21]=h):h=y[21],h}},138017:(e,t,r)=>{"use strict";r.d(t,{Sw:()=>o,f9:()=>n,u1:()=>i});var a,s=r(840536),n=((a={})[a.PLEASE_TRY_AGAIN=0]="PLEASE_TRY_AGAIN",a[a.PLEASE_CONTACT_SUPPORT=1]="PLEASE_CONTACT_SUPPORT",a[a.PLEASE_REFRESH_THE_PAGE=2]="PLEASE_REFRESH_THE_PAGE",a[a.PLEASE_TRY_AGAIN_OR_CONTACT_SUPPORT=3]="PLEASE_TRY_AGAIN_OR_CONTACT_SUPPORT",a[a.PLEASE_REFRESH_AND_TRY_AGAIN=4]="PLEASE_REFRESH_AND_TRY_AGAIN",a);let i=(e,t)=>{let r;switch(t){case 0:default:r=e({id:"DsHyba",defaultMessage:"Oops, something went wrong! Please try again.",description:{text:"This error states that an unexpected error occurred"}});break;case 1:r=e({id:"RiUUHM",defaultMessage:"Oops, something went wrong! Please contact support.",description:{text:"This error states that an unexpected error occurred"}});break;case 2:r=e({id:"O5QR6m",defaultMessage:"Oops, something went wrong! Please refresh the page.",description:{text:"This error states that an unexpected error occurred"}});break;case 3:r=e({id:"LxY31D",defaultMessage:"Oops, something went wrong! Please try again or contact support.",description:{text:"This error states that an unexpected error occurred"}});break;case 4:r=e({id:"dVFBhF",defaultMessage:"Oops, something went wrong! Please refresh and try again.",description:{text:"This error states that an unexpected error occurred. User is told to refresh the page and try again"}})}return r},o=(e,t,r)=>(0,s.S)(e,r??i(t))},156764:(e,t,r)=>{"use strict";r.d(t,{_:()=>l});var a=r(294799),s=r(11241),n=r(180215),i=r(377258);r(834023);var o=r(126915);let l=e=>{let t,r,l,d,c,u,p,f,g,m=(0,s.c)(20);if(m[0]!==e?({footer:t,items:l,initiallyExpandedIndex:r,onToggle:d,...c}=e,m[0]=e,m[1]=t,m[2]=r,m[3]=l,m[4]=d,m[5]=c):(t=m[1],r=m[2],l=m[3],d=m[4],c=m[5]),m[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,i.Dt)("fs-accordion-group"),m[6]=u):u=m[6],m[7]!==r||m[8]!==l||m[9]!==d){let e;m[11]!==r||m[12]!==d?(e=(e,t)=>(0,a.jsx)(o.A,{...e,expanded:r===t,onToggle:e=>d?.(t,e)},(0,n.u)(`accordion-item-${t}`,e.id,e.label)),m[11]=r,m[12]=d,m[13]=e):e=m[13],p=l.map(e),m[7]=r,m[8]=l,m[9]=d,m[10]=p}else p=m[10];return m[14]!==t?(f=t?(0,a.jsx)("p",{className:"fs-accordion-group__footer",children:t}):null,m[14]=t,m[15]=f):f=m[15],m[16]!==c||m[17]!==p||m[18]!==f?(g=(0,a.jsxs)("section",{...c,className:u,"data-component-name":"Slate/AccordionGroup",children:[p,f]}),m[16]=c,m[17]=p,m[18]=f,m[19]=g):g=m[19],g}},173217:(e,t,r)=>{"use strict";r.d(t,{k:()=>f});var a=r(294799),s=r(11241),n=r(168076);r(834023);var i=r(120818),o=r(195918),l=r(712107),d=r(776219),c=r(109382),u=r(628836);let p=e=>{let t,r,n,i=(0,s.c)(6),{text:p,zIndex:f}=e,g=void 0===f?l.R:f;return i[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(u.k,{addInteraction:!0,children:(0,a.jsx)("span",{className:"inline-flex",children:(0,a.jsx)(o.Information,{})})}),i[0]=t):t=i[0],i[1]!==p?(r=(0,a.jsx)("span",{children:p}),i[1]=p,i[2]=r):r=i[2],i[3]!==r||i[4]!==g?(n=(0,a.jsxs)(c.s,{position:"top",alignment:"middle",role:"additional-info",children:[t,(0,a.jsx)(d.Z,{portaled:!0,zIndex:g,children:r})]}),i[3]=r,i[4]=g,i[5]=n):n=i[5],n},f=e=>{let t,r,o,l,d,c=(0,s.c)(25),{children:u,className:f,disabled:g,error:m,gap:_,helper:b,helperId:h,label:y,inputId:v,optional:E,tooltipText:C,tooltipZIndex:A,"data-component-name":T}=e;return c[0]!==f?(t=(0,n.cn)("flex w-full flex-col",f),c[0]=f,c[1]=t):t=c[1],c[2]!==C||c[3]!==A?(r=C?(0,a.jsx)(p,{text:C,zIndex:A}):null,c[2]=C,c[3]=A,c[4]=r):r=c[4],c[5]!==g||c[6]!==m||c[7]!==_||c[8]!==v||c[9]!==y||c[10]!==E||c[11]!==r?(o=(0,a.jsx)(i.l,{disabled:g,error:m,gap:_,htmlFor:v,optional:E,tooltip:r,children:y}),c[5]=g,c[6]=m,c[7]=_,c[8]=v,c[9]=y,c[10]=E,c[11]=r,c[12]=o):o=c[12],c[13]!==g||c[14]!==m||c[15]!==_||c[16]!==b||c[17]!==h?(l=(0,a.jsx)(i.V,{disabled:g,error:m,gap:_,id:h,children:b}),c[13]=g,c[14]=m,c[15]=_,c[16]=b,c[17]=h,c[18]=l):l=c[18],c[19]!==u||c[20]!==T||c[21]!==t||c[22]!==o||c[23]!==l?
1(d=(0,a.jsxs)("div",{className:t,"data-component-name":T,children:[o,u,l]}),c[19]=u,c[20]=T,c[21]=t,c[22]=o,c[23]=l,c[24]=d):d=c[24],d}},173314:(e,t,r)=>{"use strict";r.d(t,{o:()=>l});var a=r(833279),s=r(718580),n=r(946712),i=r.n(n);class o{static{this.get=(0,s.hw)(o)}constructor(){(0,a.t)()?this.appEvents={on:()=>{},off:()=>{},emit:()=>{},removeListener:()=>{},removeAllListeners:()=>{}}:this.appEvents=new(i())}}class l{static{this.appEventNames=new Set}constructor(e){if(this.eventName=e,this.subscribe=e=>{o.get().appEvents.on(this.eventName,e)},this.unsubscribe=e=>{o.get().appEvents.off(this.eventName,e),o.get().appEvents.removeListener(this.eventName,e)},this.publish=e=>{o.get().appEvents.emit(this.eventName,e)},this.unsubscribeAll=()=>{o.get().appEvents.removeAllListeners()},l.appEventNames.has(e))throw Error(`The ${e} event already exists`);l.appEventNames.add(e)}}},180215:(e,t,r)=>{"use strict";r.d(t,{u:()=>s});var a=r(834023);let s=(e,...t)=>{let r=t.flatMap(e=>{let t=n(e)?i(e):e;if("string"!=typeof t)return[];let r=t.trim().toLowerCase().replace(/\s+/g,"-").replace(/[^\p{L}\p{N}-]/gu,"_");return r.length?[r]:[]})[0];if(r)return`${e}-${r}`},n=e=>(0,a.isValidElement)(e)&&"string"==typeof e?.props?.defaultMessage,i=e=>e.props.defaultMessage},195918:(e,t,r)=>{"use strict";r.d(t,{Information:()=>c});var a=r(294799);r(834023);var s=r(220770),n=r(634749),i=r(917759);let o=(0,n.w)((0,a.jsx)("path",{d:"M12.169 6.84507C11.749 6.84507 11.4084 7.18558 11.4084 7.60563C11.4084 8.02568 11.749 8.3662 12.169 8.3662V7.60563V6.84507ZM12.1741 8.3662C12.5941 8.3662 12.9346 8.02568 12.9346 7.60563C12.9346 7.18558 12.5941 6.84507 12.1741 6.84507V7.60563V8.3662ZM22.3099 12.169H21.5493C21.5493 17.3496 17.3496 21.5493 12.169 21.5493V22.3099V23.0704C18.1897 23.0704 23.0704 18.1897 23.0704 12.169H22.3099ZM12.169 22.3099V21.5493C6.98843 21.5493 2.78873 17.3496 2.78873 12.169H2.02817H1.26761C1.26761 18.1897 6.14833 23.0704 12.169 23.0704V22.3099ZM2.02817 12.169H2.78873C2.78873 6.98843 6.98843 2.78873 12.169 2.78873V2.02817V1.26761C6.14833 1.26761 1.26761 6.14833 1.26761 12.169H2.02817ZM12.169 2.02817V2.78873C17.3496 2.78873 21.5493 6.98843 21.5493 12.169H22.3099H23.0704C23.0704 6.14833 18.1897 1.26761 12.169 1.26761V2.02817ZM12.169 7.60563V8.3662H12.1741V7.60563V6.84507H12.169V7.60563ZM12.169 9.6338H11.4084V16.7324H12.169H12.9296V9.6338H12.169Z",fill:"currentColor"}),"BSRInformation",e=>({className:(0,i.W)(),color:s.d.primary,fill:"none",titleAccess:e({id:"DTzrKo",defaultMessage:"Information",description:{text:"Message for screenreaders when only the icon is displayed"}}),viewBox:"0 0 24 24"}));var l=r(187819);let d=(0,n.w)((0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("path",{d:"M0.857422 12C0.857422 14.9553 2.0314 17.7895 4.12109 19.8792C6.21078 21.9689 9.04501 23.1429 12.0003 23.1429C14.9555 23.1429 17.7898 21.9689 19.8795 19.8792C21.9692 17.7895 23.1431 14.9553 23.1431 12C23.1431 9.04477 21.9692 6.21054 19.8795 4.12085C17.7898 2.03115 14.9555 0.857178 12.0003 0.857178C9.04501 0.857178 6.21078 2.03115 4.12109 4.12085C2.0314 6.21054 0.857422 9.04477 0.857422 12V12Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M12 12V18",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),(0,a.jsx)("path",{d:"M11.1426 7.71432C11.1426 7.94165 11.2329 8.15967 11.3936 8.32041C11.5544 8.48116 11.7724 8.57146 11.9997 8.57146C12.227 8.57146 12.4451 8.48116 12.6058 8.32041C12.7666 8.15967 12.8569 7.94165 12.8569 7.71432C12.8569 7.48699 12.7666 7.26897 12.6058 7.
110823C12.4451 6.94748 12.227 6.85718 11.9997 6.85718C11.7724 6.85718 11.5544 6.94748 11.3936 7.10823C11.2329 7.26897 11.1426 7.48699 11.1426 7.71432Z",fill:"currentColor"})]}),"Information",e=>({viewBox:"0 0 24 24",titleAccess:e({id:"DTzrKo",defaultMessage:"Information",description:{text:"Message for screenreaders when only the icon is displayed"}}),fill:"none",className:(0,i.W)()})),c=(0,l.K)(d,o)},201623:(e,t,r)=>{"use strict";r.d(t,{O:()=>o});var a=r(294799),s=r(11241),n=r(460290),i=r(168076);r(834023);let o=e=>{let t,r,o,d,c,u,p,f,g,m,_,b,h=(0,s.c)(27);if(h[0]!==e){let{className:a,error:s,onContainerClick:n,onContainerMouseDown:i,unmaskPosthog:l,prefix:f,suffix:g,containerRef:m,"data-component-name":_,...b}=e;t=a,o=s,p=l,d=f,u=g,r=_,c=b,h[0]=e,h[1]=t,h[2]=r,h[3]=o,h[4]=d,h[5]=c,h[6]=u,h[7]=p}else t=h[1],r=h[2],o=h[3],d=h[4],c=h[5],u=h[6],p=h[7];let y=p?n.S:void 0;h[8]!==d?(f=d?(0,a.jsx)("span",{className:"fs-form-field__prefix flex items-center",children:d}):null,h[8]=d,h[9]=f):f=h[9];let v=!!o;return h[10]!==t||h[11]!==r||h[12]!==d||h[13]!==u||h[14]!==y?(g=d||u?{className:(0,i.cn)("w-full focus-visible:outline-none",y)}:{className:(0,i.cn)("fs-form-field",t,y),"data-component-name":r},h[10]=t,h[11]=r,h[12]=d,h[13]=u,h[14]=y,h[15]=g):g=h[15],h[16]!==c||h[17]!==v||h[18]!==g?(m=(0,a.jsx)("input",{...c,"aria-invalid":v,...g}),h[16]=c,h[17]=v,h[18]=g,h[19]=m):m=h[19],h[20]!==u?(_=u?(0,a.jsx)("span",{className:"fs-form-field__suffix flex items-center",children:u}):null,h[20]=u,h[21]=_):_=h[21],h[22]!==e||h[23]!==f||h[24]!==m||h[25]!==_?(b=(0,a.jsxs)(l,{...e,children:[f,m,_]}),h[22]=e,h[23]=f,h[24]=m,h[25]=_,h[26]=b):b=h[26],b},l=e=>{let t,r,n,o=(0,s.c)(14),{prefix:l,suffix:d,children:c,className:u,"data-component-name":p,onContainerClick:f,onContainerMouseDown:g,containerRef:m}=e;o[0]!==m||o[1]!==f||o[2]!==g?(t={onClick:f,onMouseDown:g,ref:m},o[0]=m,o[1]=f,o[2]=g,o[3]=t):t=o[3];let _=t;if(!l&&!d){let e;return o[4]!==c||o[5]!==_?(e=(0,a.jsx)("div",{..._,children:c}),o[4]=c,o[5]=_,o[6]=e):e=o[6],e}return o[7]!==u?(r=(0,i.cn)("fs-form-field flex items-center gap-(--slate-spacing-element-default)",u),o[7]=u,o[8]=r):r=o[8],o[9]!==c||o[10]!==_||o[11]!==p||o[12]!==r?(n=(0,a.jsx)("div",{..._,className:r,"data-component-name":p,children:c}),o[9]=c,o[10]=_,o[11]=p,o[12]=r,o[13]=n):n=o[13],n}},212012:(e,t,r)=>{"use strict";r.d(t,{S:()=>c});var a=r(991181),s=r(50981),n=r(987374);r(34268);let i=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brand-lead/v2/validate-url",service:"backend",url:"/api/brand-lead/v2/validate-url",method:"POST",data:e,...t,headers:r});return(0,n.E)(a)},o=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brands-service/brand-lead/v2/validate-url",service:"brands",url:"/api/brands-service/brand-lead/v2/validate-url",method:"POST",data:e,...t,headers:r});return(0,n.E)(a)};var l=r(493026),d=r.n(l);let c=({value:e,strictLocalize:t,useRefreshedCopy:r=!1})=>new Promise(n=>d().isEmpty(e)?n(t({id:"lZvOpZ",defaultMessage:"Website URL is required",description:{text:"Websiste URL is required when submitting the form"}})):((...e)=>(0,a.getSettingValueWithoutAssignment)(s.o,!1)?o(...e):i(...e))({brand_lead_url:e}).then(e=>{e.is_valid?n(""):n(r?t({id:"0fT9oz",defaultMessage:"Enter a valid website URL",description:{text:"Error message when website URL validation fails (refreshed copy)"}}):t({id:"dHaihv",defaultMessage:"Please enter a functional website URL"}))}).catch(()=>n(r?t({id:"0fT9oz",defaultMessage:"Enter a valid website URL",description:{text:"Error message when website URL validation fails (refreshed copy)"}}):t({id:"dHaihv",defaultMessage:"Please enter a functional website URL"}))))},217047:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});let a=e=>e.element?{boundary:e.element}:{}},219510:(e,t,r)=>{"use strict";r.d(t,{z:()=>o});var a=r(975081),s=r(987374);r(34268);let n=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brand-lead/prospective-brand",service:"backend",url:"/api/brand-lead/prospective-brand",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,s.E)(a)},i=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brands-service/brand-lead/prospective-brand",service:"brands",url:"/api/brands-service/brand-lead/prospective-brand",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,s.E)(a)},o=()=>(0,a.R)()?i:n},232412:(e,t,r)=>{"use strict";r.d(t,{H:()=>U,k:()=>V});var a,s,n,i,o,l=r(11241),d=r(322731),c=r(16323),u=r(93995),p=r(626053),f=r(682028),g=r(991181),m=r(50981),_=r(987374);r(34268);let b=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brand-lead/referral-invite-clicked",service:"backend",url:"/api/brand-lead/referral-invite-clicked",method:"POST",data:e,...t,headers:r});return(0,_.E)(a)},h=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brands-service/brand-lead/referral-invite-clicked",service:"brands",url:"/api/brands-service/brand-lead/referral-invite-clicked",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,_.E)(a)},y=(...e)=>(0,g.getSettingValueWithoutAssignment)(m.o,!1)?h(...e):b(...e);var v=r(722944),E=r(277695),C=r(73049);(s||(s={})).build=e=>e;let A=function(e,t){let r,a=(r=t?.headers??new Headers,{route:"/api/brands-service/retailer-to-maker/inviting-retailers",service:"brands",url:"/api/brands-service/retailer-to-maker/inviting-retailers",method:"GET",params:e,...t,headers:r});return(0,_.E)(a)};var T=r(427507);(n||(n={})).build=e=>e;let x=function(e,t){let r,a=(r=t?.headers??new Headers,{route:"/api/retailer-to-maker/inviting-retailers",service:"backend",url:"/api/retailer-to-maker/inviting-retailers",method:"GET",params:e,...t,headers:r});return(0,_.E)(a)},S=function(e,t){let r,a=(r=t?.headers??new Headers,{route:"/api/retailer/public/:retailer_token",service:"backend",url:`/api/retailer/public/${e}`,method:"GET",...t,headers:r});return(0,_.E)(a)};var R=r(442462),I=r(858655);(i||(i={})).build=e=>({...e??{}});var N=r(794354),O=r(614094),k=r(593209),w=r(97013);r(864668);var M=r(686737);(a=o||(o={})).build=e=>e,a.parse=function(e=""){return{..."string"==typeof e?C.parse(e):e??{}}};let L="/apply/:brandTokenOrAlias";(0,M.wE)(L,{encode:encodeURIComponent});var P=r(749),j=r(374013),F=r(811331),D=r.n(F),B=r(834023),H=r(356652),G=r(648803);let U=D()((e,t,r,a)=>{if(e){if(!a)return;y(i.build({brand_token_alias:a,brand_email_address:r}));return}t&&y(i.build({retailer_token:t,brand_email_address:r}))}),V=()=>{let e,t,r,a,s,i,o,g,m,_,b,h,y,C,M,F,D,V,X,J,z,Z,q=(0,l.c)(79),Q=(0,p.u)(K),ee=(0,p.u)(W),{email:et,brandLeadToken:er,_source:ea,country:es}=(0,u.u)((0,G.k)(Y)),en=(0,H.W6)(),{pathname:ei}=(0,H.zy)();q[0]!==ei?(e=(t=ei.split("/").pop())?"r_".concat(t.toLowerCase()):null,q[0]=ei,q[1]=e,q[2]=t):(e=q[1],t=q[2]);let eo=e,el=t??void 0;q[3]!==ei?(r=(0,H.B6)((0,d.aA)(ei),{path:(0,d.aA)(N.wE),exact:!0}),q[3]=ei,q[4]=r):r=q[4];let ed=!!r;q[5]!==ei?(a=(0,H.B6)((0,d.aA)(ei),{path:(0,d.aA)(O.wE),exact:!0}),q[5]=ei,q[6]=a):a=q[6];let ec=!!a;q[7]!==ed||q[8]!==ei?(s=!ed&&!!(0,H.B6)((0,d.aA)(ei),{path:(0,d.aA)(L),exact:!0}),q[7]=ed,q[8]=ei,q[9]=s):s=q[9];let eu=s,ep=ec||eu,ef=(0,B.useRef)(null);
1q[10]!==Q||q[11]!==ed||q[12]!==ep||q[13]!==ee?(i=()=>{let e=ep||ed?f.A.LANDING:f.A.FORM,t=ef.current,r=!!t&&(t.isReferral!==ep||t.isAd!==ed);(void 0===Q||r)&&ee({applicationStage:e}),ef.current={isReferral:ep,isAd:ed}},q[10]=Q,q[11]=ed,q[12]=ep,q[13]=ee,q[14]=i):i=q[14],q[15]!==Q||q[16]!==ed||q[17]!==ep||q[18]!==ei||q[19]!==ee?(o=[ep,ed,Q,ee,ei],q[15]=Q,q[16]=ed,q[17]=ep,q[18]=ei,q[19]=ee,q[20]=o):o=q[20],(0,B.useEffect)(i,o),q[21]!==ee?(g=e=>{ee({applicationStage:e})},q[21]=ee,q[22]=g):g=q[22];let eg=g,em=!!eo&&ep;q[23]!==em?(m={enabled:em,placeholderData:j.rX},q[23]=em,q[24]=m):m=q[24];let{data:e_,isLoading:eb}=function(e,t){let r,a,s,n=(0,l.c)(10);if(void 0!==n[0]||n[1]!==e?(r=function(e,t){let{headers:r,...a}=t??{};return[`/api/retailer/public/${e}`,a,r?[...r]:[]]}(e,void 0),n[0]=void 0,n[1]=e,n[2]=r):r=n[2],void 0!==n[3]||n[4]!==e){var i;i=void 0,a=({signal:t})=>S(e,{...i,signal:t}),n[3]=void 0,n[4]=e,n[5]=a}else a=n[5];return n[6]!==r||n[7]!==a||n[8]!==t?(s={queryKey:r,queryFn:a,...t},n[6]=r,n[7]=a,n[8]=t,n[9]=s):s=n[9],(0,T.useQuery)(s)}(eo??"",m),eh=e_?.retailer,ey=!!t&&eu;q[25]!==ey?(_={enabled:ey},q[25]=ey,q[26]=_):_=q[26];let{data:ev,isLoading:eE}=(0,k.IT)(t??"",void 0,_);q[27]!==er?(b=n.build({brandLeadToken:er??""}),q[27]=er,q[28]=b):b=q[28];let eC=!!er;q[29]!==eC?(h={enabled:eC},q[29]=eC,q[30]=h):h=q[30];let{data:eA,isLoading:eT}=((...e)=>{let t=(0,v.useSetting)(E.e,!1),[r,a,s]=e,n=a?.enabled??!0,i=function(e,t,r){let a,s,n,i=(0,l.c)(10);if(i[0]!==r||i[1]!==e?(a=function(e,t){let{headers:r,...a}=t??{};return["/api/retailer-to-maker/inviting-retailers",e,a,r?[...r]:[]]}(e,r),i[0]=r,i[1]=e,i[2]=a):a=i[2],i[3]!==r||i[4]!==e)s=({signal:t})=>x(e,{...r,signal:t}),i[3]=r,i[4]=e,i[5]=s;else s=i[5];return i[6]!==a||i[7]!==s||i[8]!==t?(n={queryKey:a,queryFn:s,...t},i[6]=a,i[7]=s,i[8]=t,i[9]=n):n=i[9],(0,T.useQuery)(n)}(r,{...a,enabled:!t&&n},s),o=function(e,t,r){let a,s,n,i=(0,l.c)(10);if(i[0]!==r||i[1]!==e?(a=function(e,t){let{headers:r,...a}=t??{};return["/api/brands-service/retailer-to-maker/inviting-retailers",e,a,r?[...r]:[]]}(e,r),i[0]=r,i[1]=e,i[2]=a):a=i[2],i[3]!==r||i[4]!==e)s=({signal:t})=>A(e,{...r,signal:t}),i[3]=r,i[4]=e,i[5]=s;else s=i[5];return i[6]!==a||i[7]!==s||i[8]!==t?(n={queryKey:a,queryFn:s,...t},i[6]=a,i[7]=s,i[8]=t,i[9]=n):n=i[9],(0,T.useQuery)(n)}(r,{...a,enabled:t&&n},s);return t?o:i})(b,h),ex=eb||eE||eT;q[31]!==el||q[32]!==et||q[33]!==eu||q[34]!==ep||q[35]!==eo?(y=()=>{ep&&et&&U(eu,eo,et,el)},C=[ep,et,eu,eo,el],q[31]=el,q[32]=et,q[33]=eu,q[34]=ep,q[35]=eo,q[36]=y,q[37]=C):(y=q[36],C=q[37]),(0,B.useEffect)(y,C);let eS=(0,B.useRef)(!1),eR=e_?.retailer?.token,eI=ev?.token;q[38]!==eI||q[39]!==eR?(M=()=>{if(!eS.current&&(eR||eI)){var e,t;e=eR??"",t=eI??"",(0,R.x)({eventKey:"brand_leads-inbound_brand_referral_link-view",realTimeTracking:!1,priority:I.T.Priority.EXTRA_LOW,actionCategory:I.T.ActionCategory.ACTION_CATEGORY_IMPRESSION,parameters:{retailerToken:e,brandToken:t}}),eS.current=!0}},F=[eR,eI],q[38]=eI,q[39]=eR,q[40]=M,q[41]=F):(M=q[40],F=q[41]),(0,B.useEffect)(M,F),q[42]!==ea||q[43]!==ed||q[44]!==eu||q[45]!==ec?(D=ea||(ed?w.j.Source.DIGITAL_ADS:ec?w.j.Source.RETAILER_REFERRAL:eu?w.j.Source.BRAND_REFERRAL:w.j.Source.ORGANIC),q[42]=ea,q[43]=ed,q[44]=eu,q[45]=ec,q[46]=D):D=q[46];let eN=D;q[47]!==eu||q[48]!==ec||q[49]!==ev||q[50]!==e_?(V=ec&&e_?.retailer?{name:e_.retailer.name,image:e_.retailer.profile_image}:eu&&ev?{name:ev.name,image:ev.squared_image}:null,q[47]=eu,q[48]=ec,q[49]=ev,q[50]=e_,q[51]=V):V=q[51];let eO=V;e:{let e;if(!ec||!eo){X=0;break e}q[52]!==eA?.retailers||q[53]!==eo?(e=eA?.retailers.filter(e=>e.retailer_token!==eo).length??0,q[52]=eA?.retailers,q[53]=eo,q[54]=e):e=q[54],X=e}let ek=X;q[55]!==ee?(J=()=>{ee($)},q[55]=ee,q[56]=J):J=q[56];let ew=J,eM=(0,c.aQ)(es?.isoCode);q[57]!==en?(z=()=>{(0,R.x)({eventKey:"brand_leads-brands_form_mobile_navigation_first_back-click",realTimeTracking:!1,priority:I.T.Priority.EXTRA_LOW,actionCategory:I.T.ActionCategory.ACTION_CATEGORY_CLICK}),en.push(P.wE)},q[57]=en,q[58]=z):z=q[58];let eL=z;return q[59]!==ea||q[60]!==Q||q[61]!==el||q[62]!==ed||q[63]!==ex||q[64]!==eu||q[65]!==ec||q[66]!==ep||q[67]!==eL||q[68]!==ek||q[69]!==eO||q[70]!==ev||q[71]!==eh||q[72]!==eo||q[73]!==eg||q[74]!==ee||q[75]!==eM||q[76]!==eN||q[77]!==ew?(Z={displaySource:ea,source:eN,referrerInformation:eO,otherReferringRetailerCount:ek,toggleAcceptedTerms:ew,shouldShowTermsCheckbox:eM,onBackClick:eL,isLoading:ex,isAd:ed,isM2M:eu,isR2M:ec,isReferral:ep,applicationStage:Q,setApplicationStage:eg,referringBrand:ev,referringRetailer:eh,setMakerState:ee,retailerTokenFromPath:eo,brandTokenOrAlias:el},q[59]=ea,q[60]=Q,q[61]=el,q[62]=ed,q[63]=ex,q[64]=eu,q[65]=ec,q[66]=ep,q[67]=eL,q[68]=ek,q[69]=eO,q[70]=ev,q[71]=eh,q[72]=eo,q[73]=eg,q[74]=ee,q[75]=eM,q[76]=eN,q[77]=e
1w,q[78]=Z):Z=q[78],Z};function K(e){return e.applicationStage}function W(e){return e.setStore}function Y(e){return{email:e.email,brandLeadToken:e.brandLeadToken,_source:e._source,country:e.country}}function $(e){return{acceptedTerms:!e.acceptedTerms}}},285311:(e,t,r)=>{"use strict";r.d(t,{B:()=>s});var a,s=((a={}).CONTRACTING_PARTY_UNKNOWN="CONTRACTING_PARTY_UNKNOWN",a.FAIRE_INC="FAIRE_INC",a.FAIRE_AUS="FAIRE_AUS",a.FAIRE_BV="FAIRE_BV",a)},297056:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,hV:()=>s}),r(864668);var a,s,n=r(686737),i=r(73049);(a=s||(s={})).build=e=>e,a.parse=function(e=""){return{..."string"==typeof e?i.parse(e):e??{}}};let o=(0,n.wE)("/support/articles/:articleId",{encode:encodeURIComponent}),l=function(e,t){let r=o({articleId:e}),a=t?i.stringify(t):"";return`${r}${a?`?${a}`:""}`}},307389:(e,t,r)=>{"use strict";r.d(t,{O:()=>d,j:()=>c});var a=r(294799),s=r(11241),n=r(834023),i=r(684021);let o={},l=(0,n.createContext)(o),d=e=>{let t,r=(0,s.c)(3),{children:n,defaultParams:d}=e,c=d??o;return(0,i.S)(c),r[0]!==n||r[1]!==c?(t=(0,a.jsx)(l.Provider,{value:c,children:n}),r[0]=n,r[1]=c,r[2]=t):t=r[2],t},c=()=>(0,n.useContext)(l)},309684:(e,t,r)=>{"use strict";r.d(t,{b:()=>c});var a=r(11241),s=r(395623),n=r(684021),i=r(586074),o=r(307389),l=r(454545),d=r(917370);let c=()=>{let e,t,r,c=(0,a.c)(7),{localNum:u}=(0,s.t)(),{getLocalCurrency:p}=(()=>{let e,t,r,s=(0,a.c)(5);s[0]===Symbol.for("react.memo_cache_sentinel")?(e=["configuration"],s[0]=e):e=s[0];let{configuration:n}=(0,l.c)(e);s[1]!==n?(t=e=>(0,d.L)(e,n),s[1]=n,s[2]=t):t=s[2];let i=t;return s[3]!==i?(r={getLocalCurrency:i},s[3]=i,s[4]=r):r=s[4],r})(),{disableAutoConvertCurrency:f}=(0,o.j)();c[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.K)(),c[0]=e):e=c[0];let g=e.disableAutoConvertCurrency;c[1]!==p||c[2]!==u||c[3]!==f?(t=e=>(0,i.u)({disableAutoConvertCurrency:f??g??!1,...e},u,p),c[1]=p,c[2]=u,c[3]=f,c[4]=t):t=c[4];let m=t;return c[5]!==m?(r={formatMoney:m},c[5]=m,c[6]=r):r=c[6],r}},320386:(e,t,r)=>{"use strict";r.d(t,{k:()=>_});var a=r(294799),s=r(11241),n=r(377258),i=r(595656),o=r(356191),l=r(201245);r(834023);var d=r(385657);let c=e=>{let t,r,n,o=(0,s.c)(4),{value:l}=e;o[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(d.T,{size:"small",color:"var(--slate-color-icon-primary)"}),o[0]=t):t=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(r={text:"Screen reader accessible description of a input that's currently validating the user's input"},o[1]=r):r=o[1];let c=l??"";return o[2]!==c?(n=(0,a.jsxs)(a.Fragment,{children:[t,(0,a.jsx)("span",{className:"sr-only",children:(0,a.jsx)(i.StrictLocalMsg,{id:"zcqv7k",defaultMessage:"Validating {valueFullyTranslatedSentence}",description:r,values:{valueFullyTranslatedSentence:c}})})]}),o[2]=c,o[3]=n):n=o[3],n},u=e=>{let t,r,n,l=(0,s.c)(4),{value:d}=e;l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(o.CheckOutline,{color:"var(--slate-color-icon-primary)",strokeWidth:2}),l[0]=t):t=l[0],l[1]===Symbol.for("react.memo_cache_sentinel")?(r={text:"Screen reader accessible description of a input that's currently validating the user's input"},l[1]=r):r=l[1];let c=d??"";return l[2]!==c?(n=(0,a.jsxs)(a.Fragment,{children:[t,(0,a.jsx)("span",{className:"sr-only",children:(0,a.jsx)(i.StrictLocalMsg,{id:"l41WzW",defaultMessage:"Validated {valueFullyTranslatedSentence}",description:r,values:{valueFullyTranslatedSentence:c}})})]}),l[2]=c,l[3]=n):n=l[3],n},p=e=>{let t,r,n,i=(0,s.c)(7),{status:o,value:d}=e;i[0]!==o?(t=(e=>{switch(e){case"validating":return c;case"validated":return u;case void 0:return;default:return(0,l.zz)(e)}})(o),i[0]=o,i[1]=t):t=i[1];let p=t;return i[2]!==p||i[3]!==d?(r=p?(0,a.jsx)(p,{value:d}):null,i[2]=p,i[3]=d,i[4]=r):r=i[4],i[5]!==r?(n=(0,a.jsx)("div",{role:"status","aria-live":"polite",className:"flex",children:r}),i[5]=r,i[6]=n):n=i[6],n};var f=r(201623),g=r(173217),m=r(123906);let _=e=>{let t,r,i,o,l,d,c,u,_,b,h,y,v,E,C,A,T,x=(0,s.c)(39);if(x[0]!==e){let{disabled:a,error:s,helper:n,id:p,label:f,type:g,tooltipText:v,tooltipZIndex:E,optional:C,status:A,...T}=e;t=a,r=s,i=n,o=f,_=v,b=E,c=A,d=T,h=void 0===g?"text":g,l=void 0!==C&&C,({value:y}=d),u=(0,m.l)({prefix:"fs-textinput",idProp:p,name:d.name,label:o,helper:i,error:r}),x[0]=e,x[1]=t,x[2]=r,x[3]=i,x[4]=o,x[5]=l,x[6]=d,x[7]=c,x[8]=u,x[9]=_,x[10]=b,x[11]=h,x[12]=y}else t=x[1],r=x[2],i=x[3],o=x[4],l=x[5],d=x[6],c=x[7],u=x[8],_=x[9],b=x[10],h=x[11],y=x[12];let{id:S,helperId:R}=u;if(x[13]!==r||x[14]!==c){var I,N;I=r,N=c,v=I||"validated"!==N?"loading"===N?"validating":void 0:"validated",x[13]=r,x[14]=c,x[15]=v}else v=x[15];let O=v,k="loading"===c?void 0:r;return x[16]===Symbol.for("react.memo_cache_sentinel")?(E=(0,n.I$)(),x[16]=E):E=x[16],x[17]!==O||x[18]!==y?(C=(0,a.jsx)(p,{status:O,value:y}),x[17]=O,x[18]=y,x[19]=C):C=x[19],x[20]!==t||x[21]!==k||x[22]!==R||x[23]!==S||x[24]!==d||x[25]!==C||x[26]!==h?(A=(0,a.jsx)(f.O,{"aria-describedby":R,disabled:t,error:k,id:S,type:h,suffix:C,...d}),x[20]=t,x[21]=k,x[22]=R,x[23]=S,x[24]=d,x[25]=C,x[26]=h,x[27]=A):A=x[27],x[28]!==t||x[29]!==k||x[30]!==i||x[31]!==R||x[32]!==S||x[33]!==o||x[34]!==l||x[35]!==A||x[36]!==_||x[37]!==b?(T=(0,a.jsx)(g.k,{className:E,"data-component-name":"Slate/TextInput",disabled:t,error:k,helper:i,helperId:R,label:o,inputId:S,tooltipText:_,tooltipZIndex:b,optional:l,children:A}),x[28]=t,x[29]=k,x[30]=i,x[31]=R,x[32]=S,x[33]=o,x[34]=l,x[35]=A,x[36]=_,x[37]=b,x[38]=T):T=x[38],T}},346316:(e,t,r)=>{"use strict";r.d(t,{e:()=>s,u:()=>n});var a=r(834023);function s(e,t){if(!a.isValidElement(e))return!1;if(Array.isArray(t)){let[r,a]=t,s=e.type.displayName;return e.type===r&&a(e.props,s)}return e.type===t}function n(e,t){return Object.keys(e).reduce((r,a)=>(r[a]=t(e[a]),r),{})}},352093:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});let a="makerSignUpBasedIn"},395623:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var a=r(11241),s=r(348091),n=r(592887);let i=()=>{let e,t,r=(0,a.c)(4),{currencyFormatLocale:i}=(0,s.B)();r[0]!==i?(e=(e,t)=>{if(void 0!==e)try{return Intl.NumberFormat(i,t).format(e)}catch(r){n.Vy.getLogger("LOCALIZATION").logger.error(`Error formatting number in useLocalNum. error: ${r}, currencyFormatLocale: ${i}, value: ${e}, opts: ${t}`);return}},r[0]=i,r[1]=e):e=r[1];let o=e;return r[2]!==o?(t={localNum:o},r[2]=o,r[3]=t):t=r[3],t}},411185:(e,t,r)=>{"use strict";
1r.d(t,{B8:()=>o,DQ:()=>n,Ew:()=>l,Fs:()=>u,G5:()=>c,HE:()=>p,KH:()=>i,aA:()=>d});var a=r(989549),s=r(303101);let n=(0,s.CX)(a.E[4]),i=(0,s.CX)(a.E[2]),o=2,l=-(0,s.CX)(a.E[6]),d=i+(0,s.CX)(a.E[1]),c=(0,s.CX)(a.E[1]),u=250,p=100},415767:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,N:()=>d});var a=r(294799),s=r(11241),n=r(663403),i=r(327068),o=r(834023);let l=e=>{let t,r,n,i=(0,s.c)(6);i[0]!==e?({children:t,...r}=e,i[0]=e,i[1]=t,i[2]=r):(t=i[1],r=i[2]);let o=u(r);return i[3]!==t||i[4]!==o?(n=(0,a.jsx)(c,{value:o,children:t}),i[3]=t,i[4]=o,i[5]=n):n=i[5],n},d=()=>{let e=(0,o.useContext)(c);if(!e)throw Error("FloatingContext not found");return e},c=(0,o.createContext)(void 0),u=e=>{let t,r,a,l,d,c,u,m,_=(0,s.c)(23),{initiallyOpen:b,open:h,onOpenChange:y}=e;_[0]!==h||_[1]!==b?(t={initialValue:b,value:h},_[0]=h,_[1]=b,_[2]=t):t=_[2];let[v,E]=(0,n.i)(t),[C,A]=(0,o.useState)(null),[T,x]=(0,o.useState)(null);_[3]===Symbol.for("react.memo_cache_sentinel")?(r={},_[3]=r):r=_[3];let[S,R]=(0,o.useState)(r);_[4]===Symbol.for("react.memo_cache_sentinel")?(a={getReferenceProps:p,getFloatingProps:f,getItemProps:g},_[4]=a):a=_[4];let[I,N]=(0,o.useState)(a);_[5]!==y||_[6]!==E?(l=(e,t,r)=>{E(e),y?.(e,r)},_[5]=y,_[6]=E,_[7]=l):l=_[7],_[8]!==T||_[9]!==C?(d={reference:C,floating:T},_[8]=T,_[9]=C,_[10]=d):d=_[10],_[11]!==v||_[12]!==l||_[13]!==d?(c={open:v,onOpenChange:l,elements:d},_[11]=v,_[12]=l,_[13]=d,_[14]=c):c=_[14];let O=(0,i.P7)(c);return _[15]!==T||_[16]!==C?(u={reference:C,floating:T,setReference:A,setFloating:x},_[15]=T,_[16]=C,_[17]=u):u=_[17],_[18]!==O||_[19]!==S||_[20]!==I||_[21]!==u?(m={floatingRootContext:O,open:O.open,setOpen:O.onOpenChange,floatingStyles:S,setFloatingStyles:R,refs:u,propGetters:I,setInteractions:N},_[18]=O,_[19]=S,_[20]=I,_[21]=u,_[22]=m):m=_[22],m};function p(e){return{...e}}function f(e){return{...e}}function g(e){return{...e}}},454545:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var a=r(868208),s=r(646244);let n=(0,a.L)(s.T)},456159:(e,t,r)=>{"use strict";r.d(t,{j:()=>C});var a=r(58699),s=r(584999),n=r(797989),i=r(232412),o=r(682028),l=r(827976),d=r(718670),c=r(219510),u=r(592887),p=r(675908),f=r(987374);r(34268);let g=function(e,t){let r,a=(r=t?.headers??new Headers,{route:"/api/brand/:brand_token/salesforce-owner",service:"backend",url:`/api/brand/${e}/salesforce-owner`,method:"GET",...t,headers:r});return(0,f.E)(a)};var m=r(825759),_=r(406731),b=r.n(_),h=r(834023),y=r(356652),v=r(648803);let{logger:E}
1=u.Vy.getLogger("BRAND_ACQUISITION"),C=()=>{let e=(0,y.W6)(),t=(0,c.z)(),{brandToken:r,existingEmail:u,showBanner:f,email:_,isLoading:C,salesforceOwnerUrl:A,isMarketSectionVisible:T}=(0,d.l)((0,v.k)(e=>({brandToken:e.brandToken,existingEmail:e.existingEmail,showBanner:e.showBanner,email:e.email,isLoading:e.isLoading,salesforceOwnerUrl:e.salesforceOwnerUrl,isMarketSectionVisible:e.isMarketSectionVisible}))),x=(0,d.l)(e=>e.setStore),{isReferral:S,setApplicationStage:R,isM2M:I,retailerTokenFromPath:N,brandTokenOrAlias:O}=(0,i.k)(),{email:k,setEmailAddress:w}=(0,o.e)(),{prefetchedFullBrand:M,getBrand:L}=(0,s.C)(["prefetchedFullBrand","getBrand"]),[P,j]=(0,h.useState)(M),F=n.wc.local.getItem(l.oc),D=(0,h.useCallback)(async e=>{try{let t=await g(e);x({salesforceOwnerUrl:t.account_owner?.calendar_url})}catch(e){E.error(e)}},[x]),B=(0,h.useCallback)(async()=>{let e=r??F;if(e&&!P)try{x({isLoading:!0}),await D(e);let t=await L(e);j(t)}catch(e){E.error(e)}finally{x({isLoading:!1})}},[P,r,D,L,F,x]),H=(0,h.useCallback)(()=>{r&&P&&n.wc.local.setItem(l.oc,r)},[r,P]),G=(0,h.useCallback)(async()=>{await B(),H()},[B,H]),U=(0,h.useMemo)(()=>_||k||u,[_,k,u]),V=(0,h.useCallback)(e=>{x({email:e.target.value})},[x]),K=A??(0,a.G)(),W=!!r&&!!P,Y=!!F||W,$=(0,h.useCallback)(()=>{U&&(w(U),(0,i.H)(I,N,U,O),t({email_address:U}
1),e.replace({...e.location,search:b().stringify({...b().parse(e.location.search),email_address:U})}))},[O,U,e,I,N,w,t]);return{showBanner:f,email:_,brand:P,isLoading:C,salesforceOwnerUrl:A,isMarketSectionVisible:T,handleEmailChange:V,emailAddress:U,calendlyLink:K,init:G,isValidBrandToken:W,isPersonalized:Y,isR2BorB2B:S,goToForm:()=>{p.X.get().recordActionStartTime("brand_onboarding-apply_form"),$(),R(o.A.FORM),e.push((0,m.Ay)(U?{email_address:U}:void 0))},setIsMarketSectionVisible:e=>{x({isMarketSectionVisible:e})},setBanner:e=>{x({showBanner:e})}}}},460290:(e,t,r)=>{"use strict";r.d(t,{S:()=>a});let a="ph-unmask"},497937:(e,t,r)=>{"use strict";r.d(t,{_:()=>n}),r(294799),r(11241);var a=r(834023);let s=(0,a.createContext)({element:null}),n=()=>(0,a.useContext)(s)},501102:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});let a=(e,t)=>{if(void 0===t)return e;let r=s(t);return{top:Math.max(e,r.top),right:Math.max(e,r.right),bottom:Math.max(e,r.bottom),left:Math.max(e,r.left)}},s=e=>"number"==typeof e?{top:e,right:e,bottom:e,left:e}:{top:e.top??0,right:e.right??0,bottom:e.bottom??0,left:e.left??0}},574579:(e,t,r)=>{"use strict";r.d(t,{q:()=>n});var a=r(442462),s=r(858655);function n(e){return(0,a.x)({eventKey:"brand_leads-schedule_a_call-click",realTimeTracking:!0,priority:s.T.Priority.EXTRA_LOW,actionCategory:s.T.ActionCategory.ACTION_CATEGORY_CLICK,parameters:{customParameterToken:e}})}},576373:(e,t,r)=>{"use strict";r.d(t,{wE:()=>o}),r(864668);var a,s,n=r(686737),i=r(73049);(a=s||(s={})).build=e=>e,a.parse=function(e=""){return{..."string"==typeof e?i.parse(e):e??{}}};let o="/brand-portal/brand-onboarding";(0,n.wE)(o,{encode:encodeURIComponent})},584245:(e,t,r)=>{"use strict";r.d(t,{k:()=>a.k});var a=r(320386)},584999:(e,t,r)=>{"use strict";r.d(t,{C:()=>p});var a=r(770168),s=r(718580),n=r(742798),i=r(868208),o=r(1136),l=r(918818),d=r(50344),c=r.n(d);class u{static{this.get=(0,s.hw)(u)}get prefetchedFullBrand(){return this.getPrefetchedBrand()}constructor(){this.getPrefetchedBrand=c()(()=>(0,a.z)("brand"),{maxAge:3e5}),this.cache=new l.E({defaultOptions:{queries:{staleTime:3e5,gcTime:3e5,retry:!1}}}),this.fetchBrand=async e=>{if((0,n.o)()?.token===e)return(0,n.o)();let t=this.getPrefetchedBrand();return t?.token===e?t:await (0,o.Ay)(e)},this.getBrand=async e=>{if(e)return await this.cache.fetchQuery({queryKey:["BrandStore","fetchBrand",e],queryFn:()=>this.fetchBrand(e)})}}}let p=(0,i.L)(u)},593209:(e,t,r)=>{"use strict";r.d(t,{IT:()=>i});var a=r(11241),s=r(1136),n=r(427507);function i(e,t,r,i){let o,l,d,c=(0,a.c)(12);if(c[0]!==e||c[1]!==i||c[2]!==t?(o=function(e,t,r){let{headers:a,...s}=r??{};return[`/api/brand/${e}`,t,s,a?[...a]:[]]}(e,t,i),c[0]=e,c[1]=i,c[2]=t,c[3]=o):o=c[3],c[4]!==e||c[5]!==i||c[6]!==t)l=({signal:r})=>{let a={...i,signal:r};return(0,s.Ay)(e,t,a)},c[4]=e,c[5]=i,c[6]=t,c[7]=l;else l=c[7];return c[8]!==o||c[9]!==l||c[10]!==r?(d={queryKey:o,queryFn:l,...r},c[8]=o,c[9]=l,c[10]=r,c[11]=d):d=c[11],(0,n.useQuery)(d)}},597204:(e,t,r)=>{"use strict";r.d(t,{W:()=>o});var a=r(11241),s=r(327068),n=r(834023),i=r(415767);let o=e=>{let t,r=(0,a.c)(4),{children:o,ref:l,...d}=e,{refs:c,propGetters:u,open:p}=(0,i.N)(),f=(0,n.isValidElement)(o)?o.props?.ref:void 0;r[0]!==f||r[1]!==l||r[2]!==c.setReference?(t=[c.setReference,l,f],r[0]=f,r[1]=l,r[2]=c.setReference,r[3]=t):t=r[3];let g=(0,s.SV)(t);return(0,n.isValidElement)(o)?(0,n.cloneElement)(o,u.getReferenceProps({...d,...o.props,ref:g,"data-state":p?"open":"closed"})):(console.error("PopoverTrigger must have a valid child element"),null)}},607610:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var a=r(442462),s=r(858655);function n(e){return(0,a.x)({eventKey:"brand_leads-apply_to_sell_on_faire-click",realTimeTracking:!0,priority:s.T.Priority.EXTRA_LOW,actionCategory:s.T.ActionCategory.ACTION_CATEGORY_CLICK,parameters:{customParameterToken:e}})}},614094:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>d,wE:()=>o}),r(864668);var a,s,n=r(686737),i=r(73049);(a=s||(s={})).build=e=>e,a.parse=function(e=""){return{..."string"==typeof e?i.parse(e):e??{}}};let o="/apply/r/:retailerTokenSuffix",l=(0,n.wE)(o,{encode:encodeURIComponent}),d=function(e,t){let r=l({retailerTokenSuffix:e}),a=t?i.stringify(t):"";return`${r}${a?`?${a}`:""}`}},626053:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i,u:()=>n});var a=r(123337);let s={acceptedTerms:!1,applicationStage:void 0},{useStore:n,Provider:i}=(0,a.r)(e=>({...s,setStore:t=>{"function"==typeof t?e(e=>({...e,...t(e)})):e(t)}}),()=>({...s,setStore:()=>{}}))},628836:(e,t,r)=>{"use strict";r.d(t,{k:()=>l});
1var a=r(294799),s=r(11241),n=r(168076),i=r(597204),o=r(834023);let l=e=>{let t,r,l,d,c,u,p,f=(0,s.c)(18);if(f[0]!==e?({"aria-label":r,addInteraction:t,dottedUnderline:d,children:l,...c}=e,f[0]=e,f[1]=t,f[2]=r,f[3]=l,f[4]=d,f[5]=c):(t=f[1],r=f[2],l=f[3],d=f[4],c=f[5]),!t&&!d){let e;return f[6]!==l||f[7]!==c?(e=(0,a.jsx)(i.W,{...c,children:l}),f[6]=l,f[7]=c,f[8]=e):e=f[8],e}if(!(0,o.isValidElement)(l))return console.error("TooltipTrigger must have a valid child element"),null;let g=l.props;return f[9]!==t||f[10]!==r||f[11]!==l||f[12]!==g||f[13]!==d?(u=(0,o.cloneElement)(l,{...g,...t?{"aria-label":r,"aria-hidden":!1,role:void 0,tabIndex:0}:{},className:(0,n.cn)(g.className,d&&"fs-tooltip__trigger--dotted-underline")}),f[9]=t,f[10]=r,f[11]=l,f[12]=g,f[13]=d,f[14]=u):u=f[14],f[15]!==c||f[16]!==u?(p=(0,a.jsx)(i.W,{...c,children:u}),f[15]=c,f[16]=u,f[17]=p):p=f[17],p}},659502:(e,t,r)=>{"use strict";r.d(t,{FH:()=>p});var a=r(491020),s=r(248675),n=r(426140),i=r(162080),o=r(201245),l=r(976867);let d=e=>{let t,r;return e instanceof Error&&(t=e.name,r=e.message),!!(r?.includes("Loading CSS chunk")||r?.includes("Network Error")||"ChunkLoadError"===t||r?.includes("An error occurred in the Server Components render"))},c=e=>(t,r)=>{if(d(t)||r?.serverOnly)return;let a={...r??{},level:e,error:{digest:t instanceof Error&&"digest"in t?t.digest:void 0}};(0,i.F)("DD_RUM")?.addError?.(t,a),"fatal"!==e&&"error"!==e||r?.skipPete||(0,l.$)((0,o.xv)(`${t instanceof Error?t.message??"Unknown error":String(t)} 2Stack: ${t instanceof Error?t.stack??"No stack available":"No stack available"}`,0x1000000),"PRODUCT_AREA_UNKNOWN",(0,n.g)()?.pathname??"",(0,i.F)("processingServer"),d(t).toString(),e)};c("fatal");let u=c("error");c("warning"),c("info");let p=(e,t,r,n)=>{if(!e){let e=Error(`${n?`${n}: `:""}${t}`);if(u(e,r??{}),(0,a.I)()||(0,s.Y)())throw e}}},663403:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});var a=r(11241),s=r(834023);function n(e){let t,r,n=(0,a.c)(5),{initialValue:i,value:o,setValue:l}=e,[d,c]=(0,s.useState)(i),u=void 0!==o?o:d;n[0]!==l?(t=e=>{l?.(e),c(e)},n[0]=l,n[1]=t):t=n[1];let p=t;return n[2]!==p||n[3]!==u?(r=[u,p],n[2]=p,n[3]=u,n[4]=r):r=n[4],r}},666215:(e,t,r)=>{"use strict";r.d(t,{K:()=>a});let a=(e,t)=>"middle"!==t&&t?`${e}-${t}`:e},673345:(e,t,r)=>{"use strict";r.d(t,{C:()=>b,n:()=>_});var a=r(294799),s=r(11241),n=r(497937),i=r(415767),o=r(217047),l=r(957710),d=r(501102),c=r(666215),u=r(276610),p=r(327068),f=r(625688),g=r(834023),m=r(411185);let _=e=>{let t,r,_=(0,s.c)(7),{children:b,position:y,alignment:v,hideWhenReferenceHidden:E}=e,C=void 0!==E&&E;_[0]!==v||_[1]!==C||_[2]!==y?(t={position:y,alignment:v,hideWhenReferenceHidden:C},_[0]=v,_[1]=C,_[2]=y,_[3]=t):t=_[3];let A=function({position:e,alignment:t,hideWhenReferenceHidden:r}){let a=(0,g.useRef)(null),{floatingRootContext:s,setFloatingStyles:_}=(0,i.N)(),b=(0,n._)(),h=null!==b.element,y=h&&r,v=(0,g.useMemo)(()=>{let e=(0,o.u)(b),t=h?{...e,padding:(0,d.R)(m.G5,b.padding)}:{},r=[(0,u.cY)({mainAxis:m.aA,alignmentAxis:m.Ew}),(0,u.UU)({fallbackAxisSideDirection:"start",fallbackStrategy:"initialPlacement",padding:m.G5,...t}),(0,u.BN)({padding:m.G5,...t}),(0,u.UE)({element:a})];return y&&r.push((0,u.jD)({...t})),r},[a,b,h,y]),{floatingStyles:E,context:C,middlewareData:A}=(0,p.we)({rootContext:s,placement:(0,c.K)(e,t),whileElementsMounted:f.ll,middleware:v}),T=A.hide?.referenceHidden;return(0,g.useLayoutEffect)(()=>{_({...E,...y?(0,l.D)({referenceHidden:T}):{}})},[y,E,T,_]),(0,g.useMemo)(()=>({arrowRef:a,floatingContext:C,middlewareData:A}),[a,C,A])}(t);return _[4]!==b||_[5]!==A?(r=(0,a.jsx)(h,{value:A,children:b}),_[4]=b,_[5]=A,_[6]=r):r=_[6],r},b=()=>{let e=(0,g.useContext)(h);if(!e)throw Error("PopoverContext not found");return e},h=(0,g.createContext)(void 0)},675696:(e,t,r)=>{"use strict";r.d(t,{X:()=>n});var a=r(442462),s=r(858655);function n(e){return(0,a.x)({eventKey:"brand_leads-brands_page_sign_in-click",realTimeTracking:!1,priority:s.T.Priority.EXTRA_LOW,actionCategory:s.T.ActionCategory.ACTION_CATEGORY_CLICK,parameters:{customParameterToken:e}})}},682028:(e,t,r)=>{"use strict";r.d(t,{A:()=>eh,e:()=>eI});var a,s,n,i,o=r(11241),l=r(63144),d=r(322731),c=r(991181);let u=["MEX","PRI","GTM","CRI","PAN","DOM","SLV","HTI","NIC","BLZ","COL","ARG","PER","CHL","ECU","URY","VEN","BOL","PRY","BRA"];var p=r(296317),f=r(615174),g=r(745274),m=r(852808),_=r(352093),b=r(212012),h=r(426140),y=r(797989),v=r(902390),E=r(442462),C=r(858655),A=r(834023);let T="MAKER_INBOUND_APPLICATION_FORM_DATA",x={country:{isoCode:"",displayName:""}};function S(){let e=y.wc.local.getItem(T);return e?JSON.parse(e):void 0}function R(e){y.wc.local.setItem(T,JSON.stringify(e))}var I=r(93995),N=r(232412),O=r(722944),k=r(987374);r(34268);let w=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brand-onboarding/precollect-data",service:"backend",url:"/api/brand-onboarding/precollect-data",method:"POST",data:e,...t,headers:r});return(0,k.E)(a)};var M=r(798657);function L(e){return w(...e)}let P=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brands-service/brand-onboarding/precollect-data",service:"brands",url:"/api/brands-service/brand-onboarding/precollect-data",method:"POST",data:e,...t,headers:r});return(0,k.E)(a)};function j(e){return P(...e)}var F=r(975081);let D=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brands-service/brand-lead",service:"brands",url:"/api/brands-service/brand-lead",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,k.E)(a)},B=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brand-lead",service:"backend",url:"/api/brand-lead",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,k.E)(a)},H=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brand-lead/validate-email",service:"backend",url:"/api/brand-lead/validate-email",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,k.E)(a)};function G(e){return H(...e)}let U=function(e,t){let r,a=((r=t?.headers??new Headers).has("content-type")||r.set("content-type","application/json"),{route:"/api/brands-service/brand-lead/validate-email",service:"brands",url:"/api/brands-service/brand-lead/validate-email",method:"POST",data:e,doNotLogRequest:!0,...t,headers:r});return(0,k.E)(a)};function V(e){return U(...e)}let K=function(e,t){let r,a=(r=t?.headers??new Headers,{route:"/api/brand-lead/validate-temporary-pos-link-key/:temporary-pos-link-key",service:"backend",url:`/api/brand-lead/validate-temporary-pos-link-key/${e}`,method:"GET",...t,headers:r});return(0,k.E)(a)},W=function(e,t){let r,a=(r=t?.headers??new Headers,{route:"/api/brands-service/brand-lead/validate-temporary-pos-link-key/:temporary-pos-link-key",service:"brands",url:`/api/brands-service/brand-lead/validate-temporary-pos-link-key/${e}`,method:"GET",...t,headers:r});return(0,k.E)(a)};var Y=r(667972);
2function $(e){return(0,E.x)({eventKey:"brand_leads-inbound_brand_apply_redirect-action_unknown",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_OTHER,parameters:{application_stage:e}})}r(864668);var X=r(686737),J=r(73049);(a=n||(n={})).build=e=>e,a.parse=function(e=""){return{..."string"==typeof e?J.parse(e):e??{}}};let z="/apply/markets";(0,X.wE)(z,{encode:encodeURIComponent});var Z=r(592887),q=r(548793),Q=r(675908),ee=r(97013);(i||(i={})).build=e=>({...e??{}});var et=r(576373),er=r(536203),ea=r(138017),es=r(659502),en=r(865162),ei=r.n(en),eo=r(328994),el=r.n(eo),ed=r(40890),ec=r.n(ed),eu=r(811331),ep=r.n(eu),ef=r(356652),eg=r(493026),em=r.n(eg),e_=r(648803);let{logger:eb}=Z.Vy.getLogger("BRAND_ACQUISITION");var eh=((s={})[s.LANDING=0]="LANDING",s[s.FORM=1]="FORM",s[s.WAITLIST=2]="WAITLIST",s[s.UNSUPPORTED_AREA=3]="UNSUPPORTED_AREA",s);let ey=ep()(e=>{e?(0,E.x)({eventKey:"brand_leads-brands_form_mobile_navigation_second_next-click",realTimeTracking:!0,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK}):(0,E.x)({eventKey:"brand_leads-brands_form_desktop_navigation_next-click",realTimeTracking:!0,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})}),ev=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_business_website-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eE=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_business_name-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eC=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_email_address-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eA=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_product_type-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eT=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_desktop_navigation_return-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),ex=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_hear_about_faire-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eS=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_country-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eR=ep()(()=>(0,E.x)({eventKey:"brand_leads-brands_form_number_of_stores-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK})),eI=e=>{var t,a,s,n;let k,w,P,H,U,X,J,Z,en,eo,ed,eu,ep,eg,eh,eI,eL,eP,ej,eF,eD,eB,eH,eG,eU,eV,eK,eW,eY,e$,eX,eJ,ez,eZ,eq,eQ,e1,e0,e2,e4,e3,e7,e6=(0,o.c)(119),e9=(0,F.R)()?D:B,e8=(0,F.R)()?W:K,{url:e5,urlValidationInProgress:te,email:tt,temporaryPosLinkKey:tr,formErrors:ta,apiErrors:ts,companyName:tn,categoryOption:ti,secondaryCategoryOptions:to,country:tl,numProducts:td,stockists:tc,brandLeadToken:tu}=(0,I.u)((0,e_.k)(eN)),tp=(0,I.u)(eO),{referringBrand:tf,referringRetailer:tg,source:tm,isAd:t_,setApplicationStage:tb}=(0,N.k)(),[th,ty]=(0,A.useState)(),{getFormData:tv,setData:tE,clearData:tC}=(eK=(0,o.c)(5),eK[0]===Symbol.for("react.memo_cache_sentinel")?(eH=()=>{S()&&y.wc.local.removeItem(T)},eK[0]=eH):eH=eK[0],eW=eH,eK[1]!==th?(eG=()=>{th&&R(th)},eU=[th,R],eK[1]=th,eK[2]=eG,eK[3]=eU):(eG=eK[2],eU=eK[3]),(0,A.useEffect)(eG,eU),eK[4]===Symbol.for("react.memo_cache_sentinel")?(eV={getFormData:S,setData:R,clearData:eW},eK[4]=eV):eV=eK[4],eV),{retailerCountry:tA}=(0,Y.K)(),{strictLocalize:tT}=(0,g.useStrictLocalization)(),{push:tx}=(0,ef.W6)(),{isMobile:tS}=(0,q.k)(),{mutateAsync:tR}=(eY=(0,F.R)(),t=void 0,(eX=(0,o.c)(2))[0]!==t?(e$={mutationFn:G,...t},eX[0]=t,eX[1]=e$):e$=eX[1],eJ=(0,M.useMutation)(e$),a=void 0,(eZ=(0,o.c)(2))[0]!==a?(ez={mutationFn:V,...a},eZ[0]=a,eZ[1]=ez):ez=eZ[1],eq=(0,M.useMutation)(ez),eY?eq:eJ),{mutate:tI}=(eQ=(0,O.useSetting)("BRANDS_SERVICE_AS_SOURCE_OF_TRUTH_FOR_ONBOARDING_PRECOLLECTED_DATA_260619",!1),s=void 0,(e0=(0,o.c)(2))[0]!==s?(e1={mutationFn:L,...s},e0[0]=s,e0[1]=e1):e1=e0[1],e2=(0,M.useMutation)(e1),n=void 0,(e3=(0,o.c)(2))[0]!==n?(e4={mutationFn:j,...n},e3[0]=n,e3[1]=e4):e4=e3[1],e7=(0,M.useMutation)(e4),eQ?e7:e2);e6[0]!==tv||e6[1]!==tp?(k=()=>{let e=tv();e?tp({url:e.url??"",email:e.email??"",companyName:e.companyName??"",categoryOption:e.categoryOption,secondaryCategoryOptions:new Set,country:e.country??{isoCode:"",displayName:""},numProducts:e.numProducts,stockists:e.stockists}):ty(x)},e6[0]=tv,e6[1]=tp,e6[2]=k):k=e6[2];let tN=k;e6[3]!==tA||e6[4]!==tT?(w=()=>{let e,t=tA??"";return(e=[],(0,c.getSettingValueWithoutAssignment)("BRAND_ADDITIONAL_SUPPORTED_GEOGRAPHIES",[]).forEac
2h(t=>{t.country&&e.push(t.country),t.country_group&&"EUROPE"===t.country_group&&(e=e.concat(Object.values(p.j)))}),r(161818)(e,(0,m.t)(),u).sort()).includes(t)?{isoCode:t,displayName:(0,f.V)(tT)[t]}:{isoCode:t,displayName:tT({id:"aWdClx",defaultMessage:"Other",description:{text:"The option 'other' in a dropdown selection for countries."}})}},e6[3]=tA,e6[4]=tT,e6[5]=w):w=e6[5];let tO=w;e6[6]!==tE?(P=(0,v.V)(e=>tE(e),1e3),e6[6]=tE,e6[7]=P):P=e6[7];let tk=P;e6[8]!==ti||e6[9]!==tn||e6[10]!==tl||e6[11]!==tt||e6[12]!==tv||e6[13]!==td||e6[14]!==tc||e6[15]!==tk||e6[16]!==e5?(H=e=>{let t=tv()??x;Object.assign(t,{url:e5,email:tt,companyName:tn,categoryOption:ti,country:tl,numProducts:td,stockists:tc},e),tl&&(t.country=tl),e?.country&&(t.country=e.country),tk(t)},e6[8]=ti,e6[9]=tn,e6[10]=tl,e6[11]=tt,e6[12]=tv,e6[13]=td,e6[14]=tc,e6[15]=tk,e6[16]=e5,e6[17]=H):H=e6[17];let tw=H;e6[18]!==tp||e6[19]!==tT||e6[20]!==e5?(U=async()=>{tp(ek);let e=await (0,b.S)({value:e5,strictLocalize:tT});return e?(tp(t=>{let r={...t.formErrors};return r.url=e,{formErrors:r,urlValidationInProgress:!1}}),!1):(tp({urlValidationInProgress:!1}),!0)},e6[18]=tp,e6[19]=tT,e6[20]=e5,e6[21]=U):U=e6[21];let tM=U;e6[22]!==tt||e6[23]!==tp||e6[24]!==tT||e6[25]!==tR?(X=async()=>{tp(ew);let e=await tR([{email_address:tt}]);if(!e.is_valid){let t=function({validateEmailData:e,strictLocalize:t}){let r=t({id:"oLpv29",defaultMessage:"Please enter a valid email address"});return e.reason||r}({validateEmailData:e,strictLocalize:tT});return tp(e=>({formErrors:{...e.formErrors,email:t}})),!1}return!0},e6[22]=tt,e6[23]=tp,e6[24]=tT,e6[25]=tR,e6[26]=X):X=e6[26];let tL=X,tP=e5&&!te&&(!ta||!ta.url);e6[27]!==tp||e6[28]!==tw?(J=(e,t)=>{tp(r=>{let a={...r.formErrors};return delete a[e],{formErrors:a,[e]:t}}),tw({[e]:t})},e6[27]=tp,e6[28]=tw,e6[29]=J):J=e6[29];let tj=J;e6[30]!==ts||e6[31]!==ta?(Z=e=>ta[e]||ts[e],e6[30]=ts,e6[31]=ta,e6[32]=Z):Z=e6[32];let tF=Z;e6[33]!==tp||e6[34]!==tw?(en=e=>{tp(t=>{let r={...t.formErrors};return delete r["country.isoCode"],{country:e,formErrors:r}}),tw({country:e})},e6[33]=tp,e6[34]=tw,e6[35]=en):en=e6[35];let tD=en,tB=tl?.isoCode;e6[36]!==tj?(eo=e=>{ev(),tj("url",e.target.value)},e6[36]=tj,e6[37]=eo):eo=e6[37];let tH=eo;e6[38]!==tj?(ed=e=>{tj(e.target.name,e.target.value)},e6[38]=tj,e6[39]=ed):ed=e6[39];let tG=ed;if(e6[40]!==ti?.value||e6[41]!==tT){let e;e6[43]!==ti?.value?(e=e=>e.value===ti?.value,e6[43]=ti?.value,e6[44]=e):e=e6[44],eu=[{label:tT({id:"+XrhWI",defaultMessage:"Home Decor",description:{text:"Category of products that a brand sells"}}),value:"Home Decor",popularity:0,subCategories:[{label:tT({id:"bJ+hBM",defaultMessage:"Bath",description:{text:"Category of products that a brand sells"}}),value:"Bath"},{label:tT({id:"QpFTMk",defaultMessage:"Bedding",description:{text:"Category of products that a brand sells"}}),value:"Bedding"},{label:tT({id:"6LaNB4",defaultMessage:"Candles & Holders",description:{text:"Category of products that a brand sells"}}),value:"Candles & Holders"},{label:tT({id:"JIh7K2",defaultMessage:"Garden & Outdoor",description:{text:"Category of products that a brand sells"}}),value:"Garden & Outdoor"},{label:tT({id:"HNtU8B",defaultMessage:"Home Accents & Fragrances",description:{text:"Category of products that a brand sells"}}),value:"Home Accents & Fragrances"},{label:tT({id:"18mYMC",defaultMessage:"Household Supplies & DIY",description:{text:"Category of products that a brand sells"}}),value:"Household Supplies & DIY"},{label:tT({id:"UV8jNJ",defaultMessage:"Kitchen & Tabletop",description:{text:"Category of products that a brand sells"}}),value:"Kitchen & Tabletop"},{label:tT({id:"OB0U2M",defaultMessage:"Storage & Organization",description:{text:"Category of products that a brand sells"}}),value:"Storage & Organization"},{label:tT({id:"FUeXgR",defaultMessage:"Throw Pillows & Blankets",description:{text:"Category of products that a brand sells"}}),value:"Throw Pillows & Blankets"},{label:tT({id:"aB2whS",defaultMessage:"Wall Decor",description:{text:"Category of products that a brand sells"}}),value:"Wall Decor"}]},{label:tT({id:"9ks2Sf",defaultMessage:"Beauty & Wellness"}),value:"Beauty & Wellness",popularity:2,subCategories:[{label:tT({id:"exkF8h",defaultMessage:"Bath & Body",description:{text:"Category of products that a brand sells"}}),value:"Bath & Body"},{label:tT({id:"aqlbTQ",defaultMessage:"Fitness & Yoga",description:{text:"Category of products that a brand sells"}}),value:"Fitness & Yoga"},{label:tT({id:"daxsVh",defaultMessage:"Fragrance",description:{text:"Category of products that a brand sells"}}),value:"Fragrance"},{label:tT({id:"JYm7Qp",defaultMessage:"Haircare",description:{text:"Category of products that a brand sells"}}),value:"Haircare"},{label:tT({id:"oZwpev",defaultMessage:"Health & Wellness",description:{text:"Category of products that a brand sells"}}),value:"Health & Wellness"}
2,{label:tT({id:"Yf9m/Y",defaultMessage:"Makeup",description:{text:"Category of products that a brand sells"}}),value:"Makeup"},{label:tT({id:"ZFYgkh",defaultMessage:"Menâs grooming",description:{text:"Category of products that a brand sells"}}),value:"Menâs grooming"},{label:tT({id:"iyc8Hf",defaultMessage:"Personal care",description:{text:"Category of products that a brand sells"}}),value:"Personal care"},{label:tT({id:"sr8MCw",defaultMessage:"Skincare",description:{text:"Category of products that a brand sells"}}),value:"Skincare"},{label:tT({id:"PNOW3H",defaultMessage:"Spa & Spiritual",description:{text:"Category of products that a brand sells"}}),value:"Spa & Spiritual"}]},{label:tT({id:"cn2GtC",defaultMessage:"CBD/THC",description:{text:"Category of products that a brand sells"}}),value:"CBD/THC",subCategories:[],popularity:17},{label:tT({id:"39T2UN",defaultMessage:"Food & Drink"}),value:"Food & Drink",popularity:4,subCategories:[{label:tT({id:"5+bXB5",defaultMessage:"Baking and Confections",description:{text:"Category of products that a brand sells"}}),value:"Baking"},{label:tT({id:"6+7pyY",defaultMessage:"Beverages",description:{text:"Category of products that a brand sells"}}),value:"Beverages"},{label:tT({id:"GtkVdm",defaultMessage:"Cereal, Grains, & Pastas",description:{text:"Category of products that a brand sells"}}),value:"Cereal, Grains, & Pastas"},{label:tT({id:"D1OVKd",defaultMessage:"Coffee & Tea",description:{text:"Category of products that a brand sells"}}),value:"Coffee & Tea"},{label:tT({id:"I9Kz2a",defaultMessage:"Condiments & Sauces",description:{text:"Category of products that a brand sells"}}),value:"Condiments & Sauces"},{label:tT({id:"GZ7Nre",defaultMessage:"Dairy & Meats",description:{text:"Category of products that a brand sells"}}),value:"Dairy & Meats"},{label:tT({id:"1eGTPO",defaultMessage:"Food Baskets & Kits",description:{text:"Category of products that a brand sells"}}),value:"Food Baskets & Kits"},{label:tT({id:"9edsq6",defaultMessage:"Jams & Spreads",description:{text:"Category of products that a brand sells"}}),value:"Jams & Spreads"},{label:tT({id:"O5mMJr",defaultMessage:"Snacks",description:{text:"Category of products that a brand sells"}}),value:"Snacks"},{label:tT({id:"be0mGr",defaultMessage:"Wine, Beer & Spirits",description:{text:"Category of products that a brand sells"}}),value:"Wine, Beer & Spirits"}]},{label:tT({id:"xdnkuw",defaultMessage:"Jewelry"}),value:"Jewelry",popularity:11,subCategories:[{label:tT({id:"U6KHs5",defaultMessage:"Body & Jewelry",description:{text:"Category of products that a brand sells"}}),value:"Body & Jewelry"},{label:tT({id:"hzx3ku",defaultMessage:"Bracelets",description:{text:"Category of products that a brand sells"}}),value:"Bracelets"},{label:tT({id:"9k+4dn",defaultMessage:"Brooches",description:{text:"Category of products that a brand sells"}}),value:"Brooches"},{label:tT({id:"/LGp+a",defaultMessage:"Cufflinks & Tie Clips",description:{text:"Category of products that a brand sells"}}),value:"Cufflinks & Tie Clips"},{label:tT({id:"ElhTsX",defaultMessage:"Earrings",description:{text:"Category of products that a brand sells"}}),value:"Earrings"},{label:tT({id:"gdsYKT",defaultMessage:"Jewelry Sets",description:{text:"Category of products that a brand sells"}}),value:"Jewelry Sets"},{label:tT({id:"jCoft8",defaultMessage:"Jewelry Storage & Care",description:{text:"Category of products that a brand sells"}}),value:"Jewelry Storage & Care"},{label:tT({id:"txBGP/",defaultMessage:"Necklaces",description:{text:"Category of products that a brand sells"}}),value:"Necklaces"},{label:tT({id:"Zw164r",defaultMessage:"Rings",description:{text:"Category of products that a brand sells"}}),value:"Rings"},{label:tT({id:"wQRrWV",defaultMessage:"Watches",description:{text:"Category of products that a brand sells"}}),value:"Watches"}]},{label:tT({id:"O3UV9O",defaultMessage:"Kids & Baby - Apparel",description:{text:"Category of products that a brand sells"}}),value:"Kids & Baby - Apparel",popularity:9,subCategories:[]},{label:tT({id:"D8mc4E",defaultMessage:"Kids & Baby - Non-Apparel",description:{text:"Category of products that a brand sells"}}),value:"Kids & Baby - Non-Apparel",popularity:10,subCategories:[{label:tT({id:"WFdWyH",defaultMessage:"Bath & Safety",description:{text:"Category of products that a brand sells"}}),value:"Bath & Safety"},{label:tT({id:"cRP5NO",defaultMessage:"Gear & Essentials",description:{text:"Category of products that a brand sells"}}),value:"Gear & Essentials"},{label:tT({id:"Tk1GxC",defaultMessage:"Maternity",description:{text:"Category of products that a brand sells"}}),value:"Maternity"},{label:tT({id:"e3PBEI",defaultMessage:"Nursery & Decor",description:{text:"Category of products that a brand sells"}}),value:"Nursery & Decor"},{label:tT({id:"Gi+dzJ",defaultMessage:"Paper & Novelty",description:{text:"Category of products that a brand sells"}}),value:"Paper & Novelty"},{label:tT({id:"RMVbSZ",defaultMessage:"Toys & Learning",description:{text:"Category of products that a brand sells"}}),value:"Toys & Learning"}]},{label:tT({id:"DsFXpW",defaultMessage:"Men's Accessories"}),value:"Men's Accessories",popularity:8,subCategories:[]},{label:tT({id:"AQG/Qo",defaultMessage:"Men's Apparel"}),value:"Men's Apparel",popularity:7,subCategories:[]},{label:tT({id:"GJp425",defaultMessage:"Raw Materials",description:{text:"Category of products that a brand sells"}}),value:"Raw Materials",popularity:18,subCategories:[]},{label:tT({id:"zfh1hM",defaultMessage:"Paper & Novelty"}),value:"Paper & Novelty",popularity:13,subCategories:[{label:tT({id:"2qEcPL",defaultMessage:"Books",description:{text:"Category of products that a brand sells"}}),value:"Books"},{label:tT({id:"mBG6QD",defaultMessage:"Crafts & Hobbies",description:{text:"Category of products that a brand sells"}}),value:"Crafts & Hobbies"},{label:tT({id:"rqNqwF",defaultMessage:"Games & Puzzles",description:{text:"Category of products that a brand sells"}}),value:"Games & Puzzles"},{label:tT({id:"W2Tx9M",defaultMessage:"Gift wrapping",description:{text:"Category of products that a brand sells"}}),value:"Gift wrapping"}
2,{label:tT({id:"5QLCNl",defaultMessage:"Greeting cards",description:{text:"Category of products that a brand sells"}}),value:"Greeting cards"},{label:tT({id:"n/raiP",defaultMessage:"Party Supplies",description:{text:"Category of products that a brand sells"}}),value:"Party Supplies"},{label:tT({id:"UibxLW",defaultMessage:"Stationary & writing",description:{text:"Category of products that a brand sells"}}),value:"Stationary & writing"},{label:tT({id:"Ok6vKb",defaultMessage:"Stickers, Pins, Magnets",description:{text:"Category of products that a brand sells"}}),value:"Stickers, Pins, Magnets"}]},{label:tT({id:"JH2EfS",defaultMessage:"Pets"}),value:"Pets",popularity:14,subCategories:[{label:tT({id:"i+XZGK",defaultMessage:"Cats",description:{text:"Category of products that a brand sells"}}),value:"Cats"},{label:tT({id:"ncBTF0",defaultMessage:"Dogs",description:{text:"Category of products that a brand sells"}}),value:"Dogs"},{label:tT({id:"khkzZJ",defaultMessage:"Other pets",description:{text:"Category of products that a brand sells"}}),value:"Other pets"}]},{label:tT({id:"JCPxDM",defaultMessage:"Women's Accessories"}),value:"Women's Accessories",popularity:6,subCategories:[]},{label:tT({id:"DTysey",defaultMessage:"Women's Apparel"}),value:"Women's Apparel",popularity:5,subCategories:[]},{label:tT({id:"/VnDMl",defaultMessage:"Other"}),value:"Other",popularity:19,subCategories:[]}].find(e),e6[40]=ti?.value,e6[41]=tT,e6[42]=eu}else eu=e6[42];let tU=eu;e6[45]!==tc?(ep=!ei()(tc)&&tc<=25,e6[45]=tc,e6[46]=ep):ep=e6[46];let tV=ep&&ti?.value&&!!tU?.subCategories?.length;e6[47]===Symbol.for("react.memo_cache_sentinel")?(eg=(0,ef.B6)((0,d.aA)((0,h.Z)().pathname),{path:(0,d.aA)(z),exact:!0}),e6[47]=eg):eg=e6[47];let tK=eg;e6[48]!==tp||e6[49]!==tT||e6[50]!==tr||e6[51]!==e8?(eh=async()=>{if(tr)switch((await e8(tr)).temporary_pos_link_key_validation_result){case"ALREADY_LINKED":return tp(e=>({apiErrors:{...e.apiErrors,error:tT({id:"IsT8dR",defaultMessage:"Shopify account already linked."})}})),!1;case"NO_POS_LINK_FOUND":case"EMPTY_REQUEST":case"TEMPORARY_POS_LINK_KEY_VALIDATION_RESULT_UNKNOWN":return tp(e=>({apiErrors:{...e.apiErrors,error:tT({id:"EElC25",defaultMessage:"Your link may have expired, please try again from Shopify."})}})),!1}return!0},e6[48]=tp,e6[49]=tT,e6[50]=tr,e6[51]=e8,e6[52]=eh):eh=e6[52];let tW=eh;e6[53]!==ti||e6[54]!==tn||e6[55]!==tl||e6[56]!==tt||e6[57]!==td||e6[58]!==to||e6[59]!==tp||e6[60]!==tc||e6[61]!==tT||e6[62]!==e5||e6[63]!==tL||e6[64]!==tM?(eI=async()=>{let[e,t]=await Promise.all([tL(),tM()]),r=((e,t=!1)=>({email:{presence:{allowEmpty:!1,...t?{message:"^"+e({id:"pnMUF9",defaultMessage:"Enter your business email address",description:{text:"Error message informing the user to input their business email address"}})}:{}},email:!0},companyName:{presence:{allowEmpty:!1,message:e({id:"hR9EAh",defaultMessage:"Enter your brand name",description:{text:"Error message informing the user to input their brand name (refreshed copy)"}})}},numProducts:{presence:{allowEmpty:!1,message:e({id:"FYetZP",defaultMessage:"Select how many products you sell",description:{text:"Error message displayed to the user if they have not selected a value for the number of products they sell (refreshed copy)"}})}},stockists:{presence:{allowEmpty:!1,message:e({id:"V9mhK9",defaultMessage:"Select how many stores you work with",description:{text:"Error message displayed to the user if they have not selected a value for the number of stores they work with (refreshed copy)"}})}},"country.isoCode":{presence:{allowEmpty:!1,message:"^"+e({id:"S4ojik",defaultMessage:"Please select a valid country",description:{text:"An error message displayed to the user if the country that their brand belongs to is not recognized."}})}},categoryOption:{presence:{allowEmpty:!1,message:e({id:"KT8qPd",defaultMessage:"Select a category",description:{text:"Error message informing the user to select their company selling category (refreshed copy)"}})}}}))(tT),a=em()({url:e5,email:tt,companyName:tn,categoryOption:ti,secondaryCategoryOptions:to,country:tl,numProducts:td,stockists:tc},r);a=void 0===a?{}:ec()(a,eM),tp(e=>({formErrors:{...e.formErrors,...a}}));let s=el()(a).length>0,n=e&&t&&!s;if(!n){var i;let r=[];e||r.push("email"),t||r.push("url"),s&&r.push(...el()(a)),r.length>
20&&(i=r.join(","),(0,E.x)({eventKey:"brand_onboarding-trackbrandleadsapplyformvalidationerror-action_category_error",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_ERROR,parameters:{validation_errors:i}}))}return n},e6[53]=ti,e6[54]=tn,e6[55]=tl,e6[56]=tt,e6[57]=td,e6[58]=to,e6[59]=tp,e6[60]=tc,e6[61]=tT,e6[62]=e5,e6[63]=tL,e6[64]=tM,e6[65]=eI):eI=e6[65];let tY=eI;e6[66]!==tC||e6[67]!==t_||e6[68]!==tI||e6[69]!==tx||e6[70]!==tb||e6[71]!==tp?(eL=e=>{let t=e.brand_lead;(0,es.FH)(!!t,"brandLead should always be defined"),(0,es.FH)(!!t.token,"brandLead.token should always be defined"),t.url&&tI([{website_url:t.url}]),tp({brandLeadToken:t.token}),t_?l.bk.publish(t):l.jc.publish(t),tK&&(0,E.x)({eventKey:"brand_leads-brand_sign_up_from_faire_market-click",realTimeTracking:!1,priority:C.T.Priority.EXTRA_LOW,actionCategory:C.T.ActionCategory.ACTION_CATEGORY_CLICK}),y.DT.get().removeItem(_.R),e?.onboarding_params?(tC(),$("onboarding"),tx(`${et.wE}?${e.onboarding_params}`)):(Q.X.get().recordActionStartTime("brand_onboarding-apply_outcome"),e?.is_supported_country===!1?($("unsupported-area"),tb(3)):($("waitlist"),tb(2)))},e6[66]=tC,e6[67]=t_,e6[68]=tI,e6[69]=tx,e6[70]=tb,e6[71]=tp,e6[72]=e
2L):eL=e6[72];let t$=eL;e6[73]!==ti?.value||e6[74]!==tn||e6[75]!==tl?.isoCode||e6[76]!==tt||e6[77]!==t$||e6[78]!==tW||e6[79]!==tS||e6[80]!==td||e6[81]!==tf?.token_alias||e6[82]!==tg?.token||e6[83]!==e||e6[84]!==to||e6[85]!==tp||e6[86]!==tV||e6[87]!==tm||e6[88]!==tc||e6[89]!==tT||e6[90]!==e9||e6[91]!==tr||e6[92]!==e5||e6[93]!==tY?(eP=async t=>{if(t.stopPropagation(),t.preventDefault(),!await tW()||!await tY())return;let r=ti?.value,a={company_name:tn,url:e5,email_address:tt,number_of_stockists:tc,number_of_products:td,referring_brand_token_alias:tf?.token_alias,referring_retailer_token:tg?.token??e,source:tm,primary_category:r,country:tl?.isoCode,secondary_categories:tV?[...to||[]]:[]},s=ee.j.build(a);ey(tS);try{let e=await e9(i.build({brand_lead:s,term_of_service_accepted:!0,temporary_pos_link_key:tr}));e.brand_lead?t$(e):tp({brandLeadCreationFailure:!0})}catch(e){if(tp({brandLeadCreationFailure:!0}),eb.error(e),e instanceof er.x){let t=e.responseData.field?(e=>{switch(e){case"phone_number":return"phone";case"email_address":return"email";default:return e}})(e.responseData.field):"error",r=e.responseData.localized_message||e.responseData.message||"";tp(e=>({apiErrors:{...e.apiErrors,[t]:r}}))}else tp(e=>({apiErrors:{...e.apiErrors,error:(0,ea.u1)(tT,ea.f9.PLEASE_TRY_AGAIN_OR_CONTACT_SUPPORT)}}))}},e6[73]=ti?.value,e6[74]=tn,e6[75]=tl?.isoCode,e6[76]=tt,e6[77]=t$,e6[78]=tW,e6[79]=tS,e6[80]=td,e6[81]=tf?.token_alias,e6[82]=tg?.token,e6[83]=e,e6[84]=to,e6[85]=tp,e6[86]=tV,e6[87]=tm,e6[88]=tc,e6[89]=tT,e6[90]=e9,e6[91]=tr,e6[92]=e5,e6[93]=tY,e6[94]=eP):eP=e6[94],ti?.value,tf?.token_alias,tg?.token,tl?.isoCode;let tX=eP;e6[95]!==tp?(ej=e=>{tp({email:e})},e6[95]=tp,e6[96]=ej):ej=e6[96];let tJ=ej;e6[97]!==tp?(eF=e=>{tp({brandLeadToken:e})},e6[97]=tp,e6[98]=eF):eF=e6[98];let tz=eF;e6[99]!==tp?(eD=e=>{tp({temporaryPosLinkKey:e})},e6[99]=tp,e6[100]=eD):eD=e6[100];let tZ=eD;return e6[101]!==tu||e6[102]!==tB||e6[103]!==tt||e6[104]!==tF||e6[105]!==tO||e6[106]!==tN||e6[107]!==tP||e6[108]!==tG||e6[109]!==tX||e6[110]!==tH||e6[111]!==tU||e6[112]!==tz||e6[113]!==tD||e6[114]!==tJ||e6[115]!==tj||e6[116]!==tZ||e6[117]!==tV?(eB={initializeFormData:tN,onSubmit:tX,getCountryDefaultValue:tO,countryLabel:tB,onUrlBlur:tH,errorFor:tF,isUrlValid:tP,onChange:tG,brandNameEvent:eE,setCountry:tD,emailEvent:eC,categoryEvent:eA,setFormField:tj,returnEvent:eT,sourceEvent:ex,countryEvent:eS,selectedProductCategory:tU,shouldCollectSecondaryProductCategory:tV,numberStoresEvent:eR,email:tt,setEmailAddress:tJ,brandLeadToken:tu,setBrandLeadToken:tz,setTemporaryPosLinkKey:tZ},e6[101]=tu,e6[102]=tB,e6[103]=tt,e6[104]=tF,e6[105]=tO,e6[106]=tN,e6[107]=tP,e6[108]=tG,e6[109]=tX,e6[110]=tH,e6[111]=tU,e6[112]=tz,e6[113]=tD,e6[114]=tJ,e6[115]=tj,e6[116]=tZ,e6[117]=tV,e6[118]=eB):eB=e6[118],eB};function eN(e){return{url:e.url,urlValidationInProgress:e.urlValidationInProgress,email:e.email,temporaryPosLinkKey:e.temporaryPosLinkKey,formErrors:e.formErrors,apiErrors:e.apiErrors,companyName:e.companyName,categoryOption:e.categoryOption,secondaryCategoryOptions:e.secondaryCategoryOptions,country:e.country,numProducts:e.numProducts,stockists:e.stockists,brandLeadToken:e.brandLeadToken}}function eO(e){return e.setStore}function ek(e){let t={...e.formErrors};return delete t.url,{formErrors:t,urlValidationInProgress:!0}}function ew(e){let t={...e.formErrors};return delete t.email,{formErrors:t}}function eM(e){return e[0]}},691500:(e,t,r)=>{"use strict";r.d(t,{W:()=>R});var a=r(294799),s=r(11241),n=r(828833),i=r(151815),o=r(448945),l=r(827976),d=r(456159),c=r(595656),u=r(745274),p=r(667972),f=r(607610),g=r(675696),m=r(574579),_=r(204509),b=r(584245),h=r(440980),y=r(749),v=r(208433),E=r(265514),C=r(594914),A=r(690836),T=r(88004),x=r(916614);r(834023);var S=r(611336);let R=()=>{let e,t,r,n,o,l,c,u=(0,s.c)(25),{showBrandLandingPage:p}=(0,i.j)(),{showBanner:f,isPersonalized:g,calendlyLink:m,emailAddress:b,handleEmailChange:h,goToForm:y,isMarketSectionVisible:v}=(0,d.j)();if(!f)return null;u[0]!==m||u[1]!==p||u[2]!==b||u[3]!==y||u[4]!==h||u[5]!==g?(e=g?(0,a.jsx)(I,{calendlyLink:m,displayFaireMarket:p}):(0,a.jsx)(N,{emailAddress:b,displayFaireMarket:p,handleEmailChange:h,goToForm:y}
2),u[0]=m,u[1]=p,u[2]=b,u[3]=y,u[4]=h,u[5]=g,u[6]=e):e=u[6];let A=e;return u[7]!==p||u[8]!==v?(t=p&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(k,{isMarketSectionVisible:v}),(0,a.jsx)(C.hK,{size:"2x"})]}),u[7]=p,u[8]=v,u[9]=t):t=u[9],u[10]!==A||u[11]!==t?(r=(0,a.jsxs)(E.VP,{children:[t,A]}),u[10]=A,u[11]=t,u[12]=r):r=u[12],u[13]!==p||u[14]!==v?(n=(0,a.jsx)(O,{displayFaireMarket:p,isMarketSectionVisible:v}),u[13]=p,u[14]=v,u[15]=n):n=u[15],u[16]!==A||u[17]!==n?(o=(0,a.jsxs)(D,{align:"center",justify:"space-between",children:[n,A]}),u[16]=A,u[17]=n,u[18]=o):o=u[18],u[19]!==r||u[20]!==o?(l=(0,a.jsx)(_.ResponsiveContentV2,{tabletAndBelow:r,desktopAndAbove:o}),u[19]=r,u[20]=o,u[21]=l):l=u[21],u[22]!==p||u[23]!==l?(c=(0,a.jsx)(L,{$isFaireMarket:p,children:l}),u[22]=p,u[23]=l,u[24]=c):c=u[24],c},I=e=>{let t,r,n,i,o,d,u,p,f=(0,s.c)(12),{calendlyLink:g,displayFaireMarket:m}=e;f[0]===Symbol.for("react.memo_cache_sentinel")?(t={width:"max-content",minWidth:"200px"},f[0]=t):t=f[0],f[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsx)(c.StrictLocalMsg,{id:"FSJRDc",defaultMessage:"Schedule a Call",description:{text:"Have the prospective client schedule a call with a Faire salesperson"}}),f[1]=r):r=f[1],f[2]!==g?(n=(0,a.jsx)(l.A$,{style:t,linkTo:g,target:"_blank",onClick:H,children:r}),f[2]=g,f[3]=n):n=f[3],f[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.jsx)(C.hK,{size:"8x"}),f[4]=i):i=f[4];let _=m?"faireBlack":"white";return f[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,y.Ay)({signIn:"1"}),d=(0,a.jsx)(c.StrictLocalMsg,{id:"Ub+AGc",defaultMessage:"Sign In"}),f[5]=o,f[6]=d):(o=f[5],d=f[6]),f[7]!==_?(u=(0,a.jsx)(v.a,{tertiaryColor:_,onClick:G,linkTo:o,children:d}),f[7]=_,f[8]=u):u=f[8],f[9]!==n||f[10]!==u?(p=(0,a.jsxs)(E.fI,{align:"center",justify:"center",children:[n,i,u]}),f[9]=n,f[10]=u,f[11]=p):p=f[11],p},N=e=>{let t,r,n,i,o,d,g=(0,s.c)(19),{emailAddress:m,displayFaireMarket:_,handleEmailChange:b,goToForm:h}=e,{strictLocalize:y}=(0,u.useStrictLocalization)(),{isEurope:v}=(0,p.K)();g[0]!==h?(t=()=>{(0,f.r)(l.se.STICKY_BANNER),h()},g[0]=h,g[1]=t):t=g[1];let C=t;g[2]!==y?(r=y({id:"AgguvS",defaultMessage:"Email address",description:{text:"Input placeholder. Type in email address in this field"}}),g[2]=y,g[3]=r):r=g[3],g[4]!==_||g[5]!==m||g[6]!==b||g[7]!==r?(n=(0,a.jsx)(P,{children:(0,a.jsx)(j,{placeholder:r,value:m,autoComplete:"email",onChange:b,$isFaireMarket:_})}),g[4]=_,g[5]=m,g[6]=b,g[7]=r,g[8]=n):n=g[8];let A=_?"primary":"secondary";return g[9]!==v?(i=v?(0,a.jsx)(c.StrictLocalMsg,{id:"2ZyTNa",defaultMessage:"Get Started",description:{text:"CTA for prospective brand to get started signing up to sell on Faire"}}):(0,a.jsx)(c.StrictLocalMsg,{id:"X4QC16",defaultMessage:"Start Selling",description:{text:"CTA for prospective brand to get started signing up to sell on Faire"}}),g[9]=v,g[10]=i):i=g[10],g[11]!==_||g[12]!==C||g[13]!==A||g[14]!==i?(o=(0,a.jsx)(F,{onClick:C,variant:A,$isFaireMarket:_,children:i}),g[11]=_,g[12]=C,g[13]=A,g[14]=i,g[15]=o):o=g[15],g[16]!==n||g[17]!==o?(d=(0,a.jsxs)(E.fI,{justify:"center",children:[n,o]}),g[16]=n,g[17]=o,g[18]=d):d=g[18],d},O=e=>{let t,r=(0,s.c)(10),{displayFaireMarket:n,isMarketSectionVisible:i}=e,{isEurope:l}=(0,p.K)(),{marketName:d}=(0,o.J)();if(n){let e,t,s,n;return r[0]!==i?(e=(0,a.jsx)(B,{$isMarketSectionVisible:i}),r[0]=i,r[1]=e):e=r[1],r[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)(C.hK,{width:"4x"}),r[2]=t):t=r[2],r[3]!==d?(s=(0,a.jsx)(x.o5,{variant:"paragraphSansMedium",children:(0,a.jsx)(c.StrictLocalMsg,{id:"l8178n",defaultMessage:"Join Faire in time to sell at {marketEventName}",values:{marketEventName:d}})}),r[3]=d,r[4]=s):s=r[4],r[5]!==e||r[6]!==s?(n=(0,a.jsxs)(E.fI,{align:"center",children:[e,t,s]}),r[5]=e,r[6]=s,r[7]=n):n=r[7],n}if(l){let e;return r[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{variant:"subheadingSansMedium",color:h.iJ.text.primaryInverse,children:(0,a.jsx)(c.StrictLocalMsg,{id:"bslC/A",defaultMessage:"Sell to hundreds of thousands of retailers across Europe and the U.S.",description:{text:"Promotional message imploring brands to join Faire to be able to sell to the large number of retailers on Faire.",img:"https://cdn.faire.com/fastly/a79d452c36396a89225c8978ca1656b17c76ffa96494a0955d2bfa31a0068e71.png"}})}),(0,a.jsx)(C.hK,{width:"20x"})]}),r[8]=e):e=r[8],e}return r[9]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{variant:"subheadingSansMedium",color:h.iJ.text.primaryInverse,children:(0,a.jsx)(c.StrictLocalMsg,{id:"V+jpY5",defaultMessage:"Access hundreds of thousands of retailers around the world",description:{text:"Promotional message imploring brands to join Faire to be able to sell to the large number of retailers on Faire.",img:"https://cdn.faire.com/fastly/2aa3a335a3b25456463744f210c27d33db7801f95211cb43bff2c7949b0450dd.png"}})}),(0,a.jsx)(C.hK,{width:"20x"})]}),r[9]=t):t=r[9],t},k=e=>{let t,r,n,i,l,d,u=(0,s.c)(11),{isMarketSectionVisible:p}=e,{marketName:f}=(0,o.J)();return u[0]!==p?(t=(0,a.jsx)(B,{$isMarketSectionVisible:p}),u[0]=p,u[1]=t):t=u[1],u[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,a.jsx)(C.hK,{width:"4x"}),u[2]=r):r=u[2],u[3]!==f?(n=(0,a.jsx)(x.o5,{variant:"paragraphSansMedium",children:(0,a.jsx)(c.StrictLocalMsg,{id:"l8178n",defaultMessage:"Join Faire in t
2ime to sell at {marketEventName}",values:{marketEventName:f}})}),u[3]=f,u[4]=n):n=u[4],u[5]!==t||u[6]!==n?(i=(0,a.jsxs)(E.fI,{align:"center",children:[t,r,n]}),u[5]=t,u[6]=n,u[7]=i):i=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)(C.hK,{height:"2x"}),u[8]=l):l=u[8],u[9]!==i?(d=(0,a.jsxs)(a.Fragment,{children:[i,l]}),u[9]=i,u[10]=d):d=u[10],d},w=(0,S.Ay)(x.o5).withConfig({componentId:"sc-9ab72db6-0"})(["max-width:600px;"]),M=(0,S.i7)(["0%{top:-","px;}100%{top:0;}"],82),L=S.Ay.nav.withConfig({componentId:"sc-9ab72db6-1"})(["position:fixed;height:fit-content;width:100vw;background-color:",";display:flex;flex-direction:row;align-items:center;justify-content:center;box-shadow:0 1px 2px rgba(0,0,0,0.1);z-index:12;min-height:","px;top:0;animation:"," ","ms ease-in-out 0s;padding:",";","{padding:",";}","{padding:",";}"],({$isFaireMarket:e})=>e?A.r.faireMarket.lightBackground:h.ZL.text.yellow,82,M,300,(0,C.GY)(0,"10x"),T.B.mobile,(0,C.GY)("4x"),T.B.tablet,(0,C.GY)("4x","6x")),P=(0,S.Ay)(E.fI).withConfig({componentId:"sc-9ab72db6-2"})(["width:280px;height:50px;","{width:200px;}"],T.B.tabletAndBelow),j=(0,S.Ay)(b.k).withConfig({componentId:"sc-9ab72db6-3"})(["width:280px !important;height:50px !important;border:1.2px solid "," !important;background:none !important;","{width:200px !important;}","{height:40px !important;margin-top:5px !important;}input{","}&:focus,&:focus-within{","}"],({$isFaireMarket:e})=>e?h.rc.border.default:h.iJ.border.muted,T.B.tabletAndBelow,T.B.mobile,({$isFaireMarket:e})=>e?(0,S.AH)(["color:",";&::placeholder{color:",";}"],h.iJ.text.primary,h.iJ.text.primary):(0,S.AH)(["color:",";&::placeholder{color:",";}"],h.iJ.text.primaryInverse,h.iJ.text.primaryInverse),({$isFaireMarket:e})=>e?(0,S.AH)(["border-color:",";input{&::placeholder{","}}"],h.iJ.text.primary,(0,h.GC)`color: ${"Core.text.primary"};`):(0,S.AH)(["border-color:",";input{&::placeholder{","}}"],h.iJ.border.muted,(0,h.GC)`color: ${"Core.text.primaryInverse"};`)),F=(0,S.Ay)(v.a).withConfig({componentId:"sc-9ab72db6-4"})(["min-width:130px;height:50px;width:max-content;"," ","{min-width:110px;margin-top:5px;width:100%;height:40px;}"],({$isFaireMarket:e})=>e?(0,S.AH)(["color:",";background-color:",";border:1.2px solid ",";"],h.iJ.text.primaryInverse,h.iJ.surface.primaryInverse,h.rc.border.default):(0,S.AH)(["color:",";background-color:",";border:1.2px solid ",";"],h.iJ.text.primary,h.iJ.surface.primary,h.iJ.border.muted),T.B.mobile),D=(0,S.Ay)(E.fI).withConfig({componentId:"sc-9ab72db6-5"})(["width:100%;"]),B=(0,S.Ay)(n.J).attrs({size:"32px"}).withConfig({componentId:"sc-9ab72db6-6"})([""," ","{align-self:start;}"],({$isMarketSectionVisible:e})=>e?(0,S.AH)(["animation:rotation 4s infinite linear;@keyframes rotation{from{transform:rotate(0deg);}to{transform:rotate(359deg);}}"]):null,T.B.mobile);function H(){(0,m.q)(l.se.STICKY_BANNER)}function G(){return(0,g.X)(l.se.STICKY_BANNER)}},712107:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});let a=5},718670:(e,t,r)=>{"use strict";r.d(t,{i:()=>i,l:()=>n});var a=r(123337);let s={brandToken:void 0,existingEmail:void 0,showBanner:!1,email:void 0,brand:void 0,salesforceOwnerUrl:void 0,isLoading:!1,isMarketSectionVisible:!1},{useStore:n,Provider:i}=(0,a.r)(e=>({...s,setStore:t=>{"function"==typeof t?e(e=>({...e,...t(e)})):e(t)}}),()=>({...s,setStore:()=>{}}))},742798:(e,t,r)=>{"use strict";r.d(t,{o:()=>s});var a=r(162080);let s=()=>(0,a.F)("brand")},747757:(e,t,r)=>{"use strict";r.d(t,{A:()=>a.A,_:()=>s._});var a=r(126915),s=r(156764)},776219:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var a=r(294799),s=r(11241),n=r(168076),i=r(911657);r(834023);let o=e=>{let t,r,o,l,d,c,u,p,f=(0,s.c)(16);f[0]!==e?({zIndex:l,style:o,className:t,...r}=e,f[0]=e,f[1]=t,f[2]=r,f[3]=o,f[4]=l):(t=f[1],r=f[2],o=f[3],l=f[4]),f[5]!==l?(d=(0,i.Y)({zIndex:l}),f[5]=l,f[6]=d):d=f[6];let g=d;f[7]!==t?(c=(0,n.cn)("fs-tooltip",t),f[7]=t,f[8]=c):c=f[8];let m=c;return f[9]!==o||f[10]!==g?(u={...g,...o},f[9]=o,f[10]=g,f[11]=u):u=f[11],f[12]!==r||f[13]!==u||f[14]!==m?(p=(0,a.jsx)(i.h,{style:u,...r,className:m}),f[12]=r,f[13]=u,f[14]=m,f[15]=p):p=f[15],p}},794354:(e,t,r)=>{"use strict";r.d(t,{wE:()=>o}),r(864668);var a,s,n=r(686737),i=r(73049);(a=s||(s={})).build=e=>e,a.parse=function(e=""){return{..."string"==typeof e?i.parse(e):e??{}}};let o="/apply/ad";(0,n.wE)(o,{encode:encodeURIComponent})},840536:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});var a=r(201245),s=r(536203);let n=(e,t)=>{let r=t;return e instanceof s.x?r=e.responseData.localized_message||e.responseData.message||r:(0,a.bJ)(e)&&(r=e.message||r),r}},852808:(e,t,r)=>{"use strict";r.d(t,{t:()=>n,J:()=>i});var a=r(991181);let s=["USA","CAN","GBR"],n=()=>(0,a.getSettingValueWithoutAssignment)("SUPPORTED_COUNTRIES",s),i=e=>!!e&&n().includes(e)},854944:(e,t,r)=>{"use strict";r.d(t,{u:()=>function e(t,r){let i=(0,n.u)(r,()=>[]),o=[],l=Object.keys(r),d=Object.values(r);
2return a.Children.forEach(t,t=>{if((0,s.typeOf)(t)===s.Fragment){let[a,s]=e(t.props.children,r);Object.assign(i,a),o.push(...s);return}let a=d.findIndex(e=>(0,n.e)(t,e));if(-1===a)return void o.push(t);let c=l[a];i[c]?.push(t)}),[i,o.filter(Boolean)]}});var a=r(834023),s=r(951167),n=r(346316)},911657:(e,t,r)=>{"use strict";r.d(t,{h:()=>u,Y:()=>g});var a=r(294799),s=r(11241),n=r(505712),i=r(327068);r(834023);var o=r(415767),l=r(411185),d=r(673345);let c=()=>{let e,t,r,n,o=(0,s.c)(11),{arrowRef:c,middlewareData:u,floatingContext:p}=(0,d.C)();o[0]!==u.arrow?.x?(e=u.arrow?.x?{left:u.arrow?.x}:{},o[0]=u.arrow?.x,o[1]=e):e=o[1],o[2]!==u.arrow?.y?(t=u.arrow?.y?{top:u.arrow?.y}:{},o[2]=u.arrow?.y,o[3]=t):t=o[3],o[4]!==e||o[5]!==t?(r={...e,...t},o[4]=e,o[5]=t,o[6]=r):r=o[6];let f=r;return o[7]!==c||o[8]!==f||o[9]!==p?(n=(0,a.jsx)(i.ie,{ref:c,context:p,className:"fs-popover__arrow",width:l.DQ,height:l.KH,tipRadius:l.B8,style:f}),o[7]=c,o[8]=f,o[9]=p,o[10]=n):n=o[10],n},u=e=>{let t,r,n,o=(0,s.c)(7);o[0]!==e?({portaled:t,...r}=e,o[0]=e,o[1]=t,o[2]=r):(t=o[1],r=o[2]);let{floatingContext:l}=(0,d.C)(),{isMounted:c}=(0,i.DL)(l);if(!c)return null;if(t){let e;return o[3]!==r?(e=(0,a.jsx)(i.XF,{children:(0,a.jsx)(p,{...r})}),o[3]=r,o[4]=e):e=o[4],e}return o[5]!==r?(n=(0,a.jsx)(p,{...r}),o[5]=r,o[6]=n):n=o[6],n},p=e=>{let t,r,n,u,p,g,m,_=(0,s.c)(25),{children:b,className:h,ref:y,style:v,trapFocus:E,initialFocus:C,...A}=e,{refs:T,floatingStyles:x,propGetters:S}=(0,o.N)(),{floatingContext:R}=(0,d.C)();_[0]!==y||_[1]!==T.setFloating?(t=[T.setFloating,y],_[0]=y,_[1]=T.setFloating,_[2]=t):t=_[2];let I=(0,i.SV)(t);_[3]===Symbol.for("react.memo_cache_sentinel")?(r={duration:{open:l.Fs,close:l.HE}},_[3]=r):r=_[3];let{styles:N}=(0,i.DL)(R,r);_[4]!==h?(n=f.cls({className:h}),_[4]=h,_[5]=n):n=_[5];let O=n,k=i.s3,w=!E;_[6]!==x||_[7]!==v||_[8]!==N?(u={...x,...N,...v},_[6]=x,_[7]=v,_[8]=N,_[9]=u):u=_[9];let M=S.getFloatingProps(A);return _[10]===Symbol.for("react.memo_cache_sentinel")?(p=(0,a.jsx)(c,{}),_[10]=p):p=_[10],_[11]!==b||_[12]!==O||_[13]!==A||_[14]!==I||_[15]!==u||_[16]!==M?(g=(0,a.jsxs)("div",{...A,className:O,ref:I,style:u,...M,children:[b,p]}),_[11]=b,_[12]=O,_[13]=A,_[14]=I,_[15]=u,_[16]=M,_[17]=g):g=_[17],_[18]!==k||_[19]!==R||_[20]!==C||_[21]!==w||_[22]!==g||_[23]!==E?(m=(0,a.jsx)(k,{context:R,disabled:w,modal:E,initialFocus:C,children:g}),_[18]=k,_[19]=R,_[20]=C,_[21]=w,_[22]=g,_[23]=E,_[24]=m):m=_[24],m},f=(0,n.K)({vars:{zIndex:"fs-popover-z-index"},base:"fs-popover z-(--fs-popover-z-index)"}),g=f.vars},917208:()=>{},957710:(e,t,r)=>{"use strict";r.d(t,{D:()=>a});let a=e=>({visibility:e?.referenceHidden?"hidden":"visible"})},975081:(e,t,r)=>{"use strict";r.d(t,{R:()=>n});var a=r(722944),s=r(50981);let n=()=>(0,a.useSetting)(s.o,!1)},979754:(e,t,r)=>{"use strict";r.d(t,{ChevronDown:()=>c});var a=r(294799);r(834023);var s=r(220770),n=r(634749),i=r(917759);let o=(0,n.w)((0,a.jsx)("path",{d:"M3.04225 8.11267L12.169 16.2253L21.2958 8.11267",stroke:"currentColor",strokeWidth:"1.52113",strokeLinecap:"round"}),"BSRChevronDown",{className:(0,i.W)(),color:s.d.primary,fill:"none",viewBox:"0 0 24 24"});var l=r(187819);let d=(0,n.w)((0,a.jsx)("path",{d:"M3 9L11.5098 17.7899C11.5742 17.8565 11.6506 17.9093 11.7347 17.9454C11.8188 17.9814 11.9089 18 12 18C12.0911 18 12.1812 17.9814 12.2653 17.9454C12.3494 17.9093 12.4258 17.8565 12.4902 17.7899L21 9",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round"}),"ChevronDown",{viewBox:"0 0 24 24",fill:"none",color:s.d.primary,className:(0,i.W)()}),c=(0,l.K)(d,o)},987457:(e,t,r)=>{"use strict";r.d(t,{N:()=>d});var a=r(294799),s=r(11241),n=r(377258),i=r(505712),o=r(680178);r(834023);let l=e=>{let t,r,n,i,l,d=(0,s.c)(13);d[0]!==e?({className:t,linkTo:r,...n}=e,d[0]=e,d[1]=t,d[2]=r,d[3]=n):(t=d[1],r=d[2],n=d[3]),d[4]!==r||d[5]!==n?(i={...n,linkTo:r},d[4]=r,d[5]=n,d[6]=i):i=d[6];let{as:c,linkProps:u}=(0,o.j)(i),p="to"in u?u.to:void 0;return d[7]!==c||d[8]!==t||d[9]!==u||d[10]!==n||d[11]!==p?(l=(0,a.jsx)(c,{...n,...u,to:p,className:t}),d[7]=c,d[8]=t,d[9]=u,d[10]=n,d[11]=p,d[12]=l):l=d[12],l},d=e=>{let t,r,i=(0,s.c)(9),{className:o}=e;i[0]!==o?(t=c.cls({className:(0,n.I$)(o)}),i[0]=o,i[1]=t):t=i[1];let d=t;if(void 0===e.as){let t;return i[2]!==d||i[3]!==e?(t=(0,a.jsx)(l,{"data-component-name":"Slate/Link",...e,className:d}),i[2]=d,i[3]=e,i[4]=t):t=i[4],t}let{as:u}=e;
2return u?(i[5]!==u||i[6]!==d||i[7]!==e?(r=(0,a.jsx)(u,{"data-component-name":"Slate/Link",...e,className:d}),i[5]=u,i[6]=d,i[7]=e,i[8]=r):r=i[8],r):null},c=(0,i.K)({base:["focusable interactive","inline underline underline-offset-[0.25em]","text-inherit"]})}}]); 3//# sourceMappingURL=15487-3e9e4390cc002e16.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.