PageSourceSearch

https://trafficadbar.com/assets/prot-upgrade-a8d0dcdc6da435c27087.js

js trafficadbar.com collected 2026-10-03 21:40:25 UTC 52,208 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]="f7507906-1846-41d8-ab25-53a1d50642b1",e._sentryDebugIdIdentifier="sentry-dbid-f7507906-1846-41d8-ab25-53a1d50642b1")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"76168bea670fe0770ad94c5491ab154f8a961165"};(self.webpackChunk=self.webpackChunk||[]).push([[8611],{2850:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>y});var r=n(69873),a=n(54152),l=n(41623),o=n(17675),c=n(61326);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,b(r.key),r)}}function m(e,t,n){return t=d(t),function(e,t){if(t&&("object"==s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}function p(e,t,n){return(t=b(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}const y=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(e=m(this,t),"convert_commission",function(e){l.A.post("/data/commission",{pkg:e}).then(function(e){e.success&&(document.location="/website_traffic/home")})}),e.state=p(p({balance_not_paid:0,earnings_multiplier:1,earnings_this_month:0,loaded:!1},"balance_not_paid",0),"useCommission",0),e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),n=t,(s=[{key:"componentDidMount",value:function(){var e=this;l.A.get("/data/commission").then(function(t){if(!e.unmounted&&t.rufP){var n=[],r=t.earnings.balance_not_paid;if(r>0&&(0,c.A)()<1)for(var a in{50:0,100:0,200:0}){var l=(Math.floor(30*r/t.pro_costs[a].USD[0])+1)*t.earnings.multiplier;n.push({days:l,type:t.pro_packages[a],img:t.pro_packages[a].replace(/ /,"_").toLowerCase(),pkg:a})}e.setState({balance_not_paid:r,earnings_multiplier:t.earnings_multiplier,earnings_this_month:t.earnings.commission_this_month,loaded:!0,trans:t.trans,useCommission:n})}})}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"render",value:function(){var e=this,t=this.state,n=t.balance_not_paid,l=t.earnings_multiplier,c=t.earnings_this_month,s=t.loaded,i=t.trans,m=t.useCommission;if(!s)return r.createElement(o.A,null);var u=n>0&&l>1;return r.createElement("div",null,r.createElement("h1",null,"Commission"),!1,r.createElement("div",{style:{maxWidth:"600px"},className:"text-center mx-auto"},"Did you know that you can earn money by referring people who"," ",r.createElement(a.N_,{to:"/website_traffic/home/upgrade"},"upgrade")," to Traffic Ad Bar?",r.createElement("br",null),r.createElement("br",null),"Referring is simple"," ",r.createElement(a.N_,{to:"/website_traffic/home/referring"},"click here")," to find out how.",r.createElement("div",{className:"text-left mt-4 mb-4"},r.createElement("h3",null,"Total earnings")),r.createElement("span",{style:{fontSize:"20px"}},"Your total Traffic Ad Bar commission balance not paid $",n),m.length>0&&r.createElement("div",null,r.createElement("div",{className:"text-left mt-4 mb-4"},r.createElement("h3",null,"Upgrade using your earnings")),r.createElement("div",{id:"use_commission"},r.createElement("div",{style:{fontSize:"20px",maxWidth:"600px"},className:"mx-auto"},r.createElement("div",null,"You can use your commission to upgrade your account.",r.createElement("br",null),r.createElement("br",null),"You have $",n," that you can convert.",r.createElement("br",null),r.createElement("br",null),"This will buy you:",r.createElement("br",null),r.createElement("br",null)),m.map(function(t,n){return r.createElement("div",{key:n,className:"row",style:{marginBottom:"10px"}},r.createElement("div",{className:"col-12 col-sm-8"},u?r.createElement("span",null,r.createElement("span",{style:{textDecoration:"line-through"}},t.days/l)," ",r.createElement("span",{style:{fontSize:"1.2em",color:"#ac0101"}},t.days)):r.createElement("span",null,t.days)," ","day",1==t.days?"":"s"," as a ",t.type," member."),r.createElement("div",{className:"col-12 col-sm-4 text-center"},r.createElement("span",{onClick:function(){return e.convert_commission(t.pkg)}},r.createElement("img",{src:"/images/upgrades/"+t.img+".gif"}))))})))),r.createElement("div",null,r.createElement("div",{className:"text-left mt-3 mb-3"},r.createElement("h3",null,"Transactions")),r.createElement("br",null),r.createElement("br",null),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-3"},"Date"),r.createElement("div",{className:"col-6"},"Description"),r.createElement("div",{className:"col-3"},"Amount")),i.map(function(e){return r.createElement("div",{className:"row",style:{margin:"2px auto"}},r.createElement("div",{className:"col-3"},e.d),r.createElement("div",{className:"col-6"},e.description),r.createElement("div",{className:"col-3"},"$",e.amount))}),r.createElement("br",null),r.createElement("br",null),r.createElement("br",null),r.createElement("div",{className:"row"},r.createElement("div",{className:"col-3"}," "),r.createElement("div",{className:"col-6"},"Commission so far this month"),r.createElement("div",{className:"col-3"},"$ ",c)))))}}])&&i(n.prototype,s),u&&i(n,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,s,u}(r.Component)}
1,13272:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>_});var r=n(69873),a=n(14981),l=n.n(a),o=n(41623),c=n(17675),s=n(75170),i=n(54843),m=n(26583),u=n(39877);function d(e){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d(e)}function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach(function(t){v(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,w(r.key),r)}}function y(e,t,n){return t=E(t),function(e,t){if(t&&("object"==d(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,n||[],E(e).constructor):t.apply(e,n))}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function g(e,t){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},g(e,t)}function v(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function w(e){var t=function(e,t){if("object"!=d(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=d(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==d(t)?t:t+""}var j={"Website Traffic":[{label:"You have enough website traffic.",value:1},{label:"You would like more website traffic.",value:2},{label:"You want every visitor you can get.",value:3}],"Earning Commission":[{label:"You are not interested in commission.",value:1},{label:"You want to earn commission.",value:2},{label:"You want to earn lots of commission.",value:3}],Money:[{label:"You don't have much money.",value:1},{label:"You will pay for a great service.",value:2},{label:"Money is no problem.",value:3}]},_=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),v(e=y(this,t),"currency",function(){switch(e.state.currency.value){case"USD":return r.createElement("span",null,"$");case"EUR":return r.createElement("span",null,"€");case"GBP":return r.createElement("span",null,"£")}}),v(e,"getPricing",function(t){var n=e.state,a=n.data,l=n.currency.value,o=e.isThereDiscount(t);if(!a.pro_costs[t])return{message:"",month:{topComponent:e.getPricingComponent(t,"Month",o,"top")},year:{topComponent:""}};var c=a.pro_costs[t][l],s={message:"",month:{now:c[0],recurring:c[0],topComponent:"",bottomComponent:""},year:{now:c[1],recurring:c[1],topComponent:"",bottomComponent:""}};return o.month.discount>0&&(s.message=r.createElement("div",{className:"text-danger text-center"},r.createElement("div",{style:{fontSize:"2.4em"}},"Including ",r.createElement("u",null,o.month.discount,"%")," discount"),"on the first month if you upgrade today.",r.createElement("h1",null,r.createElement("u",null,"PLUS"))),s.month.now=(100-o.month.discount)/100*c[0]),s.month.topComponent=e.getPricingComponent(t,"Month",o,"top"),s.year.topComponent=e.getPricingComponent(t,"Year",o,"top"),s.month.bottomComponent=e.getPricingComponent(t,"Month",o,"bottom"),s.year.bottomComponent=e.getPricingComponent(t,"Year",o,"bottom"),s}),v(e,"changeCurrency",function(t){e.setState({currency:t})}),v(e,"upgradeNow",function(t,n,a){var l=e.state;(0,i.default)({id:"selectPaymentOption",header:"Select Payment Option",body:r.createElement(m.A,{currency:l.currency.value,pkg:t,pricing:a,term:n})})}),v(e,"changePackageSelector",function(t,n){e.setState(function(e){return e.packageselector[t]=n,e},function(){e.select_package()})}),v(e,"calc_comm",function(){for(var t=e.state,n=t.data,a=(n.currencies.symbols,[t.packageselector[3],t.packageselector[4],t.packageselector[5]]),l=(e.currency(),0);l<3;l++)a[l]||(a[l]=0),a[l]=parseFloat(a[l]);for(var o=[0,0,0],c=[50,100,200],s=0;s<3;s++)for(var m in c){var u=c[s],d=c[m];if(n.pro_costs[d]&&n.commission_percs[u]){var f=a[m]*n.pro_costs[d].USD[0]
1*n.commission_percs[u][d]/100;o[s]+=parseFloat(f.toFixed(2))}}var p=["","",""];(0,i.default)({id:"recommendedPackage",header:"Estimated Commission",body:r.createElement("div",null,r.createElement("span",{style:{fontSize:"1.4em"}},"Based on the numbers you entered, you would earn the following commission if you upgraded.",r.createElement("br",null),r.createElement("span",{className:"text-danger"},r.createElement("b",null,r.createElement("div",{className:"text-center"},r.createElement("div",{style:{fontSize:"1.4em"},className:"text-danger"},"Total commission"),"As a ",n.package_names[50]," member",r.createElement("br",null),"$",o[0].toFixed(2)+p[0],r.createElement("br",null),r.createElement("br",null),"As a ",n.package_names[100]," member",r.createElement("br",null),"$",o[1].toFixed(2)+p[1],r.createElement("br",null),r.createElement("br",null),"As a ",n.package_names[200]," member",r.createElement("br",null),"$",o[2].toFixed(2)+p[2],r.createElement("br",null),r.createElement("br",null),r.createElement("span",{className:"text-danger"},r.createElement("b",null,"Every month")))))))})}),v(e,"select_package",function(){var t,n=e.state,a=n.data,l=n.packageselector[1]&&n.packageselector[1].value,o=n.packageselector[0]&&n.packageselector[0].value,c=n.packageselector[2]&&n.packageselector[2].value;if(l>0&&o>=0&&c>0){var s=0;1==c?(t=50,s=l<o?0:1):2==c?(t=100,s=l<o?2:3):(t=200,s=l<o?4:5);var m=a.package_names,u=[m[50]+" earns you more points which will boost your websites up the level ladder.",m[50]+" pays commission on all levels and is a great starter for someone who wants to earn money.",m[100]+" multiplies every point you earn from viewing websites to boost you up the level ladder. It also pays you good commission for referring members.",m[100]+" pays you big commission for referring people across all packages. It also gives you lots of extra points to boost your websites up the level ladder.",m[200]+" multiplies your points up so you can charge towards the top of the level ladder. It also offers the largest commissions across all the packages for those people that want to earn some commission as well.",m[200]+" offers the largest commissions across all the packages. This is ideal for someone that wants to earn big commissions from referring lots of members"];(0,i.default)({id:"recommendedPackage",header:"Recommended Package",body:r.createElement("div",null,r.createElement("span",{style:{fontSize:"1.4em"}},"We recommend",r.createElement("br",null),r.createElement("span",{className:"text-danger"},r.createElement("b",null,m[t]))),r.createElement("br",null),r.createElement("br",null),u[s])})}}),e.state={data:{},items:{},loaded:!1,prices:{},currency:{},currencies:[],packageselector:[null,null,null,12,7,4]},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&g(e,t)}(t,e),n=t,a=[{key:"componentDidMount",value:function(){var e=this;if("https:"==window.location.protocol||window.location.href.match(/http:\/\/stage.trafficadbar/)||window.location.href.match(/http:\/\/trafficadbar.test/)||window.location.href.match(/http:\/\/data.trafficadbar.test/))o.A.get("/data/upgrade").then(function(t){!e.unmounted&&t.rufP&&e.setState({data:t},function(){e.getComparisonData()})});else{var t="https:"+window.location.href.substring(window.location.protocol.length);location.href=t}}},{key:"componentWillUnmount",value:function(){this.unmounted=!0}},{key:"numberWithCommas",value:function(e){if(!e)return 0;e=e.toString();for(var t=/(-?\d+)(\d{3})/;t.test(e);)e=e.replace(t,"$1,$2");return e}},{key:"getComparisonData",value:function(){var e=this.state.data,t=e.points,n=e.pro_factors;for(var a in t.f_every_3_days=[],t.f_email_link=[],t.f_email_link_other=[],t.f_manual_link=[],e.package_names)t.f_every_3_days[a]=t.every_3days[a]?[this.numberWithCommas(10*t.every_3days[a])]:["None"],t.f_email_link[a]=r.createElement("span",null,"Up to",r.createElement("span",{className:"upgrade_item_link_break"}
1),r.createElement("b",null,t.email_link[1]*n[a][1])),t.f_email_link_other[a]=r.createElement("span",null,"Up to",r.createElement("span",{className:"upgrade_item_link_break"}),r.createElement("b",null,t.email_link[1]*n[a][0])),t.f_manual_link[a]=r.createElement("span",null,"Up to",r.createElement("span",{className:"upgrade_item_link_break"}),r.createElement("b",null,t.manual_link[1]*n[a][1]));var l,o=[[r.createElement("span",null,r.createElement("div",{className:"text-danger"},r.createElement("b",null,"Primary URL")),"Daily email links"),t.f_email_link,{height:52,item_col_class:"text-center"}],[r.createElement("span",null,r.createElement("div",{className:"text-danger"},"Other URL points"),"Daily email links"),t.f_email_link_other,{height:52,item_col_class:"text-center"}],["General surfing",t.f_manual_link,{height:52,item_col_class:"text-center"}],["Number of URLs listed",t.number_urls,{item_col_class:"font-weight-bold"}],["Guaranteed visitors",t.guaranteed_visitors,{number_format:!0,backgroundColor:"#ffff00"}],["Bonus points per month",t.f_every_3_days,{backgroundColor:"#ffff00",height:52}],[r.createElement("span",null,"Support"),t.service_levels],[r.createElement("span",null,"Priority on Ad Bar"),t.service_levels],[r.createElement("b",{name:"p",className:"text-danger"},"Your profile in rotator"),t.service_levels,{item_col_class:"font-weight-bold",backgroundColor:"#ffff00"}],[r.createElement("b",{className:"text-danger"},"Banners"),t.number_banners,{item_col_class:"font-weight-bold",backgroundColor:"#ffff00"}],[r.createElement("b",{className:"text-danger"},"Advanced Stats"),t.advanced_stats,{item_col_class:"font-weight-bold",backgroundColor:"#ffff00"}],[r.createElement("b",{className:"text-danger"},"Detailed Stats"),t.detailed_stats,{item_col_class:"font-weight-bold",backgroundColor:"#ffff00"}]],c=Object.keys(e.currencies.symbols).map(function(t){var n={label:t,value:t};return t==e.currency&&(l=n),n});this.setState({items:o,loaded:!0,currency:l,currencies:c})}},{key:"isThereDiscount",value:function(e){var t=this.state.data.discount,n={month:{discount:0,trialDiscount:!1,lifetimeDiscount:!1},year:{discount:0,trialDiscount:!1,lifetimeDiscount:!1}};return t&&t.trial_discount>0&&(n.month.trialDiscount=!0,n.month.discount=t.trial_discount),t&&t.trial_discount>0&&(n.month.trialDiscount=!0,n.month.lifetimeDiscount=t.lifetime_discount),n}},{key:"getPricingComponent",value:function(e,t,n,a){var l,o=this.state,c=o.data,s=o.currency.value,i="90px";if(n.month.trialDiscount&&("top"==a&&(i="214px"),"bottom"==a&&(i="110px")),e>1){if(l=c.pro_costs[e][s],"Month"==t&&n.month.trialDiscount){var m=(100-n.month.discount)/100;return r.createElement("div",{className:"text-center",style:{height:i,position:"relative"}},r.createElement("div",{className:"background-yellow text-dark mx-auto",style:{width:"90%"}},r.createElement("b",null,"First month",r.createElement("br",null),r.createElement("span",null,this.currency(),(m*l["Month"==t?0:1]).toFixed(2)))),r.createElement("div",{style:{fontSize:"16px",lineHeight:"20px"}},"then",r.createElement("br",null),r.createElement("span",null,r.createElement("b",null,this.currency(),l["Month"==t?0:1]),r.createElement("div",{style:{fontSize:"12px",lineHeight:"14px"}},"Per ",t))))}}else if(e<1)return r.createElement("div",{style:{height:i}},-1==e&&this.chooseCurrency());return r.createElement("div",{style:{height:i}},this.currency(),l["Month"==t?0:1],r.createElement("div",{className:"lm-item-price-smaller"},"Per ",t))}},{key:"chooseCurrency",value:function(){var e=this.state;return r.createElement("div",{className:"text-center ml-2 mr-2",style:{fontSize:"16px",lineHeight:"1.5rem"}},"Choose Currency",r.createElement(s.default,{options:e.currencies,onChange:this.changeCurrency,value:e.currency,placeholder:"Select Currency",className:"text-left mt-2",styles:{option:function(e,t){return p(p({},e),{},{borderBottom:"1px dotted pink",color:t.isSelected?"#ffffff":"#000000",backgroundColor:t.isSelected?"#ac0101":"#fff"})},menuList1:function(){return{}}}}))}},{key:"drawCol",value:function(e){var t=this,n=this.state,a=n.data,o=(a.pro_costs[e],a.currency,n.items),c="col-4",s=this.getPricing(e);switch(parseFloat(e)){case-1:case 0:c=""}return r.createElement("div",{className:l()("lm-outer",c),key:e},r.createElement("div",{className:l()("lm-item","lm-item-pkg"+e)},100==e&&r.createElement("div",{className:"ribbon-wrapper-red"},r.createElement("div",{className:"ribbon-red"},"Popular")),r.createElement("div",{className:"lm-item-top pb-2"},r.createElement("span",{className:"lm-item-title lm-underline"},a.package_names[e]||"Compare"),r.createElement("div",{className:"lm-item-price"},s.month.topComponent)),r.createElement("div",{className:"lm-item-body"},r.createElement("div",{className:"lm-item-desc"},r.createElement("div",{className:"lm-item-desc-background"},r.createElement("strong",null,a.points.guaranteed_visitors[e]&&"None"!==a.points.guaranteed_visitors[e]?"GUARANTEED HITS":r.createElement("span",null," ")),r.createElement("p",{className:"h3 text-danger"},a.points.guaranteed_visitors[e]&&"None"!==a.points.guaranteed_visitors[e]?this.numberWithCommas(a.points.guaranteed_visitors[e]):r.createElement("span",null," ")))),r.createElement("ul",{className:"lm-item-list"},o.map(function(n,a){var o=26;if(n[2]&&n[2].height&&(o=n[2].height),o+=20,o+="px",-1===e)return r.createElement("li",{style:{height:o,backgroundColor:n[2]&&n[2].backgroundColor?n[2].backgroundColor:"#ffffff"},key:a},r.createElement("div",{className:"feature-feature"},n[0]));var c=n[1][e];return n[2]&&n[2].number_format&&(c=t.numberWithCommas(c)),"0"!==c&&0!==c&&"None"!=c&&"Regular"!=c||(c=""),c.push||(c=[c]),r.createElement("li",{style:{height:o,backgroundColor:n[2]&&n[2].backgroundColor?n[2].backgroundColor:"#ffffff"},key:a,className:n[2]&&n[2].item_row_class},r.createElement("div",{className:"feature-feature"},n[0]),r.createElement("div",{className:"feature-value-container"},c.map(function(t,a){return r.createElement("div",{key:a,className:"feature-value-inner-container"},r.createElement("div",{className:l()(n[2]&&n[2].item_col_class,"feature-value",e>0&&"text-danger")},t))})))})),r.createElement("div",{className:"lm-item-link"},r.createElement("div",{className:"upgrade_buttons_fake"},r.createElement("button",{className:"btn btn-primary",onClick:function(){return t.upgradeNow(e,"month",s.month)}},"Upgrade Now")),r.createElement("div",{className:"upgrade_buttons justify-content-around"},r.createElement("div",{className:"upgrade_buttons_container"},s.month.bottomComponent,r.createElement("button",{className:"btn btn-primary",onClick:function(){return t.upgradeNow(e,"month",s.month)}},"Upgrade Monthly")),r.createElement("div",null,"Or"),r.createElement("div",{className:"upgrade_buttons_container"},s.year.bottomComponent,r.createElement("button",{className:"btn btn-primary",onClick:function(){return t.upgradeNow(e,"year",s.year)}}
1,"Upgrade Year"))))),r.createElement("div",{className:"lm-item-bottom"})))}},{key:"render",value:function(){var e=this,t=this.state,n=t.data;if(!t.loaded)return r.createElement(c.A,null);var a=Object.keys(n.package_names);a.push(-1),a.sort(function(e,t){return parseFloat(e)>parseFloat(t)?1:-1});var l=this.getPricing(50);return r.createElement("div",{className:"upgrade1"},r.createElement("div",{className:"container"},r.createElement("div",{className:"jumbotron background-yellow"},r.createElement("h1",{className:"display-4"},"Upgrade today..."),r.createElement("h2",{className:"ml-5"},"... and receive ",r.createElement("b",null,"Hundreds")," of"," ",r.createElement("span",null,r.createElement("span",{className:"text-danger"},"EXTRA")," HITS")," ","everyday."),r.createElement("hr",{className:"my-4"}),r.createElement("h2",{className:"text-danger text-center"},"Traffic Ad Bar upgrades put your website traffic on auto-pilot in 3 POWERFUL WAYS!"))),r.createElement("h2",{className:"mt-4 mb-4"},l.message),r.createElement("div",{style:{margin:"auto",fontSize:"24px",border:"solid 3px #000",padding:"5px",backgroundColor:"#FFFF00"}},r.createElement("center",null,r.createElement("span",{style:{fontWeight:"bolder",color:"#000"}},r.createElement("b",null,"We'll send"," ",r.createElement("u",null,r.createElement("font",{className:"red"},"guaranteed visitors"))," ","to your websites every month",r.createElement("br",null),"AND",r.createElement("br",null),r.createElement("u",null,r.createElement("font",{className:"red"},"Multiply every point")))," ","you earn by as much as"," ",r.createElement("font",{className:"red"},r.createElement("b",null,"2,000%"))))),r.createElement("br",null),r.createElement("br",null),r.createElement("h2",{className:"text-danger mb-3"},r.createElement("u",null,"Upgrade your membership right now, and we will:")),r.createElement("h4",{className:"pl-4"},r.createElement("ol",null,r.createElement("li",{className:"mb-3"},"Credit you with up to"," ",r.createElement("b",null,r.createElement("u",{className:"text-danger"},"5 points"))," ","for every POINT you earn for every website you view."),r.createElement("li",{className:"mb-3"},"Credit you with up to"," ",r.createElement("b",null,r.createElement("u",{className:"text-danger"},"20 points"))," ","for every POINT you earn on your primary URL."),r.createElement("li",{className:"mb-3"},"Boost your Ads by giving you"," ",r.createElement("b",null,r.createElement("u",{className:"text-danger"},"PRIORITY"))," ","on the Traffic Ad Bar."))),r.createElement("div",null,r.createElement("h3",{className:"text-center mb-4"},"Plus"),r.createElement("h3",null,r.createElement("div",{className:"background-yellow d-inline-block mb-2 font-weight-bold p-2"},"BONUS 1:"),r.createElement("div",{className:"text-center"},"We ",r.createElement("u",null,"GUARANTEE")," to send you up to"," ",r.createElement("span",{className:"text-danger"},r.createElement("b",null,"4,000 visitors to your websites each month!")))),r.createElement("h3",{className:"text-center mb-4"},"Plus"),r.createElement("h3",null,r.createElement("div",{className:"background-yellow d-inline-block mb-2 font-weight-bold p-2"},"BONUS 2:"),r.createElement("div",{className:"text-center"},"We will credit your account with up to"," ",r.createElement("span",{className:"text-danger"},r.createElement("b",null,"5,000 points every 3 days!")))),r.createElement("h3",{className:"text-center mb-4"},"Plus"),r.createElement("h3",null,r.createElement("div",{className:"background-yellow d-inline-block mb-2 font-weight-bold p-2"},"BONUS 3:"),r.createElement("div",{className:"text-center"},"You can list"," ",r.createElement("span",{className:"text-danger"},r.createElement("b",null,"more of your websites and webpages")))),r.createElement("h3",{className:"text-center mb-4"},"AND"),r.createElement("h3",null,r.createElement("div",{className:"text-center"},"Upgrade to Pro and Platinum"," ",r.createElement("span",{className:"text-danger"},"and advertise your ",r.createElement("b",null,"BANNERS")," as well.")))),r.createElement("div",{className:"pt-4"},r.createElement("h1",null,"Stats"),r.createElement("h4",{className:"mt-4 mb-4"},"Measuring your performance is so important. Free members get access to basic stats while Pro members get Advanced Stats and Platinum members can access Detailed Stats.",r.createElement("p",{className:"background-yellow mt-3 mb-3 d-inline-block p-2"},"ADVANCED STATS"),r.createElement("p",null,"With Advanced Stats you can customise your reports by showing and filtering Hits/Views and by types."),r.createElement("p",{className:"background-yellow mt-3 mb-3 d-inline-block p-2"},"DETAILED STATS"),r.createElement("p",null,"Upgrade to Platinum and access Detailed Stats. With Detailed Stats you can create custom reports filtering by countries and URL's. You can also download your custom reports to PDF and CSV for further analysis."))),r.createElement("div",{className:"pt-4"},r.createElement("h1",null,"Commission"),r.createElement("h4",{className:"mt-4 mb-4"},"Earn a greater percentage of commission when you upgrade. Take our Platinum upgrade and receive 35% commission of all your referral upgrades."),r.createElement(u.A,null)),r.createElement("div",{className:"show-choose-currency-on-small-screen mx-auto mt-4"},this.chooseCurrency()),r.createElement("h1",{className:"mt-4 mb-4"},"Which upgrade is best for you?"),r.createElement("div",{className:"row mx-auto",style:{maxWidth:"558px"}},r.createElement("div",{className:"col-12 col-sm-6"},r.createElement("table",{border:"0",cellPadding:"2",cellSpacing:"0",width:"100%"},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{valign:"top",align:"center",style:{height:"75px"}},"Select one of each of the statements below.")),Object.keys(j).map(function(n,a){var l=j[n];return[r.createElement("tr",{key:1},r.createElement("td",{valign:"top",align:"center"},r.createElement("font",{className:"red"},r.createElement("b",null,n)))),r.createElement("tr",{style:{height:"43px"},key:2},r.createElement("td",{valign:"top",align:"center"},r.createElement(s.default,{options:l,onChange:function(t){return e.changePackageSelector(a,t)},value:t.packageselector[a],placeholder:"Select",className:"text-left mt-2",styles:{option:function(e,t){return p(p({},e),{}
1,{borderBottom:"1px dotted pink",color:t.isSelected?"#ffffff":"#000000",backgroundColor:t.isSelected?"#ac0101":"#fff"})},menuList1:function(){return{}}}})))]}),r.createElement("tr",null,r.createElement("td",{style:{padding:"20px"}},t.package_selector_pkg))))),r.createElement("div",{className:"col-12 col-sm-6"},r.createElement("table",{border:"0",cellPadding:"2",cellSpacing:"0",width:"100%"},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",{valign:"top",align:"center",style:{height:"75px"}},"Enter the amount of people that you think you'll refer for each package.")),r.createElement("tr",null,r.createElement("td",{valign:"top",align:"center"},r.createElement("font",{className:"red"},r.createElement("b",null,"How many Pro Lite members?")))),r.createElement("tr",{style:{height:"43px"}},r.createElement("td",{valign:"top",align:"center"},r.createElement("input",{type:"number",onChange:function(t){return e.changePackageSelector(3,t.target.value)},value:t.packageselector[3],className:"text-center"}))),r.createElement("tr",null,r.createElement("td",{valign:"top",align:"center"},r.createElement("font",{className:"red"},r.createElement("b",null,"How many Pro members?")))),r.createElement("tr",{style:{height:"43px"}},r.createElement("td",{valign:"top",align:"center"},r.createElement("input",{type:"number",onChange:function(t){return e.changePackageSelector(4,t.target.value)},value:t.packageselector[4],className:"text-center"}))),r.createElement("tr",null,r.createElement("td",{valign:"top",align:"center"},r.createElement("font",{className:"red"},r.createElement("b",null,"How many Platinum members?")))),r.createElement("tr",{style:{height:"43px"}},r.createElement("td",{valign:"top",align:"center"},r.createElement("input",{type:"number",onChange:function(t){return e.changePackageSelector(5,t.target.value)},value:t.packageselector[5],className:"text-center"}))),r.createElement("tr",null,r.createElement("td",null,t.calc_earn_message)),r.createElement("tr",null,r.createElement("td",{align:"center",style:{padding:"10px"}},r.createElement("button",{onClick:this.calc_comm,className:"btn btn-lg btn-primary btn-block"},"Calculate"))))))),r.createElement("div",{className:"lm-tabel"},r.createElement("div",{className:"lm-col1"},r.createElement("div",{className:"lm-col2"},this.drawCol(-1)),r.createElement("div",{className:"lm-col3"},this.drawCol(0))),r.createElement("div",{className:"lm-col4"},a.map(function(t){return t<50||n.pro_level>=t?null:e.drawCol(t)}))),r.createElement("div",{style:{marginTop:"100px"}}))}}],a&&b(n.prototype,a),d&&b(n,d),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,d}(r.Component)},17675:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(69873),a=n(14981),l=n.n(a);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function i(e,t,n){return t=u(t),function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,m()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}
1function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}var f=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),n=t,(a=[{key:"render",value:function(){var e="fa-2x";3==this.props.size&&(e="fa-3x");var t=l()("fa fa-cog fa-spin",e,this.props.className);return r.createElement("div",{className:"text-center",style:this.props.style},r.createElement("div",{className:t}))}}])&&c(n.prototype,a),o&&c(n,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,o}(r.Component)},39877:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var r=n(69873),a=n(41623),l=n(63e3);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,s(r.key),r)}}function s(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}function i(e,t,n){return t=u(t),function(e,t){if(t&&("object"==o(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,m()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n))}function m(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(m=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}var f=function(e){function t(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(e=i(this,t)).state={commission:[]},e}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(t,e),n=t,o=[{key:"componentDidMount",value:function(){var e=this;a.A.get("/data/referring").then(function(t){if(t.rufP){var n=[];for(var r in t.commission_percs[0])if("name"!=r){var a={};for(var l in a.name=t.packages[r.replace("p","")],t.commission_percs)t.commission_percs[l]&&t.commission_percs[l][r]&&(a["p"+l]=t.commission_percs[l][r]+"%");n.push(a)}e.setState({commission:n,loaded:!0})}})}},{key:"render",value:function(){var e=this.state;if(!e.loaded)return null;var t=[{align:"left",accessor:"name",Cell:function(e){e.value;var t=e.row;return"Free member"==t.original.name?t.original.name:r.createElement("div",{style:{whiteSpace:"normal"}},"Commission for referring a member who upgrades to ",t.name)},headerAlign:"center",width:220,Header:""},{align:"center",accessor:"p0",headerAlign:"center",width:150,Header:"Free Member"},{align:"center",accessor:"p1",headerAlign:"center",width:100,Header:"Pro Lite"},{align:"center",accessor:"p2",headerAlign:"center",width:100,Header:"Pro"},{align:"center",accessor:"p3",headerAlign:"center",width:100,Header:"Platinum"}];return r.createElement("div",{style:{maxWidth:"700px"},className:"mx-auto"},r.createElement(l.A,{columns:t,data:e.commission}))}}],o&&c(n.prototype,o),s&&c(n,s),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,s}(r.Component)}
1,47752:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>b});var r=n(69873),a=n(70842),l=n(57284),o=n.n(l);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,i(r.key),r)}}function i(e){var t=function(e,t){if("object"!=c(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==c(t)?t:t+""}function m(e,t,n){return t=d(t),function(e,t){if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,n||[],d(e).constructor):t.apply(e,n))}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(u=function(){return!!e})()}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function f(e,t){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},f(e,t)}var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),m(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(t,e),n=t,(a=[{key:"render",value:function(){var e=this.props,t=e.invoice,n=e.user,a=(e.data,{EUR:"&pound;",GBP:"&euro;",USD:"$"}),l=0;return r.createElement("div",{id:"invoice"},r.createElement("div",{className:"invoice overflow-auto"},r.createElement("div",{style:{minWidth:"600px"}},r.createElement("header",null,r.createElement("div",{className:"row"},r.createElement("div",{className:"col"},r.createElement("a",{target:"_blank",href:"https://trafficadbar.com"},r.createElement("img",{src:"https://trafficadbar.com/assets/home_logo.png","data-holder-rendered":"true"}))),r.createElement("div",{className:"col company-details"},r.createElement("h2",{className:"name"},r.createElement("a",{target:"_blank",href:"https://trafficadbar.com"},"Z5 Internet Ltd",r.createElement("br",null),"Trading As: Traffic Ad Bar")),r.createElement("div",null,"72 West Street, Portchester, UK"),r.createElement("div",null),r.createElement("div",null,"[email protected]")))),r.createElement("main",null,r.createElement("div",{className:"row contacts"},r.createElement("div",{className:"col invoice-to"},r.createElement("div",{className:"text-gray-light"},"INVOICE TO:"),r.createElement("h2",{className:"to"},e.user.first_name," ",e.user.last_name),r.createElement("div",{className:"address"},t.billing_line1," ",t.billing_line2," ",t.city," ",t.state," ",t.zip," ",t.country),r.createElement("div",{className:"email"},r.createElement("a",{href:"[email protected]"},e.data.email))),r.createElement("div",{className:"col invoice-details"},r.createElement("h1",{className:"invoice-id"},"INVOICE ",n.id,"-",t.transaction_id),r.createElement("div",{className:"date"},"Date of Invoice:"," ",o().utc(t.created_at).format("LL")),r.createElement("div",{className:"date"},"Due Date: ",o().utc(t.created_at).format("LL")))),r.createElement("table",{border:"0",cellSpacing:"0",cellPadding:"0"},r.createElement("thead",null,r.createElement("tr",null,r.createElement("th",{className:"text-left"},"DESCRIPTION"),r.createElement("th",{className:"text-right"},"PRICE"),r.createElement("th",{className:"text-right"},"QUANTITY"),r.createElement("th",{className:"text-right"},"TOTAL"))),r.createElement("tbody",null,t.details.map(function(e){return l+=parseFloat(e.total),r.createElement("tr",{key:e.id},r.createElement("td",{className:"text-left"},r.createElement("h3",null,e.description," ",o().utc(e.period_from).format("LL")," -",o().utc(e.period_to).format("LL"))),r.createElement("td",{className:"unit"},a[e.currency]," ",e.total," ",e.currency),r.createElement("td",{className:"qty"},"1"),r.createElement("td",{className:"total"},a[e.currency]," ",e.total," ",e.currency))})),r.createElement("tfoot",null,r.createElement("tr",null,r.createElement("td",{colSpan:"1"}),r.createElement("td",{colSpan:"2"},"SUBTOTAL"),r.createElement("td",null,a[t.currency]," ",l," ",t.currency)),r.createElement("tr",{className:"d-none"},r.createElement("td",{colSpan:"1"}),r.createElement("td",{colSpan:"2"},"TAX 25%"),r.createElement("td",null)),r.createElement("tr",null,r.createElement("td",{colSpan:"1"}),r.createElement("td",{colSpan:"2"},"GRAND TOTAL"),r.createElement("td",null,a[t.currency]," ",l," ",t.currency)))),r.createElement("div",{className:"thanks"},"Thank you!"),r.createElement("div",{className:"notices"},r.createElement("div",null,"NOTICE:"),r.createElement("div",{className:"notice"},"Payment received ",o().utc(t.created_at).format("LL"))))),r.createElement("div",null)))}}])&&s(n.prototype,a),l&&s(n,l),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,a,l}(r.Component);const b=(0,a.A)(p,{user:"user"})},61326:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=function(){return window.reduxStore.getState().user.finishedGetStarted.upgrade}},70605:(e,t,n)=>{var r={"./af":56678,"./af.js":56678,"./ar":9994,"./ar-dz":897,"./ar-dz.js":897,"./ar-kw":98449,"./ar-kw.js":98449,"./ar-ly":22272,"./ar-ly.js":22272,"./ar-ma":83713,"./ar-ma.js":83713,"./ar-ps":77358,"./ar-ps.js":77358,"./ar-sa":95203,"./ar-sa.js":95203,"./ar-tn":18365,"./ar-tn.js":18365,"./ar.js":9994,"./az":70866,"./az.js":70866,"./be":65204,"./be.js":65204,"./bg":53406,"./bg.js":53406,"./bm":64876,"./bm.js":64876,"./bn":52341,"./bn-bd":66584,"./bn-bd.js":66584,"./bn.js":52341,"./bo":60278,"./bo.js":60278,"./br":41617,"./br.js":41617,"./bs":73730,"./bs.js":73730,"./ca":11217,"./ca.js":11217,"./cs":13503,"./cs.js":13503,"./cv":18452,"./cv.js":18452,"./cy":38470,"./cy.js":38470,"./da":66522,"./da.js":66522,"./de":98982,"./de-at":2550,"./de-at.js":2550,"./de-ch":35712,"./de-ch.js":35712,"./de.js":98982,"./dv":627,"./dv.js":627,"./el":714
vendor: 4,125 bytes, line 1
108,"./el.js":71408,"./en-au":20641,"./en-au.js":20641,"./en-ca":95395,"./en-ca.js":95395,"./en-gb":84306,"./en-gb.js":84306,"./en-ie":59417,"./en-ie.js":59417,"./en-il":30802,"./en-il.js":30802,"./en-in":45512,"./en-in.js":45512,"./en-nz":45643,"./en-nz.js":45643,"./en-sg":57785,"./en-sg.js":57785,"./eo":46889,"./eo.js":46889,"./es":829,"./es-do":40891,"./es-do.js":40891,"./es-mx":98487,"./es-mx.js":98487,"./es-us":98746,"./es-us.js":98746,"./es.js":829,"./et":4776,"./et.js":4776,"./eu":96863,"./eu.js":96863,"./fa":7516,"./fa.js":7516,"./fi":58084,"./fi.js":58084,"./fil":37194,"./fil.js":37194,"./fo":37218,"./fo.js":37218,"./fr":35061,"./fr-ca":81978,"./fr-ca.js":81978,"./fr-ch":43230,"./fr-ch.js":43230,"./fr.js":35061,"./fy":47028,"./fy.js":47028,"./ga":45973,"./ga.js":45973,"./gd":27338,"./gd.js":27338,"./gl":59922,"./gl.js":59922,"./gom-deva":987,"./gom-deva.js":987,"./gom-latn":13820,"./gom-latn.js":13820,"./gu":44137,"./gu.js":44137,"./he":56162,"./he.js":56162,"./hi":60710,"./hi.js":60710,"./hr":30811,"./hr.js":30811,"./hu":3045,"./hu.js":3045,"./hy-am":55933,"./hy-am.js":55933,"./id":93780,"./id.js":93780,"./is":51857,"./is.js":51857,"./it":88484,"./it-ch":97918,"./it-ch.js":97918,"./it.js":88484,"./ja":30464,"./ja.js":30464,"./jv":33157,"./jv.js":33157,"./ka":12969,"./ka.js":12969,"./kk":91151,"./kk.js":91151,"./km":13997,"./km.js":13997,"./kn":89412,"./kn.js":89412,"./ko":88683,"./ko.js":88683,"./ku":23861,"./ku-kmr":21118,"./ku-kmr.js":21118,"./ku.js":23861,"./ky":40129,"./ky.js":40129,"./lb":31135,"./lb.js":31135,"./lo":35756,"./lo.js":35756,"./lt":23309,"./lt.js":23309,"./lv":46923,"./lv.js":46923,"./me":83079,"./me.js":83079,"./mi":171,"./mi.js":171,"./mk":76557,"./mk.js":76557,"./ml":84120,"./ml.js":84120,"./mn":56738,"./mn.js":56738,"./mr":77462,"./mr.js":77462,"./ms":12053,"./ms-my":11256,"./ms-my.js":11256,"./ms.js":12053,"./mt":95200,"./mt.js":95200,"./my":81915,"./my.js":81915,"./nb":18461,"./nb.js":18461,"./ne":99112,"./ne.js":99112,"./nl":24983,"./nl-be":29177,"./nl-be.js":29177,"./nl.js":24983,"./nn":55545,"./nn.js":55545,"./oc-lnc":76537,"./oc-lnc.js":76537,"./pa-in":87772,"./pa-in.js":87772,"./pl":54225,"./pl.js":54225,"./pt":1625,"./pt-br":83938,"./pt-br.js":83938,"./pt.js":1625,"./ro":61414,"./ro.js":61414,"./ru":55284,"./ru.js":55284,"./sd":38942,"./sd.js":38942,"./se":72157,"./se.js":72157,"./si":32025,"./si.js":32025,"./sk":36151,"./sk.js":36151,"./sl":19638,"./sl.js":19638,"./sq":977,"./sq.js":977,"./sr":9944,"./sr-cyrl":72215,"./sr-cyrl.js":72215,"./sr.js":9944,"./ss":73103,"./ss.js":73103,"./sv":20324,"./sv.js":20324,"./sw":42347,"./sw.js":42347,"./ta":50570,"./ta.js":50570,"./te":34614,"./te.js":34614,"./tet":89416,"./tet.js":89416,"./tg":39212,"./tg.js":39212,"./th":37057,"./th.js":37057,"./tk":6920,"./tk.js":6920,"./tl-ph":26182,"./tl-ph.js":26182,"./tlh":37593,"./tlh.js":37593,"./tr":40231,"./tr.js":40231,"./tzl":58571,"./tzl.js":58571,"./tzm":52900,"./tzm-latn":86380,"./tzm-latn.js":86380,"./tzm.js":52900,"./ug-cn":28863,"./ug-cn.js":28863,"./uk":73717,"./uk.js":73717,"./ur":76974,"./ur.js":76974,"./uz":8166,"./uz-latn":68654,"./uz-latn.js":68654,"./uz.js":8166,"./vi":93716,"./vi.js":93716,"./x-pseudo":82904,"./x-pseudo.js":82904,"./yo":50789,"./yo.js":50789,"./zh-cn":54406,"./zh-cn.js":54406,"./zh-hk":57669,"./zh-hk.js":57669,"./zh-mo":49928,"./zh-mo.js":49928,"./zh-tw":54237,"./zh-tw.js":54237};function a(e){var t=l(e);return n(t)}function l(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}a.keys=function(){return Object.keys(r)},a.resolve=l,e.exports=a,a.id=70605},77422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>d});var r=n(69873),a=n(57284),l=n.n(a),o=n(41623),c=n(17675),s=n(14981),i=n.n(s);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,l,o,c=[],s=!0,i=!1;try{if(l=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=l.call(n)).done)&&(c.push(r.value),c.length!==t);s=!0);}catch(e){i=!0,a=e}
1finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(i)throw a}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}const d=function(e){!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(e);var t=(0,r.useRef)(null),n=m((0,r.useState)(!1),2),a=n[0],s=n[1],u=m((0,r.useState)(!1),2),d=u[0],f=u[1];(0,r.useEffect)(function(){o.A.get("/data/temp_switch_to_stripe").then(function(e){e.rufP&&(e.pro_until?(e.pro_until=l().utc(e.pro_until).format("LL"),s(e)):document.location="/website_traffic/home/upgrade")})},[]);var p=a.wn||{},b=p.card,y=b&&b.CARDEXPIRY&&b.CARDEXPIRY.match(/.{1,2}/g),h=new Date,E=new Date;y&&(E.setFullYear("20"+y[1],y[0],1),y.splice(1,0,"/"),y=y.join(""));var g=E<h;if((0,r.useEffect)(function(){!a||b&&b.CARDREFERENCE&&!g||(f(!0),t.current.submit())},[a]),!a)return r.createElement(c.A,null);var v=a;return r.createElement("div",{className:"row"},r.createElement("div",{className:"col-12"},r.createElement("h1",{style:{maxWidth:"600px",margin:"0 auto 40px"}},"Change Payment Details"),r.createElement("div",null,r.createElement("table",{className:"table mx-auto",style:{maxWidth:"500px",margin:"auto"}},r.createElement("tbody",null,r.createElement("tr",null,r.createElement("td",null,"Upgrade package"),r.createElement("td",null,v.description)),r.createElement("tr",null,r.createElement("td",null,"Next payment due"),r.createElement("td",null,v.pro_until)),r.createElement("tr",null,r.createElement("td",null,"Payment amount"),r.createElement("td",null,v.normalAmount," ",v.currency)))))),r.createElement("div",{id:"payment_options",className:i()("col-12 text-center mt-4",d&&"d-none")},b&&b.CARDREFERENCE&&!g&&r.createElement("form",{action:"https://payments.worldnettps.com/merchant/subscriptionpage/register",id:"subscription_form",method:"POST",onSubmit:function(){return f(!0)},target:"wn_iframe"},Object.keys(p.subscription_params).map(function(e){return r.createElement("input",{key:e,type:"hidden",name:e,value:p.subscription_params[e]})}),r.createElement("div",null,r.createElement("h5",{className:"mx-auto",style:{width:"500px"}},"To pay using your ",b.CARDTYPE," card number"," ",b.MASKEDCARDNUMBER,r.createElement("br",null)," expiry ",y," Click below"),r.createElement("br",null),r.createElement("input",{className:"btn btn-primary",type:"submit",value:"Pay With Card"}))),r.createElement("div",null,r.createElement("h5",{className:"text-center mt-4"},g?"Enter ":"Change ","your card details, click here."),r.createElement("form",{action:"https://payments.worldnettps.com/merchant/securecardpage",method:"POST",onSubmit:function(){return f(!0)},ref:t,target:"wn_iframe"},Object.keys(p.card_params).map(function(e){return r.createElement("input",{key:e,type:"hidden",name:e,value:p.card_params[e]})}),r.createElement("input",{type:"hidden",name:"ACTION",value:b&&b.CARDREFERENCE?"update":"register"}),r.createElement("input",{type:"submit",className:"btn btn-primary",value:g?"Enter Card Details":"Change Card"})))),r.createElement("iframe",{name:"wn_iframe",scrolling:"no",style:{width:"376px",height:d&&"1000px",border:0,margin:"auto",overflow:"hidden"}}))}}}]);
2//# sourceMappingURL=prot-upgrade-a8d0dcdc6da435c27087.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.