Mundipagg_Integracao - Version 2.8.0

Version Notes

Support for With Error credit card transaction status.

Now all fields from response JSON are recorded in the transactions and in the order payment model.

Download this release

Release Info

Developer MundiPagg
Extension Mundipagg_Integracao
Version 2.8.0
Comparing to
See all releases


Code changes from version 2.7.4 to 2.8.0

app/code/community/Uecommerce/Mundipagg/Helper/Util.php CHANGED
@@ -3,7 +3,20 @@
3
  class Uecommerce_Mundipagg_Helper_Util extends Mage_Core_Helper_Abstract {
4
 
5
  public function jsonEncodePretty($input) {
6
- return json_encode($input, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  }
8
 
9
  }
3
  class Uecommerce_Mundipagg_Helper_Util extends Mage_Core_Helper_Abstract {
4
 
5
  public function jsonEncodePretty($input) {
6
+ $version = phpversion();
7
+ $version = explode('.', $version);
8
+ $version = $version[0] . $version[1];
9
+ $version = intval($version);
10
+
11
+ // JSON Variables available only in PHP 5.4
12
+ if ($version <= 53) {
13
+ $result = json_encode($input);
14
+
15
+ } else {
16
+ $result = json_encode($input, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
17
+ }
18
+
19
+ return $result;
20
  }
21
 
22
  }
app/code/community/Uecommerce/Mundipagg/Model/Api.php CHANGED
@@ -1298,6 +1298,9 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
1298
  $recurrence = Mage::getModel('mundipagg/recurrency');
1299
  $recurrence->checkRecurrencesByOrder($order);
1300
 
 
 
 
1301
  $lowerStatus = strtolower($status);
1302
 
1303
  switch ($lowerStatus) {
@@ -1544,6 +1547,21 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
1544
  return "OK | {$returnMessage}";
1545
  break;
1546
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1547
  // For other status we add comment to history
1548
  default:
1549
  $returnMessage = "Order #{$order->getIncrementId()} | unexpected transaction status: {$status}";
@@ -1903,7 +1921,7 @@ class Uecommerce_Mundipagg_Model_Api extends Uecommerce_Mundipagg_Model_Standard
1903
  $fromEmail = Mage::getStoreConfig('trans_email/ident_sales/email');
1904
  $toEmail = Mage::getStoreConfig('trans_email/ident_custom1/email');
1905
  $toName = Mage::getStoreConfig('trans_email/ident_custom1/name');
1906
- $bcc = array('ruan.azevedo@gmail.com', 'razevedo@mundipagg.com');
1907
  $subject = 'Error Report - MundiPagg Magento Integration';
1908
  $body = "Error Report from: {$_SERVER['HTTP_HOST']}<br><br>{$message}";
1909
 
1298
  $recurrence = Mage::getModel('mundipagg/recurrency');
1299
  $recurrence->checkRecurrencesByOrder($order);
1300
 
1301
+ $statusWithError = Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum::WITH_ERROR;
1302
+ $statusWithError = strtolower($statusWithError);
1303
+
1304
  $lowerStatus = strtolower($status);
1305
 
1306
  switch ($lowerStatus) {
1547
  return "OK | {$returnMessage}";
1548
  break;
1549
 
1550
+ case $statusWithError:
1551
+ try {
1552
+ Uecommerce_Mundipagg_Model_Standard::transactionWithError($order, false);
1553
+ $returnMessage = "OK | {$returnMessageLabel} | Order changed to WithError status";
1554
+
1555
+ } catch (Exception $e) {
1556
+ $returnMessage = "KO | {$returnMessageLabel} | {$e->getMessage()}";
1557
+ }
1558
+
1559
+ $helperLog->info($returnMessage);
1560
+
1561
+ return $returnMessage;
1562
+
1563
+ break;
1564
+
1565
  // For other status we add comment to history
1566
  default:
1567
  $returnMessage = "Order #{$order->getIncrementId()} | unexpected transaction status: {$status}";
1921
  $fromEmail = Mage::getStoreConfig('trans_email/ident_sales/email');
1922
  $toEmail = Mage::getStoreConfig('trans_email/ident_custom1/email');
1923
  $toName = Mage::getStoreConfig('trans_email/ident_custom1/name');
1924
+ $bcc = array('razevedo@mundipagg.com');
1925
  $subject = 'Error Report - MundiPagg Magento Integration';
1926
  $body = "Error Report from: {$_SERVER['HTTP_HOST']}<br><br>{$message}";
1927
 
app/code/community/Uecommerce/Mundipagg/Model/Standard.php CHANGED
@@ -692,7 +692,7 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
692
  // $data['CreditCardTransactionCollection']['AmountInCents'] = $payment->getOrder()->getBaseGrandTotal() * 100;
693
  // $data['CreditCardTransactionCollection']['TransactionKey'] = $TransactionKey;
694
  // $data['CreditCardTransactionCollection']['TransactionReference'] = $TransactionReference;
695
- $orderkeys = (array) $payment->getAdditionalInformation('OrderKey');
696
 
697
  foreach ($orderkeys as $orderkey) {
698
  $data['OrderKey'] = $orderkey;
@@ -1175,8 +1175,23 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1175
  // Payment gateway error
1176
  if (isset($approvalRequest['error'])) {
1177
 
1178
- // Partial payment
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1179
  if (isset($approvalRequest['ErrorCode']) && $approvalRequest['ErrorCode'] == 'multi') {
 
1180
 
1181
  // We set authorized amount
1182
  $orderGrandTotal = $order->getGrandTotal();
@@ -1204,7 +1219,6 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1204
  $order->save();
1205
 
1206
  } else {
1207
- $helperLog->info("TESTE1: cancel");
1208
  Mage::getSingleton('checkout/session')->setApprovalRequestSuccess('cancel');
1209
  }
1210
  } else {
@@ -1731,6 +1745,8 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1731
  * @return void
1732
  */
1733
  public function getOrderPlaceRedirectUrl() {
 
 
1734
  switch (Mage::getSingleton('checkout/session')->getApprovalRequestSuccess()) {
1735
  case 'debit':
1736
  $redirectUrl = Mage::getSingleton('checkout/session')->getBankRedirectUrl();
@@ -1740,6 +1756,10 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1740
  $redirectUrl = Mage::getUrl('mundipagg/standard/success', array('_secure' => true));
1741
  break;
1742
 
 
 
 
 
1743
  case 'partial':
1744
  $redirectUrl = Mage::getUrl('mundipagg/standard/partial', array('_secure' => true));
1745
  break;
@@ -1880,15 +1900,22 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1880
  }
1881
 
1882
  foreach ($transactionAdditionalInfo as $transKey => $value) {
 
1883
  if (!is_array($value)) {
1884
  $transaction->setAdditionalInformation($transKey, htmlspecialchars_decode($value));
1885
-
1886
  $payment->setAdditionalInformation($num . '_' . $transKey, htmlspecialchars_decode($value));
 
1887
  } else {
1888
- foreach ($value as $key2 => $value2) {
1889
- $transaction->setAdditionalInformation($key2, htmlspecialchars_decode($value2));
1890
 
1891
- $payment->setAdditionalInformation($num . '_' . $key2, htmlspecialchars_decode($value2));
 
 
 
 
 
 
 
 
1892
  }
1893
  }
1894
  }
@@ -1929,4 +1956,30 @@ class Uecommerce_Mundipagg_Model_Standard extends Mage_Payment_Model_Method_Abst
1929
  }*/
1930
  }
1931
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1932
  }
692
  // $data['CreditCardTransactionCollection']['AmountInCents'] = $payment->getOrder()->getBaseGrandTotal() * 100;
693
  // $data['CreditCardTransactionCollection']['TransactionKey'] = $TransactionKey;
694
  // $data['CreditCardTransactionCollection']['TransactionReference'] = $TransactionReference;
695
+ $orderkeys = (array)$payment->getAdditionalInformation('OrderKey');
696
 
697
  foreach ($orderkeys as $orderkey) {
698
  $data['OrderKey'] = $orderkey;
1175
  // Payment gateway error
1176
  if (isset($approvalRequest['error'])) {
1177
 
1178
+ if (isset($approvalRequest['ErrorItemCollection'])) {
1179
+ $errorItemCollection = $approvalRequest['ErrorItemCollection'];
1180
+
1181
+ if (isset($errorItemCollection['ErrorItem']['ErrorCode'])) {
1182
+ $errorCode = $errorItemCollection['ErrorItem']['ErrorCode'];
1183
+
1184
+ if ($errorCode == '504') {
1185
+ $statusWithError = Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum::WITH_ERROR;
1186
+ Mage::getSingleton('checkout/session')->setApprovalRequestSuccess($statusWithError);
1187
+
1188
+ return $approvalRequest;
1189
+ }
1190
+ }
1191
+ }
1192
+
1193
  if (isset($approvalRequest['ErrorCode']) && $approvalRequest['ErrorCode'] == 'multi') {
1194
+ // Partial payment
1195
 
1196
  // We set authorized amount
1197
  $orderGrandTotal = $order->getGrandTotal();
1219
  $order->save();
1220
 
1221
  } else {
 
1222
  Mage::getSingleton('checkout/session')->setApprovalRequestSuccess('cancel');
1223
  }
1224
  } else {
1745
  * @return void
1746
  */
1747
  public function getOrderPlaceRedirectUrl() {
1748
+ $statusWithError = Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum::WITH_ERROR;
1749
+
1750
  switch (Mage::getSingleton('checkout/session')->getApprovalRequestSuccess()) {
1751
  case 'debit':
1752
  $redirectUrl = Mage::getSingleton('checkout/session')->getBankRedirectUrl();
1756
  $redirectUrl = Mage::getUrl('mundipagg/standard/success', array('_secure' => true));
1757
  break;
1758
 
1759
+ case $statusWithError:
1760
+ $redirectUrl = Mage::getUrl('mundipagg/standard/success', array('_secure' => true));
1761
+ break;
1762
+
1763
  case 'partial':
1764
  $redirectUrl = Mage::getUrl('mundipagg/standard/partial', array('_secure' => true));
1765
  break;
1900
  }
1901
 
1902
  foreach ($transactionAdditionalInfo as $transKey => $value) {
1903
+
1904
  if (!is_array($value)) {
1905
  $transaction->setAdditionalInformation($transKey, htmlspecialchars_decode($value));
 
1906
  $payment->setAdditionalInformation($num . '_' . $transKey, htmlspecialchars_decode($value));
1907
+
1908
  } else {
 
 
1909
 
1910
+ if (empty($value)) {
1911
+ $transaction->setAdditionalInformation($transKey, '');
1912
+ $payment->setAdditionalInformation($num . '_' . $transKey, '');
1913
+
1914
+ } else {
1915
+ foreach ($value as $key2 => $value2) {
1916
+ $transaction->setAdditionalInformation($key2, htmlspecialchars_decode($value2));
1917
+ $payment->setAdditionalInformation($num . '_' . $key2, htmlspecialchars_decode($value2));
1918
+ }
1919
  }
1920
  }
1921
  }
1956
  }*/
1957
  }
1958
 
1959
+ /**
1960
+ * @param Mage_Sales_Model_Order $order
1961
+ * @throws Exception
1962
+ */
1963
+ public static function transactionWithError(Mage_Sales_Model_Order $order, $comment = true) {
1964
+ try {
1965
+ if ($comment) {
1966
+ $order->setState(
1967
+ 'pending',
1968
+ 'mundipagg_with_error',
1969
+ 'With Error',
1970
+ false
1971
+ );
1972
+ } else {
1973
+ $order->setStatus('mundipagg_with_error');
1974
+ }
1975
+
1976
+ $order->save();
1977
+
1978
+ } catch (Exception $e) {
1979
+ $errMsg = "Unable to modify order status to 'mundipagg_with_error: {$e->getMessage()}";
1980
+
1981
+ throw new Exception($errMsg);
1982
+ }
1983
+ }
1984
+
1985
  }
app/code/community/Uecommerce/Mundipagg/controllers/StandardController.php CHANGED
@@ -316,6 +316,22 @@ class Uecommerce_Mundipagg_StandardController extends Mage_Core_Controller_Front
316
  public function successAction() {
317
  $session = Mage::getSingleton('checkout/session');
318
  $approvalRequestSuccess = $session->getApprovalRequestSuccess();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
319
 
320
  if (!$this->getRequest()->isPost() && ($approvalRequestSuccess == 'success' || $approvalRequestSuccess == 'debit')) {
321
  if (!$session->getLastSuccessQuoteId()) {
316
  public function successAction() {
317
  $session = Mage::getSingleton('checkout/session');
318
  $approvalRequestSuccess = $session->getApprovalRequestSuccess();
319
+ $statusWithError = Uecommerce_Mundipagg_Model_Enum_CreditCardTransactionStatusEnum::WITH_ERROR;
320
+
321
+ if ($approvalRequestSuccess == $statusWithError) {
322
+ $lastOrderId = Mage::getSingleton('checkout/session')->getLastOrderId();
323
+ $order = Mage::getModel('sales/order')->load($lastOrderId);
324
+
325
+ try{
326
+ Uecommerce_Mundipagg_Model_Standard::transactionWithError($order);
327
+
328
+ } catch (Exception $e){
329
+ $log = new Uecommerce_Mundipagg_Helper_Log(__METHOD__);
330
+ $log->error($e->getMessage());
331
+ }
332
+
333
+ $approvalRequestSuccess = 'success';
334
+ }
335
 
336
  if (!$this->getRequest()->isPost() && ($approvalRequestSuccess == 'success' || $approvalRequestSuccess == 'debit')) {
337
  if (!$session->getLastSuccessQuoteId()) {
app/code/community/Uecommerce/Mundipagg/controllers/TestController.php DELETED
@@ -1,139 +0,0 @@
1
- <?php
2
-
3
- class Uecommerce_Mundipagg_TestController extends Uecommerce_Mundipagg_Controller_Abstract {
4
-
5
- public function indexAction() {
6
- $model = Mage::getModel('customer/customer');
7
-
8
- foreach ($model->getCollection() as $i) {
9
- $customer = $model->load($i->getId());
10
-
11
- var_dump($customer->getData());
12
- }
13
- }
14
-
15
- public function createCustomerAction() {
16
- $customer = Mage::getModel('customer/customer');
17
-
18
- $customer->setWebsiteId(1)
19
- ->setGroupId(1)
20
- ->setEmail('teste@teste.com')
21
- ->setGender(1)
22
- ->setFirstname('Teste')
23
- ->setLastname('Testelastname')
24
- ->setTaxvat('74769331258')
25
- ->setPassword('Teste@123');
26
-
27
- try {
28
- $customer->save();
29
-
30
- echo '<p>customer created</p>';
31
-
32
- } catch (Exception $e) {
33
- echo $e->getTraceAsString();
34
- }
35
-
36
- $address = Mage::getModel('customer/address');
37
-
38
- $address->setCustomerId($customer->getId())
39
- ->setFirstname($customer->getFirstname())
40
- ->setLastnmae($customer->getLastname())
41
- ->setCountryId('BR')
42
- ->setPostcode('20021130')
43
- ->setCity('Rio de Janeiro')
44
- ->setTelephone('21988880000')
45
- ->setStreet('Av General Justo 375')
46
- ->setRegionId('RJ')
47
- ->setVatId($customer->getTaxvat())
48
- ->setIsDefaultBilling(1)
49
- ->setIsDefaultShipping(1)
50
- ->setSaveInAddressBook(1);
51
-
52
- try {
53
- $address->save();
54
- echo '<p>address created</p>';
55
-
56
- } catch (Exception $e) {
57
- echo $e->getTraceAsString();
58
- }
59
-
60
- }
61
-
62
- public function createProductAction() {
63
- Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID);
64
-
65
- $product = Mage::getModel('catalog/product');
66
-
67
- $product->setAttributeSetId(4)
68
- ->setTypeId('simple')
69
- ->setSku('000005')
70
- ->setName('Produto de teste do script')
71
- ->setWeight(10)
72
- ->setStatus(1)
73
- ->setTaxClassId(0)//tax class (0 - none, 1 - default, 2 - taxable, 4 - shipping)
74
- ->setVisibility(Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH)
75
- ->setPrice(10.00)
76
- ->setDescription('Produto de teste')
77
- ->setShortDescription('Produto de teste');
78
-
79
- // ->setStockData(array(
80
- // 'manage_stock' => 0,
81
- // 'use_config_manage_stock' => 0,
82
- // 'use_config_min_sale_qty' => 1,
83
- // 'use_config_max_sale_qty' => 1,
84
- // 'use_config_enable_qty_increments' => 1,
85
- //// 'low_stock_date' => strtotime('now')
86
- // 'low_stock_date' => '2016-08-11 21:11:38'
87
- // ));
88
-
89
- // $stock->setLowStockDate(now())
90
- // ->setManageStock(0)
91
- // ->setUseConfigManageStock(0)
92
- // ->setUseConfigMinSaleQty(1)
93
- // ->setUseConfigMaxSaleQty(1)
94
- // ->setUseConfigEnableQtyIncrements(1);
95
- //
96
- // $product->setStockData($stock);
97
-
98
- try {
99
- $product->save();
100
- echo '<p>Produto criado</p>';
101
-
102
- } catch (Exception $e) {
103
- echo "<p>{$e->getMessage()}</p>";
104
- echo "<p>{$e->getTraceAsString()}</p>";
105
- }
106
- }
107
-
108
- public function testeProductAction() {
109
- $id = Mage::getModel('catalog/product')->getCollection()->getLastItem()->getId();
110
- $product = Mage::getModel('catalog/product')->load($id);
111
- $stock = $product->getStockItem();
112
-
113
- var_dump(get_class($stock));
114
-
115
-
116
- // var_dump($product->getData());
117
- // var_dump(get_class($stock));
118
- var_dump($stock->getData());
119
- }
120
-
121
- public function authorizeAmountAction() {
122
- $amount = 1;
123
- $orderId = 100000068;
124
-
125
- $order = Mage::getModel('sales/order')->loadByIncrementId($orderId);
126
-
127
- try{
128
- $order->setPaymentAuthorizationAmount($amount);
129
- $order->save();
130
-
131
- echo 'success';
132
-
133
- } catch (Exception $e){
134
- echo "Error {$e->getMessage()}";
135
- }
136
-
137
- }
138
-
139
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Uecommerce/Mundipagg/controllers/TesteController.php DELETED
@@ -1,117 +0,0 @@
1
- <?php
2
-
3
- class Uecommerce_Mundipagg_TesteController extends Uecommerce_Mundipagg_Controller_Abstract {
4
-
5
- public function indexAction() {
6
- $order = Mage::getModel('sales/order')->loadByIncrementId('100000012');
7
- $payment = $order->getPayment();
8
- $paymentMethod = $payment->getMethodInstance()->getCode();
9
-
10
- var_dump($paymentMethod);
11
- var_dump(get_class($payment));
12
- var_dump($payment->getAdditionalInformation());
13
- }
14
-
15
- public function processOrderAction() {
16
- $api = new Uecommerce_Mundipagg_Model_Api();
17
- $xml = file_get_contents('/var/www/magento19/teste.xml');
18
- $postData = array(
19
- 'xmlStatusNotification' => $xml
20
- );
21
-
22
- $response = $api->processOrder($postData);
23
-
24
- echo $response;
25
- }
26
-
27
- public function transactionsAction() {
28
- $resource = Mage::getSingleton('core/resource');
29
- $conn = $resource->getConnection('core_write');
30
- $query = '
31
- UPDATE sales_payment_transaction
32
- SET is_closed = 0
33
- WHERE transaction_id = 75
34
- ';
35
-
36
- try {
37
- $conn->query($query);
38
- echo 'success';
39
-
40
- } catch (Exception $e) {
41
- echo "Error: " . $e->getMessage();
42
- }
43
- }
44
-
45
- public function customerAction() {
46
- $customerSesion = Mage::getSingleton('customer/session');
47
- $customer = Mage::getModel('customer/customer')->load($customerSesion->getId());
48
-
49
- $orders = Mage::getModel('sales/order')->getCollection()
50
- ->addFieldToFilter('customer_id', $customer->getId())
51
- ->addFieldToFilter('increment_id', '100000026');
52
-
53
- var_dump($orders);
54
-
55
- // echo "orders found: ".count($orders);
56
- //
57
- // foreach ($orders as $order){
58
- // var_dump($order->getData());
59
- // }
60
- }
61
-
62
- public function notificationsAction() {
63
- $model = Mage::getModel('adminnotification/inbox')
64
- ->getCollection()
65
- ->addFilter('url', 'https://www.magentocommerce.com/magento-connect/mundipagg-payment-gateway.html')
66
- ->setOrder('date_added', 'desc')
67
- ->getLastItem();
68
-
69
- var_dump($model->getData());
70
-
71
- // foreach ($model->getCollection() as $item) {
72
- // var_dump($item->getData());
73
- // }
74
-
75
- }
76
-
77
- public function lastNotifAction() {
78
- $model = new Uecommerce_Mundipagg_Model_Admin_Notification();
79
- $data = $model->getLastSavedNotification();
80
-
81
- var_dump($data->getData());
82
-
83
- }
84
-
85
- public function testeRedirectAction() {
86
- $this->_redirect('mundipagg/standard/cancel');
87
- }
88
-
89
- public function attributeAction() {
90
- $attributeCodes = array('mundipagg_frequency_enum', 'mundipagg_recurrences');
91
-
92
- foreach ($attributeCodes as $attributeCode) {
93
- try {
94
- $attribute = new Mage_Eav_Model_Entity_Attribute();
95
- $attribute->loadByCode(Mage_Catalog_Model_Product::ENTITY, $attributeCode);
96
-
97
- $attribute->setIsRequired(false);
98
- $attribute->save();
99
-
100
- var_dump($attribute->getData());
101
-
102
- } catch (Exception $e) {
103
- echo $e->getMessage();
104
-
105
- return;
106
- }
107
- }
108
- }
109
-
110
- public function invoiceAction() {
111
- $invoice = Mage::getModel('sales/order_invoice')->loadByIncrementId(100000003);
112
-
113
- var_dump($invoice->getData());
114
-
115
- }
116
-
117
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/community/Uecommerce/Mundipagg/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Uecommerce_Mundipagg>
5
- <version>2.7.4</version>
6
  </Uecommerce_Mundipagg>
7
  </modules>
8
 
@@ -136,7 +136,7 @@
136
  </rewrite>
137
  </checkout>
138
  </blocks>
139
-
140
  <helpers>
141
  <mundipagg>
142
  <class>Uecommerce_Mundipagg_Helper</class>
@@ -254,7 +254,7 @@
254
  </adminhtml>
255
  </routers>
256
  </admin>
257
-
258
  <default>
259
  <payment>
260
  <mundipagg_standard>
2
  <config>
3
  <modules>
4
  <Uecommerce_Mundipagg>
5
+ <version>2.8.0</version>
6
  </Uecommerce_Mundipagg>
7
  </modules>
8
 
136
  </rewrite>
137
  </checkout>
138
  </blocks>
139
+
140
  <helpers>
141
  <mundipagg>
142
  <class>Uecommerce_Mundipagg_Helper</class>
254
  </adminhtml>
255
  </routers>
256
  </admin>
257
+
258
  <default>
259
  <payment>
260
  <mundipagg_standard>
app/code/community/Uecommerce/Mundipagg/etc/system.xml CHANGED
@@ -1,34 +1,4 @@
1
  <?xml version="1.0"?>
2
- <!--
3
- /**
4
- * Uecommerce
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Uecommerce EULA.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://www.uecommerce.com.br/
11
- *
12
- * DISCLAIMER
13
- *
14
- * Do not edit or add to this file if you wish to upgrade the extension
15
- * to newer versions in the future. If you wish to customize the extension
16
- * for your needs please refer to http://www.uecommerce.com.br/ for more information
17
- *
18
- * @category Uecommerce
19
- * @package Uecommerce_Mundipagg
20
- * @copyright Copyright (c) 2012 Uecommerce (http://www.uecommerce.com.br/)
21
- * @license http://www.uecommerce.com.br/
22
- */
23
-
24
- /**
25
- * Mundipagg Payment module
26
- *
27
- * @category Uecommerce
28
- * @package Uecommerce_Mundipagg
29
- * @author Uecommerce Dev Team
30
- */
31
- -->
32
  <config>
33
  <sections>
34
  <payment translate="label" module="payment">
@@ -153,6 +123,19 @@
153
  <show_in_store>1</show_in_store>
154
  </antifraud_provider>
155
 
 
 
 
 
 
 
 
 
 
 
 
 
 
156
  <environment_fcontrol translate="label">
157
  <label>Fingerprint environment</label>
158
  <frontend_type>select</frontend_type>
@@ -160,8 +143,9 @@
160
  <depends>
161
  <antifraud>1</antifraud>
162
  <antifraud_provider>2</antifraud_provider>
 
163
  </depends>
164
- <sort_order>10</sort_order>
165
  <show_in_default>1</show_in_default>
166
  <show_in_website>1</show_in_website>
167
  <show_in_store>1</show_in_store>
@@ -170,10 +154,11 @@
170
  <fcontrol_key_sandbox translate="label">
171
  <label>FControl sandbox key</label>
172
  <frontend_type>text</frontend_type>
173
- <sort_order>11</sort_order>
174
  <depends>
175
  <antifraud>1</antifraud>
176
  <antifraud_provider>2</antifraud_provider>
 
177
  <environment_fcontrol>1</environment_fcontrol>
178
  </depends>
179
  <show_in_default>1</show_in_default>
@@ -185,7 +170,7 @@
185
  <fcontrol_key_production translate="label">
186
  <label>FControl production key</label>
187
  <frontend_type>text</frontend_type>
188
- <sort_order>11</sort_order>
189
  <depends>
190
  <antifraud>1</antifraud>
191
  <antifraud_provider>2</antifraud_provider>
@@ -200,10 +185,11 @@
200
  <clearsale_entitycode translate="label">
201
  <label>EntityCode</label>
202
  <frontend_type>text</frontend_type>
203
- <sort_order>10</sort_order>
204
  <depends>
205
  <antifraud>1</antifraud>
206
  <antifraud_provider>1</antifraud_provider>
 
207
  </depends>
208
  <show_in_default>1</show_in_default>
209
  <show_in_website>1</show_in_website>
@@ -214,10 +200,11 @@
214
  <clearsale_app translate="label">
215
  <label>AppKey</label>
216
  <frontend_type>text</frontend_type>
217
- <sort_order>11</sort_order>
218
  <depends>
219
  <antifraud>1</antifraud>
220
  <antifraud_provider>1</antifraud_provider>
 
221
  </depends>
222
  <show_in_default>1</show_in_default>
223
  <show_in_website>1</show_in_website>
@@ -228,10 +215,11 @@
228
  <stone_entitycode translate="label">
229
  <label>EntityCode</label>
230
  <frontend_type>text</frontend_type>
231
- <sort_order>10</sort_order>
232
  <depends>
233
  <antifraud>1</antifraud>
234
  <antifraud_provider>3</antifraud_provider>
 
235
  </depends>
236
  <show_in_default>1</show_in_default>
237
  <show_in_website>1</show_in_website>
@@ -242,10 +230,11 @@
242
  <stone_app translate="label">
243
  <label>AppKey</label>
244
  <frontend_type>text</frontend_type>
245
- <sort_order>11</sort_order>
246
  <depends>
247
  <antifraud>1</antifraud>
248
  <antifraud_provider>3</antifraud_provider>
 
249
  </depends>
250
  <show_in_default>1</show_in_default>
251
  <show_in_website>1</show_in_website>
@@ -257,7 +246,7 @@
257
  <label>Credit Card Issuers</label>
258
  <frontend_type>multiselect</frontend_type>
259
  <source_model>Uecommerce_Mundipagg_Model_Source_Cctypes</source_model>
260
- <sort_order>12</sort_order>
261
  <show_in_default>1</show_in_default>
262
  <show_in_website>1</show_in_website>
263
  <show_in_store>1</show_in_store>
@@ -267,7 +256,7 @@
267
  <heading_installments translate="label">
268
  <label>Installments and Interest</label>
269
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
270
- <sort_order>13</sort_order>
271
  <show_in_default>1</show_in_default>
272
  <show_in_website>1</show_in_website>
273
  <show_in_store>0</show_in_store>
@@ -277,7 +266,7 @@
277
  <label>Ativar parcelamento?</label>
278
  <frontend_type>select</frontend_type>
279
  <source_model>adminhtml/system_config_source_yesno</source_model>
280
- <sort_order>14</sort_order>
281
  <show_in_default>1</show_in_default>
282
  <show_in_website>1</show_in_website>
283
  <show_in_store>1</show_in_store>
@@ -287,7 +276,7 @@
287
  <label>Exibir total com juros ao lado das parcelas?</label>
288
  <frontend_type>select</frontend_type>
289
  <source_model>adminhtml/system_config_source_yesno</source_model>
290
- <sort_order>15</sort_order>
291
  <show_in_default>1</show_in_default>
292
  <show_in_website>1</show_in_website>
293
  <show_in_store>1</show_in_store>
@@ -297,7 +286,7 @@
297
  <label>Qual parcelamento exibir na página do produto?</label>
298
  <frontend_type>select</frontend_type>
299
  <source_model>Uecommerce_Mundipagg_Model_Source_CctypeProductInstallments</source_model>
300
- <sort_order>16</sort_order>
301
  <show_in_default>1</show_in_default>
302
  <show_in_website>1</show_in_website>
303
  <show_in_store>1</show_in_store>
@@ -305,7 +294,7 @@
305
 
306
  <setoldsettings translate="label comment tooltip">
307
  <label>Set old settings</label>
308
- <sort_order>17</sort_order>
309
  <frontend_type>button</frontend_type>
310
  <frontend_model>mundipagg/adminhtml_system_config_form_button</frontend_model>
311
  <show_in_default>1</show_in_default>
@@ -323,7 +312,7 @@
323
  <label>Installments default</label>
324
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
325
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
326
- <sort_order>18</sort_order>
327
  <show_in_default>1</show_in_default>
328
  <show_in_website>1</show_in_website>
329
  <show_in_store>1</show_in_store>
@@ -334,7 +323,7 @@
334
  <label>Installments for Visa</label>
335
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
336
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
337
- <sort_order>19</sort_order>
338
  <show_in_default>1</show_in_default>
339
  <show_in_website>1</show_in_website>
340
  <show_in_store>1</show_in_store>
@@ -345,7 +334,7 @@
345
  <label>Installments for Mastercard</label>
346
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
347
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
348
- <sort_order>20</sort_order>
349
  <show_in_default>1</show_in_default>
350
  <show_in_website>1</show_in_website>
351
  <show_in_store>1</show_in_store>
@@ -356,7 +345,7 @@
356
  <label>Installments for Amex</label>
357
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
358
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
359
- <sort_order>21</sort_order>
360
  <show_in_default>1</show_in_default>
361
  <show_in_website>1</show_in_website>
362
  <show_in_store>1</show_in_store>
@@ -367,7 +356,7 @@
367
  <label>Installments for Diners</label>
368
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
369
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
370
- <sort_order>22</sort_order>
371
  <show_in_default>1</show_in_default>
372
  <show_in_website>1</show_in_website>
373
  <show_in_store>1</show_in_store>
@@ -379,7 +368,7 @@
379
  <label>Installments for Elo</label>
380
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
381
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
382
- <sort_order>23</sort_order>
383
  <show_in_default>1</show_in_default>
384
  <show_in_website>1</show_in_website>
385
  <show_in_store>1</show_in_store>
@@ -390,7 +379,7 @@
390
  <label>Installments for Hipercard</label>
391
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
392
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
393
- <sort_order>24</sort_order>
394
  <show_in_default>1</show_in_default>
395
  <show_in_website>1</show_in_website>
396
  <show_in_store>1</show_in_store>
@@ -399,7 +388,7 @@
399
  <offline_retry_heading translate="label">
400
  <label>Offline Retry</label>
401
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
402
- <sort_order>25</sort_order>
403
  <show_in_default>1</show_in_default>
404
  <show_in_website>1</show_in_website>
405
  <show_in_store>0</show_in_store>
@@ -409,7 +398,7 @@
409
  <label>Enabled</label>
410
  <frontend_type>select</frontend_type>
411
  <source_model>adminhtml/system_config_source_yesno</source_model>
412
- <sort_order>26</sort_order>
413
  <show_in_default>1</show_in_default>
414
  <show_in_website>1</show_in_website>
415
  <show_in_store>0</show_in_store>
@@ -418,7 +407,7 @@
418
  <delayed_retry_max_time translate="label">
419
  <label>Max time to retry in minutes</label>
420
  <frontend_type>text</frontend_type>
421
- <sort_order>27</sort_order>
422
  <depends>
423
  <offline_retry_enabled>1</offline_retry_enabled>
424
  </depends>
@@ -431,7 +420,7 @@
431
  <heading_extras translate="label">
432
  <label>Extras</label>
433
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
434
- <sort_order>30</sort_order>
435
  <show_in_default>1</show_in_default>
436
  <show_in_website>1</show_in_website>
437
  <show_in_store>0</show_in_store>
1
  <?xml version="1.0"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <config>
3
  <sections>
4
  <payment translate="label" module="payment">
123
  <show_in_store>1</show_in_store>
124
  </antifraud_provider>
125
 
126
+ <fingerprint translate="label">
127
+ <label>Use fingerprint</label>
128
+ <frontend_type>select</frontend_type>
129
+ <source_model>adminhtml/system_config_source_yesno</source_model>
130
+ <depends>
131
+ <antifraud>1</antifraud>
132
+ </depends>
133
+ <sort_order>10</sort_order>
134
+ <show_in_default>1</show_in_default>
135
+ <show_in_website>1</show_in_website>
136
+ <show_in_store>1</show_in_store>
137
+ </fingerprint>
138
+
139
  <environment_fcontrol translate="label">
140
  <label>Fingerprint environment</label>
141
  <frontend_type>select</frontend_type>
143
  <depends>
144
  <antifraud>1</antifraud>
145
  <antifraud_provider>2</antifraud_provider>
146
+ <fingerprint>1</fingerprint>
147
  </depends>
148
+ <sort_order>11</sort_order>
149
  <show_in_default>1</show_in_default>
150
  <show_in_website>1</show_in_website>
151
  <show_in_store>1</show_in_store>
154
  <fcontrol_key_sandbox translate="label">
155
  <label>FControl sandbox key</label>
156
  <frontend_type>text</frontend_type>
157
+ <sort_order>12</sort_order>
158
  <depends>
159
  <antifraud>1</antifraud>
160
  <antifraud_provider>2</antifraud_provider>
161
+ <fingerprint>1</fingerprint>
162
  <environment_fcontrol>1</environment_fcontrol>
163
  </depends>
164
  <show_in_default>1</show_in_default>
170
  <fcontrol_key_production translate="label">
171
  <label>FControl production key</label>
172
  <frontend_type>text</frontend_type>
173
+ <sort_order>12</sort_order>
174
  <depends>
175
  <antifraud>1</antifraud>
176
  <antifraud_provider>2</antifraud_provider>
185
  <clearsale_entitycode translate="label">
186
  <label>EntityCode</label>
187
  <frontend_type>text</frontend_type>
188
+ <sort_order>11</sort_order>
189
  <depends>
190
  <antifraud>1</antifraud>
191
  <antifraud_provider>1</antifraud_provider>
192
+ <fingerprint>1</fingerprint>
193
  </depends>
194
  <show_in_default>1</show_in_default>
195
  <show_in_website>1</show_in_website>
200
  <clearsale_app translate="label">
201
  <label>AppKey</label>
202
  <frontend_type>text</frontend_type>
203
+ <sort_order>12</sort_order>
204
  <depends>
205
  <antifraud>1</antifraud>
206
  <antifraud_provider>1</antifraud_provider>
207
+ <fingerprint>1</fingerprint>
208
  </depends>
209
  <show_in_default>1</show_in_default>
210
  <show_in_website>1</show_in_website>
215
  <stone_entitycode translate="label">
216
  <label>EntityCode</label>
217
  <frontend_type>text</frontend_type>
218
+ <sort_order>11</sort_order>
219
  <depends>
220
  <antifraud>1</antifraud>
221
  <antifraud_provider>3</antifraud_provider>
222
+ <fingerprint>1</fingerprint>
223
  </depends>
224
  <show_in_default>1</show_in_default>
225
  <show_in_website>1</show_in_website>
230
  <stone_app translate="label">
231
  <label>AppKey</label>
232
  <frontend_type>text</frontend_type>
233
+ <sort_order>12</sort_order>
234
  <depends>
235
  <antifraud>1</antifraud>
236
  <antifraud_provider>3</antifraud_provider>
237
+ <fingerprint>1</fingerprint>
238
  </depends>
239
  <show_in_default>1</show_in_default>
240
  <show_in_website>1</show_in_website>
246
  <label>Credit Card Issuers</label>
247
  <frontend_type>multiselect</frontend_type>
248
  <source_model>Uecommerce_Mundipagg_Model_Source_Cctypes</source_model>
249
+ <sort_order>13</sort_order>
250
  <show_in_default>1</show_in_default>
251
  <show_in_website>1</show_in_website>
252
  <show_in_store>1</show_in_store>
256
  <heading_installments translate="label">
257
  <label>Installments and Interest</label>
258
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
259
+ <sort_order>14</sort_order>
260
  <show_in_default>1</show_in_default>
261
  <show_in_website>1</show_in_website>
262
  <show_in_store>0</show_in_store>
266
  <label>Ativar parcelamento?</label>
267
  <frontend_type>select</frontend_type>
268
  <source_model>adminhtml/system_config_source_yesno</source_model>
269
+ <sort_order>15</sort_order>
270
  <show_in_default>1</show_in_default>
271
  <show_in_website>1</show_in_website>
272
  <show_in_store>1</show_in_store>
276
  <label>Exibir total com juros ao lado das parcelas?</label>
277
  <frontend_type>select</frontend_type>
278
  <source_model>adminhtml/system_config_source_yesno</source_model>
279
+ <sort_order>16</sort_order>
280
  <show_in_default>1</show_in_default>
281
  <show_in_website>1</show_in_website>
282
  <show_in_store>1</show_in_store>
286
  <label>Qual parcelamento exibir na página do produto?</label>
287
  <frontend_type>select</frontend_type>
288
  <source_model>Uecommerce_Mundipagg_Model_Source_CctypeProductInstallments</source_model>
289
+ <sort_order>17</sort_order>
290
  <show_in_default>1</show_in_default>
291
  <show_in_website>1</show_in_website>
292
  <show_in_store>1</show_in_store>
294
 
295
  <setoldsettings translate="label comment tooltip">
296
  <label>Set old settings</label>
297
+ <sort_order>18</sort_order>
298
  <frontend_type>button</frontend_type>
299
  <frontend_model>mundipagg/adminhtml_system_config_form_button</frontend_model>
300
  <show_in_default>1</show_in_default>
312
  <label>Installments default</label>
313
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
314
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
315
+ <sort_order>19</sort_order>
316
  <show_in_default>1</show_in_default>
317
  <show_in_website>1</show_in_website>
318
  <show_in_store>1</show_in_store>
323
  <label>Installments for Visa</label>
324
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
325
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
326
+ <sort_order>20</sort_order>
327
  <show_in_default>1</show_in_default>
328
  <show_in_website>1</show_in_website>
329
  <show_in_store>1</show_in_store>
334
  <label>Installments for Mastercard</label>
335
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
336
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
337
+ <sort_order>21</sort_order>
338
  <show_in_default>1</show_in_default>
339
  <show_in_website>1</show_in_website>
340
  <show_in_store>1</show_in_store>
345
  <label>Installments for Amex</label>
346
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
347
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
348
+ <sort_order>22</sort_order>
349
  <show_in_default>1</show_in_default>
350
  <show_in_website>1</show_in_website>
351
  <show_in_store>1</show_in_store>
356
  <label>Installments for Diners</label>
357
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
358
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
359
+ <sort_order>23</sort_order>
360
  <show_in_default>1</show_in_default>
361
  <show_in_website>1</show_in_website>
362
  <show_in_store>1</show_in_store>
368
  <label>Installments for Elo</label>
369
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
370
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
371
+ <sort_order>24</sort_order>
372
  <show_in_default>1</show_in_default>
373
  <show_in_website>1</show_in_website>
374
  <show_in_store>1</show_in_store>
379
  <label>Installments for Hipercard</label>
380
  <frontend_model>mundipagg/adminhtml_form_field_installments</frontend_model>
381
  <backend_model>mundipagg/system_config_backend_installments</backend_model>
382
+ <sort_order>25</sort_order>
383
  <show_in_default>1</show_in_default>
384
  <show_in_website>1</show_in_website>
385
  <show_in_store>1</show_in_store>
388
  <offline_retry_heading translate="label">
389
  <label>Offline Retry</label>
390
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
391
+ <sort_order>26</sort_order>
392
  <show_in_default>1</show_in_default>
393
  <show_in_website>1</show_in_website>
394
  <show_in_store>0</show_in_store>
398
  <label>Enabled</label>
399
  <frontend_type>select</frontend_type>
400
  <source_model>adminhtml/system_config_source_yesno</source_model>
401
+ <sort_order>27</sort_order>
402
  <show_in_default>1</show_in_default>
403
  <show_in_website>1</show_in_website>
404
  <show_in_store>0</show_in_store>
407
  <delayed_retry_max_time translate="label">
408
  <label>Max time to retry in minutes</label>
409
  <frontend_type>text</frontend_type>
410
+ <sort_order>28</sort_order>
411
  <depends>
412
  <offline_retry_enabled>1</offline_retry_enabled>
413
  </depends>
420
  <heading_extras translate="label">
421
  <label>Extras</label>
422
  <frontend_model>adminhtml/system_config_form_field_heading</frontend_model>
423
+ <sort_order>29</sort_order>
424
  <show_in_default>1</show_in_default>
425
  <show_in_website>1</show_in_website>
426
  <show_in_store>0</show_in_store>
app/code/community/Uecommerce/Mundipagg/sql/mundipagg_setup/mysql4-upgrade-2.7.4-2.8.0.php ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ $installer = $this;
3
+ $prefix = Mage::getConfig()->getTablePrefix();
4
+
5
+ $statusTable = $installer->getTable('sales/order_status');
6
+ $statusStateTable = $installer->getTable('sales/order_status_state');
7
+
8
+ $installer->getConnection()->insertArray(
9
+ $statusTable,
10
+ array(
11
+ 'status',
12
+ 'label'
13
+ ),
14
+ array(
15
+ array('status' => 'mundipagg_with_error', 'label' => 'With Error')
16
+ )
17
+ );
18
+
19
+ // Insert states and mapping of statuses to states
20
+ $installer->getConnection()->insertArray(
21
+ $statusStateTable,
22
+ array(
23
+ 'status',
24
+ 'state',
25
+ 'is_default'
26
+ ),
27
+ array(
28
+ array(
29
+ 'status' => 'mundipagg_with_error',
30
+ 'state' => 'pending',
31
+ 'is_default' => 0
32
+ )
33
+ )
34
+ );
app/design/frontend/base/default/layout/mundipagg.xml CHANGED
@@ -1,34 +1,4 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <!--
3
- /**
4
- * Uecommerce
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Uecommerce EULA.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://www.uecommerce.com.br/
11
- *
12
- * DISCLAIMER
13
- *
14
- * Do not edit or add to this file if you wish to upgrade the extension
15
- * to newer versions in the future. If you wish to customize the extension
16
- * for your needs please refer to http://www.uecommerce.com.br/ for more information
17
- *
18
- * @category Uecommerce
19
- * @package Uecommerce_Mundipagg
20
- * @copyright Copyright (c) 2012 Uecommerce (http://www.uecommerce.com.br/)
21
- * @license http://www.uecommerce.com.br/
22
- */
23
-
24
- /**
25
- * Mundipagg Payment module
26
- *
27
- * @category Uecommerce
28
- * @package Uecommerce_Mundipagg
29
- * @author Uecommerce Dev Team
30
- */
31
- -->
32
  <layout version="0.1.0">
33
  <checkout_onepage_index>
34
  <reference name="head">
@@ -54,6 +24,7 @@
54
  <block type="core/template" name="stone" template="mundipagg/antifraud/stone.phtml"/>
55
  </reference>
56
  </reference>
 
57
  </checkout_onepage_index>
58
  <onepagecheckout_index_index translate="label">
59
  <reference name="head">
1
  <?xml version="1.0" encoding="UTF-8"?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  <layout version="0.1.0">
3
  <checkout_onepage_index>
4
  <reference name="head">
24
  <block type="core/template" name="stone" template="mundipagg/antifraud/stone.phtml"/>
25
  </reference>
26
  </reference>
27
+
28
  </checkout_onepage_index>
29
  <onepagecheckout_index_index translate="label">
30
  <reference name="head">
app/design/frontend/base/default/template/mundipagg/antifraud/fcontrol.phtml CHANGED
@@ -1,4 +1,11 @@
1
  <?php
 
 
 
 
 
 
 
2
  $fcontrol = Mage::getStoreConfig('payment/mundipagg_standard/antifraud');
3
  $antifraudProvider = Mage::getStoreConfig('payment/mundipagg_standard/antifraud_provider');
4
  $environment = Mage::getStoreConfig('payment/mundipagg_standard/environment_fcontrol');
@@ -12,48 +19,7 @@ if ($environment == Uecommerce_Mundipagg_Model_Source_FControlEnvironment::SANDB
12
  if ($fcontrol && $antifraudProvider == Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_FCONTROL): ?>
13
 
14
  <script type="text/javascript" src="<?php echo $scriptUrl; ?>"></script>
15
- <script type="text/javascript">
16
- //jQuery.jQuery.noConflict();
17
-
18
- jQuery(document).ready(function ($) {
19
-
20
- $.ajax({
21
- method: 'POST',
22
- url: '/mundipagg/fcontrol/getConfig',
23
- dataType: 'JSON'
24
-
25
- }).done(function (data) {
26
- var fp = new FcontrolFingerprint();
27
- fp.send(data.key, data.sessionId);
28
- });
29
-
30
- $(document).ajaxComplete(function (event, request, settings) {
31
- if (typeof settings.url != 'undefined') {
32
- if (settings.url.match(/\/fcontrol\/fingerprint\//)) {
33
-
34
- var logRequest = settings.data;
35
- var logResponse = request.responseText;
36
- var url = '/mundipagg/fcontrol/logFp';
37
-
38
- $.post(url, {event: 'request', data: logRequest}, function () {
39
- $.post(url, {event: 'response', data: logResponse});
40
- });
41
- }
42
- }
43
-
44
- });
45
-
46
- var reportError = function (message) {
47
- jQuery.ajax({
48
- method: 'POST',
49
- url: '/mundipagg/fcontrol/reportError',
50
- dataType: 'JSON',
51
- data: {message: message}
52
- });
53
- };
54
-
55
- });
56
-
57
- </script>
58
 
59
  <?php endif; ?>
1
  <?php
2
+
3
+ $fingerprintIsEnabled = Mage::getStoreConfig('payment/mundipagg_standard/fingerprint');
4
+
5
+ if (!$fingerprintIsEnabled) {
6
+ return;
7
+ }
8
+
9
  $fcontrol = Mage::getStoreConfig('payment/mundipagg_standard/antifraud');
10
  $antifraudProvider = Mage::getStoreConfig('payment/mundipagg_standard/antifraud_provider');
11
  $environment = Mage::getStoreConfig('payment/mundipagg_standard/environment_fcontrol');
19
  if ($fcontrol && $antifraudProvider == Uecommerce_Mundipagg_Model_Source_Antifraud::ANTIFRAUD_FCONTROL): ?>
20
 
21
  <script type="text/javascript" src="<?php echo $scriptUrl; ?>"></script>
22
+ <script type="text/javascript" src="/js/uecommerce/jquery-3.1.0.min.js"></script>
23
+ <script type="text/javascript" src="/js/uecommerce/fcontrol/fingerprint-fcontrol.js"></script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
  <?php endif; ?>
app/locale/pt_BR/Uecommerce_Mundipagg.csv CHANGED
@@ -199,4 +199,5 @@
199
  "Max time to wait for an authorization. After this, the order will be cancelled.","Tempo máximo para esperar por uma autorização. Após este prazo, pedido será cancelado."
200
  "Fingerprint environment","Ambiente fingerprint"
201
  "Unable to save product configuration","Não foi possível salvar a configuração do produto"
202
- "Internal error","Erro interno"
 
199
  "Max time to wait for an authorization. After this, the order will be cancelled.","Tempo máximo para esperar por uma autorização. Após este prazo, pedido será cancelado."
200
  "Fingerprint environment","Ambiente fingerprint"
201
  "Unable to save product configuration","Não foi possível salvar a configuração do produto"
202
+ "Internal error","Erro interno"
203
+ "With Error","Com erro"
js/uecommerce/fcontrol/fingerprint-fcontrol.js ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.noConflict();
2
+
3
+ jQuery(document).ready(function ($) {
4
+
5
+ $.ajaxSetup({
6
+ method: 'POST',
7
+ dataType: 'JSON',
8
+ async: true
9
+ });
10
+
11
+ $.ajax({url: '/mundipagg/fcontrol/getConfig'}).done(function (data) {
12
+ var fp = new FcontrolFingerprint();
13
+ fp.send(data.key, data.sessionId);
14
+ });
15
+
16
+ $(document).ajaxComplete(function (event, request, settings) {
17
+ if (typeof settings.url != 'undefined') {
18
+ if (settings.url.match(/\/fcontrol\/fingerprint\//)) {
19
+ var logRequest = settings.data;
20
+
21
+ var logResponse = {
22
+ statusCode: request.status,
23
+ statusText: request.statusText
24
+ };
25
+
26
+ var responseText = request.responseText
27
+
28
+ if (responseText.length > 0) {
29
+ logResponse.fcontrolResponse = request.responseText
30
+ }
31
+
32
+ logResponse = JSON.stringify(logResponse);
33
+
34
+ $.ajaxSetup({
35
+ url: '/mundipagg/fcontrol/logFp',
36
+ method: 'POST',
37
+ dataType: 'JSON',
38
+ async: true
39
+ });
40
+
41
+ $.ajax({data: {event: 'Request', data: logRequest}})
42
+ .always(function () {
43
+ $.ajax({
44
+ data: {
45
+ event: 'Response',
46
+ data: logResponse
47
+ }
48
+ });
49
+ });
50
+ }
51
+ }
52
+
53
+ });
54
+
55
+ var reportError = function (message) {
56
+ jQuery.ajax({
57
+ method: 'POST',
58
+ url: '/mundipagg/fcontrol/reportError',
59
+ dataType: 'JSON',
60
+ data: {message: message}
61
+ });
62
+ };
63
+
64
+ });
js/uecommerce/fcontrol/fingerprint-sandbox.js ADDED
@@ -0,0 +1,368 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !function (a, b, c) {
2
+ "use strict";
3
+ "undefined" != typeof module && module.exports ? module.exports = c() : "function" == typeof define && define.amd ? define(c) : b[a] = c()
4
+ }("FcontrolFingerprint", this, function () {
5
+ "use strict";
6
+ Array.prototype.indexOf || (Array.prototype.indexOf = function (a, b) {
7
+ var c;
8
+ if (null == this)throw new TypeError("'this' is null or undefined");
9
+ var d = Object(this), e = d.length >>> 0;
10
+ if (0 === e)return -1;
11
+ var f = +b || 0;
12
+ if (Math.abs(f) === 1 / 0 && (f = 0), f >= e)return -1;
13
+ for (c = Math.max(f >= 0 ? f : e - Math.abs(f), 0); e > c;) {
14
+ if (c in d && d[c] === a)return c;
15
+ c++
16
+ }
17
+ return -1
18
+ });
19
+ var a = function (a) {
20
+ var b = {
21
+ swfContainerId: "fingerprintjs2",
22
+ swfPath: "flash/compiled/FontList.swf",
23
+ sortPluginsFor: [/palemoon/i]
24
+ };
25
+ this.options = this.extend(a, b), this.nativeForEach = Array.prototype.forEach, this.nativeMap = Array.prototype.map
26
+ };
27
+ return a.prototype = {
28
+ extend: function (a, b) {
29
+ if (null == a)return b;
30
+ for (var c in a)null != a[c] && b[c] !== a[c] && (b[c] = a[c]);
31
+ return b
32
+ }, log: function (a) {
33
+ window.console && console.log(a)
34
+ }, get: function (b) {
35
+ var c = [];
36
+ c = this.userAgentKey(c), c = this.languageKey(c), c = this.colorDepthKey(c), c = this.timezoneOffsetKey(c), c = this.sessionStorageKey(c), c = this.localStorageKey(c), c = this.indexedDbKey(c), c = this.addBehaviorKey(c), c = this.openDatabaseKey(c), c = this.cpuClassKey(c), c = this.platformKey(c), c = this.doNotTrackKey(c), c = this.pluginsKey(c), c = this.canvasKey(c), c = this.webglKey(c), c = this.adBlockKey(c), c = this.hasLiedLanguagesKey(c), c = this.hasLiedResolutionKey(c), c = this.hasLiedOsKey(c), c = this.hasLiedBrowserKey(c), c = this.touchSupportKey(c);
37
+ var d = this;
38
+ this.fontsKey(c, function (c) {
39
+ var e = d.x64hash128(c.join("~~~"), 31), f = new Object, g = new a;
40
+ return f.deviceId = e, f.userAgentKey = g.keyToObject(g.userAgentKey([])), f.languageKey = g.keyToObject(g.languageKey([])), f.timezoneOffsetKey = g.keyToObject(g.timezoneOffsetKey([])), f.cpuClassKey = g.keyToObject(g.cpuClassKey([])), f.platformKey = g.keyToObject(g.platformKey([])), b(f)
41
+ })
42
+ }, userAgentKey: function (a) {
43
+ return this.options.excludeUserAgent || a.push(this.getUserAgent()), a
44
+ }, getUserAgent: function () {
45
+ return navigator.userAgent
46
+ }, languageKey: function (a) {
47
+ return this.options.excludeLanguage || a.push(navigator.language), a
48
+ }, colorDepthKey: function (a) {
49
+ return this.options.excludeColorDepth || a.push(screen.colorDepth), a
50
+ }, screenResolutionKey: function (a) {
51
+ return this.options.excludeScreenResolution ? a : this.getScreenResolution(a)
52
+ }, getScreenResolution: function (a) {
53
+ var b, c;
54
+ return b = this.options.detectScreenOrientation ? screen.height > screen.width ? [screen.height, screen.width] : [screen.width, screen.height] : screen.width + " X " + screen.height, "undefined" != typeof b && a.push(b), screen.availWidth && screen.availHeight && (c = this.options.detectScreenOrientation ? screen.availHeight > screen.availWidth ? [screen.availHeight, screen.availWidth] : [screen.availWidth, screen.availHeight] : screen.availHeight + " X " + screen.availWidth), "undefined" != typeof c && a.push(c), a
55
+ }, timezoneOffsetKey: function (a) {
56
+ return this.options.excludeTimezoneOffset || a.push((new Date).getTimezoneOffset()), a
57
+ }, sessionStorageKey: function (a) {
58
+ return !this.options.excludeSessionStorage && this.hasSessionStorage() && a.push("sessionStorageKey"), a
59
+ }, localStorageKey: function (a) {
60
+ return !this.options.excludeSessionStorage && this.hasLocalStorage() && a.push("localStorageKey"), a
61
+ }, indexedDbKey: function (a) {
62
+ return !this.options.excludeIndexedDB && this.hasIndexedDB() && a.push("indexedDbKey"), a
63
+ }, addBehaviorKey: function (a) {
64
+ return document.body && !this.options.excludeAddBehavior && document.body.addBehavior && a.push("addBehaviorKey"), a
65
+ }, openDatabaseKey: function (a) {
66
+ return !this.options.excludeOpenDatabase && window.openDatabase && a.push("openDatabase"), a
67
+ }, cpuClassKey: function (a) {
68
+ return this.options.excludeCpuClass || a.push(this.getNavigatorCpuClass()), a
69
+ }, platformKey: function (a) {
70
+ return this.options.excludePlatform || a.push(this.getNavigatorPlatform()), a
71
+ }, doNotTrackKey: function (a) {
72
+ return this.options.excludeDoNotTrack || a.push(this.getDoNotTrack()), a
73
+ }, canvasKey: function (a) {
74
+ return !this.options.excludeCanvas && this.isCanvasSupported() && a.push(this.getCanvasFp()), a
75
+ }, webglKey: function (a) {
76
+ return this.options.excludeWebGL ? ("undefined" == typeof NODEBUG && this.log("Skipping WebGL fingerprinting per excludeWebGL configuration option"), a) : this.isWebGlSupported() ? (a.push(this.getWebglFp()), a) : ("undefined" == typeof NODEBUG && this.log("Skipping WebGL fingerprinting because it is not supported in this browser"), a)
77
+ }, adBlockKey: function (a) {
78
+ return this.options.excludeAdBlock || a.push(this.getAdBlock()), a
79
+ }, hasLiedLanguagesKey: function (a) {
80
+ return this.options.excludeHasLiedLanguages || a.push(this.getHasLiedLanguages()), a
81
+ }, hasLiedResolutionKey: function (a) {
82
+ return this.options.excludeHasLiedResolution || a.push(this.getHasLiedResolution()), a
83
+ }, hasLiedOsKey: function (a) {
84
+ return this.options.excludeHasLiedOs || a.push(this.getHasLiedOs()), a
85
+ }, hasLiedBrowserKey: function (a) {
86
+ return this.options.excludeHasLiedBrowser || a.push(this.getHasLiedBrowser()), a
87
+ }, fontsKey: function (a, b) {
88
+ return this.options.excludeJsFonts ? this.flashFontsKey(a, b) : this.jsFontsKey(a, b)
89
+ }, flashFontsKey: function (a, b) {
90
+ return this.options.excludeFlashFonts ? ("undefined" == typeof NODEBUG && this.log("Skipping flash fonts detection per excludeFlashFonts configuration option"), b(a)) : this.hasSwfObjectLoaded() ? this.hasMinFlashInstalled() ? "undefined" == typeof this.options.swfPath ? ("undefined" == typeof NODEBUG && this.log("To use Flash fonts detection, you must pass a valid swfPath option, skipping Flash fonts enumeration"), b(a)) : void this.loadSwfAndDetectFonts(function (c) {
91
+ a.push(c.join(";")), b(a)
92
+ }) : ("undefined" == typeof NODEBUG && this.log("Flash is not installed, skipping Flash fonts enumeration"), b(a)) : ("undefined" == typeof NODEBUG && this.log("Swfobject is not detected, Flash fonts enumeration is skipped"), b(a))
93
+ }, jsFontsKey: function (a, b) {
94
+ return setTimeout(function () {
95
+ var c = ["monospace", "sans-serif", "serif"], d = "mmmmmmmmmmlli", e = "72px", f = document.getElementsByTagName("body")[0], g = document.createElement("span");
96
+ g.style.fontSize = e, g.innerHTML = d;
97
+ var h = {}, i = {};
98
+ for (var j in c)g.style.fontFamily = c[j], f.appendChild(g), h[c[j]] = g.offsetWidth, i[c[j]] = g.offsetHeight, f.removeChild(g);
99
+ for (var k = function (a) {
100
+ var b = !1;
101
+ for (var d in c) {
102
+ g.style.fontFamily = a + "," + c[d], f.appendChild(g);
103
+ var e = g.offsetWidth !== h[c[d]] || g.offsetHeight !== i[c[d]];
104
+ f.removeChild(g), b = b || e
105
+ }
106
+ return b
107
+ }, l = ["Abadi MT Condensed Light", "Academy Engraved LET", "ADOBE CASLON PRO", "Adobe Garamond", "ADOBE GARAMOND PRO", "Agency FB", "Aharoni", "Albertus Extra Bold", "Albertus Medium", "Algerian", "Amazone BT", "American Typewriter", "American Typewriter Condensed", "AmerType Md BT", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "Antique Olive", "Aparajita", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "Arabic Typesetting", "ARCHER", "Arial", "Arial Black", "Arial Hebrew", "Arial MT", "Arial Narrow", "Arial Rounded MT Bold", "Arial Unicode MS", "ARNO PRO", "Arrus BT", "Aurora Cn BT", "AvantGarde Bk BT", "AvantGarde Md BT", "AVENIR", "Ayuthaya", "Bandy", "Bangla Sangam MN", "Bank Gothic", "BankGothic Md BT", "Baskerville", "Baskerville Old Face", "Batang", "BatangChe", "Bauer Bodoni", "Bauhaus 93", "Bazooka", "Bell MT", "Bembo", "Benguiat Bk BT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "BernhardFashion BT", "BernhardMod BT", "Big Caslon", "BinnerD", "Bitstream Vera Sans Mono", "Blackadder ITC", "BlairMdITC TT", "Bodoni 72", "Bodoni 72 Oldstyle", "Bodoni 72 Smallcaps", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Condensed", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Boulder", "Bradley Hand", "Bradley Hand ITC", "Bremen Bd BT", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Calibri", "Californian FB", "Calisto MT", "Calligrapher", "Cambria", "Cambria Math", "Candara", "CaslonOpnface BT", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Cezanne", "CG Omega", "CG Times", "Chalkboard", "Chalkboard SE", "Chalkduster", "Charlesworth", "Charter Bd BT", "Charter BT", "Chaucer", "ChelthmITC Bk BT", "Chiller", "Clarendon", "Clarendon Condensed", "CloisterBlack BT", "Cochin", "Colonna MT", "Comic Sans", "Comic Sans MS", "Consolas", "Constantia", "Cooper Black", "Copperplate", "Copperplate Gothic", "Copperplate Gothic Bold", "Copperplate Gothic Light", "CopperplGoth Bd BT", "Corbel", "Cordia New", "CordiaUPC", "Cornerstone", "Coronet", "Courier", "Courier New", "Cuckoo", "Curlz MT", "DaunPenh", "Dauphin", "David", "DB LCD Temp", "DELICIOUS", "Denmark", "Devanagari Sangam MN", "DFKai-SB", "Didot", "DilleniaUPC", "DIN", "DokChampa", "Dotum", "DotumChe", "Ebrima", "Edwardian Script ITC", "Elephant", "English 111 Vivace BT", "Engravers MT", "EngraversGothic BT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EUROSTILE", "Exotc350 Bd BT", "FangSong", "Felix Titling", "Fixedsys", "FONTIN", "Footlight MT Light", "Forte", "Franklin Gothic", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "FrankRuehl", "Fransiscan", "Freefrm721 Blk BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "FrnkGothITC Bk BT", "Fruitger", "FRUTIGER", "Futura", "Futura Bk BT", "Futura Lt BT", "Futura Md BT", "Futura ZBlk BT", "FuturaBlack BT", "Gabriola", "Galliard BT", "Garamond", "Gautami", "Geeza Pro", "Geneva", "Geometr231 BT", "Geometr231 Hv BT", "Geometr231 Lt BT", "Georgia", "GeoSlab 703 Lt BT", "GeoSlab 703 XBd BT", "Gigi", "Gill Sans", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GOTHAM", "GOTHAM BOLD", "Goudy Old Style", "Goudy Stout", "GoudyHandtooled BT", "GoudyOLSt BT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MN", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather", "Heiti SC", "Heiti TC", "HELV", "Helvetica", "Helvetica Neue", "Herald", "High Tower Text", "Hiragino Kaku Gothic ProN", "Hiragino Mincho ProN", "Hoefler Text", "Humanst 521 Cn BT", "Humanst521 BT", "Humanst521 Lt BT", "Impact", "Imprint MT Shadow", "Incised901 Bd BT", "Incised901 BT", "Incised901 Lt BT", "INCONSOLATA", "Informal Roman", "Informal011 BT", "INTERSTATE", "IrisUPC", "Iskoola Pota", "JasmineUPC", "Jazz LET", "Jenson", "Jester", "Jokerman", "Juice ITC", "Kabel Bk BT", "Kabel Ult BT", "Kailasa", "KaiTi", "Kalinga", "Kannada Sangam MN", "Kartika", "Kaufmann Bd BT", "Kaufmann BT", "Khmer UI", "KodchiangUPC", "Kokila", "Korinna BT", "Kristen ITC", "Krungthep", "Kunstler Script", "Lao UI", "Latha", "Leelawadee", "Letter Gothic", "Levenim MT", "LilyUPC", "Lithograph", "Lithograph Light", "Long Island", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "LUCIDA GRANDE", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "Lydian BT", "Magneto", "Maiandra GD", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marigold", "Marion", "Marker Felt", "Market", "Marlett", "Matisse ITC", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft Yi Baiti", "MingLiU", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiU-ExtB", "Minion", "Minion Pro", "Miriam", "Miriam Fixed", "Mistral", "Modern", "Modern No. 20", "Mona Lisa Solid ITC TT", "Monaco", "Mongolian Baiti", "MONO", "Monotype Corsiva", "MoolBoran", "Mrs Eaves", "MS Gothic", "MS LineDraw", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "MS UI Gothic", "MT Extra", "MUSEO", "MV Boli", "MYRIAD", "MYRIAD PRO", "Nadeem", "Narkisim", "NEVIS", "News Gothic", "News GothicMT", "NewsGoth BT", "Niagara Engraved", "Niagara Solid", "Noteworthy", "NSimSun", "Nyala", "OCR A Extended", "Old Century", "Old English Text MT", "Onyx", "Onyx BT", "OPTIMA", "Oriya Sangam MN", "OSAKA", "OzHandicraft BT", "Palace Script MT", "Palatino", "Palatino Linotype", "Papyrus", "Parchment", "Party LET", "Pegasus", "Perpetua", "Perpetua Titling MT", "PetitaBold", "Pickwick", "Plantagenet Cherokee", "Playbill", "PMingLiU", "PMingLiU-ExtB", "Poor Richard", "Poster", "PosterBodoni BT", "PRINCETOWN LET", "Pristina", "PTBarnum BT", "Pythagoras", "Raavi", "Rage Italic", "Ravie", "Ribbon131 Bd BT", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "Sakkal Majalla", "Santa Fe LET", "Savoye LET", "Sceptre", "Script", "Script MT Bold", "SCRIPTINA", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Symbol", "Serifa", "Serifa BT", "Serifa Th BT", "ShelleyVolante BT", "Sherwood", "Shonar Bangla", "Showcard Gothic", "Shruti", "Signboard", "SILKSCREEN", "SimHei", "Simplified Arabic", "Simplified Arabic Fixed", "SimSun", "SimSun-ExtB", "Sinhala Sangam MN", "Sketch Rockwell", "Skia", "Small Fonts", "Snap ITC", "Snell Roundhand", "Socket", "Souvenir Lt BT", "Staccato222 BT", "Steamer", "Stencil", "Storybook", "Styllo", "Subway", "Swis721 BlkEx BT", "Swiss911 XCm BT", "Sylfaen", "Synchro LET", "System", "Tahoma", "Tamil Sangam MN", "Technical", "Teletype", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "Times", "Times New Roman", "Times New Roman PS", "Traditional Arabic", "Trajan", "TRAJAN PRO", "Trebuchet MS", "Tristan", "Tubular", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "TypoUpright BT", "Unicorn", "Univers", "Univers CE 55 Medium", "Univers Condensed", "Utsaah", "Vagabond", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "VisualUI", "Vivaldi", "Vladimir Script", "Vrinda", "Westminster", "WHITNEY", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "ZapfEllipt BT", "ZapfHumnst BT", "ZapfHumnst Dm BT", "Zapfino", "Zurich BlkEx BT", "Zurich Ex BT", "ZWAdobeF"], m = [], n = 0, o = l.length; o > n; n++)k(l[n]) && m.push(l[n]);
108
+ a.push(m.join(";")), b(a)
109
+ }, 1)
110
+ }, pluginsKey: function (a) {
111
+ return this.options.excludePlugins || (this.isIE() ? a.push(this.getIEPluginsString()) : a.push(this.getRegularPluginsString())), a
112
+ }, getRegularPluginsString: function () {
113
+ for (var a = [], b = 0, c = navigator.plugins.length; c > b; b++)a.push(navigator.plugins[b]);
114
+ return this.pluginsShouldBeSorted() && (a = a.sort(function (a, b) {
115
+ return a.name > b.name ? 1 : a.name < b.name ? -1 : 0
116
+ })), this.map(a, function (a) {
117
+ var b = this.map(a, function (a) {
118
+ return [a.type, a.suffixes].join("~")
119
+ }).join(",");
120
+ return [a.name, a.description, b].join("::")
121
+ }, this).join(";")
122
+ }, getIEPluginsString: function () {
123
+ if (window.ActiveXObject) {
124
+ var a = ["AcroPDF.PDF", "Adodb.Stream", "AgControl.AgControl", "DevalVRXCtrl.DevalVRXCtrl.1", "MacromediaFlashPaper.MacromediaFlashPaper", "Msxml2.DOMDocument", "Msxml2.XMLHTTP", "PDF.PdfCtrl", "QuickTime.QuickTime", "QuickTimeCheckObject.QuickTimeCheck.1", "RealPlayer", "RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)", "RealVideo.RealVideo(tm) ActiveX Control (32-bit)", "Scripting.Dictionary", "SWCtl.SWCtl", "Shell.UIHelper", "ShockwaveFlash.ShockwaveFlash", "Skype.Detection", "TDCCtl.TDCCtl", "WMPlayer.OCX", "rmocx.RealPlayer G2 Control", "rmocx.RealPlayer G2 Control.1"];
125
+ return this.map(a, function (a) {
126
+ try {
127
+ return new ActiveXObject(a), a
128
+ } catch (b) {
129
+ return null
130
+ }
131
+ }).join(";")
132
+ }
133
+ return ""
134
+ }, pluginsShouldBeSorted: function () {
135
+ for (var a = !1, b = 0, c = this.options.sortPluginsFor.length; c > b; b++) {
136
+ var d = this.options.sortPluginsFor[b];
137
+ if (navigator.userAgent.match(d)) {
138
+ a = !0;
139
+ break
140
+ }
141
+ }
142
+ return a
143
+ }, touchSupportKey: function (a) {
144
+ return this.options.excludeTouchSupport || a.push(this.getTouchSupport()), a
145
+ }, hasSessionStorage: function () {
146
+ try {
147
+ return !!window.sessionStorage
148
+ } catch (a) {
149
+ return !0
150
+ }
151
+ }, hasLocalStorage: function () {
152
+ try {
153
+ return !!window.localStorage
154
+ } catch (a) {
155
+ return !0
156
+ }
157
+ }, hasIndexedDB: function () {
158
+ return !!window.indexedDB
159
+ }, getNavigatorCpuClass: function () {
160
+ return navigator.cpuClass ? "navigatorCpuClass: " + navigator.cpuClass : "navigatorCpuClass: unknown"
161
+ }, getNavigatorPlatform: function () {
162
+ return navigator.platform ? "navigatorPlatform: " + navigator.platform : "navigatorPlatform: unknown"
163
+ }, getDoNotTrack: function () {
164
+ return navigator.doNotTrack ? "doNotTrack: " + navigator.doNotTrack : "doNotTrack: unknown"
165
+ }, getTouchSupport: function () {
166
+ var a = 0, b = !1;
167
+ "undefined" != typeof navigator.maxTouchPoints ? a = navigator.maxTouchPoints : "undefined" != typeof navigator.msMaxTouchPoints && (a = navigator.msMaxTouchPoints);
168
+ try {
169
+ document.createEvent("TouchEvent"), b = !0
170
+ } catch (c) {
171
+ }
172
+ var d = "ontouchstart" in window;
173
+ return [a, b, d]
174
+ }, getCanvasFp: function () {
175
+ var a = [], b = document.createElement("canvas");
176
+ b.width = 2e3, b.height = 200, b.style.display = "inline";
177
+ var c = b.getContext("2d");
178
+ return c.rect(0, 0, 10, 10), c.rect(2, 2, 6, 6), a.push("canvas winding:" + (c.isPointInPath(5, 5, "evenodd") === !1 ? "yes" : "no")), c.textBaseline = "alphabetic", c.fillStyle = "#f60", c.fillRect(125, 1, 62, 20), c.fillStyle = "#069", this.options.dontUseFakeFontInCanvas ? c.font = "11pt Arial" : c.font = "11pt no-real-font-123", c.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03", 2, 15), c.fillStyle = "rgba(102, 204, 0, 0.7)", c.font = "18pt Arial", c.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03", 4, 45), c.globalCompositeOperation = "multiply", c.fillStyle = "rgb(255,0,255)", c.beginPath(), c.arc(50, 50, 50, 0, 2 * Math.PI, !0), c.closePath(), c.fill(), c.fillStyle = "rgb(0,255,255)", c.beginPath(), c.arc(100, 50, 50, 0, 2 * Math.PI, !0), c.closePath(), c.fill(), c.fillStyle = "rgb(255,255,0)", c.beginPath(), c.arc(75, 100, 50, 0, 2 * Math.PI, !0), c.closePath(), c.fill(), c.fillStyle = "rgb(255,0,255)", c.arc(75, 75, 75, 0, 2 * Math.PI, !0), c.arc(75, 75, 25, 0, 2 * Math.PI, !0), c.fill("evenodd"), a.push("canvas fp:" + b.toDataURL()), a.join("~")
179
+ }, getWebglFp: function () {
180
+ var a, b = function (b) {
181
+ return a.clearColor(0, 0, 0, 1), a.enable(a.DEPTH_TEST), a.depthFunc(a.LEQUAL), a.clear(a.COLOR_BUFFER_BIT | a.DEPTH_BUFFER_BIT), "[" + b[0] + ", " + b[1] + "]"
182
+ }, c = function (a) {
183
+ var b, c = a.getExtension("EXT_texture_filter_anisotropic") || a.getExtension("WEBKIT_EXT_texture_filter_anisotropic") || a.getExtension("MOZ_EXT_texture_filter_anisotropic");
184
+ return c ? (b = a.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT), 0 === b && (b = 2), b) : null
185
+ };
186
+ if (a = this.getWebglCanvas(), !a)return null;
187
+ var d = [], e = "attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}", f = "precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}", g = a.createBuffer();
188
+ a.bindBuffer(a.ARRAY_BUFFER, g);
189
+ var h = new Float32Array([-.2, -.9, 0, .4, -.26, 0, 0, .732134444, 0]);
190
+ a.bufferData(a.ARRAY_BUFFER, h, a.STATIC_DRAW), g.itemSize = 3, g.numItems = 3;
191
+ var i = a.createProgram(), j = a.createShader(a.VERTEX_SHADER);
192
+ a.shaderSource(j, e), a.compileShader(j);
193
+ var k = a.createShader(a.FRAGMENT_SHADER);
194
+ return a.shaderSource(k, f), a.compileShader(k), a.attachShader(i, j), a.attachShader(i, k), a.linkProgram(i), a.useProgram(i), i.vertexPosAttrib = a.getAttribLocation(i, "attrVertex"), i.offsetUniform = a.getUniformLocation(i, "uniformOffset"), a.enableVertexAttribArray(i.vertexPosArray), a.vertexAttribPointer(i.vertexPosAttrib, g.itemSize, a.FLOAT, !1, 0, 0), a.uniform2f(i.offsetUniform, 1, 1), a.drawArrays(a.TRIANGLE_STRIP, 0, g.numItems), null != a.canvas && d.push(a.canvas.toDataURL()), d.push("extensions:" + a.getSupportedExtensions().join(";")), d.push("webgl aliased line width range:" + b(a.getParameter(a.ALIASED_LINE_WIDTH_RANGE))), d.push("webgl aliased point size range:" + b(a.getParameter(a.ALIASED_POINT_SIZE_RANGE))), d.push("webgl alpha bits:" + a.getParameter(a.ALPHA_BITS)), d.push("webgl antialiasing:" + (a.getContextAttributes().antialias ? "yes" : "no")), d.push("webgl blue bits:" + a.getParameter(a.BLUE_BITS)), d.push("webgl depth bits:" + a.getParameter(a.DEPTH_BITS)), d.push("webgl green bits:" + a.getParameter(a.GREEN_BITS)), d.push("webgl max anisotropy:" + c(a)), d.push("webgl max combined texture image units:" + a.getParameter(a.MAX_COMBINED_TEXTURE_IMAGE_UNITS)), d.push("webgl max cube map texture size:" + a.getParameter(a.MAX_CUBE_MAP_TEXTURE_SIZE)), d.push("webgl max fragment uniform vectors:" + a.getParameter(a.MAX_FRAGMENT_UNIFORM_VECTORS)), d.push("webgl max render buffer size:" + a.getParameter(a.MAX_RENDERBUFFER_SIZE)), d.push("webgl max texture image units:" + a.getParameter(a.MAX_TEXTURE_IMAGE_UNITS)), d.push("webgl max texture size:" + a.getParameter(a.MAX_TEXTURE_SIZE)), d.push("webgl max varying vectors:" + a.getParameter(a.MAX_VARYING_VECTORS)), d.push("webgl max vertex attribs:" + a.getParameter(a.MAX_VERTEX_ATTRIBS)), d.push("webgl max vertex texture image units:" + a.getParameter(a.MAX_VERTEX_TEXTURE_IMAGE_UNITS)), d.push("webgl max vertex uniform vectors:" + a.getParameter(a.MAX_VERTEX_UNIFORM_VECTORS)), d.push("webgl max viewport dims:" + b(a.getParameter(a.MAX_VIEWPORT_DIMS))), d.push("webgl red bits:" + a.getParameter(a.RED_BITS)), d.push("webgl renderer:" + a.getParameter(a.RENDERER)), d.push("webgl shading language version:" + a.getParameter(a.SHADING_LANGUAGE_VERSION)), d.push("webgl stencil bits:" + a.getParameter(a.STENCIL_BITS)), d.push("webgl vendor:" + a.getParameter(a.VENDOR)), d.push("webgl version:" + a.getParameter(a.VERSION)), a.getShaderPrecisionFormat ? (d.push("webgl vertex shader high float precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_FLOAT).precision), d.push("webgl vertex shader high float precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_FLOAT).rangeMin), d.push("webgl vertex shader high float precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_FLOAT).rangeMax), d.push("webgl vertex shader medium float precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_FLOAT).precision), d.push("webgl vertex shader medium float precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_FLOAT).rangeMin), d.push("webgl vertex shader medium float precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_FLOAT).rangeMax), d.push("webgl vertex shader low float precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_FLOAT).precision), d.push("webgl vertex shader low float precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_FLOAT).rangeMin), d.push("webgl vertex shader low float precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_FLOAT).rangeMax), d.push("webgl fragment shader high float precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_FLOAT).precision), d.push("webgl fragment shader high float precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_FLOAT).rangeMin), d.push("webgl fragment shader high float precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_FLOAT).rangeMax), d.push("webgl fragment shader medium float precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_FLOAT).precision), d.push("webgl fragment shader medium float precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_FLOAT).rangeMin), d.push("webgl fragment shader medium float precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_FLOAT).rangeMax), d.push("webgl fragment shader low float precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_FLOAT).precision), d.push("webgl fragment shader low float precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_FLOAT).rangeMin), d.push("webgl fragment shader low float precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_FLOAT).rangeMax), d.push("webgl vertex shader high int precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_INT).precision), d.push("webgl vertex shader high int precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_INT).rangeMin), d.push("webgl vertex shader high int precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_INT).rangeMax), d.push("webgl vertex shader medium int precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_INT).precision), d.push("webgl vertex shader medium int precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_INT).rangeMin), d.push("webgl vertex shader medium int precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_INT).rangeMax), d.push("webgl vertex shader low int precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_INT).precision), d.push("webgl vertex shader low int precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_INT).rangeMin), d.push("webgl vertex shader low int precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_INT).rangeMax), d.push("webgl fragment shader high int precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_INT).precision), d.push("webgl fragment shader high int precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_INT).rangeMin), d.push("webgl fragment shader high int precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_INT).rangeMax), d.push("webgl fragment shader medium int precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_INT).precision), d.push("webgl fragment shader medium int precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_INT).rangeMin), d.push("webgl fragment shader medium int precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_INT).rangeMax), d.push("webgl fragment shader low int precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_INT).precision), d.push("webgl fragment shader low int precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_INT).rangeMin), d.push("webgl fragment shader low int precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_INT).rangeMax), d.join("~")) : ("undefined" == typeof NODEBUG && this.log("WebGL fingerprinting is incomplete, because your browser does not support getShaderPrecisionFormat"), d.join("~"))
195
+ }, getAdBlock: function () {
196
+ var a = document.createElement("div");
197
+ return a.setAttribute("id", "ads"), document.body.appendChild(a), document.getElementById("ads") ? !1 : !0
198
+ }, getHasLiedLanguages: function () {
199
+ if ("undefined" != typeof navigator.languages)try {
200
+ var a = navigator.languages[0].substr(0, 2);
201
+ if (a !== navigator.language.substr(0, 2))return !0
202
+ } catch (b) {
203
+ return !0
204
+ }
205
+ return !1
206
+ }, getHasLiedResolution: function () {
207
+ return screen.width < screen.availWidth ? !0 : screen.height < screen.availHeight ? !0 : !1
208
+ }, getHasLiedOs: function () {
209
+ var d, a = navigator.userAgent.toLowerCase(), b = navigator.oscpu, c = navigator.platform.toLowerCase();
210
+ d = a.indexOf("windows phone") >= 0 ? "Windows Phone" : a.indexOf("win") >= 0 ? "Windows" : a.indexOf("android") >= 0 ? "Android" : a.indexOf("linux") >= 0 ? "Linux" : a.indexOf("iphone") >= 0 || a.indexOf("ipad") >= 0 ? "iOS" : a.indexOf("mac") >= 0 ? "Mac" : "Other";
211
+ var e;
212
+ if (e = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? !0 : !1, e && "Windows Phone" !== d && "Android" !== d && "iOS" !== d && "Other" !== d)return !0;
213
+ if ("undefined" != typeof b) {
214
+ if (b = b.toLowerCase(), b.indexOf("win") >= 0 && "Windows" !== d && "Windows Phone" !== d)return !0;
215
+ if (b.indexOf("linux") >= 0 && "Linux" !== d && "Android" !== d)return !0;
216
+ if (b.indexOf("mac") >= 0 && "Mac" !== d && "iOS" !== d)return !0;
217
+ if (0 === b.indexOf("win") && 0 === b.indexOf("linux") && b.indexOf("mac") >= 0 && "other" !== d)return !0
218
+ }
219
+ return c.indexOf("win") >= 0 && "Windows" !== d && "Windows Phone" !== d ? !0 : (c.indexOf("linux") >= 0 || c.indexOf("android") >= 0 || c.indexOf("pike") >= 0) && "Linux" !== d && "Android" !== d ? !0 : (c.indexOf("mac") >= 0 || c.indexOf("ipad") >= 0 || c.indexOf("ipod") >= 0 || c.indexOf("iphone") >= 0) && "Mac" !== d && "iOS" !== d ? !0 : 0 === c.indexOf("win") && 0 === c.indexOf("linux") && c.indexOf("mac") >= 0 && "other" !== d ? !0 : "undefined" == typeof navigator.plugins && "Windows" !== d && "Windows Phone" !== d ? !0 : !1
220
+ }, getHasLiedBrowser: function () {
221
+ var c, a = navigator.userAgent.toLowerCase(), b = navigator.productSub;
222
+ if (c = a.indexOf("firefox") >= 0 ? "Firefox" : a.indexOf("opera") >= 0 || a.indexOf("opr") >= 0 ? "Opera" : a.indexOf("chrome") >= 0 ? "Chrome" : a.indexOf("safari") >= 0 ? "Safari" : a.indexOf("trident") >= 0 ? "Internet Explorer" : "Other", ("Chrome" === c || "Safari" === c || "Opera" === c) && "20030107" !== b)return !0;
223
+ var d = eval.toString().length;
224
+ if (37 === d && "Safari" !== c && "Firefox" !== c && "Other" !== c)return !0;
225
+ if (39 === d && "Internet Explorer" !== c && "Other" !== c)return !0;
226
+ if (33 === d && "Chrome" !== c && "Opera" !== c && "Other" !== c)return !0;
227
+ var e;
228
+ try {
229
+ throw"a"
230
+ } catch (f) {
231
+ try {
232
+ f.toSource(), e = !0
233
+ } catch (g) {
234
+ e = !1
235
+ }
236
+ }
237
+ return e && "Firefox" !== c && "Other" !== c ? !0 : !1
238
+ }, isCanvasSupported: function () {
239
+ var a = document.createElement("canvas");
240
+ return !(!a.getContext || !a.getContext("2d"))
241
+ }, isWebGlSupported: function () {
242
+ if (!this.isCanvasSupported())return !1;
243
+ var b, a = document.createElement("canvas");
244
+ try {
245
+ b = a.getContext && (a.getContext("webgl") || a.getContext("experimental-webgl"))
246
+ } catch (c) {
247
+ b = !1
248
+ }
249
+ return !!window.WebGLRenderingContext && !!b
250
+ }, isIE: function () {
251
+ return "Microsoft Internet Explorer" === navigator.appName ? !0 : "Netscape" === navigator.appName && /Trident/.test(navigator.userAgent) ? !0 : !1
252
+ }, hasSwfObjectLoaded: function () {
253
+ return "undefined" != typeof window.swfobject
254
+ }, hasMinFlashInstalled: function () {
255
+ return swfobject.hasFlashPlayerVersion("9.0.0")
256
+ }, addFlashDivNode: function () {
257
+ var a = document.createElement("div");
258
+ a.setAttribute("id", this.options.swfContainerId), document.body.appendChild(a)
259
+ }, loadSwfAndDetectFonts: function (a) {
260
+ var b = "___fp_swf_loaded";
261
+ window[b] = function (b) {
262
+ a(b)
263
+ };
264
+ var c = this.options.swfContainerId;
265
+ this.addFlashDivNode();
266
+ var d = {onReady: b}, e = {allowScriptAccess: "always", menu: "false"};
267
+ swfobject.embedSWF(this.options.swfPath, c, "1", "1", "9.0.0", !1, d, e, {})
268
+ }, getWebglCanvas: function () {
269
+ var a = document.createElement("canvas"), b = null;
270
+ try {
271
+ b = a.getContext("webgl") || a.getContext("experimental-webgl")
272
+ } catch (c) {
273
+ }
274
+ return b || (b = null), b
275
+ }, each: function (a, b, c) {
276
+ if (null !== a)if (this.nativeForEach && a.forEach === this.nativeForEach)a.forEach(b, c); else if (a.length === +a.length) {
277
+ for (var d = 0, e = a.length; e > d; d++)if (b.call(c, a[d], d, a) === {})return
278
+ } else for (var f in a)if (a.hasOwnProperty(f) && b.call(c, a[f], f, a) === {})return
279
+ }, map: function (a, b, c) {
280
+ var d = [];
281
+ return null == a ? d : this.nativeMap && a.map === this.nativeMap ? a.map(b, c) : (this.each(a, function (a, e, f) {
282
+ d[d.length] = b.call(c, a, e, f)
283
+ }), d)
284
+ }, x64Add: function (a, b) {
285
+ a = [a[0] >>> 16, 65535 & a[0], a[1] >>> 16, 65535 & a[1]], b = [b[0] >>> 16, 65535 & b[0], b[1] >>> 16, 65535 & b[1]];
286
+ var c = [0, 0, 0, 0];
287
+ return c[3] += a[3] + b[3], c[2] += c[3] >>> 16, c[3] &= 65535, c[2] += a[2] + b[2], c[1] += c[2] >>> 16, c[2] &= 65535, c[1] += a[1] + b[1], c[0] += c[1] >>> 16, c[1] &= 65535, c[0] += a[0] + b[0], c[0] &= 65535, [c[0] << 16 | c[1], c[2] << 16 | c[3]]
288
+ }, x64Multiply: function (a, b) {
289
+ a = [a[0] >>> 16, 65535 & a[0], a[1] >>> 16, 65535 & a[1]], b = [b[0] >>> 16, 65535 & b[0], b[1] >>> 16, 65535 & b[1]];
290
+ var c = [0, 0, 0, 0];
291
+ return c[3] += a[3] * b[3], c[2] += c[3] >>> 16, c[3] &= 65535, c[2] += a[2] * b[3], c[1] += c[2] >>> 16, c[2] &= 65535, c[2] += a[3] * b[2], c[1] += c[2] >>> 16, c[2] &= 65535, c[1] += a[1] * b[3], c[0] += c[1] >>> 16, c[1] &= 65535, c[1] += a[2] * b[2], c[0] += c[1] >>> 16, c[1] &= 65535, c[1] += a[3] * b[1], c[0] += c[1] >>> 16, c[1] &= 65535, c[0] += a[0] * b[3] + a[1] * b[2] + a[2] * b[1] + a[3] * b[0], c[0] &= 65535, [c[0] << 16 | c[1], c[2] << 16 | c[3]]
292
+ }, x64Rotl: function (a, b) {
293
+ return b %= 64, 32 === b ? [a[1], a[0]] : 32 > b ? [a[0] << b | a[1] >>> 32 - b, a[1] << b | a[0] >>> 32 - b] : (b -= 32, [a[1] << b | a[0] >>> 32 - b, a[0] << b | a[1] >>> 32 - b])
294
+ }, x64LeftShift: function (a, b) {
295
+ return b %= 64, 0 === b ? a : 32 > b ? [a[0] << b | a[1] >>> 32 - b, a[1] << b] : [a[1] << b - 32, 0]
296
+ }, x64Xor: function (a, b) {
297
+ return [a[0] ^ b[0], a[1] ^ b[1]]
298
+ }, x64Fmix: function (a) {
299
+ return a = this.x64Xor(a, [0, a[0] >>> 1]), a = this.x64Multiply(a, [4283543511, 3981806797]), a = this.x64Xor(a, [0, a[0] >>> 1]), a = this.x64Multiply(a, [3301882366, 444984403]), a = this.x64Xor(a, [0, a[0] >>> 1])
300
+ }, x64hash128: function (a, b) {
301
+ a = a || "", b = b || 0;
302
+ for (var c = a.length % 16, d = a.length - c, e = [0, b], f = [0, b], g = [0, 0], h = [0, 0], i = [2277735313, 289559509], j = [1291169091, 658871167], k = 0; d > k; k += 16)g = [255 & a.charCodeAt(k + 4) | (255 & a.charCodeAt(k + 5)) << 8 | (255 & a.charCodeAt(k + 6)) << 16 | (255 & a.charCodeAt(k + 7)) << 24, 255 & a.charCodeAt(k) | (255 & a.charCodeAt(k + 1)) << 8 | (255 & a.charCodeAt(k + 2)) << 16 | (255 & a.charCodeAt(k + 3)) << 24], h = [255 & a.charCodeAt(k + 12) | (255 & a.charCodeAt(k + 13)) << 8 | (255 & a.charCodeAt(k + 14)) << 16 | (255 & a.charCodeAt(k + 15)) << 24, 255 & a.charCodeAt(k + 8) | (255 & a.charCodeAt(k + 9)) << 8 | (255 & a.charCodeAt(k + 10)) << 16 | (255 & a.charCodeAt(k + 11)) << 24], g = this.x64Multiply(g, i), g = this.x64Rotl(g, 31), g = this.x64Multiply(g, j), e = this.x64Xor(e, g), e = this.x64Rotl(e, 27), e = this.x64Add(e, f), e = this.x64Add(this.x64Multiply(e, [0, 5]), [0, 1390208809]), h = this.x64Multiply(h, j), h = this.x64Rotl(h, 33), h = this.x64Multiply(h, i), f = this.x64Xor(f, h), f = this.x64Rotl(f, 31), f = this.x64Add(f, e), f = this.x64Add(this.x64Multiply(f, [0, 5]), [0, 944331445]);
303
+ switch (g = [0, 0], h = [0, 0], c) {
304
+ case 15:
305
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 14)], 48));
306
+ case 14:
307
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 13)], 40));
308
+ case 13:
309
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 12)], 32));
310
+ case 12:
311
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 11)], 24));
312
+ case 11:
313
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 10)], 16));
314
+ case 10:
315
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 9)], 8));
316
+ case 9:
317
+ h = this.x64Xor(h, [0, a.charCodeAt(k + 8)]), h = this.x64Multiply(h, j), h = this.x64Rotl(h, 33), h = this.x64Multiply(h, i), f = this.x64Xor(f, h);
318
+ case 8:
319
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 7)], 56));
320
+ case 7:
321
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 6)], 48));
322
+ case 6:
323
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 5)], 40));
324
+ case 5:
325
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 4)], 32));
326
+ case 4:
327
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 3)], 24));
328
+ case 3:
329
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 2)], 16));
330
+ case 2:
331
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 1)], 8));
332
+ case 1:
333
+ g = this.x64Xor(g, [0, a.charCodeAt(k)]), g = this.x64Multiply(g, i), g = this.x64Rotl(g, 31), g = this.x64Multiply(g, j), e = this.x64Xor(e, g)
334
+ }
335
+ return e = this.x64Xor(e, [0, a.length]), f = this.x64Xor(f, [0, a.length]), e = this.x64Add(e, f), f = this.x64Add(f, e), e = this.x64Fmix(e), f = this.x64Fmix(f), e = this.x64Add(e, f), f = this.x64Add(f, e), ("00000000" + (e[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (e[1] >>> 0).toString(16)).slice(-8) + ("00000000" + (f[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (f[1] >>> 0).toString(16)).slice(-8)
336
+ }, keyToObject: function (a, b) {
337
+ return 1 == a.length ? a[0] : a.length >= 2 ? a : null
338
+ }, send: function (a, b) {
339
+ this.get(function (c) {
340
+ var d = window.location.host, e = window.location.href, f = {
341
+ deviceId: c.deviceId,
342
+ userAgent: c.userAgentKey,
343
+ timezoneOffsetKey: c.timezoneOffsetKey,
344
+ cpuClassKey: c.cpuClassKey,
345
+ languageKey: c.languageKey,
346
+ dominio: d,
347
+ url: e,
348
+ keyUser: a,
349
+ sessionId: b,
350
+ platformKey: c.platformKey
351
+ };
352
+ jQuery.ajax({
353
+ url: "http://hmlg.fcontrol.com.br:8080/fcontrol/fingerprint/",
354
+ type: "POST",
355
+ data: JSON.stringify(f),
356
+ async: true,
357
+ dataType: "json",
358
+ contentType: "application/json",
359
+ headers: {
360
+ "Access-Control-Allow-Origin": "http://hmlg.fcontrol.com.br:8080/fcontrol/fingerprint/",
361
+ contentType: "application/json",
362
+ dataType: "json"
363
+ }
364
+ })
365
+ })
366
+ }
367
+ }, a.VERSION = "0.1.0", a
368
+ });
js/uecommerce/fcontrol/script-fingerprint-fcontrol-prod.js ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ !function (a, b, c) {
2
+ "use strict";
3
+ "undefined" != typeof module && module.exports ? module.exports = c() : "function" == typeof define && define.amd ? define(c) : b[a] = c()
4
+ }("FcontrolFingerprint", this, function () {
5
+ "use strict";
6
+ Array.prototype.indexOf || (Array.prototype.indexOf = function (a, b) {
7
+ var c;
8
+ if (null == this)throw new TypeError("'this' is null or undefined");
9
+ var d = Object(this), e = d.length >>> 0;
10
+ if (0 === e)return -1;
11
+ var f = +b || 0;
12
+ if (Math.abs(f) === 1 / 0 && (f = 0), f >= e)return -1;
13
+ for (c = Math.max(f >= 0 ? f : e - Math.abs(f), 0); e > c;) {
14
+ if (c in d && d[c] === a)return c;
15
+ c++
16
+ }
17
+ return -1
18
+ });
19
+ var a = function (a) {
20
+ var b = {
21
+ swfContainerId: "fingerprintjs2",
22
+ swfPath: "flash/compiled/FontList.swf",
23
+ sortPluginsFor: [/palemoon/i]
24
+ };
25
+ this.options = this.extend(a, b), this.nativeForEach = Array.prototype.forEach, this.nativeMap = Array.prototype.map
26
+ };
27
+ return a.prototype = {
28
+ extend: function (a, b) {
29
+ if (null == a)return b;
30
+ for (var c in a)null != a[c] && b[c] !== a[c] && (b[c] = a[c]);
31
+ return b
32
+ }, log: function (a) {
33
+ window.console && console.log(a)
34
+ }, get: function (b) {
35
+ var c = [];
36
+ c = this.userAgentKey(c), c = this.languageKey(c), c = this.colorDepthKey(c), c = this.timezoneOffsetKey(c), c = this.sessionStorageKey(c), c = this.localStorageKey(c), c = this.indexedDbKey(c), c = this.addBehaviorKey(c), c = this.openDatabaseKey(c), c = this.cpuClassKey(c), c = this.platformKey(c), c = this.doNotTrackKey(c), c = this.pluginsKey(c), c = this.canvasKey(c), c = this.webglKey(c), c = this.adBlockKey(c), c = this.hasLiedLanguagesKey(c), c = this.hasLiedResolutionKey(c), c = this.hasLiedOsKey(c), c = this.hasLiedBrowserKey(c), c = this.touchSupportKey(c);
37
+ var d = this;
38
+ this.fontsKey(c, function (c) {
39
+ var e = d.x64hash128(c.join("~~~"), 31), f = new Object, g = new a;
40
+ return f.deviceId = e, f.userAgentKey = g.keyToObject(g.userAgentKey([])), f.languageKey = g.keyToObject(g.languageKey([])), f.timezoneOffsetKey = g.keyToObject(g.timezoneOffsetKey([])), f.cpuClassKey = g.keyToObject(g.cpuClassKey([])), f.platformKey = g.keyToObject(g.platformKey([])), b(f)
41
+ })
42
+ }, userAgentKey: function (a) {
43
+ return this.options.excludeUserAgent || a.push(this.getUserAgent()), a
44
+ }, getUserAgent: function () {
45
+ return navigator.userAgent
46
+ }, languageKey: function (a) {
47
+ return this.options.excludeLanguage || a.push(navigator.language), a
48
+ }, colorDepthKey: function (a) {
49
+ return this.options.excludeColorDepth || a.push(screen.colorDepth), a
50
+ }, screenResolutionKey: function (a) {
51
+ return this.options.excludeScreenResolution ? a : this.getScreenResolution(a)
52
+ }, getScreenResolution: function (a) {
53
+ var b, c;
54
+ return b = this.options.detectScreenOrientation ? screen.height > screen.width ? [screen.height, screen.width] : [screen.width, screen.height] : screen.width + " X " + screen.height, "undefined" != typeof b && a.push(b), screen.availWidth && screen.availHeight && (c = this.options.detectScreenOrientation ? screen.availHeight > screen.availWidth ? [screen.availHeight, screen.availWidth] : [screen.availWidth, screen.availHeight] : screen.availHeight + " X " + screen.availWidth), "undefined" != typeof c && a.push(c), a
55
+ }, timezoneOffsetKey: function (a) {
56
+ return this.options.excludeTimezoneOffset || a.push((new Date).getTimezoneOffset()), a
57
+ }, sessionStorageKey: function (a) {
58
+ return !this.options.excludeSessionStorage && this.hasSessionStorage() && a.push("sessionStorageKey"), a
59
+ }, localStorageKey: function (a) {
60
+ return !this.options.excludeSessionStorage && this.hasLocalStorage() && a.push("localStorageKey"), a
61
+ }, indexedDbKey: function (a) {
62
+ return !this.options.excludeIndexedDB && this.hasIndexedDB() && a.push("indexedDbKey"), a
63
+ }, addBehaviorKey: function (a) {
64
+ return document.body && !this.options.excludeAddBehavior && document.body.addBehavior && a.push("addBehaviorKey"), a
65
+ }, openDatabaseKey: function (a) {
66
+ return !this.options.excludeOpenDatabase && window.openDatabase && a.push("openDatabase"), a
67
+ }, cpuClassKey: function (a) {
68
+ return this.options.excludeCpuClass || a.push(this.getNavigatorCpuClass()), a
69
+ }, platformKey: function (a) {
70
+ return this.options.excludePlatform || a.push(this.getNavigatorPlatform()), a
71
+ }, doNotTrackKey: function (a) {
72
+ return this.options.excludeDoNotTrack || a.push(this.getDoNotTrack()), a
73
+ }, canvasKey: function (a) {
74
+ return !this.options.excludeCanvas && this.isCanvasSupported() && a.push(this.getCanvasFp()), a
75
+ }, webglKey: function (a) {
76
+ return this.options.excludeWebGL ? ("undefined" == typeof NODEBUG && this.log("Skipping WebGL fingerprinting per excludeWebGL configuration option"), a) : this.isWebGlSupported() ? (a.push(this.getWebglFp()), a) : ("undefined" == typeof NODEBUG && this.log("Skipping WebGL fingerprinting because it is not supported in this browser"), a)
77
+ }, adBlockKey: function (a) {
78
+ return this.options.excludeAdBlock || a.push(this.getAdBlock()), a
79
+ }, hasLiedLanguagesKey: function (a) {
80
+ return this.options.excludeHasLiedLanguages || a.push(this.getHasLiedLanguages()), a
81
+ }, hasLiedResolutionKey: function (a) {
82
+ return this.options.excludeHasLiedResolution || a.push(this.getHasLiedResolution()), a
83
+ }, hasLiedOsKey: function (a) {
84
+ return this.options.excludeHasLiedOs || a.push(this.getHasLiedOs()), a
85
+ }, hasLiedBrowserKey: function (a) {
86
+ return this.options.excludeHasLiedBrowser || a.push(this.getHasLiedBrowser()), a
87
+ }, fontsKey: function (a, b) {
88
+ return this.options.excludeJsFonts ? this.flashFontsKey(a, b) : this.jsFontsKey(a, b)
89
+ }, flashFontsKey: function (a, b) {
90
+ return this.options.excludeFlashFonts ? ("undefined" == typeof NODEBUG && this.log("Skipping flash fonts detection per excludeFlashFonts configuration option"), b(a)) : this.hasSwfObjectLoaded() ? this.hasMinFlashInstalled() ? "undefined" == typeof this.options.swfPath ? ("undefined" == typeof NODEBUG && this.log("To use Flash fonts detection, you must pass a valid swfPath option, skipping Flash fonts enumeration"), b(a)) : void this.loadSwfAndDetectFonts(function (c) {
91
+ a.push(c.join(";")), b(a)
92
+ }) : ("undefined" == typeof NODEBUG && this.log("Flash is not installed, skipping Flash fonts enumeration"), b(a)) : ("undefined" == typeof NODEBUG && this.log("Swfobject is not detected, Flash fonts enumeration is skipped"), b(a))
93
+ }, jsFontsKey: function (a, b) {
94
+ return setTimeout(function () {
95
+ var c = ["monospace", "sans-serif", "serif"], d = "mmmmmmmmmmlli", e = "72px", f = document.getElementsByTagName("body")[0], g = document.createElement("span");
96
+ g.style.fontSize = e, g.innerHTML = d;
97
+ var h = {}, i = {};
98
+ for (var j in c)g.style.fontFamily = c[j], f.appendChild(g), h[c[j]] = g.offsetWidth, i[c[j]] = g.offsetHeight, f.removeChild(g);
99
+ for (var k = function (a) {
100
+ var b = !1;
101
+ for (var d in c) {
102
+ g.style.fontFamily = a + "," + c[d], f.appendChild(g);
103
+ var e = g.offsetWidth !== h[c[d]] || g.offsetHeight !== i[c[d]];
104
+ f.removeChild(g), b = b || e
105
+ }
106
+ return b
107
+ }, l = ["Abadi MT Condensed Light", "Academy Engraved LET", "ADOBE CASLON PRO", "Adobe Garamond", "ADOBE GARAMOND PRO", "Agency FB", "Aharoni", "Albertus Extra Bold", "Albertus Medium", "Algerian", "Amazone BT", "American Typewriter", "American Typewriter Condensed", "AmerType Md BT", "Andale Mono", "Andalus", "Angsana New", "AngsanaUPC", "Antique Olive", "Aparajita", "Apple Chancery", "Apple Color Emoji", "Apple SD Gothic Neo", "Arabic Typesetting", "ARCHER", "Arial", "Arial Black", "Arial Hebrew", "Arial MT", "Arial Narrow", "Arial Rounded MT Bold", "Arial Unicode MS", "ARNO PRO", "Arrus BT", "Aurora Cn BT", "AvantGarde Bk BT", "AvantGarde Md BT", "AVENIR", "Ayuthaya", "Bandy", "Bangla Sangam MN", "Bank Gothic", "BankGothic Md BT", "Baskerville", "Baskerville Old Face", "Batang", "BatangChe", "Bauer Bodoni", "Bauhaus 93", "Bazooka", "Bell MT", "Bembo", "Benguiat Bk BT", "Berlin Sans FB", "Berlin Sans FB Demi", "Bernard MT Condensed", "BernhardFashion BT", "BernhardMod BT", "Big Caslon", "BinnerD", "Bitstream Vera Sans Mono", "Blackadder ITC", "BlairMdITC TT", "Bodoni 72", "Bodoni 72 Oldstyle", "Bodoni 72 Smallcaps", "Bodoni MT", "Bodoni MT Black", "Bodoni MT Condensed", "Bodoni MT Poster Compressed", "Book Antiqua", "Bookman Old Style", "Bookshelf Symbol 7", "Boulder", "Bradley Hand", "Bradley Hand ITC", "Bremen Bd BT", "Britannic Bold", "Broadway", "Browallia New", "BrowalliaUPC", "Brush Script MT", "Calibri", "Californian FB", "Calisto MT", "Calligrapher", "Cambria", "Cambria Math", "Candara", "CaslonOpnface BT", "Castellar", "Centaur", "Century", "Century Gothic", "Century Schoolbook", "Cezanne", "CG Omega", "CG Times", "Chalkboard", "Chalkboard SE", "Chalkduster", "Charlesworth", "Charter Bd BT", "Charter BT", "Chaucer", "ChelthmITC Bk BT", "Chiller", "Clarendon", "Clarendon Condensed", "CloisterBlack BT", "Cochin", "Colonna MT", "Comic Sans", "Comic Sans MS", "Consolas", "Constantia", "Cooper Black", "Copperplate", "Copperplate Gothic", "Copperplate Gothic Bold", "Copperplate Gothic Light", "CopperplGoth Bd BT", "Corbel", "Cordia New", "CordiaUPC", "Cornerstone", "Coronet", "Courier", "Courier New", "Cuckoo", "Curlz MT", "DaunPenh", "Dauphin", "David", "DB LCD Temp", "DELICIOUS", "Denmark", "Devanagari Sangam MN", "DFKai-SB", "Didot", "DilleniaUPC", "DIN", "DokChampa", "Dotum", "DotumChe", "Ebrima", "Edwardian Script ITC", "Elephant", "English 111 Vivace BT", "Engravers MT", "EngraversGothic BT", "Eras Bold ITC", "Eras Demi ITC", "Eras Light ITC", "Eras Medium ITC", "Estrangelo Edessa", "EucrosiaUPC", "Euphemia", "Euphemia UCAS", "EUROSTILE", "Exotc350 Bd BT", "FangSong", "Felix Titling", "Fixedsys", "FONTIN", "Footlight MT Light", "Forte", "Franklin Gothic", "Franklin Gothic Book", "Franklin Gothic Demi", "Franklin Gothic Demi Cond", "Franklin Gothic Heavy", "Franklin Gothic Medium", "Franklin Gothic Medium Cond", "FrankRuehl", "Fransiscan", "Freefrm721 Blk BT", "FreesiaUPC", "Freestyle Script", "French Script MT", "FrnkGothITC Bk BT", "Fruitger", "FRUTIGER", "Futura", "Futura Bk BT", "Futura Lt BT", "Futura Md BT", "Futura ZBlk BT", "FuturaBlack BT", "Gabriola", "Galliard BT", "Garamond", "Gautami", "Geeza Pro", "Geneva", "Geometr231 BT", "Geometr231 Hv BT", "Geometr231 Lt BT", "Georgia", "GeoSlab 703 Lt BT", "GeoSlab 703 XBd BT", "Gigi", "Gill Sans", "Gill Sans MT", "Gill Sans MT Condensed", "Gill Sans MT Ext Condensed Bold", "Gill Sans Ultra Bold", "Gill Sans Ultra Bold Condensed", "Gisha", "Gloucester MT Extra Condensed", "GOTHAM", "GOTHAM BOLD", "Goudy Old Style", "Goudy Stout", "GoudyHandtooled BT", "GoudyOLSt BT", "Gujarati Sangam MN", "Gulim", "GulimChe", "Gungsuh", "GungsuhChe", "Gurmukhi MN", "Haettenschweiler", "Harlow Solid Italic", "Harrington", "Heather", "Heiti SC", "Heiti TC", "HELV", "Helvetica", "Helvetica Neue", "Herald", "High Tower Text", "Hiragino Kaku Gothic ProN", "Hiragino Mincho ProN", "Hoefler Text", "Humanst 521 Cn BT", "Humanst521 BT", "Humanst521 Lt BT", "Impact", "Imprint MT Shadow", "Incised901 Bd BT", "Incised901 BT", "Incised901 Lt BT", "INCONSOLATA", "Informal Roman", "Informal011 BT", "INTERSTATE", "IrisUPC", "Iskoola Pota", "JasmineUPC", "Jazz LET", "Jenson", "Jester", "Jokerman", "Juice ITC", "Kabel Bk BT", "Kabel Ult BT", "Kailasa", "KaiTi", "Kalinga", "Kannada Sangam MN", "Kartika", "Kaufmann Bd BT", "Kaufmann BT", "Khmer UI", "KodchiangUPC", "Kokila", "Korinna BT", "Kristen ITC", "Krungthep", "Kunstler Script", "Lao UI", "Latha", "Leelawadee", "Letter Gothic", "Levenim MT", "LilyUPC", "Lithograph", "Lithograph Light", "Long Island", "Lucida Bright", "Lucida Calligraphy", "Lucida Console", "Lucida Fax", "LUCIDA GRANDE", "Lucida Handwriting", "Lucida Sans", "Lucida Sans Typewriter", "Lucida Sans Unicode", "Lydian BT", "Magneto", "Maiandra GD", "Malayalam Sangam MN", "Malgun Gothic", "Mangal", "Marigold", "Marion", "Marker Felt", "Market", "Marlett", "Matisse ITC", "Matura MT Script Capitals", "Meiryo", "Meiryo UI", "Microsoft Himalaya", "Microsoft JhengHei", "Microsoft New Tai Lue", "Microsoft PhagsPa", "Microsoft Sans Serif", "Microsoft Tai Le", "Microsoft Uighur", "Microsoft YaHei", "Microsoft Yi Baiti", "MingLiU", "MingLiU_HKSCS", "MingLiU_HKSCS-ExtB", "MingLiU-ExtB", "Minion", "Minion Pro", "Miriam", "Miriam Fixed", "Mistral", "Modern", "Modern No. 20", "Mona Lisa Solid ITC TT", "Monaco", "Mongolian Baiti", "MONO", "Monotype Corsiva", "MoolBoran", "Mrs Eaves", "MS Gothic", "MS LineDraw", "MS Mincho", "MS Outlook", "MS PGothic", "MS PMincho", "MS Reference Sans Serif", "MS Reference Specialty", "MS Sans Serif", "MS Serif", "MS UI Gothic", "MT Extra", "MUSEO", "MV Boli", "MYRIAD", "MYRIAD PRO", "Nadeem", "Narkisim", "NEVIS", "News Gothic", "News GothicMT", "NewsGoth BT", "Niagara Engraved", "Niagara Solid", "Noteworthy", "NSimSun", "Nyala", "OCR A Extended", "Old Century", "Old English Text MT", "Onyx", "Onyx BT", "OPTIMA", "Oriya Sangam MN", "OSAKA", "OzHandicraft BT", "Palace Script MT", "Palatino", "Palatino Linotype", "Papyrus", "Parchment", "Party LET", "Pegasus", "Perpetua", "Perpetua Titling MT", "PetitaBold", "Pickwick", "Plantagenet Cherokee", "Playbill", "PMingLiU", "PMingLiU-ExtB", "Poor Richard", "Poster", "PosterBodoni BT", "PRINCETOWN LET", "Pristina", "PTBarnum BT", "Pythagoras", "Raavi", "Rage Italic", "Ravie", "Ribbon131 Bd BT", "Rockwell", "Rockwell Condensed", "Rockwell Extra Bold", "Rod", "Roman", "Sakkal Majalla", "Santa Fe LET", "Savoye LET", "Sceptre", "Script", "Script MT Bold", "SCRIPTINA", "Segoe Print", "Segoe Script", "Segoe UI", "Segoe UI Light", "Segoe UI Semibold", "Segoe UI Symbol", "Serifa", "Serifa BT", "Serifa Th BT", "ShelleyVolante BT", "Sherwood", "Shonar Bangla", "Showcard Gothic", "Shruti", "Signboard", "SILKSCREEN", "SimHei", "Simplified Arabic", "Simplified Arabic Fixed", "SimSun", "SimSun-ExtB", "Sinhala Sangam MN", "Sketch Rockwell", "Skia", "Small Fonts", "Snap ITC", "Snell Roundhand", "Socket", "Souvenir Lt BT", "Staccato222 BT", "Steamer", "Stencil", "Storybook", "Styllo", "Subway", "Swis721 BlkEx BT", "Swiss911 XCm BT", "Sylfaen", "Synchro LET", "System", "Tahoma", "Tamil Sangam MN", "Technical", "Teletype", "Telugu Sangam MN", "Tempus Sans ITC", "Terminal", "Thonburi", "Times", "Times New Roman", "Times New Roman PS", "Traditional Arabic", "Trajan", "TRAJAN PRO", "Trebuchet MS", "Tristan", "Tubular", "Tunga", "Tw Cen MT", "Tw Cen MT Condensed", "Tw Cen MT Condensed Extra Bold", "TypoUpright BT", "Unicorn", "Univers", "Univers CE 55 Medium", "Univers Condensed", "Utsaah", "Vagabond", "Vani", "Verdana", "Vijaya", "Viner Hand ITC", "VisualUI", "Vivaldi", "Vladimir Script", "Vrinda", "Westminster", "WHITNEY", "Wide Latin", "Wingdings", "Wingdings 2", "Wingdings 3", "ZapfEllipt BT", "ZapfHumnst BT", "ZapfHumnst Dm BT", "Zapfino", "Zurich BlkEx BT", "Zurich Ex BT", "ZWAdobeF"], m = [], n = 0, o = l.length; o > n; n++)k(l[n]) && m.push(l[n]);
108
+ a.push(m.join(";")), b(a)
109
+ }, 1)
110
+ }, pluginsKey: function (a) {
111
+ return this.options.excludePlugins || (this.isIE() ? a.push(this.getIEPluginsString()) : a.push(this.getRegularPluginsString())), a
112
+ }, getRegularPluginsString: function () {
113
+ for (var a = [], b = 0, c = navigator.plugins.length; c > b; b++)a.push(navigator.plugins[b]);
114
+ return this.pluginsShouldBeSorted() && (a = a.sort(function (a, b) {
115
+ return a.name > b.name ? 1 : a.name < b.name ? -1 : 0
116
+ })), this.map(a, function (a) {
117
+ var b = this.map(a, function (a) {
118
+ return [a.type, a.suffixes].join("~")
119
+ }).join(",");
120
+ return [a.name, a.description, b].join("::")
121
+ }, this).join(";")
122
+ }, getIEPluginsString: function () {
123
+ if (window.ActiveXObject) {
124
+ var a = ["AcroPDF.PDF", "Adodb.Stream", "AgControl.AgControl", "DevalVRXCtrl.DevalVRXCtrl.1", "MacromediaFlashPaper.MacromediaFlashPaper", "Msxml2.DOMDocument", "Msxml2.XMLHTTP", "PDF.PdfCtrl", "QuickTime.QuickTime", "QuickTimeCheckObject.QuickTimeCheck.1", "RealPlayer", "RealPlayer.RealPlayer(tm) ActiveX Control (32-bit)", "RealVideo.RealVideo(tm) ActiveX Control (32-bit)", "Scripting.Dictionary", "SWCtl.SWCtl", "Shell.UIHelper", "ShockwaveFlash.ShockwaveFlash", "Skype.Detection", "TDCCtl.TDCCtl", "WMPlayer.OCX", "rmocx.RealPlayer G2 Control", "rmocx.RealPlayer G2 Control.1"];
125
+ return this.map(a, function (a) {
126
+ try {
127
+ return new ActiveXObject(a), a
128
+ } catch (b) {
129
+ return null
130
+ }
131
+ }).join(";")
132
+ }
133
+ return ""
134
+ }, pluginsShouldBeSorted: function () {
135
+ for (var a = !1, b = 0, c = this.options.sortPluginsFor.length; c > b; b++) {
136
+ var d = this.options.sortPluginsFor[b];
137
+ if (navigator.userAgent.match(d)) {
138
+ a = !0;
139
+ break
140
+ }
141
+ }
142
+ return a
143
+ }, touchSupportKey: function (a) {
144
+ return this.options.excludeTouchSupport || a.push(this.getTouchSupport()), a
145
+ }, hasSessionStorage: function () {
146
+ try {
147
+ return !!window.sessionStorage
148
+ } catch (a) {
149
+ return !0
150
+ }
151
+ }, hasLocalStorage: function () {
152
+ try {
153
+ return !!window.localStorage
154
+ } catch (a) {
155
+ return !0
156
+ }
157
+ }, hasIndexedDB: function () {
158
+ return !!window.indexedDB
159
+ }, getNavigatorCpuClass: function () {
160
+ return navigator.cpuClass ? "navigatorCpuClass: " + navigator.cpuClass : "navigatorCpuClass: unknown"
161
+ }, getNavigatorPlatform: function () {
162
+ return navigator.platform ? "navigatorPlatform: " + navigator.platform : "navigatorPlatform: unknown"
163
+ }, getDoNotTrack: function () {
164
+ return navigator.doNotTrack ? "doNotTrack: " + navigator.doNotTrack : "doNotTrack: unknown"
165
+ }, getTouchSupport: function () {
166
+ var a = 0, b = !1;
167
+ "undefined" != typeof navigator.maxTouchPoints ? a = navigator.maxTouchPoints : "undefined" != typeof navigator.msMaxTouchPoints && (a = navigator.msMaxTouchPoints);
168
+ try {
169
+ document.createEvent("TouchEvent"), b = !0
170
+ } catch (c) {
171
+ }
172
+ var d = "ontouchstart" in window;
173
+ return [a, b, d]
174
+ }, getCanvasFp: function () {
175
+ var a = [], b = document.createElement("canvas");
176
+ b.width = 2e3, b.height = 200, b.style.display = "inline";
177
+ var c = b.getContext("2d");
178
+ return c.rect(0, 0, 10, 10), c.rect(2, 2, 6, 6), a.push("canvas winding:" + (c.isPointInPath(5, 5, "evenodd") === !1 ? "yes" : "no")), c.textBaseline = "alphabetic", c.fillStyle = "#f60", c.fillRect(125, 1, 62, 20), c.fillStyle = "#069", this.options.dontUseFakeFontInCanvas ? c.font = "11pt Arial" : c.font = "11pt no-real-font-123", c.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03", 2, 15), c.fillStyle = "rgba(102, 204, 0, 0.7)", c.font = "18pt Arial", c.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03", 4, 45), c.globalCompositeOperation = "multiply", c.fillStyle = "rgb(255,0,255)", c.beginPath(), c.arc(50, 50, 50, 0, 2 * Math.PI, !0), c.closePath(), c.fill(), c.fillStyle = "rgb(0,255,255)", c.beginPath(), c.arc(100, 50, 50, 0, 2 * Math.PI, !0), c.closePath(), c.fill(), c.fillStyle = "rgb(255,255,0)", c.beginPath(), c.arc(75, 100, 50, 0, 2 * Math.PI, !0), c.closePath(), c.fill(), c.fillStyle = "rgb(255,0,255)", c.arc(75, 75, 75, 0, 2 * Math.PI, !0), c.arc(75, 75, 25, 0, 2 * Math.PI, !0), c.fill("evenodd"), a.push("canvas fp:" + b.toDataURL()), a.join("~")
179
+ }, getWebglFp: function () {
180
+ var a, b = function (b) {
181
+ return a.clearColor(0, 0, 0, 1), a.enable(a.DEPTH_TEST), a.depthFunc(a.LEQUAL), a.clear(a.COLOR_BUFFER_BIT | a.DEPTH_BUFFER_BIT), "[" + b[0] + ", " + b[1] + "]"
182
+ }, c = function (a) {
183
+ var b, c = a.getExtension("EXT_texture_filter_anisotropic") || a.getExtension("WEBKIT_EXT_texture_filter_anisotropic") || a.getExtension("MOZ_EXT_texture_filter_anisotropic");
184
+ return c ? (b = a.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT), 0 === b && (b = 2), b) : null
185
+ };
186
+ if (a = this.getWebglCanvas(), !a)return null;
187
+ var d = [], e = "attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}", f = "precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor=vec4(varyinTexCoordinate,0,1);}", g = a.createBuffer();
188
+ a.bindBuffer(a.ARRAY_BUFFER, g);
189
+ var h = new Float32Array([-.2, -.9, 0, .4, -.26, 0, 0, .732134444, 0]);
190
+ a.bufferData(a.ARRAY_BUFFER, h, a.STATIC_DRAW), g.itemSize = 3, g.numItems = 3;
191
+ var i = a.createProgram(), j = a.createShader(a.VERTEX_SHADER);
192
+ a.shaderSource(j, e), a.compileShader(j);
193
+ var k = a.createShader(a.FRAGMENT_SHADER);
194
+ return a.shaderSource(k, f), a.compileShader(k), a.attachShader(i, j), a.attachShader(i, k), a.linkProgram(i), a.useProgram(i), i.vertexPosAttrib = a.getAttribLocation(i, "attrVertex"), i.offsetUniform = a.getUniformLocation(i, "uniformOffset"), a.enableVertexAttribArray(i.vertexPosArray), a.vertexAttribPointer(i.vertexPosAttrib, g.itemSize, a.FLOAT, !1, 0, 0), a.uniform2f(i.offsetUniform, 1, 1), a.drawArrays(a.TRIANGLE_STRIP, 0, g.numItems), null != a.canvas && d.push(a.canvas.toDataURL()), d.push("extensions:" + a.getSupportedExtensions().join(";")), d.push("webgl aliased line width range:" + b(a.getParameter(a.ALIASED_LINE_WIDTH_RANGE))), d.push("webgl aliased point size range:" + b(a.getParameter(a.ALIASED_POINT_SIZE_RANGE))), d.push("webgl alpha bits:" + a.getParameter(a.ALPHA_BITS)), d.push("webgl antialiasing:" + (a.getContextAttributes().antialias ? "yes" : "no")), d.push("webgl blue bits:" + a.getParameter(a.BLUE_BITS)), d.push("webgl depth bits:" + a.getParameter(a.DEPTH_BITS)), d.push("webgl green bits:" + a.getParameter(a.GREEN_BITS)), d.push("webgl max anisotropy:" + c(a)), d.push("webgl max combined texture image units:" + a.getParameter(a.MAX_COMBINED_TEXTURE_IMAGE_UNITS)), d.push("webgl max cube map texture size:" + a.getParameter(a.MAX_CUBE_MAP_TEXTURE_SIZE)), d.push("webgl max fragment uniform vectors:" + a.getParameter(a.MAX_FRAGMENT_UNIFORM_VECTORS)), d.push("webgl max render buffer size:" + a.getParameter(a.MAX_RENDERBUFFER_SIZE)), d.push("webgl max texture image units:" + a.getParameter(a.MAX_TEXTURE_IMAGE_UNITS)), d.push("webgl max texture size:" + a.getParameter(a.MAX_TEXTURE_SIZE)), d.push("webgl max varying vectors:" + a.getParameter(a.MAX_VARYING_VECTORS)), d.push("webgl max vertex attribs:" + a.getParameter(a.MAX_VERTEX_ATTRIBS)), d.push("webgl max vertex texture image units:" + a.getParameter(a.MAX_VERTEX_TEXTURE_IMAGE_UNITS)), d.push("webgl max vertex uniform vectors:" + a.getParameter(a.MAX_VERTEX_UNIFORM_VECTORS)), d.push("webgl max viewport dims:" + b(a.getParameter(a.MAX_VIEWPORT_DIMS))), d.push("webgl red bits:" + a.getParameter(a.RED_BITS)), d.push("webgl renderer:" + a.getParameter(a.RENDERER)), d.push("webgl shading language version:" + a.getParameter(a.SHADING_LANGUAGE_VERSION)), d.push("webgl stencil bits:" + a.getParameter(a.STENCIL_BITS)), d.push("webgl vendor:" + a.getParameter(a.VENDOR)), d.push("webgl version:" + a.getParameter(a.VERSION)), a.getShaderPrecisionFormat ? (d.push("webgl vertex shader high float precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_FLOAT).precision), d.push("webgl vertex shader high float precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_FLOAT).rangeMin), d.push("webgl vertex shader high float precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_FLOAT).rangeMax), d.push("webgl vertex shader medium float precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_FLOAT).precision), d.push("webgl vertex shader medium float precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_FLOAT).rangeMin), d.push("webgl vertex shader medium float precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_FLOAT).rangeMax), d.push("webgl vertex shader low float precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_FLOAT).precision), d.push("webgl vertex shader low float precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_FLOAT).rangeMin), d.push("webgl vertex shader low float precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_FLOAT).rangeMax), d.push("webgl fragment shader high float precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_FLOAT).precision), d.push("webgl fragment shader high float precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_FLOAT).rangeMin), d.push("webgl fragment shader high float precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_FLOAT).rangeMax), d.push("webgl fragment shader medium float precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_FLOAT).precision), d.push("webgl fragment shader medium float precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_FLOAT).rangeMin), d.push("webgl fragment shader medium float precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_FLOAT).rangeMax), d.push("webgl fragment shader low float precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_FLOAT).precision), d.push("webgl fragment shader low float precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_FLOAT).rangeMin), d.push("webgl fragment shader low float precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_FLOAT).rangeMax), d.push("webgl vertex shader high int precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_INT).precision), d.push("webgl vertex shader high int precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_INT).rangeMin), d.push("webgl vertex shader high int precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.HIGH_INT).rangeMax), d.push("webgl vertex shader medium int precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_INT).precision), d.push("webgl vertex shader medium int precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_INT).rangeMin), d.push("webgl vertex shader medium int precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.MEDIUM_INT).rangeMax), d.push("webgl vertex shader low int precision:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_INT).precision), d.push("webgl vertex shader low int precision rangeMin:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_INT).rangeMin), d.push("webgl vertex shader low int precision rangeMax:" + a.getShaderPrecisionFormat(a.VERTEX_SHADER, a.LOW_INT).rangeMax), d.push("webgl fragment shader high int precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_INT).precision), d.push("webgl fragment shader high int precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_INT).rangeMin), d.push("webgl fragment shader high int precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.HIGH_INT).rangeMax), d.push("webgl fragment shader medium int precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_INT).precision), d.push("webgl fragment shader medium int precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_INT).rangeMin), d.push("webgl fragment shader medium int precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.MEDIUM_INT).rangeMax), d.push("webgl fragment shader low int precision:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_INT).precision), d.push("webgl fragment shader low int precision rangeMin:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_INT).rangeMin), d.push("webgl fragment shader low int precision rangeMax:" + a.getShaderPrecisionFormat(a.FRAGMENT_SHADER, a.LOW_INT).rangeMax), d.join("~")) : ("undefined" == typeof NODEBUG && this.log("WebGL fingerprinting is incomplete, because your browser does not support getShaderPrecisionFormat"), d.join("~"))
195
+ }, getAdBlock: function () {
196
+ var a = document.createElement("div");
197
+ return a.setAttribute("id", "ads"), document.body.appendChild(a), document.getElementById("ads") ? !1 : !0
198
+ }, getHasLiedLanguages: function () {
199
+ if ("undefined" != typeof navigator.languages)try {
200
+ var a = navigator.languages[0].substr(0, 2);
201
+ if (a !== navigator.language.substr(0, 2))return !0
202
+ } catch (b) {
203
+ return !0
204
+ }
205
+ return !1
206
+ }, getHasLiedResolution: function () {
207
+ return screen.width < screen.availWidth ? !0 : screen.height < screen.availHeight ? !0 : !1
208
+ }, getHasLiedOs: function () {
209
+ var d, a = navigator.userAgent.toLowerCase(), b = navigator.oscpu, c = navigator.platform.toLowerCase();
210
+ d = a.indexOf("windows phone") >= 0 ? "Windows Phone" : a.indexOf("win") >= 0 ? "Windows" : a.indexOf("android") >= 0 ? "Android" : a.indexOf("linux") >= 0 ? "Linux" : a.indexOf("iphone") >= 0 || a.indexOf("ipad") >= 0 ? "iOS" : a.indexOf("mac") >= 0 ? "Mac" : "Other";
211
+ var e;
212
+ if (e = "ontouchstart" in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0 ? !0 : !1, e && "Windows Phone" !== d && "Android" !== d && "iOS" !== d && "Other" !== d)return !0;
213
+ if ("undefined" != typeof b) {
214
+ if (b = b.toLowerCase(), b.indexOf("win") >= 0 && "Windows" !== d && "Windows Phone" !== d)return !0;
215
+ if (b.indexOf("linux") >= 0 && "Linux" !== d && "Android" !== d)return !0;
216
+ if (b.indexOf("mac") >= 0 && "Mac" !== d && "iOS" !== d)return !0;
217
+ if (0 === b.indexOf("win") && 0 === b.indexOf("linux") && b.indexOf("mac") >= 0 && "other" !== d)return !0
218
+ }
219
+ return c.indexOf("win") >= 0 && "Windows" !== d && "Windows Phone" !== d ? !0 : (c.indexOf("linux") >= 0 || c.indexOf("android") >= 0 || c.indexOf("pike") >= 0) && "Linux" !== d && "Android" !== d ? !0 : (c.indexOf("mac") >= 0 || c.indexOf("ipad") >= 0 || c.indexOf("ipod") >= 0 || c.indexOf("iphone") >= 0) && "Mac" !== d && "iOS" !== d ? !0 : 0 === c.indexOf("win") && 0 === c.indexOf("linux") && c.indexOf("mac") >= 0 && "other" !== d ? !0 : "undefined" == typeof navigator.plugins && "Windows" !== d && "Windows Phone" !== d ? !0 : !1
220
+ }, getHasLiedBrowser: function () {
221
+ var c, a = navigator.userAgent.toLowerCase(), b = navigator.productSub;
222
+ if (c = a.indexOf("firefox") >= 0 ? "Firefox" : a.indexOf("opera") >= 0 || a.indexOf("opr") >= 0 ? "Opera" : a.indexOf("chrome") >= 0 ? "Chrome" : a.indexOf("safari") >= 0 ? "Safari" : a.indexOf("trident") >= 0 ? "Internet Explorer" : "Other", ("Chrome" === c || "Safari" === c || "Opera" === c) && "20030107" !== b)return !0;
223
+ var d = eval.toString().length;
224
+ if (37 === d && "Safari" !== c && "Firefox" !== c && "Other" !== c)return !0;
225
+ if (39 === d && "Internet Explorer" !== c && "Other" !== c)return !0;
226
+ if (33 === d && "Chrome" !== c && "Opera" !== c && "Other" !== c)return !0;
227
+ var e;
228
+ try {
229
+ throw"a"
230
+ } catch (f) {
231
+ try {
232
+ f.toSource(), e = !0
233
+ } catch (g) {
234
+ e = !1
235
+ }
236
+ }
237
+ return e && "Firefox" !== c && "Other" !== c ? !0 : !1
238
+ }, isCanvasSupported: function () {
239
+ var a = document.createElement("canvas");
240
+ return !(!a.getContext || !a.getContext("2d"))
241
+ }, isWebGlSupported: function () {
242
+ if (!this.isCanvasSupported())return !1;
243
+ var b, a = document.createElement("canvas");
244
+ try {
245
+ b = a.getContext && (a.getContext("webgl") || a.getContext("experimental-webgl"))
246
+ } catch (c) {
247
+ b = !1
248
+ }
249
+ return !!window.WebGLRenderingContext && !!b
250
+ }, isIE: function () {
251
+ return "Microsoft Internet Explorer" === navigator.appName ? !0 : "Netscape" === navigator.appName && /Trident/.test(navigator.userAgent) ? !0 : !1
252
+ }, hasSwfObjectLoaded: function () {
253
+ return "undefined" != typeof window.swfobject
254
+ }, hasMinFlashInstalled: function () {
255
+ return swfobject.hasFlashPlayerVersion("9.0.0")
256
+ }, addFlashDivNode: function () {
257
+ var a = document.createElement("div");
258
+ a.setAttribute("id", this.options.swfContainerId), document.body.appendChild(a)
259
+ }, loadSwfAndDetectFonts: function (a) {
260
+ var b = "___fp_swf_loaded";
261
+ window[b] = function (b) {
262
+ a(b)
263
+ };
264
+ var c = this.options.swfContainerId;
265
+ this.addFlashDivNode();
266
+ var d = {onReady: b}, e = {allowScriptAccess: "always", menu: "false"};
267
+ swfobject.embedSWF(this.options.swfPath, c, "1", "1", "9.0.0", !1, d, e, {})
268
+ }, getWebglCanvas: function () {
269
+ var a = document.createElement("canvas"), b = null;
270
+ try {
271
+ b = a.getContext("webgl") || a.getContext("experimental-webgl")
272
+ } catch (c) {
273
+ }
274
+ return b || (b = null), b
275
+ }, each: function (a, b, c) {
276
+ if (null !== a)if (this.nativeForEach && a.forEach === this.nativeForEach)a.forEach(b, c); else if (a.length === +a.length) {
277
+ for (var d = 0, e = a.length; e > d; d++)if (b.call(c, a[d], d, a) === {})return
278
+ } else for (var f in a)if (a.hasOwnProperty(f) && b.call(c, a[f], f, a) === {})return
279
+ }, map: function (a, b, c) {
280
+ var d = [];
281
+ return null == a ? d : this.nativeMap && a.map === this.nativeMap ? a.map(b, c) : (this.each(a, function (a, e, f) {
282
+ d[d.length] = b.call(c, a, e, f)
283
+ }), d)
284
+ }, x64Add: function (a, b) {
285
+ a = [a[0] >>> 16, 65535 & a[0], a[1] >>> 16, 65535 & a[1]], b = [b[0] >>> 16, 65535 & b[0], b[1] >>> 16, 65535 & b[1]];
286
+ var c = [0, 0, 0, 0];
287
+ return c[3] += a[3] + b[3], c[2] += c[3] >>> 16, c[3] &= 65535, c[2] += a[2] + b[2], c[1] += c[2] >>> 16, c[2] &= 65535, c[1] += a[1] + b[1], c[0] += c[1] >>> 16, c[1] &= 65535, c[0] += a[0] + b[0], c[0] &= 65535, [c[0] << 16 | c[1], c[2] << 16 | c[3]]
288
+ }, x64Multiply: function (a, b) {
289
+ a = [a[0] >>> 16, 65535 & a[0], a[1] >>> 16, 65535 & a[1]], b = [b[0] >>> 16, 65535 & b[0], b[1] >>> 16, 65535 & b[1]];
290
+ var c = [0, 0, 0, 0];
291
+ return c[3] += a[3] * b[3], c[2] += c[3] >>> 16, c[3] &= 65535, c[2] += a[2] * b[3], c[1] += c[2] >>> 16, c[2] &= 65535, c[2] += a[3] * b[2], c[1] += c[2] >>> 16, c[2] &= 65535, c[1] += a[1] * b[3], c[0] += c[1] >>> 16, c[1] &= 65535, c[1] += a[2] * b[2], c[0] += c[1] >>> 16, c[1] &= 65535, c[1] += a[3] * b[1], c[0] += c[1] >>> 16, c[1] &= 65535, c[0] += a[0] * b[3] + a[1] * b[2] + a[2] * b[1] + a[3] * b[0], c[0] &= 65535, [c[0] << 16 | c[1], c[2] << 16 | c[3]]
292
+ }, x64Rotl: function (a, b) {
293
+ return b %= 64, 32 === b ? [a[1], a[0]] : 32 > b ? [a[0] << b | a[1] >>> 32 - b, a[1] << b | a[0] >>> 32 - b] : (b -= 32, [a[1] << b | a[0] >>> 32 - b, a[0] << b | a[1] >>> 32 - b])
294
+ }, x64LeftShift: function (a, b) {
295
+ return b %= 64, 0 === b ? a : 32 > b ? [a[0] << b | a[1] >>> 32 - b, a[1] << b] : [a[1] << b - 32, 0]
296
+ }, x64Xor: function (a, b) {
297
+ return [a[0] ^ b[0], a[1] ^ b[1]]
298
+ }, x64Fmix: function (a) {
299
+ return a = this.x64Xor(a, [0, a[0] >>> 1]), a = this.x64Multiply(a, [4283543511, 3981806797]), a = this.x64Xor(a, [0, a[0] >>> 1]), a = this.x64Multiply(a, [3301882366, 444984403]), a = this.x64Xor(a, [0, a[0] >>> 1])
300
+ }, x64hash128: function (a, b) {
301
+ a = a || "", b = b || 0;
302
+ for (var c = a.length % 16, d = a.length - c, e = [0, b], f = [0, b], g = [0, 0], h = [0, 0], i = [2277735313, 289559509], j = [1291169091, 658871167], k = 0; d > k; k += 16)g = [255 & a.charCodeAt(k + 4) | (255 & a.charCodeAt(k + 5)) << 8 | (255 & a.charCodeAt(k + 6)) << 16 | (255 & a.charCodeAt(k + 7)) << 24, 255 & a.charCodeAt(k) | (255 & a.charCodeAt(k + 1)) << 8 | (255 & a.charCodeAt(k + 2)) << 16 | (255 & a.charCodeAt(k + 3)) << 24], h = [255 & a.charCodeAt(k + 12) | (255 & a.charCodeAt(k + 13)) << 8 | (255 & a.charCodeAt(k + 14)) << 16 | (255 & a.charCodeAt(k + 15)) << 24, 255 & a.charCodeAt(k + 8) | (255 & a.charCodeAt(k + 9)) << 8 | (255 & a.charCodeAt(k + 10)) << 16 | (255 & a.charCodeAt(k + 11)) << 24], g = this.x64Multiply(g, i), g = this.x64Rotl(g, 31), g = this.x64Multiply(g, j), e = this.x64Xor(e, g), e = this.x64Rotl(e, 27), e = this.x64Add(e, f), e = this.x64Add(this.x64Multiply(e, [0, 5]), [0, 1390208809]), h = this.x64Multiply(h, j), h = this.x64Rotl(h, 33), h = this.x64Multiply(h, i), f = this.x64Xor(f, h), f = this.x64Rotl(f, 31), f = this.x64Add(f, e), f = this.x64Add(this.x64Multiply(f, [0, 5]), [0, 944331445]);
303
+ switch (g = [0, 0], h = [0, 0], c) {
304
+ case 15:
305
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 14)], 48));
306
+ case 14:
307
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 13)], 40));
308
+ case 13:
309
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 12)], 32));
310
+ case 12:
311
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 11)], 24));
312
+ case 11:
313
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 10)], 16));
314
+ case 10:
315
+ h = this.x64Xor(h, this.x64LeftShift([0, a.charCodeAt(k + 9)], 8));
316
+ case 9:
317
+ h = this.x64Xor(h, [0, a.charCodeAt(k + 8)]), h = this.x64Multiply(h, j), h = this.x64Rotl(h, 33), h = this.x64Multiply(h, i), f = this.x64Xor(f, h);
318
+ case 8:
319
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 7)], 56));
320
+ case 7:
321
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 6)], 48));
322
+ case 6:
323
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 5)], 40));
324
+ case 5:
325
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 4)], 32));
326
+ case 4:
327
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 3)], 24));
328
+ case 3:
329
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 2)], 16));
330
+ case 2:
331
+ g = this.x64Xor(g, this.x64LeftShift([0, a.charCodeAt(k + 1)], 8));
332
+ case 1:
333
+ g = this.x64Xor(g, [0, a.charCodeAt(k)]), g = this.x64Multiply(g, i), g = this.x64Rotl(g, 31), g = this.x64Multiply(g, j), e = this.x64Xor(e, g)
334
+ }
335
+ return e = this.x64Xor(e, [0, a.length]), f = this.x64Xor(f, [0, a.length]), e = this.x64Add(e, f), f = this.x64Add(f, e), e = this.x64Fmix(e), f = this.x64Fmix(f), e = this.x64Add(e, f), f = this.x64Add(f, e), ("00000000" + (e[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (e[1] >>> 0).toString(16)).slice(-8) + ("00000000" + (f[0] >>> 0).toString(16)).slice(-8) + ("00000000" + (f[1] >>> 0).toString(16)).slice(-8)
336
+ }, keyToObject: function (a, b) {
337
+ return 1 == a.length ? a[0] : a.length >= 2 ? a : null
338
+ }, send: function (a, b) {
339
+ this.get(function (c) {
340
+ var d = window.location.host, e = window.location.href, f = {
341
+ deviceId: c.deviceId,
342
+ userAgent: c.userAgentKey,
343
+ timezoneOffsetKey: c.timezoneOffsetKey,
344
+ cpuClassKey: c.cpuClassKey,
345
+ languageKey: c.languageKey,
346
+ dominio: d,
347
+ url: e,
348
+ keyUser: a,
349
+ sessionId: b,
350
+ platformKey: c.platformKey
351
+ };
352
+ jQuery.ajax({
353
+ url: "http://fingerprint.fcontrol.com.br/fcontrol/fingerprint/",
354
+ type: "POST",
355
+ data: JSON.stringify(f),
356
+ dataType: "json",
357
+ contentType: "application/json",
358
+ headers: {
359
+ "Access-Control-Allow-Origin": "http://fingerprint.fcontrol.com.br/fcontrol/fingerprint/",
360
+ contentType: "application/json",
361
+ dataType: "json"
362
+ }
363
+ })
364
+ })
365
+ }
366
+ }, a.VERSION = "0.1.0", a
367
+ });
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mundipagg_Integracao</name>
4
- <version>2.7.4</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
@@ -12,11 +12,13 @@ Mundipagg payment gateway integration.</summary>
12
  <description>Com esta extens&#xE3;o voc&#xEA; poder&#xE1; integrar sua loja Magento com o gateway de pagamentos MundiPagg.&#xD;
