1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[334],{53613:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(59496);const a=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&""!==e.trim()&&n.indexOf(e)===t)).join(" ").trim();var o={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const s=(0,r.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:c="",children:i,iconNode:l,...d},u)=>(0,r.createElement)("svg",{ref:u,...o,width:t,height:t,stroke:e,strokeWidth:s?24*Number(n)/Number(t):n,className:a("lucide",c),...d},[...l.map((([e,t])=>(0,r.createElement)(e,t))),...Array.isArray(i)?i:[i]]))),c=(e,t)=>{const n=(0,r.forwardRef)((({className:n,...o},c)=>{return(0,r.createElement)(s,{ref:c,iconNode:t,className:a(`lucide-${i=e,i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,n),...o});var i}));return n.displayName=`${e}`,n}},86724:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=(0,n(53613).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},98465:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=(0,n(53613).Z)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},59882:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});const r=(0,n(53613).Z)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},56110:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/checkout/addons",function(){return n(73122)}])},53439:function(e,t,n){"use strict";n.d(t,{p:function(){return c},Sh:function(){return i},BR:function(){return l},vh:function(){return d},cM:function(){return u},oJ:function(){return m},Y7:function(){return p},NW:function(){return f},cv:function(){return g},Ay:function(){return h},wc:function(){return b},Fy:function(){return x},je:function(){return v},Lk:function(){return y},FF:function(){return w},tG:function(){return j},xA:function(){return C}});var r=n(78478);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){a(e,t,n[t])}))}return e}var s=function(e,t){try{window.dataLayer.push(e)}catch(n){(0,r.T)(n,t)}},c=function(e){if(e.transaction_id){var t="upsell_purchase:".concat(e.transaction_id);try{if(sessionStorage.getItem(t))return;sessionStorage.setItem(t,"tracked")}catch(n){}s(o({event:"upsell_purchase"},e,{currency:e.currency.toUpperCase()}),"upsell purchase")}},i=function(){s({event:"Upsell Content Viewed"},"upsell content viewed")},l=function(e){s(o({event:"Upsell Content Tier Changed",tier:"flexible"},e),"upsell content tier changed")},d=function(){s({event:"Upsell Content Tier Cleared"},"upsell content tier cleared")},u=function(e){s(o({event:"Upsell Content Confirm Shown",tier:"flexible"},e),"upsell content confirm shown")},m=function(e){s(o({event:"Upsell Content Confirm Cancelled",tier:"flexible"},e),"upsell content confirm cancelled")},p=function(e){s({event:"Upsell Content Accepted",products:{id:"content",name:"Content Creation",price:e.firstMonth},revenue:e.firstMonth,currency:e.currency,order_id:e.subscriptionId,image_quantity:e.imageQuantity,reel_quantity:e.reelQuantity,scheduling:e.scheduling,total:e.total},"upsell content accepted")},f=function(){s({event:"Upsell Content Declined"},"upsell content declined")},g=function(){s({event:"Upsell Addons Viewed"},"upsell addons viewed")},h=function(e){s({event:"Upsell Addons Toggled",key:e.key,checked:e.checked},"upsell addons toggled")},b=function(e){s({event:"Upsell Addons Accepted",addonIds:e.addonIds,total:e.total,currency:e.currency},"upsell addons accepted")},x=function(e){s(o({event:"Upsell Addons Declined"},(null===e||void 0===e?void 0:e.reason)&&{reason:e.reason},(null===e||void 0===e?void 0:e.currency)&&{currency:e.currency}),"upsell addons declined")}
1,v=function(){s({event:"Upsell Growth Viewed"},"upsell growth viewed")},y=function(){s({event:"Upsell Growth Confirm Shown"},"upsell growth confirm shown")},w=function(){s({event:"Upsell Growth Confirm Cancelled"},"upsell growth confirm cancelled")},j=function(e){s({event:"Upsell Growth Accepted",products:{id:"growth",name:"Premium",price:e.price},revenue:e.price,currency:e.currency,order_id:e.subscriptionId},"upsell growth accepted")},C=function(){s({event:"Upsell Growth Declined"},"upsell growth declined")}},67125:function(e,t,n){"use strict";n.d(t,{V:function(){return s}});var r=n(79839),a=n(45126),o=n(62449);function s(e,t){var n,s,c=t.status,i=null===c||"number"===typeof c&&c>=500,l=null===c?"network_error":c?"http_".concat(c):void 0,d=(0,o.T)({code:null!==(n=t.errorCode)&&void 0!==n?n:l,message:null!==(s=t.message)&&void 0!==s?s:void 0},i?"unconfirmed":"ourSide"),u=d.key,m=d.code,p=d.declineCode,f=d.rawMessage;return r.Z.capture("payment_failed",{error_code:m,decline_code:p,error_message:f,reason:u,stage:e,payment_method:"saved_card"}),"processing"===u||"ourSide"===u||"unconfirmed"===u?a.pF[u].message:a.DN}},3067:function(e,t,n){"use strict";var r=n(4637),a=n(98465);t.Z=function(e){return(0,r.jsx)("div",{className:"flex items-center mb-6",children:(0,r.jsxs)("div",{className:"flex items-center gap-2 text-[12px] font-semibold text-[color:var(--sb-green)]",children:[(0,r.jsx)("span",{className:"inline-flex items-center justify-center w-[18px] h-[18px] rounded-full bg-[color:var(--sb-green)] text-white",children:(0,r.jsx)(a.Z,{size:11,strokeWidth:3})}),"Payment confirmed"]})})}},33790:function(e,t,n){"use strict";n.d(t,{rq:function(){return c},Op:function(){return l},_A:function(){return d},t5:function(){return v},XM:function(){return w}});var r=n(17075),a=n(56605);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){o(e,t,n[t])}))}return e}var c=14,i="Local + National",l={casual:["Very formal","Leaning formal","Balanced","Leaning casual","Very casual"],playful:["Very serious","Leaning serious","Balanced","Leaning playful","Very playful"],highEnd:["Very approachable","Leaning approachable","Balanced","Leaning high-end","Very high-end"],onTrend:["Very timeless","Leaning timeless","Balanced","Leaning on-trend","Very on-trend"]};function d(e,t){return l[e].includes(t)?t:"Balanced"}var u,m,p,f,g,h,b,x,v=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{step:0,instagramName:e,themes:[],campaignGoals:[],captionStyle:"",hashtagUsage:"let_us_decide",casual:"Balanced",playful:"Balanced",highEnd:"Balanced",onTrend:"Balanced",voiceNotes:"",exclusionWords:[],exclusionTopics:[],exclusionNotes:"",brandColours:[],brandColoursDesignerDecide:!1,inspiration:[{clientId:"initial",handle:"",note:""}],gridStyle:"",graphicsStyle:"",colourStyle:"",brandKitFiles:[],brandKitUrls:[],contentUrl:""}},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{recordId:e,step:1,maxCompletedStep:0,dashboardCredentials:"",dashboardPasswordHash:"",contentOnboarding:v(),goals:[],targetNiche:"",targetNicheOther:"",targetAudience:"",targetAccounts:[],targetHashtags:[],targetLocations:[],locationAccuracy:i,targetGender:"",instagramCommentSamples:[],directMessageSamples:[],followingCap:"",growthHistory:"",phoneNumber:"",additionalInfo:"",referralSource:"",disclaimerAccepted:!1}},w=(0,r.Ue)()((0,a.tJ)((0,a.mW)((function(e){return s({},y(),{setRecordId:function(t){return e({recordId:t})},setStep:function(t){return e({step:Math.min(Math.max(Math.trunc(t)||1,1),16)})},setMaxCompletedStep:function(t){return e((function(e){return{maxCompletedStep:Math.max(e.maxCompletedStep,Math.min(Math.max(Math.trunc(t)||0,0),16))}}))},setDashboardCredentials:function(t){return e({dashboardCredentials:t})},updateFields:function(t){return e(t)},setContentOnboardingStep:function(t){return e((function(e){return{contentOnboarding:s({},e.contentOnboarding,{step:Math.min(Math.max(Math.trunc(t)||0,0),c)})}}))},updateContentOnboardingFields:function(t){return e((function(e){return{contentOnboarding:s({},e.contentOnboarding,t)}}))},hydrate:function(t){return e((function(e){return s({},e,t,{step:void 0!==t.step?Math.min(Math.max(Math.trunc(t.step)||1,1),16):e.step,maxCompletedStep:void 0!==t.maxCompletedStep?Math.max(e.maxCompletedStep,Math.min(Math.max(Math.trunc(t.maxCompletedStep)||0,0),16)):e.maxCompletedStep,dashboardCredentials:null!==(u=t.dashboardCredentials)&&void 0!==u?u:e.dashboardCredentials,dashboardPasswordH
1ash:null!==(m=t.dashboardPasswordHash)&&void 0!==m?m:e.dashboardPasswordHash,contentOnboarding:t.contentOnboarding?s({},e.contentOnboarding,t.contentOnboarding,{step:Math.min(Math.max(Math.trunc(t.contentOnboarding.step)||0,0),c)}):e.contentOnboarding,goals:null!==(p=t.goals)&&void 0!==p?p:e.goals,targetAccounts:null!==(f=t.targetAccounts)&&void 0!==f?f:e.targetAccounts,targetHashtags:null!==(g=t.targetHashtags)&&void 0!==g?g:e.targetHashtags,targetLocations:null!==(h=t.targetLocations)&&void 0!==h?h:e.targetLocations,locationAccuracy:t.locationAccuracy||e.locationAccuracy||i,instagramCommentSamples:null!==(b=t.instagramCommentSamples)&&void 0!==b?b:e.instagramCommentSamples,directMessageSamples:null!==(x=t.directMessageSamples)&&void 0!==x?x:e.directMessageSamples})}))},reset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e(y(t))}})})),{name:"onboarding-new-store",storage:(0,a.FL)((function(){return window.sessionStorage})),merge:function(e,t){var n=e&&"object"===typeof e?e:{},r=n.contentOnboarding;return s({},t,n,{contentOnboarding:s({},v(),r,{brandKitFiles:r&&Array.isArray(r.brandKitFiles)?r.brandKitFiles:[]})})},partialize:function(e){return{recordId:e.recordId,step:e.step,maxCompletedStep:e.maxCompletedStep,dashboardCredentials:e.dashboardCredentials,dashboardPasswordHash:e.dashboardPasswordHash,contentOnboarding:e.contentOnboarding,goals:e.goals,targetNiche:e.targetNiche,targetNicheOther:e.targetNicheOther,targetAudience:e.targetAudience,targetAccounts:e.targetAccounts,targetHashtags:e.targetHashtags,targetLocations:e.targetLocations,locationAccuracy:e.locationAccuracy,targetGender:e.targetGender,instagramCommentSamples:e.instagramCommentSamples,directMessageSamples:e.directMessageSamples,followingCap:e.followingCap,growthHistory:e.growthHistory,phoneNumber:e.phoneNumber,additionalInfo:e.additionalInfo,referralSource:e.referralSource,disclaimerAccepted:e.disclaimerAccepted}}}))},73122:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return U},default:function(){return L}});var r=n(17913),a=n.n(r),o=n(4637),s=n(27576),c=n(73861),i=n(59496),l=n(59882),d=n(86724),u=n(89881),m=n(84593),p=n(39329),f=n(76040),g=n.n(f),h=n(98465);var b=function(e){var t=e.addon,n=e.checked,r=e.onToggle,a=e.symbol,s=e.currency,c=e.countryCode,i=(0,m.YO)({currency:s,countryCode:c,period:"mo"});return(0,o.jsxs)("label",{className:"flex gap-3.5 items-start p-5 rounded-2xl cursor-pointer transition-all duration-150",style:{border:n?"2px solid var(--sb-blue)":"2px solid var(--sb-border)",background:n?"var(--sb-blue-50)":"#fff"},children:[(0,o.jsx)("input",{type:"checkbox",checked:n,onChange:r,className:"absolute opacity-0 pointer-events-none"}),(0,o.jsx)("div",{"aria-hidden":"true",className:"w-[22px] h-[22px] rounded-md flex-shrink-0 mt-0.5 flex items-center justify-center text-white transition-all duration-150",style:{border:n?"none":"2px solid var(--sb-border-strong)",background:n?"var(--sb-blue)":"#fff"},children:n?(0,o.jsx)(h.Z,{size:14,strokeWidth:3}):null}),(0,o.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,o.jsxs)("div",{className:"flex justify-between items-baseline gap-2.5",children:[(0,o.jsxs)("div",{className:"text-[15px] font-bold text-[color:var(--sb-fg-1)] flex items-center gap-2",children:[t.name,t.recommended?(0,o.jsx)("span",{className:"text-[10px] font-bold tracking-[0.04em] uppercase px-2 py-px rounded-full",style:{color:"var(--sb-blue)",background:"var(--sb-blue-100)"},children:"Recommended"}):null]}),(0,o.jsxs)("div",{className:"text-[15px] font-bold text-[color:var(--sb-fg-1)] whitespace-nowrap",children:[a,t.price,(0,o.jsx)("span",{className:"text-[13px] font-medium text-[color:var(--sb-fg-3)]",children:i})]})]}),(0,o.jsx)("div",{className:"text-[13px] leading-[1.5] text-[color:var(--sb-fg-2)] mt-1",children:t.desc})]})]})};function x(e){var t=e.label,n=e.value,r=e.subtext;return(0,o.jsxs)("div",{className:"rounded-[14px] p-3.5 border bg-[var(--sb-rail-card-bg)] border-[color:var(--sb-rail-card-border)]",children:[(0,o.jsx)("div",{className:"text-[10px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sb-rail-text-3)]",children:t}),(0,o.jsx)("div",{className:"text-[20px] font-extrabold tracking-[-0.01em] text-[color:var(--sb-rail-text-1)] mt-1.5",children:n}),(0,o.jsx)("div",{className:"text-[11px] text-[color:var(--sb-rail-text-2)] mt-1",children:r})]})}var v=function(){return(0,o.jsx)("aside",{className:"".concat(g().rail," relative overflow-hidden order-2 lg:order-1 bg-sb-navy lg:bg-transparent px-5 py-9 md:px-8 lg:px-20 lg:pt-10 lg:pb-12"),children:(0,o.jsxs)("div",{className:"lg:max-w-[440px] lg:ml-auto flex flex-col gap-7",children:[(0,o.jsx)("img",{src:"/assets/sb-logo-black.svg",alt:"Social Boost",width:140,height:28,className:"".concat(g().wordmark," hidden lg:block h-7 w-auto self-start motion-safe:animate-co-fade-up"),style:{animationDelay:"0ms"}}),(0,o.jsxs)("div",{className:"flex flex-col gap-3 motion-safe:animate-co-fade-up",style:{animationDelay:"80ms"},children:[(0,o.jsx)("div",{className:"text-[11px] font-semibold uppercase tracking-[0.08em] text-[color:var(--sb-rail-text-3)]",children:"The multiplier"}),(0,o.jsxs)("h2",{className:"text-[22px] font-bold leading-[1.25] tracking-[-0.015em] text-white m-0",children:["Engagement is
1what turns"," ",(0,o.jsx)("span",{style:{color:"#7FA0FF"},children:"followers into fans"}),"."]}),(0,o.jsx)("p",{className:"text-[14px] leading-[1.55] text-[color:var(--sb-rail-text-2)] mt-1",children:"Replies, comments, and DMs are what push an account into Instagram's favored algorithms. These small adds compound your growth manager's work."})]}),(0,o.jsxs)("div",{className:"grid grid-cols-2 gap-3 motion-safe:animate-co-fade-up",style:{animationDelay:"160ms"},children:[(0,o.jsx)(x,{label:"Engagement lift",value:"+1.6\xd7",subtext:"avg. with Targeted Comments"}),(0,o.jsx)(x,{label:"DM reply rate",value:"27%",subtext:"on personalized welcomes"})]})]})})},y=n(3067),w=n(71755),j=n(53439);function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var N=[{key:"comments",name:"Targeted Comments",price:14,desc:"We comment on relevant posts in your niche to drive profile visits and boost engagement.",recommended:!0},{key:"dms",name:"DM Your New Followers",price:19,desc:"Personalized welcome DMs that convert new followers into engaged, returning fans."}];var k=function(e){var t,n,r=e.onAccept,a=e.onDecline,s=e.loading,c=void 0!==s&&s,f=e.error,h=void 0===f?null:f,x=e.currency,k=e.countryCode,S=null!==(n=null===(t=u.Z[x.toUpperCase()])||void 0===t?void 0:t.symbol)&&void 0!==n?n:"$",O=(0,i.useState)({comments:!0,dms:!1}),A=O[0],_=O[1];(0,i.useEffect)((function(){(0,j.cv)()}),[]);var M=function(e){c||_((function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){C(e,t,n[t])}))}return e}({},t,C({},e,!t[e]));return(0,j.Ay)({key:e,checked:n[e]}),n}))},P=N.reduce((function(e,t){return e+(A[t.key]?t.price:0)}),0),I=P>0,U=N.map((function(e){return e.key})).filter((function(e){return A[e]}));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.Z,{}),(0,o.jsx)("section",{className:"".concat(g().shell," co-root min-h-screen text-[color:var(--sb-fg-1)]"),children:(0,o.jsxs)("div",{className:"min-h-screen max-w-[1400px] mx-auto flex flex-col lg:grid lg:grid-cols-[1fr_1fr] bg-white lg:bg-transparent",children:[(0,o.jsx)(v,{}),(0,o.jsx)("main",{className:"bg-white flex justify-center lg:justify-start order-1 lg:order-2",children:(0,o.jsxs)("div",{className:"w-full max-w-[520px] px-5 py-8 lg:max-w-[688px] lg:px-20 lg:pt-10 lg:pb-16",children:[(0,o.jsx)(y.Z,{step:3}),(0,o.jsx)("div",{className:"text-[11px] font-bold uppercase tracking-[0.1em] mb-2.5",style:{color:"var(--sb-blue)"},children:"Recommended for your campaign"}),(0,o.jsx)("h1",{className:"text-[24px] md:text-[30px] font-extrabold tracking-[-0.02em] leading-[1.1] text-[color:var(--sb-fg-1)] m-0 mb-2.5",children:"A few additions we think will move your numbers."}),(0,o.jsx)("p",{className:"text-[15px] leading-[1.5] text-[color:var(--sb-fg-2)] m-0",children:"Picked by your growth manager based on your niche. Add what fits \u2014 skip the rest."}),(0,o.jsx)("div",{className:"flex flex-col gap-3 mt-7",children:N.map((function(e){return(0,o.jsx)(b,{addon:e,checked:!!A[e.key],onToggle:function(){return M(e.key)},symbol:S,currency:x,countryCode:k},e.key)}))}),(0,o.jsxs)("div",{className:"mt-5 px-4 py-3.5 rounded-xl flex justify-between items-center transition-all duration-200",style:{background:I?"var(--sb-blue-50)":"var(--sb-bg-2)",border:"1px dashed ".concat(I?"rgba(41,98,255,0.3)":"var(--sb-border)")},children:[(0,o.jsx)("div",{className:"text-[13px] text-[color:var(--sb-fg-2)]",children:I?"Additional monthly charge":"Nothing added \u2014 that's fine too"}),(0,o.jsx)("div",{className:"text-[18px] font-extrabold tracking-[-0.01em]",style:{color:I?"var(--sb-fg-1)":"var(--sb-fg-3)"},children:I?(0,o.jsxs)(o.Fragment,{children:["+",S,P,(0,o.jsx)("span",{className:"text-[13px] font-medium text-[color:var(--sb-fg-3)]",children:(0,m.YO)({currency:x,countryCode:k,period:"mo"})})]}):"\u2014"})]}),(0,o.jsx)("button",{type:"button",onClick:function(){return r(U)},disabled:c,"aria-busy":c,className:"group w-full mt-5 h-14 roun
1ded-2xl border-0 bg-sb-blue text-white text-[16px] font-bold tracking-[-0.01em] flex items-center justify-center gap-2.5 transition-all duration-sb ease-sb shadow-sb-cta transform-gpu ".concat(c?"opacity-60 cursor-not-allowed":"cursor-pointer hover:bg-sb-blue-600 hover:-translate-y-px active:translate-y-0 active:bg-sb-blue-700 motion-safe:active:scale-[0.99]"),children:c?(0,o.jsx)(l.Z,{size:18,strokeWidth:2.4,className:"animate-spin"}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{children:I?"Add to my plan":"Continue to setup"}),(0,o.jsx)(d.Z,{size:16,strokeWidth:2.4,className:"transition-transform duration-sb ease-sb group-hover:translate-x-0.5"})]})}),I?(0,o.jsx)("button",{type:"button",onClick:a,disabled:c,className:"block w-full mt-3.5 bg-transparent rounded-xl py-3.5 px-5 text-[14px] font-semibold text-[color:var(--sb-fg-1)] cursor-pointer transition-all duration-150 hover:bg-[var(--sb-bg-2)] disabled:opacity-60 disabled:cursor-not-allowed disabled:hover:bg-transparent",style:{border:"1px solid var(--sb-border)"},children:"Continue without Addons"}):null,h?(0,o.jsxs)("div",{role:"alert",className:"mt-3 text-[13px] leading-[1.4] text-center",style:{color:"var(--sb-red, #d92d20)"},children:[h,(0,o.jsx)(w.L,{error:h,className:"mx-auto mt-2"})]}):null,(0,o.jsx)("div",{className:"mt-3.5 text-[12px] leading-[1.5] text-[color:var(--sb-fg-3)] text-center",children:"Add-ons bill with your subscription. Remove any time from your dashboard."})]})})]})})]})},S=n(67125),O=n(39111),A=n(12082);function _(e,t,n,r,a,o,s){try{var c=e[o](s),i=c.value}catch(l){return void n(l)}c.done?t(i):Promise.resolve(i).then(r,a)}var M={comments:14,dms:19},P={comments:"Targeted Comments",dms:"DM Your New Followers"},I={comments:"instagramComments",dms:"directMessages"};var U=!0,L=function(e){var t=e.customerId,n=e.rId,r=e.currency,l=e.countryCode,d=(0,c.useRouter)(),u=(0,i.useState)(!1),m=u[0],p=u[1],f=(0,i.useState)(null),g=f[0],h=f[1],b=(0,i.useRef)(!1);(0,A.Z)();var x=function(){var e,o=(e=a().mark((function e(o){var s,c,i;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!b.current){e.next=2;break}return e.abrupt("return");case 2:if(0!==o.length){e.next=6;break}return(0,j.Fy)({reason:"empty",currency:r}),d.push({pathname:"/getstarted",query:d.query}),e.abrupt("return");case 6:return b.current=!0,p(!0),h(null),c=o.reduce((function(e,t){return e+(null!==(s=M[t])&&void 0!==s?s:0)}),0),e.prev=11,e.next=14,O.Z.processAddons(t,n,r.toLowerCase(),{instagramComments:o.includes("comments"),directMessages:o.includes("dms"),expertTargetingReview:!1,expertContentReview:!1,captionsAndHashtags:!1,contentCreation:!1,tiktokGrowth:!1});case 14:if(!(null===(i=e.sent)||void 0===i?void 0:i.success)){e.
1next=20;break}return(0,j.wc)({addonIds:o,total:c,currency:r}),o.forEach((function(e){var t,n=null===(t=i.itemPriceIds)||void 0===t?void 0:t[I[e]];i.subscriptionId&&n&&(0,j.p)({transaction_id:"".concat(i.subscriptionId,"-").concat(n),value:M[e],currency:r,upsell_type:"growth_addon",item_name:P[e],item_id:n,quantity:1})})),d.push({pathname:"/getstarted",query:d.query}),e.abrupt("return");case 20:h((0,S.V)("addons_upsell",null!==i&&void 0!==i?i:{})),e.next=27;break;case 23:e.prev=23,e.t0=e.catch(11),console.error("Addons upsell accept failed",e.t0),h((0,S.V)("addons_upsell",{message:(a=e.t0,l=Error,(null!=l&&"undefined"!==typeof Symbol&&l[Symbol.hasInstance]?l[Symbol.hasInstance](a):a instanceof l)?e.t0.message:String(e.t0)),status:null}));case 27:return e.prev=27,b.current=!1,p(!1),e.finish(27);case 31:case"end":return e.stop()}var a,l}),e,null,[[11,23,27,31]])})),function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function s(e){_(o,r,a,s,c,"next",e)}function c(e){_(o,r,a,s,c,"throw",e)}s(void 0)}))});return function(e){return o.apply(this,arguments)}}();return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(s.default,{children:[(0,o.jsx)("title",{children:"Almost done \xb7 Social Boost"}),(0,o.jsx)("meta",{name:"robots",content:"noindex,nofollow"}),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"})]}),(0,o.jsx)(k,{onAccept:x,onDecline:function(){m||((0,j.Fy)(),d.push({pathname:"/getstarted",query:d.query}))},loading:m,error:g,currency:r,countryCode:l})]})}},9864:function(e,t,n){"use strict";var r,a,o;n.d(t,{g:function(){return r}}),o=r||(r={}),(a=o.Step||(o.Step={})).SIGN_UP="SIGN_UP",a.CHECKOUT="CHECKOUT"}},function(e){e.O(0,[3497,9111,2854,9774,2888,179],(function(){return t=56110,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.