PageSourceSearch

https://www.article.com/assets/ContentfulArticleProForm.ab097c1f.js

js article.com collected 2026-09-24 08:51:08 UTC 4,664 bytes, 2 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8a9756b9-5315-4546-9836-4b78b78d73a6",e._sentryDebugIdIdentifier="sentry-dbid-8a9756b9-5315-4546-9836-4b78b78d73a6")}catch(B){}import{c7 as e,bZ as t,b_ as r,c5 as o,dS as s,b$ as a,dn as n,cl as i,dM as d,gb as l,ga as u,e0 as g,c9 as c,ca as m,cs as p,cb as b,ce as f,cx as S,d1 as h,d0 as y,cc as T}from"./index.061e774e.js";import{V as I}from"./vue-scrollto.bb23a375.js";import{O as v}from"./StructuredOrganization.8e817ae4.js";import{S as U,T as k,a as D}from"./TradeBusinessStore.e626cd12.js";import{T as _}from"./TradeSignUpForm.1f8fc7b5.js";import{u as A}from"./useDiscount.8c6e057a.js";import"./Divider.e0255c1e.js";import"./Image.00c251a6.js";import"./useRecaptcha.5ede9c07.js";import"./FileUploadService.f8367bfb.js";const j={breadcrumbTitle:"Article Pro",landingPageSlug:"trade-favorites"},w={name:"ContentfulArticleProForm",components:{SignUpSuccessMessage:U,TradeHeader:k,TradeSignUpForm:_,DiscountPopup:t((()=>r((()=>import("./DiscountPopup.95b2d4c5.js")),["assets/DiscountPopup.95b2d4c5.js","assets/DiscountPopup.bedf7804.css","assets/index.061e774e.js","assets/index.db9dbc77.css","assets/useDiscount.8c6e057a.js"])))},props:{heroImageUrl:{type:String,default:""},heroImageAlt:{type:String,default:""},loggedInHeading:{type:String,default:"Join Article Pro."},loggedInSubheading:{type:String,default:'Thanks for signing up for Article Pro. Your discount will automatically be applied at checkout. <br/><br/>To make sure you don’t miss upcoming webinars and early-access events, confirm your email preferences <a href="/account/communication">here</a>.'},nonLoggedInHeading:{type:String,default:"Join Article Pro."},nonLoggedInSubheading:{type:String,default:""},loggedInButtonLabel:{type:String,default:"Start Shopping"},loggedInButtonLink:{type:String,default:"/l/trade-favorites"}},async setup(){var e;o({title:"Article Trade Program",script:[{type:"application/ld+json",children:JSON.stringify(v)}]});const t=s(),r=a(),{user:l,setUser:u}=n(),{discount:g,processUrlDiscount:c}=A(),{mounted:m}=i(),p="trade",b=t.hasModule(p);b||t.registerModule(p,D.initialize({...j}),{preserveState:!1}),d((()=>{b||t.unregisterModule(p)})),await t.dispatch("trade/fetchData");const f=null==(e=r.currentRoute.value.params)?void 0:e.discount;return f&&await c({discountName:f,campaignType:"B2B_TRADE"}),{discount:g,mounted:m,user:l,setUser:u}},data:()=>({formSubmitted:!1}),computed:{...l("trade",["scrollingSpeed"]),isTradeUser(){var e;return null==(e=this.user)?void 0:e.isTrade}},methods:{...u("trade",["fetchData"]),scrollToForm(e){const t=this.formSubmitted?".signup-message-container":".trade-signup-form-container";I.scrollTo(t,this.scrollingSpeed,{offset:e})},onFormSubmission(e){this.setUser(e),setTimeout((()=>{this.formSubmitted=!0,this.$nextTick((()=>{g.isMobileAndSmaller&&this.scrollToForm(-30)}))}),600)},goShoppingUrl(){this.$router.push(this.loggedInButtonLink)}}},F={key:0,class:"trade-signup-page-container container"},L={class:"signed-user-message-container mx-width"},P={class:"signed-message-description"},x=["innerHTML"];var M=e(w,[["render",function(e,t,r,o,s,a){const n=c("TradeHeader"),i=c("SignUpSuccessMessage"),d=c("TradeSignUpForm"),l=c("DiscountPopup");return m(),p("div",null,[o.mounted?(m(),p("div",F,[a.isTradeUser?(m(),b(n,{key:0,image:{url:r.heroImageUrl,alt:r.heroImageAlt},"non-background-color":!0},{"form-or-message":f((()=>[S("div",L,[S("h1",null,h(r.loggedInHeading),1),S("div",P,[S("p",{innerHTML:r.loggedInSubheading},null,8,x)]),S("button",{class:"filled coral",onClick:t[0]||(t[0]=(...e)=>a.goShoppingUrl&&a.goShoppingUrl(...e))},h(r.loggedInButtonLabel),1)])])),_:1},8,["image"])):(m(),b(n,{key:1,image:{url:r.heroImageUrl,alt:r.heroImageAlt},"non-background-color":!0},{"form-or-message":f((()=>[s.formSubmitted?(m(),b(i,{key:0},{"business-type":f((()=>t[1]||(t[1]=[y("Trade",-1)]))),"trade-link-text":f((()=>t[2]||(t[2]=[y("Browse our favorite Trade products.",-1)]))),_:1})):(m(),b(d,{key:1,"b2b-type":"TRADE","existing-member-msg-centered":!1,"white-text-design":!0,onFormSubmitted:a.onFormSubmission},{title:f((()=>
1[y(h(r.nonLoggedInHeading),1)])),description:f((()=>[y(h(r.nonLoggedInSubheading),1)])),"existing-member-msg":f((()=>t[3]||(t[3]=[y(" Already a member? ",-1)]))),_:1},8,["onFormSubmitted"]))])),_:1},8,["image"]))])):T("",!0),o.discount?(m(),b(l,{key:1})):T("",!0)])}]]);export{M as default};
2//# sourceMappingURL=ContentfulArticleProForm.ab097c1f.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.