13
  &#xD;
14
  With this extension you can process payments through brazilian payment gateway Mundipagg</description>
15
- <notes>Debug fix</notes>
 
 
16
  <authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
17
- <date>2016-09-12</date>
18
- <time>17:21:36</time>
19
- <contents><target name="magecommunity"><dir name="Uecommerce"><dir name="Mundipagg"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Installments.php" hash="ec8343e197cb194d978400bbdf64d446"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="2140a7836eaa57e03727433ccddf93d6"/></dir><dir name="Invoice"><file name="Totals.php" hash="ee304d9034ae0763e5db464f933b8c27"/><file name="View.php" hash="b0e3c170cd0184a5dfbe4fa7a486b471"/></dir><file name="Totals.php" hash="71b20a4c0022c14a5f7f8d008aabe1da"/></dir><dir name="Transactions"><dir name="Detail"><file name="Grid.php" hash="d67911c431587e4327eec95540cf548a"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="aa40a974b89c92ea9652c42e093d16f9"/></dir></dir></dir><file name="Version.php" hash="e3a89823e48e7a526a3afe8ce8c0d0ee"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="c903e413c47e3dea87ec09d609543a27"/></dir></dir></dir><file name="Info.php" hash="c5743b8887caffc12ee2b502d7256101"/><file name="Parcelamento.php" hash="bbfad3557dd7c29e2a21a213cf915e0c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="be3e89b0e2f008fcc0293286d44df7da"/></dir><dir name="Invoice"><file name="Totals.php" hash="a39c41f45ef44b72d15cfd12fea4e9c6"/></dir><file name="Totals.php" hash="6f56aa360f48c715b30afd4e5cd4ddfa"/></dir></dir><dir name="Standard"><file name="Boleto.php" hash="4471015b8a82311f84e52e774460bf38"/><file name="Cancel.php" hash="095eaf31c6567fad440279aeb2994caa"/><file name="Debit.php" hash="c707d9572b6079457b9265cc09c920c6"/><file name="Fcancel.php" hash="4bc5b0fb68fb7fd11159788eafe958af"/><file name="Form.php" hash="0f7f97654c5e819ac178e5d888fae6ee"/><file name="Partial.php" hash="fb5877a8f6c56ac1d6fc48eb864d8e60"/><file name="Redirect.php" hash="70f576c8d64c25e3ce627f6c36b2ff41"/><file name="Success.php" hash="b1b0bef88ed350d703da0e314ffad565"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="91d5069c18069fcb2a0a436fb768a194"/></dir><dir name="Helper"><file name="Data.php" hash="f76872ecd60d5e936af834b3d22c5983"/><file name="Installments.php" hash="d95d76587b1af78b0925bbbaf9fc9765"/><file name="Log.php" hash="929ce5f1f4bb4d34b6a4ef7deed210a6"/><file name="Util.php" hash="8d76ffdc3e7ace2598d373f1aef20228"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><dir name="Adminvalidators"><file name="Debug.php" hash="80bedd2d18fc0ad3888208d7255048cf"/></dir><file name="Api.php" hash="a67901cb7be258ba2abb8935435ed8ff"/><file name="Boleto.php" hash="a7da1d58eb0fccb53eae51ba97d93dc5"/><file name="Cardonfile.php" hash="98395928a16313f8b4127e4e210cf953"/><file name="Creditcard.php" hash="007a43e7530ea5471b6a9aaa5405ce21"/><file name="Creditcardoneinstallment.php" hash="2e4222fd04dbc4f5ee116d4d7f4eae04"/><dir name="Customer"><file name="Session.php" hash="7f15498648de23cf4feb5143071ec260"/></dir><file name="Customers.php" hash="a779e96a969b83d1b38df351eb4670d0"/><file name="Debit.php" hash="8a3387bf74b1f03b9614fbdb64ab9dd5"/><dir name="Enum"><file name="BoletoTransactionStatusEnum.php" hash="3fed0a36bb76497b85c50016af34d47a"/><file name="CreditCardTransactionStatusEnum.php" hash="4546716f63e6df57061b222002157ccd"/><file name="OrderStatusEnum.php" hash="fd42020aab9d5507b5e0c26957cd1abb"/><file name="TransactionTypeEnum.php" hash="52fc4049a9f2b120ad3ed99e296268f9"/></dir><file name="Fivecreditcards.php" hash="6975e6170345bb3f20fde79ae40b81fe"/><file name="Fourcreditcards.php" hash="2da3d901173c19e53a96adb197b1533a"/><file name="Observer.php" hash="2295c195391a3d68fd8fd7c7c2dba032"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir><file name="Payment.php" hash="b1ab4478ab967cb6fb04b380e609cf4d"/></dir><file name="Providervalidation.php" hash="4906944bae20e3f683d6e5c4ba5304e3"/><dir name="Quote"><dir name="Address"><file name="Interest.php" hash="93aa0189a8556597697dbb239dbf3be7"/></dir></dir><file name="Recurrency.php" hash="10744874b30361f54d18c4f7affee99f"/><dir name="Resource"><dir name="Cardonfile"><file name="Collection.php" hash="7b7d13bc6d7be8e5e1c5f945d59117f6"/></dir><file name="Cardonfile.php" hash="47d0107a9b1c3415aaf8784298361e84"/><dir name="Customers"><file name="Collection.php" hash="6caadd817abbcda527ba6d102585f2ff"/></dir><file name="Customers.php" hash="f50289a4c8362ddf7a79e4aa7c8a6387"/><dir name="Offlineretry"><file name="Collection.php" hash="80f0689c66a30110e68c2fdafb3014a8"/></dir><file name="Offlineretry.php" hash="08c804fd3b001f4f3ac19ebbcfca59fb"/><file name="Setup.php" hash="42bda31d8497e1b0983775e17f7325a5"/></dir><dir name="Source"><file name="Antifraud.php" hash="8362e0bb2209bbf904a7f9b2edd59cee"/><file name="Banks.php" hash="b5d456a807cdf750a6458144e955cf2c"/><file name="CctypeProductInstallments.php" hash="7837f6865c905ba8f5393d080ebc1b3d"/><file name="Cctypes.php" hash="b55eb988a6a09f24b1088f15644961d0"/><file name="Debit.php" hash="9366bc3b900cf96ad5d2bce7e8d93ba7"/><file name="Environment.php" hash="099a28ea462481333437a6479276e8b0"/><file name="FControlEnvironment.php" hash="5159f6e4d86ee9d280285b7198fa01e9"/><file name="Frequency.php" hash="7864991042d0ec3fd5920d9047127b14"/><file name="Installments.php" hash="b04c05b92f7b8b5c025f23aad4457917"/><file name="PaymentAction.php" hash="c16639be23fd85c285f474922fd528a7"/><file name="PaymentMethods.php" hash="e12514ad00bf3fe3fb4e569b11da2c10"/></dir><file name="Standard.php" hash="28b9cee31223de104c701be7e4c360fa"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Installments.php" hash="f0901bf05acd0b2c3fda41965f949583"/></dir></dir></dir><file name="Threecreditcards.php" hash="73fcdc4ef1dd38128b60454f90184ff5"/><file name="Twocreditcards.php" hash="c010f631d556a08d2d1aa65dc6b60703"/><file name="Urlvalidation.php" hash="e3ccd751eea54e282d30624192537cd8"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Test"><dir name="Selenium"><file name="Abstract.php" hash="caf0cd5ca47b13fb00be4230d1bb9132"/><file name="BoletoTest.php" hash="0718dc551376686dc6daaa3b57ddd1f9"/><dir name="CcTypes"><file name="CreditcardTest.php" hash="fde35369e57eb70f29f8defe1d7f06af"/><file name="CreditcardoneinstallmentTest.php" hash="cabcf9a3f56497e32679c1d2d063a6d7"/><file name="FivecreditcardsTest.php" hash="a903b89e20b9e754df7ed22dc9e8eecf"/><file name="FourcheditcardsTest.php" hash="3619a03b24af1a768cbc87be430b4323"/><file name="ThreecreditcardsTest.php" hash="d59c7b8a7de6320cff170e435fbe6e9e"/><file name="TwocreditcardsTest.php" hash="58db59f790aa7c65a324e6a552c2e05c"/></dir><file name="CcTypes.php" hash="fdb1cb980444a4cd35ace6543b9f335e"/><file name="DebitTest.php" hash="1409a8f2de15e13792dcba2099a887cc"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="e5a51c9660f704bcbfb302d34493a5a6"/></dir><file name="ClearsaleController.php" hash="bc06365f0d577d66228d9f0c3e471089"/><file name="FcontrolController.php" hash="1af534f1cdadbfdbe702aed12c7a2e1d"/><file name="StandardController.php" hash="0a8c479368b3aa4d0fcedad44a5f36b5"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/><file name="TestController.php" hash="da51385fb260fc0135b83a446d8a2f5f"/><file name="TesteController.php" hash="5cc1b9cc40d098963a0e883cd7b8a194"/></dir><dir name="etc"><file name="config.xml" hash="8d2c396c50820b505e2b8b9f032059c0"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="83ba2592c2e11127c47bd430995ae48e"/><file name="wsdl.xml" hash="a59b87019a8bdb03d97191e2d06be325"/><file name="xtest.xml" hash="b34ee3b6e37a890b73374b5ea3a1c40f"/></dir><dir name="sql"><dir name="mundipagg_setup"><file name="install-0.3.0.php" hash="ede73bb07d71fec55340c4249ff4a258"/><file name="mysql4-upgrade-0.3.0-0.3.5.php" hash="d3c200cce4a814feaa0858c0c8abd928"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.3.5-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-0.4.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="4a2962a1eb974c75e153f48cc77f00d4"/><file name="mysql4-upgrade-0.4.1-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.11-2.0.0.php" hash="83c95c6060bb8678be3b8944a6823fd9"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="a437df63647a52381ed5e056ccbb0cff"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="30dc2c3c763893d3bac6b9fde0c56477"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="4959ae51e69913d8ac642bc2ab848464"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.3-2.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.7-2.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.9-2.1.0.php" hash="3488f42f3d9e6a57ce4176c0a7954171"/><file name="mysql4-upgrade-2.1.2-2.1.3.php" hash="7d7823cb555a32295d179a96e2bf987a"/><file name="mysql4-upgrade-2.5.7-2.5.8.php" hash="45c4f1fd5336b7ce578c672e8f1d57b0"/><file name="mysql4-upgrade-2.5.8-2.6.0.php" hash="bf06e3d6ab5fa0c89629385db4231006"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="8d4357846320760a16aaaf4e1bca673d"/></dir><dir name="template"><dir name="mundipagg"><file name="boleto.phtml" hash="11cc5b254644727d6bdded8a834965c7"/><file name="form.phtml" hash="566e1838cab471ce41a1f74156e3b3bf"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="bd5b27bef9e968794b50aa2543cd3d6a"/></dir></dir><dir name="system"><dir name="config"><file name="button.phtml" hash="6a7f6c88cf156d31d34a818ac37bd158"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="c2ebd0374a3c6a6a4d8c3db84c8abf5a"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="1c84a81343591e6afec7a7d8d2549410"/><file name="stone.phtml" hash="681ddf22694c725bb6e84e79681936fa"/></dir><file name="boleto.phtml" hash="dc31735a2753812d36e3080bf5b01ac2"/><file name="cancel.phtml" hash="540639b1ccd698397286f668bbf23746"/><file name="debit.phtml" hash="78f60f0227e99ff0c1d7dbf6bd5aa202"/><file name="extras.phtml" hash="f3eba84e971e890922141d90f6bdd53f"/><file name="fcancel.phtml" hash="9ce1d7634acf519669e21978b41aa277"/><file name="form.phtml" hash="faff82dad9768f016f81648aa8b9b800"/><file name="parcelamento.phtml" hash="56a89503637e5ad753b0d410f2f5c7ad"/><file name="partial.phtml" hash="65b07a14ff67c7413405117a6f95c2be"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="c110a21db08013d38add1b79977350e4"/></dir></dir><file name="redirect.phtml" hash="a8a1123eab776934c64f57b4f9cfd517"/><file name="success.phtml" hash="7afd82f246fdf50f9a72ebb15086a2b6"/><file name="totals.phtml" hash="5a78aa3fe60d4b13bf8451f23bb9edd9"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="mundipagg"><file name="debit.phtml" hash="4d2ae58447d3893499556ae068f800f8"/><file name="form.phtml" hash="dd83f04f33982e17fdea1713a3eb1b3a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Uecommerce_Mundipagg.xml" hash="b292eeabde8e2cd06db0c31aff54fd98"/></dir></target><target name="mage"><dir name="js"><dir name="uecommerce"><dir name="fcontrol"><file name="hmlg-fcontrol-ed.min.js" hash="b8b6c945111b6edd7a90df2f5d3ff5cd"/></dir><file name="jquery-3.1.0.min.js" hash="05e51b1db558320f1939f9789ccf5c8f"/><file name="mundipagg.js" hash="c887a21c210250da640bafce773e43ab"/><file name="recurrency.js" hash="6c0db9f70fea794eb55f1db3bd09b4aa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="mundipagg-avatar-blue.png" hash="9e81f9c54ac7ce3de570d7065f4b4c07"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mundipagg.css" hash="90c32001f3a9b858c9506f5135c04972"/></dir><dir name="images"><dir name="mundipagg"><file name="001.png" hash="25d10d6fee7fc3e5dc48021a15de8fb0"/><file name="237.png" hash="cbea9caff342edd9b9b9509bbbbae6fb"/><file name="341.png" hash="3645161fc56322ec34ebfcc006390e5d"/><file name="AE.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="DI.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="MC.png" hash="836466c092121163320e9e6279f11f8b"/><file name="VBV.jpg" hash="1a7db765956829e80715a299b799f580"/><file name="VBV.png" hash="d6fb7de65fda842f03e2b9fc89d5e6aa"/><file name="VI.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cc_types.png" hash="fdae60f96ee668354161b5a865b8e7ef"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="ae.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/><file name="di.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="mc.png" hash="836466c092121163320e9e6279f11f8b"/><file name="vi.png" hash="cc0709d50773fa2815f7bfeb741a4219"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Uecommerce_Mundipagg.csv" hash="ae581dc54ea4ada4a9a3c9f4c51f09c7"/></dir><dir name="pt_BR"><file name="Uecommerce_Mundipagg.csv" hash="ee504e4c16b68ece7b3e58605a69ce61"/></dir></target></contents>
20
  <compatible/>
