1 2 3var CWS_Setup = (function ($) { 4 var wH = {}; 5 wH.customerType = "customer"; 6 wH.siteType = "consumer"; 7 wH.skinName = "recipecons"; 8 wH.language = "en"; 9 wH.dateFormat = "MM-DD-YYYY"; 10 wH.currencySymbol = "$"; 11 wH.currencySide = "Left"; 12 wH.msgLength = "180"; 13 wH.shipCountryList = ""; 14 wH.shipCanadaProv = ""; 15 wH.shipUsaProv = ""; 16 wH.shipAustraliaProv = ""; 17 wH.shipChinaProv = ""; 18 wH.shipMexicoProv = ""; 19 wH.shipBrazilProv = ""; 20 21 return wH; 22}(jQuery)); 23 24var CWS_URLs = (function ($) { 25 var wY = {}; 26 27 wY.dashboardUrl = '/udc/my-account/manage-cards.html'; 28 wY.siteURL = ''; //keep empty--used for fallback 29 wY.cmsURL = '/cws40_svc/recipecons/consumer'; 30 wY.homeURL = '/cws4.0/recipecons'; 31 wY.subdirectory = '/cws4.0/recipecons'; 32 wY.loginURL = '/udc/login/'; 33 wY.changePasswordURL = '/udc/my-account/change-password.html'; 34 wY.registerThankURL = '/udc/create-account/confirmation.html'; 35 wY.mobilePay = '/udc/_includes/iframes/mobile-pay.html'; 36 wY.mobilePayLogin = '/udc/_includes/iframes/mobile-pay-login.html'; 37 wY.curPage = window.location.pathname+window.location.search; 38 // Card purchasing 39 wY.shoppingCart = '/udc/gift-cards/shopping-cart.html'; 40 wY.buyCards = '/udc/gift-cards/'; 41 wY.checkout = '/udc/gift-cards/checkout.html'; 42 wY.shippingUser = '/udc/gift-cards/shipping.html'; 43 wY.shippingGuest = '/udc/gift-cards/guest/shipping.html'; 44 wY.paymentUser = '/udc/gift-cards/payment.html'; 45 wY.paymentGuest = '/udc/gift-cards/guest/payment.html'; 46 wY.confirmationUser = '/udc/gift-cards/confirmation.html'; 47 wY.confirmationGuest = '/udc/gift-cards/guest/confirmation.html'; 48 wY.shippingForm = '/udc/_includes/shipping-form.html'; 49 //Payment Methods 50 wY.paypalConfirm = '/udc/paypal/'; 51 // E-Gift Shopping Cart 52 wY.eCartBuyCards = '/udc/e-gifts/'; 53 wY.eCartShoppingCart = '/udc/e-gifts/shopping-cart.html'; 54 wY.eCartCheckout = '/udc/e-gifts/checkout.html'; 55 wY.eCartPaymentUser = '/udc/e-gifts/payment.html'; 56 wY.eCartPaymentGuest = '/udc/e-gifts/guest/payment.html'; 57 wY.eCartConfirmationUser = '/udc/e-gifts/confirmation.html'; 58 wY.eCartConfirmationGuest = '/udc/e-gifts/guest/confirmation.html'; 59 // Reload 60 wY.reloadUser = '/udc/my-account/reload-card.html'; 61 wY.reloadUserConfirm = '/udc/my-account/confirmation.html'; 62 wY.reloadGuest = '/udc/gift-cards/reload/'; 63 wY.reloadGuestConfirm = '/udc/gift-cards/reload/confirmation.html'; 64 // Rewards 65 wY.rewards = '/udc/rewards/'; 66 // Misc 67 wY.loadingGif = 'url(https://wwws.givex.com/cws4.0/global-unix/images/loading.gif)'; 68 69 return wY; 70}(jQuery)); 71 72var CWS_GenHTML = (function ($) { 73 var wR = {}; 74 75 wR.headerGreeting = 'Hello'; 76 wR.headerNot = 'Not'; 77 wR.switchUser = 'Switch user'; 78 wR.otherCategory = 'Other'; 79 wR.allCategory = 'All'; 80 wR.category = 'Category'; 81 //shipping 82 wR.shipAddrName = 'Description'; 83 wR.shipFlname = 'Recipient Name'; 84 wR.shipAddr1 = 'Address 1'; 85 wR.shipAddr2 = 'Address 2'; 86 wR.shipCountry = 'Country'; 87 wR.shipProv = 'Province/State'; 88 wR.shipCity = 'City'; 89 wR.shipPostal = 'Zip/Postal Code'; 90 wR.shipPhone = 'Phone Number'; 91 wR.editLink = 'Edit'; 92 wR.editAddr = 'Edit Address'; 93 wR.useAddr = 'Use This Address'; 94 wR.selectDiff = 'Select a Different Address'; 95 wR.selectOne = 'Select One'; 96 wR.recentTransactions = 'View Recent Card Transactions'; 97 //shopping cart 98 wR.shopCartTo = 'To'; 99 wR.shopCartFrom = 'From'; 100 wR.shopCartMsg = 'Message'; 101 wR.shopCartName = 'Cart'; 102 wR.shopCartZoom = 'Zoom'; 103 wR.buyCardsLink = 'Click here to purchase cards.'; 104 wR.eGifts = 'E-Gift Card(s)'; 105 wR.other = 'Other'; 106 wR.transRef = 'Transaction Reference Number'; 107 wR.beginChkout = 'Begin Checkout'; 108 wR.each = 'Each'; 109 wR.editMessage = 'Edit Message'; 110 wR.editMsgHeading = 'Edit Messages'; 111 wR.submit = 'Submit'; 112 wR.eCartAmount = 'AMOUNT'; 113 wR.eCartDeliveryDate = 'DELIVERY DATE'; 114 wR.eCartRecipient = 'RECIPIENT'; 115 wR.eCartRecipientEmail = 'RECIPIENT EMAIL'; 116 wR.eCartSender = 'SENDER'; 117 wR.eCartMessage = 'MESSAGE'; 118 wR.eCartEditDelivery = 'Edit Delivery'; 119 wR.removeConfirm = 'Are you sure you want to remove this item from your cart?'; 120 wR.updateMsg = 'Update Message'; 121 wR.inBundlesOf = 'In Bundles of'; 122 //order history 123 wR.date = 'Date'; 124 wR.action = 'Action'; 125 wR.amount = 'Amount'; 126 wR.location = 'Location'; 127 wR.first = 'First'; 128 wR.last = 'Last'; 129 wR.next = 'Next'; 130 wR.previous = 'Previous'; 131 wR.sortAscend = ': activate to sort column ascending';
132 wR.sortDescend = ': activate to sort column descending'; 133 wR.status = 'Status'; 134 wR.orderTotal = 'Order Total'; 135 wR.quantity = 'Quantity'; 136 //manage cards 137 wR.balance = 'Card Balance'; 138 wR.loyaltybal = 'Loyalty Balance'; 139 wR.reload = 'Reload Card'; 140 wR.viewRewards = 'View Rewards'; 141 wR.reportLost = 'Report Lost'; 142 wR.active = 'Active'; 143 wR.inactive = 'Inactive'; 144 wR.useonmob = 'Use on Mobile'; 145 wR.transferBal = 'Transfer Balance'; 146 wR.deleteCard = 'Delete Card'; 147 wR.cardImage = 'Card Image'; 148 wR.showEntries = 'Show _MENU_ entries'; 149 wR.expiration = 'Card Expiration Date'; 150 //use on mobile 151 wR.codeValidUntil = 'Code Valid Until'; 152 wR.cardnum = 'Card Number'; 153 wR.carddesc = 'Card Description'; 154 wR.qrCode = 'QR Code'; 155 wR.code = 'Code'; 156 //reload card (user) 157 wR.weekly = 'Weekly'; 158 wR.monthly = 'Monthly'; 159 wR.whenBalReaches = 'When balance reaches'; 160 wR.topUpTo = 'top up to'; 161 wR.cardIsSetUp = 'Your card is currently set up for automatic reloads'; 162 wR.reloadFreq = 'Reload Frequency'; 163 wR.reloadAmount = 'Reload Amount'; 164 wR.removeSchedule = 'Remove Schedule'; 165 wR.sureToRemove = 'Are you sure you want to remove this reload schedule?'; 166 wR.ccEndingWith = 'Credit card ending with'; 167 //create account 168 wR.day = 'Day'; 169 wR.month = 'Month'; 170 wR.year = 'Year'; 171 wR.birthdate = 'Birth Date'; 172 wR.cardRewardRegistr = 'Card & Reward Registration'; 173 wR.rewardRegistr = 'Reward Registration'; 174 wR.cardregistr = 'Card Registration'; 175 wR.confirm = 'Confirm'; 176 //profile 177 wR.changeDetails = 'Change Details'; 178 wR.cancel = 'Cancel'; 179 wR.optIn = 'Opt In'; 180 wR.yes = 'Yes'; 181 wR.no = 'No'; 182 wR.changePref = 'Change Preferences'; 183 wR.genderNotSpecified = 'Not Specified'; 184 wR.genderMale = 'Male'; 185 wR.genderFemale = 'Female'; 186 //address 187 wR.address = 'Address'; 188 wR.changeAddress = 'Change Address'; 189 wR.country = 'Country'; 190 wR.stateProv = 'State/Province'; 191 wR.city = 'City'; 192 wR.zipPostal = 'Zip/Postal Code'; 193 wR.changeAddress = 'Change Address'; 194 wR.confirmRemoveAddr = 'Are you sure you want to remove this address?'; 195 wR.remove = 'Remove'; 196 //rewards 197 wR.redeemed = 'successfully redeemed'; 198 wR.redeemHeading = 'You have chosen to redeem'; 199 wR.redeemBy = 'Redeem by'; 200 wR.earnMorePts = 'Earn More Points'; 201 wR.redeem = 'Redeem'; 202 wR.points = 'Points'; 203 wR.ptsRedeemed = 'Points Redeemed'; 204 wR.total = 'Total'; 205 wR.notEnoughPts = 'Not Enough Points'; 206 wR.freeReward = 'Free Reward'; 207 //check balance 208 wR.noExpiry = 'None'; 209 210 return wR; 211 212}(jQuery)); 213 214var CWS_ErrorMsg = (function ($) { 215 var wZ = {}; 216 217 wZ.genericApiError = 'Something went wrong with your submission, please try again'; 218 wZ.genericField = 'This field is required'; 219 wZ.invalidForm = 'Please complete all required fields'; 220 wZ.arrowSymbols = 'Symbols < and > not allowed'; 221 wZ.isRequired = 'is required'; 222 wZ.fNameReq = 'First Name is required'; 223 wZ.lNameReq = 'Last Name is required'; 224 wZ.emailReq = 'Email Address is required'; 225 wZ.regexEmail = 'A Valid Email Address is required'; 226 wZ.emailConfirmReq = 'Confirm Email Address is required'; 227 wZ.phoneReq = 'Phone is required'; 228 wZ.cellReq = 'Cell Number is required'; 229 wZ.addressReq = 'Address is required'; 230 wZ.cityReq = 'City is required'; 231 wZ.countryReq = 'Country is required'; 232 wZ.postalReq = 'Postal/Zip is required'; 233 wZ.regexPostal = 'A Valid Postal/Zip is required'; 234 wZ.provinceReq = 'Province/State is required'; 235 wZ.termsReq = 'You must agree to the terms & conditions'; 236 wZ.passwordReq = 'Password is required'; 237 wZ.loginPassErr = 'Login/Password incorrect' 238 wZ.confPasswordReq = 'Confirm Password is required'; 239 wZ.passwordsMatch = 'Passwords must match'; 240 wZ.pwdSixChars = 'Must be at least 6 characters'; 241 wZ.newpwReq = 'New Password is required'; 242 wZ.oldpwReq = 'Current password is required'; 243 wZ.certNumberReq = 'Card Number is required'; 244 wZ.regexNum = 'Must be a number'; 245 wZ.genderReq = 'Gender is Required'; 246 // Payment 247 wZ.cardDollarAmt = 'Card Dollar Amount is required'; 248 wZ.nameOnCard = 'Name on Card is required'; 249 wZ.creditCardNumber = 'Credit Card Number is required';
250 wZ.regexCCNumber = 'A Valid Credit Card Number is required'; 251 wZ.CVVNumber = 'CVV Number is required'; 252 wZ.regexCVVNumber = 'A Valid CVV Number is required'; 253 wZ.ccExpiry = 'Expiry Month and Year are required'; 254 wZ.promoCode = 'Promo Code is required'; 255 //Captcha 256 wZ.captcha = 'Captcha is required'; 257 wZ.captchaInvalid = 'Captcha is not valid'; 258 // Buy cards 259 wZ.certAmtMinMax = 'Please enter a valid amount'; 260 wZ.certQtyMinMax = 'Please enter a valid quantity'; 261 wZ.amount = 'Amount is required'; 262 wZ.amountBetween = 'Enter an amount between'; 263 wZ.quantity = 'Quantity is required'; 264 wZ.cartTotalLim = 'Cart Total Limit'; 265 wZ.cartSizeLim = 'Cart Size Limit'; 266 wZ.cardOrderLim = 'Order limit for this card is'; 267 wZ.coupon = 'Invalid coupon'; 268 wZ.shipMethod = 'Delivery option is Required'; 269 wZ.shipDescription = 'Description is required'; 270 wZ.shipRecipient = 'Recipient Name is required'; 271 wZ.deliveryDate = 'Delivery Date is required'; 272 wZ.recipName = 'Recipient Name is required'; 273 wZ.senderName = 'Sender Name is required'; 274 // Check Balance 275 wZ.certNotExist = 'Invalid. Please check the card number and re-enter'; 276 wZ.certOnHold = 'Card is on hold'; 277 wZ.certNotActive = 'Card is not active'; 278 wZ.pinReq = 'PIN is required'; 279 // Custom Cards 280 wZ.uploadValidImage = 'Please upload a valid image'; 281 wZ.fileFormat = 'File must be a Jpeg, Png or Gif'; 282 wZ.maxFileSize = 'Maximum file size is 4Mb'; 283 wZ.customNoImage = 'No image selected'; 284 // Reload 285 wZ.lowerThanThreshhold = 'Must be higher than the balance threshold'; 286 wZ.reloadFreq = 'Reload Frequency is required'; 287 wZ.reloadAmt = 'Reload Amount is required'; 288 // Rewards 289 wZ.noRewards = 'No rewards available'; 290 // Order History 291 wZ.noTransactions = 'No transactions to display'; 292 // Misc 293 wZ.moduleNotAvail = 'This module is not available.'; 294 295 return wZ; 296 297}(jQuery)); 298 299var CWS_MiscMsg = (function ($) { 300 var wG = {}; 301 302 wG.inCartTxt = 'Items in cart'; 303 wG.emptyCart = 'Your Cart is Empty'; 304 wG.loyaltyStatusInfo = 'Loyalty Status Info Popup'; 305 wG.continueShopping = 'Continue Shopping'; 306 wG.browseCards = 'Browse Cards'; 307 wG.closeBrowseCards = 'Close Card Browser'; 308 wG.infoUpdated = 'Your information has been updated.'; 309 310 return wG; 311 312}(jQuery));
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.