@easyflow/javascript-sdk 2.1.31 β†’ 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/INDEX.md CHANGED
@@ -25,16 +25,6 @@ Comprehensive guide to all data structures:
25
25
  - **Error codes and messages** reference
26
26
  - **Best practices** for data handling
27
27
 
28
- ### [πŸš€ Platform Integration Guide](https://easyflow-cash.github.io/easyflow-javascript-sdk/PLATFORM-INTEGRATION.md)
29
-
30
- Complete guide for platform integration:
31
-
32
- - **`initializeForPlatform()`** method explanation
33
- - **Traditional vs Platform** initialization approaches
34
- - **Low-code/No-code** platform examples
35
- - **Automatic callbacks** and validation
36
- - **Performance considerations** and best practices
37
-
38
28
  ## πŸš€ Examples & Demos
39
29
 
40
30
  ### [πŸ› Development Mode Example](examples/development-mode-example.html)
@@ -58,7 +48,7 @@ npm install @easyflow/javascript-sdk
58
48
 
59
49
  - **Production-ready obfuscated code** - Same secure build as CDN
60
50
  - **TypeScript definitions** - Full IntelliSense and type safety
61
- - **Complete documentation** - README, INDEX, DATA-STRUCTURES, PLATFORM-INTEGRATION
51
+ - **Complete documentation** - README, INDEX, DATA-STRUCTURES
62
52
  - **Version management** - Easy updates via package.json
63
53
 
64
54
  **Perfect for:**
package/README.md CHANGED
@@ -2,24 +2,49 @@
2
2
 
3
3
  Enterprise-grade JavaScript SDK for Easyflow payment processing platform - Documentation and TypeScript definitions only
4
4
 
5
- ## Quick Start
5
+ ## What's New in v2.2.0
6
6
 
7
- ### Via NPM
7
+ ### πŸ†• New Features
8
8
 
9
- ```bash
10
- npm install @easyflow/javascript-sdk
11
- ```
9
+ - **Enhanced Buyer Validation**: Comprehensive validation for buyer data in orders, including phone and document number
10
+ format validation
11
+ - **Items Validation for Charge Method**: Rigorous validation of items array with support for name, priceInCents,
12
+ quantity, and optional description
13
+ - **Integer Validation**: New `isInteger()` method for validating integer values (no decimals allowed)
14
+ - **Numeric String Validation**: Enhanced validation for phone numbers and document numbers (only digits allowed)
15
+
16
+ ### πŸ”§ Improvements
17
+
18
+ - **Better Error Messages**: More specific error messages with field context (e.g., `items[0].name`)
19
+ - **Comprehensive Testing**: 66 test cases for validator module ensuring robust validation
20
+ - **Type Safety**: Enhanced validation for all data structures with clear error reporting
21
+
22
+ ### πŸ›‘οΈ Security & Validation
23
+
24
+ - **Phone Number Format**: Enforces clean numeric format (e.g., "984762782" not "98-476-2782")
25
+ - **Document Number Format**: Ensures clean numeric format (e.g., "11039630669" not "110.396.306-69")
26
+ - **Items Validation**: Strict validation for charge items with required fields and optional description (max 200 chars)
27
+ - **Boolean Validation**: Enhanced validation for boolean fields like `isMobile`
28
+
29
+ ### πŸ“š Documentation
30
+
31
+ - **Updated Examples**: All examples now include complete data structures
32
+ - **Validation Rules**: Clear documentation of validation requirements for each field
33
+ - **Error Handling**: Comprehensive error handling examples and best practices
34
+
35
+ ## Quick Start
12
36
 
13
37
  ### Via CDN
14
38
 
15
39
  ```html
40
+
16
41
  <script src="https://easyflow-sdk.pages.dev/easyflow-sdk.min.js"></script>
17
42
  ```
18
43
 
19
44
  ## TypeScript Integration
20
45
 
21
- Para projetos TypeScript, o SDK Γ© exposto globalmente quando carregado via CDN. Adicione as seguintes declaraΓ§Γ΅es ao seu
22
- projeto:
46
+ For TypeScript projects, the SDK is exposed globally when loaded via CDN. Add the following declarations to your
47
+ project:
23
48
 
24
49
  ```typescript
25
50
  // O SDK estΓ‘ sendo carregado via CDN e exposto globalmente como window.easyflowSDK
@@ -31,7 +56,7 @@ declare global {
31
56
  }
32
57
  ```
33
58
 
34
- ### Exemplo de Uso com TypeScript
59
+ ### Usage Example with TypeScript
35
60
 
36
61
  ```typescript
37
62
  // Configurar o SDK
@@ -78,16 +103,7 @@ const customer = await window.easyflowSDK.createCustomer({
78
103
  neighborhood: 'Centro',
79
104
  city: 'SΓ£o Paulo',
80
105
  state: 'SP',
81
- },
82
- deliveryAddress: {
83
- zipCode: '04567890',
84
- street: 'Av. Paulista',
85
- number: '1000',
86
- complement: 'Sala 200',
87
- neighborhood: 'Bela Vista',
88
- city: 'SΓ£o Paulo',
89
- state: 'SP',
90
- },
106
+ }
91
107
  })
92
108
 
93
109
  // Get customer by ID
@@ -102,8 +118,8 @@ const updatedCustomer = await window.easyflowSDK.updateCustomer(customer.id, {
102
118
  ### Payment Processing
103
119
 
104
120
  ```javascript
105
- // Process a payment - with PIX method
106
- const payment = await window.easyflowSDK.charge({
121
+ // Process a charge - with PIX method
122
+ const orderId = await window.easyflowSDK.charge({
107
123
  buyer: customerData,
108
124
  payments: [
109
125
  {
@@ -122,7 +138,7 @@ const payment = await window.easyflowSDK.charge({
122
138
  ],
123
139
  })
124
140
 
125
- // Process a payment - with Credit Card method [One-time payment]
141
+ // Process a charge - with Credit Card method [One-time payment]
126
142
  const encryptedCard = await window.easyflowSDK.encrypt({
127
143
  number: '4111111111111111',
128
144
  holderName: 'JOHN DOE',
@@ -173,7 +189,7 @@ const creditCard = await window.easyflowSDK.addCreditCard(
173
189
  encryptedCard
174
190
  )
175
191
 
176
- const payment = await window.easyflowSDK.charge({
192
+ const charge = await window.easyflowSDK.charge({
177
193
  buyer: { customerId: customer.id, ...customerData },
178
194
  payments: [
179
195
  {
@@ -330,10 +346,8 @@ window.easyflowSDK.on('error', (error) => {
330
346
 
331
347
  - **[Documentation Hub](https://easyflow-cash.github.io/easyflow-javascript-sdk/)** - Central documentation access
332
348
  - **[Main README](https://easyflow-cash.github.io/easyflow-javascript-sdk/README.md)** - Complete SDK documentation
333
- - **[INDEX.md](https://easyflow-cash.github.io/easyflow-javascript-sdk/INDEX.md)** - Central documentation hub
334
- - **[DATA-STRUCTURES.md](https://easyflow-cash.github.io/easyflow-javascript-sdk/DATA-STRUCTURES.md)** - Complete data structure reference
335
- - **[PLATFORM-INTEGRATION.md](https://easyflow-cash.github.io/easyflow-javascript-sdk/PLATFORM-INTEGRATION.md)** - Platform integration guide with `initializeForPlatform`
336
- - **[LOVABLE-INTEGRATION.md](https://easyflow-cash.github.io/easyflow-javascript-sdk/LOVABLE-INTEGRATION.md)** - Complete Lovable platform integration guide
349
+ - **[DATA-STRUCTURES.md](https://easyflow-cash.github.io/easyflow-javascript-sdk/DATA-STRUCTURES.md)** - Complete data
350
+ structure reference
337
351
 
338
352
  ## E2E Testing
339
353
 
@@ -354,6 +368,7 @@ npm install @easyflow/javascript-sdk
354
368
  ### Via CDN
355
369
 
356
370
  ```html
371
+
357
372
  <script src="https://easyflow-sdk.pages.dev/easyflow-sdk.min.js"></script>
358
373
  ```
359
374
 
@@ -371,8 +386,8 @@ sdk.on('error', (error) => {
371
386
  console.log('Error on payment process:', error)
372
387
  })
373
388
 
374
- // Process payment with charge using PIX method
375
- const payment = await sdk.charge({
389
+ // Process charge with charge using PIX method
390
+ const orderId = await sdk.charge({
376
391
  buyer: {
377
392
  name: 'John Doe',
378
393
  email: 'john@example.com',
@@ -1 +1 @@
1
- function a0_0x1386(){const _0x36c801=['items','apiKey','info','MISSING_CREDIT_CARD_DATA','getParameter','\x20contains\x20invalid\x20control\x20characters','cardNumber','Easyflow\x20SDK\x20exposto\x20globalmente\x20como\x20\x22easyflowSDK\x22.\x20Use\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20para\x20configurar.\x20version\x20=\x20','rgba(102,\x20204,\x200,\x200.7)','charge','.email','map','executeCallbacks','\x20must\x20be\x203-50\x20characters\x20long\x20and\x20contain\x20only\x20letters,\x20numbers,\x20and\x20hyphens','MAX_REQUESTS_PER_MINUTE','x-forwarded-for','SECURITY_VIOLATION','EasyflowSDK','onError','ENCRYPT','validateCreditCardToken','sanitizeCreditCard','rateLimiter','ALLOWED_DOMAINS','description','headers','fillRect','78942nxKSKH','now','RGBA','SDK\x20nΓ£o\x20inicializado.\x20Execute\x20easyflowSDK.initialize()\x20primeiro.','CREDIT_CARD','safeCall','isMobile','Erro\x20no\x20callback\x20onCustomerCreated:','checkHTTPS','EasyflowError','x-forwarded-method','Invalid\x20expiration\x20month','versions','easyflowSDK','Security\x20initialization\x20failed:','get-order','load','UNKNOWN_ERROR','ENCRYPTION_FAILED','getBankBillet','VERTEX_SHADER','reduce','charCodeAt','x-forwarded-proto-version','private','uniform2f','removeCreditCard','SDK_VERSION','createWrapper','script','\x20failed.\x0a(','enableVertexAttribArray','businessId\x20is\x20required\x20for\x20SDK\x20configuration','Failed\x20to\x20get\x20offer','getElementsByTagName','bankBillet','validateCreditCardId','❌\x20Erro\x20ao\x20inicializar\x20Easyflow\x20SDK:','numberInstallments','.number\x20must\x20be\x20a\x20valid\x20street\x20number','filter','toString','Invalid\x20offer:\x20no\x20items\x20found','ORDER_NOT_FOUND','parse','businessId','Invalid\x20credit\x20card\x20token','lovable.dev','2.1.30','crypto','createCustomer','substring','[REDACTED]','ontouchstart','getTimezoneOffset','x-forwarded-server','sdk','Error\x20in\x20charge:','.phone','DELETE','Failed\x20to\x20get\x20customer','3143pGhkFm','subtle','compileShader','getSupportedExtensions','offsetUniform','STATIC_DRAW','Failed\x20to\x20get\x20PIX\x20data','autoInitialize','DENY','cartId','Automatic\x20publicPath\x20is\x20not\x20supported\x20in\x20this\x20browser','Invalid\x20response:\x20no\x20customer\x20data\x20returned','orderId','nosniff','https://lovable.com','.number\x20must\x20be\x208\x20or\x209\x20digits','createElement','createBuffer','COLOR_BUFFER_BIT','PATCH','undefined','vertexPosAttrib','OFFER_NOT_FOUND','data.buyer','getCustomer','status','some','PAYMENT_METHODS','validateOrderData','screen','Customer\x20data\x20is\x20required','requests','attribute\x20vec2\x20attrVertex;varying\x20vec2\x20varyinTexCoordinate;uniform\x20vec2\x20uniformOffset;void\x20main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}','GET_OFFER','city','validateOrderId','exposeToGlobalScope','no-referrer','currentScript','.ddd','Invalid\x20credit\x20card\x20ID','then','PRODUCTION_MODE','get','externalReferenceId','create-customer','target','TRIANGLE_STRIP','delete-credit-card','addCreditCard','exposeGlobally','toUpperCase','includes','version','set','strict-origin-when-cross-origin','entries','SecurityError','state','protocol','web','GET_ORDER','copyAndPasteCode','hasOwnProperty','phone','email','_sanitizeObjectFieldsRecursive','customerCreated','toLowerCase','Cannot\x20run\x20in\x20iframe\x20for\x20security','src','indexOf','cwd','.page','HTTP\x20','noopen','getStatus','timeout','Failed\x20to\x20process\x20charge','12864pieHCz','Failed\x20to\x20encrypt\x20credit\x20card','readFileSync','.address','x-forwarded-proto','Invalid\x20order\x20ID','checkTrustedTypes','.ddd\x20must\x20be\x20exactly\x202\x20digits','5990IhRGrK','14px\x20\x27Arial\x27','globalScope','missing','Invalid\x20response:\x20no\x20update\x20confirmation\x20returned','debug','\x20cannot\x20contain\x20consecutive\x20hyphens','secret','validateLegalDocument','webpackChunkEasyflowSDK','VENDOR','qrCode','\x20must\x20be\x20a\x20number\x20greater\x20than\x20zero','sanitizeObjectFields','values','x-fingerprint-id','enableDebug','BANK_BILLET','https://*.lovable.com','MΓ©todo\x20\x22','validateChargeItemsData','PLACE_ORDER_FAILED','place-order','.isMobile\x20must\x20be\x20a\x20boolean','find','checkIframe','Erro\x20no\x20callback\x20onPaymentProcessed:','data-webpack','stringify','getGlobalObject','catch','isBiggerThanZero','https://localhost:443','Invalid\x20customer\x20ID','prototype','level','\x20must\x20be\x20a\x20valid\x20object','Trusted\x20Types\x20not\x20supported\x20-\x20security\x20reduced','amd','data','generateNonce','validatePagination','token','sanitizeHeaders','complement','push','NETWORK_ERROR','offerId','ddd','Invalid\x20offer\x20ID','link','https://pay.easyflow.digital','.easyflow-sdk.min.js','key','HTTPS\x20required','validateCustomerId','deliveryAddress','Failed\x20to\x20get\x20credit\x20card','name','10660330GiEEGw','\x20is\x20too\x20long\x20(maximum\x202048\x20characters)','Failed\x20to\x20update\x20customer','charAt','width','cardId','defineProperty','https://*.lovable.dev','resolve','height','encrypt','method','password','\x20is\x20invalid\x20(all\x20digits\x20are\x20the\x20same)','ValidationError','warn','EasyflowSDKWrapper','/api/proxy?target=','getRandomValues','toStringTag','street','DateTimeFormat','uniformOffset','onCustomerCreated','setAttribute','add','chunk-','VALIDATION_ERROR','payments','N/A','data.payments','MISSING_BUSINESS_ID','validateBusinessId','itemSize','utf8','.areaCode\x20must\x20be\x20in\x20format\x20+XX\x20or\x20+XXX','getOwnPropertyNames','call','Invalid\x20response:\x20no\x20order\x20ID\x20returned','.areaCode','payment','devicePixelRatio','drawArrays','GET_CUSTOMER','hostname','.zipCode\x20must\x20be\x20exactly\x208\x20digits','businessId\x20Γ©\x20obrigatΓ³rio\x20para\x20inicializaΓ§Γ£o','onerror','paymentProcessed','priceInCents','onload','cvv','resolvedOptions','\x20must\x20have\x20exactly\x2011\x20digits','FLOAT','sanitizeData','isString','updateCustomer','validateUrl','1vqyfkN','creditCardToken','CHARGE','year','head','default','parentNode','get-credit-card','GET_OFFER_FAILED','getOffer','getCreditCard','x-forwarded-ssl','GET','REMOVE_CREDIT_CARD','Invalid\x20domain','__webpack_queues__','creditCard','2988yFmnZS','Fingerprint:','Easyflow\x20SDK\x20configured\x20successfully\x20with\x20businessId:','same-origin','#069','GET_ORDER_FAILED','fillStyle','error','easyflowCallbacks','has','PLACE_ORDER','CNPJ','boolean','GET_CREDIT_CARD','getOrder','checkLimit','validateCreditCardData','linkProgram','constructor','isNumber','Invalid\x20holder\x20name','FRAGMENT_SHADER','DEPTH_BUFFER_BIT','validateCPF','test','ADD_CREDIT_CARD','startsWith','clearRect','POST','none','neighborhood','createShader','json','month','charset','placeOrder','keys','.number','isArray','endsWith','x-forwarded-scheme','app.easyflow.digital','precision\x20mediump\x20float;varying\x20vec2\x20varyinTexCoordinate;void\x20main()\x20{gl_FragColor=vec4(varyinTexCoordinate,0,1);}','barCode','SHADING_LANGUAGE_VERSION','\x20must\x20be\x20a\x20non-empty\x20string','global','maxRequests','localhost','replace','__webpack_exports__','https:','vertexPosArray','object','https://app.easyflow.digital','Invalid\x20URL','https://lovable.dev','Customer\x20update\x20data\x20is\x20required','1;\x20mode=block','isInitialized','shaderSource','18284046JSgRes','validatePaymentMethod','INVALID_PAYMENT_METHOD','createProgram','zipCode','request','\x20must\x20be\x20a\x20valid\x20number','logger','getAttribLocation','attrVertex','https://127.0.0.1:443','orderPlaced','validateOfferId','pix','useProgram','address','UPDATE_CUSTOMER','body','webgl','string','validateCustomer','ALLOW_IFRAME','timeZone','Could\x20not\x20determine\x20SDK\x20version,\x20using\x20default:','padStart','package.json','127.0.0.1','validate','customerId','validateAddress','EasyflowSDK:','max-age=31536000;\x20includeSubDomains','initialize','sanitizeInput','join','canvas','document','config','getPix','quantity','numItems','message','\x20contains\x20invalid\x20characters','944638gnZKHK','bufferData','PIX','function','getAttribute','appendChild','clear','Module','.number\x20must\x20contain\x20only\x20digits','toDataURL','businessId\x20is\x20required','checkCryptoAPI','top','value','log','bind','webpack\x20exports','__proto__','location','\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId','credit-card','UNSIGNED_BYTE','x-forwarded-uri','isObject','exports','onPaymentProcessed','nonce','.limit','Easyflow\x20SDK\x20exposto\x20globalmente\x20como\x20\x22easyflowSDK\x22.\x20version\x20=\x20','attachShader','trustedTypes','length','bindBuffer','customer','Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first','.type\x20must\x20be\x20either\x20\x27CPF\x27\x20or\x20\x27CNPJ\x27','CPF','add-credit-card','STENCIL_BUFFER_BIT','create','getUniformLocation','buyer','25664PYINeQ','NetworkError','type','HTTPS\x20required\x20for\x20security','bank-billet','levels','validatePhone','βœ…\x20Easyflow\x20SDK\x20Integration\x20Wrapper\x20inicializado\x20com\x20sucesso','#f60','number','Invalid\x20CVV','forEach','self','\x20is\x20invalid','SAMEORIGIN','window','areaCode','ARRAY_BUFFER','textBaseline','Invalid\x20expiration\x20year','getPrototypeOf','webpack\x20error','getContext','Failed\x20to\x20create\x20customer','Credit\x20card\x20not\x20found','metadata','all','off','vertexAttribPointer','Credit\x20card\x20data\x20is\x20required\x20for\x20credit-card\x20payment\x20method','Failed\x20to\x20remove\x20credit\x20card','code','\x20must\x20be\x20at\x20least\x2016\x20characters\x20long','statusText','holderName','validateCNPJ','__esModule','fingerprint\x20data','lovable.com','3544VBJsqx','ChunkLoadError','Origin\x20','webpack\x20queues','baseUrl','\x20must\x20be\x20a\x20valid\x20email\x20address','VERSION','timeWindow','creditCard.','.document','validateEmail','readPixels','Failed\x20to\x20generate\x20fingerprint:','line','creditCardId','Customer\x20not\x20found','Invalid\x20response:\x20no\x20removal\x20confirmation\x20returned','configure'];a0_0x1386=function(){return _0x36c801;};return a0_0x1386();}function a0_0x1def(_0x5e1a68,_0x12484a){const _0x138689=a0_0x1386();return a0_0x1def=function(_0x1defd0,_0x3db966){_0x1defd0=_0x1defd0-0x12e;let _0x588a94=_0x138689[_0x1defd0];return _0x588a94;},a0_0x1def(_0x5e1a68,_0x12484a);}(function(_0xab214f,_0x388cd3){const _0x1197d9=a0_0x1def,_0x3023de=_0xab214f();while(!![]){try{const _0x85caad=parseInt(_0x1197d9(0x2c3))/0x1*(parseInt(_0x1197d9(0x13b))/0x2)+-parseInt(_0x1197d9(0x1b9))/0x3+parseInt(_0x1197d9(0x18c))/0x4*(parseInt(_0x1197d9(0x24d))/0x5)+parseInt(_0x1197d9(0x245))/0x6*(parseInt(_0x1197d9(0x1f6))/0x7)+parseInt(_0x1197d9(0x165))/0x8*(-parseInt(_0x1197d9(0x2d4))/0x9)+parseInt(_0x1197d9(0x288))/0xa+-parseInt(_0x1197d9(0x311))/0xb;if(_0x85caad===_0x388cd3)break;else _0x3023de['push'](_0x3023de['shift']());}catch(_0x3f3ac7){_0x3023de['push'](_0x3023de['shift']());}}}(a0_0x1386,0xc57b0),!function(_0x220d48,_0x5b2b0e){const _0x432ec9=a0_0x1def;'object'==typeof exports&&_0x432ec9(0x309)==typeof module?module['exports']=_0x5b2b0e():_0x432ec9(0x13e)==typeof define&&define[_0x432ec9(0x273)]?define([],_0x5b2b0e):_0x432ec9(0x309)==typeof exports?exports[_0x432ec9(0x1af)]=_0x5b2b0e():_0x220d48[_0x432ec9(0x1af)]=_0x5b2b0e();}(this,()=>((()=>{'use strict';const _0x3d4727=a0_0x1def;var _0x3a16c7,_0x322e4f,_0x239dbb,_0x47b0b5,_0x11fdef,_0x297770,_0x45604a,_0x12bc56,_0x48d37e={0x1eb:(_0x208ab,_0x255ccf,_0x320b8b)=>{const _0x311429=a0_0x1def;_0x320b8b['d'](_0x255ccf,{'PV':()=>_0x5e20a6,'Qw':()=>_0x5beeb4,'dW':()=>_0xeba4cc,'uq':()=>_0x20422c});const _0x5e20a6={'baseUrl':_0x311429(0x280),'timeout':0x7530,'headers':{}},_0x20422c={'CREDIT_CARD':_0x311429(0x14f),'PIX':_0x311429(0x31e),'BANK_BILLET':_0x311429(0x169)},_0xeba4cc={'CHARGE':'charge','PLACE_ORDER':_0x311429(0x263),'ENCRYPT':'encrypt','GET_OFFER':'get-offer','GET_ORDER':_0x311429(0x1c8),'CREATE_CUSTOMER':_0x311429(0x223),'GET_CUSTOMER':'get-customer','UPDATE_CUSTOMER':'update-customer','ADD_CREDIT_CARD':_0x311429(0x160),'REMOVE_CREDIT_CARD':_0x311429(0x226),'GET_CREDIT_CARD':_0x311429(0x2ca)},_0x5beeb4={'GET':_0x311429(0x2cf),'POST':_0x311429(0x2f0),'PATCH':_0x311429(0x209),'DELETE':_0x311429(0x1f4),'PUT':'PUT'};},0x1d5:(_0x1338de,_0x476602,_0xc60276)=>{const _0x581bb8=a0_0x1def;_0xc60276['d'](_0x476602,{'Dr':()=>_0x5855c6,'J7':()=>_0x4778a4,'OQ':()=>_0x50e787,'Vx':()=>_0x731226,'yI':()=>_0x1b7000});class _0x4778a4 extends Error{constructor(_0x1dd8e4,_0x14c66a,_0xca5884){const _0x50c7ed=a0_0x1def;super(_0x1dd8e4),this[_0x50c7ed(0x287)]=_0x50c7ed(0x1c2),this['status']=_0x14c66a,this[_0x50c7ed(0x184)]=_0xca5884;}}class _0x731226 extends Error{constructor(_0x54eb0e){const _0x34afe6=a0_0x1def;super(_0x54eb0e),this[_0x34afe6(0x287)]=_0x34afe6(0x22f),this[_0x34afe6(0x184)]=_0x34afe6(0x1ae);}}class _0x1b7000 extends Error{constructor(_0x47da36){const _0x1bfb4d=a0_0x1def;super(_0x47da36),this[_0x1bfb4d(0x287)]=_0x1bfb4d(0x296),this['code']=_0x1bfb4d(0x2a3);}}class _0x5855c6 extends Error{constructor(_0x2cbb84){const _0x2727a5=a0_0x1def;super(_0x2cbb84),this['name']=_0x2727a5(0x166),this[_0x2727a5(0x184)]=_0x2727a5(0x27b);}}const _0x50e787={'VALIDATION_ERROR':_0x581bb8(0x2a3),'MISSING_BUSINESS_ID':_0x581bb8(0x2a7),'OFFER_NOT_FOUND':_0x581bb8(0x20c),'ORDER_NOT_FOUND':_0x581bb8(0x1e4),'INVALID_PAYMENT_METHOD':_0x581bb8(0x313),'MISSING_CREDIT_CARD_DATA':_0x581bb8(0x1a1),'PLACE_ORDER_FAILED':_0x581bb8(0x262),'CHARGE_FAILED':'CHARGE_FAILED','ENCRYPTION_FAILED':_0x581bb8(0x1cb),'NETWORK_ERROR':_0x581bb8(0x27b),'INVALID_RESPONSE':'INVALID_RESPONSE','GET_OFFER_FAILED':_0x581bb8(0x2cb),'GET_ORDER_FAILED':_0x581bb8(0x2d9)};},0x1ac:(_0x2c9d14,_0x5d0a96,_0x151e4e)=>{_0x151e4e['d'](_0x5d0a96,{'S':()=>_0x53cd91});const _0x53cd91=_0x11434d=>{throw _0x11434d;};},0x224:(_0x2dcbc3,_0x109208,_0x32a21f)=>{_0x32a21f['d'](_0x109208,{'B':()=>_0x582a42});const _0x5aa610=_0x224268=>{const _0x41c856=a0_0x1def;try{const _0x3c4d78=document[_0x41c856(0x206)]('canvas'),_0x56ab51=_0x3c4d78[_0x41c856(0x17b)]('webgl');_0x3c4d78[_0x41c856(0x28c)]=0x100,_0x3c4d78[_0x41c856(0x291)]=0x80;const _0x3a8326=_0x41c856(0x216),_0x1e9d50=_0x41c856(0x2fe),_0x57b8c1=_0x56ab51[_0x41c856(0x207)]();_0x56ab51['bindBuffer'](_0x56ab51[_0x41c856(0x176)],_0x57b8c1);const _0x568bb5=new Float32Array([-0.2,-0.9,0x0,0.4,-0.26,0x0,0x0,0.7321,0x0]);_0x56ab51[_0x41c856(0x13c)](_0x56ab51[_0x41c856(0x176)],_0x568bb5,_0x56ab51[_0x41c856(0x1fb)]),_0x57b8c1[_0x41c856(0x2a9)]=0x3,_0x57b8c1['numItems']=0x3;const _0x9a42d2=_0x56ab51[_0x41c856(0x314)](),_0x25173a=_0x56ab51[_0x41c856(0x2f3)](_0x56ab51[_0x41c856(0x1cd)]);_0x56ab51[_0x41c856(0x310)](_0x25173a,_0x3a8326),_0x56ab51[_0x41c856(0x1f8)](_0x25173a);const _0x5baef9=_0x56ab51[_0x41c856(0x2f3)](_0x56ab51[_0x41c856(0x2e9)]);_0x56ab51[_0x41c856(0x310)](_0x5baef9,_0x1e9d50),_0x56ab51[_0x41c856(0x1f8)](_0x5baef9),_0x56ab51['attachShader'](_0x9a42d2,_0x25173a),_0x56ab51[_0x41c856(0x158)](_0x9a42d2,_0x5baef9),_0x56ab51[_0x41c856(0x2e5)](_0x9a42d2),_0x56ab51[_0x41c856(0x31f)](_0x9a42d2),_0x9a42d2['vertexPosAttrib']=_0x56ab51[_0x41c856(0x319)](_0x9a42d2,_0x41c856(0x31a)),_0x9a42d2[_0x41c856(0x1fa)]=_0x56ab51[_0x41c856(0x163)](_0x9a42d2,_0x41c856(0x29e)),_0x56ab51[_0x41c856(0x1d8)](_0x9a42d2[_0x41c856(0x308)]),_0x56ab51[_0x41c856(0x181)](_0x9a42d2[_0x41c856(0x20b)],_0x57b8c1[_0x41c856(0x2a9)],_0x56ab51[_0x41c856(0x2be)],!0x1,0x0,0x0),_0x56ab51[_0x41c856(0x1d2)](_0x9a42d2[_0x41c856(0x1fa)],0x1,0x1),_0x56ab51[_0x41c856(0x2b2)](_0x56ab51['TRIANGLE_STRIP'],0x0,_0x57b8c1[_0x41c856(0x138)]);const _0x713c4b=new Uint8Array(_0x3c4d78[_0x41c856(0x28c)]*_0x3c4d78[_0x41c856(0x291)]*0x4);_0x56ab51[_0x41c856(0x197)](0x0,0x0,_0x3c4d78[_0x41c856(0x28c)],_0x3c4d78['height'],_0x56ab51[_0x41c856(0x1bb)],_0x56ab51[_0x41c856(0x150)],_0x713c4b);const _0x1e504e=JSON[_0x41c856(0x269)](_0x713c4b)[_0x41c856(0x305)](/,?"[0-9]+":/g,'');return _0x224268?document[_0x41c856(0x322)]['appendChild'](_0x3c4d78):_0x56ab51[_0x41c856(0x141)](_0x56ab51[_0x41c856(0x208)]|_0x56ab51['DEPTH_BUFFER_BIT']|_0x56ab51[_0x41c856(0x161)]),_0x368fda(_0x1e504e);}catch{return null;}},_0x43f56a=()=>{const _0x146eee=a0_0x1def;try{const _0x4886d7=document[_0x146eee(0x206)](_0x146eee(0x133))[_0x146eee(0x17b)]('webgl');return{'VERSION':_0x4886d7[_0x146eee(0x1a2)](_0x4886d7[_0x146eee(0x192)]),'SHADING_LANGUAGE_VERSION':_0x4886d7[_0x146eee(0x1a2)](_0x4886d7['SHADING_LANGUAGE_VERSION']),'VENDOR':_0x4886d7[_0x146eee(0x1a2)](_0x4886d7[_0x146eee(0x257)]),'SUPORTED_EXTENSIONS':_0x4886d7['getSupportedExtensions']()};}catch{return null;}},_0x368fda=_0x557c39=>{const _0xe7b55e=a0_0x1def,_0x6bd917=0x3&_0x557c39['length'],_0x51b313=_0x557c39[_0xe7b55e(0x15a)]-_0x6bd917,_0x5c74cd=0xcc9e2d51,_0x420292=0x1b873593;let _0x2f2d1b,_0x416038,_0x3e22b1;for(let _0xa528be=0x0;_0xa528be<_0x51b313;_0xa528be++)_0x3e22b1=0xff&_0x557c39['charCodeAt'](_0xa528be)|(0xff&_0x557c39[_0xe7b55e(0x1cf)](++_0xa528be))<<0x8|(0xff&_0x557c39[_0xe7b55e(0x1cf)](++_0xa528be))<<0x10|(0xff&_0x557c39['charCodeAt'](++_0xa528be))<<0x18,++_0xa528be,_0x3e22b1=(0xffff&_0x3e22b1)*_0x5c74cd+(((_0x3e22b1>>>0x10)*_0x5c74cd&0xffff)<<0x10)&0xffffffff,_0x3e22b1=_0x3e22b1<<0xf|_0x3e22b1>>>0x11,_0x3e22b1=(0xffff&_0x3e22b1)*_0x420292+(((_0x3e22b1>>>0x10)*_0x420292&0xffff)<<0x10)&0xffffffff,_0x2f2d1b^=_0x3e22b1,_0x2f2d1b=_0x2f2d1b<<0xd|_0x2f2d1b>>>0x13,_0x416038=0x5*(0xffff&_0x2f2d1b)+((0x5*(_0x2f2d1b>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x2f2d1b=0x6b64+(0xffff&_0x416038)+((0xe654+(_0x416038>>>0x10)&0xffff)<<0x10);const _0x31bb9d=_0x51b313-0x1;switch(_0x3e22b1=0x0,_0x6bd917){case 0x3:_0x3e22b1^=(0xff&_0x557c39['charCodeAt'](_0x31bb9d+0x2))<<0x10;break;case 0x2:_0x3e22b1^=(0xff&_0x557c39['charCodeAt'](_0x31bb9d+0x1))<<0x8;break;case 0x1:_0x3e22b1^=0xff&_0x557c39['charCodeAt'](_0x31bb9d);}return _0x3e22b1=(0xffff&_0x3e22b1)*_0x5c74cd+(((_0x3e22b1>>>0x10)*_0x5c74cd&0xffff)<<0x10)&0xffffffff,_0x3e22b1=_0x3e22b1<<0xf|_0x3e22b1>>>0x11,_0x3e22b1=(0xffff&_0x3e22b1)*_0x420292+(((_0x3e22b1>>>0x10)*_0x420292&0xffff)<<0x10)&0xffffffff,_0x2f2d1b^=_0x3e22b1,_0x2f2d1b^=_0x557c39[_0xe7b55e(0x15a)],_0x2f2d1b^=_0x2f2d1b>>>0x10,_0x2f2d1b=0x85ebca6b*(0xffff&_0x2f2d1b)+((0x85ebca6b*(_0x2f2d1b>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x2f2d1b^=_0x2f2d1b>>>0xd,_0x2f2d1b=0xc2b2ae35*(0xffff&_0x2f2d1b)+((0xc2b2ae35*(_0x2f2d1b>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x2f2d1b^=_0x2f2d1b>>>0x10,_0x2f2d1b>>>0x0;},_0x582a42=()=>{const _0x2df3d0=a0_0x1def;try{const _0x47da54=(({hardwareOnly:_0x5311ae=!0x1,enableWebgl:_0x296971=!0x1,debug:_0x486da2=!0x1}={})=>{const _0x35717b=a0_0x1def,{cookieEnabled:_0x10f125,deviceMemory:_0x2a9e23,doNotTrack:_0x5c47d5,hardwareConcurrency:_0xec102e,language:_0x16eef7,languages:_0x15133b,maxTouchPoints:_0x57969e,platform:_0x280fb7,userAgent:_0xb6aa4b,vendor:_0x4f53d3}=window['navigator'];let {width:_0x1914ef,height:_0x10ec4b,colorDepth:_0x2bfff6,pixelDepth:_0x2e4183}=window[_0x35717b(0x213)];_0x1914ef=0x3e8,_0x10ec4b=0x3e8;const _0xdddb8a=new Date()[_0x35717b(0x1ef)](),_0x5ebdfb=Intl['DateTimeFormat']()['resolvedOptions']()[_0x35717b(0x327)],_0x203b30=_0x35717b(0x1ee)in window,_0x26249d=window['devicePixelRatio'],_0x3d1682=_0x296971?_0x5aa610(_0x486da2):void 0x0,_0x59c68e=_0x296971?_0x43f56a(_0x486da2):void 0x0,_0xe5d382=_0x5311ae?JSON[_0x35717b(0x269)]({'canvas':null,'colorDepth':_0x2bfff6,'deviceMemory':_0x2a9e23,'devicePixelRatio':_0x26249d,'hardwareConcurrency':_0xec102e,'height':_0x10ec4b,'maxTouchPoints':_0x57969e,'pixelDepth':_0x2e4183,'platform':_0x280fb7,'touchSupport':_0x203b30,'webgl':_0x3d1682,'webglInfo':_0x59c68e,'width':_0x1914ef}):JSON[_0x35717b(0x269)]({'canvas':null,'colorDepth':_0x2bfff6,'cookieEnabled':_0x10f125,'deviceMemory':_0x2a9e23,'devicePixelRatio':_0x26249d,'doNotTrack':_0x5c47d5,'hardwareConcurrency':_0xec102e,'height':_0x10ec4b,'language':_0x16eef7,'languages':_0x15133b,'maxTouchPoints':_0x57969e,'pixelDepth':_0x2e4183,'platform':_0x280fb7,'timezone':_0x5ebdfb,'timezoneOffset':_0xdddb8a,'touchSupport':_0x203b30,'userAgent':_0xb6aa4b,'vendor':_0x4f53d3,'webgl':_0x3d1682,'webglInfo':_0x59c68e,'width':_0x1914ef}),_0x4aedc6=JSON[_0x35717b(0x269)](_0xe5d382,null,0x4);return _0x486da2&&console[_0x35717b(0x149)](_0x35717b(0x18a),_0x4aedc6),_0x368fda(_0x4aedc6);})();return console['log'](_0x2df3d0(0x2d5),_0x47da54),_0x47da54;}catch(_0x3d580b){return console[_0x2df3d0(0x149)]('Error\x20generating\x20fingerprint',_0x3d580b),null;}};},0x334:(_0x901167,_0x42bf8f,_0x432ad7)=>{_0x432ad7['a'](_0x901167,async(_0x49dd4a,_0x2018eb)=>{try{_0x432ad7['d'](_0x42bf8f,{'U':()=>_0x11aa6});var _0x2002e6=_0x432ad7(0x18f),_0x1fa342=_0x432ad7(0x1eb),_0x39e1f1=_0x432ad7(0x1ac),_0x1bad46=_0x432ad7(0x11e),_0x26ed5=_0x432ad7(0x1d5),_0x44b48a=_0x49dd4a([_0x2002e6,_0x1bad46]);function _0x189264(_0xa90e9c){return _0xa90e9c instanceof _0x26ed5['Vx']||_0xa90e9c instanceof _0x26ed5['yI']||_0xa90e9c instanceof _0x26ed5['Dr'];}function _0x2d7858(_0x153dd1={}){const _0x317aeb=a0_0x1def;if(!_0x153dd1['x-fingerprint-id'])try{const _0x49fb8f=(0x0,_0x2002e6['dP'])({'hardwareOnly':!0x0});_0x49fb8f&&(_0x153dd1[_0x317aeb(0x25c)]=_0x49fb8f);}catch(_0x13f66b){console[_0x317aeb(0x297)](_0x317aeb(0x198),_0x13f66b['message']);}return _0x153dd1;}async function _0x541489(_0x5625c6,_0x22a3ff){const _0x356329=a0_0x1def,_0xf23059=await _0x1bad46['E3'][_0x356329(0x316)](_0x5625c6,_0x22a3ff);return await _0xf23059[_0x356329(0x2f4)]();}async function _0x11aa6(_0x281245,_0x27b27b,_0x5901bd={}){const _0x38afb6=a0_0x1def;try{const _0x460a71=_0x2d7858(_0x5901bd),_0x4b1e72={'method':_0x1fa342['Qw']['POST'],'headers':_0x460a71};if(_0x281245===_0x1fa342['dW']['GET_OFFER']){const {offerId:_0x2c204a}=_0x27b27b,_0x4a5d8a=(0x0,_0x2002e6['KB'])(_0x1fa342['PV'][_0x38afb6(0x190)],_0x281245,{'offerId':_0x2c204a});return await _0x541489(_0x4a5d8a,_0x4b1e72);}if(_0x281245===_0x1fa342['dW'][_0x38afb6(0x233)]){const {orderId:_0x366d67}=_0x27b27b,_0x4912e8=(0x0,_0x2002e6['KB'])(_0x1fa342['PV'][_0x38afb6(0x190)],_0x281245,{'orderId':_0x366d67});return await _0x541489(_0x4912e8,_0x4b1e72);}if(_0x281245===_0x1fa342['dW'][_0x38afb6(0x2ed)]){const {customerId:_0x55732e,..._0x4fe502}=_0x27b27b,_0x316470=(0x0,_0x2002e6['KB'])(_0x1fa342['PV']['baseUrl'],_0x281245,{'customerId':_0x55732e});return await _0x541489(_0x316470,{..._0x4b1e72,'body':JSON['stringify'](_0x4fe502)});}if(_0x281245===_0x1fa342['dW']['REMOVE_CREDIT_CARD']){const {customerId:_0x379ef7,creditCardId:_0x1700ab,..._0x2b4d8}=_0x27b27b,_0x4571ca=(0x0,_0x2002e6['KB'])(_0x1fa342['PV']['baseUrl'],_0x281245,{'customerId':_0x379ef7,'creditCardId':_0x1700ab});return await _0x541489(_0x4571ca,{..._0x4b1e72,'body':JSON[_0x38afb6(0x269)](_0x2b4d8)});}if(_0x281245===_0x1fa342['dW']['GET_CREDIT_CARD']){const {customerId:_0x1fbad4,creditCardId:_0x3a1061,..._0x29e086}=_0x27b27b,_0x3c45fd=(0x0,_0x2002e6['KB'])(_0x1fa342['PV'][_0x38afb6(0x190)],_0x281245,{'customerId':_0x1fbad4,'creditCardId':_0x3a1061});return await _0x541489(_0x3c45fd,{..._0x4b1e72,'body':JSON[_0x38afb6(0x269)](_0x29e086)});}if(_0x281245===_0x1fa342['dW'][_0x38afb6(0x2b3)]){const {customerId:_0x5f50e3,..._0x30d4e0}=_0x27b27b,_0x318594=(0x0,_0x2002e6['KB'])(_0x1fa342['PV']['baseUrl'],_0x281245,{'customerId':_0x5f50e3});return await _0x541489(_0x318594,{..._0x4b1e72,'body':JSON['stringify'](_0x30d4e0)});}if(_0x281245===_0x1fa342['dW'][_0x38afb6(0x321)]){const {customerId:_0x3c9d36,..._0x440bcd}=_0x27b27b,_0x423525=(0x0,_0x2002e6['KB'])(_0x1fa342['PV']['baseUrl'],_0x281245,{'customerId':_0x3c9d36});return await _0x541489(_0x423525,{..._0x4b1e72,'body':JSON[_0x38afb6(0x269)](_0x440bcd)});}const _0x2e15d3=(0x0,_0x2002e6['KB'])(_0x1fa342['PV'][_0x38afb6(0x190)],_0x281245);return await _0x541489(_0x2e15d3,{..._0x4b1e72,'body':JSON[_0x38afb6(0x269)](_0x27b27b)});}catch(_0x28c270){_0x189264(_0x28c270)&&(0x0,_0x39e1f1['S'])(_0x28c270),(0x0,_0x39e1f1['S'])(new _0x26ed5['Dr']('Network\x20error:\x20'+_0x28c270[_0x38afb6(0x139)]));}}[_0x2002e6,_0x1bad46]=_0x44b48a['then']?(await _0x44b48a)():_0x44b48a,_0x2018eb();}catch(_0x1ba025){_0x2018eb(_0x1ba025);}});},0x184:(_0x2d82ff,_0x70c3d0,_0x45979a)=>{_0x45979a['a'](_0x2d82ff,async(_0x3c3499,_0xf25181)=>{const _0x476190=a0_0x1def;try{_0x45979a['d'](_0x70c3d0,{'J_':()=>_0x60e53e,'UQ':()=>_0x517255});var _0x150591=_0x45979a(0x3b7),_0x268c15=_0x45979a(0x392),_0x1f848d=_0x45979a(0x125),_0x4a8264=_0x45979a(0x1b3),_0x3e0abb=_0x3c3499([_0x150591,_0x268c15,_0x1f848d]);[_0x150591,_0x268c15,_0x1f848d]=_0x3e0abb['then']?(await _0x3e0abb)():_0x3e0abb;class _0x517255{constructor(_0x509200={}){const _0x392c38=a0_0x1def;this[_0x392c38(0x135)]={'autoInitialize':!0x0,'globalScope':'window','exposeGlobally':!0x0,'enableDebug':!0x1,..._0x509200},this[_0x392c38(0x1f1)]=null,this[_0x392c38(0x30f)]=!0x1,this['config'][_0x392c38(0x1fd)]&&this[_0x392c38(0x130)]();}[_0x476190(0x130)](){const _0x233a4e=_0x476190;try{if(!this[_0x233a4e(0x135)][_0x233a4e(0x1e6)])throw new Error(_0x233a4e(0x2b6));return this[_0x233a4e(0x1f1)]=new _0x150591['F'](this['config'][_0x233a4e(0x1e6)]),this['isInitialized']=!0x0,this[_0x233a4e(0x135)][_0x233a4e(0x228)]&&this[_0x233a4e(0x21a)](),this[_0x233a4e(0x135)]['enableDebug']&&console[_0x233a4e(0x149)](_0x233a4e(0x16c)),!0x0;}catch(_0x152cc9){return console[_0x233a4e(0x2db)](_0x233a4e(0x1de),_0x152cc9[_0x233a4e(0x139)]),!0x1;}}['exposeToGlobalScope'](){const _0x5da574=_0x476190,_0x337306=this[_0x5da574(0x26a)]();_0x337306[_0x5da574(0x1af)]=_0x150591['F'],_0x337306[_0x5da574(0x298)]=this,_0x337306['easyflow']=this['sdk'],_0x337306['easyflowSDK']={'createCustomer':_0x1b3a2b=>this['safeCall'](_0x5da574(0x1eb),_0x1b3a2b),'getCustomer':_0x1ee175=>this['safeCall'](_0x5da574(0x20e),_0x1ee175),'updateCustomer':(_0x2a7437,_0x4ca5af)=>this['safeCall'](_0x5da574(0x2c1),_0x2a7437,_0x4ca5af),'placeOrder':(_0x4678a7,_0x35a205)=>this[_0x5da574(0x1be)](_0x5da574(0x2f7),_0x4678a7,_0x35a205),'charge':_0x68470e=>this[_0x5da574(0x1be)](_0x5da574(0x1a7),_0x68470e),'encrypt':_0x2bd550=>this['safeCall'](_0x5da574(0x292),_0x2bd550),'addCreditCard':(_0x198f41,_0x31a008)=>this[_0x5da574(0x1be)]('addCreditCard',_0x198f41,_0x31a008),'getCreditCard':(_0x561902,_0x169f2c)=>this[_0x5da574(0x1be)]('getCreditCard',_0x561902,_0x169f2c),'removeCreditCard':(_0xa176bb,_0x461558)=>this['safeCall'](_0x5da574(0x1d3),_0xa176bb,_0x461558),'getOffer':_0x2f62ad=>this['safeCall'](_0x5da574(0x2cc),_0x2f62ad),'getOrder':_0x87b121=>this['safeCall'](_0x5da574(0x2e2),_0x87b121),'getPix':_0x31991d=>this['safeCall'](_0x5da574(0x136),_0x31991d),'getBankBillet':_0x148311=>this['safeCall'](_0x5da574(0x1cc),_0x148311),'validate':{'email':_0x517b9c=>_0x268c15['D'][_0x5da574(0x196)](_0x517b9c),'cpf':_0x33ab5a=>_0x268c15['D'][_0x5da574(0x2eb)](_0x33ab5a),'cnpj':_0x200f76=>_0x268c15['D'][_0x5da574(0x188)](_0x200f76),'phone':_0x291e8e=>_0x268c15['D'][_0x5da574(0x16b)](_0x291e8e),'address':_0x1987ce=>_0x268c15['D']['validateAddress'](_0x1987ce),'customer':_0x1d49d4=>_0x268c15['D'][_0x5da574(0x325)](_0x1d49d4)},'sanitize':{'input':_0x4fc92b=>_0x1f848d['I']['sanitizeInput'](_0x4fc92b),'headers':_0x134c0d=>_0x1f848d['I'][_0x5da574(0x278)](_0x134c0d),'customer':_0x2db792=>_0x1f848d['I'][_0x5da574(0x25a)](_0x2db792)},'getVersion':()=>this[_0x5da574(0x1f1)][_0x5da574(0x22b)],'getStatus':()=>({'initialized':this[_0x5da574(0x30f)],'businessId':this[_0x5da574(0x135)][_0x5da574(0x1e6)]}),'configure':_0x2b609a=>this[_0x5da574(0x19d)](_0x2b609a)},_0x337306[_0x5da574(0x2dc)]={'onCustomerCreated':null,'onPaymentProcessed':null,'onError':null},this[_0x5da574(0x135)][_0x5da574(0x25d)]&&console[_0x5da574(0x149)](_0x5da574(0x157)+_0x4a8264[_0x5da574(0x1d4)]);}['getGlobalObject'](){const _0x565dc1=_0x476190;switch(this[_0x565dc1(0x135)][_0x565dc1(0x24f)]){case _0x565dc1(0x174):default:return _0x565dc1(0x20a)!=typeof window?window:global;case _0x565dc1(0x302):return'undefined'!=typeof global?global:window;}}async[_0x476190(0x1be)](_0x34b16f,..._0x536c24){const _0x45b79b=_0x476190;try{if(!this[_0x45b79b(0x30f)]||!this[_0x45b79b(0x1f1)])throw new Error(_0x45b79b(0x1bc));if(!this[_0x45b79b(0x1f1)][_0x34b16f])throw new Error(_0x45b79b(0x260)+_0x34b16f+'\x22\x20nΓ£o\x20encontrado\x20no\x20SDK');const _0x33a8e8=await this['sdk'][_0x34b16f](..._0x536c24);return this[_0x45b79b(0x1aa)](_0x34b16f,_0x33a8e8,null),{'success':!0x0,'data':_0x33a8e8,'error':null};}catch(_0xdecb38){const _0x5e87e2={'success':!0x1,'data':null,'error':{'message':_0xdecb38[_0x45b79b(0x139)],'code':_0xdecb38[_0x45b79b(0x184)]||_0x45b79b(0x1ca),'type':_0xdecb38[_0x45b79b(0x2e6)][_0x45b79b(0x287)]}};return this[_0x45b79b(0x1aa)](_0x34b16f,null,_0x5e87e2['error']),_0x5e87e2;}}[_0x476190(0x1aa)](_0xef8fa1,_0x123d98,_0xb6e0cd){const _0x30a835=_0x476190,_0xbcee52=this['getGlobalObject']();if(_0xb6e0cd&&_0xbcee52[_0x30a835(0x2dc)][_0x30a835(0x1b0)])try{_0xbcee52['easyflowCallbacks'][_0x30a835(0x1b0)](_0xb6e0cd,_0xef8fa1);}catch(_0x4e7ad4){console[_0x30a835(0x297)]('Erro\x20no\x20callback\x20onError:',_0x4e7ad4);}if(_0x123d98&&!_0xb6e0cd){if(_0x30a835(0x1eb)===_0xef8fa1&&_0xbcee52[_0x30a835(0x2dc)][_0x30a835(0x29f)])try{_0xbcee52[_0x30a835(0x2dc)][_0x30a835(0x29f)](_0x123d98);}catch(_0x4b651f){console['warn'](_0x30a835(0x1c0),_0x4b651f);}if((_0x30a835(0x2f7)===_0xef8fa1||'charge'===_0xef8fa1)&&_0xbcee52[_0x30a835(0x2dc)][_0x30a835(0x154)])try{_0xbcee52['easyflowCallbacks'][_0x30a835(0x154)](_0x123d98,_0xef8fa1);}catch(_0x53c90f){console[_0x30a835(0x297)](_0x30a835(0x267),_0x53c90f);}}}['on'](_0x2542e0,_0x4fb063){const _0x3fedf6=_0x476190,_0x41f9ba=this[_0x3fedf6(0x26a)]();switch(_0x2542e0){case _0x3fedf6(0x239):_0x41f9ba['easyflowCallbacks'][_0x3fedf6(0x29f)]=_0x4fb063;break;case _0x3fedf6(0x2b8):_0x41f9ba['easyflowCallbacks'][_0x3fedf6(0x154)]=_0x4fb063;break;case _0x3fedf6(0x2db):_0x41f9ba[_0x3fedf6(0x2dc)][_0x3fedf6(0x1b0)]=_0x4fb063;break;default:console[_0x3fedf6(0x297)]('Evento\x20desconhecido:\x20'+_0x2542e0);}}['configure'](_0x4b8dec){const _0x1b9fef=_0x476190;return this[_0x1b9fef(0x135)]={...this[_0x1b9fef(0x135)],..._0x4b8dec},this['config'][_0x1b9fef(0x25d)]&&console['log']('ConfiguraΓ§Γ£o\x20atualizada:',this[_0x1b9fef(0x135)]),this[_0x1b9fef(0x135)];}[_0x476190(0x242)](){const _0xdf0be7=_0x476190;return{'initialized':this[_0xdf0be7(0x30f)],'businessId':this['config'][_0xdf0be7(0x1e6)],'sdkVersion':this[_0xdf0be7(0x1f1)]?.['version']||_0xdf0be7(0x2a5),'wrapperVersion':'1.0.0'};}}function _0x60e53e(_0xa51e37){return new _0x517255(_0xa51e37);}_0xf25181();}catch(_0x270dc4){_0xf25181(_0x270dc4);}});},0x300:(_0xcc9061,_0x588ff7,_0x273be6)=>{const _0x1dc78d=a0_0x1def;_0x273be6['d'](_0x588ff7,{'K':()=>_0xaccf84});class _0xaccf84{constructor(_0x21affe='error'){const _0x22165c=a0_0x1def;this[_0x22165c(0x270)]=_0x21affe,this[_0x22165c(0x16a)]={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3};}[_0x1dc78d(0x149)](_0x206631,_0x5c713b,_0x410ecb=null){const _0x5325f2=_0x1dc78d;if(this[_0x5325f2(0x16a)][_0x206631]<=this['levels'][this[_0x5325f2(0x270)]]){const _0x388bab=this[_0x5325f2(0x2bf)](_0x410ecb),_0x3eb1c3='[EasyflowSDK:'+_0x206631[_0x5325f2(0x229)]()+']\x20'+_0x5c713b;_0x5325f2(0x2db)===_0x206631?console[_0x5325f2(0x2db)](_0x3eb1c3,_0x388bab):_0x5325f2(0x297)===_0x206631?console['warn'](_0x3eb1c3,_0x388bab):console['log'](_0x3eb1c3,_0x388bab);}}[_0x1dc78d(0x2bf)](_0x796607){const _0xa0df8a=_0x1dc78d;if(!_0x796607)return null;const _0x1e25c5=[_0xa0df8a(0x277),_0xa0df8a(0x1a4),_0xa0df8a(0x294),_0xa0df8a(0x2bb),_0xa0df8a(0x16e),_0xa0df8a(0x282),_0xa0df8a(0x254),_0xa0df8a(0x19f),_0xa0df8a(0x1d1),'credential'];return JSON[_0xa0df8a(0x1e5)](JSON['stringify'](_0x796607,(_0x350a3b,_0x4d19ca)=>_0x1e25c5[_0xa0df8a(0x210)](_0x4a7864=>_0x350a3b[_0xa0df8a(0x23a)]()[_0xa0df8a(0x22a)](_0x4a7864))?_0xa0df8a(0x1ed):_0xa0df8a(0x324)==typeof _0x4d19ca&&_0x4d19ca[_0xa0df8a(0x15a)]>0x64?_0x4d19ca[_0xa0df8a(0x1ec)](0x0,0x64)+'...':_0x4d19ca));}[_0x1dc78d(0x2db)](_0x1c4fa0,_0x1111b3=null){const _0x5d8e59=_0x1dc78d;this[_0x5d8e59(0x149)](_0x5d8e59(0x2db),_0x1c4fa0,_0x1111b3);}[_0x1dc78d(0x297)](_0x216935,_0x72404f=null){const _0x5b4b33=_0x1dc78d;this[_0x5b4b33(0x149)](_0x5b4b33(0x297),_0x216935,_0x72404f);}[_0x1dc78d(0x1a0)](_0x4a9469,_0x282e55=null){this['log']('info',_0x4a9469,_0x282e55);}[_0x1dc78d(0x252)](_0x32bafb,_0x4cf161=null){const _0x175d2c=_0x1dc78d;this[_0x175d2c(0x149)](_0x175d2c(0x252),_0x32bafb,_0x4cf161);}}},0x125:(_0x36eb31,_0x5c9929,_0x13b8dd)=>{_0x13b8dd['a'](_0x36eb31,async(_0x5955f8,_0x5d95ea)=>{const _0x21a942=a0_0x1def;try{_0x13b8dd['d'](_0x5c9929,{'I':()=>_0xe27370,'Y':()=>_0x11eb64});var _0x4a7f1e=_0x13b8dd(0x18f),_0x21c999=_0x5955f8([_0x4a7f1e]);_0x4a7f1e=(_0x21c999['then']?(await _0x21c999)():_0x21c999)[0x0];class _0xe27370{static[_0x21a942(0x278)](_0x1f8fc7={}){const _0x4f8ee8=_0x21a942,_0x17f240={};for(const [_0x422f77,_0x22b181]of Object[_0x4f8ee8(0x22e)](_0x1f8fc7)){[_0x4f8ee8(0x1ad),'x-real-ip','x-forwarded-host',_0x4f8ee8(0x249),'x-forwarded-port',_0x4f8ee8(0x1f0),_0x4f8ee8(0x151),_0x4f8ee8(0x1c3),'x-forwarded-path','x-forwarded-query',_0x4f8ee8(0x2fc),_0x4f8ee8(0x2ce),_0x4f8ee8(0x1d0)][_0x4f8ee8(0x22a)](_0x422f77[_0x4f8ee8(0x23a)]())||(_0x17f240[_0x422f77]=_0x22b181);}return _0x17f240;}static[_0x21a942(0x131)](_0x2f24b0){const _0x2027f0=_0x21a942;return _0x2027f0(0x324)==typeof _0x2f24b0&&_0x2f24b0?_0x2f24b0[_0x2027f0(0x305)](/[<>&]/g,'')[_0x2027f0(0x305)](/javascript:/gi,'')[_0x2027f0(0x305)](/data:/gi,'')[_0x2027f0(0x305)](/vbscript:/gi,'')['trim']():_0x2f24b0;}static[_0x21a942(0x1b3)](_0x2529de){const _0xa94819=_0x21a942;return{'cardNumber':this[_0xa94819(0x131)](_0x2529de[_0xa94819(0x1a4)]),'cvv':this[_0xa94819(0x131)](_0x2529de['cvv']),'month':this['sanitizeInput'](_0x2529de[_0xa94819(0x2f5)]),'year':this['sanitizeInput'](_0x2529de[_0xa94819(0x2c6)]),'holderName':this[_0xa94819(0x131)](_0x2529de[_0xa94819(0x187)])};}static[_0x21a942(0x25a)](_0x527766){const _0x2a241c=_0x21a942;return this[_0x2a241c(0x238)](_0x527766,new WeakSet());}static[_0x21a942(0x238)](_0x44fc0f,_0x4d1b5f){const _0x200a9c=_0x21a942;if(null==_0x44fc0f)return _0x44fc0f;if(_0x200a9c(0x309)!=typeof _0x44fc0f)return this['sanitizeInput'](_0x44fc0f);if(Array[_0x200a9c(0x2fa)](_0x44fc0f))return _0x44fc0f[_0x200a9c(0x1a9)](_0x5987fd=>this[_0x200a9c(0x238)](_0x5987fd,_0x4d1b5f));if(_0x4d1b5f[_0x200a9c(0x2dd)](_0x44fc0f))return _0x44fc0f;_0x4d1b5f[_0x200a9c(0x2a1)](_0x44fc0f);const _0x2f1ddd={};for(const [_0x1e25ce,_0x3e8b59]of Object[_0x200a9c(0x22e)](_0x44fc0f))_0x2f1ddd[_0x1e25ce]=this['_sanitizeObjectFieldsRecursive'](_0x3e8b59,_0x4d1b5f);return _0x2f1ddd;}}function _0x11eb64(_0x160752){const _0x4c3f81=_0x21a942,_0x2f9f13=(0x0,_0x4a7f1e['Go'])(_0x160752);return _0x2f9f13[_0x4c3f81(0x1ff)]&&(_0x2f9f13[_0x4c3f81(0x1ff)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x1ff)])),_0x2f9f13[_0x4c3f81(0x164)]&&(_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x32d)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x32d)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x287)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x287)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x237)]=_0xe27370['sanitizeInput'](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x237)]),_0x2f9f13[_0x4c3f81(0x164)]['document']&&(_0x2f9f13[_0x4c3f81(0x164)]['document'][_0x4c3f81(0x16e)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x134)]['number']),_0x2f9f13[_0x4c3f81(0x164)]['document']['type']=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13['buyer'][_0x4c3f81(0x134)]['type'])),_0x2f9f13[_0x4c3f81(0x164)]['phone']&&(_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x236)][_0x4c3f81(0x16e)]=_0xe27370['sanitizeInput'](_0x2f9f13['buyer'][_0x4c3f81(0x236)][_0x4c3f81(0x16e)]),_0x2f9f13['buyer'][_0x4c3f81(0x236)][_0x4c3f81(0x175)]=_0xe27370['sanitizeInput'](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x236)][_0x4c3f81(0x175)])),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)]&&(_0x2f9f13['buyer'][_0x4c3f81(0x320)]['zipCode']=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13['buyer'][_0x4c3f81(0x320)][_0x4c3f81(0x315)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)]['street']=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)]['address'][_0x4c3f81(0x29c)]),_0x2f9f13['buyer'][_0x4c3f81(0x320)][_0x4c3f81(0x279)]=_0xe27370['sanitizeInput'](_0x2f9f13['buyer'][_0x4c3f81(0x320)][_0x4c3f81(0x279)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)]['neighborhood']=_0xe27370['sanitizeInput'](_0x2f9f13['buyer'][_0x4c3f81(0x320)][_0x4c3f81(0x2f2)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)][_0x4c3f81(0x218)]=_0xe27370['sanitizeInput'](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)][_0x4c3f81(0x218)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)][_0x4c3f81(0x230)]=_0xe27370['sanitizeInput'](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)]['state']),_0x2f9f13[_0x4c3f81(0x164)]['address']['number']=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x320)][_0x4c3f81(0x16e)])),_0x2f9f13[_0x4c3f81(0x164)]['deliveryAddress']&&(_0x2f9f13[_0x4c3f81(0x164)]['deliveryAddress'][_0x4c3f81(0x315)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)][_0x4c3f81(0x315)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)][_0x4c3f81(0x29c)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)]['deliveryAddress']['street']),_0x2f9f13['buyer'][_0x4c3f81(0x285)][_0x4c3f81(0x279)]=_0xe27370['sanitizeInput'](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)]['complement']),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)][_0x4c3f81(0x2f2)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13['buyer'][_0x4c3f81(0x285)][_0x4c3f81(0x2f2)]),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)]['city']=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)]['city']),_0x2f9f13[_0x4c3f81(0x164)]['deliveryAddress'][_0x4c3f81(0x230)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)]['state']),_0x2f9f13[_0x4c3f81(0x164)][_0x4c3f81(0x285)][_0x4c3f81(0x16e)]=_0xe27370[_0x4c3f81(0x131)](_0x2f9f13['buyer'][_0x4c3f81(0x285)]['number']))),_0x2f9f13[_0x4c3f81(0x2a4)]&&Array[_0x4c3f81(0x2fa)](_0x2f9f13[_0x4c3f81(0x2a4)])&&(_0x2f9f13[_0x4c3f81(0x2a4)]=_0x2f9f13['payments'][_0x4c3f81(0x1a9)](_0x41ab0d=>{const _0x316e12=_0x4c3f81,_0x6af0d6={..._0x41ab0d};return _0x6af0d6[_0x316e12(0x2d3)]&&(_0x6af0d6['creditCard']={'cardId':_0xe27370[_0x316e12(0x131)](_0x6af0d6[_0x316e12(0x2d3)]?.[_0x316e12(0x28d)]),'cardNumber':_0xe27370[_0x316e12(0x131)](_0x6af0d6['creditCard'][_0x316e12(0x1a4)]),'cvv':_0xe27370[_0x316e12(0x131)](_0x6af0d6[_0x316e12(0x2d3)][_0x316e12(0x2bb)]),'month':_0xe27370[_0x316e12(0x131)](_0x6af0d6['creditCard'][_0x316e12(0x2f5)]),'year':_0xe27370['sanitizeInput'](_0x6af0d6[_0x316e12(0x2d3)][_0x316e12(0x2c6)]),'holderName':_0xe27370[_0x316e12(0x131)](_0x6af0d6[_0x316e12(0x2d3)]['holderName'])}),_0x6af0d6;})),_0x2f9f13[_0x4c3f81(0x19e)]&&(_0x2f9f13[_0x4c3f81(0x19e)]=_0x2f9f13[_0x4c3f81(0x19e)]['map'](_0x3a4531=>({'externalReferenceId':_0xe27370[_0x4c3f81(0x131)](_0x3a4531[_0x4c3f81(0x222)]),'description':_0xe27370['sanitizeInput'](_0x3a4531[_0x4c3f81(0x1b6)]),'name':_0xe27370[_0x4c3f81(0x131)](_0x3a4531['name']),'quantity':_0x3a4531['quantity'],'priceInCents':_0x3a4531[_0x4c3f81(0x2b9)]}))),_0x2f9f13['metadata']&&Array[_0x4c3f81(0x2fa)](_0x2f9f13[_0x4c3f81(0x17e)])&&(_0x2f9f13[_0x4c3f81(0x17e)]=_0x2f9f13['metadata']['map'](_0x2b0dc6=>({'key':_0xe27370['sanitizeInput'](_0x2b0dc6[_0x4c3f81(0x282)]),'value':_0xe27370[_0x4c3f81(0x131)](_0x2b0dc6[_0x4c3f81(0x148)])}))),_0x2f9f13;}_0x5d95ea();}catch(_0x536792){_0x5d95ea(_0x536792);}});},0x11e:(_0x32526e,_0x3d7b26,_0x4ef1ae)=>{_0x4ef1ae['a'](_0x32526e,async(_0x553648,_0x18c633)=>{const _0x5bf056=a0_0x1def;try{_0x4ef1ae['d'](_0x3d7b26,{'E3':()=>_0x4fe08d,'sI':()=>_0xa076f5,'v$':()=>_0x2d4cf1});var _0x102553=_0x4ef1ae(0x1ac),_0x1f98ed=_0x4ef1ae(0x1d5),_0x49c62e=_0x4ef1ae(0x392),_0x580c61=_0x4ef1ae(0x125),_0x27a296=_0x4ef1ae(0x18f),_0x1241e2=_0x4ef1ae(0x224),_0x3d46c3=_0x4ef1ae(0x1b3),_0x1fc6de=_0x553648([_0x49c62e,_0x580c61,_0x27a296]);[_0x49c62e,_0x580c61,_0x27a296]=_0x1fc6de['then']?(await _0x1fc6de)():_0x1fc6de;const _0xa076f5={'ALLOWED_ORIGINS':['https://easyflow.digital','https://pay.easyflow.digital',_0x5bf056(0x30a),_0x5bf056(0x26d),_0x5bf056(0x31b),_0x5bf056(0x204),_0x5bf056(0x25f),_0x5bf056(0x30c),_0x5bf056(0x28f)],'ALLOWED_DOMAINS':['easyflow.digital','pay.easyflow.digital',_0x5bf056(0x2fd),_0x5bf056(0x18b),_0x5bf056(0x1e8)],'MAX_REQUESTS_PER_MINUTE':0x64,'REQUEST_TIMEOUT':0x7530,'DEBUG_PROTECTION':!0x1,'PRODUCTION_MODE':!0x0,'ALLOW_IFRAME':!0x0};class _0x4442a3{static[_0x5bf056(0x32c)](){const _0x302700=_0x5bf056;this[_0x302700(0x1c1)](),this[_0x302700(0x266)](),this[_0x302700(0x146)](),this[_0x302700(0x24b)](),this['checkOrigin']();}static['checkHTTPS'](){const _0x5eac7b=_0x5bf056;_0x5eac7b(0x307)!==location[_0x5eac7b(0x231)]&&_0x5eac7b(0x304)!==location['hostname']&&_0x5eac7b(0x32b)!==location[_0x5eac7b(0x2b4)]&&(0x0,_0x102553['S'])(new _0x1f98ed['Vx'](_0x5eac7b(0x168)));}static['checkIframe'](){const _0xe4ae34=_0x5bf056;_0xa076f5[_0xe4ae34(0x326)]||window[_0xe4ae34(0x147)]===window[_0xe4ae34(0x171)]||(0x0,_0x102553['S'])(new _0x1f98ed['Vx'](_0xe4ae34(0x23b)));}static['checkCryptoAPI'](){const _0x3e9016=_0x5bf056;window[_0x3e9016(0x1ea)]&&window[_0x3e9016(0x1ea)][_0x3e9016(0x1f7)]||(0x0,_0x102553['S'])(new _0x1f98ed['Vx']('Web\x20Crypto\x20API\x20required'));}static['checkTrustedTypes'](){const _0x4ffde9=_0x5bf056;window[_0x4ffde9(0x159)]||console[_0x4ffde9(0x297)](_0x4ffde9(0x272));}static['checkOrigin'](){const _0x106800=_0x5bf056,_0x590690=window[_0x106800(0x14d)]['origin'],_0x50abd7=window[_0x106800(0x14d)]['hostname'];if(_0xa076f5['ALLOWED_ORIGINS'][_0x106800(0x22a)](_0x590690))return!0x0;return!!_0xa076f5[_0x106800(0x1b5)][_0x106800(0x210)](_0x2d62bb=>{const _0x46cead=_0x106800;if(_0x2d62bb[_0x46cead(0x2ee)]('*.')){const _0x1f3edc=_0x2d62bb['substring'](0x2);return _0x50abd7[_0x46cead(0x2fb)]('.'+_0x1f3edc)||_0x50abd7===_0x1f3edc;}return _0x50abd7===_0x2d62bb;})||(_0x106800(0x304)===_0x50abd7||_0x106800(0x32b)===_0x50abd7||(console[_0x106800(0x297)](_0x106800(0x18e)+_0x590690+'\x20not\x20in\x20allowed\x20list'),!0x1));}}class _0x2d4cf1{constructor(){const _0xd2f065=_0x5bf056;this[_0xd2f065(0x215)]=new Map(),this[_0xd2f065(0x303)]=_0xa076f5[_0xd2f065(0x1ac)],this[_0xd2f065(0x193)]=0xea60;}async[_0x5bf056(0x2e3)](_0x315d07){const _0x398636=_0x5bf056,_0x1ca90f=Date[_0x398636(0x1ba)](),_0x5d578d=(this[_0x398636(0x215)][_0x398636(0x221)](_0x315d07)||[])[_0x398636(0x1e1)](_0x4cfc19=>_0x1ca90f-_0x4cfc19<this[_0x398636(0x193)]);if(_0x5d578d['length']>=this[_0x398636(0x303)]){const _0x3f9cd4=this['calculateBackoff'](_0x5d578d['length']);await new Promise(_0x9c2a9=>setTimeout(_0x9c2a9,_0x3f9cd4)),(0x0,_0x102553['S'])(new _0x1f98ed['Vx']('Rate\x20limit\x20exceeded'));}_0x5d578d[_0x398636(0x27a)](_0x1ca90f),this[_0x398636(0x215)][_0x398636(0x22c)](_0x315d07,_0x5d578d);}['calculateBackoff'](_0x5d257c){return Math['min'](0x3e8*Math['pow'](0x2,_0x5d257c-this['maxRequests']),0x7530);}}class _0x38cbce{static[_0x5bf056(0x275)](){const _0x77198c=_0x5bf056;return crypto[_0x77198c(0x29a)](new Uint8Array(0x10))[_0x77198c(0x1ce)]((_0x13e834,_0x27d766)=>_0x13e834+_0x27d766[_0x77198c(0x1e2)](0x10)[_0x77198c(0x329)](0x2,'0'),'');}}function _0x4ff25e(){const _0x15f3c7=_0x5bf056;return(0x0,_0x1241e2['B'])()??Math['random']()[_0x15f3c7(0x1e2)](0xa)[_0x15f3c7(0x1ec)](0xa);}function _0x19dcad(_0x42f2f1=_0x4ff25e()){const _0x3e85d5=_0x5bf056;return{'Content-Security-Policy':'default-src\x20\x27self\x27;\x20script-src\x20\x27self\x27\x20\x27unsafe-inline\x27;\x20style-src\x20\x27self\x27\x20\x27unsafe-inline\x27;','X-Frame-Options':_0xa076f5['ALLOW_IFRAME']?_0x3e85d5(0x173):_0x3e85d5(0x1fe),'X-Content-Type-Options':_0x3e85d5(0x203),'Referrer-Policy':_0x3e85d5(0x22d),'X-XSS-Protection':_0x3e85d5(0x30e),'Strict-Transport-Security':_0x3e85d5(0x12f),'Permissions-Policy':'geolocation=(),\x20microphone=(),\x20camera=()','X-Download-Options':_0x3e85d5(0x241),'X-Permitted-Cross-Domain-Policies':_0x3e85d5(0x2f1),'x-fingerprint-id':_0x42f2f1,'X-Nonce':_0x38cbce[_0x3e85d5(0x275)](),'X-Timestamp':Date[_0x3e85d5(0x1ba)]()[_0x3e85d5(0x1e2)](),'X-Client-Version':_0x3d46c3[_0x3e85d5(0x1d4)],'X-Client-Platform':_0x3e85d5(0x232)};}class _0x4fe08d{static async[_0x5bf056(0x316)](_0xe8bd6c,_0x3503c0={'method':_0x5bf056(0x2f0),'headers':{},'body':null,'mode':'cors','cache':'no-cache','credentials':_0x5bf056(0x2d7),'redirect':_0x5bf056(0x2db),'referrerPolicy':_0x5bf056(0x21b)}){const _0x1842dd=_0x5bf056,_0x4fa606=new AbortController(),_0x59116b=setTimeout(()=>_0x4fa606['abort'](),_0xa076f5['REQUEST_TIMEOUT']);try{const _0x22604c=_0x580c61['I'][_0x1842dd(0x278)](_0x3503c0[_0x1842dd(0x1b7)]),_0x189c3f=(0x0,_0x27a296['lF'])(_0x19dcad(_0x22604c[_0x1842dd(0x25c)]),_0x22604c),_0x321dc9=_0x49c62e['D'][_0x1842dd(0x2c2)](_0xe8bd6c),_0x4bc0ed={..._0x3503c0,'headers':_0x189c3f,'signal':_0x4fa606['signal']},_0x451d28=await fetch(_0x321dc9,_0x4bc0ed);return clearTimeout(_0x59116b),_0x451d28['ok']||(0x0,_0x102553['S'])(new _0x1f98ed['Dr'](_0x1842dd(0x240)+_0x451d28[_0x1842dd(0x20f)]+':\x20'+_0x451d28[_0x1842dd(0x186)])),_0x451d28;}catch(_0x3ab258){console['log']('Error\x20in\x20SecureFetch:',_0x3ab258),clearTimeout(_0x59116b),(0x0,_0x102553['S'])(_0x3ab258);}}}if(_0x5bf056(0x20a)!=typeof window)try{_0x4442a3[_0x5bf056(0x32c)]();}catch(_0x1dd215){console[_0x5bf056(0x2db)](_0x5bf056(0x1c7),_0x1dd215[_0x5bf056(0x139)]);}_0x18c633();}catch(_0x20d89e){_0x18c633(_0x20d89e);}});},0x18f:(_0x43a1c0,_0x45b866,_0x35c1b0)=>{_0x35c1b0['a'](_0x43a1c0,async(_0x53f346,_0x3cffd1)=>{const _0x53ecb=a0_0x1def;try{_0x35c1b0['d'](_0x45b866,{'Go':()=>_0x320748,'KB':()=>_0x3bb569,'dP':()=>_0x6b9926,'gB':()=>_0x3cd0a4,'gx':()=>_0x19e5df,'lF':()=>_0x53d917,'ns':()=>_0x35dad8,'wB':()=>_0x40e2dc});var _0x4c50f1=_0x35c1b0(0x3b7),_0x2ea70c=_0x53f346([_0x4c50f1]);function _0x320748(_0x3558b3){return JSON['parse'](JSON['stringify'](_0x3558b3));}function _0x19e5df(_0xe67099){const _0x1346bd=a0_0x1def,_0x376ce3=_0x320748(_0xe67099);return _0x376ce3[_0x1346bd(0x2a4)]=_0x376ce3[_0x1346bd(0x2a4)]['map'](_0x127e5b=>_0x127e5b[_0x1346bd(0x293)]===_0x4c50f1['u'][_0x1346bd(0x1bd)]?{..._0x127e5b,'rawCreditCard':_0x127e5b[_0x1346bd(0x2d3)]}:_0x127e5b),_0x376ce3;}function _0x40e2dc(_0x719c1f,_0x209b7f,_0x324838){const _0x49218a=a0_0x1def;if(!_0x719c1f?.[_0x49218a(0x2a4)]?.[_0x49218a(0x15a)])return null;return _0x719c1f[_0x49218a(0x2a4)][_0x49218a(0x265)](_0x56db3d=>_0x56db3d[_0x49218a(0x293)]===_0x209b7f&&_0x324838(_0x56db3d))||null;}function _0x3cd0a4(_0x17131f){const _0x2d1531=a0_0x1def;return _0x17131f['pix']&&(_0x17131f[_0x2d1531(0x31e)][_0x2d1531(0x258)]||_0x17131f[_0x2d1531(0x31e)][_0x2d1531(0x234)]);}function _0x35dad8(_0x4018cd){const _0x3e545f=a0_0x1def;return _0x4018cd[_0x3e545f(0x1dc)]&&(_0x4018cd['bankBillet'][_0x3e545f(0x27f)]||_0x4018cd[_0x3e545f(0x1dc)][_0x3e545f(0x199)]||_0x4018cd[_0x3e545f(0x1dc)][_0x3e545f(0x2ff)]);}function _0x53d917(_0x4ec910={},_0x5abfe7={}){return{..._0x4ec910,..._0x5abfe7};}function _0x3bb569(_0x19e080,_0x51c6ab,_0x3cea65={}){const _0x52d77a=a0_0x1def,_0x2c52d6=new URL(_0x52d77a(0x299)+_0x51c6ab,_0x19e080)[_0x52d77a(0x1e2)](),_0x1cf6c0=new URLSearchParams(_0x3cea65)[_0x52d77a(0x1e2)]();return _0x1cf6c0?_0x2c52d6+'&'+_0x1cf6c0:_0x2c52d6;}function _0x6b9926({hardwareOnly:_0x3e717f=!0x1,enableWebgl:_0x341634=!0x1,debug:_0x3f756d=!0x1}={}){const _0x52e429=a0_0x1def,{cookieEnabled:_0x75b331,deviceMemory:_0x2b157b,doNotTrack:_0x4259bf,hardwareConcurrency:_0x566825,language:_0x3de8c6,languages:_0x261935,maxTouchPoints:_0x2ae6ca,platform:_0x53f545,userAgent:_0x289100,vendor:_0x249c0f}=window['navigator'];let {width:_0x4edc7f,height:_0x3e1f1e,colorDepth:_0x10e722,pixelDepth:_0x35f23a}=window[_0x52e429(0x213)];_0x4edc7f=0x3e8,_0x3e1f1e=0x3e8;const _0x482b95=new Date()[_0x52e429(0x1ef)](),_0x3eafed=Intl[_0x52e429(0x29d)]()[_0x52e429(0x2bc)]()[_0x52e429(0x327)],_0xf14182='ontouchstart'in window,_0x3b8101=window[_0x52e429(0x2b1)],_0x1c468f=_0x22247c(_0x3f756d),_0x261053=_0x341634?_0x169a42(_0x3f756d):void 0x0,_0x5e4a13=_0x341634?_0x26deba():void 0x0,_0xc23daa=_0x3e717f?JSON['stringify']({'canvas':_0x1c468f,'colorDepth':_0x10e722,'deviceMemory':_0x2b157b,'devicePixelRatio':_0x3b8101,'hardwareConcurrency':_0x566825,'height':_0x3e1f1e,'maxTouchPoints':_0x2ae6ca,'pixelDepth':_0x35f23a,'platform':_0x53f545,'touchSupport':_0xf14182,'webgl':_0x261053,'webglInfo':_0x5e4a13,'width':_0x4edc7f}):JSON[_0x52e429(0x269)]({'canvas':_0x1c468f,'colorDepth':_0x10e722,'cookieEnabled':_0x75b331,'deviceMemory':_0x2b157b,'devicePixelRatio':_0x3b8101,'doNotTrack':_0x4259bf,'hardwareConcurrency':_0x566825,'height':_0x3e1f1e,'language':_0x3de8c6,'languages':_0x261935,'maxTouchPoints':_0x2ae6ca,'pixelDepth':_0x35f23a,'platform':_0x53f545,'timezone':_0x3eafed,'timezoneOffset':_0x482b95,'touchSupport':_0xf14182,'userAgent':_0x289100,'vendor':_0x249c0f,'webgl':_0x261053,'webglInfo':_0x5e4a13,'width':_0x4edc7f}),_0x25809a=JSON[_0x52e429(0x269)](_0xc23daa,null,0x4);return _0x3f756d&&console['log'](_0x52e429(0x18a),_0x25809a),_0x566c8e(_0x25809a);}function _0x22247c(_0x447ef6){const _0x1f7a8e=a0_0x1def;try{const _0x52bb2c=document['createElement']('canvas'),_0x2566ee=_0x52bb2c[_0x1f7a8e(0x17b)]('2d'),_0xd20019='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~1!2@3#4$5%6^7&8*9(0)-_=+[{]}|;:\x27,<.>/?';_0x2566ee['textBaseline']='top',_0x2566ee['font']=_0x1f7a8e(0x24e),_0x2566ee[_0x1f7a8e(0x177)]='alphabetic',_0x2566ee[_0x1f7a8e(0x2da)]=_0x1f7a8e(0x16d),_0x2566ee[_0x1f7a8e(0x1b8)](0x7d,0x1,0x3e,0x14),_0x2566ee[_0x1f7a8e(0x2da)]=_0x1f7a8e(0x2d8),_0x2566ee['fillText'](_0xd20019,0x2,0xf),_0x2566ee['fillStyle']=_0x1f7a8e(0x1a6),_0x2566ee['fillText'](_0xd20019,0x4,0x11);const _0x326dda=_0x52bb2c[_0x1f7a8e(0x144)]();return _0x447ef6?document[_0x1f7a8e(0x322)][_0x1f7a8e(0x140)](_0x52bb2c):_0x2566ee[_0x1f7a8e(0x2ef)](0x0,0x0,_0x52bb2c[_0x1f7a8e(0x28c)],_0x52bb2c[_0x1f7a8e(0x291)]),_0x566c8e(_0x326dda);}catch{return null;}}function _0x169a42(_0x2f5ffc){const _0x2b023e=a0_0x1def;try{const _0x3364c7=document[_0x2b023e(0x206)](_0x2b023e(0x133)),_0xbfca43=_0x3364c7['getContext'](_0x2b023e(0x323));_0x3364c7['width']=0x100,_0x3364c7['height']=0x80;const _0x59a4d3=_0x2b023e(0x216),_0x3f40e9=_0x2b023e(0x2fe),_0x1238e5=_0xbfca43[_0x2b023e(0x207)]();_0xbfca43[_0x2b023e(0x15b)](_0xbfca43[_0x2b023e(0x176)],_0x1238e5);const _0x10a7d7=new Float32Array([-0.2,-0.9,0x0,0.4,-0.26,0x0,0x0,0.7321,0x0]);_0xbfca43[_0x2b023e(0x13c)](_0xbfca43['ARRAY_BUFFER'],_0x10a7d7,_0xbfca43[_0x2b023e(0x1fb)]),_0x1238e5[_0x2b023e(0x2a9)]=0x3,_0x1238e5[_0x2b023e(0x138)]=0x3;const _0x359a84=_0xbfca43[_0x2b023e(0x314)](),_0x6fa114=_0xbfca43[_0x2b023e(0x2f3)](_0xbfca43['VERTEX_SHADER']);_0xbfca43['shaderSource'](_0x6fa114,_0x59a4d3),_0xbfca43[_0x2b023e(0x1f8)](_0x6fa114);const _0x186291=_0xbfca43['createShader'](_0xbfca43['FRAGMENT_SHADER']);_0xbfca43[_0x2b023e(0x310)](_0x186291,_0x3f40e9),_0xbfca43[_0x2b023e(0x1f8)](_0x186291),_0xbfca43[_0x2b023e(0x158)](_0x359a84,_0x6fa114),_0xbfca43[_0x2b023e(0x158)](_0x359a84,_0x186291),_0xbfca43['linkProgram'](_0x359a84),_0xbfca43['useProgram'](_0x359a84),_0x359a84[_0x2b023e(0x20b)]=_0xbfca43['getAttribLocation'](_0x359a84,_0x2b023e(0x31a)),_0x359a84['offsetUniform']=_0xbfca43[_0x2b023e(0x163)](_0x359a84,_0x2b023e(0x29e)),_0xbfca43[_0x2b023e(0x1d8)](_0x359a84[_0x2b023e(0x308)]),_0xbfca43[_0x2b023e(0x181)](_0x359a84['vertexPosAttrib'],_0x1238e5['itemSize'],_0xbfca43['FLOAT'],!0x1,0x0,0x0),_0xbfca43['uniform2f'](_0x359a84[_0x2b023e(0x1fa)],0x1,0x1),_0xbfca43[_0x2b023e(0x2b2)](_0xbfca43[_0x2b023e(0x225)],0x0,_0x1238e5[_0x2b023e(0x138)]);const _0x106ada=new Uint8Array(_0x3364c7[_0x2b023e(0x28c)]*_0x3364c7[_0x2b023e(0x291)]*0x4);_0xbfca43[_0x2b023e(0x197)](0x0,0x0,_0x3364c7[_0x2b023e(0x28c)],_0x3364c7[_0x2b023e(0x291)],_0xbfca43[_0x2b023e(0x1bb)],_0xbfca43[_0x2b023e(0x150)],_0x106ada);const _0x130384=JSON[_0x2b023e(0x269)](_0x106ada)[_0x2b023e(0x305)](/,?"[0-9]+":/g,'');return _0x2f5ffc?document[_0x2b023e(0x322)][_0x2b023e(0x140)](_0x3364c7):_0xbfca43[_0x2b023e(0x141)](_0xbfca43[_0x2b023e(0x208)]|_0xbfca43[_0x2b023e(0x2ea)]|_0xbfca43['STENCIL_BUFFER_BIT']),_0x566c8e(_0x130384);}catch{return null;}}function _0x26deba(){const _0x59a4fe=a0_0x1def;try{const _0x272361=document['createElement'](_0x59a4fe(0x133))['getContext'](_0x59a4fe(0x323));return{'VERSION':_0x272361[_0x59a4fe(0x1a2)](_0x272361[_0x59a4fe(0x192)]),'SHADING_LANGUAGE_VERSION':_0x272361[_0x59a4fe(0x1a2)](_0x272361[_0x59a4fe(0x300)]),'VENDOR':_0x272361[_0x59a4fe(0x1a2)](_0x272361['VENDOR']),'SUPORTED_EXTENSIONS':_0x272361[_0x59a4fe(0x1f9)]()};}catch{return null;}}function _0x566c8e(_0x4cadab){const _0x16ca86=a0_0x1def,_0x4d5481=0x3&_0x4cadab[_0x16ca86(0x15a)],_0x424bf8=_0x4cadab[_0x16ca86(0x15a)]-_0x4d5481,_0x35fe67=0xcc9e2d51,_0x500587=0x1b873593;let _0xbf81f1,_0x49bad5,_0x5c8c7e;for(let _0x46b428=0x0;_0x46b428<_0x424bf8;_0x46b428++)_0x5c8c7e=0xff&_0x4cadab['charCodeAt'](_0x46b428)|(0xff&_0x4cadab[_0x16ca86(0x1cf)](++_0x46b428))<<0x8|(0xff&_0x4cadab['charCodeAt'](++_0x46b428))<<0x10|(0xff&_0x4cadab[_0x16ca86(0x1cf)](++_0x46b428))<<0x18,++_0x46b428,_0x5c8c7e=(0xffff&_0x5c8c7e)*_0x35fe67+(((_0x5c8c7e>>>0x10)*_0x35fe67&0xffff)<<0x10)&0xffffffff,_0x5c8c7e=_0x5c8c7e<<0xf|_0x5c8c7e>>>0x11,_0x5c8c7e=(0xffff&_0x5c8c7e)*_0x500587+(((_0x5c8c7e>>>0x10)*_0x500587&0xffff)<<0x10)&0xffffffff,_0xbf81f1^=_0x5c8c7e,_0xbf81f1=_0xbf81f1<<0xd|_0xbf81f1>>>0x13,_0x49bad5=0x5*(0xffff&_0xbf81f1)+((0x5*(_0xbf81f1>>>0x10)&0xffff)<<0x10)&0xffffffff,_0xbf81f1=0x6b64+(0xffff&_0x49bad5)+((0xe654+(_0x49bad5>>>0x10)&0xffff)<<0x10);const _0x1f83cb=_0x424bf8-0x1;switch(_0x5c8c7e=0x0,_0x4d5481){case 0x3:_0x5c8c7e^=(0xff&_0x4cadab['charCodeAt'](_0x1f83cb+0x2))<<0x10;break;case 0x2:_0x5c8c7e^=(0xff&_0x4cadab['charCodeAt'](_0x1f83cb+0x1))<<0x8;break;case 0x1:_0x5c8c7e^=0xff&_0x4cadab[_0x16ca86(0x1cf)](_0x1f83cb);}return _0x5c8c7e=(0xffff&_0x5c8c7e)*_0x35fe67+(((_0x5c8c7e>>>0x10)*_0x35fe67&0xffff)<<0x10)&0xffffffff,_0x5c8c7e=_0x5c8c7e<<0xf|_0x5c8c7e>>>0x11,_0x5c8c7e=(0xffff&_0x5c8c7e)*_0x500587+(((_0x5c8c7e>>>0x10)*_0x500587&0xffff)<<0x10)&0xffffffff,_0xbf81f1^=_0x5c8c7e,_0xbf81f1^=_0x4cadab['length'],_0xbf81f1^=_0xbf81f1>>>0x10,_0xbf81f1=0x85ebca6b*(0xffff&_0xbf81f1)+((0x85ebca6b*(_0xbf81f1>>>0x10)&0xffff)<<0x10)&0xffffffff,_0xbf81f1^=_0xbf81f1>>>0xd,_0xbf81f1=0xc2b2ae35*(0xffff&_0xbf81f1)+((0xc2b2ae35*(_0xbf81f1>>>0x10)&0xffff)<<0x10)&0xffffffff,_0xbf81f1^=_0xbf81f1>>>0x10,_0xbf81f1>>>0x0;}_0x4c50f1=(_0x2ea70c[_0x53ecb(0x21f)]?(await _0x2ea70c)():_0x2ea70c)[0x0],_0x3cffd1();}catch(_0x426b59){_0x3cffd1(_0x426b59);}});},0x392:(_0x252967,_0x2cee9f,_0x261ff2)=>{_0x261ff2['a'](_0x252967,async(_0x5d4e16,_0x353a2f)=>{const _0x289feb=a0_0x1def;try{_0x261ff2['d'](_0x2cee9f,{'D':()=>_0x2707e0});var _0x3c1594=_0x261ff2(0x1d5),_0x4b5c15=_0x261ff2(0x1eb),_0x11ee3c=_0x261ff2(0x1ac),_0x388282=_0x261ff2(0x11e),_0x90fde9=_0x5d4e16([_0x388282]);_0x388282=(_0x90fde9[_0x289feb(0x21f)]?(await _0x90fde9)():_0x90fde9)[0x0];class _0x2707e0{static[_0x289feb(0x2c0)](_0xfc8bd8,_0xcd3f6f){const _0x40e684=_0x289feb;return _0xfc8bd8&&_0x40e684(0x324)==typeof _0xfc8bd8||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0xcd3f6f+_0x40e684(0x301),0x190,_0x3c1594['OQ']['VALIDATION_ERROR'])),!0x0;}static[_0x289feb(0x152)](_0x5f2722,_0x3f69f6){const _0x1f87d8=_0x289feb;return _0x5f2722&&_0x1f87d8(0x309)==typeof _0x5f2722&&!Array[_0x1f87d8(0x2fa)](_0x5f2722)||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x3f69f6+_0x1f87d8(0x271),0x190,_0x3c1594['OQ'][_0x1f87d8(0x2a3)])),!0x0;}static[_0x289feb(0x2fa)](_0x51039d,_0x549994){const _0x5c388a=_0x289feb;return Array[_0x5c388a(0x2fa)](_0x51039d)&&0x0!==_0x51039d[_0x5c388a(0x15a)]||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x549994+'\x20must\x20be\x20a\x20non-empty\x20array',0x190,_0x3c1594['OQ'][_0x5c388a(0x2a3)])),!0x0;}static[_0x289feb(0x312)](_0x5ab8e8){const _0x5095ae=_0x289feb;switch(_0x2707e0['isObject'](_0x5ab8e8,_0x5095ae(0x2b0)),_0x2707e0[_0x5095ae(0x2c0)](_0x5ab8e8['method'],'payment.method'),Object[_0x5095ae(0x25b)](_0x4b5c15['uq'])['includes'](_0x5ab8e8[_0x5095ae(0x293)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7']('Invalid\x20payment\x20method:\x20'+_0x5ab8e8[_0x5095ae(0x293)],0x190,_0x3c1594['OQ'][_0x5095ae(0x313)])),_0x5ab8e8[_0x5095ae(0x293)]){case _0x4b5c15['uq'][_0x5095ae(0x1bd)]:_0x5ab8e8['creditCard']||((0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x5095ae(0x182),0x190,_0x3c1594['OQ'][_0x5095ae(0x1a1)])),_0x2707e0['validateCreditCardData'](_0x5ab8e8[_0x5095ae(0x2d3)]));case _0x4b5c15['uq'][_0x5095ae(0x13d)]:case _0x4b5c15['uq'][_0x5095ae(0x25e)]:}}static[_0x289feb(0x2e4)](_0xf4e293){const _0x2cca14=_0x289feb;_0x2707e0[_0x2cca14(0x152)](_0xf4e293,_0x2cca14(0x2d3));if([_0x2cca14(0x1a4),_0x2cca14(0x187),_0x2cca14(0x2f5),_0x2cca14(0x2c6),_0x2cca14(0x2bb)][_0x2cca14(0x170)](_0x355b2a=>{const _0x5698b2=_0x2cca14;_0x2707e0[_0x5698b2(0x2c0)](_0xf4e293[_0x355b2a],_0x5698b2(0x194)+_0x355b2a);}),!/^\d{13,19}$/[_0x2cca14(0x2ec)](_0xf4e293[_0x2cca14(0x1a4)]))throw new _0x3c1594['yI']('Invalid\x20card\x20number');if(!/^\d{3,4}$/[_0x2cca14(0x2ec)](_0xf4e293[_0x2cca14(0x2bb)]))throw new _0x3c1594['yI'](_0x2cca14(0x16f));if(!/^\d{1,2}$/[_0x2cca14(0x2ec)](_0xf4e293[_0x2cca14(0x2f5)])||parseInt(_0xf4e293['month'])<0x1||parseInt(_0xf4e293['month'])>0xc)throw new _0x3c1594['yI'](_0x2cca14(0x1c4));if(!/^\d{4}$/[_0x2cca14(0x2ec)](_0xf4e293[_0x2cca14(0x2c6)]))throw new _0x3c1594['yI'](_0x2cca14(0x178));if(!_0xf4e293['holderName']||_0xf4e293[_0x2cca14(0x187)][_0x2cca14(0x15a)]<0x2)throw new _0x3c1594['yI'](_0x2cca14(0x2e8));}static[_0x289feb(0x212)](_0x497d5e){const _0x5e255d=_0x289feb;_0x2707e0[_0x5e255d(0x152)](_0x497d5e,_0x5e255d(0x274)),_0x2707e0[_0x5e255d(0x2fa)](_0x497d5e[_0x5e255d(0x2a4)],_0x5e255d(0x2a6)),_0x497d5e[_0x5e255d(0x2a4)]['forEach']((_0x1da5f4,_0x1fcf40)=>{const _0x193d5b=_0x5e255d;try{_0x2707e0[_0x193d5b(0x312)](_0x1da5f4),_0x2707e0[_0x193d5b(0x26c)](_0x1da5f4['numberInstallments'],_0x193d5b(0x1df));}catch(_0x2c0ee4){(0x0,_0x11ee3c['S'])(new _0x3c1594['J7']('Invalid\x20payment\x20at\x20index\x20'+_0x1fcf40+':\x20'+_0x2c0ee4['message'],_0x2c0ee4['status'],_0x2c0ee4['code']));}});}static[_0x289feb(0x2e7)](_0x3fe151,_0x297c11){const _0x101b1c=_0x289feb;return('number'!=typeof _0x3fe151||isNaN(_0x3fe151))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x297c11+_0x101b1c(0x317),0x190,_0x3c1594['OQ'][_0x101b1c(0x2a3)])),!0x0;}static[_0x289feb(0x26c)](_0x4930a9,_0x224802){const _0x5ab62b=_0x289feb;return(!_0x2707e0['isNumber'](_0x4930a9,_0x224802)||_0x4930a9<=0x0)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x224802+_0x5ab62b(0x259),0x190,_0x3c1594['OQ'][_0x5ab62b(0x2a3)])),!0x0;}static[_0x289feb(0x2c2)](_0x38aa1b){const _0x2fdc94=_0x289feb;try{const _0x173eb4=new URL(_0x38aa1b);return _0x388282['sI'][_0x2fdc94(0x1b5)]['includes'](_0x173eb4[_0x2fdc94(0x2b4)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['yI'](_0x2fdc94(0x2d1))),'https:'!==_0x173eb4[_0x2fdc94(0x231)]&&(0x0,_0x11ee3c['S'])(new _0x3c1594['yI'](_0x2fdc94(0x283))),_0x173eb4[_0x2fdc94(0x1e2)]();}catch(_0x2e3e2c){(0x0,_0x11ee3c['S'])(new _0x3c1594['yI'](_0x2fdc94(0x30b)));}}static[_0x289feb(0x261)](_0x7b60e3){const _0x25b5ee=_0x289feb;_0x2707e0['isArray'](_0x7b60e3,_0x25b5ee(0x19e)),_0x7b60e3[_0x25b5ee(0x170)]((_0x42a7be,_0x3bd2c2)=>{const _0x2e6df0=_0x25b5ee;try{_0x2707e0[_0x2e6df0(0x152)](_0x42a7be,'items['+_0x3bd2c2+']'),_0x42a7be[_0x2e6df0(0x287)]&&_0x2707e0[_0x2e6df0(0x2c0)](_0x42a7be[_0x2e6df0(0x287)],_0x2e6df0(0x287)),_0x42a7be[_0x2e6df0(0x1b6)]&&_0x2707e0['isString'](_0x42a7be[_0x2e6df0(0x1b6)],_0x2e6df0(0x1b6)),_0x42a7be[_0x2e6df0(0x137)]&&_0x2707e0[_0x2e6df0(0x26c)](_0x42a7be['quantity'],'quantity'),_0x42a7be['priceInCents']&&_0x2707e0['isNumber'](_0x42a7be[_0x2e6df0(0x2b9)],_0x2e6df0(0x2b9));}catch(_0x1f289e){(0x0,_0x11ee3c['S'])(new _0x3c1594['J7']('Invalid\x20items\x20at\x20index\x20'+_0x3bd2c2+':\x20'+_0x1f289e[_0x2e6df0(0x139)],_0x1f289e[_0x2e6df0(0x20f)],_0x1f289e[_0x2e6df0(0x184)]));}});}static[_0x289feb(0x196)](_0x188fdf,_0x4c53e6=_0x289feb(0x237)){const _0x3e0c22=_0x289feb;return _0x2707e0[_0x3e0c22(0x2c0)](_0x188fdf,_0x4c53e6),(/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x3e0c22(0x2ec)](_0x188fdf)||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4c53e6+_0x3e0c22(0x191),0x190,_0x3c1594['OQ']['VALIDATION_ERROR'])),_0x188fdf['length']>0xfe&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4c53e6+'\x20is\x20too\x20long\x20(max\x20254\x20characters)',0x190,_0x3c1594['OQ']['VALIDATION_ERROR'])),(_0x188fdf[_0x3e0c22(0x22a)]('..')||_0x188fdf[_0x3e0c22(0x2ee)]('.')||_0x188fdf[_0x3e0c22(0x2fb)]('.'))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4c53e6+_0x3e0c22(0x13a),0x190,_0x3c1594['OQ'][_0x3e0c22(0x2a3)])),!0x0);}static['validateCPF'](_0x1d9517,_0x483b0b=_0x289feb(0x15f)){const _0x34d52d=_0x289feb;_0x2707e0['isString'](_0x1d9517,_0x483b0b);const _0x225aa3=_0x1d9517['replace'](/\D/g,'');0xb!==_0x225aa3[_0x34d52d(0x15a)]&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x483b0b+_0x34d52d(0x2bd),0x190,_0x3c1594['OQ'][_0x34d52d(0x2a3)])),/^(\d)\1{10}$/[_0x34d52d(0x2ec)](_0x225aa3)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x483b0b+_0x34d52d(0x295),0x190,_0x3c1594['OQ'][_0x34d52d(0x2a3)]));let _0x648c03=0x0;for(let _0x50274b=0x0;_0x50274b<0x9;_0x50274b++)_0x648c03+=parseInt(_0x225aa3[_0x34d52d(0x28b)](_0x50274b))*(0xa-_0x50274b);let _0x72e16e=0xa*_0x648c03%0xb;0xa!==_0x72e16e&&0xb!==_0x72e16e||(_0x72e16e=0x0),_0x72e16e!==parseInt(_0x225aa3[_0x34d52d(0x28b)](0x9))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x483b0b+'\x20is\x20invalid',0x190,_0x3c1594['OQ'][_0x34d52d(0x2a3)])),_0x648c03=0x0;for(let _0x5c8925=0x0;_0x5c8925<0xa;_0x5c8925++)_0x648c03+=parseInt(_0x225aa3[_0x34d52d(0x28b)](_0x5c8925))*(0xb-_0x5c8925);return _0x72e16e=0xa*_0x648c03%0xb,0xa!==_0x72e16e&&0xb!==_0x72e16e||(_0x72e16e=0x0),_0x72e16e!==parseInt(_0x225aa3['charAt'](0xa))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x483b0b+_0x34d52d(0x172),0x190,_0x3c1594['OQ'][_0x34d52d(0x2a3)])),!0x0;}static['validateCNPJ'](_0x26806e,_0x31686a=_0x289feb(0x2df)){const _0x4f017f=_0x289feb;_0x2707e0[_0x4f017f(0x2c0)](_0x26806e,_0x31686a);const _0x2def8d=_0x26806e[_0x4f017f(0x305)](/\D/g,'');0xe!==_0x2def8d['length']&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x31686a+'\x20must\x20have\x20exactly\x2014\x20digits',0x190,_0x3c1594['OQ'][_0x4f017f(0x2a3)])),/^(\d)\1{13}$/[_0x4f017f(0x2ec)](_0x2def8d)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x31686a+_0x4f017f(0x295),0x190,_0x3c1594['OQ'][_0x4f017f(0x2a3)]));const _0x4cd59e=[0x5,0x4,0x3,0x2,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2],_0xda75cd=[0x6,0x5,0x4,0x3,0x2,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2];let _0x9fdb8a=0x0;for(let _0x431d40=0x0;_0x431d40<0xc;_0x431d40++)_0x9fdb8a+=parseInt(_0x2def8d[_0x4f017f(0x28b)](_0x431d40))*_0x4cd59e[_0x431d40];let _0x31d73d=_0x9fdb8a%0xb;(_0x31d73d<0x2?0x0:0xb-_0x31d73d)!==parseInt(_0x2def8d[_0x4f017f(0x28b)](0xc))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x31686a+_0x4f017f(0x172),0x190,_0x3c1594['OQ'][_0x4f017f(0x2a3)])),_0x9fdb8a=0x0;for(let _0x14f94c=0x0;_0x14f94c<0xd;_0x14f94c++)_0x9fdb8a+=parseInt(_0x2def8d[_0x4f017f(0x28b)](_0x14f94c))*_0xda75cd[_0x14f94c];return _0x31d73d=_0x9fdb8a%0xb,(_0x31d73d<0x2?0x0:0xb-_0x31d73d)!==parseInt(_0x2def8d[_0x4f017f(0x28b)](0xd))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x31686a+'\x20is\x20invalid',0x190,_0x3c1594['OQ'][_0x4f017f(0x2a3)])),!0x0;}static[_0x289feb(0x255)](_0x373a0c,_0x3a451b=_0x289feb(0x134)){const _0x2beb51=_0x289feb;return _0x2707e0[_0x2beb51(0x152)](_0x373a0c,_0x3a451b),_0x2707e0[_0x2beb51(0x2c0)](_0x373a0c[_0x2beb51(0x167)],_0x3a451b+'.type'),_0x2707e0[_0x2beb51(0x2c0)](_0x373a0c[_0x2beb51(0x16e)],_0x3a451b+_0x2beb51(0x2f9)),['CPF','CNPJ'][_0x2beb51(0x22a)](_0x373a0c[_0x2beb51(0x167)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x3a451b+_0x2beb51(0x15e),0x190,_0x3c1594['OQ'][_0x2beb51(0x2a3)])),/^\d+$/[_0x2beb51(0x2ec)](_0x373a0c[_0x2beb51(0x16e)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x3a451b+_0x2beb51(0x143),0x190,_0x3c1594['OQ'][_0x2beb51(0x2a3)])),_0x2beb51(0x15f)===_0x373a0c[_0x2beb51(0x167)]?_0x2707e0[_0x2beb51(0x2eb)](_0x373a0c[_0x2beb51(0x16e)],_0x3a451b+_0x2beb51(0x2f9)):_0x2707e0[_0x2beb51(0x188)](_0x373a0c['number'],_0x3a451b+_0x2beb51(0x2f9)),!0x0;}static['validatePhone'](_0x98a738,_0x920ac3='phone'){const _0x39ed70=_0x289feb;return _0x2707e0[_0x39ed70(0x152)](_0x98a738,_0x920ac3),_0x2707e0[_0x39ed70(0x2c0)](_0x98a738[_0x39ed70(0x175)],_0x920ac3+_0x39ed70(0x2af)),_0x2707e0[_0x39ed70(0x2c0)](_0x98a738['ddd'],_0x920ac3+_0x39ed70(0x21d)),_0x2707e0[_0x39ed70(0x2c0)](_0x98a738[_0x39ed70(0x16e)],_0x920ac3+_0x39ed70(0x2f9)),/^\+\d{1,4}$/[_0x39ed70(0x2ec)](_0x98a738[_0x39ed70(0x175)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x920ac3+_0x39ed70(0x2ab),0x190,_0x3c1594['OQ'][_0x39ed70(0x2a3)])),/^\d{2}$/[_0x39ed70(0x2ec)](_0x98a738[_0x39ed70(0x27d)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x920ac3+_0x39ed70(0x24c),0x190,_0x3c1594['OQ'][_0x39ed70(0x2a3)])),/^\d{8,9}$/['test'](_0x98a738[_0x39ed70(0x16e)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x920ac3+_0x39ed70(0x205),0x190,_0x3c1594['OQ'][_0x39ed70(0x2a3)])),_0x39ed70(0x2e0)!=typeof _0x98a738[_0x39ed70(0x1bf)]&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x920ac3+_0x39ed70(0x264),0x190,_0x3c1594['OQ'][_0x39ed70(0x2a3)])),!0x0;}static[_0x289feb(0x32e)](_0xa6129,_0x4d0334=_0x289feb(0x320)){const _0x139d95=_0x289feb;return _0x2707e0[_0x139d95(0x152)](_0xa6129,_0x4d0334),(['zipCode','street',_0x139d95(0x2f2),_0x139d95(0x218),'state',_0x139d95(0x16e)]['forEach'](_0x5d621e=>{const _0x44f7fa=_0x139d95;_0x2707e0[_0x44f7fa(0x2c0)](_0xa6129[_0x5d621e],_0x4d0334+'.'+_0x5d621e);}),_0xa6129['complement']&&_0x2707e0[_0x139d95(0x2c0)](_0xa6129[_0x139d95(0x279)],_0x4d0334+'.complement'),/^\d{8}$/['test'](_0xa6129[_0x139d95(0x315)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4d0334+_0x139d95(0x2b5),0x190,_0x3c1594['OQ'][_0x139d95(0x2a3)])),(_0xa6129[_0x139d95(0x29c)][_0x139d95(0x15a)]<0x3||_0xa6129[_0x139d95(0x29c)][_0x139d95(0x15a)]>0x64)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4d0334+'.street\x20must\x20be\x20between\x203\x20and\x20100\x20characters',0x190,_0x3c1594['OQ']['VALIDATION_ERROR'])),(_0xa6129['neighborhood']['length']<0x2||_0xa6129['neighborhood'][_0x139d95(0x15a)]>0x32)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4d0334+'.neighborhood\x20must\x20be\x20between\x202\x20and\x2050\x20characters',0x190,_0x3c1594['OQ'][_0x139d95(0x2a3)])),(_0xa6129[_0x139d95(0x218)]['length']<0x2||_0xa6129[_0x139d95(0x218)][_0x139d95(0x15a)]>0x32)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4d0334+'.city\x20must\x20be\x20between\x202\x20and\x2050\x20characters',0x190,_0x3c1594['OQ'][_0x139d95(0x2a3)]))),(['AC','AL','AP','AM','BA','CE','DF','ES','GO','MA','MT','MS','MG','PA','PB','PR','PE','PI','RJ','RN','RS','RO','RR','SC','SP','SE','TO']['includes'](_0xa6129['state'][_0x139d95(0x229)]())||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4d0334+'.state\x20must\x20be\x20a\x20valid\x20Brazilian\x20state\x20abbreviation',0x190,_0x3c1594['OQ'][_0x139d95(0x2a3)])),/^\d+[A-Za-z]?$/[_0x139d95(0x2ec)](_0xa6129[_0x139d95(0x16e)])||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x4d0334+_0x139d95(0x1e0),0x190,_0x3c1594['OQ'][_0x139d95(0x2a3)])),!0x0);}static[_0x289feb(0x325)](_0x415e49,_0x14861d=_0x289feb(0x15c)){const _0x1657c9=_0x289feb;return _0x2707e0[_0x1657c9(0x152)](_0x415e49,_0x14861d),_0x2707e0[_0x1657c9(0x2c0)](_0x415e49[_0x1657c9(0x287)],_0x14861d+'.name'),_0x2707e0['validateEmail'](_0x415e49[_0x1657c9(0x237)],_0x14861d+_0x1657c9(0x1a8)),_0x2707e0['validateLegalDocument'](_0x415e49[_0x1657c9(0x134)],_0x14861d+_0x1657c9(0x195)),_0x2707e0[_0x1657c9(0x16b)](_0x415e49[_0x1657c9(0x236)],_0x14861d+_0x1657c9(0x1f3)),(_0x415e49[_0x1657c9(0x287)][_0x1657c9(0x15a)]<0x2||_0x415e49[_0x1657c9(0x287)][_0x1657c9(0x15a)]>0x64)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x14861d+'.name\x20must\x20be\x20between\x202\x20and\x20100\x20characters',0x190,_0x3c1594['OQ']['VALIDATION_ERROR'])),_0x415e49['address']&&_0x2707e0['validateAddress'](_0x415e49[_0x1657c9(0x320)],_0x14861d+_0x1657c9(0x248)),_0x415e49[_0x1657c9(0x285)]&&_0x2707e0[_0x1657c9(0x32e)](_0x415e49[_0x1657c9(0x285)],_0x14861d+'.deliveryAddress'),!0x0;}static[_0x289feb(0x276)](_0x334f2d,_0x4724aa,_0x5bb684='pagination'){const _0xf4e56f=_0x289feb;return _0x2707e0[_0xf4e56f(0x2e7)](_0x334f2d,_0x5bb684+_0xf4e56f(0x23f)),_0x2707e0['isNumber'](_0x4724aa,_0x5bb684+_0xf4e56f(0x156)),_0x334f2d<0x1&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x5bb684+'.page\x20must\x20be\x20greater\x20than\x200',0x190,_0x3c1594['OQ']['VALIDATION_ERROR'])),(_0x4724aa<0x1||_0x4724aa>0x64)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x5bb684+'.limit\x20must\x20be\x20between\x201\x20and\x20100',0x190,_0x3c1594['OQ'][_0xf4e56f(0x2a3)])),!0x0;}static[_0x289feb(0x2a8)](_0x56a4d4,_0xad1097='businessId'){const _0x47b3b3=_0x289feb;return _0x2707e0[_0x47b3b3(0x2c0)](_0x56a4d4,_0xad1097),/^[a-zA-Z0-9-]{3,50}$/[_0x47b3b3(0x2ec)](_0x56a4d4)||(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0xad1097+_0x47b3b3(0x1ab),0x190,_0x3c1594['OQ'][_0x47b3b3(0x2a3)])),(_0x56a4d4['startsWith']('-')||_0x56a4d4[_0x47b3b3(0x2fb)]('-'))&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0xad1097+'\x20cannot\x20start\x20or\x20end\x20with\x20a\x20hyphen',0x190,_0x3c1594['OQ'][_0x47b3b3(0x2a3)])),_0x56a4d4[_0x47b3b3(0x22a)]('--')&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0xad1097+_0x47b3b3(0x253),0x190,_0x3c1594['OQ'][_0x47b3b3(0x2a3)])),!0x0;}static[_0x289feb(0x1b2)](_0x1ecc8a,_0x17aa95=_0x289feb(0x2c4)){const _0xaedc76=_0x289feb;return _0x2707e0[_0xaedc76(0x2c0)](_0x1ecc8a,_0x17aa95),_0x1ecc8a['length']<0x10&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x17aa95+_0xaedc76(0x185),0x190,_0x3c1594['OQ'][_0xaedc76(0x2a3)])),_0x1ecc8a['length']>0x800&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x17aa95+_0xaedc76(0x289),0x190,_0x3c1594['OQ'][_0xaedc76(0x2a3)])),/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/[_0xaedc76(0x2ec)](_0x1ecc8a)&&(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x17aa95+_0xaedc76(0x1a3),0x190,_0x3c1594['OQ'][_0xaedc76(0x2a3)])),!0x0;}static[_0x289feb(0x219)](_0x434722,_0x3359c7=_0x289feb(0x202)){const _0x44b562=_0x289feb;_0x2707e0[_0x44b562(0x2c0)](_0x434722,_0x3359c7);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x44b562(0x2ec)](_0x434722)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x44b562(0x2ec)](_0x434722)||/^[0-9a-f]{24}$/i[_0x44b562(0x2ec)](_0x434722))return!0x0;(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x3359c7+_0x44b562(0x14e),0x190,_0x3c1594['OQ']['VALIDATION_ERROR']));}static[_0x289feb(0x31d)](_0x4b0b76,_0x825bfb='offerId'){const _0x19e18c=_0x289feb;_0x2707e0[_0x19e18c(0x2c0)](_0x4b0b76,_0x825bfb);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i['test'](_0x4b0b76)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x19e18c(0x2ec)](_0x4b0b76)||/^[0-9a-f]{24}$/i[_0x19e18c(0x2ec)](_0x4b0b76))return!0x0;(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x825bfb+'\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId',0x190,_0x3c1594['OQ'][_0x19e18c(0x2a3)]));}static[_0x289feb(0x284)](_0xd3e6d8,_0x5b6825=_0x289feb(0x32d)){const _0x56e514=_0x289feb;_0x2707e0[_0x56e514(0x2c0)](_0xd3e6d8,_0x5b6825);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x56e514(0x2ec)](_0xd3e6d8)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x56e514(0x2ec)](_0xd3e6d8)||/^[0-9a-f]{24}$/i[_0x56e514(0x2ec)](_0xd3e6d8))return!0x0;(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x5b6825+'\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId',0x190,_0x3c1594['OQ'][_0x56e514(0x2a3)]));}static[_0x289feb(0x1dd)](_0x17e123,_0x5f16b7=_0x289feb(0x19a)){const _0x2c8c3d=_0x289feb;_0x2707e0[_0x2c8c3d(0x2c0)](_0x17e123,_0x5f16b7);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x2c8c3d(0x2ec)](_0x17e123)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x2c8c3d(0x2ec)](_0x17e123)||/^[0-9a-f]{24}$/i['test'](_0x17e123))return!0x0;(0x0,_0x11ee3c['S'])(new _0x3c1594['J7'](_0x5f16b7+_0x2c8c3d(0x14e),0x190,_0x3c1594['OQ'][_0x2c8c3d(0x2a3)]));}}_0x353a2f();}catch(_0x5511ab){_0x353a2f(_0x5511ab);}});},0x3b7:(_0x207d53,_0x37247a,_0x3349b8)=>{_0x3349b8['a'](_0x207d53,async(_0x17de44,_0x495bf6)=>{const _0xe72e39=a0_0x1def;try{_0x3349b8['d'](_0x37247a,{'F':()=>_0x45252c,'default':()=>_0x22ab8a,'u':()=>_0x74e54d['uq']});var _0x83874a=_0x3349b8(0x334),_0x13a588=_0x3349b8(0x125),_0x3a23ea=_0x3349b8(0x392),_0x5c9cc1=_0x3349b8(0x11e),_0x428446=_0x3349b8(0x300),_0x74e54d=_0x3349b8(0x1eb),_0x2f2fd0=_0x3349b8(0x18f),_0x5d652b=_0x3349b8(0x1ac),_0x4d254d=_0x3349b8(0x1d5),_0x1052f9=_0x3349b8(0x184),_0x44e8f2=_0x17de44([_0x83874a,_0x13a588,_0x3a23ea,_0x5c9cc1,_0x2f2fd0,_0x1052f9]);[_0x83874a,_0x13a588,_0x3a23ea,_0x5c9cc1,_0x2f2fd0,_0x1052f9]=_0x44e8f2[_0xe72e39(0x21f)]?(await _0x44e8f2)():_0x44e8f2;let _0x4d39d0=_0xe72e39(0x1e9);try{const _0x4c2acf=await Promise[_0xe72e39(0x290)]()['then'](_0x3349b8[_0xe72e39(0x14a)](_0x3349b8,0x1b3));_0x4d39d0=_0x4c2acf['SDK_VERSION'];}catch(_0x2ed703){try{if(_0xe72e39(0x20a)!=typeof process&&process['versions']&&process[_0xe72e39(0x1c5)]['node']){const _0x5d6e56=await _0x3349b8['e'](0xaf)['then'](_0x3349b8['t'][_0xe72e39(0x14a)](_0x3349b8,0xaf,0x13)),_0x554596=(await _0x3349b8['e'](0x1fb)[_0xe72e39(0x21f)](_0x3349b8['t'][_0xe72e39(0x14a)](_0x3349b8,0x1fb,0x13)))[_0xe72e39(0x132)](process[_0xe72e39(0x23e)](),_0xe72e39(0x32a)),_0x711010=JSON[_0xe72e39(0x1e5)](_0x5d6e56[_0xe72e39(0x247)](_0x554596,_0xe72e39(0x2aa)));_0x4d39d0=_0x711010[_0xe72e39(0x22b)];}}catch(_0x20b845){console['warn'](_0xe72e39(0x328),_0x4d39d0);}}class _0x45252c{static ['version']=_0x4d39d0;#e={};constructor(_0x2470e9){const _0x2448ba=_0xe72e39;if(this[_0x2448ba(0x1b4)]=new _0x5c9cc1['v$'](),this[_0x2448ba(0x318)]=new _0x428446['K'](_0x5c9cc1['sI'][_0x2448ba(0x220)]?_0x2448ba(0x2db):_0x2448ba(0x1a0)),this['config']='string'==typeof _0x2470e9?{'businessId':_0x2470e9}:{..._0x2470e9},!this[_0x2448ba(0x135)][_0x2448ba(0x1e6)])throw new _0x4d254d['Vx'](_0x2448ba(0x145));_0x3a23ea['D'][_0x2448ba(0x2a8)](this[_0x2448ba(0x135)][_0x2448ba(0x1e6)],_0x2448ba(0x1e6)),this[_0x2448ba(0x135)][_0x2448ba(0x1e6)]=_0x13a588['I']['sanitizeInput'](this[_0x2448ba(0x135)][_0x2448ba(0x1e6)]),this['logger'][_0x2448ba(0x1a0)]('EasyflowSDK\x20initialized\x20with\x20security\x20protections');}static['initializeForPlatform'](_0x4b3bc6){return(0x0,_0x1052f9['J_'])(_0x4b3bc6);}static[_0xe72e39(0x1d5)](_0x174e6a){return new _0x1052f9['UQ'](_0x174e6a);}['on'](_0x54c603,_0x2c12ce){this.#e[_0x54c603]||(this.#e[_0x54c603]=[]),this.#e[_0x54c603]['push'](_0x2c12ce);}[_0xe72e39(0x180)](_0x7f783,_0x5722e2){const _0x2342a4=_0xe72e39;if(this.#e[_0x7f783]){const _0x1badaf=this.#e[_0x7f783][_0x2342a4(0x23d)](_0x5722e2);_0x1badaf>-0x1&&this.#e[_0x7f783]['splice'](_0x1badaf,0x1);}}#t(_0x54a1cd,_0x46761b){const _0x2ef61c=_0xe72e39;this.#e[_0x54a1cd]&&this.#e[_0x54a1cd][_0x2ef61c(0x170)](_0x37319b=>{const _0x58e385=_0x2ef61c;try{_0x37319b(_0x46761b);}catch(_0x11d4a3){console[_0x58e385(0x2db)]('Error\x20in\x20event\x20listener\x20for\x20'+_0x54a1cd+':',_0x11d4a3);}});}async[_0xe72e39(0x2cc)](_0x5c1d28,_0x14dd2c={}){const _0x453eca=_0xe72e39;await this['rateLimiter']['checkLimit'](_0x453eca(0x2cc));const _0x18faa6=_0x13a588['I'][_0x453eca(0x131)](_0x5c1d28);if(!_0x18faa6)throw new _0x4d254d['yI']('Invalid\x20offer\x20ID');_0x3a23ea['D']['validateOfferId'](_0x18faa6,'offerId');try{const _0x45a65a=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x453eca(0x217)],{'offerId':_0x18faa6},_0x14dd2c);return _0x45a65a[_0x453eca(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x45a65a[_0x453eca(0x2db)])),_0x45a65a[_0x453eca(0x274)]||(0x0,_0x5d652b['S'])(new _0x4d254d['yI']('Offer\x20not\x20found')),_0x45a65a['data'];}catch(_0x4288d0){this['logger'][_0x453eca(0x2db)](_0x453eca(0x1da),{'offerId':_0x18faa6,'error':_0x4288d0['message']}),(0x0,_0x5d652b['S'])(_0x4288d0);}}async[_0xe72e39(0x2f7)](_0x36b73f,_0x328eb7,_0x2f7898={}){const _0x5a7c9d=_0xe72e39;await this[_0x5a7c9d(0x1b4)][_0x5a7c9d(0x2e3)](_0x5a7c9d(0x2f7));const _0x1b9b8e=_0x13a588['I'][_0x5a7c9d(0x131)](_0x36b73f);if(!_0x1b9b8e)throw new _0x4d254d['yI'](_0x5a7c9d(0x27e));_0x3a23ea['D'][_0x5a7c9d(0x31d)](_0x1b9b8e,_0x5a7c9d(0x27c)),_0x3a23ea['D']['validateOrderData'](_0x328eb7),_0x328eb7[_0x5a7c9d(0x164)]&&_0x3a23ea['D'][_0x5a7c9d(0x325)](_0x328eb7[_0x5a7c9d(0x164)],_0x5a7c9d(0x20d));const _0x4e0e18=(0x0,_0x13a588['Y'])(_0x328eb7);try{const _0x379fdb=(0x0,_0x2f2fd0['gx'])(_0x4e0e18),_0x187e6b=await this[_0x5a7c9d(0x2cc)](_0x1b9b8e,_0x2f7898);_0x187e6b?.[_0x5a7c9d(0x19e)]?.[0x0]?.['id']||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x5a7c9d(0x1e3)));const _0xd575e0={..._0x379fdb,'businessId':this[_0x5a7c9d(0x135)]['businessId'],'offerItems':[{'quantity':0x1,'offerItemId':_0x187e6b[_0x5a7c9d(0x19e)][0x0]['id']}]},_0x36a02b=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x5a7c9d(0x2de)],_0xd575e0,_0x2f7898);return _0x36a02b[_0x5a7c9d(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x36a02b['error'])),_0x36a02b[_0x5a7c9d(0x274)]?.[_0x5a7c9d(0x202)]||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x5a7c9d(0x2ae))),this.#t(_0x5a7c9d(0x31c),{'orderId':_0x36a02b[_0x5a7c9d(0x274)][_0x5a7c9d(0x202)],'offerId':_0x1b9b8e,'data':_0x379fdb}),_0x36a02b[_0x5a7c9d(0x274)][_0x5a7c9d(0x202)];}catch(_0x19e8ff){this[_0x5a7c9d(0x318)][_0x5a7c9d(0x2db)]('Failed\x20to\x20place\x20order',{'offerId':_0x1b9b8e,'error':_0x19e8ff[_0x5a7c9d(0x139)]}),(0x0,_0x5d652b['S'])(_0x19e8ff);}}async[_0xe72e39(0x2e2)](_0x529042,_0x578a8c={}){const _0x2c6e17=_0xe72e39;_0x3a23ea['D'][_0x2c6e17(0x219)](_0x529042,_0x2c6e17(0x202));const _0x4dd795=await(0x0,_0x83874a['U'])(_0x74e54d['dW']['GET_ORDER'],{'orderId':_0x529042},_0x578a8c);return _0x4dd795&&_0x4dd795['data']||null;}async['getBankBillet'](_0x1efec5,_0x525706={}){const _0xcfd11c=_0xe72e39;await this['rateLimiter']['checkLimit'](_0xcfd11c(0x1cc));const _0x55d64a=_0x13a588['I'][_0xcfd11c(0x131)](_0x1efec5);if(!_0x55d64a)throw new _0x4d254d['yI'](_0xcfd11c(0x24a));try{const _0x23ffb3=await this[_0xcfd11c(0x2e2)](_0x55d64a,_0x525706),_0xef08da=(0x0,_0x2f2fd0['wB'])(_0x23ffb3,_0x74e54d['uq'][_0xcfd11c(0x25e)],_0x2f2fd0['ns']);return _0xef08da?.[_0xcfd11c(0x1dc)]||null;}catch(_0x327cff){this[_0xcfd11c(0x318)][_0xcfd11c(0x2db)]('Failed\x20to\x20get\x20bank\x20billet',{'orderId':_0x55d64a,'error':_0x327cff[_0xcfd11c(0x139)]}),(0x0,_0x5d652b['S'])(_0x327cff);}}async[_0xe72e39(0x1a7)](_0x25c824,_0x2d82c8={}){const _0x2a1c99=_0xe72e39;await this[_0x2a1c99(0x1b4)][_0x2a1c99(0x2e3)]('charge'),_0x3a23ea['D']['validateOrderData'](_0x25c824),_0x3a23ea['D'][_0x2a1c99(0x261)](_0x25c824[_0x2a1c99(0x19e)]);const _0x119fd3=(0x0,_0x13a588['Y'])(_0x25c824);try{const _0x2df634=(0x0,_0x2f2fd0['gx'])(_0x119fd3),_0x3b4618=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x2a1c99(0x2c5)],{..._0x2df634,'businessId':this[_0x2a1c99(0x135)][_0x2a1c99(0x1e6)]},_0x2d82c8);return _0x3b4618[_0x2a1c99(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x3b4618[_0x2a1c99(0x2db)])),_0x3b4618[_0x2a1c99(0x274)]?.[_0x2a1c99(0x202)]||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x2a1c99(0x2ae))),this.#t(_0x2a1c99(0x2b8),{'orderId':_0x3b4618[_0x2a1c99(0x274)][_0x2a1c99(0x202)],'data':_0x2df634}),_0x3b4618[_0x2a1c99(0x274)][_0x2a1c99(0x202)];}catch(_0x5f443e){console[_0x2a1c99(0x149)](_0x2a1c99(0x1f2),_0x5f443e),this[_0x2a1c99(0x318)][_0x2a1c99(0x2db)](_0x2a1c99(0x244),{'error':_0x5f443e}),(0x0,_0x5d652b['S'])(_0x5f443e);}}async[_0xe72e39(0x292)](_0x187ff4,_0x5f2d2c={}){const _0x5eb477=_0xe72e39;await this[_0x5eb477(0x1b4)][_0x5eb477(0x2e3)]('encrypt'),_0x3a23ea['D'][_0x5eb477(0x2e4)](_0x187ff4);const _0x2fa49a=_0x13a588['I']['sanitizeCreditCard'](_0x187ff4);try{const _0x231909=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x5eb477(0x1b1)],_0x2fa49a,_0x5f2d2c);return _0x231909['error']&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x231909[_0x5eb477(0x2db)])),_0x231909[_0x5eb477(0x274)]?.[_0x5eb477(0x277)]||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr']('Invalid\x20response:\x20no\x20token\x20returned')),_0x231909[_0x5eb477(0x274)][_0x5eb477(0x277)];}catch(_0x41af78){throw this[_0x5eb477(0x318)][_0x5eb477(0x2db)](_0x5eb477(0x246),{'error':_0x41af78[_0x5eb477(0x139)]}),_0x41af78;}}async[_0xe72e39(0x136)](_0x2c8a07,_0x55d53f={}){const _0x24bd87=_0xe72e39;await this['rateLimiter']['checkLimit'](_0x24bd87(0x136));const _0x18bcce=_0x13a588['I'][_0x24bd87(0x131)](_0x2c8a07);if(!_0x18bcce)throw new _0x4d254d['yI'](_0x24bd87(0x24a));try{const _0xa134d0=await this[_0x24bd87(0x2e2)](_0x18bcce,_0x55d53f),_0x143a34=(0x0,_0x2f2fd0['wB'])(_0xa134d0,_0x74e54d['uq'][_0x24bd87(0x13d)],_0x2f2fd0['gB']);return _0x143a34?.[_0x24bd87(0x31e)]||null;}catch(_0x564ad7){throw this[_0x24bd87(0x318)][_0x24bd87(0x2db)](_0x24bd87(0x1fc),{'orderId':_0x18bcce,'error':_0x564ad7[_0x24bd87(0x139)]}),_0x564ad7;}}async[_0xe72e39(0x1eb)](_0x2a2208,_0x33836e={}){const _0x2d56bb=_0xe72e39;await this['rateLimiter']['checkLimit'](_0x2d56bb(0x1eb)),_0x2a2208&&_0x2d56bb(0x309)==typeof _0x2a2208||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x2d56bb(0x214))),_0x3a23ea['D'][_0x2d56bb(0x325)](_0x2a2208,_0x2d56bb(0x15c));const _0x36a7c3={..._0x13a588['I'][_0x2d56bb(0x131)](_0x2a2208),'businessId':this[_0x2d56bb(0x135)][_0x2d56bb(0x1e6)]};try{const _0x9f5716=await(0x0,_0x83874a['U'])(_0x74e54d['dW']['CREATE_CUSTOMER'],_0x36a7c3,_0x33836e);return _0x9f5716[_0x2d56bb(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x9f5716[_0x2d56bb(0x2db)])),_0x9f5716[_0x2d56bb(0x274)]||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x2d56bb(0x201))),this.#t('customerCreated',_0x9f5716[_0x2d56bb(0x274)]),_0x9f5716[_0x2d56bb(0x274)]&&_0x9f5716['data'][_0x2d56bb(0x15c)];}catch(_0xf66954){this[_0x2d56bb(0x318)][_0x2d56bb(0x2db)](_0x2d56bb(0x17c),{'error':_0xf66954[_0x2d56bb(0x139)]}),(0x0,_0x5d652b['S'])(_0xf66954);}}async[_0xe72e39(0x20e)](_0xe3d6c7,_0x1cac42={}){const _0x3f6dfb=_0xe72e39;await this[_0x3f6dfb(0x1b4)][_0x3f6dfb(0x2e3)](_0x3f6dfb(0x20e));const _0x4e2497=_0x13a588['I'][_0x3f6dfb(0x131)](_0xe3d6c7);_0x4e2497||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x3f6dfb(0x26e))),_0x3a23ea['D'][_0x3f6dfb(0x284)](_0x4e2497,_0x3f6dfb(0x32d));try{const _0x446b96=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x3f6dfb(0x2b3)],{'customerId':_0x4e2497,'businessId':this[_0x3f6dfb(0x135)][_0x3f6dfb(0x1e6)]},_0x1cac42);return _0x446b96['error']&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x446b96[_0x3f6dfb(0x2db)])),_0x446b96['data']||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x3f6dfb(0x19b))),_0x446b96['data']&&_0x446b96['data']['customer'];}catch(_0x5965db){this[_0x3f6dfb(0x318)][_0x3f6dfb(0x2db)](_0x3f6dfb(0x1f5),{'customerId':_0x4e2497,'error':_0x5965db[_0x3f6dfb(0x139)]}),(0x0,_0x5d652b['S'])(_0x5965db);}}async[_0xe72e39(0x2c1)](_0x322426,_0x31493a,_0x998e3d={}){const _0x5c73f9=_0xe72e39;await this[_0x5c73f9(0x1b4)]['checkLimit'](_0x5c73f9(0x2c1));const _0x497bc1=_0x13a588['I'][_0x5c73f9(0x131)](_0x322426);_0x497bc1||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x5c73f9(0x26e))),_0x31493a&&_0x5c73f9(0x309)==typeof _0x31493a||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x5c73f9(0x30d)));const _0x42b1ca=_0x13a588['I'][_0x5c73f9(0x131)](_0x31493a),_0x30fb9d={'customerId':_0x497bc1,'businessId':this[_0x5c73f9(0x135)]['businessId'],..._0x42b1ca};try{const _0x54f14d=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x5c73f9(0x321)],_0x30fb9d,_0x998e3d);return _0x54f14d[_0x5c73f9(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x54f14d[_0x5c73f9(0x2db)])),_0x54f14d[_0x5c73f9(0x274)]||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x5c73f9(0x251))),_0x54f14d[_0x5c73f9(0x274)];}catch(_0xda3a60){this[_0x5c73f9(0x318)][_0x5c73f9(0x2db)](_0x5c73f9(0x28a),{'customerId':_0x497bc1,'error':_0xda3a60[_0x5c73f9(0x139)]}),(0x0,_0x5d652b['S'])(_0xda3a60);}}async[_0xe72e39(0x227)](_0x593ec8,_0x5103b8,_0x4143f9={}){const _0x402d84=_0xe72e39;await this['rateLimiter'][_0x402d84(0x2e3)](_0x402d84(0x227));const _0x19b655=_0x13a588['I']['sanitizeInput'](_0x593ec8),_0x4990fa=_0x13a588['I'][_0x402d84(0x131)](_0x5103b8);_0x19b655||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x402d84(0x26e))),_0x4990fa||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x402d84(0x1e7))),_0x3a23ea['D']['validateCustomerId'](_0x19b655,'customerId'),_0x3a23ea['D'][_0x402d84(0x1b2)](_0x4990fa,_0x402d84(0x2c4));const _0x18fbec={'customerId':_0x19b655,'businessId':this['config'][_0x402d84(0x1e6)],'creditCardToken':_0x4990fa};try{const _0x9c75a9=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x402d84(0x2ed)],_0x18fbec,_0x4143f9);return _0x9c75a9[_0x402d84(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x9c75a9[_0x402d84(0x2db)])),_0x9c75a9[_0x402d84(0x274)]?.[_0x402d84(0x2d3)]?.['id']||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr']('Invalid\x20response:\x20no\x20credit\x20card\x20ID\x20returned')),_0x9c75a9[_0x402d84(0x274)]&&_0x9c75a9[_0x402d84(0x274)][_0x402d84(0x2d3)];}catch(_0x1bb36f){this[_0x402d84(0x318)]['error']('Failed\x20to\x20add\x20credit\x20card',{'customerId':_0x19b655,'error':_0x1bb36f[_0x402d84(0x139)]}),(0x0,_0x5d652b['S'])(_0x1bb36f);}}async[_0xe72e39(0x1d3)](_0x35b5a1,_0x462109,_0x1c1e24={}){const _0x302532=_0xe72e39;await this['rateLimiter'][_0x302532(0x2e3)](_0x302532(0x1d3));const _0x2e63ab=_0x13a588['I'][_0x302532(0x131)](_0x35b5a1),_0x364e97=_0x13a588['I'][_0x302532(0x131)](_0x462109);_0x2e63ab||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x302532(0x26e))),_0x364e97||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x302532(0x21e)));const _0x892df2={'customerId':_0x2e63ab,'businessId':this[_0x302532(0x135)][_0x302532(0x1e6)],'creditCardId':_0x364e97};try{const _0x466725=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x302532(0x2d0)],_0x892df2,_0x1c1e24);return _0x466725['error']&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x466725['error'])),_0x466725[_0x302532(0x274)]||(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x302532(0x19c))),_0x466725[_0x302532(0x274)];}catch(_0x11f1ae){this[_0x302532(0x318)]['error'](_0x302532(0x183),{'customerId':_0x2e63ab,'creditCardId':_0x364e97,'error':_0x11f1ae['message']}),(0x0,_0x5d652b['S'])(_0x11f1ae);}}async[_0xe72e39(0x2cd)](_0x11069e,_0x57be80,_0x481c07={}){const _0x5f5632=_0xe72e39;await this[_0x5f5632(0x1b4)]['checkLimit'](_0x5f5632(0x2cd));const _0x2b012c=_0x13a588['I']['sanitizeInput'](_0x11069e),_0x1d71a4=_0x13a588['I']['sanitizeInput'](_0x57be80);_0x2b012c||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x5f5632(0x26e))),_0x1d71a4||(0x0,_0x5d652b['S'])(new _0x4d254d['yI']('Invalid\x20credit\x20card\x20ID'));const _0x1ff721={'customerId':_0x2b012c,'businessId':this[_0x5f5632(0x135)]['businessId'],'creditCardId':_0x1d71a4};try{const _0x439edc=await(0x0,_0x83874a['U'])(_0x74e54d['dW'][_0x5f5632(0x2e1)],_0x1ff721,_0x481c07);return _0x439edc[_0x5f5632(0x2db)]&&(0x0,_0x5d652b['S'])(new _0x4d254d['Dr'](_0x439edc[_0x5f5632(0x2db)])),_0x439edc[_0x5f5632(0x274)]||(0x0,_0x5d652b['S'])(new _0x4d254d['yI'](_0x5f5632(0x17d))),_0x439edc[_0x5f5632(0x274)]&&_0x439edc[_0x5f5632(0x274)][_0x5f5632(0x2d3)];}catch(_0xe69502){this[_0x5f5632(0x318)][_0x5f5632(0x2db)](_0x5f5632(0x286),{'customerId':_0x2b012c,'creditCardId':_0x1d71a4,'error':_0xe69502['message']}),(0x0,_0x5d652b['S'])(_0xe69502);}}}if(_0xe72e39(0x20a)!=typeof window)try{window[_0xe72e39(0x1af)]=_0x45252c,window[_0xe72e39(0x1c6)]={'configure':_0x4b8f66=>{const _0x5e0b7b=_0xe72e39;if(!_0x4b8f66[_0x5e0b7b(0x1e6)])throw new Error(_0x5e0b7b(0x1d9));const _0x47655d=new _0x45252c(_0x4b8f66);return Object[_0x5e0b7b(0x2f8)](window['easyflowSDK'])['forEach'](_0x14188f=>{const _0x365e0e=_0x5e0b7b;_0x365e0e(0x19d)!==_0x14188f&&_0x365e0e(0x22b)!==_0x14188f&&_0x365e0e(0x211)!==_0x14188f&&_0x365e0e(0x32c)!==_0x14188f&&_0x365e0e(0x13e)==typeof window[_0x365e0e(0x1c6)][_0x14188f]&&(window['easyflowSDK'][_0x14188f]=(..._0x4013c1)=>_0x47655d[_0x14188f](..._0x4013c1));}),console['log'](_0x5e0b7b(0x2d6),_0x4b8f66[_0x5e0b7b(0x1e6)]),!0x0;},'on':(_0x2c5006,_0x2cb736)=>{const _0x10c3b1=_0xe72e39;throw new Error(_0x10c3b1(0x15d));},'off':(_0x2d1d54,_0x548790)=>{const _0x566835=_0xe72e39;throw new Error(_0x566835(0x15d));},'createCustomer':_0x2ee1d6=>{throw new Error('Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first');},'getCustomer':_0x3337ed=>{throw new Error('Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first');},'updateCustomer':(_0x283ebc,_0x45e0b0)=>{const _0x1cff96=_0xe72e39;throw new Error(_0x1cff96(0x15d));},'placeOrder':(_0x3ab483,_0x469dbc)=>{const _0x264c66=_0xe72e39;throw new Error(_0x264c66(0x15d));},'charge':_0x230a22=>{const _0x9e13ac=_0xe72e39;throw new Error(_0x9e13ac(0x15d));},'validate':{'email':_0x41c49f=>_0x3a23ea['D'][_0xe72e39(0x196)](_0x41c49f),'cpf':_0x180c06=>_0x3a23ea['D'][_0xe72e39(0x2eb)](_0x180c06),'cnpj':_0xb61895=>_0x3a23ea['D'][_0xe72e39(0x188)](_0xb61895),'phone':_0x503aaf=>_0x3a23ea['D'][_0xe72e39(0x16b)](_0x503aaf),'address':_0x36a902=>_0x3a23ea['D']['validateAddress'](_0x36a902)},'encrypt':_0x48f3ae=>{const _0x48f3a2=_0xe72e39;throw new Error(_0x48f3a2(0x15d));},'getOffer':_0x430ad3=>{const _0x1d60e9=_0xe72e39;throw new Error(_0x1d60e9(0x15d));},'getOrder':_0x1c64c7=>{const _0x4eedee=_0xe72e39;throw new Error(_0x4eedee(0x15d));},'getPix':_0x56dfd=>{const _0x1f99f6=_0xe72e39;throw new Error(_0x1f99f6(0x15d));},'getBankBillet':_0x6d5325=>{const _0x4511e9=_0xe72e39;throw new Error(_0x4511e9(0x15d));},'addCreditCard':(_0xf7d648,_0x490c80)=>{const _0x257720=_0xe72e39;throw new Error(_0x257720(0x15d));},'removeCreditCard':(_0x596b4b,_0x3517c0)=>{const _0x18db60=_0xe72e39;throw new Error(_0x18db60(0x15d));},'getCreditCard':(_0x188ccc,_0x5b025e)=>{const _0x2df7f4=_0xe72e39;throw new Error(_0x2df7f4(0x15d));},'version':_0x45252c[_0xe72e39(0x22b)],'PAYMENT_METHODS':_0x74e54d['uq']},console[_0xe72e39(0x149)](_0xe72e39(0x1a5)+_0x4d39d0);}catch(_0x35ce18){console[_0xe72e39(0x2db)]('Security\x20violation\x20detected:',_0x35ce18['message']);}const _0x22ab8a=_0x45252c;_0x495bf6();}catch(_0x213b7e){_0x495bf6(_0x213b7e);}},0x1);},0x1b3:(_0x52e1a4,_0xacdb09,_0x55169a)=>{const _0x3bd3cd=a0_0x1def;_0x55169a['r'](_0xacdb09),_0x55169a['d'](_0xacdb09,{'SDK_VERSION':()=>_0x217a3b});const _0x217a3b=_0x3bd3cd(0x1e9);}},_0x2133e0={};function _0x3e4323(_0x117d9e){const _0x14d157=a0_0x1def;var _0x3e0800=_0x2133e0[_0x117d9e];if(void 0x0!==_0x3e0800)return _0x3e0800[_0x14d157(0x153)];var _0xf59f7f=_0x2133e0[_0x117d9e]={'exports':{}};return _0x48d37e[_0x117d9e](_0xf59f7f,_0xf59f7f['exports'],_0x3e4323),_0xf59f7f[_0x14d157(0x153)];}_0x3e4323['m']=_0x48d37e,_0x3a16c7=_0x3d4727(0x13e)==typeof Symbol?Symbol(_0x3d4727(0x18f)):_0x3d4727(0x2d2),_0x322e4f=_0x3d4727(0x13e)==typeof Symbol?Symbol(_0x3d4727(0x14b)):_0x3d4727(0x306),_0x239dbb=_0x3d4727(0x13e)==typeof Symbol?Symbol(_0x3d4727(0x17a)):'__webpack_error__',_0x47b0b5=_0x9d9d7e=>{const _0x325a00=_0x3d4727;_0x9d9d7e&&_0x9d9d7e['d']<0x1&&(_0x9d9d7e['d']=0x1,_0x9d9d7e[_0x325a00(0x170)](_0x173afb=>_0x173afb['r']--),_0x9d9d7e[_0x325a00(0x170)](_0x238252=>_0x238252['r']--?_0x238252['r']++:_0x238252()));},_0x3e4323['a']=(_0x47322f,_0x10646f,_0x5b5a4d)=>{const _0xc6bd01=_0x3d4727;var _0x45368f;_0x5b5a4d&&((_0x45368f=[])['d']=-0x1);var _0x422e9e,_0x277972,_0x47bc30,_0x4312ff=new Set(),_0xb340d0=_0x47322f[_0xc6bd01(0x153)],_0x4fe558=new Promise((_0x3685c2,_0x2e500e)=>{_0x47bc30=_0x2e500e,_0x277972=_0x3685c2;});_0x4fe558[_0x322e4f]=_0xb340d0,_0x4fe558[_0x3a16c7]=_0x328e82=>(_0x45368f&&_0x328e82(_0x45368f),_0x4312ff['forEach'](_0x328e82),_0x4fe558[_0xc6bd01(0x26b)](_0x2459b1=>{})),_0x47322f[_0xc6bd01(0x153)]=_0x4fe558,_0x10646f(_0x532b3c=>{const _0x192c9e=_0xc6bd01;var _0x4f91e5;_0x422e9e=(_0x12a66d=>_0x12a66d['map'](_0x307eaf=>{const _0x6440f1=a0_0x1def;if(null!==_0x307eaf&&_0x6440f1(0x309)==typeof _0x307eaf){if(_0x307eaf[_0x3a16c7])return _0x307eaf;if(_0x307eaf[_0x6440f1(0x21f)]){var _0x12447d=[];_0x12447d['d']=0x0,_0x307eaf[_0x6440f1(0x21f)](_0x12fff3=>{_0x40bcf3[_0x322e4f]=_0x12fff3,_0x47b0b5(_0x12447d);},_0xe151a3=>{_0x40bcf3[_0x239dbb]=_0xe151a3,_0x47b0b5(_0x12447d);});var _0x40bcf3={};return _0x40bcf3[_0x3a16c7]=_0x4deddb=>_0x4deddb(_0x12447d),_0x40bcf3;}}var _0x147fe5={};return _0x147fe5[_0x3a16c7]=_0x60c509=>{},_0x147fe5[_0x322e4f]=_0x307eaf,_0x147fe5;}))(_0x532b3c);var _0x485d68=()=>_0x422e9e[_0x192c9e(0x1a9)](_0x5e476b=>{if(_0x5e476b[_0x239dbb])throw _0x5e476b[_0x239dbb];return _0x5e476b[_0x322e4f];}),_0x1a5b5f=new Promise(_0xf05b36=>{const _0xf59086=_0x192c9e;(_0x4f91e5=()=>_0xf05b36(_0x485d68))['r']=0x0;var _0x551403=_0xe924cd=>_0xe924cd!==_0x45368f&&!_0x4312ff[_0xf59086(0x2dd)](_0xe924cd)&&(_0x4312ff[_0xf59086(0x2a1)](_0xe924cd),_0xe924cd&&!_0xe924cd['d']&&(_0x4f91e5['r']++,_0xe924cd[_0xf59086(0x27a)](_0x4f91e5)));_0x422e9e[_0xf59086(0x1a9)](_0x37a696=>_0x37a696[_0x3a16c7](_0x551403));});return _0x4f91e5['r']?_0x1a5b5f:_0x485d68();},_0x1f4a1d=>(_0x1f4a1d?_0x47bc30(_0x4fe558[_0x239dbb]=_0x1f4a1d):_0x277972(_0xb340d0),_0x47b0b5(_0x45368f))),_0x45368f&&_0x45368f['d']<0x0&&(_0x45368f['d']=0x0);},_0x297770=Object[_0x3d4727(0x179)]?_0x513357=>Object[_0x3d4727(0x179)](_0x513357):_0x2e468d=>_0x2e468d[_0x3d4727(0x14c)],_0x3e4323['t']=function(_0x2b3d6b,_0x5df85e){const _0x295ccc=_0x3d4727;if(0x1&_0x5df85e&&(_0x2b3d6b=this(_0x2b3d6b)),0x8&_0x5df85e)return _0x2b3d6b;if(_0x295ccc(0x309)==typeof _0x2b3d6b&&_0x2b3d6b){if(0x4&_0x5df85e&&_0x2b3d6b[_0x295ccc(0x189)])return _0x2b3d6b;if(0x10&_0x5df85e&&'function'==typeof _0x2b3d6b[_0x295ccc(0x21f)])return _0x2b3d6b;}var _0x39855d=Object[_0x295ccc(0x162)](null);_0x3e4323['r'](_0x39855d);var _0xa2554b={};_0x11fdef=_0x11fdef||[null,_0x297770({}),_0x297770([]),_0x297770(_0x297770)];for(var _0x11bfc1=0x2&_0x5df85e&&_0x2b3d6b;_0x295ccc(0x309)==typeof _0x11bfc1&&!~_0x11fdef[_0x295ccc(0x23d)](_0x11bfc1);_0x11bfc1=_0x297770(_0x11bfc1))Object[_0x295ccc(0x2ac)](_0x11bfc1)[_0x295ccc(0x170)](_0x131acf=>_0xa2554b[_0x131acf]=()=>_0x2b3d6b[_0x131acf]);return _0xa2554b[_0x295ccc(0x2c8)]=()=>_0x2b3d6b,_0x3e4323['d'](_0x39855d,_0xa2554b),_0x39855d;},_0x3e4323['d']=(_0x41fc4e,_0x1cd8a9)=>{const _0x107228=_0x3d4727;for(var _0x57e41f in _0x1cd8a9)_0x3e4323['o'](_0x1cd8a9,_0x57e41f)&&!_0x3e4323['o'](_0x41fc4e,_0x57e41f)&&Object[_0x107228(0x28e)](_0x41fc4e,_0x57e41f,{'enumerable':!0x0,'get':_0x1cd8a9[_0x57e41f]});},_0x3e4323['f']={},_0x3e4323['e']=_0x173e21=>Promise[_0x3d4727(0x17f)](Object[_0x3d4727(0x2f8)](_0x3e4323['f'])[_0x3d4727(0x1ce)]((_0x2fc5f5,_0x316f61)=>(_0x3e4323['f'][_0x316f61](_0x173e21,_0x2fc5f5),_0x2fc5f5),[])),_0x3e4323['u']=_0x57dfcf=>_0x57dfcf+_0x3d4727(0x281),_0x3e4323['g']=(function(){const _0x4b39ad=_0x3d4727;if(_0x4b39ad(0x309)==typeof globalThis)return globalThis;try{return this||new Function('return\x20this')();}catch(_0x5553f7){if(_0x4b39ad(0x309)==typeof window)return window;}}()),_0x3e4323['o']=(_0xa2c690,_0x251bdf)=>Object[_0x3d4727(0x26f)][_0x3d4727(0x235)][_0x3d4727(0x2ad)](_0xa2c690,_0x251bdf),_0x45604a={},_0x12bc56=_0x3d4727(0x12e),_0x3e4323['l']=(_0x58f058,_0x5af2da,_0x3d9835,_0x15edbc)=>{const _0x46764d=_0x3d4727;if(_0x45604a[_0x58f058])_0x45604a[_0x58f058][_0x46764d(0x27a)](_0x5af2da);else{var _0xbaad35,_0x4d2f13;if(void 0x0!==_0x3d9835)for(var _0x47097d=document[_0x46764d(0x1db)]('script'),_0x40b702=0x0;_0x40b702<_0x47097d['length'];_0x40b702++){var _0x428f1e=_0x47097d[_0x40b702];if(_0x428f1e[_0x46764d(0x13f)]('src')==_0x58f058||_0x428f1e['getAttribute'](_0x46764d(0x268))==_0x12bc56+_0x3d9835){_0xbaad35=_0x428f1e;break;}}_0xbaad35||(_0x4d2f13=!0x0,(_0xbaad35=document[_0x46764d(0x206)](_0x46764d(0x1d6)))[_0x46764d(0x2f6)]='utf-8',_0xbaad35[_0x46764d(0x243)]=0x78,_0x3e4323['nc']&&_0xbaad35[_0x46764d(0x2a0)](_0x46764d(0x155),_0x3e4323['nc']),_0xbaad35[_0x46764d(0x2a0)]('data-webpack',_0x12bc56+_0x3d9835),_0xbaad35[_0x46764d(0x23c)]=_0x58f058),_0x45604a[_0x58f058]=[_0x5af2da];var _0x31f9eb=(_0xf8d9dd,_0x1917eb)=>{const _0x528a0d=_0x46764d;_0xbaad35[_0x528a0d(0x2b7)]=_0xbaad35['onload']=null,clearTimeout(_0x479833);var _0x3f843f=_0x45604a[_0x58f058];if(delete _0x45604a[_0x58f058],_0xbaad35[_0x528a0d(0x2c9)]&&_0xbaad35[_0x528a0d(0x2c9)]['removeChild'](_0xbaad35),_0x3f843f&&_0x3f843f[_0x528a0d(0x170)](_0x393229=>_0x393229(_0x1917eb)),_0xf8d9dd)return _0xf8d9dd(_0x1917eb);},_0x479833=setTimeout(_0x31f9eb[_0x46764d(0x14a)](null,void 0x0,{'type':'timeout','target':_0xbaad35}),0x1d4c0);_0xbaad35[_0x46764d(0x2b7)]=_0x31f9eb[_0x46764d(0x14a)](null,_0xbaad35[_0x46764d(0x2b7)]),_0xbaad35[_0x46764d(0x2ba)]=_0x31f9eb['bind'](null,_0xbaad35[_0x46764d(0x2ba)]),_0x4d2f13&&document[_0x46764d(0x2c7)]['appendChild'](_0xbaad35);}},_0x3e4323['r']=_0x5c29f7=>{const _0x206c01=_0x3d4727;_0x206c01(0x20a)!=typeof Symbol&&Symbol['toStringTag']&&Object['defineProperty'](_0x5c29f7,Symbol[_0x206c01(0x29b)],{'value':_0x206c01(0x142)}),Object['defineProperty'](_0x5c29f7,_0x206c01(0x189),{'value':!0x0});},((()=>{const _0x1060f2=_0x3d4727;var _0x120113;_0x3e4323['g']['importScripts']&&(_0x120113=_0x3e4323['g'][_0x1060f2(0x14d)]+'');var _0x42d500=_0x3e4323['g'][_0x1060f2(0x134)];if(!_0x120113&&_0x42d500&&(_0x42d500[_0x1060f2(0x21c)]&&'SCRIPT'===_0x42d500[_0x1060f2(0x21c)]['tagName'][_0x1060f2(0x229)]()&&(_0x120113=_0x42d500[_0x1060f2(0x21c)]['src']),!_0x120113)){var _0xfd541a=_0x42d500[_0x1060f2(0x1db)](_0x1060f2(0x1d6));if(_0xfd541a[_0x1060f2(0x15a)]){for(var _0x57e545=_0xfd541a[_0x1060f2(0x15a)]-0x1;_0x57e545>-0x1&&(!_0x120113||!/^http(s?):/[_0x1060f2(0x2ec)](_0x120113));)_0x120113=_0xfd541a[_0x57e545--][_0x1060f2(0x23c)];}}if(!_0x120113)throw new Error(_0x1060f2(0x200));_0x120113=_0x120113['replace'](/#.*$/,'')[_0x1060f2(0x305)](/\?.*$/,'')[_0x1060f2(0x305)](/\/[^\/]+$/,'/'),_0x3e4323['p']=_0x120113;})()),((()=>{const _0x9f5c1e=_0x3d4727;var _0x112343={0x318:0x0};_0x3e4323['f']['j']=(_0x100757,_0x1cd84e)=>{const _0x1478ba=a0_0x1def;var _0x2d6a1e=_0x3e4323['o'](_0x112343,_0x100757)?_0x112343[_0x100757]:void 0x0;if(0x0!==_0x2d6a1e){if(_0x2d6a1e)_0x1cd84e[_0x1478ba(0x27a)](_0x2d6a1e[0x2]);else{var _0xb124e4=new Promise((_0x3c0dad,_0x294f1f)=>_0x2d6a1e=_0x112343[_0x100757]=[_0x3c0dad,_0x294f1f]);_0x1cd84e['push'](_0x2d6a1e[0x2]=_0xb124e4);var _0x2c1315=_0x3e4323['p']+_0x3e4323['u'](_0x100757),_0x37ca29=new Error();_0x3e4323['l'](_0x2c1315,_0x1c7418=>{const _0x1028e0=_0x1478ba;if(_0x3e4323['o'](_0x112343,_0x100757)&&(0x0!==(_0x2d6a1e=_0x112343[_0x100757])&&(_0x112343[_0x100757]=void 0x0),_0x2d6a1e)){var _0x4366fc=_0x1c7418&&(_0x1028e0(0x1c9)===_0x1c7418[_0x1028e0(0x167)]?_0x1028e0(0x250):_0x1c7418[_0x1028e0(0x167)]),_0x103db7=_0x1c7418&&_0x1c7418[_0x1028e0(0x224)]&&_0x1c7418[_0x1028e0(0x224)][_0x1028e0(0x23c)];_0x37ca29[_0x1028e0(0x139)]='Loading\x20chunk\x20'+_0x100757+_0x1028e0(0x1d7)+_0x4366fc+':\x20'+_0x103db7+')',_0x37ca29[_0x1028e0(0x287)]=_0x1028e0(0x18d),_0x37ca29[_0x1028e0(0x167)]=_0x4366fc,_0x37ca29[_0x1028e0(0x316)]=_0x103db7,_0x2d6a1e[0x1](_0x37ca29);}},_0x1478ba(0x2a2)+_0x100757,_0x100757);}}};var _0x5f00d0=(_0xa80087,_0x1dcef6)=>{const _0x4463d6=a0_0x1def;var _0x5401de,_0x4a6656,[_0xe1277c,_0xca1d06,_0x30f628]=_0x1dcef6,_0x334c52=0x0;if(_0xe1277c['some'](_0x2543b5=>0x0!==_0x112343[_0x2543b5])){for(_0x5401de in _0xca1d06)_0x3e4323['o'](_0xca1d06,_0x5401de)&&(_0x3e4323['m'][_0x5401de]=_0xca1d06[_0x5401de]);if(_0x30f628)_0x30f628(_0x3e4323);}for(_0xa80087&&_0xa80087(_0x1dcef6);_0x334c52<_0xe1277c[_0x4463d6(0x15a)];_0x334c52++)_0x4a6656=_0xe1277c[_0x334c52],_0x3e4323['o'](_0x112343,_0x4a6656)&&_0x112343[_0x4a6656]&&_0x112343[_0x4a6656][0x0](),_0x112343[_0x4a6656]=0x0;},_0x26475f=this[_0x9f5c1e(0x256)]=this[_0x9f5c1e(0x256)]||[];_0x26475f[_0x9f5c1e(0x170)](_0x5f00d0['bind'](null,0x0)),_0x26475f[_0x9f5c1e(0x27a)]=_0x5f00d0['bind'](null,_0x26475f[_0x9f5c1e(0x27a)][_0x9f5c1e(0x14a)](_0x26475f));})());var _0x3f94a6=_0x3e4323(0x3b7);return _0x3f94a6=_0x3f94a6['default'];})())));
1
+ function a0_0x44e2(){const _0x267281=['buyer.document','bank-billet','validateEmail','[EasyflowSDK:','x-forwarded-scheme','address','.number\x20must\x20be\x20a\x20valid\x20street\x20number','validateOrderData','cartId','MΓ©todo\x20\x22','.easyflow-sdk.min.js','VERSION','readPixels','x-forwarded-proto-version','Failed\x20to\x20get\x20offer','877996wAImXs','level','data.payments','utf8','isInteger','find','Failed\x20to\x20place\x20order','length','STATIC_DRAW','fingerprint\x20data','x-forwarded-for','boolean','toString','__esModule','DELETE','\x20cannot\x20contain\x20consecutive\x20hyphens','status','get','isBiggerThanZero','https:','CPF','type','customerId','body','onload','join','Invalid\x20customer\x20ID','ChunkLoadError','Failed\x20to\x20get\x20PIX\x20data','Invalid\x20response:\x20no\x20customer\x20data\x20returned','easyflowCallbacks','REQUEST_TIMEOUT','14RPzqPJ','isArray','validateCNPJ','businessId\x20is\x20required\x20for\x20SDK\x20configuration','shaderSource','creditCard','vertexAttribPointer','defineProperty','payment.method','.ddd','exposeGlobally','get-credit-card','ddd','call','Web\x20Crypto\x20API\x20required','has','checkHTTPS','Failed\x20to\x20remove\x20credit\x20card','headers','EasyflowSDK\x20initialized\x20with\x20security\x20protections','\x20failed.\x0a(','script','orderPlaced','offsetUniform','Invalid\x20response:\x20no\x20token\x20returned','encrypt','.document','GET_ORDER','validateCPF','filter','configure','Error\x20in\x20event\x20listener\x20for\x20','drawArrays','INVALID_PAYMENT_METHOD','value','reduce','stringify','CNPJ','phone','getUniformLocation','setAttribute','Invalid\x20card\x20number','request','config','removeCreditCard','currentScript','window','.name','createBuffer','some','private','sanitizeHeaders','rateLimiter','Error\x20generating\x20fingerprint','sanitizeData','same-origin','getOrder','getPix','method','neighborhood','cvv','x-forwarded-uri','Loading\x20chunk\x20','holderName','getBankBillet','validatePagination','protocol','Invalid\x20response:\x20no\x20order\x20ID\x20returned','devicePixelRatio','\x20contains\x20invalid\x20characters','importScripts','initialize','Failed\x20to\x20get\x20credit\x20card','x-forwarded-method','key','validateLegalDocument','versions','validateUrl','getAttribute','getPrototypeOf','PRODUCTION_MODE','ADD_CREDIT_CARD','substring','getSupportedExtensions','EasyflowSDK:','create','updateCustomer','GET_OFFER_FAILED','Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first','splice','exposeToGlobalScope','STENCIL_BUFFER_BIT','βœ…\x20Easyflow\x20SDK\x20Integration\x20Wrapper\x20inicializado\x20com\x20sucesso','.neighborhood\x20must\x20be\x20between\x202\x20and\x2050\x20characters','\x20must\x20be\x20a\x20boolean','Invalid\x20URL','geolocation=(),\x20microphone=(),\x20camera=()','tagName','validatePaymentMethod','sanitizeInput','cwd','.limit','1;\x20mode=block','creditCardId','subtle','resolvedOptions','now','.areaCode\x20must\x20be\x20in\x20format\x20+XX\x20or\x20+XXX','removeChild','charge','buyer.phone.number','.phone','checkCryptoAPI','default-src\x20\x27self\x27;\x20script-src\x20\x27self\x27\x20\x27unsafe-inline\x27;\x20style-src\x20\x27self\x27\x20\x27unsafe-inline\x27;','validateBusinessId','data.buyer','Easyflow\x20SDK\x20exposto\x20globalmente\x20como\x20\x22easyflowSDK\x22.\x20Use\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20para\x20configurar.\x20version\x20=\x20','N/A','1032933sNvVEn','UPDATE_CUSTOMER','password','SHADING_LANGUAGE_VERSION','parentNode','validatePhone','\x20must\x20be\x20an\x20integer','year','validateCreditCardToken','hasOwnProperty','buyer.phone.ddd','items','validateCustomerId','startsWith','get-customer','executeCallbacks','Invalid\x20expiration\x20year','\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId','ALLOWED_DOMAINS','ValidationError','NetworkError','Invalid\x20payment\x20method:\x20','description','\x20must\x20be\x20a\x20number\x20greater\x20than\x20zero','DENY','width','PLACE_ORDER_FAILED','ENCRYPT','Invalid\x20offer\x20ID','validateChargeItemsData','month','Erro\x20no\x20callback\x20onError:','\x20must\x20be\x20a\x20non-empty\x20array','FRAGMENT_SHADER','buyer.document.type','VERTEX_SHADER','getContext','MISSING_CREDIT_CARD_DATA','validateOfferId','utf-8','secret','businessId','webpack\x20queues','generateNonce','forEach','.page','Failed\x20to\x20add\x20credit\x20card','street','version','webpack\x20exports','timeZone','copyAndPasteCode','.number','1614895OEeCMb','.name\x20must\x20be\x20between\x202\x20and\x20100\x20characters','validateCreditCardData','default','630264WtPNmJ','replace','DEPTH_BUFFER_BIT','isInitialized','orderId','uniformOffset','21255XIyDah','name','GET_ORDER_FAILED','easyflow.digital','debug','missing','data-webpack','readFileSync','GET_CUSTOMER','metadata','2.2.0','values','requests','location','x-forwarded-host','logger','[REDACTED]','pagination','getOwnPropertyNames','min','...','enableVertexAttribArray','message','attachShader','Evento\x20desconhecido:\x20','offerId','COLOR_BUFFER_BIT','priceInCents','customer','\x20must\x20be\x20a\x20valid\x20email\x20address','DateTimeFormat','paymentProcessed','prototype','VALIDATION_ERROR','top','EasyflowSDK','barCode','\x20must\x20be\x203-50\x20characters\x20long\x20and\x20contain\x20only\x20letters,\x20numbers,\x20and\x20hyphens','getOffer','UNSIGNED_BYTE','isNumber','MAX_REQUESTS_PER_MINUTE','Failed\x20to\x20create\x20customer','warn','81rGvIwm','chunk-','\x20must\x20be\x20a\x20non-empty\x20string','❌\x20Erro\x20ao\x20inicializar\x20Easyflow\x20SDK:','link','node','payments','isObject','validate','businessId\x20Γ©\x20obrigatΓ³rio\x20para\x20inicializaΓ§Γ£o','toUpperCase','UNKNOWN_ERROR','CREDIT_CARD','.address','Fingerprint:','off','buyer.phone.isMobile','qrCode','.city\x20must\x20be\x20between\x202\x20and\x2050\x20characters','\x20is\x20too\x20long\x20(max\x20254\x20characters)','bankBillet','].description','email','info','\x22\x20nΓ£o\x20encontrado\x20no\x20SDK','levels','signal','exports','].name','cardNumber','checkTrustedTypes','x-forwarded-server','screen','NETWORK_ERROR','isString','buyer.document.number','Network\x20error:\x20','constructor','no-referrer','.ddd\x20must\x20be\x20exactly\x202\x20digits','56FBlXnF','ENCRYPTION_FAILED','1.0.0','test','get-offer','validateOrderId','.isMobile\x20must\x20be\x20a\x20boolean','getCreditCard','x-real-ip','HTTPS\x20required\x20for\x20security','.number\x20must\x20be\x208\x20or\x209\x20digits','amd','bind','state','\x20cannot\x20start\x20or\x20end\x20with\x20a\x20hyphen','indexOf','height','placeOrder','GET_OFFER','keys','abort','ConfiguraΓ§Γ£o\x20atualizada:','14553858qFOMUd','VENDOR','numItems','Credit\x20card\x20data\x20is\x20required\x20for\x20credit-card\x20payment\x20method','hostname','nosniff','timeWindow','sanitizeObjectFields','Failed\x20to\x20process\x20charge','createShader','CREATE_CUSTOMER','TRIANGLE_STRIP','navigator','buyer.name','buyer.phone','.number\x20must\x20contain\x20only\x20digits','\x20is\x20invalid\x20(all\x20digits\x20are\x20the\x20same)','getGlobalObject','pow','function','itemSize','getAttribLocation','payment','clear','.limit\x20must\x20be\x20between\x201\x20and\x20100','push','10ibbaDL','Failed\x20to\x20update\x20customer','precision\x20mediump\x20float;varying\x20vec2\x20varyinTexCoordinate;void\x20main()\x20{gl_FragColor=vec4(varyinTexCoordinate,0,1);}','PATCH','trustedTypes','.state\x20must\x20be\x20a\x20valid\x20Brazilian\x20state\x20abbreviation','.complement','catch','Could\x20not\x20determine\x20SDK\x20version,\x20using\x20default:','linkProgram','EasyflowSDKWrapper','Failed\x20to\x20encrypt\x20credit\x20card','statusText','onPaymentProcessed','externalReferenceId','timeout','charAt','credit-card','Failed\x20to\x20get\x20bank\x20billet','pay.easyflow.digital','ARRAY_BUFFER','map','sdk','createProgram','createCustomer','document','isMobile','buyer.email','520232zwfqSt','SecurityError','Invalid\x20payment\x20at\x20index\x20','_sanitizeObjectFieldsRecursive','city','14px\x20\x27Arial\x27','validateAddress','.areaCode','pix','].description\x20is\x20too\x20long\x20(max\x20200\x20characters)','onCustomerCreated','POST','getCustomer','all','].priceInCents','parse','fillStyle','\x20must\x20contain\x20only\x20numeric\x20characters\x20(0-9)','error','quantity','x-forwarded-path','onError','Erro\x20no\x20callback\x20onPaymentProcessed:','numberInstallments','canvas','webpackChunkEasyflowSDK','Security\x20initialization\x20failed:','isNumericString','token','Customer\x20data\x20is\x20required','log','Invalid\x20expiration\x20month','object','max-age=31536000;\x20includeSubDomains','number','bindBuffer','BANK_BILLET','getElementsByTagName','.type\x20must\x20be\x20either\x20\x27CPF\x27\x20or\x20\x27CNPJ\x27','attrVertex','entries','bufferData','return\x20this','x-fingerprint-id','fillRect','credential','textBaseline','creditCardToken','validateCustomer','getTimezoneOffset','items[','validateBuyer','code','charCodeAt','createWrapper','baseUrl','checkLimit','delete-credit-card','easyflowSDK','\x20must\x20be\x20at\x20least\x2016\x20characters\x20long','SDK_VERSION','vertexPosArray','addCreditCard','customerCreated','data','__webpack_queues__','\x20is\x20invalid','Rate\x20limit\x20exceeded','no-cache','checkIframe','Easyflow\x20SDK\x20exposto\x20globalmente\x20como\x20\x22easyflowSDK\x22.\x20version\x20=\x20','Cannot\x20run\x20in\x20iframe\x20for\x20security','webgl','validateCreditCardId','noopen','REMOVE_CREDIT_CARD','Failed\x20to\x20generate\x20fingerprint:','appendChild','buyer','web','includes','useProgram','Offer\x20not\x20found','areaCode','globalScope','createElement','then','maxRequests','ontouchstart','sanitizeCreditCard','cardId','PIX','HTTPS\x20required','PAYMENT_METHODS','#f60','x-forwarded-query','add','Invalid\x20response:\x20no\x20credit\x20card\x20ID\x20returned','Module','Security\x20violation\x20detected:','safeCall','crypto','Invalid\x20credit\x20card\x20ID','easyflow','zipCode','Invalid\x20CVV','json','SAMEORIGIN','cors','compileShader','].quantity','getParameter','businessId\x20is\x20required','Automatic\x20publicPath\x20is\x20not\x20supported\x20in\x20this\x20browser','RGBA','onerror','Error\x20in\x20charge:','Invalid\x20response:\x20no\x20removal\x20confirmation\x20returned','src','vertexPosAttrib','attribute\x20vec2\x20attrVertex;varying\x20vec2\x20varyinTexCoordinate;uniform\x20vec2\x20uniformOffset;void\x20main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}','GET_CREDIT_CARD','SECURITY_VIOLATION','toStringTag','calculateBackoff','isBoolean','create-customer','FLOAT','enableDebug','string','undefined','__webpack_exports__','complement','Credit\x20card\x20not\x20found','uniform2f','place-order','nonce','endsWith','deliveryAddress','toLowerCase','127.0.0.1'];a0_0x44e2=function(){return _0x267281;};return a0_0x44e2();}function a0_0x1694(_0x4867aa,_0x313ab9){const _0x44e294=a0_0x44e2();return a0_0x1694=function(_0x1694f9,_0x248409){_0x1694f9=_0x1694f9-0x153;let _0x10f898=_0x44e294[_0x1694f9];return _0x10f898;},a0_0x1694(_0x4867aa,_0x313ab9);}(function(_0x455946,_0x3cce8d){const _0x29248d=a0_0x1694,_0x159b5f=_0x455946();while(!![]){try{const _0x34102f=-parseInt(_0x29248d(0x1a0))/0x1*(-parseInt(_0x29248d(0x2fc))/0x2)+parseInt(_0x29248d(0x161))/0x3+-parseInt(_0x29248d(0x2dc))/0x4+parseInt(_0x29248d(0x196))/0x5+-parseInt(_0x29248d(0x19a))/0x6*(parseInt(_0x29248d(0x1f4))/0x7)+parseInt(_0x29248d(0x240))/0x8*(-parseInt(_0x29248d(0x1cc))/0x9)+parseInt(_0x29248d(0x224))/0xa*(parseInt(_0x29248d(0x20a))/0xb);if(_0x34102f===_0x3cce8d)break;else _0x159b5f['push'](_0x159b5f['shift']());}catch(_0x50ba88){_0x159b5f['push'](_0x159b5f['shift']());}}}(a0_0x44e2,0x789d9),!function(_0xeefa16,_0x1ca7c4){const _0x1c32ce=a0_0x1694;'object'==typeof exports&&'object'==typeof module?module['exports']=_0x1ca7c4():'function'==typeof define&&define[_0x1c32ce(0x1ff)]?define([],_0x1ca7c4):_0x1c32ce(0x260)==typeof exports?exports[_0x1c32ce(0x1c3)]=_0x1ca7c4():_0xeefa16[_0x1c32ce(0x1c3)]=_0x1ca7c4();}(this,()=>((()=>{'use strict';const _0x2c6542=a0_0x1694;var _0x338499,_0x37be3e,_0xabdc5,_0x3a7485,_0x4381b7,_0xa1b726,_0x715d83,_0x1209b2,_0x3a6886={0x1eb:(_0x11c2ff,_0x3679ad,_0x4c98c7)=>{const _0x222e3d=a0_0x1694;_0x4c98c7['d'](_0x3679ad,{'PV':()=>_0x2cb6c1,'Qw':()=>_0x485148,'dW':()=>_0x2cadd4,'uq':()=>_0x5647e3});const _0x2cb6c1={'baseUrl':'https://pay.easyflow.digital','timeout':0x7530,'headers':{}},_0x5647e3={'CREDIT_CARD':_0x222e3d(0x235),'PIX':_0x222e3d(0x248),'BANK_BILLET':_0x222e3d(0x2ce)},_0x2cadd4={'CHARGE':'charge','PLACE_ORDER':_0x222e3d(0x2c7),'ENCRYPT':'encrypt','GET_OFFER':_0x222e3d(0x1f8),'GET_ORDER':'get-order','CREATE_CUSTOMER':_0x222e3d(0x2be),'GET_CUSTOMER':_0x222e3d(0x16f),'UPDATE_CUSTOMER':'update-customer','ADD_CREDIT_CARD':'add-credit-card','REMOVE_CREDIT_CARD':_0x222e3d(0x279),'GET_CREDIT_CARD':_0x222e3d(0x307)},_0x485148={'GET':'GET','POST':'POST','PATCH':_0x222e3d(0x227),'DELETE':_0x222e3d(0x2ea),'PUT':'PUT'};},0x1d5:(_0x26b9eb,_0x287305,_0x3db41e)=>{const _0x3ff0c9=a0_0x1694;_0x3db41e['d'](_0x287305,{'Dr':()=>_0x3fccce,'J7':()=>_0x2736a8,'OQ':()=>_0x5c9f0,'Vx':()=>_0x4661de,'yI':()=>_0x54b049});class _0x2736a8 extends Error{constructor(_0xe6a4cc,_0x42ca91,_0x15ea83){const _0x54cb08=a0_0x1694;super(_0xe6a4cc),this[_0x54cb08(0x1a1)]='EasyflowError',this[_0x54cb08(0x2ec)]=_0x42ca91,this['code']=_0x15ea83;}}class _0x4661de extends Error{constructor(_0xc1c1b9){const _0x4d2bec=a0_0x1694;super(_0xc1c1b9),this[_0x4d2bec(0x1a1)]=_0x4d2bec(0x241),this[_0x4d2bec(0x274)]=_0x4d2bec(0x2ba);}}class _0x54b049 extends Error{constructor(_0x539d3b){const _0x4560a8=a0_0x1694;super(_0x539d3b),this[_0x4560a8(0x1a1)]=_0x4560a8(0x174),this['code']=_0x4560a8(0x1c1);}}class _0x3fccce extends Error{constructor(_0x3a0ef4){const _0x33f4ca=a0_0x1694;super(_0x3a0ef4),this[_0x33f4ca(0x1a1)]=_0x33f4ca(0x175),this[_0x33f4ca(0x274)]=_0x33f4ca(0x1ed);}}const _0x5c9f0={'VALIDATION_ERROR':_0x3ff0c9(0x1c1),'MISSING_BUSINESS_ID':'MISSING_BUSINESS_ID','OFFER_NOT_FOUND':'OFFER_NOT_FOUND','ORDER_NOT_FOUND':'ORDER_NOT_FOUND','INVALID_PAYMENT_METHOD':_0x3ff0c9(0x31d),'MISSING_CREDIT_CARD_DATA':_0x3ff0c9(0x186),'PLACE_ORDER_FAILED':_0x3ff0c9(0x17b),'CHARGE_FAILED':'CHARGE_FAILED','ENCRYPTION_FAILED':_0x3ff0c9(0x1f5),'NETWORK_ERROR':_0x3ff0c9(0x1ed),'INVALID_RESPONSE':'INVALID_RESPONSE','GET_OFFER_FAILED':_0x3ff0c9(0x353),'GET_ORDER_FAILED':_0x3ff0c9(0x1a2)};},0x1ac:(_0x347139,_0x25e86f,_0x4825fb)=>{_0x4825fb['d'](_0x25e86f,{'S':()=>_0x557f5d});const _0x557f5d=_0x19f3fb=>{throw _0x19f3fb;};},0x224:(_0x591996,_0x304eef,_0x405fdd)=>{_0x405fdd['d'](_0x304eef,{'B':()=>_0x448f1d});const _0x5ed54e=_0x2d1864=>{const _0x2bcc7f=a0_0x1694;try{const _0x39d84d=document[_0x2bcc7f(0x295)](_0x2bcc7f(0x258)),_0x1d89ee=_0x39d84d[_0x2bcc7f(0x185)](_0x2bcc7f(0x288));_0x39d84d[_0x2bcc7f(0x17a)]=0x100,_0x39d84d[_0x2bcc7f(0x204)]=0x80;const _0x2ac9f1='attribute\x20vec2\x20attrVertex;varying\x20vec2\x20varyinTexCoordinate;uniform\x20vec2\x20uniformOffset;void\x20main(){varyinTexCoordinate=attrVertex+uniformOffset;gl_Position=vec4(attrVertex,0,1);}',_0x49bae0=_0x2bcc7f(0x226),_0x164f3b=_0x1d89ee[_0x2bcc7f(0x32c)]();_0x1d89ee[_0x2bcc7f(0x263)](_0x1d89ee['ARRAY_BUFFER'],_0x164f3b);const _0x1f6360=new Float32Array([-0.2,-0.9,0x0,0.4,-0.26,0x0,0x0,0.7321,0x0]);_0x1d89ee[_0x2bcc7f(0x269)](_0x1d89ee[_0x2bcc7f(0x238)],_0x1f6360,_0x1d89ee['STATIC_DRAW']),_0x164f3b[_0x2bcc7f(0x21e)]=0x3,_0x164f3b[_0x2bcc7f(0x20c)]=0x3;const _0x127414=_0x1d89ee[_0x2bcc7f(0x23b)](),_0x34ead4=_0x1d89ee['createShader'](_0x1d89ee['VERTEX_SHADER']);_0x1d89ee['shaderSource'](_0x34ead4,_0x2ac9f1),_0x1d89ee['compileShader'](_0x34ead4);const _0x1d5566=_0x1d89ee[_0x2bcc7f(0x213)](_0x1d89ee[_0x2bcc7f(0x182)]);_0x1d89ee[_0x2bcc7f(0x300)](_0x1d5566,_0x49bae0),_0x1d89ee[_0x2bcc7f(0x2ad)](_0x1d5566),_0x1d89ee[_0x2bcc7f(0x1b7)](_0x127414,_0x34ead4),_0x1d89ee[_0x2bcc7f(0x1b7)](_0x127414,_0x1d5566),_0x1d89ee[_0x2bcc7f(0x22d)](_0x127414),_0x1d89ee[_0x2bcc7f(0x291)](_0x127414),_0x127414[_0x2bcc7f(0x2b7)]=_0x1d89ee[_0x2bcc7f(0x21f)](_0x127414,_0x2bcc7f(0x267)),_0x127414[_0x2bcc7f(0x313)]=_0x1d89ee[_0x2bcc7f(0x323)](_0x127414,_0x2bcc7f(0x19f)),_0x1d89ee[_0x2bcc7f(0x1b5)](_0x127414[_0x2bcc7f(0x27d)]),_0x1d89ee[_0x2bcc7f(0x302)](_0x127414[_0x2bcc7f(0x2b7)],_0x164f3b[_0x2bcc7f(0x21e)],_0x1d89ee[_0x2bcc7f(0x2bf)],!0x1,0x0,0x0),_0x1d89ee[_0x2bcc7f(0x2c6)](_0x127414[_0x2bcc7f(0x313)],0x1,0x1),_0x1d89ee[_0x2bcc7f(0x31c)](_0x1d89ee[_0x2bcc7f(0x215)],0x0,_0x164f3b['numItems']);const _0x946f7e=new Uint8Array(_0x39d84d[_0x2bcc7f(0x17a)]*_0x39d84d[_0x2bcc7f(0x204)]*0x4);_0x1d89ee[_0x2bcc7f(0x2d9)](0x0,0x0,_0x39d84d[_0x2bcc7f(0x17a)],_0x39d84d[_0x2bcc7f(0x204)],_0x1d89ee[_0x2bcc7f(0x2b2)],_0x1d89ee[_0x2bcc7f(0x1c7)],_0x946f7e);const _0x4b3354=JSON[_0x2bcc7f(0x320)](_0x946f7e)[_0x2bcc7f(0x19b)](/,?"[0-9]+":/g,'');return _0x2d1864?document[_0x2bcc7f(0x2f3)][_0x2bcc7f(0x28d)](_0x39d84d):_0x1d89ee[_0x2bcc7f(0x221)](_0x1d89ee[_0x2bcc7f(0x1ba)]|_0x1d89ee[_0x2bcc7f(0x19c)]|_0x1d89ee[_0x2bcc7f(0x357)]),_0x9bee2f(_0x4b3354);}catch{return null;}},_0x101b5b=()=>{const _0x16ed1d=a0_0x1694;try{const _0x3ee9cc=document['createElement']('canvas')[_0x16ed1d(0x185)](_0x16ed1d(0x288));return{'VERSION':_0x3ee9cc[_0x16ed1d(0x2af)](_0x3ee9cc[_0x16ed1d(0x2d8)]),'SHADING_LANGUAGE_VERSION':_0x3ee9cc[_0x16ed1d(0x2af)](_0x3ee9cc['SHADING_LANGUAGE_VERSION']),'VENDOR':_0x3ee9cc[_0x16ed1d(0x2af)](_0x3ee9cc[_0x16ed1d(0x20b)]),'SUPORTED_EXTENSIONS':_0x3ee9cc[_0x16ed1d(0x34f)]()};}catch{return null;}},_0x9bee2f=_0x498649=>{const _0x2ac55a=a0_0x1694,_0x434444=0x3&_0x498649['length'],_0x2a6ab1=_0x498649[_0x2ac55a(0x2e3)]-_0x434444,_0x300866=0xcc9e2d51,_0x5cf5f7=0x1b873593;let _0x5572ad,_0x2d372a,_0x10a2b6;for(let _0x3c68f3=0x0;_0x3c68f3<_0x2a6ab1;_0x3c68f3++)_0x10a2b6=0xff&_0x498649['charCodeAt'](_0x3c68f3)|(0xff&_0x498649[_0x2ac55a(0x275)](++_0x3c68f3))<<0x8|(0xff&_0x498649[_0x2ac55a(0x275)](++_0x3c68f3))<<0x10|(0xff&_0x498649[_0x2ac55a(0x275)](++_0x3c68f3))<<0x18,++_0x3c68f3,_0x10a2b6=(0xffff&_0x10a2b6)*_0x300866+(((_0x10a2b6>>>0x10)*_0x300866&0xffff)<<0x10)&0xffffffff,_0x10a2b6=_0x10a2b6<<0xf|_0x10a2b6>>>0x11,_0x10a2b6=(0xffff&_0x10a2b6)*_0x5cf5f7+(((_0x10a2b6>>>0x10)*_0x5cf5f7&0xffff)<<0x10)&0xffffffff,_0x5572ad^=_0x10a2b6,_0x5572ad=_0x5572ad<<0xd|_0x5572ad>>>0x13,_0x2d372a=0x5*(0xffff&_0x5572ad)+((0x5*(_0x5572ad>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x5572ad=0x6b64+(0xffff&_0x2d372a)+((0xe654+(_0x2d372a>>>0x10)&0xffff)<<0x10);const _0x254894=_0x2a6ab1-0x1;switch(_0x10a2b6=0x0,_0x434444){case 0x3:_0x10a2b6^=(0xff&_0x498649['charCodeAt'](_0x254894+0x2))<<0x10;break;case 0x2:_0x10a2b6^=(0xff&_0x498649[_0x2ac55a(0x275)](_0x254894+0x1))<<0x8;break;case 0x1:_0x10a2b6^=0xff&_0x498649[_0x2ac55a(0x275)](_0x254894);}return _0x10a2b6=(0xffff&_0x10a2b6)*_0x300866+(((_0x10a2b6>>>0x10)*_0x300866&0xffff)<<0x10)&0xffffffff,_0x10a2b6=_0x10a2b6<<0xf|_0x10a2b6>>>0x11,_0x10a2b6=(0xffff&_0x10a2b6)*_0x5cf5f7+(((_0x10a2b6>>>0x10)*_0x5cf5f7&0xffff)<<0x10)&0xffffffff,_0x5572ad^=_0x10a2b6,_0x5572ad^=_0x498649[_0x2ac55a(0x2e3)],_0x5572ad^=_0x5572ad>>>0x10,_0x5572ad=0x85ebca6b*(0xffff&_0x5572ad)+((0x85ebca6b*(_0x5572ad>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x5572ad^=_0x5572ad>>>0xd,_0x5572ad=0xc2b2ae35*(0xffff&_0x5572ad)+((0xc2b2ae35*(_0x5572ad>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x5572ad^=_0x5572ad>>>0x10,_0x5572ad>>>0x0;},_0x448f1d=()=>{const _0x4322f7=a0_0x1694;try{const _0x1070af=(({hardwareOnly:_0x38100b=!0x1,enableWebgl:_0x1affcb=!0x1,debug:_0x4c75b3=!0x1}={})=>{const _0x146af1=a0_0x1694,{cookieEnabled:_0x284186,deviceMemory:_0x3fda82,doNotTrack:_0x3e3247,hardwareConcurrency:_0x18a8c2,language:_0x3c06d2,languages:_0x298632,maxTouchPoints:_0x2c8814,platform:_0x561d92,userAgent:_0x3ce180,vendor:_0x53679d}=window[_0x146af1(0x216)];let {width:_0x2fda1f,height:_0x2f0c6c,colorDepth:_0x124af8,pixelDepth:_0x5182d7}=window[_0x146af1(0x1ec)];_0x2fda1f=0x3e8,_0x2f0c6c=0x3e8;const _0x4e2f59=new Date()[_0x146af1(0x271)](),_0x3631c6=Intl[_0x146af1(0x1be)]()[_0x146af1(0x154)]()[_0x146af1(0x193)],_0x20b8fb=_0x146af1(0x298)in window,_0x396b7d=window[_0x146af1(0x340)],_0x48a7e2=_0x1affcb?_0x5ed54e(_0x4c75b3):void 0x0,_0x3d940d=_0x1affcb?_0x101b5b(_0x4c75b3):void 0x0,_0x511254=_0x38100b?JSON[_0x146af1(0x320)]({'canvas':null,'colorDepth':_0x124af8,'deviceMemory':_0x3fda82,'devicePixelRatio':_0x396b7d,'hardwareConcurrency':_0x18a8c2,'height':_0x2f0c6c,'maxTouchPoints':_0x2c8814,'pixelDepth':_0x5182d7,'platform':_0x561d92,'touchSupport':_0x20b8fb,'webgl':_0x48a7e2,'webglInfo':_0x3d940d,'width':_0x2fda1f}):JSON[_0x146af1(0x320)]({'canvas':null,'colorDepth':_0x124af8,'cookieEnabled':_0x284186,'deviceMemory':_0x3fda82,'devicePixelRatio':_0x396b7d,'doNotTrack':_0x3e3247,'hardwareConcurrency':_0x18a8c2,'height':_0x2f0c6c,'language':_0x3c06d2,'languages':_0x298632,'maxTouchPoints':_0x2c8814,'pixelDepth':_0x5182d7,'platform':_0x561d92,'timezone':_0x3631c6,'timezoneOffset':_0x4e2f59,'touchSupport':_0x20b8fb,'userAgent':_0x3ce180,'vendor':_0x53679d,'webgl':_0x48a7e2,'webglInfo':_0x3d940d,'width':_0x2fda1f}),_0x4c8fed=JSON[_0x146af1(0x320)](_0x511254,null,0x4);return _0x4c75b3&&console[_0x146af1(0x25e)]('fingerprint\x20data',_0x4c8fed),_0x9bee2f(_0x4c8fed);})();return console['log'](_0x4322f7(0x1da),_0x1070af),_0x1070af;}catch(_0x466248){return console[_0x4322f7(0x25e)](_0x4322f7(0x331),_0x466248),null;}};},0x334:(_0x25445d,_0x1e04e9,_0x225078)=>{_0x225078['a'](_0x25445d,async(_0x13ca91,_0x3720b0)=>{const _0x5b3a89=a0_0x1694;try{_0x225078['d'](_0x1e04e9,{'U':()=>_0x3dc563});var _0x57e27a=_0x225078(0x18f),_0x425485=_0x225078(0x1eb),_0x414011=_0x225078(0x1ac),_0x434fd1=_0x225078(0x11e),_0x492fa6=_0x225078(0x1d5),_0x42e444=_0x13ca91([_0x57e27a,_0x434fd1]);function _0x4c10d4(_0x2ba747){return _0x2ba747 instanceof _0x492fa6['Vx']||_0x2ba747 instanceof _0x492fa6['yI']||_0x2ba747 instanceof _0x492fa6['Dr'];}function _0x375a40(_0x30cf6e={}){const _0x158a2b=a0_0x1694;if(!_0x30cf6e[_0x158a2b(0x26b)])try{const _0xf2d1ca=(0x0,_0x57e27a['dP'])({'hardwareOnly':!0x0});_0xf2d1ca&&(_0x30cf6e[_0x158a2b(0x26b)]=_0xf2d1ca);}catch(_0x1eb13f){console[_0x158a2b(0x1cb)](_0x158a2b(0x28c),_0x1eb13f[_0x158a2b(0x1b6)]);}return _0x30cf6e;}async function _0x1fef66(_0x3c30d1,_0x20d190){const _0xd41f1d=a0_0x1694,_0x160017=await _0x434fd1['E3']['request'](_0x3c30d1,_0x20d190);return await _0x160017[_0xd41f1d(0x2aa)]();}async function _0x3dc563(_0x4db316,_0x223aeb,_0x3e6e0a={}){const _0x380fd3=a0_0x1694;try{const _0x2d8ae8=_0x375a40(_0x3e6e0a),_0x4d1ebc={'method':_0x425485['Qw'][_0x380fd3(0x24b)],'headers':_0x2d8ae8};if(_0x4db316===_0x425485['dW']['GET_OFFER']){const {offerId:_0x520325}=_0x223aeb,_0x3a6ae7=(0x0,_0x57e27a['KB'])(_0x425485['PV']['baseUrl'],_0x4db316,{'offerId':_0x520325});return await _0x1fef66(_0x3a6ae7,_0x4d1ebc);}if(_0x4db316===_0x425485['dW']['GET_ORDER']){const {orderId:_0x44b377}=_0x223aeb,_0x55e0b5=(0x0,_0x57e27a['KB'])(_0x425485['PV'][_0x380fd3(0x277)],_0x4db316,{'orderId':_0x44b377});return await _0x1fef66(_0x55e0b5,_0x4d1ebc);}if(_0x4db316===_0x425485['dW']['ADD_CREDIT_CARD']){const {customerId:_0x198674,..._0x4c8109}=_0x223aeb,_0xb92920=(0x0,_0x57e27a['KB'])(_0x425485['PV']['baseUrl'],_0x4db316,{'customerId':_0x198674});return await _0x1fef66(_0xb92920,{..._0x4d1ebc,'body':JSON[_0x380fd3(0x320)](_0x4c8109)});}if(_0x4db316===_0x425485['dW'][_0x380fd3(0x28b)]){const {customerId:_0x39598f,creditCardId:_0x384972,..._0x41b9b5}=_0x223aeb,_0x36eae5=(0x0,_0x57e27a['KB'])(_0x425485['PV']['baseUrl'],_0x4db316,{'customerId':_0x39598f,'creditCardId':_0x384972});return await _0x1fef66(_0x36eae5,{..._0x4d1ebc,'body':JSON[_0x380fd3(0x320)](_0x41b9b5)});}if(_0x4db316===_0x425485['dW'][_0x380fd3(0x2b9)]){const {customerId:_0x3be976,creditCardId:_0x2e3dc7,..._0x4e3a82}=_0x223aeb,_0x293d37=(0x0,_0x57e27a['KB'])(_0x425485['PV'][_0x380fd3(0x277)],_0x4db316,{'customerId':_0x3be976,'creditCardId':_0x2e3dc7});return await _0x1fef66(_0x293d37,{..._0x4d1ebc,'body':JSON[_0x380fd3(0x320)](_0x4e3a82)});}if(_0x4db316===_0x425485['dW'][_0x380fd3(0x1a8)]){const {customerId:_0x5d58b2,..._0x1df276}=_0x223aeb,_0xb01b68=(0x0,_0x57e27a['KB'])(_0x425485['PV'][_0x380fd3(0x277)],_0x4db316,{'customerId':_0x5d58b2});return await _0x1fef66(_0xb01b68,{..._0x4d1ebc,'body':JSON[_0x380fd3(0x320)](_0x1df276)});}if(_0x4db316===_0x425485['dW']['UPDATE_CUSTOMER']){const {customerId:_0x167281,..._0x3b70ab}=_0x223aeb,_0x1dc1b7=(0x0,_0x57e27a['KB'])(_0x425485['PV']['baseUrl'],_0x4db316,{'customerId':_0x167281});return await _0x1fef66(_0x1dc1b7,{..._0x4d1ebc,'body':JSON[_0x380fd3(0x320)](_0x3b70ab)});}const _0x3b9a0d=(0x0,_0x57e27a['KB'])(_0x425485['PV'][_0x380fd3(0x277)],_0x4db316);return await _0x1fef66(_0x3b9a0d,{..._0x4d1ebc,'body':JSON['stringify'](_0x223aeb)});}catch(_0x5e369a){_0x4c10d4(_0x5e369a)&&(0x0,_0x414011['S'])(_0x5e369a),(0x0,_0x414011['S'])(new _0x492fa6['Dr'](_0x380fd3(0x1f0)+_0x5e369a[_0x380fd3(0x1b6)]));}}[_0x57e27a,_0x434fd1]=_0x42e444[_0x5b3a89(0x296)]?(await _0x42e444)():_0x42e444,_0x3720b0();}catch(_0x42cb02){_0x3720b0(_0x42cb02);}});},0x184:(_0x506b2c,_0x1e980c,_0x121249)=>{_0x121249['a'](_0x506b2c,async(_0xe1d07e,_0x3a5074)=>{const _0x43596a=a0_0x1694;try{_0x121249['d'](_0x1e980c,{'UQ':()=>_0x4ec34c});var _0x110661=_0x121249(0x3b7),_0x59621a=_0x121249(0x392),_0x22131b=_0x121249(0x125),_0x5510f3=_0x121249(0x1b3),_0x16a3f8=_0xe1d07e([_0x110661,_0x59621a,_0x22131b]);[_0x110661,_0x59621a,_0x22131b]=_0x16a3f8[_0x43596a(0x296)]?(await _0x16a3f8)():_0x16a3f8;class _0x4ec34c{constructor(_0x70f362={}){const _0x14a837=_0x43596a;this[_0x14a837(0x327)]={'autoInitialize':!0x0,'globalScope':_0x14a837(0x32a),'exposeGlobally':!0x0,'enableDebug':!0x1,..._0x70f362},this[_0x14a837(0x23a)]=null,this[_0x14a837(0x19d)]=!0x1,this['config']['autoInitialize']&&this[_0x14a837(0x343)]();}[_0x43596a(0x343)](){const _0x31c6c0=_0x43596a;try{if(!this[_0x31c6c0(0x327)][_0x31c6c0(0x18a)])throw new Error(_0x31c6c0(0x1d5));return this[_0x31c6c0(0x23a)]=new _0x110661['F'](this['config'][_0x31c6c0(0x18a)]),this[_0x31c6c0(0x19d)]=!0x0,this['config'][_0x31c6c0(0x306)]&&this[_0x31c6c0(0x356)](),this['config'][_0x31c6c0(0x2c0)]&&console[_0x31c6c0(0x25e)](_0x31c6c0(0x358)),!0x0;}catch(_0x1fc6bd){return console[_0x31c6c0(0x252)](_0x31c6c0(0x1cf),_0x1fc6bd[_0x31c6c0(0x1b6)]),!0x1;}}[_0x43596a(0x356)](){const _0x533048=_0x43596a,_0x20edc3=this[_0x533048(0x21b)]();_0x20edc3[_0x533048(0x1c3)]=_0x110661['F'],_0x20edc3[_0x533048(0x22e)]=this,_0x20edc3[_0x533048(0x2a7)]=this[_0x533048(0x23a)],_0x20edc3[_0x533048(0x27a)]={'createCustomer':_0x23efe6=>this[_0x533048(0x2a4)](_0x533048(0x23c),_0x23efe6),'getCustomer':_0x4170bc=>this[_0x533048(0x2a4)](_0x533048(0x24c),_0x4170bc),'updateCustomer':(_0x4d3238,_0x1ff965)=>this[_0x533048(0x2a4)](_0x533048(0x352),_0x4d3238,_0x1ff965),'placeOrder':(_0x24c412,_0x28e3d6)=>this['safeCall']('placeOrder',_0x24c412,_0x28e3d6),'charge':_0x5bf44f=>this[_0x533048(0x2a4)]('charge',_0x5bf44f),'encrypt':_0x3447fd=>this[_0x533048(0x2a4)](_0x533048(0x315),_0x3447fd),'addCreditCard':(_0xea405b,_0x246bfe)=>this[_0x533048(0x2a4)](_0x533048(0x27e),_0xea405b,_0x246bfe),'getCreditCard':(_0x442365,_0x536fae)=>this[_0x533048(0x2a4)](_0x533048(0x1fb),_0x442365,_0x536fae),'removeCreditCard':(_0x135f9,_0x5979cc)=>this[_0x533048(0x2a4)](_0x533048(0x328),_0x135f9,_0x5979cc),'getOffer':_0x26a25d=>this[_0x533048(0x2a4)](_0x533048(0x1c6),_0x26a25d),'getOrder':_0x1e233e=>this[_0x533048(0x2a4)](_0x533048(0x334),_0x1e233e),'getPix':_0x857e07=>this['safeCall'](_0x533048(0x335),_0x857e07),'getBankBillet':_0x2d06b4=>this[_0x533048(0x2a4)](_0x533048(0x33c),_0x2d06b4),'validate':{'email':_0x4ca1a8=>_0x59621a['D'][_0x533048(0x2cf)](_0x4ca1a8),'cpf':_0x31f7ca=>_0x59621a['D'][_0x533048(0x318)](_0x31f7ca),'cnpj':_0x48d606=>_0x59621a['D']['validateCNPJ'](_0x48d606),'phone':_0x86c7da=>_0x59621a['D'][_0x533048(0x166)](_0x86c7da),'address':_0x25f03a=>_0x59621a['D'][_0x533048(0x246)](_0x25f03a),'customer':_0x5a34ed=>_0x59621a['D'][_0x533048(0x270)](_0x5a34ed)},'sanitize':{'input':_0x593119=>_0x22131b['I'][_0x533048(0x35f)](_0x593119),'headers':_0x27560b=>_0x22131b['I'][_0x533048(0x32f)](_0x27560b),'customer':_0x402c90=>_0x22131b['I'][_0x533048(0x211)](_0x402c90)},'getVersion':()=>this[_0x533048(0x23a)]['version'],'getStatus':()=>({'initialized':this[_0x533048(0x19d)],'businessId':this['config']['businessId']}),'configure':_0x1b3880=>this[_0x533048(0x31a)](_0x1b3880)},_0x20edc3['easyflowCallbacks']={'onCustomerCreated':null,'onPaymentProcessed':null,'onError':null},this['config'][_0x533048(0x2c0)]&&console[_0x533048(0x25e)](_0x533048(0x286)+_0x5510f3[_0x533048(0x27c)]);}[_0x43596a(0x21b)](){const _0x121008=_0x43596a;switch(this[_0x121008(0x327)][_0x121008(0x294)]){case'window':default:return _0x121008(0x2c2)!=typeof window?window:global;case'global':return _0x121008(0x2c2)!=typeof global?global:window;}}async[_0x43596a(0x2a4)](_0xb824b,..._0x116372){const _0x1a76a7=_0x43596a;try{if(!this[_0x1a76a7(0x19d)]||!this[_0x1a76a7(0x23a)])throw new Error('SDK\x20nΓ£o\x20inicializado.\x20Execute\x20easyflowSDK.initialize()\x20primeiro.');if(!this[_0x1a76a7(0x23a)][_0xb824b])throw new Error(_0x1a76a7(0x2d6)+_0xb824b+_0x1a76a7(0x1e4));const _0x4a7620=await this[_0x1a76a7(0x23a)][_0xb824b](..._0x116372);return this[_0x1a76a7(0x170)](_0xb824b,_0x4a7620,null),{'success':!0x0,'data':_0x4a7620,'error':null};}catch(_0x4bdec2){const _0x1195e0={'success':!0x1,'data':null,'error':{'message':_0x4bdec2[_0x1a76a7(0x1b6)],'code':_0x4bdec2[_0x1a76a7(0x274)]||_0x1a76a7(0x1d7),'type':_0x4bdec2[_0x1a76a7(0x1f1)]['name']}};return this['executeCallbacks'](_0xb824b,null,_0x1195e0['error']),_0x1195e0;}}[_0x43596a(0x170)](_0x2169d8,_0xabe827,_0x24cc5c){const _0x3bcd5e=_0x43596a,_0x21a322=this[_0x3bcd5e(0x21b)]();if(_0x24cc5c&&_0x21a322[_0x3bcd5e(0x2fa)][_0x3bcd5e(0x255)])try{_0x21a322[_0x3bcd5e(0x2fa)][_0x3bcd5e(0x255)](_0x24cc5c,_0x2169d8);}catch(_0x4a9d21){console[_0x3bcd5e(0x1cb)](_0x3bcd5e(0x180),_0x4a9d21);}if(_0xabe827&&!_0x24cc5c){if(_0x3bcd5e(0x23c)===_0x2169d8&&_0x21a322[_0x3bcd5e(0x2fa)][_0x3bcd5e(0x24a)])try{_0x21a322[_0x3bcd5e(0x2fa)][_0x3bcd5e(0x24a)](_0xabe827);}catch(_0x5a38d5){console['warn']('Erro\x20no\x20callback\x20onCustomerCreated:',_0x5a38d5);}if((_0x3bcd5e(0x205)===_0x2169d8||_0x3bcd5e(0x158)===_0x2169d8)&&_0x21a322['easyflowCallbacks'][_0x3bcd5e(0x231)])try{_0x21a322[_0x3bcd5e(0x2fa)][_0x3bcd5e(0x231)](_0xabe827,_0x2169d8);}catch(_0x49f787){console[_0x3bcd5e(0x1cb)](_0x3bcd5e(0x256),_0x49f787);}}}['on'](_0x185b26,_0x46a7ba){const _0x30f133=_0x43596a,_0x38c9ad=this[_0x30f133(0x21b)]();switch(_0x185b26){case _0x30f133(0x27f):_0x38c9ad[_0x30f133(0x2fa)][_0x30f133(0x24a)]=_0x46a7ba;break;case _0x30f133(0x1bf):_0x38c9ad[_0x30f133(0x2fa)][_0x30f133(0x231)]=_0x46a7ba;break;case _0x30f133(0x252):_0x38c9ad[_0x30f133(0x2fa)][_0x30f133(0x255)]=_0x46a7ba;break;default:console[_0x30f133(0x1cb)](_0x30f133(0x1b8)+_0x185b26);}}[_0x43596a(0x31a)](_0x3970c8){const _0x52ea7c=_0x43596a;return this[_0x52ea7c(0x327)]={...this[_0x52ea7c(0x327)],..._0x3970c8},this[_0x52ea7c(0x327)][_0x52ea7c(0x2c0)]&&console[_0x52ea7c(0x25e)](_0x52ea7c(0x209),this[_0x52ea7c(0x327)]),this['config'];}['getStatus'](){const _0x580f5f=_0x43596a;return{'initialized':this[_0x580f5f(0x19d)],'businessId':this['config']['businessId'],'sdkVersion':this['sdk']?.['version']||_0x580f5f(0x160),'wrapperVersion':_0x580f5f(0x1f6)};}}_0x3a5074();}catch(_0x55bc73){_0x3a5074(_0x55bc73);}});},0x300:(_0x41d937,_0x476934,_0x131c26)=>{const _0x13dc41=a0_0x1694;_0x131c26['d'](_0x476934,{'K':()=>_0xe06e6f});class _0xe06e6f{constructor(_0x191f5c=_0x13dc41(0x252)){const _0x344af8=_0x13dc41;this[_0x344af8(0x2dd)]=_0x191f5c,this[_0x344af8(0x1e5)]={'error':0x0,'warn':0x1,'info':0x2,'debug':0x3};}[_0x13dc41(0x25e)](_0x2fd096,_0xa89ade,_0xd7d010=null){const _0x205041=_0x13dc41;if(this[_0x205041(0x1e5)][_0x2fd096]<=this[_0x205041(0x1e5)][this[_0x205041(0x2dd)]]){const _0x5dd980=this[_0x205041(0x332)](_0xd7d010),_0x7e99e6=_0x205041(0x2d0)+_0x2fd096[_0x205041(0x1d6)]()+']\x20'+_0xa89ade;_0x205041(0x252)===_0x2fd096?console['error'](_0x7e99e6,_0x5dd980):'warn'===_0x2fd096?console[_0x205041(0x1cb)](_0x7e99e6,_0x5dd980):console[_0x205041(0x25e)](_0x7e99e6,_0x5dd980);}}['sanitizeData'](_0x8528fd){const _0x5dd988=_0x13dc41;if(!_0x8528fd)return null;const _0x45ceff=[_0x5dd988(0x25c),_0x5dd988(0x1e9),_0x5dd988(0x163),_0x5dd988(0x338),_0x5dd988(0x262),'key',_0x5dd988(0x189),'apiKey',_0x5dd988(0x32e),_0x5dd988(0x26d)];return JSON['parse'](JSON[_0x5dd988(0x320)](_0x8528fd,(_0x297031,_0x3c083c)=>_0x45ceff[_0x5dd988(0x32d)](_0xcfaea5=>_0x297031[_0x5dd988(0x2cb)]()[_0x5dd988(0x290)](_0xcfaea5))?_0x5dd988(0x1b0):_0x5dd988(0x2c1)==typeof _0x3c083c&&_0x3c083c['length']>0x64?_0x3c083c[_0x5dd988(0x34e)](0x0,0x64)+_0x5dd988(0x1b4):_0x3c083c));}[_0x13dc41(0x252)](_0x24c24d,_0xd9940b=null){const _0x3a1f1e=_0x13dc41;this[_0x3a1f1e(0x25e)]('error',_0x24c24d,_0xd9940b);}[_0x13dc41(0x1cb)](_0x237379,_0x4eb557=null){this['log']('warn',_0x237379,_0x4eb557);}[_0x13dc41(0x1e3)](_0x2e5826,_0xbcee76=null){const _0x5e3874=_0x13dc41;this[_0x5e3874(0x25e)](_0x5e3874(0x1e3),_0x2e5826,_0xbcee76);}[_0x13dc41(0x1a4)](_0x5a0359,_0x3a72e9=null){const _0x3334d9=_0x13dc41;this[_0x3334d9(0x25e)]('debug',_0x5a0359,_0x3a72e9);}}},0x125:(_0x20d3ee,_0x53c0ba,_0x519aa4)=>{_0x519aa4['a'](_0x20d3ee,async(_0x4b3cbd,_0x36cfa4)=>{const _0x59d846=a0_0x1694;try{_0x519aa4['d'](_0x53c0ba,{'I':()=>_0x4c51bf,'Y':()=>_0x265e98});var _0x425279=_0x519aa4(0x18f),_0x127e33=_0x4b3cbd([_0x425279]);_0x425279=(_0x127e33['then']?(await _0x127e33)():_0x127e33)[0x0];class _0x4c51bf{static[_0x59d846(0x32f)](_0x200133={}){const _0xb458da=_0x59d846,_0x2637b0={};for(const [_0xf4cb92,_0x2383f8]of Object[_0xb458da(0x268)](_0x200133)){[_0xb458da(0x2e6),_0xb458da(0x1fc),_0xb458da(0x1ae),'x-forwarded-proto','x-forwarded-port',_0xb458da(0x1eb),_0xb458da(0x339),_0xb458da(0x345),_0xb458da(0x254),_0xb458da(0x29f),_0xb458da(0x2d1),'x-forwarded-ssl',_0xb458da(0x2da)][_0xb458da(0x290)](_0xf4cb92['toLowerCase']())||(_0x2637b0[_0xf4cb92]=_0x2383f8);}return _0x2637b0;}static[_0x59d846(0x35f)](_0x55f60a){const _0x58d7e4=_0x59d846;return _0x58d7e4(0x2c1)==typeof _0x55f60a&&_0x55f60a?_0x55f60a[_0x58d7e4(0x19b)](/[<>&]/g,'')[_0x58d7e4(0x19b)](/javascript:/gi,'')[_0x58d7e4(0x19b)](/data:/gi,'')[_0x58d7e4(0x19b)](/vbscript:/gi,'')['trim']():_0x55f60a;}static[_0x59d846(0x299)](_0x2e85fe){const _0x4991d9=_0x59d846;return{'cardNumber':this[_0x4991d9(0x35f)](_0x2e85fe[_0x4991d9(0x1e9)]),'cvv':this[_0x4991d9(0x35f)](_0x2e85fe[_0x4991d9(0x338)]),'month':this[_0x4991d9(0x35f)](_0x2e85fe[_0x4991d9(0x17f)]),'year':this[_0x4991d9(0x35f)](_0x2e85fe[_0x4991d9(0x168)]),'holderName':this['sanitizeInput'](_0x2e85fe[_0x4991d9(0x33b)])};}static['sanitizeObjectFields'](_0xb81cc9){const _0x43534f=_0x59d846;return this[_0x43534f(0x243)](_0xb81cc9,new WeakSet());}static[_0x59d846(0x243)](_0x5eeb8d,_0x17b016){const _0x597f16=_0x59d846;if(null==_0x5eeb8d)return _0x5eeb8d;if(_0x597f16(0x260)!=typeof _0x5eeb8d)return this[_0x597f16(0x35f)](_0x5eeb8d);if(Array[_0x597f16(0x2fd)](_0x5eeb8d))return _0x5eeb8d[_0x597f16(0x239)](_0x35d556=>this['_sanitizeObjectFieldsRecursive'](_0x35d556,_0x17b016));if(_0x17b016['has'](_0x5eeb8d))return _0x5eeb8d;_0x17b016[_0x597f16(0x2a0)](_0x5eeb8d);const _0x4699e3={};for(const [_0xd5c27d,_0x1695c7]of Object[_0x597f16(0x268)](_0x5eeb8d))_0x4699e3[_0xd5c27d]=this[_0x597f16(0x243)](_0x1695c7,_0x17b016);return _0x4699e3;}}function _0x265e98(_0x26504c){const _0x5ca682=_0x59d846,_0x2639e2=(0x0,_0x425279['Go'])(_0x26504c);return _0x2639e2['cartId']&&(_0x2639e2[_0x5ca682(0x2d5)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x2d5)])),_0x2639e2[_0x5ca682(0x28e)]&&(_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2f2)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2f2)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x1a1)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x1a1)]),_0x2639e2[_0x5ca682(0x28e)]['email']=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x1e2)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x23d)]&&(_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x23d)][_0x5ca682(0x262)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)]['document'][_0x5ca682(0x262)]),_0x2639e2[_0x5ca682(0x28e)]['document'][_0x5ca682(0x2f1)]=_0x4c51bf['sanitizeInput'](_0x2639e2['buyer'][_0x5ca682(0x23d)][_0x5ca682(0x2f1)])),_0x2639e2[_0x5ca682(0x28e)]['phone']&&(_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x322)]['number']=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)]['phone'][_0x5ca682(0x262)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x322)][_0x5ca682(0x293)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)]['phone']['areaCode'])),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)]&&(_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x2a8)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x2a8)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)]['street']=_0x4c51bf['sanitizeInput'](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x190)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x2c4)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x2c4)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x337)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x337)]),_0x2639e2['buyer'][_0x5ca682(0x2d2)]['city']=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)]['address']['city']),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x201)]=_0x4c51bf['sanitizeInput'](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2d2)][_0x5ca682(0x201)]),_0x2639e2[_0x5ca682(0x28e)]['address']['number']=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2['buyer']['address'][_0x5ca682(0x262)])),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)]&&(_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x2a8)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x2a8)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x190)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)]['street']),_0x2639e2[_0x5ca682(0x28e)]['deliveryAddress'][_0x5ca682(0x2c4)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x2c4)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x337)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)]['deliveryAddress']['neighborhood']),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)]['city']=_0x4c51bf['sanitizeInput'](_0x2639e2['buyer'][_0x5ca682(0x2ca)][_0x5ca682(0x244)]),_0x2639e2[_0x5ca682(0x28e)]['deliveryAddress'][_0x5ca682(0x201)]=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x201)]),_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)]['number']=_0x4c51bf[_0x5ca682(0x35f)](_0x2639e2[_0x5ca682(0x28e)][_0x5ca682(0x2ca)][_0x5ca682(0x262)]))),_0x2639e2['payments']&&Array[_0x5ca682(0x2fd)](_0x2639e2[_0x5ca682(0x1d2)])&&(_0x2639e2[_0x5ca682(0x1d2)]=_0x2639e2[_0x5ca682(0x1d2)][_0x5ca682(0x239)](_0x479e2f=>{const _0x5a43d3=_0x5ca682,_0x33a07f={..._0x479e2f};return _0x33a07f[_0x5a43d3(0x301)]&&(_0x33a07f['creditCard']={'cardId':_0x4c51bf[_0x5a43d3(0x35f)](_0x33a07f[_0x5a43d3(0x301)]?.[_0x5a43d3(0x29a)]),'cardNumber':_0x4c51bf[_0x5a43d3(0x35f)](_0x33a07f[_0x5a43d3(0x301)][_0x5a43d3(0x1e9)]),'cvv':_0x4c51bf[_0x5a43d3(0x35f)](_0x33a07f[_0x5a43d3(0x301)]['cvv']),'month':_0x4c51bf[_0x5a43d3(0x35f)](_0x33a07f[_0x5a43d3(0x301)][_0x5a43d3(0x17f)]),'year':_0x4c51bf[_0x5a43d3(0x35f)](_0x33a07f[_0x5a43d3(0x301)]['year']),'holderName':_0x4c51bf[_0x5a43d3(0x35f)](_0x33a07f[_0x5a43d3(0x301)][_0x5a43d3(0x33b)])}),_0x33a07f;})),_0x2639e2['items']&&(_0x2639e2[_0x5ca682(0x16c)]=_0x2639e2[_0x5ca682(0x16c)][_0x5ca682(0x239)](_0x32027b=>({'externalReferenceId':_0x4c51bf['sanitizeInput'](_0x32027b[_0x5ca682(0x232)]),'description':_0x4c51bf['sanitizeInput'](_0x32027b['description']),'name':_0x4c51bf[_0x5ca682(0x35f)](_0x32027b[_0x5ca682(0x1a1)]),'quantity':_0x32027b[_0x5ca682(0x253)],'priceInCents':_0x32027b[_0x5ca682(0x1bb)]}))),_0x2639e2['metadata']&&Array['isArray'](_0x2639e2[_0x5ca682(0x1a9)])&&(_0x2639e2[_0x5ca682(0x1a9)]=_0x2639e2[_0x5ca682(0x1a9)][_0x5ca682(0x239)](_0x4c35d1=>({'key':_0x4c51bf[_0x5ca682(0x35f)](_0x4c35d1[_0x5ca682(0x346)]),'value':_0x4c51bf['sanitizeInput'](_0x4c35d1[_0x5ca682(0x31e)])}))),_0x2639e2;}_0x36cfa4();}catch(_0x3caed4){_0x36cfa4(_0x3caed4);}});},0x11e:(_0x462342,_0x55ffcd,_0x49f798)=>{_0x49f798['a'](_0x462342,async(_0x47c89f,_0xe77728)=>{const _0x493328=a0_0x1694;try{_0x49f798['d'](_0x55ffcd,{'E3':()=>_0x1fc47a,'sI':()=>_0x1d8621,'v$':()=>_0x1b9246});var _0x376891=_0x49f798(0x1ac),_0x36ec4d=_0x49f798(0x1d5),_0x7b5d28=_0x49f798(0x392),_0x5b4226=_0x49f798(0x125),_0x1de565=_0x49f798(0x18f),_0x130475=_0x49f798(0x224),_0x3ff7d1=_0x49f798(0x1b3),_0x2e2e16=_0x47c89f([_0x7b5d28,_0x5b4226,_0x1de565]);[_0x7b5d28,_0x5b4226,_0x1de565]=_0x2e2e16[_0x493328(0x296)]?(await _0x2e2e16)():_0x2e2e16;const _0x1d8621={'ALLOWED_DOMAINS':[_0x493328(0x1a3),_0x493328(0x237),'app.easyflow.digital'],'MAX_REQUESTS_PER_MINUTE':0x64,'REQUEST_TIMEOUT':0x7530,'DEBUG_PROTECTION':!0x1,'PRODUCTION_MODE':!0x0,'ALLOW_IFRAME':!0x0};class _0x5932a0{static[_0x493328(0x1d4)](){const _0xa058ce=_0x493328;this[_0xa058ce(0x30c)](),this['checkIframe'](),this[_0xa058ce(0x15b)](),this[_0xa058ce(0x1ea)]();}static[_0x493328(0x30c)](){const _0x147d90=_0x493328;_0x147d90(0x2ef)!==location[_0x147d90(0x33e)]&&'localhost'!==location['hostname']&&_0x147d90(0x2cc)!==location[_0x147d90(0x20e)]&&(0x0,_0x376891['S'])(new _0x36ec4d['Vx'](_0x147d90(0x1fd)));}static[_0x493328(0x285)](){const _0x3b87ce=_0x493328;_0x1d8621['ALLOW_IFRAME']||window[_0x3b87ce(0x1c2)]===window['self']||(0x0,_0x376891['S'])(new _0x36ec4d['Vx'](_0x3b87ce(0x287)));}static['checkCryptoAPI'](){const _0x5deccf=_0x493328;window['crypto']&&window[_0x5deccf(0x2a5)][_0x5deccf(0x153)]||(0x0,_0x376891['S'])(new _0x36ec4d['Vx'](_0x5deccf(0x30a)));}static['checkTrustedTypes'](){const _0x145737=_0x493328;window[_0x145737(0x228)]||console['warn']('Trusted\x20Types\x20not\x20supported\x20-\x20security\x20reduced');}}class _0x1b9246{constructor(){const _0x5eab53=_0x493328;this[_0x5eab53(0x1ac)]=new Map(),this[_0x5eab53(0x297)]=_0x1d8621[_0x5eab53(0x1c9)],this['timeWindow']=0xea60;}async[_0x493328(0x278)](_0x469f22){const _0x550213=_0x493328,_0x263488=Date[_0x550213(0x155)](),_0x1bc8c8=(this[_0x550213(0x1ac)][_0x550213(0x2ed)](_0x469f22)||[])[_0x550213(0x319)](_0xff1b67=>_0x263488-_0xff1b67<this[_0x550213(0x210)]);if(_0x1bc8c8[_0x550213(0x2e3)]>=this[_0x550213(0x297)]){const _0x591900=this[_0x550213(0x2bc)](_0x1bc8c8[_0x550213(0x2e3)]);await new Promise(_0x3fa81d=>setTimeout(_0x3fa81d,_0x591900)),(0x0,_0x376891['S'])(new _0x36ec4d['Vx'](_0x550213(0x283)));}_0x1bc8c8[_0x550213(0x223)](_0x263488),this[_0x550213(0x1ac)]['set'](_0x469f22,_0x1bc8c8);}['calculateBackoff'](_0x452d02){const _0x36dac3=_0x493328;return Math[_0x36dac3(0x1b3)](0x3e8*Math[_0x36dac3(0x21c)](0x2,_0x452d02-this[_0x36dac3(0x297)]),0x7530);}}class _0x1d8dcf{static[_0x493328(0x18c)](){const _0x5d174d=_0x493328;return crypto['getRandomValues'](new Uint8Array(0x10))[_0x5d174d(0x31f)]((_0x568e51,_0x4b7fdc)=>_0x568e51+_0x4b7fdc[_0x5d174d(0x2e8)](0x10)['padStart'](0x2,'0'),'');}}function _0x3b5f8c(){const _0x5cb466=_0x493328;return(0x0,_0x130475['B'])()??Math['random']()[_0x5cb466(0x2e8)](0xa)[_0x5cb466(0x34e)](0xa);}function _0x4547d5(_0x24b03c=_0x3b5f8c()){const _0xcf5c20=_0x493328;return{'Content-Security-Policy':_0xcf5c20(0x15c),'X-Frame-Options':_0x1d8621['ALLOW_IFRAME']?_0xcf5c20(0x2ab):_0xcf5c20(0x179),'X-Content-Type-Options':_0xcf5c20(0x20f),'Referrer-Policy':'strict-origin-when-cross-origin','X-XSS-Protection':_0xcf5c20(0x362),'Strict-Transport-Security':_0xcf5c20(0x261),'Permissions-Policy':_0xcf5c20(0x35c),'X-Download-Options':_0xcf5c20(0x28a),'X-Permitted-Cross-Domain-Policies':'none','x-fingerprint-id':_0x24b03c,'X-Nonce':_0x1d8dcf[_0xcf5c20(0x18c)](),'X-Timestamp':Date[_0xcf5c20(0x155)]()[_0xcf5c20(0x2e8)](),'X-Client-Version':_0x3ff7d1[_0xcf5c20(0x27c)],'X-Client-Platform':_0xcf5c20(0x28f)};}class _0x1fc47a{static async[_0x493328(0x326)](_0x99060a,_0x41b0c6={'method':_0x493328(0x24b),'headers':{},'body':null,'mode':_0x493328(0x2ac),'cache':_0x493328(0x284),'credentials':_0x493328(0x333),'redirect':_0x493328(0x252),'referrerPolicy':_0x493328(0x1f2)}){const _0x58f9f0=_0x493328,_0x24c435=new AbortController(),_0x452189=setTimeout(()=>_0x24c435[_0x58f9f0(0x208)](),_0x1d8621[_0x58f9f0(0x2fb)]);try{const _0x5071cf=_0x5b4226['I']['sanitizeHeaders'](_0x41b0c6[_0x58f9f0(0x30e)]),_0x3f20d6=(0x0,_0x1de565['lF'])(_0x4547d5(_0x5071cf[_0x58f9f0(0x26b)]),_0x5071cf),_0x59f173=_0x7b5d28['D'][_0x58f9f0(0x349)](_0x99060a),_0x2b8868={..._0x41b0c6,'headers':_0x3f20d6,'signal':_0x24c435[_0x58f9f0(0x1e6)]},_0x400a78=await fetch(_0x59f173,_0x2b8868);return clearTimeout(_0x452189),_0x400a78['ok']||(0x0,_0x376891['S'])(new _0x36ec4d['Dr']('HTTP\x20'+_0x400a78[_0x58f9f0(0x2ec)]+':\x20'+_0x400a78[_0x58f9f0(0x230)])),_0x400a78;}catch(_0x31bf81){console[_0x58f9f0(0x25e)]('Error\x20in\x20SecureFetch:',_0x31bf81),clearTimeout(_0x452189),(0x0,_0x376891['S'])(_0x31bf81);}}}if(_0x493328(0x2c2)!=typeof window)try{_0x5932a0[_0x493328(0x1d4)]();}catch(_0x4d0385){console['error'](_0x493328(0x25a),_0x4d0385[_0x493328(0x1b6)]);}_0xe77728();}catch(_0x261ca5){_0xe77728(_0x261ca5);}});},0x18f:(_0xacbf08,_0x11a599,_0x6257d5)=>{_0x6257d5['a'](_0xacbf08,async(_0x41a76f,_0x456dc6)=>{const _0x192c83=a0_0x1694;try{_0x6257d5['d'](_0x11a599,{'Go':()=>_0x3ae817,'KB':()=>_0x2072f4,'dP':()=>_0xcf53b3,'gB':()=>_0x3a3c4c,'gx':()=>_0x25de04,'lF':()=>_0xc4a6e,'ns':()=>_0x14ed6c,'wB':()=>_0x1e9bd7});var _0x1cb37b=_0x6257d5(0x3b7),_0x118685=_0x41a76f([_0x1cb37b]);function _0x3ae817(_0x4afe99){const _0x39c865=a0_0x1694;return JSON[_0x39c865(0x24f)](JSON[_0x39c865(0x320)](_0x4afe99));}function _0x25de04(_0x13fa53){const _0x5debec=a0_0x1694,_0x4f571f=_0x3ae817(_0x13fa53);return _0x4f571f['payments']=_0x4f571f['payments'][_0x5debec(0x239)](_0x3b75f1=>_0x3b75f1[_0x5debec(0x336)]===_0x1cb37b['u'][_0x5debec(0x1d8)]?{..._0x3b75f1,'rawCreditCard':_0x3b75f1[_0x5debec(0x301)]}:_0x3b75f1),_0x4f571f;}function _0x1e9bd7(_0xd3861b,_0x403237,_0x4bffc3){const _0x6b5303=a0_0x1694;if(!_0xd3861b?.['payments']?.[_0x6b5303(0x2e3)])return null;return _0xd3861b[_0x6b5303(0x1d2)][_0x6b5303(0x2e1)](_0x261dd5=>_0x261dd5['method']===_0x403237&&_0x4bffc3(_0x261dd5))||null;}function _0x3a3c4c(_0x2915ce){const _0x14bcf3=a0_0x1694;return _0x2915ce[_0x14bcf3(0x248)]&&(_0x2915ce[_0x14bcf3(0x248)][_0x14bcf3(0x1dd)]||_0x2915ce[_0x14bcf3(0x248)][_0x14bcf3(0x194)]);}function _0x14ed6c(_0x3a5be6){const _0x1753c2=a0_0x1694;return _0x3a5be6[_0x1753c2(0x1e0)]&&(_0x3a5be6[_0x1753c2(0x1e0)][_0x1753c2(0x1d0)]||_0x3a5be6['bankBillet']['line']||_0x3a5be6[_0x1753c2(0x1e0)][_0x1753c2(0x1c4)]);}function _0xc4a6e(_0x48459b={},_0x59ae5e={}){return{..._0x48459b,..._0x59ae5e};}function _0x2072f4(_0x5e9630,_0x30dcb5,_0x4d0db1={}){const _0xaaab4f=a0_0x1694,_0x16ac0c=new URL('/api/proxy?target='+_0x30dcb5,_0x5e9630)[_0xaaab4f(0x2e8)](),_0x4b80c0=new URLSearchParams(_0x4d0db1)[_0xaaab4f(0x2e8)]();return _0x4b80c0?_0x16ac0c+'&'+_0x4b80c0:_0x16ac0c;}function _0xcf53b3({hardwareOnly:_0xf130e0=!0x1,enableWebgl:_0x397fb9=!0x1,debug:_0xfe80d3=!0x1}={}){const _0xf8e365=a0_0x1694,{cookieEnabled:_0x272891,deviceMemory:_0x5f0d7b,doNotTrack:_0x250c0a,hardwareConcurrency:_0x1ba68d,language:_0xf93add,languages:_0x4e44e8,maxTouchPoints:_0x3861e3,platform:_0x305dc4,userAgent:_0x50a533,vendor:_0x1a7b88}=window[_0xf8e365(0x216)];let {width:_0x395a8,height:_0x3da858,colorDepth:_0x3e71af,pixelDepth:_0x4244d2}=window[_0xf8e365(0x1ec)];_0x395a8=0x3e8,_0x3da858=0x3e8;const _0x465fe9=new Date()[_0xf8e365(0x271)](),_0x4f4b34=Intl[_0xf8e365(0x1be)]()[_0xf8e365(0x154)]()[_0xf8e365(0x193)],_0x289338=_0xf8e365(0x298)in window,_0x41fae9=window[_0xf8e365(0x340)],_0x5dee1e=_0x16ec68(_0xfe80d3),_0x3a676a=_0x397fb9?_0x27b4e1(_0xfe80d3):void 0x0,_0x5a5bc9=_0x397fb9?_0x4cb9c8():void 0x0,_0x5a950f=_0xf130e0?JSON[_0xf8e365(0x320)]({'canvas':_0x5dee1e,'colorDepth':_0x3e71af,'deviceMemory':_0x5f0d7b,'devicePixelRatio':_0x41fae9,'hardwareConcurrency':_0x1ba68d,'height':_0x3da858,'maxTouchPoints':_0x3861e3,'pixelDepth':_0x4244d2,'platform':_0x305dc4,'touchSupport':_0x289338,'webgl':_0x3a676a,'webglInfo':_0x5a5bc9,'width':_0x395a8}):JSON[_0xf8e365(0x320)]({'canvas':_0x5dee1e,'colorDepth':_0x3e71af,'cookieEnabled':_0x272891,'deviceMemory':_0x5f0d7b,'devicePixelRatio':_0x41fae9,'doNotTrack':_0x250c0a,'hardwareConcurrency':_0x1ba68d,'height':_0x3da858,'language':_0xf93add,'languages':_0x4e44e8,'maxTouchPoints':_0x3861e3,'pixelDepth':_0x4244d2,'platform':_0x305dc4,'timezone':_0x4f4b34,'timezoneOffset':_0x465fe9,'touchSupport':_0x289338,'userAgent':_0x50a533,'vendor':_0x1a7b88,'webgl':_0x3a676a,'webglInfo':_0x5a5bc9,'width':_0x395a8}),_0x287cde=JSON[_0xf8e365(0x320)](_0x5a950f,null,0x4);return _0xfe80d3&&console[_0xf8e365(0x25e)](_0xf8e365(0x2e5),_0x287cde),_0x36f546(_0x287cde);}function _0x16ec68(_0x5ef939){const _0x400823=a0_0x1694;try{const _0x50bcd5=document['createElement']('canvas'),_0xc7b4c5=_0x50bcd5[_0x400823(0x185)]('2d'),_0x4359c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ`~1!2@3#4$5%6^7&8*9(0)-_=+[{]}|;:\x27,<.>/?';_0xc7b4c5[_0x400823(0x26e)]=_0x400823(0x1c2),_0xc7b4c5['font']=_0x400823(0x245),_0xc7b4c5[_0x400823(0x26e)]='alphabetic',_0xc7b4c5[_0x400823(0x250)]=_0x400823(0x29e),_0xc7b4c5[_0x400823(0x26c)](0x7d,0x1,0x3e,0x14),_0xc7b4c5[_0x400823(0x250)]='#069',_0xc7b4c5['fillText'](_0x4359c2,0x2,0xf),_0xc7b4c5[_0x400823(0x250)]='rgba(102,\x20204,\x200,\x200.7)',_0xc7b4c5['fillText'](_0x4359c2,0x4,0x11);const _0x312762=_0x50bcd5['toDataURL']();return _0x5ef939?document[_0x400823(0x2f3)]['appendChild'](_0x50bcd5):_0xc7b4c5['clearRect'](0x0,0x0,_0x50bcd5['width'],_0x50bcd5[_0x400823(0x204)]),_0x36f546(_0x312762);}catch{return null;}}function _0x27b4e1(_0xfdc071){const _0x5b93e0=a0_0x1694;try{const _0x34c036=document[_0x5b93e0(0x295)](_0x5b93e0(0x258)),_0x451875=_0x34c036[_0x5b93e0(0x185)](_0x5b93e0(0x288));_0x34c036[_0x5b93e0(0x17a)]=0x100,_0x34c036['height']=0x80;const _0x4860a8=_0x5b93e0(0x2b8),_0x200347=_0x5b93e0(0x226),_0x20cdc7=_0x451875[_0x5b93e0(0x32c)]();_0x451875[_0x5b93e0(0x263)](_0x451875['ARRAY_BUFFER'],_0x20cdc7);const _0x26b6f7=new Float32Array([-0.2,-0.9,0x0,0.4,-0.26,0x0,0x0,0.7321,0x0]);_0x451875[_0x5b93e0(0x269)](_0x451875[_0x5b93e0(0x238)],_0x26b6f7,_0x451875[_0x5b93e0(0x2e4)]),_0x20cdc7[_0x5b93e0(0x21e)]=0x3,_0x20cdc7[_0x5b93e0(0x20c)]=0x3;const _0x114503=_0x451875[_0x5b93e0(0x23b)](),_0x615569=_0x451875[_0x5b93e0(0x213)](_0x451875[_0x5b93e0(0x184)]);_0x451875[_0x5b93e0(0x300)](_0x615569,_0x4860a8),_0x451875['compileShader'](_0x615569);const _0xaca026=_0x451875[_0x5b93e0(0x213)](_0x451875[_0x5b93e0(0x182)]);_0x451875['shaderSource'](_0xaca026,_0x200347),_0x451875['compileShader'](_0xaca026),_0x451875[_0x5b93e0(0x1b7)](_0x114503,_0x615569),_0x451875['attachShader'](_0x114503,_0xaca026),_0x451875[_0x5b93e0(0x22d)](_0x114503),_0x451875[_0x5b93e0(0x291)](_0x114503),_0x114503['vertexPosAttrib']=_0x451875[_0x5b93e0(0x21f)](_0x114503,'attrVertex'),_0x114503[_0x5b93e0(0x313)]=_0x451875[_0x5b93e0(0x323)](_0x114503,'uniformOffset'),_0x451875[_0x5b93e0(0x1b5)](_0x114503[_0x5b93e0(0x27d)]),_0x451875['vertexAttribPointer'](_0x114503['vertexPosAttrib'],_0x20cdc7['itemSize'],_0x451875['FLOAT'],!0x1,0x0,0x0),_0x451875[_0x5b93e0(0x2c6)](_0x114503[_0x5b93e0(0x313)],0x1,0x1),_0x451875['drawArrays'](_0x451875[_0x5b93e0(0x215)],0x0,_0x20cdc7[_0x5b93e0(0x20c)]);const _0x3b3758=new Uint8Array(_0x34c036['width']*_0x34c036[_0x5b93e0(0x204)]*0x4);_0x451875[_0x5b93e0(0x2d9)](0x0,0x0,_0x34c036['width'],_0x34c036[_0x5b93e0(0x204)],_0x451875[_0x5b93e0(0x2b2)],_0x451875[_0x5b93e0(0x1c7)],_0x3b3758);const _0x14b427=JSON[_0x5b93e0(0x320)](_0x3b3758)['replace'](/,?"[0-9]+":/g,'');return _0xfdc071?document[_0x5b93e0(0x2f3)][_0x5b93e0(0x28d)](_0x34c036):_0x451875[_0x5b93e0(0x221)](_0x451875['COLOR_BUFFER_BIT']|_0x451875[_0x5b93e0(0x19c)]|_0x451875[_0x5b93e0(0x357)]),_0x36f546(_0x14b427);}catch{return null;}}function _0x4cb9c8(){const _0x1558ae=a0_0x1694;try{const _0x5892f6=document['createElement']('canvas')['getContext'](_0x1558ae(0x288));return{'VERSION':_0x5892f6[_0x1558ae(0x2af)](_0x5892f6[_0x1558ae(0x2d8)]),'SHADING_LANGUAGE_VERSION':_0x5892f6[_0x1558ae(0x2af)](_0x5892f6[_0x1558ae(0x164)]),'VENDOR':_0x5892f6[_0x1558ae(0x2af)](_0x5892f6['VENDOR']),'SUPORTED_EXTENSIONS':_0x5892f6[_0x1558ae(0x34f)]()};}catch{return null;}}function _0x36f546(_0x3b370f){const _0x2cc97b=a0_0x1694,_0x492f32=0x3&_0x3b370f[_0x2cc97b(0x2e3)],_0x114e83=_0x3b370f[_0x2cc97b(0x2e3)]-_0x492f32,_0xb6657a=0xcc9e2d51,_0x2e25b7=0x1b873593;let _0x267cbc,_0x598972,_0x2e2e34;for(let _0x14f3c7=0x0;_0x14f3c7<_0x114e83;_0x14f3c7++)_0x2e2e34=0xff&_0x3b370f['charCodeAt'](_0x14f3c7)|(0xff&_0x3b370f[_0x2cc97b(0x275)](++_0x14f3c7))<<0x8|(0xff&_0x3b370f['charCodeAt'](++_0x14f3c7))<<0x10|(0xff&_0x3b370f[_0x2cc97b(0x275)](++_0x14f3c7))<<0x18,++_0x14f3c7,_0x2e2e34=(0xffff&_0x2e2e34)*_0xb6657a+(((_0x2e2e34>>>0x10)*_0xb6657a&0xffff)<<0x10)&0xffffffff,_0x2e2e34=_0x2e2e34<<0xf|_0x2e2e34>>>0x11,_0x2e2e34=(0xffff&_0x2e2e34)*_0x2e25b7+(((_0x2e2e34>>>0x10)*_0x2e25b7&0xffff)<<0x10)&0xffffffff,_0x267cbc^=_0x2e2e34,_0x267cbc=_0x267cbc<<0xd|_0x267cbc>>>0x13,_0x598972=0x5*(0xffff&_0x267cbc)+((0x5*(_0x267cbc>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x267cbc=0x6b64+(0xffff&_0x598972)+((0xe654+(_0x598972>>>0x10)&0xffff)<<0x10);const _0x2cdb90=_0x114e83-0x1;switch(_0x2e2e34=0x0,_0x492f32){case 0x3:_0x2e2e34^=(0xff&_0x3b370f[_0x2cc97b(0x275)](_0x2cdb90+0x2))<<0x10;break;case 0x2:_0x2e2e34^=(0xff&_0x3b370f[_0x2cc97b(0x275)](_0x2cdb90+0x1))<<0x8;break;case 0x1:_0x2e2e34^=0xff&_0x3b370f[_0x2cc97b(0x275)](_0x2cdb90);}return _0x2e2e34=(0xffff&_0x2e2e34)*_0xb6657a+(((_0x2e2e34>>>0x10)*_0xb6657a&0xffff)<<0x10)&0xffffffff,_0x2e2e34=_0x2e2e34<<0xf|_0x2e2e34>>>0x11,_0x2e2e34=(0xffff&_0x2e2e34)*_0x2e25b7+(((_0x2e2e34>>>0x10)*_0x2e25b7&0xffff)<<0x10)&0xffffffff,_0x267cbc^=_0x2e2e34,_0x267cbc^=_0x3b370f['length'],_0x267cbc^=_0x267cbc>>>0x10,_0x267cbc=0x85ebca6b*(0xffff&_0x267cbc)+((0x85ebca6b*(_0x267cbc>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x267cbc^=_0x267cbc>>>0xd,_0x267cbc=0xc2b2ae35*(0xffff&_0x267cbc)+((0xc2b2ae35*(_0x267cbc>>>0x10)&0xffff)<<0x10)&0xffffffff,_0x267cbc^=_0x267cbc>>>0x10,_0x267cbc>>>0x0;}_0x1cb37b=(_0x118685[_0x192c83(0x296)]?(await _0x118685)():_0x118685)[0x0],_0x456dc6();}catch(_0x50999c){_0x456dc6(_0x50999c);}});},0x392:(_0x486b79,_0x29c0f9,_0x3e4137)=>{_0x3e4137['a'](_0x486b79,async(_0x424cc0,_0xa1c110)=>{const _0x56f8e8=a0_0x1694;try{_0x3e4137['d'](_0x29c0f9,{'D':()=>_0x1114d0});var _0x5b852b=_0x3e4137(0x1d5),_0x3d9227=_0x3e4137(0x1eb),_0x4c03dc=_0x3e4137(0x1ac),_0x2db9e3=_0x3e4137(0x11e),_0x126f73=_0x424cc0([_0x2db9e3]);_0x2db9e3=(_0x126f73['then']?(await _0x126f73)():_0x126f73)[0x0];class _0x1114d0{static[_0x56f8e8(0x1ee)](_0x2801d,_0x3e32c2){const _0x3291e1=_0x56f8e8;return _0x2801d&&_0x3291e1(0x2c1)==typeof _0x2801d||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x3e32c2+_0x3291e1(0x1ce),0x190,_0x5b852b['OQ'][_0x3291e1(0x1c1)])),!0x0;}static[_0x56f8e8(0x1d3)](_0x51e9e6,_0x477c77){const _0x40af2f=_0x56f8e8;return _0x51e9e6&&_0x40af2f(0x260)==typeof _0x51e9e6&&!Array[_0x40af2f(0x2fd)](_0x51e9e6)||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x477c77+'\x20must\x20be\x20a\x20valid\x20object',0x190,_0x5b852b['OQ'][_0x40af2f(0x1c1)])),!0x0;}static[_0x56f8e8(0x2fd)](_0x30abab,_0x4f3809){const _0x17a3d2=_0x56f8e8;return Array[_0x17a3d2(0x2fd)](_0x30abab)&&0x0!==_0x30abab[_0x17a3d2(0x2e3)]||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x4f3809+_0x17a3d2(0x181),0x190,_0x5b852b['OQ'][_0x17a3d2(0x1c1)])),!0x0;}static['validatePaymentMethod'](_0x2df04b){const _0x53a69d=_0x56f8e8;switch(_0x1114d0[_0x53a69d(0x1d3)](_0x2df04b,_0x53a69d(0x220)),_0x1114d0['isString'](_0x2df04b[_0x53a69d(0x336)],_0x53a69d(0x304)),Object[_0x53a69d(0x1ab)](_0x3d9227['uq'])[_0x53a69d(0x290)](_0x2df04b['method'])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x53a69d(0x176)+_0x2df04b[_0x53a69d(0x336)],0x190,_0x5b852b['OQ'][_0x53a69d(0x31d)])),_0x2df04b['method']){case _0x3d9227['uq'][_0x53a69d(0x1d8)]:_0x2df04b[_0x53a69d(0x301)]||((0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x53a69d(0x20d),0x190,_0x5b852b['OQ'][_0x53a69d(0x186)])),_0x1114d0[_0x53a69d(0x198)](_0x2df04b[_0x53a69d(0x301)]));case _0x3d9227['uq'][_0x53a69d(0x29b)]:case _0x3d9227['uq'][_0x53a69d(0x264)]:}}static['validateCreditCardData'](_0x45d9ed){const _0xbdbc67=_0x56f8e8;_0x1114d0[_0xbdbc67(0x1d3)](_0x45d9ed,_0xbdbc67(0x301));if([_0xbdbc67(0x1e9),_0xbdbc67(0x33b),'month',_0xbdbc67(0x168),'cvv'][_0xbdbc67(0x18d)](_0x82c15b=>{_0x1114d0['isString'](_0x45d9ed[_0x82c15b],'creditCard.'+_0x82c15b);}),!/^\d{13,19}$/[_0xbdbc67(0x1f7)](_0x45d9ed[_0xbdbc67(0x1e9)]))throw new _0x5b852b['yI'](_0xbdbc67(0x325));if(!/^\d{3,4}$/[_0xbdbc67(0x1f7)](_0x45d9ed[_0xbdbc67(0x338)]))throw new _0x5b852b['yI'](_0xbdbc67(0x2a9));if(!/^\d{1,2}$/['test'](_0x45d9ed['month'])||parseInt(_0x45d9ed[_0xbdbc67(0x17f)])<0x1||parseInt(_0x45d9ed[_0xbdbc67(0x17f)])>0xc)throw new _0x5b852b['yI'](_0xbdbc67(0x25f));if(!/^\d{4}$/[_0xbdbc67(0x1f7)](_0x45d9ed[_0xbdbc67(0x168)]))throw new _0x5b852b['yI'](_0xbdbc67(0x171));if(!_0x45d9ed[_0xbdbc67(0x33b)]||_0x45d9ed['holderName']['length']<0x2)throw new _0x5b852b['yI']('Invalid\x20holder\x20name');}static['validateOrderData'](_0x47fa9c){const _0x4efc7c=_0x56f8e8;_0x1114d0[_0x4efc7c(0x1d3)](_0x47fa9c,_0x4efc7c(0x280)),_0x1114d0[_0x4efc7c(0x273)](_0x47fa9c[_0x4efc7c(0x28e)]),_0x1114d0['isArray'](_0x47fa9c[_0x4efc7c(0x1d2)],_0x4efc7c(0x2de)),_0x47fa9c[_0x4efc7c(0x1d2)]['forEach']((_0x1639d8,_0x14df24)=>{const _0x30d3f2=_0x4efc7c;try{_0x1114d0[_0x30d3f2(0x35e)](_0x1639d8),_0x1114d0['isBiggerThanZero'](_0x1639d8['numberInstallments'],_0x30d3f2(0x257));}catch(_0x59a353){(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x30d3f2(0x242)+_0x14df24+':\x20'+_0x59a353['message'],_0x59a353[_0x30d3f2(0x2ec)],_0x59a353['code']));}});}static[_0x56f8e8(0x273)](_0x53d4e2){const _0x1bb1c5=_0x56f8e8;_0x1114d0[_0x1bb1c5(0x1d3)](_0x53d4e2,_0x1bb1c5(0x28e)),_0x1114d0[_0x1bb1c5(0x1ee)](_0x53d4e2[_0x1bb1c5(0x1a1)],_0x1bb1c5(0x217)),_0x1114d0['isString'](_0x53d4e2[_0x1bb1c5(0x1e2)],_0x1bb1c5(0x23f)),_0x1114d0[_0x1bb1c5(0x1d3)](_0x53d4e2['phone'],_0x1bb1c5(0x218)),_0x1114d0['isString'](_0x53d4e2[_0x1bb1c5(0x322)]['areaCode'],'buyer.phone.areaCode'),_0x1114d0[_0x1bb1c5(0x1ee)](_0x53d4e2[_0x1bb1c5(0x322)][_0x1bb1c5(0x308)],_0x1bb1c5(0x16b)),_0x1114d0[_0x1bb1c5(0x25b)](_0x53d4e2[_0x1bb1c5(0x322)][_0x1bb1c5(0x262)],_0x1bb1c5(0x159)),_0x1114d0[_0x1bb1c5(0x2bd)](_0x53d4e2[_0x1bb1c5(0x322)][_0x1bb1c5(0x23e)],_0x1bb1c5(0x1dc)),_0x1114d0[_0x1bb1c5(0x1d3)](_0x53d4e2[_0x1bb1c5(0x23d)],_0x1bb1c5(0x2cd)),_0x1114d0[_0x1bb1c5(0x1ee)](_0x53d4e2[_0x1bb1c5(0x23d)][_0x1bb1c5(0x2f1)],_0x1bb1c5(0x183)),_0x1114d0[_0x1bb1c5(0x25b)](_0x53d4e2[_0x1bb1c5(0x23d)][_0x1bb1c5(0x262)],_0x1bb1c5(0x1ef));}static[_0x56f8e8(0x25b)](_0x268284,_0x4256b8){const _0x272f9b=_0x56f8e8;return _0x272f9b(0x2c1)!=typeof _0x268284&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x4256b8+'\x20must\x20be\x20a\x20string',0x190,_0x5b852b['OQ'][_0x272f9b(0x1c1)])),/^\d+$/[_0x272f9b(0x1f7)](_0x268284)||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x4256b8+_0x272f9b(0x251),0x190,_0x5b852b['OQ'][_0x272f9b(0x1c1)])),!0x0;}static[_0x56f8e8(0x2bd)](_0x32d346,_0x428cf8){const _0x3eb3fb=_0x56f8e8;return'boolean'!=typeof _0x32d346&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x428cf8+_0x3eb3fb(0x35a),0x190,_0x5b852b['OQ'][_0x3eb3fb(0x1c1)])),!0x0;}static[_0x56f8e8(0x1c8)](_0x53220f,_0x2e127d){const _0xe1358a=_0x56f8e8;return(_0xe1358a(0x262)!=typeof _0x53220f||isNaN(_0x53220f))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x2e127d+'\x20must\x20be\x20a\x20valid\x20number',0x190,_0x5b852b['OQ'][_0xe1358a(0x1c1)])),!0x0;}static[_0x56f8e8(0x2ee)](_0x43af1d,_0x7d160f){const _0x24f199=_0x56f8e8;return(!_0x1114d0['isNumber'](_0x43af1d,_0x7d160f)||_0x43af1d<=0x0)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x7d160f+_0x24f199(0x178),0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),!0x0;}static[_0x56f8e8(0x2e0)](_0x104b3b,_0x122524){const _0x17abdc=_0x56f8e8;return _0x1114d0['isNumber'](_0x104b3b,_0x122524)&&Number[_0x17abdc(0x2e0)](_0x104b3b)||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x122524+_0x17abdc(0x167),0x190,_0x5b852b['OQ'][_0x17abdc(0x1c1)])),!0x0;}static[_0x56f8e8(0x349)](_0x3d71b0){const _0x95caeb=_0x56f8e8;try{const _0x1fdb71=new URL(_0x3d71b0);return _0x2db9e3['sI'][_0x95caeb(0x173)][_0x95caeb(0x290)](_0x1fdb71[_0x95caeb(0x20e)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['yI']('Invalid\x20domain')),'https:'!==_0x1fdb71[_0x95caeb(0x33e)]&&(0x0,_0x4c03dc['S'])(new _0x5b852b['yI'](_0x95caeb(0x29c))),_0x1fdb71[_0x95caeb(0x2e8)]();}catch(_0x24b758){(0x0,_0x4c03dc['S'])(new _0x5b852b['yI'](_0x95caeb(0x35b)));}}static[_0x56f8e8(0x17e)](_0x4e42fd){const _0x401b25=_0x56f8e8;_0x1114d0[_0x401b25(0x2fd)](_0x4e42fd,_0x401b25(0x16c)),_0x4e42fd['forEach']((_0x18f7df,_0x4a0b7e)=>{const _0x201e74=_0x401b25;try{_0x1114d0[_0x201e74(0x1d3)](_0x18f7df,_0x201e74(0x272)+_0x4a0b7e+']'),_0x1114d0['isString'](_0x18f7df['name'],_0x201e74(0x272)+_0x4a0b7e+_0x201e74(0x1e8)),_0x1114d0[_0x201e74(0x1c8)](_0x18f7df['priceInCents'],'items['+_0x4a0b7e+_0x201e74(0x24e)),_0x1114d0['isBiggerThanZero'](_0x18f7df[_0x201e74(0x1bb)],_0x201e74(0x272)+_0x4a0b7e+_0x201e74(0x24e)),_0x1114d0[_0x201e74(0x2e0)](_0x18f7df[_0x201e74(0x253)],'items['+_0x4a0b7e+_0x201e74(0x2ae)),_0x1114d0[_0x201e74(0x2ee)](_0x18f7df[_0x201e74(0x253)],'items['+_0x4a0b7e+_0x201e74(0x2ae)),void 0x0!==_0x18f7df[_0x201e74(0x177)]&&(_0x1114d0[_0x201e74(0x1ee)](_0x18f7df['description'],'items['+_0x4a0b7e+_0x201e74(0x1e1)),_0x18f7df[_0x201e74(0x177)][_0x201e74(0x2e3)]>0xc8&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x201e74(0x272)+_0x4a0b7e+_0x201e74(0x249),0x190,_0x5b852b['OQ'][_0x201e74(0x1c1)])));}catch(_0x190621){(0x0,_0x4c03dc['S'])(new _0x5b852b['J7']('Invalid\x20items\x20at\x20index\x20'+_0x4a0b7e+':\x20'+_0x190621[_0x201e74(0x1b6)],_0x190621[_0x201e74(0x2ec)],_0x190621[_0x201e74(0x274)]));}});}static[_0x56f8e8(0x2cf)](_0x3fa9c6,_0x46992f=_0x56f8e8(0x1e2)){const _0x2aeeef=_0x56f8e8;return _0x1114d0[_0x2aeeef(0x1ee)](_0x3fa9c6,_0x46992f),(/^[^\s@]+@[^\s@]+\.[^\s@]+$/[_0x2aeeef(0x1f7)](_0x3fa9c6)||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x46992f+_0x2aeeef(0x1bd),0x190,_0x5b852b['OQ'][_0x2aeeef(0x1c1)])),_0x3fa9c6['length']>0xfe&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x46992f+_0x2aeeef(0x1df),0x190,_0x5b852b['OQ'][_0x2aeeef(0x1c1)])),(_0x3fa9c6[_0x2aeeef(0x290)]('..')||_0x3fa9c6['startsWith']('.')||_0x3fa9c6[_0x2aeeef(0x2c9)]('.'))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x46992f+_0x2aeeef(0x341),0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),!0x0);}static[_0x56f8e8(0x318)](_0x4caa1c,_0x5c3744=_0x56f8e8(0x2f0)){const _0x5d0221=_0x56f8e8;_0x1114d0[_0x5d0221(0x1ee)](_0x4caa1c,_0x5c3744);const _0x3402f2=_0x4caa1c[_0x5d0221(0x19b)](/\D/g,'');0xb!==_0x3402f2['length']&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x5c3744+'\x20must\x20have\x20exactly\x2011\x20digits',0x190,_0x5b852b['OQ'][_0x5d0221(0x1c1)])),/^(\d)\1{10}$/[_0x5d0221(0x1f7)](_0x3402f2)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x5c3744+'\x20is\x20invalid\x20(all\x20digits\x20are\x20the\x20same)',0x190,_0x5b852b['OQ'][_0x5d0221(0x1c1)]));let _0x115de5=0x0;for(let _0x4580ff=0x0;_0x4580ff<0x9;_0x4580ff++)_0x115de5+=parseInt(_0x3402f2[_0x5d0221(0x234)](_0x4580ff))*(0xa-_0x4580ff);let _0xcd4c45=0xa*_0x115de5%0xb;0xa!==_0xcd4c45&&0xb!==_0xcd4c45||(_0xcd4c45=0x0),_0xcd4c45!==parseInt(_0x3402f2['charAt'](0x9))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x5c3744+_0x5d0221(0x282),0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),_0x115de5=0x0;for(let _0x20264f=0x0;_0x20264f<0xa;_0x20264f++)_0x115de5+=parseInt(_0x3402f2[_0x5d0221(0x234)](_0x20264f))*(0xb-_0x20264f);return _0xcd4c45=0xa*_0x115de5%0xb,0xa!==_0xcd4c45&&0xb!==_0xcd4c45||(_0xcd4c45=0x0),_0xcd4c45!==parseInt(_0x3402f2[_0x5d0221(0x234)](0xa))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x5c3744+_0x5d0221(0x282),0x190,_0x5b852b['OQ'][_0x5d0221(0x1c1)])),!0x0;}static['validateCNPJ'](_0x59ee6c,_0x2b4a5b=_0x56f8e8(0x321)){const _0x3df5c3=_0x56f8e8;_0x1114d0[_0x3df5c3(0x1ee)](_0x59ee6c,_0x2b4a5b);const _0x491bbb=_0x59ee6c[_0x3df5c3(0x19b)](/\D/g,'');0xe!==_0x491bbb[_0x3df5c3(0x2e3)]&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x2b4a5b+'\x20must\x20have\x20exactly\x2014\x20digits',0x190,_0x5b852b['OQ'][_0x3df5c3(0x1c1)])),/^(\d)\1{13}$/[_0x3df5c3(0x1f7)](_0x491bbb)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x2b4a5b+_0x3df5c3(0x21a),0x190,_0x5b852b['OQ'][_0x3df5c3(0x1c1)]));const _0x17eec8=[0x5,0x4,0x3,0x2,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2],_0x46814e=[0x6,0x5,0x4,0x3,0x2,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2];let _0x46243b=0x0;for(let _0x1f4101=0x0;_0x1f4101<0xc;_0x1f4101++)_0x46243b+=parseInt(_0x491bbb['charAt'](_0x1f4101))*_0x17eec8[_0x1f4101];let _0x2f7e6c=_0x46243b%0xb;(_0x2f7e6c<0x2?0x0:0xb-_0x2f7e6c)!==parseInt(_0x491bbb['charAt'](0xc))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x2b4a5b+'\x20is\x20invalid',0x190,_0x5b852b['OQ'][_0x3df5c3(0x1c1)])),_0x46243b=0x0;for(let _0x127c9b=0x0;_0x127c9b<0xd;_0x127c9b++)_0x46243b+=parseInt(_0x491bbb[_0x3df5c3(0x234)](_0x127c9b))*_0x46814e[_0x127c9b];return _0x2f7e6c=_0x46243b%0xb,(_0x2f7e6c<0x2?0x0:0xb-_0x2f7e6c)!==parseInt(_0x491bbb[_0x3df5c3(0x234)](0xd))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x2b4a5b+'\x20is\x20invalid',0x190,_0x5b852b['OQ'][_0x3df5c3(0x1c1)])),!0x0;}static[_0x56f8e8(0x347)](_0x524dcf,_0x352094=_0x56f8e8(0x23d)){const _0x277870=_0x56f8e8;return _0x1114d0[_0x277870(0x1d3)](_0x524dcf,_0x352094),_0x1114d0['isString'](_0x524dcf[_0x277870(0x2f1)],_0x352094+'.type'),_0x1114d0[_0x277870(0x1ee)](_0x524dcf[_0x277870(0x262)],_0x352094+_0x277870(0x195)),[_0x277870(0x2f0),_0x277870(0x321)][_0x277870(0x290)](_0x524dcf[_0x277870(0x2f1)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x352094+_0x277870(0x266),0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),/^\d+$/[_0x277870(0x1f7)](_0x524dcf[_0x277870(0x262)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x352094+_0x277870(0x219),0x190,_0x5b852b['OQ'][_0x277870(0x1c1)])),_0x277870(0x2f0)===_0x524dcf[_0x277870(0x2f1)]?_0x1114d0['validateCPF'](_0x524dcf['number'],_0x352094+_0x277870(0x195)):_0x1114d0[_0x277870(0x2fe)](_0x524dcf[_0x277870(0x262)],_0x352094+_0x277870(0x195)),!0x0;}static[_0x56f8e8(0x166)](_0x23ef2e,_0x1bb4b9=_0x56f8e8(0x322)){const _0xccf176=_0x56f8e8;return _0x1114d0[_0xccf176(0x1d3)](_0x23ef2e,_0x1bb4b9),_0x1114d0[_0xccf176(0x1ee)](_0x23ef2e['areaCode'],_0x1bb4b9+_0xccf176(0x247)),_0x1114d0[_0xccf176(0x1ee)](_0x23ef2e['ddd'],_0x1bb4b9+_0xccf176(0x305)),_0x1114d0[_0xccf176(0x1ee)](_0x23ef2e[_0xccf176(0x262)],_0x1bb4b9+'.number'),/^\+\d{1,4}$/[_0xccf176(0x1f7)](_0x23ef2e[_0xccf176(0x293)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1bb4b9+_0xccf176(0x156),0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),/^\d{2}$/[_0xccf176(0x1f7)](_0x23ef2e['ddd'])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1bb4b9+_0xccf176(0x1f3),0x190,_0x5b852b['OQ'][_0xccf176(0x1c1)])),/^\d{8,9}$/[_0xccf176(0x1f7)](_0x23ef2e[_0xccf176(0x262)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1bb4b9+_0xccf176(0x1fe),0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),_0xccf176(0x2e7)!=typeof _0x23ef2e[_0xccf176(0x23e)]&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1bb4b9+_0xccf176(0x1fa),0x190,_0x5b852b['OQ'][_0xccf176(0x1c1)])),!0x0;}static[_0x56f8e8(0x246)](_0x2218f2,_0x1d8ef2=_0x56f8e8(0x2d2)){const _0x536984=_0x56f8e8;return _0x1114d0[_0x536984(0x1d3)](_0x2218f2,_0x1d8ef2),(['zipCode',_0x536984(0x190),'neighborhood',_0x536984(0x244),'state',_0x536984(0x262)]['forEach'](_0x397bcf=>{_0x1114d0['isString'](_0x2218f2[_0x397bcf],_0x1d8ef2+'.'+_0x397bcf);}),_0x2218f2[_0x536984(0x2c4)]&&_0x1114d0[_0x536984(0x1ee)](_0x2218f2[_0x536984(0x2c4)],_0x1d8ef2+_0x536984(0x22a)),/^\d{8}$/[_0x536984(0x1f7)](_0x2218f2[_0x536984(0x2a8)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1d8ef2+'.zipCode\x20must\x20be\x20exactly\x208\x20digits',0x190,_0x5b852b['OQ'][_0x536984(0x1c1)])),(_0x2218f2['street'][_0x536984(0x2e3)]<0x3||_0x2218f2[_0x536984(0x190)][_0x536984(0x2e3)]>0x64)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1d8ef2+'.street\x20must\x20be\x20between\x203\x20and\x20100\x20characters',0x190,_0x5b852b['OQ'][_0x536984(0x1c1)])),(_0x2218f2['neighborhood']['length']<0x2||_0x2218f2[_0x536984(0x337)]['length']>0x32)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1d8ef2+_0x536984(0x359),0x190,_0x5b852b['OQ'][_0x536984(0x1c1)])),(_0x2218f2['city'][_0x536984(0x2e3)]<0x2||_0x2218f2['city'][_0x536984(0x2e3)]>0x32)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1d8ef2+_0x536984(0x1de),0x190,_0x5b852b['OQ'][_0x536984(0x1c1)]))),(['AC','AL','AP','AM','BA','CE','DF','ES','GO','MA','MT','MS','MG','PA','PB','PR','PE','PI','RJ','RN','RS','RO','RR','SC','SP','SE','TO']['includes'](_0x2218f2['state'][_0x536984(0x1d6)]())||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1d8ef2+_0x536984(0x229),0x190,_0x5b852b['OQ'][_0x536984(0x1c1)])),/^\d+[A-Za-z]?$/[_0x536984(0x1f7)](_0x2218f2[_0x536984(0x262)])||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x1d8ef2+_0x536984(0x2d3),0x190,_0x5b852b['OQ'][_0x536984(0x1c1)])),!0x0);}static[_0x56f8e8(0x270)](_0x2191d1,_0x99414b=_0x56f8e8(0x1bc)){const _0x53addd=_0x56f8e8;return _0x1114d0['isObject'](_0x2191d1,_0x99414b),_0x1114d0['isString'](_0x2191d1['name'],_0x99414b+_0x53addd(0x32b)),_0x1114d0['validateEmail'](_0x2191d1[_0x53addd(0x1e2)],_0x99414b+'.email'),_0x1114d0[_0x53addd(0x347)](_0x2191d1[_0x53addd(0x23d)],_0x99414b+_0x53addd(0x316)),_0x1114d0[_0x53addd(0x166)](_0x2191d1['phone'],_0x99414b+_0x53addd(0x15a)),(_0x2191d1[_0x53addd(0x1a1)][_0x53addd(0x2e3)]<0x2||_0x2191d1[_0x53addd(0x1a1)][_0x53addd(0x2e3)]>0x64)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x99414b+_0x53addd(0x197),0x190,_0x5b852b['OQ'][_0x53addd(0x1c1)])),_0x2191d1[_0x53addd(0x2d2)]&&_0x1114d0['validateAddress'](_0x2191d1[_0x53addd(0x2d2)],_0x99414b+_0x53addd(0x1d9)),_0x2191d1[_0x53addd(0x2ca)]&&_0x1114d0[_0x53addd(0x246)](_0x2191d1['deliveryAddress'],_0x99414b+'.deliveryAddress'),!0x0;}static[_0x56f8e8(0x33d)](_0x3e7a23,_0x1789f2,_0x3c1986=_0x56f8e8(0x1b1)){const _0x34a1b6=_0x56f8e8;return _0x1114d0[_0x34a1b6(0x1c8)](_0x3e7a23,_0x3c1986+_0x34a1b6(0x18e)),_0x1114d0[_0x34a1b6(0x1c8)](_0x1789f2,_0x3c1986+_0x34a1b6(0x361)),_0x3e7a23<0x1&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x3c1986+'.page\x20must\x20be\x20greater\x20than\x200',0x190,_0x5b852b['OQ'][_0x34a1b6(0x1c1)])),(_0x1789f2<0x1||_0x1789f2>0x64)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x3c1986+_0x34a1b6(0x222),0x190,_0x5b852b['OQ'][_0x34a1b6(0x1c1)])),!0x0;}static[_0x56f8e8(0x15d)](_0x42096c,_0x14616c=_0x56f8e8(0x18a)){const _0x49a001=_0x56f8e8;return _0x1114d0[_0x49a001(0x1ee)](_0x42096c,_0x14616c),/^[a-zA-Z0-9-]{3,50}$/['test'](_0x42096c)||(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x14616c+_0x49a001(0x1c5),0x190,_0x5b852b['OQ'][_0x49a001(0x1c1)])),(_0x42096c[_0x49a001(0x16e)]('-')||_0x42096c['endsWith']('-'))&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x14616c+_0x49a001(0x202),0x190,_0x5b852b['OQ'][_0x49a001(0x1c1)])),_0x42096c[_0x49a001(0x290)]('--')&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x14616c+_0x49a001(0x2eb),0x190,_0x5b852b['OQ'][_0x49a001(0x1c1)])),!0x0;}static[_0x56f8e8(0x169)](_0x11bc52,_0x41247c=_0x56f8e8(0x26f)){const _0x45228c=_0x56f8e8;return _0x1114d0[_0x45228c(0x1ee)](_0x11bc52,_0x41247c),_0x11bc52[_0x45228c(0x2e3)]<0x10&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x41247c+_0x45228c(0x27b),0x190,_0x5b852b['OQ'][_0x45228c(0x1c1)])),_0x11bc52[_0x45228c(0x2e3)]>0x800&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x41247c+'\x20is\x20too\x20long\x20(maximum\x202048\x20characters)',0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F]/[_0x45228c(0x1f7)](_0x11bc52)&&(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x41247c+'\x20contains\x20invalid\x20control\x20characters',0x190,_0x5b852b['OQ']['VALIDATION_ERROR'])),!0x0;}static[_0x56f8e8(0x1f9)](_0x352f76,_0x38ea67=_0x56f8e8(0x19e)){const _0x21b3f3=_0x56f8e8;_0x1114d0['isString'](_0x352f76,_0x38ea67);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i['test'](_0x352f76)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x21b3f3(0x1f7)](_0x352f76)||/^[0-9a-f]{24}$/i[_0x21b3f3(0x1f7)](_0x352f76))return!0x0;(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x38ea67+'\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId',0x190,_0x5b852b['OQ'][_0x21b3f3(0x1c1)]));}static[_0x56f8e8(0x187)](_0xf3d386,_0x177389=_0x56f8e8(0x1b9)){const _0x2d05f0=_0x56f8e8;_0x1114d0[_0x2d05f0(0x1ee)](_0xf3d386,_0x177389);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x2d05f0(0x1f7)](_0xf3d386)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x2d05f0(0x1f7)](_0xf3d386)||/^[0-9a-f]{24}$/i[_0x2d05f0(0x1f7)](_0xf3d386))return!0x0;(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x177389+_0x2d05f0(0x172),0x190,_0x5b852b['OQ']['VALIDATION_ERROR']));}static['validateCustomerId'](_0x5a7ccd,_0x92fbcf=_0x56f8e8(0x2f2)){const _0x217bea=_0x56f8e8;_0x1114d0[_0x217bea(0x1ee)](_0x5a7ccd,_0x92fbcf);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i[_0x217bea(0x1f7)](_0x5a7ccd)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i['test'](_0x5a7ccd)||/^[0-9a-f]{24}$/i[_0x217bea(0x1f7)](_0x5a7ccd))return!0x0;(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x92fbcf+'\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId',0x190,_0x5b852b['OQ'][_0x217bea(0x1c1)]));}static[_0x56f8e8(0x289)](_0x168ceb,_0x13fc1f=_0x56f8e8(0x363)){const _0x1c065a=_0x56f8e8;_0x1114d0[_0x1c065a(0x1ee)](_0x168ceb,_0x13fc1f);if(/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i['test'](_0x168ceb)||/^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i['test'](_0x168ceb)||/^[0-9a-f]{24}$/i[_0x1c065a(0x1f7)](_0x168ceb))return!0x0;(0x0,_0x4c03dc['S'])(new _0x5b852b['J7'](_0x13fc1f+'\x20must\x20be\x20a\x20valid\x20UUID\x20v4,\x20UUID\x20v7,\x20or\x20MongoDB\x20ObjectId',0x190,_0x5b852b['OQ'][_0x1c065a(0x1c1)]));}}_0xa1c110();}catch(_0x5e808b){_0xa1c110(_0x5e808b);}});},0x3b7:(_0x4226e3,_0x4c812e,_0x693a55)=>{_0x693a55['a'](_0x4226e3,async(_0x78092b,_0x4a8484)=>{const _0x333cea=a0_0x1694;try{_0x693a55['d'](_0x4c812e,{'F':()=>_0x2c88fd,'default':()=>_0x325dae,'u':()=>_0x16120a['uq']});var _0x57cfdf=_0x693a55(0x334),_0x278edb=_0x693a55(0x125),_0x2e8ea4=_0x693a55(0x392),_0x3a1316=_0x693a55(0x11e),_0x3bec00=_0x693a55(0x300),_0x16120a=_0x693a55(0x1eb),_0x5b3097=_0x693a55(0x18f),_0x2707a1=_0x693a55(0x1ac),_0x3cf5c8=_0x693a55(0x1d5),_0x1bd05f=_0x693a55(0x184),_0x459857=_0x78092b([_0x57cfdf,_0x278edb,_0x2e8ea4,_0x3a1316,_0x5b3097,_0x1bd05f]);[_0x57cfdf,_0x278edb,_0x2e8ea4,_0x3a1316,_0x5b3097,_0x1bd05f]=_0x459857['then']?(await _0x459857)():_0x459857;let _0x3303fb='2.1.30';try{const _0x4dc208=await Promise['resolve']()[_0x333cea(0x296)](_0x693a55[_0x333cea(0x200)](_0x693a55,0x1b3));_0x3303fb=_0x4dc208['SDK_VERSION'];}catch(_0x14fa7f){try{if(_0x333cea(0x2c2)!=typeof process&&process[_0x333cea(0x348)]&&process[_0x333cea(0x348)][_0x333cea(0x1d1)]){const _0x1273cd=await _0x693a55['e'](0xaf)['then'](_0x693a55['t'][_0x333cea(0x200)](_0x693a55,0xaf,0x13)),_0x35e32c=(await _0x693a55['e'](0x1fb)['then'](_0x693a55['t']['bind'](_0x693a55,0x1fb,0x13)))[_0x333cea(0x2f5)](process[_0x333cea(0x360)](),'package.json'),_0x458c5c=JSON['parse'](_0x1273cd[_0x333cea(0x1a7)](_0x35e32c,_0x333cea(0x2df)));_0x3303fb=_0x458c5c[_0x333cea(0x191)];}}catch(_0x32e072){console[_0x333cea(0x1cb)](_0x333cea(0x22c),_0x3303fb);}}class _0x2c88fd{static [_0x333cea(0x191)]=_0x3303fb;#e={};constructor(_0x26faae){const _0x11c0ca=_0x333cea;if(this[_0x11c0ca(0x330)]=new _0x3a1316['v$'](),this['logger']=new _0x3bec00['K'](_0x3a1316['sI'][_0x11c0ca(0x34c)]?'error':'info'),this['config']=_0x11c0ca(0x2c1)==typeof _0x26faae?{'businessId':_0x26faae}:{..._0x26faae},!this[_0x11c0ca(0x327)]['businessId'])throw new _0x3cf5c8['Vx'](_0x11c0ca(0x2b0));_0x2e8ea4['D'][_0x11c0ca(0x15d)](this[_0x11c0ca(0x327)][_0x11c0ca(0x18a)],'businessId'),this[_0x11c0ca(0x327)][_0x11c0ca(0x18a)]=_0x278edb['I']['sanitizeInput'](this[_0x11c0ca(0x327)][_0x11c0ca(0x18a)]),this[_0x11c0ca(0x1af)]['info'](_0x11c0ca(0x30f));}static[_0x333cea(0x276)](_0x3f804c){return new _0x1bd05f['UQ'](_0x3f804c);}['on'](_0x459795,_0x46b672){this.#e[_0x459795]||(this.#e[_0x459795]=[]),this.#e[_0x459795]['push'](_0x46b672);}[_0x333cea(0x1db)](_0x19f7a1,_0x955630){const _0x480a08=_0x333cea;if(this.#e[_0x19f7a1]){const _0x2be5ad=this.#e[_0x19f7a1][_0x480a08(0x203)](_0x955630);_0x2be5ad>-0x1&&this.#e[_0x19f7a1][_0x480a08(0x355)](_0x2be5ad,0x1);}}#t(_0x466ec9,_0x4861c1){const _0x9bd105=_0x333cea;this.#e[_0x466ec9]&&this.#e[_0x466ec9][_0x9bd105(0x18d)](_0xa6b335=>{const _0x397426=_0x9bd105;try{_0xa6b335(_0x4861c1);}catch(_0x3f7a46){console['error'](_0x397426(0x31b)+_0x466ec9+':',_0x3f7a46);}});}async[_0x333cea(0x1c6)](_0x536f94,_0x1a57eb={}){const _0x17e30d=_0x333cea;await this[_0x17e30d(0x330)][_0x17e30d(0x278)](_0x17e30d(0x1c6));const _0x28afc3=_0x278edb['I'][_0x17e30d(0x35f)](_0x536f94);if(!_0x28afc3)throw new _0x3cf5c8['yI'](_0x17e30d(0x17d));_0x2e8ea4['D']['validateOfferId'](_0x28afc3,_0x17e30d(0x1b9));try{const _0x527245=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x17e30d(0x206)],{'offerId':_0x28afc3},_0x1a57eb);return _0x527245[_0x17e30d(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x527245[_0x17e30d(0x252)])),_0x527245['data']||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x17e30d(0x292))),_0x527245[_0x17e30d(0x280)];}catch(_0x1db928){this['logger'][_0x17e30d(0x252)](_0x17e30d(0x2db),{'offerId':_0x28afc3,'error':_0x1db928[_0x17e30d(0x1b6)]}),(0x0,_0x2707a1['S'])(_0x1db928);}}async['placeOrder'](_0x186add,_0x51c9ea,_0x5164f9={}){const _0x37c106=_0x333cea;await this[_0x37c106(0x330)][_0x37c106(0x278)](_0x37c106(0x205));const _0x455eaf=_0x278edb['I'][_0x37c106(0x35f)](_0x186add);if(!_0x455eaf)throw new _0x3cf5c8['yI']('Invalid\x20offer\x20ID');_0x2e8ea4['D']['validateOfferId'](_0x455eaf,'offerId'),_0x2e8ea4['D'][_0x37c106(0x2d4)](_0x51c9ea),_0x51c9ea[_0x37c106(0x28e)]&&_0x2e8ea4['D'][_0x37c106(0x270)](_0x51c9ea[_0x37c106(0x28e)],_0x37c106(0x15e));const _0x2df331=(0x0,_0x278edb['Y'])(_0x51c9ea);try{const _0x3a89e8=(0x0,_0x5b3097['gx'])(_0x2df331),_0x4a918f=await this[_0x37c106(0x1c6)](_0x455eaf,_0x5164f9);_0x4a918f?.[_0x37c106(0x16c)]?.[0x0]?.['id']||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI']('Invalid\x20offer:\x20no\x20items\x20found'));const _0x3d8a38={..._0x3a89e8,'businessId':this[_0x37c106(0x327)]['businessId'],'offerItems':[{'quantity':0x1,'offerItemId':_0x4a918f['items'][0x0]['id']}]},_0x5c441b=await(0x0,_0x57cfdf['U'])(_0x16120a['dW']['PLACE_ORDER'],_0x3d8a38,_0x5164f9);return _0x5c441b[_0x37c106(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x5c441b[_0x37c106(0x252)])),_0x5c441b['data']?.[_0x37c106(0x19e)]||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x37c106(0x33f))),this.#t(_0x37c106(0x312),{'orderId':_0x5c441b[_0x37c106(0x280)]['orderId'],'offerId':_0x455eaf,'data':_0x3a89e8}),_0x5c441b['data'][_0x37c106(0x19e)];}catch(_0x2034d7){this[_0x37c106(0x1af)]['error'](_0x37c106(0x2e2),{'offerId':_0x455eaf,'error':_0x2034d7[_0x37c106(0x1b6)]}),(0x0,_0x2707a1['S'])(_0x2034d7);}}async['getOrder'](_0x32e047,_0x41966b={}){const _0x3005ab=_0x333cea;_0x2e8ea4['D'][_0x3005ab(0x1f9)](_0x32e047,_0x3005ab(0x19e));const _0x568aa1=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x3005ab(0x317)],{'orderId':_0x32e047},_0x41966b);return _0x568aa1&&_0x568aa1[_0x3005ab(0x280)]||null;}async[_0x333cea(0x33c)](_0x14aa62,_0x3a5afd={}){const _0x53371c=_0x333cea;await this['rateLimiter'][_0x53371c(0x278)]('getBankBillet');const _0x5e1d5b=_0x278edb['I'][_0x53371c(0x35f)](_0x14aa62);if(!_0x5e1d5b)throw new _0x3cf5c8['yI']('Invalid\x20order\x20ID');try{const _0x53d9a1=await this[_0x53371c(0x334)](_0x5e1d5b,_0x3a5afd),_0x178593=(0x0,_0x5b3097['wB'])(_0x53d9a1,_0x16120a['uq'][_0x53371c(0x264)],_0x5b3097['ns']);return _0x178593?.['bankBillet']||null;}catch(_0x3dafc0){this[_0x53371c(0x1af)][_0x53371c(0x252)](_0x53371c(0x236),{'orderId':_0x5e1d5b,'error':_0x3dafc0['message']}),(0x0,_0x2707a1['S'])(_0x3dafc0);}}async[_0x333cea(0x158)](_0x4528be,_0x2eeb03={}){const _0x4ad843=_0x333cea;await this[_0x4ad843(0x330)]['checkLimit']('charge'),_0x2e8ea4['D'][_0x4ad843(0x2d4)](_0x4528be),_0x2e8ea4['D'][_0x4ad843(0x17e)](_0x4528be[_0x4ad843(0x16c)]);const _0x2e02a1=(0x0,_0x278edb['Y'])(_0x4528be);try{const _0x3e1916=(0x0,_0x5b3097['gx'])(_0x2e02a1),_0x4409e1=await(0x0,_0x57cfdf['U'])(_0x16120a['dW']['CHARGE'],{..._0x3e1916,'businessId':this[_0x4ad843(0x327)]['businessId']},_0x2eeb03);return _0x4409e1[_0x4ad843(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x4409e1['error'])),_0x4409e1[_0x4ad843(0x280)]?.[_0x4ad843(0x19e)]||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x4ad843(0x33f))),this.#t(_0x4ad843(0x1bf),{'orderId':_0x4409e1[_0x4ad843(0x280)][_0x4ad843(0x19e)],'data':_0x3e1916}),_0x4409e1[_0x4ad843(0x280)][_0x4ad843(0x19e)];}catch(_0x145b66){console['log'](_0x4ad843(0x2b4),_0x145b66),this[_0x4ad843(0x1af)][_0x4ad843(0x252)](_0x4ad843(0x212),{'error':_0x145b66}),(0x0,_0x2707a1['S'])(_0x145b66);}}async['encrypt'](_0x49c6ed,_0x122a59={}){const _0x43ac19=_0x333cea;await this['rateLimiter'][_0x43ac19(0x278)]('encrypt'),_0x2e8ea4['D']['validateCreditCardData'](_0x49c6ed);const _0x306938=_0x278edb['I']['sanitizeCreditCard'](_0x49c6ed);try{const _0x394d5b=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x43ac19(0x17c)],_0x306938,_0x122a59);return _0x394d5b[_0x43ac19(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x394d5b[_0x43ac19(0x252)])),_0x394d5b['data']?.[_0x43ac19(0x25c)]||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x43ac19(0x314))),_0x394d5b[_0x43ac19(0x280)][_0x43ac19(0x25c)];}catch(_0x4652ac){throw this[_0x43ac19(0x1af)][_0x43ac19(0x252)](_0x43ac19(0x22f),{'error':_0x4652ac['message']}),_0x4652ac;}}async['getPix'](_0x2b45d0,_0x43881d={}){const _0x370924=_0x333cea;await this[_0x370924(0x330)][_0x370924(0x278)](_0x370924(0x335));const _0x3f7c3e=_0x278edb['I'][_0x370924(0x35f)](_0x2b45d0);if(!_0x3f7c3e)throw new _0x3cf5c8['yI']('Invalid\x20order\x20ID');try{const _0x42a241=await this[_0x370924(0x334)](_0x3f7c3e,_0x43881d),_0x11d1e1=(0x0,_0x5b3097['wB'])(_0x42a241,_0x16120a['uq'][_0x370924(0x29b)],_0x5b3097['gB']);return _0x11d1e1?.[_0x370924(0x248)]||null;}catch(_0x3de98c){throw this['logger'][_0x370924(0x252)](_0x370924(0x2f8),{'orderId':_0x3f7c3e,'error':_0x3de98c[_0x370924(0x1b6)]}),_0x3de98c;}}async[_0x333cea(0x23c)](_0x4fe2c6,_0x1b9d21={}){const _0x119570=_0x333cea;await this[_0x119570(0x330)][_0x119570(0x278)]('createCustomer'),_0x4fe2c6&&'object'==typeof _0x4fe2c6||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x119570(0x25d))),_0x2e8ea4['D'][_0x119570(0x270)](_0x4fe2c6,'customer');const _0x1275d1={..._0x278edb['I']['sanitizeInput'](_0x4fe2c6),'businessId':this[_0x119570(0x327)][_0x119570(0x18a)]};try{const _0x20c3af=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x119570(0x214)],_0x1275d1,_0x1b9d21);return _0x20c3af[_0x119570(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x20c3af[_0x119570(0x252)])),_0x20c3af[_0x119570(0x280)]||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x119570(0x2f9))),this.#t(_0x119570(0x27f),_0x20c3af['data']),_0x20c3af[_0x119570(0x280)]&&_0x20c3af[_0x119570(0x280)][_0x119570(0x1bc)];}catch(_0x5badcd){this[_0x119570(0x1af)][_0x119570(0x252)](_0x119570(0x1ca),{'error':_0x5badcd[_0x119570(0x1b6)]}),(0x0,_0x2707a1['S'])(_0x5badcd);}}async[_0x333cea(0x24c)](_0x3ad104,_0x43db0f={}){const _0x174c01=_0x333cea;await this[_0x174c01(0x330)][_0x174c01(0x278)]('getCustomer');const _0x5b7037=_0x278edb['I'][_0x174c01(0x35f)](_0x3ad104);_0x5b7037||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x174c01(0x2f6))),_0x2e8ea4['D']['validateCustomerId'](_0x5b7037,_0x174c01(0x2f2));try{const _0x388902=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x174c01(0x1a8)],{'customerId':_0x5b7037,'businessId':this['config']['businessId']},_0x43db0f);return _0x388902['error']&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x388902['error'])),_0x388902['data']||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI']('Customer\x20not\x20found')),_0x388902['data']&&_0x388902['data'][_0x174c01(0x1bc)];}catch(_0x2be8ac){this[_0x174c01(0x1af)][_0x174c01(0x252)]('Failed\x20to\x20get\x20customer',{'customerId':_0x5b7037,'error':_0x2be8ac[_0x174c01(0x1b6)]}),(0x0,_0x2707a1['S'])(_0x2be8ac);}}async[_0x333cea(0x352)](_0x252793,_0x1b32b8,_0x482051={}){const _0x2257f9=_0x333cea;await this['rateLimiter']['checkLimit']('updateCustomer');const _0xad226c=_0x278edb['I'][_0x2257f9(0x35f)](_0x252793);_0xad226c||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x2257f9(0x2f6))),_0x1b32b8&&_0x2257f9(0x260)==typeof _0x1b32b8||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI']('Customer\x20update\x20data\x20is\x20required'));const _0xc9c5c4=_0x278edb['I'][_0x2257f9(0x35f)](_0x1b32b8),_0x517051={'customerId':_0xad226c,'businessId':this[_0x2257f9(0x327)][_0x2257f9(0x18a)],..._0xc9c5c4};try{const _0x3f243c=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x2257f9(0x162)],_0x517051,_0x482051);return _0x3f243c[_0x2257f9(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x3f243c[_0x2257f9(0x252)])),_0x3f243c[_0x2257f9(0x280)]||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr']('Invalid\x20response:\x20no\x20update\x20confirmation\x20returned')),_0x3f243c['data'];}catch(_0xbb3128){this['logger'][_0x2257f9(0x252)](_0x2257f9(0x225),{'customerId':_0xad226c,'error':_0xbb3128[_0x2257f9(0x1b6)]}),(0x0,_0x2707a1['S'])(_0xbb3128);}}async[_0x333cea(0x27e)](_0x1ce90a,_0x2f200a,_0x7cd235={}){const _0x3315b5=_0x333cea;await this['rateLimiter'][_0x3315b5(0x278)](_0x3315b5(0x27e));const _0x25b218=_0x278edb['I'][_0x3315b5(0x35f)](_0x1ce90a),_0x1423b3=_0x278edb['I'][_0x3315b5(0x35f)](_0x2f200a);_0x25b218||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x3315b5(0x2f6))),_0x1423b3||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI']('Invalid\x20credit\x20card\x20token')),_0x2e8ea4['D'][_0x3315b5(0x16d)](_0x25b218,_0x3315b5(0x2f2)),_0x2e8ea4['D'][_0x3315b5(0x169)](_0x1423b3,_0x3315b5(0x26f));const _0x5c7908={'customerId':_0x25b218,'businessId':this['config'][_0x3315b5(0x18a)],'creditCardToken':_0x1423b3};try{const _0x5339cd=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x3315b5(0x34d)],_0x5c7908,_0x7cd235);return _0x5339cd[_0x3315b5(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x5339cd['error'])),_0x5339cd['data']?.[_0x3315b5(0x301)]?.['id']||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x3315b5(0x2a1))),_0x5339cd[_0x3315b5(0x280)]&&_0x5339cd[_0x3315b5(0x280)][_0x3315b5(0x301)];}catch(_0x143385){this[_0x3315b5(0x1af)][_0x3315b5(0x252)](_0x3315b5(0x18f),{'customerId':_0x25b218,'error':_0x143385['message']}),(0x0,_0x2707a1['S'])(_0x143385);}}async[_0x333cea(0x328)](_0x32c943,_0x46f2e1,_0x11d17c={}){const _0x475b94=_0x333cea;await this[_0x475b94(0x330)][_0x475b94(0x278)](_0x475b94(0x328));const _0x41fb6b=_0x278edb['I'][_0x475b94(0x35f)](_0x32c943),_0x29927f=_0x278edb['I']['sanitizeInput'](_0x46f2e1);_0x41fb6b||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x475b94(0x2f6))),_0x29927f||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x475b94(0x2a6)));const _0x583c96={'customerId':_0x41fb6b,'businessId':this[_0x475b94(0x327)][_0x475b94(0x18a)],'creditCardId':_0x29927f};try{const _0x649bf5=await(0x0,_0x57cfdf['U'])(_0x16120a['dW'][_0x475b94(0x28b)],_0x583c96,_0x11d17c);return _0x649bf5[_0x475b94(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x649bf5['error'])),_0x649bf5['data']||(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x475b94(0x2b5))),_0x649bf5[_0x475b94(0x280)];}catch(_0xad1828){this[_0x475b94(0x1af)][_0x475b94(0x252)](_0x475b94(0x30d),{'customerId':_0x41fb6b,'creditCardId':_0x29927f,'error':_0xad1828['message']}),(0x0,_0x2707a1['S'])(_0xad1828);}}async[_0x333cea(0x1fb)](_0x452476,_0x1a852e,_0x58e972={}){const _0x39d6dd=_0x333cea;await this['rateLimiter'][_0x39d6dd(0x278)](_0x39d6dd(0x1fb));const _0x59a989=_0x278edb['I']['sanitizeInput'](_0x452476),_0x25a68a=_0x278edb['I'][_0x39d6dd(0x35f)](_0x1a852e);_0x59a989||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x39d6dd(0x2f6))),_0x25a68a||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x39d6dd(0x2a6)));const _0x2df16c={'customerId':_0x59a989,'businessId':this[_0x39d6dd(0x327)][_0x39d6dd(0x18a)],'creditCardId':_0x25a68a};try{const _0x6324ea=await(0x0,_0x57cfdf['U'])(_0x16120a['dW']['GET_CREDIT_CARD'],_0x2df16c,_0x58e972);return _0x6324ea[_0x39d6dd(0x252)]&&(0x0,_0x2707a1['S'])(new _0x3cf5c8['Dr'](_0x6324ea[_0x39d6dd(0x252)])),_0x6324ea[_0x39d6dd(0x280)]||(0x0,_0x2707a1['S'])(new _0x3cf5c8['yI'](_0x39d6dd(0x2c5))),_0x6324ea[_0x39d6dd(0x280)]&&_0x6324ea[_0x39d6dd(0x280)][_0x39d6dd(0x301)];}catch(_0x51696b){this[_0x39d6dd(0x1af)][_0x39d6dd(0x252)](_0x39d6dd(0x344),{'customerId':_0x59a989,'creditCardId':_0x25a68a,'error':_0x51696b[_0x39d6dd(0x1b6)]}),(0x0,_0x2707a1['S'])(_0x51696b);}}}if(_0x333cea(0x2c2)!=typeof window)try{window[_0x333cea(0x1c3)]=_0x2c88fd,window[_0x333cea(0x27a)]={'configure':_0x568a25=>{const _0x46d7b3=_0x333cea;if(!_0x568a25[_0x46d7b3(0x18a)])throw new Error(_0x46d7b3(0x2ff));const _0x886eab=new _0x2c88fd(_0x568a25);return Object[_0x46d7b3(0x207)](window['easyflowSDK'])[_0x46d7b3(0x18d)](_0xbc728=>{const _0x2123f7=_0x46d7b3;_0x2123f7(0x31a)!==_0xbc728&&_0x2123f7(0x191)!==_0xbc728&&_0x2123f7(0x29d)!==_0xbc728&&_0x2123f7(0x1d4)!==_0xbc728&&_0x2123f7(0x21d)==typeof window[_0x2123f7(0x27a)][_0xbc728]&&(window['easyflowSDK'][_0xbc728]=(..._0x412ac9)=>_0x886eab[_0xbc728](..._0x412ac9));}),console[_0x46d7b3(0x25e)]('Easyflow\x20SDK\x20configured\x20successfully\x20with\x20businessId:',_0x568a25[_0x46d7b3(0x18a)]),!0x0;},'on':(_0x110829,_0x16a808)=>{const _0x12afeb=_0x333cea;throw new Error(_0x12afeb(0x354));},'off':(_0x524d5c,_0x5699cc)=>{throw new Error('Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first');},'createCustomer':_0x56e1fa=>{const _0x2a2af8=_0x333cea;throw new Error(_0x2a2af8(0x354));},'getCustomer':_0x468065=>{throw new Error('Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first');},'updateCustomer':(_0x16c95a,_0x46d716)=>{const _0x36159c=_0x333cea;throw new Error(_0x36159c(0x354));},'placeOrder':(_0x5ecf85,_0xbbb17b)=>{const _0x5aff8f=_0x333cea;throw new Error(_0x5aff8f(0x354));},'charge':_0x102450=>{const _0x3c410d=_0x333cea;throw new Error(_0x3c410d(0x354));},'validate':{'email':_0x1790d8=>_0x2e8ea4['D'][_0x333cea(0x2cf)](_0x1790d8),'cpf':_0x280b66=>_0x2e8ea4['D'][_0x333cea(0x318)](_0x280b66),'cnpj':_0x302677=>_0x2e8ea4['D'][_0x333cea(0x2fe)](_0x302677),'phone':_0x282f72=>_0x2e8ea4['D'][_0x333cea(0x166)](_0x282f72),'address':_0x41f819=>_0x2e8ea4['D']['validateAddress'](_0x41f819)},'encrypt':_0x5a4050=>{const _0x5f09ab=_0x333cea;throw new Error(_0x5f09ab(0x354));},'getOffer':_0x9093f1=>{throw new Error('Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first');},'getOrder':_0x3f288a=>{const _0x4e2c49=_0x333cea;throw new Error(_0x4e2c49(0x354));},'getPix':_0xa15c30=>{const _0x1ead32=_0x333cea;throw new Error(_0x1ead32(0x354));},'getBankBillet':_0x38c681=>{const _0x5bfa32=_0x333cea;throw new Error(_0x5bfa32(0x354));},'addCreditCard':(_0x29ce43,_0x3c148c)=>{throw new Error('Please\x20call\x20easyflowSDK.configure({\x20businessId:\x20\x22your-id\x22\x20})\x20first');},'removeCreditCard':(_0x5329f6,_0x506b03)=>{const _0x5f1d30=_0x333cea;throw new Error(_0x5f1d30(0x354));},'getCreditCard':(_0x395cb4,_0x2d3b49)=>{const _0x347dfc=_0x333cea;throw new Error(_0x347dfc(0x354));},'version':_0x2c88fd['version'],'PAYMENT_METHODS':_0x16120a['uq']},console[_0x333cea(0x25e)](_0x333cea(0x15f)+_0x3303fb);}catch(_0x2afabe){console[_0x333cea(0x252)](_0x333cea(0x2a3),_0x2afabe[_0x333cea(0x1b6)]);}const _0x325dae=_0x2c88fd;_0x4a8484();}catch(_0x2ba39c){_0x4a8484(_0x2ba39c);}},0x1);},0x1b3:(_0x37aeeb,_0x2d4888,_0x3e861c)=>{const _0x4f6a7c=a0_0x1694;_0x3e861c['r'](_0x2d4888),_0x3e861c['d'](_0x2d4888,{'SDK_VERSION':()=>_0x5072f3});const _0x5072f3=_0x4f6a7c(0x1aa);}},_0x2dc754={};function _0x2690d5(_0x37bf87){const _0x42fd0f=a0_0x1694;var _0x44a7a8=_0x2dc754[_0x37bf87];if(void 0x0!==_0x44a7a8)return _0x44a7a8[_0x42fd0f(0x1e7)];var _0x2293a7=_0x2dc754[_0x37bf87]={'exports':{}};return _0x3a6886[_0x37bf87](_0x2293a7,_0x2293a7['exports'],_0x2690d5),_0x2293a7['exports'];}_0x2690d5['m']=_0x3a6886,_0x338499=_0x2c6542(0x21d)==typeof Symbol?Symbol(_0x2c6542(0x18b)):_0x2c6542(0x281),_0x37be3e=_0x2c6542(0x21d)==typeof Symbol?Symbol(_0x2c6542(0x192)):_0x2c6542(0x2c3),_0xabdc5=_0x2c6542(0x21d)==typeof Symbol?Symbol('webpack\x20error'):'__webpack_error__',_0x3a7485=_0x4b8b7f=>{const _0xac2bf7=_0x2c6542;_0x4b8b7f&&_0x4b8b7f['d']<0x1&&(_0x4b8b7f['d']=0x1,_0x4b8b7f[_0xac2bf7(0x18d)](_0x3046ae=>_0x3046ae['r']--),_0x4b8b7f[_0xac2bf7(0x18d)](_0x134dea=>_0x134dea['r']--?_0x134dea['r']++:_0x134dea()));},_0x2690d5['a']=(_0xa22c93,_0x138533,_0x18982b)=>{const _0x1dcce5=_0x2c6542;var _0x556883;_0x18982b&&((_0x556883=[])['d']=-0x1);var _0x4af688,_0x403b9e,_0xc345b6,_0x1c3b95=new Set(),_0xdbba90=_0xa22c93[_0x1dcce5(0x1e7)],_0x302fdc=new Promise((_0x564162,_0x509a6d)=>{_0xc345b6=_0x509a6d,_0x403b9e=_0x564162;});_0x302fdc[_0x37be3e]=_0xdbba90,_0x302fdc[_0x338499]=_0x510b3a=>(_0x556883&&_0x510b3a(_0x556883),_0x1c3b95[_0x1dcce5(0x18d)](_0x510b3a),_0x302fdc[_0x1dcce5(0x22b)](_0x41ca8b=>{})),_0xa22c93[_0x1dcce5(0x1e7)]=_0x302fdc,_0x138533(_0x23e3ea=>{const _0x2367e0=_0x1dcce5;var _0x5754f0;_0x4af688=(_0x4681ff=>_0x4681ff[_0x2367e0(0x239)](_0x186b44=>{const _0x4f4550=_0x2367e0;if(null!==_0x186b44&&_0x4f4550(0x260)==typeof _0x186b44){if(_0x186b44[_0x338499])return _0x186b44;if(_0x186b44[_0x4f4550(0x296)]){var _0xe2af82=[];_0xe2af82['d']=0x0,_0x186b44['then'](_0x2b8c77=>{_0x411316[_0x37be3e]=_0x2b8c77,_0x3a7485(_0xe2af82);},_0x348d24=>{_0x411316[_0xabdc5]=_0x348d24,_0x3a7485(_0xe2af82);});var _0x411316={};return _0x411316[_0x338499]=_0xae25d3=>_0xae25d3(_0xe2af82),_0x411316;}}var _0x150edd={};return _0x150edd[_0x338499]=_0x4cdbf7=>{},_0x150edd[_0x37be3e]=_0x186b44,_0x150edd;}))(_0x23e3ea);var _0x5a8bf1=()=>_0x4af688[_0x2367e0(0x239)](_0x497ec0=>{if(_0x497ec0[_0xabdc5])throw _0x497ec0[_0xabdc5];return _0x497ec0[_0x37be3e];}),_0x58a466=new Promise(_0x8a710c=>{const _0x2602b0=_0x2367e0;(_0x5754f0=()=>_0x8a710c(_0x5a8bf1))['r']=0x0;var _0x21db8c=_0x573797=>_0x573797!==_0x556883&&!_0x1c3b95[_0x2602b0(0x30b)](_0x573797)&&(_0x1c3b95[_0x2602b0(0x2a0)](_0x573797),_0x573797&&!_0x573797['d']&&(_0x5754f0['r']++,_0x573797[_0x2602b0(0x223)](_0x5754f0)));_0x4af688[_0x2602b0(0x239)](_0x21dbcf=>_0x21dbcf[_0x338499](_0x21db8c));});return _0x5754f0['r']?_0x58a466:_0x5a8bf1();},_0x468615=>(_0x468615?_0xc345b6(_0x302fdc[_0xabdc5]=_0x468615):_0x403b9e(_0xdbba90),_0x3a7485(_0x556883))),_0x556883&&_0x556883['d']<0x0&&(_0x556883['d']=0x0);},_0xa1b726=Object[_0x2c6542(0x34b)]?_0x1552b6=>Object[_0x2c6542(0x34b)](_0x1552b6):_0x88f43f=>_0x88f43f['__proto__'],_0x2690d5['t']=function(_0x2ffbc1,_0x3cf3ce){const _0x548f4d=_0x2c6542;if(0x1&_0x3cf3ce&&(_0x2ffbc1=this(_0x2ffbc1)),0x8&_0x3cf3ce)return _0x2ffbc1;if(_0x548f4d(0x260)==typeof _0x2ffbc1&&_0x2ffbc1){if(0x4&_0x3cf3ce&&_0x2ffbc1[_0x548f4d(0x2e9)])return _0x2ffbc1;if(0x10&_0x3cf3ce&&'function'==typeof _0x2ffbc1[_0x548f4d(0x296)])return _0x2ffbc1;}var _0x48399f=Object[_0x548f4d(0x351)](null);_0x2690d5['r'](_0x48399f);var _0x590ae5={};_0x4381b7=_0x4381b7||[null,_0xa1b726({}),_0xa1b726([]),_0xa1b726(_0xa1b726)];for(var _0x4fc345=0x2&_0x3cf3ce&&_0x2ffbc1;_0x548f4d(0x260)==typeof _0x4fc345&&!~_0x4381b7[_0x548f4d(0x203)](_0x4fc345);_0x4fc345=_0xa1b726(_0x4fc345))Object[_0x548f4d(0x1b2)](_0x4fc345)['forEach'](_0x18fe00=>_0x590ae5[_0x18fe00]=()=>_0x2ffbc1[_0x18fe00]);return _0x590ae5[_0x548f4d(0x199)]=()=>_0x2ffbc1,_0x2690d5['d'](_0x48399f,_0x590ae5),_0x48399f;},_0x2690d5['d']=(_0x263f94,_0x3df143)=>{const _0x59cffb=_0x2c6542;for(var _0x4c6e4c in _0x3df143)_0x2690d5['o'](_0x3df143,_0x4c6e4c)&&!_0x2690d5['o'](_0x263f94,_0x4c6e4c)&&Object[_0x59cffb(0x303)](_0x263f94,_0x4c6e4c,{'enumerable':!0x0,'get':_0x3df143[_0x4c6e4c]});},_0x2690d5['f']={},_0x2690d5['e']=_0x5e8427=>Promise[_0x2c6542(0x24d)](Object['keys'](_0x2690d5['f'])[_0x2c6542(0x31f)]((_0x3e27fd,_0x509a7)=>(_0x2690d5['f'][_0x509a7](_0x5e8427,_0x3e27fd),_0x3e27fd),[])),_0x2690d5['u']=_0x584465=>_0x584465+_0x2c6542(0x2d7),_0x2690d5['g']=(function(){const _0x438e9a=_0x2c6542;if(_0x438e9a(0x260)==typeof globalThis)return globalThis;try{return this||new Function(_0x438e9a(0x26a))();}catch(_0x20da8b){if('object'==typeof window)return window;}}()),_0x2690d5['o']=(_0x3acdb6,_0x54b70e)=>Object[_0x2c6542(0x1c0)][_0x2c6542(0x16a)][_0x2c6542(0x309)](_0x3acdb6,_0x54b70e),_0x715d83={},_0x1209b2=_0x2c6542(0x350),_0x2690d5['l']=(_0x19e525,_0x537713,_0x1d9d08,_0x1ea3ec)=>{const _0x1bc5df=_0x2c6542;if(_0x715d83[_0x19e525])_0x715d83[_0x19e525]['push'](_0x537713);else{var _0x3d274f,_0x186aa5;if(void 0x0!==_0x1d9d08)for(var _0x1a5419=document[_0x1bc5df(0x265)](_0x1bc5df(0x311)),_0xf48988=0x0;_0xf48988<_0x1a5419[_0x1bc5df(0x2e3)];_0xf48988++){var _0x5b690a=_0x1a5419[_0xf48988];if(_0x5b690a[_0x1bc5df(0x34a)](_0x1bc5df(0x2b6))==_0x19e525||_0x5b690a[_0x1bc5df(0x34a)](_0x1bc5df(0x1a6))==_0x1209b2+_0x1d9d08){_0x3d274f=_0x5b690a;break;}}_0x3d274f||(_0x186aa5=!0x0,(_0x3d274f=document[_0x1bc5df(0x295)](_0x1bc5df(0x311)))['charset']=_0x1bc5df(0x188),_0x3d274f[_0x1bc5df(0x233)]=0x78,_0x2690d5['nc']&&_0x3d274f[_0x1bc5df(0x324)](_0x1bc5df(0x2c8),_0x2690d5['nc']),_0x3d274f['setAttribute']('data-webpack',_0x1209b2+_0x1d9d08),_0x3d274f['src']=_0x19e525),_0x715d83[_0x19e525]=[_0x537713];var _0x6d39d8=(_0x16ea1e,_0x69d01e)=>{const _0x37c249=_0x1bc5df;_0x3d274f['onerror']=_0x3d274f['onload']=null,clearTimeout(_0x5ae68b);var _0x832924=_0x715d83[_0x19e525];if(delete _0x715d83[_0x19e525],_0x3d274f['parentNode']&&_0x3d274f[_0x37c249(0x165)][_0x37c249(0x157)](_0x3d274f),_0x832924&&_0x832924[_0x37c249(0x18d)](_0x95a13b=>_0x95a13b(_0x69d01e)),_0x16ea1e)return _0x16ea1e(_0x69d01e);},_0x5ae68b=setTimeout(_0x6d39d8[_0x1bc5df(0x200)](null,void 0x0,{'type':_0x1bc5df(0x233),'target':_0x3d274f}),0x1d4c0);_0x3d274f[_0x1bc5df(0x2b3)]=_0x6d39d8[_0x1bc5df(0x200)](null,_0x3d274f[_0x1bc5df(0x2b3)]),_0x3d274f['onload']=_0x6d39d8[_0x1bc5df(0x200)](null,_0x3d274f[_0x1bc5df(0x2f4)]),_0x186aa5&&document['head']['appendChild'](_0x3d274f);}},_0x2690d5['r']=_0x3d7955=>{const _0x5c6d1b=_0x2c6542;_0x5c6d1b(0x2c2)!=typeof Symbol&&Symbol[_0x5c6d1b(0x2bb)]&&Object[_0x5c6d1b(0x303)](_0x3d7955,Symbol[_0x5c6d1b(0x2bb)],{'value':_0x5c6d1b(0x2a2)}),Object[_0x5c6d1b(0x303)](_0x3d7955,_0x5c6d1b(0x2e9),{'value':!0x0});},((()=>{const _0xdab63c=_0x2c6542;var _0x45f5c4;_0x2690d5['g'][_0xdab63c(0x342)]&&(_0x45f5c4=_0x2690d5['g'][_0xdab63c(0x1ad)]+'');var _0xb709e6=_0x2690d5['g']['document'];if(!_0x45f5c4&&_0xb709e6&&(_0xb709e6[_0xdab63c(0x329)]&&'SCRIPT'===_0xb709e6[_0xdab63c(0x329)][_0xdab63c(0x35d)][_0xdab63c(0x1d6)]()&&(_0x45f5c4=_0xb709e6[_0xdab63c(0x329)][_0xdab63c(0x2b6)]),!_0x45f5c4)){var _0x4e42ff=_0xb709e6[_0xdab63c(0x265)](_0xdab63c(0x311));if(_0x4e42ff[_0xdab63c(0x2e3)]){for(var _0x34600f=_0x4e42ff[_0xdab63c(0x2e3)]-0x1;_0x34600f>-0x1&&(!_0x45f5c4||!/^http(s?):/['test'](_0x45f5c4));)_0x45f5c4=_0x4e42ff[_0x34600f--]['src'];}}if(!_0x45f5c4)throw new Error(_0xdab63c(0x2b1));_0x45f5c4=_0x45f5c4[_0xdab63c(0x19b)](/#.*$/,'')[_0xdab63c(0x19b)](/\?.*$/,'')[_0xdab63c(0x19b)](/\/[^\/]+$/,'/'),_0x2690d5['p']=_0x45f5c4;})()),((()=>{const _0x90b1f7=_0x2c6542;var _0x440d0c={0x318:0x0};_0x2690d5['f']['j']=(_0x39a8d6,_0x21d6a5)=>{const _0x4da235=a0_0x1694;var _0x46574a=_0x2690d5['o'](_0x440d0c,_0x39a8d6)?_0x440d0c[_0x39a8d6]:void 0x0;if(0x0!==_0x46574a){if(_0x46574a)_0x21d6a5[_0x4da235(0x223)](_0x46574a[0x2]);else{var _0x29fa56=new Promise((_0x2b2333,_0x2b8303)=>_0x46574a=_0x440d0c[_0x39a8d6]=[_0x2b2333,_0x2b8303]);_0x21d6a5['push'](_0x46574a[0x2]=_0x29fa56);var _0x211493=_0x2690d5['p']+_0x2690d5['u'](_0x39a8d6),_0x57c84e=new Error();_0x2690d5['l'](_0x211493,_0x4b0b2a=>{const _0x5957f1=_0x4da235;if(_0x2690d5['o'](_0x440d0c,_0x39a8d6)&&(0x0!==(_0x46574a=_0x440d0c[_0x39a8d6])&&(_0x440d0c[_0x39a8d6]=void 0x0),_0x46574a)){var _0x50ffd9=_0x4b0b2a&&('load'===_0x4b0b2a[_0x5957f1(0x2f1)]?_0x5957f1(0x1a5):_0x4b0b2a[_0x5957f1(0x2f1)]),_0x184ada=_0x4b0b2a&&_0x4b0b2a['target']&&_0x4b0b2a['target'][_0x5957f1(0x2b6)];_0x57c84e[_0x5957f1(0x1b6)]=_0x5957f1(0x33a)+_0x39a8d6+_0x5957f1(0x310)+_0x50ffd9+':\x20'+_0x184ada+')',_0x57c84e[_0x5957f1(0x1a1)]=_0x5957f1(0x2f7),_0x57c84e[_0x5957f1(0x2f1)]=_0x50ffd9,_0x57c84e['request']=_0x184ada,_0x46574a[0x1](_0x57c84e);}},_0x4da235(0x1cd)+_0x39a8d6,_0x39a8d6);}}};var _0x5debbd=(_0x24f27d,_0x5e7cde)=>{const _0xd3dad4=a0_0x1694;var _0x4cb372,_0xa1e811,[_0x537c75,_0x1e9281,_0x451dc4]=_0x5e7cde,_0x389217=0x0;if(_0x537c75[_0xd3dad4(0x32d)](_0x4beead=>0x0!==_0x440d0c[_0x4beead])){for(_0x4cb372 in _0x1e9281)_0x2690d5['o'](_0x1e9281,_0x4cb372)&&(_0x2690d5['m'][_0x4cb372]=_0x1e9281[_0x4cb372]);if(_0x451dc4)_0x451dc4(_0x2690d5);}for(_0x24f27d&&_0x24f27d(_0x5e7cde);_0x389217<_0x537c75[_0xd3dad4(0x2e3)];_0x389217++)_0xa1e811=_0x537c75[_0x389217],_0x2690d5['o'](_0x440d0c,_0xa1e811)&&_0x440d0c[_0xa1e811]&&_0x440d0c[_0xa1e811][0x0](),_0x440d0c[_0xa1e811]=0x0;},_0x37580f=this[_0x90b1f7(0x259)]=this[_0x90b1f7(0x259)]||[];_0x37580f[_0x90b1f7(0x18d)](_0x5debbd['bind'](null,0x0)),_0x37580f[_0x90b1f7(0x223)]=_0x5debbd[_0x90b1f7(0x200)](null,_0x37580f[_0x90b1f7(0x223)]['bind'](_0x37580f));})());var _0x3ac2b0=_0x2690d5(0x3b7);return _0x3ac2b0=_0x3ac2b0[_0x2c6542(0x199)];})())));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@easyflow/javascript-sdk",
3
- "version": "2.1.31",
3
+ "version": "2.2.0",
4
4
  "description": "Enterprise-grade JavaScript SDK for Easyflow payment processing platform - Documentation and TypeScript definitions only",
5
5
  "main": "./dist/easyflow-sdk.min.js",
6
6
  "module": "./dist/easyflow-sdk.min.js",
@@ -10,7 +10,6 @@
10
10
  "README.md",
11
11
  "INDEX.md",
12
12
  "DATA-STRUCTURES.md",
13
- "PLATFORM-INTEGRATION.md",
14
13
  "LICENSE",
15
14
  "dist/index.d.ts",
16
15
  "dist/easyflow-sdk.min.js"
@@ -1,235 +0,0 @@
1
- # πŸš€ Easyflow SDK - Platform Integration Guide
2
-
3
- ## πŸ“‹ Overview
4
-
5
- The Easyflow SDK provides a **dual initialization approach** to serve both traditional developers and low-code/no-code platforms. This guide explains the `initializeForPlatform` mechanism and how to use it effectively.
6
-
7
- ## πŸ”§ Two Ways to Initialize
8
-
9
- ### 1. **Traditional Initialization** (For Developers)
10
-
11
- ```javascript
12
- // Direct SDK instance - Full control
13
- const sdk = new EasyflowSDK('your-business-id')
14
-
15
- // Use all SDK methods directly
16
- await sdk.createCustomer(customerData)
17
- await sdk.placeOrder(offerId, orderData)
18
- await sdk.charge(paymentData)
19
- ```
20
-
21
- ### 2. **Platform Integration** (For Low-Code/No-Code)
22
-
23
- ```javascript
24
- // Platform wrapper - Simplified API
25
- const wrapper = EasyflowSDK.initializeForPlatform({
26
- businessId: 'your-business-id',
27
- enableDebug: true,
28
- })
29
-
30
- // Use simplified methods
31
- await wrapper.createCustomer(customerData)
32
- await wrapper.placeOrder(offerId, orderData)
33
- await wrapper.charge(paymentData)
34
- ```
35
-
36
- ## 🎯 When to Use Each Approach
37
-
38
- | **Use Case** | **Method** | **Benefits** |
39
- | ------------------------ | ------------------------- | ----------------------------------------------- |
40
- | **Full Control** | `new EasyflowSDK()` | Complete API access, custom error handling |
41
- | **Platform Integration** | `initializeForPlatform()` | Simplified API, automatic callbacks, validation |
42
- | **Quick Prototyping** | `initializeForPlatform()` | Faster setup, less configuration |
43
- | **Production Apps** | `new EasyflowSDK()` | Better performance, more control |
44
-
45
- ## βš™οΈ Platform Integration Features
46
-
47
- ### **Automatic Callbacks**
48
-
49
- ```javascript
50
- const wrapper = EasyflowSDK.initializeForPlatform({
51
- businessId: 'your-business-id',
52
- enableDebug: true,
53
- })
54
-
55
- // Set up event handlers
56
- wrapper.on('customerCreated', (customer) => {
57
- console.log('Customer created:', customer)
58
- })
59
-
60
- wrapper.on('paymentProcessed', (result, method) => {
61
- console.log('Payment processed:', result, method)
62
- })
63
-
64
- wrapper.on('error', (error) => {
65
- console.error('Error occurred:', error)
66
- })
67
- ```
68
-
69
- ### **Simplified Validation**
70
-
71
- ```javascript
72
- // Automatic validation with friendly error messages
73
- const validation = wrapper.validate('email', 'user@example.com')
74
- if (!validation.valid) {
75
- console.error('Validation failed:', validation.error)
76
- }
77
- ```
78
-
79
- ### **Configuration Management**
80
-
81
- ```javascript
82
- // Update configuration on the fly
83
- wrapper.configure({
84
- enableDebug: false,
85
- timeout: 30000,
86
- })
87
-
88
- // Get current status
89
- const status = wrapper.getStatus()
90
- console.log('Wrapper status:', status)
91
- ```
92
-
93
- ## πŸ”„ How It Works
94
-
95
- ### **1. Method Call**
96
-
97
- ```javascript
98
- static initializeForPlatform(config) {
99
- return initializeEasyflow(config)
100
- }
101
- ```
102
-
103
- ### **2. Wrapper Creation**
104
-
105
- ```javascript
106
- function initializeEasyflow(config) {
107
- return new EasyflowIntegrationWrapper(config)
108
- }
109
- ```
110
-
111
- ### **3. Simplified Interface**
112
-
113
- The wrapper provides:
114
-
115
- - βœ… **Simplified method names**
116
- - βœ… **Automatic error handling**
117
- - βœ… **Built-in validation**
118
- - βœ… **Event management**
119
- - βœ… **Configuration persistence**
120
-
121
- ## πŸ“± Platform Examples
122
-
123
- ### **Bubble Integration**
124
-
125
- ```javascript
126
- // In Bubble's JavaScript actions
127
- const easyflow = EasyflowSDK.initializeForPlatform({
128
- businessId: bubble.get('business_id'),
129
- enableDebug: true,
130
- })
131
-
132
- // Use in workflows
133
- const customer = await easyflow.createCustomer({
134
- name: bubble.get('customer_name'),
135
- email: bubble.get('customer_email'),
136
- })
137
- ```
138
-
139
- ### **Webflow Integration**
140
-
141
- ```javascript
142
- // In Webflow's custom code
143
- const easyflow = EasyflowSDK.initializeForPlatform({
144
- businessId: 'your-business-id',
145
- })
146
-
147
- // Handle form submissions
148
- document
149
- .getElementById('payment-form')
150
- .addEventListener('submit', async (e) => {
151
- e.preventDefault()
152
- const result = await easyflow.charge(paymentData)
153
- })
154
- ```
155
-
156
- ### **Custom Platform**
157
-
158
- ```javascript
159
- // For your own platform
160
- class MyPlatform {
161
- constructor() {
162
- this.easyflow = EasyflowSDK.initializeForPlatform({
163
- businessId: this.config.businessId,
164
- enableDebug: this.config.debug,
165
- })
166
- }
167
-
168
- async processPayment(data) {
169
- return await this.easyflow.charge(data)
170
- }
171
- }
172
- ```
173
-
174
- ## πŸ›‘οΈ Security & Validation
175
-
176
- ### **Automatic Sanitization**
177
-
178
- - All input data is automatically sanitized
179
- - Dangerous characters and protocols are removed
180
- - Sensitive information is handled securely
181
-
182
- ### **Built-in Validation**
183
-
184
- ```javascript
185
- // Automatic validation for common data types
186
- wrapper.validate('email', email) // Email format
187
- wrapper.validate('cpf', cpf) // CPF validation
188
- wrapper.validate('cnpj', cnpj) // CNPJ validation
189
- wrapper.validate('phone', phone) // Phone format
190
- wrapper.validate('address', address) // Address structure
191
- wrapper.validate('customer', customer) // Customer data
192
- ```
193
-
194
- ## πŸ“Š Performance Considerations
195
-
196
- ### **Memory Usage**
197
-
198
- - **Traditional SDK**: Lower memory footprint, direct access
199
- - **Platform Wrapper**: Slightly higher memory due to additional features
200
-
201
- ### **Execution Speed**
202
-
203
- - **Traditional SDK**: Faster execution, no wrapper overhead
204
- - **Platform Wrapper**: Minimal overhead, optimized for ease of use
205
-
206
- ## πŸ”§ Configuration Options
207
-
208
- ```javascript
209
- const wrapper = EasyflowSDK.initializeForPlatform({
210
- businessId: 'your-business-id', // Required
211
- enableDebug: true, // Optional: Enable debug logs
212
- timeout: 30000, // Optional: Request timeout (ms)
213
- retryAttempts: 3, // Optional: Retry attempts
214
- enableValidation: true, // Optional: Enable validation
215
- enableCallbacks: true, // Optional: Enable callbacks
216
- })
217
- ```
218
-
219
- ## πŸ“š Related Documentation
220
-
221
- - **[README.md](README.md)** - Main SDK documentation
222
- - **[INDEX.md](INDEX.md)** - Documentation hub
223
- - **[DATA-STRUCTURES.md](DATA-STRUCTURES.md)** - Data structure reference
224
- - **[API Reference](docs/index.html)** - Complete API documentation
225
-
226
- ## πŸš€ Getting Started
227
-
228
- 1. **Choose your approach** based on your needs
229
- 2. **Initialize the SDK** using the appropriate method
230
- 3. **Configure callbacks** if using platform integration
231
- 4. **Start building** your payment solution
232
-
233
- ---
234
-
235
- **Need help?** Check the main [README.md](README.md) or create an issue on GitHub.