21
  <dependencies><required><php><min>5.4.0</min><max>7.0.9</max></php></required></dependencies>
22
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Mundipagg_Integracao</name>
4
+ <version>2.8.0</version>
5
  <stability>stable</stability>
6
  <license>MIT</license>
7
  <channel>community</channel>
12
  <description>Com esta extens&#xE3;o voc&#xEA; poder&#xE1; integrar sua loja Magento com o gateway de pagamentos MundiPagg.&#xD;
13
  &#xD;
14
  With this extension you can process payments through brazilian payment gateway Mundipagg</description>
15
+ <notes>Support for With Error credit card transaction status.&#xD;
16
+ &#xD;
17
+ Now all fields from response JSON are recorded in the transactions and in the order payment model.</notes>
18
  <authors><author><name>MundiPagg</name><user>MundiPagg</user><email>mundi@mundipagg.com</email></author></authors>
19
+ <date>2016-09-29</date>
20
+ <time>19:23:38</time>
21
+ <contents><target name="magecommunity"><dir name="Uecommerce"><dir name="Mundipagg"><dir name="Block"><dir name="Adminhtml"><dir name="Form"><dir name="Field"><file name="Installments.php" hash="ec8343e197cb194d978400bbdf64d446"/></dir></dir><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="2140a7836eaa57e03727433ccddf93d6"/></dir><dir name="Invoice"><file name="Totals.php" hash="ee304d9034ae0763e5db464f933b8c27"/><file name="View.php" hash="b0e3c170cd0184a5dfbe4fa7a486b471"/></dir><file name="Totals.php" hash="71b20a4c0022c14a5f7f8d008aabe1da"/></dir><dir name="Transactions"><dir name="Detail"><file name="Grid.php" hash="d67911c431587e4327eec95540cf548a"/></dir></dir></dir><dir name="System"><dir name="Config"><dir name="Form"><file name="Button.php" hash="aa40a974b89c92ea9652c42e093d16f9"/></dir></dir></dir><file name="Version.php" hash="e3a89823e48e7a526a3afe8ce8c0d0ee"/></dir><dir name="Checkout"><dir name="Onepage"><dir name="Payment"><file name="Methods.php" hash="c903e413c47e3dea87ec09d609543a27"/></dir></dir></dir><file name="Info.php" hash="c5743b8887caffc12ee2b502d7256101"/><file name="Parcelamento.php" hash="bbfad3557dd7c29e2a21a213cf915e0c"/><dir name="Sales"><dir name="Order"><dir name="Creditmemo"><file name="Totals.php" hash="be3e89b0e2f008fcc0293286d44df7da"/></dir><dir name="Invoice"><file name="Totals.php" hash="a39c41f45ef44b72d15cfd12fea4e9c6"/></dir><file name="Totals.php" hash="6f56aa360f48c715b30afd4e5cd4ddfa"/></dir></dir><dir name="Standard"><file name="Boleto.php" hash="4471015b8a82311f84e52e774460bf38"/><file name="Cancel.php" hash="095eaf31c6567fad440279aeb2994caa"/><file name="Debit.php" hash="c707d9572b6079457b9265cc09c920c6"/><file name="Fcancel.php" hash="4bc5b0fb68fb7fd11159788eafe958af"/><file name="Form.php" hash="0f7f97654c5e819ac178e5d888fae6ee"/><file name="Partial.php" hash="fb5877a8f6c56ac1d6fc48eb864d8e60"/><file name="Redirect.php" hash="70f576c8d64c25e3ce627f6c36b2ff41"/><file name="Success.php" hash="b1b0bef88ed350d703da0e314ffad565"/></dir></dir><dir name="Controller"><file name="Abstract.php" hash="91d5069c18069fcb2a0a436fb768a194"/></dir><dir name="Helper"><file name="Data.php" hash="f76872ecd60d5e936af834b3d22c5983"/><file name="Installments.php" hash="d95d76587b1af78b0925bbbaf9fc9765"/><file name="Log.php" hash="929ce5f1f4bb4d34b6a4ef7deed210a6"/><file name="Util.php" hash="e5c9d9329da5b00b476c352990e413c7"/><file name="Version.php" hash="00066d5bf31a7c49db004f2bd0d5c462"/></dir><dir name="Model"><dir name="Adminvalidators"><file name="Debug.php" hash="80bedd2d18fc0ad3888208d7255048cf"/></dir><file name="Api.php" hash="11f59a6e4edf289ebaf0a03a3f0bf2c7"/><file name="Boleto.php" hash="a7da1d58eb0fccb53eae51ba97d93dc5"/><file name="Cardonfile.php" hash="98395928a16313f8b4127e4e210cf953"/><file name="Creditcard.php" hash="007a43e7530ea5471b6a9aaa5405ce21"/><file name="Creditcardoneinstallment.php" hash="2e4222fd04dbc4f5ee116d4d7f4eae04"/><dir name="Customer"><file name="Session.php" hash="7f15498648de23cf4feb5143071ec260"/></dir><file name="Customers.php" hash="a779e96a969b83d1b38df351eb4670d0"/><file name="Debit.php" hash="8a3387bf74b1f03b9614fbdb64ab9dd5"/><dir name="Enum"><file name="BoletoTransactionStatusEnum.php" hash="3fed0a36bb76497b85c50016af34d47a"/><file name="CreditCardTransactionStatusEnum.php" hash="4546716f63e6df57061b222002157ccd"/><file name="OrderStatusEnum.php" hash="fd42020aab9d5507b5e0c26957cd1abb"/><file name="TransactionTypeEnum.php" hash="52fc4049a9f2b120ad3ed99e296268f9"/></dir><file name="Fivecreditcards.php" hash="6975e6170345bb3f20fde79ae40b81fe"/><file name="Fourcreditcards.php" hash="2da3d901173c19e53a96adb197b1533a"/><file name="Observer.php" hash="2295c195391a3d68fd8fd7c7c2dba032"/><file name="Offlineretry.php" hash="394849df4873908dd43d3c15f75dc9d0"/><dir name="Order"><dir name="Invoice"><file name="Interest.php" hash="6bba5e87bae1a7ee94a827819b2ea4ce"/></dir><file name="Payment.php" hash="b1ab4478ab967cb6fb04b380e609cf4d"/></dir><file name="Providervalidation.php" hash="4906944bae20e3f683d6e5c4ba5304e3"/><dir name="Quote"><dir name="Address"><file name="Interest.php" hash="93aa0189a8556597697dbb239dbf3be7"/></dir></dir><file name="Recurrency.php" hash="10744874b30361f54d18c4f7affee99f"/><dir name="Resource"><dir name="Cardonfile"><file name="Collection.php" hash="7b7d13bc6d7be8e5e1c5f945d59117f6"/></dir><file name="Cardonfile.php" hash="47d0107a9b1c3415aaf8784298361e84"/><dir name="Customers"><file name="Collection.php" hash="6caadd817abbcda527ba6d102585f2ff"/></dir><file name="Customers.php" hash="f50289a4c8362ddf7a79e4aa7c8a6387"/><dir name="Offlineretry"><file name="Collection.php" hash="80f0689c66a30110e68c2fdafb3014a8"/></dir><file name="Offlineretry.php" hash="08c804fd3b001f4f3ac19ebbcfca59fb"/><file name="Setup.php" hash="42bda31d8497e1b0983775e17f7325a5"/></dir><dir name="Source"><file name="Antifraud.php" hash="8362e0bb2209bbf904a7f9b2edd59cee"/><file name="Banks.php" hash="b5d456a807cdf750a6458144e955cf2c"/><file name="CctypeProductInstallments.php" hash="7837f6865c905ba8f5393d080ebc1b3d"/><file name="Cctypes.php" hash="b55eb988a6a09f24b1088f15644961d0"/><file name="Debit.php" hash="9366bc3b900cf96ad5d2bce7e8d93ba7"/><file name="Environment.php" hash="099a28ea462481333437a6479276e8b0"/><file name="FControlEnvironment.php" hash="5159f6e4d86ee9d280285b7198fa01e9"/><file name="Frequency.php" hash="7864991042d0ec3fd5920d9047127b14"/><file name="Installments.php" hash="b04c05b92f7b8b5c025f23aad4457917"/><file name="PaymentAction.php" hash="c16639be23fd85c285f474922fd528a7"/><file name="PaymentMethods.php" hash="e12514ad00bf3fe3fb4e569b11da2c10"/></dir><file name="Standard.php" hash="291b8b602ef7cd16607769646cdd21e4"/><dir name="System"><dir name="Config"><dir name="Backend"><file name="Installments.php" hash="f0901bf05acd0b2c3fda41965f949583"/></dir></dir></dir><file name="Threecreditcards.php" hash="73fcdc4ef1dd38128b60454f90184ff5"/><file name="Twocreditcards.php" hash="c010f631d556a08d2d1aa65dc6b60703"/><file name="Urlvalidation.php" hash="e3ccd751eea54e282d30624192537cd8"/><file name=".DS_Store" hash="194577a7e20bdcc7afbb718f502c134c"/></dir><dir name="Test"><dir name="Selenium"><file name="Abstract.php" hash="caf0cd5ca47b13fb00be4230d1bb9132"/><file name="BoletoTest.php" hash="0718dc551376686dc6daaa3b57ddd1f9"/><dir name="CcTypes"><file name="CreditcardTest.php" hash="fde35369e57eb70f29f8defe1d7f06af"/><file name="CreditcardoneinstallmentTest.php" hash="cabcf9a3f56497e32679c1d2d063a6d7"/><file name="FivecreditcardsTest.php" hash="a903b89e20b9e754df7ed22dc9e8eecf"/><file name="FourcheditcardsTest.php" hash="3619a03b24af1a768cbc87be430b4323"/><file name="ThreecreditcardsTest.php" hash="d59c7b8a7de6320cff170e435fbe6e9e"/><file name="TwocreditcardsTest.php" hash="58db59f790aa7c65a324e6a552c2e05c"/></dir><file name="CcTypes.php" hash="fdb1cb980444a4cd35ace6543b9f335e"/><file name="DebitTest.php" hash="1409a8f2de15e13792dcba2099a887cc"/></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="IndexController.php" hash="e5a51c9660f704bcbfb302d34493a5a6"/></dir><file name="ClearsaleController.php" hash="bc06365f0d577d66228d9f0c3e471089"/><file name="FcontrolController.php" hash="1af534f1cdadbfdbe702aed12c7a2e1d"/><file name="StandardController.php" hash="d1e10eb258d4dc0fd43ff64d6e636385"/><file name="StoneController.php" hash="80c6f59a868ac82fc22bcf586bbecfdd"/></dir><dir name="etc"><file name="config.xml" hash="7267e7ce652947acb337fcbaab4d0170"/><file name="jstranslator.xml" hash="8b1ea10d9b3072a795567dba6dae938c"/><file name="system.xml" hash="0bd74868247a26a9b613dc987d6c4d27"/><file name="wsdl.xml" hash="a59b87019a8bdb03d97191e2d06be325"/><file name="xtest.xml" hash="b34ee3b6e37a890b73374b5ea3a1c40f"/></dir><dir name="sql"><dir name="mundipagg_setup"><file name="install-0.3.0.php" hash="ede73bb07d71fec55340c4249ff4a258"/><file name="mysql4-upgrade-0.3.0-0.3.5.php" hash="d3c200cce4a814feaa0858c0c8abd928"/><file name="mysql4-upgrade-0.3.5-0.4.0.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.3.5-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-0.4.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-0.4.1-0.4.2.php" hash="4a2962a1eb974c75e153f48cc77f00d4"/><file name="mysql4-upgrade-0.4.1-1.0.1.php" hash="d22a0a81e392885433ca58dc196c2a86"/><file name="mysql4-upgrade-1.0.0-1.0.1.php" hash="297f1b37b7703f7a0d621d227c8cbeb9"/><file name="mysql4-upgrade-1.0.1-1.0.2.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.10-1.0.11.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.11-2.0.0.php" hash="83c95c6060bb8678be3b8944a6823fd9"/><file name="mysql4-upgrade-1.0.2-1.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.3-1.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.4-1.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.5-1.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.6-1.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.7-1.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.8-1.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-1.0.9-1.0.10.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.0-2.0.1.php" hash="a437df63647a52381ed5e056ccbb0cff"/><file name="mysql4-upgrade-2.0.0-2.1.0.php" hash="30dc2c3c763893d3bac6b9fde0c56477"/><file name="mysql4-upgrade-2.0.1-2.0.2.php" hash="4959ae51e69913d8ac642bc2ab848464"/><file name="mysql4-upgrade-2.0.2-2.0.3.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.3-2.0.4.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.4-2.0.5.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.5-2.0.6.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.6-2.0.7.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.7-2.0.8.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.8-2.0.9.php" hash="4c18b9eb1e0a08d858dde48280eed2c0"/><file name="mysql4-upgrade-2.0.9-2.1.0.php" hash="3488f42f3d9e6a57ce4176c0a7954171"/><file name="mysql4-upgrade-2.1.2-2.1.3.php" hash="7d7823cb555a32295d179a96e2bf987a"/><file name="mysql4-upgrade-2.5.7-2.5.8.php" hash="45c4f1fd5336b7ce578c672e8f1d57b0"/><file name="mysql4-upgrade-2.5.8-2.6.0.php" hash="bf06e3d6ab5fa0c89629385db4231006"/><file name="mysql4-upgrade-2.7.4-2.8.0.php" hash="c53fbd135b7735b7bbe90e5c4c11e5b2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="8d4357846320760a16aaaf4e1bca673d"/></dir><dir name="template"><dir name="mundipagg"><file name="boleto.phtml" hash="11cc5b254644727d6bdded8a834965c7"/><file name="form.phtml" hash="566e1838cab471ce41a1f74156e3b3bf"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="bd5b27bef9e968794b50aa2543cd3d6a"/></dir></dir><dir name="system"><dir name="config"><file name="button.phtml" hash="6a7f6c88cf156d31d34a818ac37bd158"/></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="mundipagg.xml" hash="0dc6cc39164b57626ccf7a429bbbf3d7"/></dir><dir name="template"><dir name="mundipagg"><dir name="antifraud"><file name="clearsale.phtml" hash="088a189dd94401f39c90ad0a1471994f"/><file name="fcontrol.phtml" hash="8fe2da3913bd18a20f35235533080ab8"/><file name="stone.phtml" hash="681ddf22694c725bb6e84e79681936fa"/></dir><file name="boleto.phtml" hash="dc31735a2753812d36e3080bf5b01ac2"/><file name="cancel.phtml" hash="540639b1ccd698397286f668bbf23746"/><file name="debit.phtml" hash="78f60f0227e99ff0c1d7dbf6bd5aa202"/><file name="extras.phtml" hash="f3eba84e971e890922141d90f6bdd53f"/><file name="fcancel.phtml" hash="9ce1d7634acf519669e21978b41aa277"/><file name="form.phtml" hash="faff82dad9768f016f81648aa8b9b800"/><file name="parcelamento.phtml" hash="56a89503637e5ad753b0d410f2f5c7ad"/><file name="partial.phtml" hash="65b07a14ff67c7413405117a6f95c2be"/><dir name="payment"><dir name="info"><file name="mundipagg.phtml" hash="c110a21db08013d38add1b79977350e4"/></dir></dir><file name="redirect.phtml" hash="a8a1123eab776934c64f57b4f9cfd517"/><file name="success.phtml" hash="7afd82f246fdf50f9a72ebb15086a2b6"/><file name="totals.phtml" hash="5a78aa3fe60d4b13bf8451f23bb9edd9"/></dir></dir></dir></dir><dir name="rwd"><dir name="default"><dir name="template"><dir name="mundipagg"><file name="debit.phtml" hash="4d2ae58447d3893499556ae068f800f8"/><file name="form.phtml" hash="dd83f04f33982e17fdea1713a3eb1b3a"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Uecommerce_Mundipagg.xml" hash="b292eeabde8e2cd06db0c31aff54fd98"/></dir></target><target name="mage"><dir name="js"><dir name="uecommerce"><dir name="fcontrol"><file name="fingerprint-fcontrol.js" hash="33409e94c34847788fabbb3a5b038fd0"/><file name="fingerprint-sandbox.js" hash="5a55fed60e1501b2317ba445c656e46c"/><file name="hmlg-fcontrol-ed.min.js" hash="b8b6c945111b6edd7a90df2f5d3ff5cd"/><file name="script-fingerprint-fcontrol-prod.js" hash="702fd8905520a868b71ab1156297c969"/></dir><file name="jquery-3.1.0.min.js" hash="05e51b1db558320f1939f9789ccf5c8f"/><file name="mundipagg.js" hash="c887a21c210250da640bafce773e43ab"/><file name="recurrency.js" hash="6c0db9f70fea794eb55f1db3bd09b4aa"/></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="mundipagg.css" hash="90c32001f3a9b858c9506f5135c04972"/></dir><dir name="images"><dir name="mundipagg"><file name="001.png" hash="25d10d6fee7fc3e5dc48021a15de8fb0"/><file name="237.png" hash="cbea9caff342edd9b9b9509bbbbae6fb"/><file name="341.png" hash="3645161fc56322ec34ebfcc006390e5d"/><file name="AE.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="DI.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="MC.png" hash="836466c092121163320e9e6279f11f8b"/><file name="VBV.jpg" hash="1a7db765956829e80715a299b799f580"/><file name="VBV.png" hash="d6fb7de65fda842f03e2b9fc89d5e6aa"/><file name="VI.png" hash="cc0709d50773fa2815f7bfeb741a4219"/><file name="ajax-loader.gif" hash="7b9776076d5fceef4993b55c9383dedd"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cc_types.png" hash="fdae60f96ee668354161b5a865b8e7ef"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/></dir></dir></dir></dir><dir name="default"><dir name="default"><dir name="images"><dir name="mundipagg"><file name="EL.png" hash="ad180c308d285f73fc044121cb6aeac0"/><file name="HI.png" hash="c25430ddd8e441cc2fc3ef68219e7668"/><file name="ae.png" hash="40ea216476033961d50f452bf4bca4df"/><file name="boleto.jpg" hash="237570c55c811b4b13f73ab92f28e599"/><file name="cielo_mastercard.png" hash="e2c2af12ea24f1b82490fdcc62fbb871"/><file name="cielo_visa.png" hash="d2f0c660714dc319b73c0dac9c9108d0"/><file name="di.png" hash="0f4264379e7b8ba6b1a30a3d69240ae2"/><file name="mc.png" hash="836466c092121163320e9e6279f11f8b"/><file name="vi.png" hash="cc0709d50773fa2815f7bfeb741a4219"/></dir></dir></dir></dir></dir></target><target name="magelocale"><dir name="en_US"><file name="Uecommerce_Mundipagg.csv" hash="ae581dc54ea4ada4a9a3c9f4c51f09c7"/></dir><dir name="pt_BR"><file name="Uecommerce_Mundipagg.csv" hash="eb3981217ba9fdf3ccd4bd3960c30874"/></dir></target></contents>
22
  <compatible/>
23
  <dependencies><required><php><min>5.4.0</min><max>7.0.9</max></php></required></dependencies>
24
  </package>
skin/adminhtml/default/default/images/mundipagg/mundipagg-avatar-blue.png DELETED
Binary file