PageSourceSearch

https://boutique.healthandco.fr/core/aboshop/data.factory.js?v=

js healthandco.fr collected 2026-10-03 00:22:18 UTC 3,099 bytes, 115 lines download raw bytes

1'use strict'; //
2
3// ****************************************************
4//  Donnee de test
5// ****************************************************
6angular.module('AboShopApp').factory('dataManager', ['commonConfig',function (commonConfig) {
7	var factory = {};
8			
9	factory.getSetEmailData = function getSetEmailData(){
10		var contact = {};
11		if(commonConfig.enTest){
12			contact.codeClient = "761227";
13			contact.cp = 35002;
14			contact.civilite = "Mr";
15			contact.nom = "Dupond";
16			contact.prenom = "Martin";
17			contact.email = "[email protected]";
18			contact.testpassword = "Coucou91";
19		}
20		return contact;
21	};
22        
23    factory.getAddressData = function getAddressData(address){
24		if(commonConfig.enTest){
25			address={};
26			address.titreAdresse = "MonAdresse";
27			address.adresse1="Cher Mr Smith";
28			address.adresse2="18 Avenue du Général De Gaulle";
29			address.adresse3="Etage 3";
30			address.codepostal="35000";
31			address.ville="Rennes";
32			address.pays="XXXXX";
33			address.telephone="0252430264";
34			address.telecopie="0952430264";
35			address.societe="Tbs";
36			address.civilite = "M.";
37			address.nom = "Dupond";
38			address.prenom = "Martin";
39			address.portable = "0655450872";
40			address.email = "[email protected]";
41		}
42		if(address !== undefined){
43			return address;
44		} else {
45			return {};
46		}
47		
48	};
49	
50	factory.getShareData = function getShareData(){
51		var contact = {};
52		if(commonConfig.enTest){
53			contact.name = "Martin Dupond";
54			contact.email = "[email protected]";
55			contact.message = "Voici mon message. &éè Pas Content !!!";
56		}
57		return contact;
58	};
59	
60	factory.getCustomerData = function getCustomerData(){
61		var customer = {};
62		if(commonConfig.enTest){
63			customer.email = "[email protected]";
64			customer.testpassword = "Coucou91";
65			
66			customer.acceptterms = true;
67		}
68		return customer;
69	};
70	
71	factory.getPaymentData = function getPaymentData(){
72		var payment = {};
73		if(commonConfig.enTest){
74			payment.firstname = "Martin";
75			payment.lastname = "Dupond";
76			payment.cardnumber = "1111222233334444";
77			payment.expirationdatemonth = "09";
78			payment.expirationdateyear = "2018";
79			payment.securitycode = "123";
80		}
81		return payment;
82	};
83	
84	factory.getPaymentSepa = function getPaymentSepa(){
85		var payment = {};
86		if(commonConfig.enTest){
87			payment.bic = "DAAEFRPPCCT";
88			payment.iban = "FR1430001019010000Z67067032";
89		}
90		return payment;
91	};
92	
93	factory.getCommentData = function getCommentData(){
94		var comment = {};
95		if(commonConfig.enTest){
96			comment.message = "Voici mon message. &éè Pas Content !!!";
97		}
98		return comment;
99	};
100	
101	factory.getContactData = function getContactData(){
102		var contact = {};
103		if(commonConfig.enTest){
104			contact.name = "Martin Dupond";
105			contact.email = "[email protected]";
106			contact.message = "Voici mon message. &éè Pas Content !!! Voici mon message. &éè Pas Content !!! Voici mon message. &éè Pas Content !!!";
107		}
108		return contact;
109	};
110
111	// [email protected]
112	// Comiqu3
113	
114    return factory;
115}]);

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.