1;(function () {// LICENSE_CODE ZON 2 'use strict'; /*jslint node:true, es6:true, react:true*/function _typeof(o) {"@babel/helpers - typeof";return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {return typeof o;} : function (o) {return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;}, _typeof(o);} 3 var define; 4 var is_node = (typeof module === "undefined" ? "undefined" : _typeof(module)) == 'object' && module.exports; 5 if (is_node) 6 define = require('../../../util/require_node.js').define(module, '..');else 7 8 define = self.define; 9 define(['/util/url.js', '/www/hola/pub/experiment_init'], 10 function (zurl, experiment_init) { 11 experiment_init = experiment_init["default"]; 12 var qs_o = function qs_o() {return zurl.qs_parse(location.search.substr(1), { safe: true });}; 13 var E = {}; 14 var ultra_pages = ['/ultra', '/pricing/ultra']; 15 var plus_pages = ['/premium', '/pricing/premium', '/uninstall', 16 '/premium_land', '/only_payment_form', '/pricing']; 17 18 E.is_refund_exp = function () { 19 var ref = qs_o().ref || ''; 20 var ref_re = new RegExp('(refund_special_big_offer|refund_special_cta)'); 21 return ref_re.test(ref) || location.pathname == '/refund'; 22 }; 23 24 E.is_plus_page = function () { 25 return location.search.includes('debug_plus') || 26 plus_pages.includes(location.pathname) || 27 location.pathname.indexOf('/pricing') == 0 || 28 location.pathname.indexOf('/payment_help') == 0 || 29 location.pathname.indexOf('/premium_land') == 0 || 30 location.pathname.indexOf('/only_payment_form') == 0; 31 }; 32 33 E.is_ultra_page = function () {return ultra_pages.includes(location.pathname);}; 34 35 E.is_uninstall_page = function () { 36 var ref = qs_o().ref || ''; 37 return location.pathname == '/uninstall' || ref == 'be_ext_uninstall'; 38 }; 39 40 E.is_ni_get_hola = function () { 41 var ref = qs_o().ref || ''; 42 return location.pathname == '/ni_get_hola' || ref.indexOf('afflp_ni') > -1; 43 }; 44 45 E.is_annual_get_hola = function () { 46 var ref = qs_o().ref || ''; 47 return location.pathname == '/get_hola_annual_subscriptions' || 48 ref.indexOf('afflp_annual') > -1; 49 }; 50 51 E.is_ultra_flash_special = function () { 52 var ref = qs_o().ref || ''; 53 return ref.indexOf('ultra_flash_special') > -1; 54 }; 55 56 E.is_annual_promo = function () { 57 var ref = qs_o().ref || ''; 58 var ref_re = new RegExp('(vpn_flash_sale|black_friday|social_signup|' + 59 'products_page|plus_setup_page|refund|christmas|' + 60 'hp_hola_premium|hp_hidden_offer|easter|download_page|' + 61 'the_oscars_special|pride_special|' + 62 'promo_stream_sports|get_hola_1y)'); 63 return ref_re.test(ref) || 64 ['verify', 'welcome', 'special_offer', 'last_call', 65 'popular_welcome', 'trial_cycle_end', 'trial_cycle_end_4', 66 'trial_cycle_end_5', 'vpn_conflict', 'hola_features', 67 'billing', 'membership_renewal', 'upgrade_1', 68 'win_premium_back', 'trial_cycle_end_1', 'trial_cycle_end_2', 69 'trial_cycle_end_3', 'upgrade_2', 'upgrade_3', 'upgrade_4', 70 'upgrade_5', 'ultra_reminder', 'premium_reminder', 71 'trial_cycle_end_7', 'special_movie', 'special_sport', 72 'special_live'].some(function (v) {return ( 73 ref.includes("".concat(v, "_email")));}); 74 }; 75 76 E.is_annual_promo_full = function () { 77 return E.is_annual_promo(); 78 }; 79 80 E.is_bogof_promo = function () { 81 var ref = qs_o().ref || ''; 82 var re = '(summer_special|olympic_games|school_special|' + 83 'vpn_flash_monthly|we_love_summer|fall_promo|yesvember|' + 84 'holiday_season)'; 85 return new RegExp(re).test(ref); 86 }; 87 88 E.is_bogof_y_promo = function () { 89 var ref = qs_o().ref || ''; 90 return /(valentine_23)/.test(ref); 91 }; 92 93 E.is_kivoto_promo = function () { 94 var ref = qs_o().ref || ''; 95 return /(get_hola_kivuto)/.test(ref); 96 }; 97 98 E.is_march_madness_promo = function () { 99 var ref = qs_o().ref || ''; 100 return /(march_madness|april_fool|spring_special|pride_month)/.test(ref); 101 }; 102 103 E.is_march_madness_promo_full = function () { 104 return E.is_march_madness_promo(); 105 }; 106 107 E.is_dunning_promo = function () { 108 var ref = qs_o().ref || ''; 109 return /(dunning.*cancel)/.test(ref); 110 }; 111 112 return E; 113 });})(); 114//# sourceMappingURL=pages_dict.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.