@funnel10x/tracking 2.2.0 → 2.4.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/README.md +186 -26
- package/dist/direct-init.js +5 -3
- package/dist/gtm-fallback.html +1 -1
- package/dist/gtm-official.html +1 -1
- package/dist/gtm.html +10 -6
- package/dist/index.d.ts +18 -0
- package/dist/index.js +5 -5
- package/dist/tag.js +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -30,7 +30,11 @@ CDN, no canal 1.x, e o SDK não vem neste ficheiro. O que faz numa página:
|
|
|
30
30
|
para o URL do Stripe e para os campos do GHL, que é entregá-los a terceiros;
|
|
31
31
|
- **o `checkout` no clique num link do checkout** (desde a 2.2.0, Fase A41),
|
|
32
32
|
uma vez por link e por página: o início do checkout, do contrato dos
|
|
33
|
-
eventos (abaixo)
|
|
33
|
+
eventos (abaixo). **Desde a 2.4.0 (Fase A44), só num site que declara
|
|
34
|
+
`checkout: 'snippet'`**: sem a declaração o snippet não o manda, e avisa;
|
|
35
|
+
- **o `contact()` das apps que dão as respostas por callback** (desde a 2.4.0):
|
|
36
|
+
a mesma ponte do envio de um form, numa linha da página (*As apps externas*,
|
|
37
|
+
abaixo);
|
|
34
38
|
- **o identify pelo id do contacto** num link de email ou de SMS
|
|
35
39
|
(`?contact_id={{contact.id}}`);
|
|
36
40
|
- **o email e o telefone que a pessoa envia** (desde a 1.1.0, como a HYROS;
|
|
@@ -102,8 +106,8 @@ cada evento:
|
|
|
102
106
|
|
|
103
107
|
Num contentor GTM partilhado por vários sites, a tag oficial dispara nos hosts
|
|
104
108
|
que ainda não passaram ao snippet: em All Pages, com o acionador *Snippet hosts*
|
|
105
|
-
(o da tag do snippet) como **excepção**, e o *Direct hosts* (os
|
|
106
|
-
com o snippet no build) como outra (Fase A2d do admin, que revê a lista de
|
|
109
|
+
(o da tag do snippet) como **excepção**, e o *Direct hosts* (os hosts das
|
|
110
|
+
maneiras 1 e 2, com o snippet no build ou no header) como outra (Fase A2d do admin, que revê a lista de
|
|
107
111
|
inclusão da A2c: passar um host é uma edição da RegEx, e um host que ninguém
|
|
108
112
|
listou fica medido pela oficial, em vez de calado). A reserva é outra tag.
|
|
109
113
|
**Dentro de um
|
|
@@ -158,7 +162,7 @@ de vir no ficheiro. É uma das razões de a 2.0.0 ser major.
|
|
|
158
162
|
O `package.json` do repo pina a versão exacta (sem `^`), e o build embute-o:
|
|
159
163
|
|
|
160
164
|
```json
|
|
161
|
-
{ "dependencies": { "@funnel10x/tracking": "2.
|
|
165
|
+
{ "dependencies": { "@funnel10x/tracking": "2.4.0" } }
|
|
162
166
|
```
|
|
163
167
|
|
|
164
168
|
```js
|
|
@@ -169,6 +173,7 @@ init({
|
|
|
169
173
|
apiHost: '/_t',
|
|
170
174
|
sdkVersion: import.meta.env.VITE_POSTHOG_SDK_VERSION || undefined,
|
|
171
175
|
consent: site.consent,
|
|
176
|
+
checkout: site.checkout,
|
|
172
177
|
linkedDomains: site.linkedDomains,
|
|
173
178
|
pageVersion: 3,
|
|
174
179
|
test: '/pt/acq_f1/webinar/lp#2',
|
|
@@ -215,18 +220,44 @@ init({
|
|
|
215
220
|
(`f10x_consent`), e a página seguinte arranca sozinha. Com `false`, mede
|
|
216
221
|
logo. **O GTM do site arranca depois do stub do snippet**, para uma tag que
|
|
217
222
|
use o `window.posthog` o encontrar.
|
|
223
|
+
- `checkout` (2.4.0, Fase A44): o do `site.json`, `"snippet"` ou `"page"`,
|
|
224
|
+
que diz quem manda o `checkout`. Com `snippet`, o snippet manda-o no clique
|
|
225
|
+
num link do Stripe (a base não passa `checkoutHosts`, e por isso um checkout
|
|
226
|
+
noutro host é `page`); com `page`, a página chama
|
|
227
|
+
`f10xTracking.capture('checkout')` ao abrir o checkout por código. Sem o
|
|
228
|
+
campo, o snippet não o manda e avisa na consola; o admin aceita os dois
|
|
229
|
+
valores e recusa outro, e a CI da base recusa só o caso duplo: `snippet` com
|
|
230
|
+
uma chamada `capture('checkout')` nas fontes das páginas, que contava dois.
|
|
218
231
|
- `linkedDomains`: o do `site.json`, opcional, uma lista de hosts (*O
|
|
219
232
|
cross-domain*, abaixo). Sem ele, ou vazio, o cross-domain está desligado.
|
|
220
233
|
- `pageVersion` e `test`: o `version` da página principal no `tests.json` (ou o
|
|
221
234
|
`N` de uma variante) e o nome do teste activo, que o build entrega.
|
|
235
|
+
- `pageRevision`, `abEligibility` e `abAssignedVersion` (2.3.0, M79): o build
|
|
236
|
+
Direct fornece o SHA-256 do conteúdo e dependências locais, a elegibilidade
|
|
237
|
+
(`none`, `randomized`, `direct` ou `cross_exposure`) e a versão atribuída
|
|
238
|
+
pelo cookie válido. Carimbam cada evento como `page_revision`,
|
|
239
|
+
`ab_eligibility` e `ab_assigned_version`; nunca ficam em propriedades
|
|
240
|
+
persistentes da pessoa. Só `randomized` pertence à amostra atribuída do
|
|
241
|
+
teste. A versão servida pode diferir da atribuída numa exposição cruzada.
|
|
242
|
+
A identidade `vN` conserva-se ao mudar a principal; uma correcção técnica
|
|
243
|
+
do conteúdo conserva N e muda a revisão. Sites sem estes parâmetros
|
|
244
|
+
continuam compatíveis e não recebem uma atribuição inferida do URL.
|
|
222
245
|
|
|
223
246
|
Uma página cujo caminho acaba em `_` seguido de algarismos (a pré-visualização
|
|
224
|
-
de uma versão) não mede nada nem mexe nos forms.
|
|
247
|
+
de uma versão) não mede nada nem mexe nos forms. A base também conserva os
|
|
248
|
+
previews `--vN` sem medição. Desde direct-v16, a entrada `/lp` redirecciona
|
|
249
|
+
para `/lp-vN`, que é um URL de produção medido; abrir esse URL directamente
|
|
250
|
+
nunca sorteia nem substitui o cookie A/B.
|
|
225
251
|
|
|
226
252
|
## Num site com build próprio que não é da base, ou só com o header
|
|
227
253
|
|
|
228
254
|
O cartão PostHog do Account Settings dá as três maneiras, pela ordem do que é
|
|
229
|
-
melhor, já com a chave do projeto
|
|
255
|
+
melhor, já com a chave do projeto. **Desde a 2.4.0 cada maneira pergunta
|
|
256
|
+
primeiro quem manda o `checkout`** (Fase A44): *the snippet* quando os links
|
|
257
|
+
do checkout são `<a>`, *the page* quando o checkout abre por código, sem
|
|
258
|
+
nenhuma pré-seleccionada, e só depois mostra os passos e o código, com a
|
|
259
|
+
escolha no `init`. O cartão não a guarda: a pergunta repete-se a cada
|
|
260
|
+
instalação, e é isso que a torna explícita.
|
|
230
261
|
|
|
231
262
|
- **No build do site** (um Next.js ou um Vite na Vercel que não nasceu da
|
|
232
263
|
base `direct`): o `dist/direct-init.js` (o `init` com o `apiHost: '/_t'`) e
|
|
@@ -240,13 +271,74 @@ melhor, já com a chave do projeto:
|
|
|
240
271
|
proxy gerido no `apiHost`: sem ele, vai para o `i.posthog.com`, que a mesma
|
|
241
272
|
lista bloqueia (o `array.js` e o `/i/`). A reserva só corre pelo GTM (o
|
|
242
273
|
`f10x_tracking_failed` é um evento do `dataLayer`), e por isso um site sem
|
|
243
|
-
contentor não mede a visita em que o snippet falha.
|
|
274
|
+
contentor não mede a visita em que o snippet falha. **Corre sempre, também
|
|
275
|
+
para quem recusou** (*O consentimento*, abaixo): um site com banner usa a
|
|
276
|
+
tag no GTM, com a condição de consentimento.
|
|
244
277
|
- **Pelo GTM**: só a tag do snippet em All Pages, que é a mais simples (sem
|
|
245
278
|
a reserva, a visita em que o `tag.js` não carrega não se mede), ou as três
|
|
246
279
|
tags, abaixo.
|
|
247
280
|
|
|
248
|
-
|
|
249
|
-
|
|
281
|
+
### O caso misto: o snippet no build ou no header, e um contentor GTM na página
|
|
282
|
+
|
|
283
|
+
Um site da primeira ou da segunda maneira que carrega também um contentor do
|
|
284
|
+
GTM (o Piko, com o `GTM-PM4T6FGX`; a IMO Circle, com o `GTM-54G2Q8GD`) tem
|
|
285
|
+
quatro coisas a acertar no contentor (Fase A42 do plano da atribuição). O
|
|
286
|
+
cartão di-las nos diálogos das duas maneiras, com o campo *Direct hosts* lá
|
|
287
|
+
dentro:
|
|
288
|
+
|
|
289
|
+
- **A ordem.** Uma tag do contentor que chame o `window.posthog` (um
|
|
290
|
+
`purchase`, um `identify`) só o encontra depois do stub do snippet: antes
|
|
291
|
+
do stub a chamada lança, e o evento perde-se; depois dele, mesmo com o SDK
|
|
292
|
+
por carregar, fica na fila. **No build**, o stub nasce no
|
|
293
|
+
`init`, de forma síncrona: o contentor arranca do mesmo componente, logo a
|
|
294
|
+
seguir ao `init`, como na base `direct` desde a `direct-v9`, e não do layout
|
|
295
|
+
(o `GoogleTagManager` do `@next/third-parties`, um `next/script`), cuja ordem
|
|
296
|
+
para o `init` de um componente cliente não está garantida. **No header**, o
|
|
297
|
+
stub só nasce quando o `tag.js` executa, e ele é assíncrono como o `gtm.js`:
|
|
298
|
+
o snippet vai acima do código do contentor, o que o faz começar primeiro e
|
|
299
|
+
não o garante (num funil do GHL o código do header nem vem no HTML: a app
|
|
300
|
+
insere-o depois de arrancar, medido a 2026-10-19). Por isso, **uma tag que
|
|
301
|
+
chame o `posthog` ao carregar a página leva o invólucro abaixo**, que espera
|
|
302
|
+
por ele até 15 s, para lá dos 10 s em que o snippet desiste e a reserva
|
|
303
|
+
arranca, e desiste em silêncio. O mesmo vale numa tag do snippet pelo GTM,
|
|
304
|
+
que também carrega o `tag.js` assíncrono.
|
|
305
|
+
- **A tag oficial do PostHog**, se o contentor a tiver, ganha o acionador
|
|
306
|
+
*Direct hosts* (Page View, *Page Hostname* corresponde à RegEx) como
|
|
307
|
+
excepção, publicada no dia em que o host passa: duas instalações na mesma
|
|
308
|
+
página tomam o arranque uma da outra (o `conflict`) ou contam cada evento
|
|
309
|
+
duas vezes. Se ela fica para outros hosts do mesmo domínio registável,
|
|
310
|
+
troca-se pela oficial gerada (`dist/gtm-official.html`), que traz a data dos
|
|
311
|
+
`defaults`; se só servia este site, sai.
|
|
312
|
+
- **A reserva, só no header**: a tag empurra o `f10x_tracking_failed` para o
|
|
313
|
+
`window.dataLayer`, e com o contentor na página a tag de reserva
|
|
314
|
+
(`dist/gtm-fallback.html`), no evento personalizado `f10x_tracking_failed`,
|
|
315
|
+
apanha a visita em que o snippet falha. No build não há reserva.
|
|
316
|
+
- **As tags que chamam o `posthog` continuam a funcionar**: o `window.posthog`
|
|
317
|
+
passa a ser o do snippet, o mesmo SDK, e o que se lhe chama depois de o
|
|
318
|
+
stub existir e antes de o SDK arrancar fica na fila.
|
|
319
|
+
|
|
320
|
+
A prova, nas duas maneiras: na consola, `window.f10xTracking.mode` não é
|
|
321
|
+
`conflict`, e no PostHog (Activity) cada navegação deixa um `$pageview` só,
|
|
322
|
+
sem `tracking_conflict`. No header, também a da reserva (o ponto 8 do
|
|
323
|
+
checklist): com o `cdn.jsdelivr.net` bloqueado nas DevTools, chega um só
|
|
324
|
+
`$pageview`, com `tracking_fallback: true`. No build não há reserva, e o SDK
|
|
325
|
+
vem pelo `/_t`.
|
|
326
|
+
|
|
327
|
+
O invólucro, com a chamada da tag no lugar da do exemplo (o Account Settings
|
|
328
|
+
dá o mesmo, para copiar):
|
|
329
|
+
|
|
330
|
+
```html
|
|
331
|
+
<script>
|
|
332
|
+
;(function send(tries) {
|
|
333
|
+
var posthog = window.posthog
|
|
334
|
+
if (posthog && typeof posthog.capture === 'function') {
|
|
335
|
+
posthog.capture('purchase', { session_id: '{{Checkout session ID}}' })
|
|
336
|
+
return
|
|
337
|
+
}
|
|
338
|
+
if (tries < 75) setTimeout(function () { send(tries + 1) }, 200)
|
|
339
|
+
})(0)
|
|
340
|
+
</script>
|
|
341
|
+
```
|
|
250
342
|
|
|
251
343
|
## Num site que não é repo nosso: a tag do GTM
|
|
252
344
|
|
|
@@ -270,9 +362,11 @@ mais nada:
|
|
|
270
362
|
|
|
271
363
|
As três levam a condição de consentimento de analytics do site, quando ele tem
|
|
272
364
|
banner. Só se trocam a chave, o host (o `apiHost` no snippet, o `api_host` nas
|
|
273
|
-
oficiais: o proxy gerido da account, abaixo, ou o PostHog directo),
|
|
274
|
-
checkout
|
|
275
|
-
|
|
365
|
+
oficiais: o proxy gerido da account, abaixo, ou o PostHog directo), o
|
|
366
|
+
`checkout` do snippet (`'snippet'` ou `'page'`; o ficheiro tal como se publica
|
|
367
|
+
traz `'{{snippet or page}}'`, que não é nenhum dos dois, e o snippet avisa), os
|
|
368
|
+
hosts do checkout, os domínios ligados (*O cross-domain*, abaixo; vazio,
|
|
369
|
+
desligado) e, numa emergência, o `sdkVersion`. Uma oficial que já exista no contentor
|
|
276
370
|
substitui-se pela gerada, que traz a data dos `defaults` do pacote.
|
|
277
371
|
|
|
278
372
|
**Desde a 2.1.0 a tag diz quando o snippet não arrancou**: empurra para o
|
|
@@ -503,16 +597,18 @@ atribuição, 2026-10-16):
|
|
|
503
597
|
|
|
504
598
|
| evento | quando | quem o manda |
|
|
505
599
|
| --- | --- | --- |
|
|
506
|
-
| `contact_captured` | o email ou o telefone sai num form,
|
|
507
|
-
| `checkout` | o **início** do checkout: o clique num link para um host do Stripe ou do `checkoutHosts`, uma vez por link e por página, com o `checkout_host` | o
|
|
600
|
+
| `contact_captured` | o email ou o telefone sai num form, chega no URL, ou a página o passa ao `contact()` (`contact_source`: `form`, `url` ou `api`), cada valor uma vez por página | o snippet, também pelo `contact()`; nunca um `capture` à mão |
|
|
601
|
+
| `checkout` | o **início** do checkout: o clique num link para um host do Stripe ou do `checkoutHosts`, uma vez por link e por página, com o `checkout_host` | quem o site declara (2.4.0): o snippet com `checkout: 'snippet'`; a página com `checkout: 'page'`, por `f10xTracking.capture('checkout')` num checkout aberto por código (um botão com redirect, um checkout embebido); nunca os dois |
|
|
508
602
|
| `purchase` | o pagamento confirmado, com o `session_id` (o `cs_…` da sessão de checkout do Stripe), o `currency`, o `amount_total` e o `product` | o código do funil, na página de obrigado |
|
|
509
603
|
|
|
510
604
|
- O `contact_captured` é a ponte para o contacto, e **não uma etapa do funil**:
|
|
511
605
|
dispara também num form de checkout, e um opt-in, uma marcação e uma compra
|
|
512
606
|
dão o mesmo. O lead é o contacto no CRM.
|
|
513
|
-
- O `checkout` vai já, e não na fila (o `send_instantly` do
|
|
514
|
-
a página sai a seguir.
|
|
515
|
-
|
|
607
|
+
- O `checkout` do snippet vai já, e não na fila (o `send_instantly` do
|
|
608
|
+
posthog-js), porque a página sai a seguir. **Desde a 2.4.0 não é automático
|
|
609
|
+
por omissão**: cada site declara quem o manda, e um site com
|
|
610
|
+
`checkout: 'snippet'` cujo código também o mande conta dois (o `capture()`
|
|
611
|
+
avisa, e a CI da base `direct` recusa-o).
|
|
516
612
|
- O `purchase` liga a venda pelo `cs_…`, por isso tem de disparar em todas as
|
|
517
613
|
compras: no Piko, a 2026-10-16, o `purchase` ligava 78% das vendas e o
|
|
518
614
|
`checkout_completed` todas.
|
|
@@ -521,6 +617,50 @@ atribuição, 2026-10-16):
|
|
|
521
617
|
- O `lead` e o `checkout_completed` deixaram de ser contrato; o admin continua
|
|
522
618
|
a aceitá-los, pelo histórico e pelos funis que ainda os mandam.
|
|
523
619
|
|
|
620
|
+
## As apps externas: surveys, chats, forms e calendários
|
|
621
|
+
|
|
622
|
+
Uma app que entra na página de um funil (um inquérito, um chat, um form, um
|
|
623
|
+
calendário, o Typebot, o Typeform, o Tally, qualquer uma) classifica-se pela
|
|
624
|
+
forma como entra na página, e não pela marca (Fase A44, decisão 3):
|
|
625
|
+
|
|
626
|
+
| forma | o que o snippet vê | a ponte |
|
|
627
|
+
| --- | --- | --- |
|
|
628
|
+
| (1) um form normal na página | o envio | automática, como sempre |
|
|
629
|
+
| (2) um widget na página que entrega as respostas por callback ou `postMessage` | nada, porque não há envio de form | a página chama `f10xTracking.contact({ email, phone })` no callback, uma linha |
|
|
630
|
+
| (3) um iframe de outra origem, sem callback com dados | nada | **não há `contact_captured`**: a ponte são os campos escondidos que a app lê do URL e o webhook dela para o nosso CRM. O snippet só acrescenta os ids ao `src` dos iframes do GHL; noutra app, a página constrói o `src` com o `f10xTracking.fields()` |
|
|
631
|
+
|
|
632
|
+
O `contact({ email, phone })` passa pela mesma lógica do envio de um form, e
|
|
633
|
+
não por um `capture` à mão: a mesma normalização (um `Ana@X.com` depois de um
|
|
634
|
+
form com `ana@x.com` não sai duas vezes), cada valor uma vez por página, em
|
|
635
|
+
memória até ao consentimento (e deitado fora com um não), e o
|
|
636
|
+
`contact_source: 'api'`. O telefone só se aceita em formato internacional
|
|
637
|
+
(`+351…` ou `00351…`), porque aqui não há o seletor do indicativo; um valor
|
|
638
|
+
que não normaliza avisa na consola e não sai. Existe também no snippet inerte
|
|
639
|
+
(um iframe, uma pré-visualização), no objecto que o `tag.js` deixa quando o
|
|
640
|
+
arranque falha e na configuração que a tag escreve antes de ele carregar, sem
|
|
641
|
+
fazer nada, para a linha da página nunca dar `TypeError`. Num callback de uma
|
|
642
|
+
app que corra antes de qualquer tag, a linha protege-se na mesma:
|
|
643
|
+
|
|
644
|
+
```js
|
|
645
|
+
window.f10xTracking && window.f10xTracking.contact && window.f10xTracking.contact({ email: answers.email, phone: answers.phone })
|
|
646
|
+
```
|
|
647
|
+
|
|
648
|
+
**O resultado confirmado vem sempre do servidor** (a inscrição, a marcação, a
|
|
649
|
+
compra): a página nunca manda o `registration_completed` nem o
|
|
650
|
+
`appointment_scheduled`, nem quando a app lhe dá um callback de "marcado".
|
|
651
|
+
|
|
652
|
+
Antes de pôr uma app num funil, três perguntas (decisão 4):
|
|
653
|
+
|
|
654
|
+
1. **Lê parâmetros do URL para campos escondidos?** É a ponte da forma 3: sem
|
|
655
|
+
ela, a resposta não se liga à visita.
|
|
656
|
+
2. **Dá callback ou `postMessage` com as respostas?** É a forma 2: o
|
|
657
|
+
`contact()` no callback.
|
|
658
|
+
3. **Tem webhook para o nosso CRM?** É o resultado confirmado, sem o qual o
|
|
659
|
+
funil fica sem a etapa.
|
|
660
|
+
|
|
661
|
+
Uma app que diz não às três não tem ponte nem resultado, e escreve-se como tal
|
|
662
|
+
no funil.
|
|
663
|
+
|
|
524
664
|
## A API
|
|
525
665
|
|
|
526
666
|
`init(options)` (ou a tag) devolve, e põe em `window.f10xTracking`:
|
|
@@ -532,9 +672,21 @@ atribuição, 2026-10-16):
|
|
|
532
672
|
- `fields()`: os valores de cima, agora;
|
|
533
673
|
- `grant()`, `deny()`, `consent()`: o interruptor de um site `direct`;
|
|
534
674
|
- `onReady(fn)`: quando o PostHog estiver a medir;
|
|
535
|
-
- `capture(event, properties)`: um evento pelo mesmo PostHog (o `
|
|
536
|
-
|
|
537
|
-
consentimento não
|
|
675
|
+
- `capture(event, properties)`: um evento pelo mesmo PostHog (o `checkout` de
|
|
676
|
+
um checkout aberto por código, num site com `checkout: 'page'`; o `purchase`
|
|
677
|
+
da página de obrigado, até o servidor o mandar), que sem consentimento não
|
|
678
|
+
faz nada. **Desde a 2.4.0 avisa na consola e nunca recusa** (decisão 5 da
|
|
679
|
+
A44): um sinónimo de um evento do contrato (`InitiateCheckout`,
|
|
680
|
+
`appointment_booked`, `Lead`, a lista da Fase A43) avisa com o nome do
|
|
681
|
+
contrato, porque o armazém o ignora; o `purchase`, o
|
|
682
|
+
`registration_completed` e o `appointment_scheduled` avisam que são do
|
|
683
|
+
servidor; o `contact_captured` aponta para o `contact()`; o `checkout` num
|
|
684
|
+
site com `checkout: 'snippet'` avisa que conta dois; e um `purchase` sem o
|
|
685
|
+
`session_id` `cs_…`, o `currency` ou o `amount_total` avisa com o nome do
|
|
686
|
+
que falta. Um aviso por nome e por motivo, por página, dado na chamada
|
|
687
|
+
(antes do sim também); o evento sai sempre que o PostHog está a medir;
|
|
688
|
+
- `contact({ email, phone })` (2.4.0): o email e o telefone de uma app que os
|
|
689
|
+
dá por callback (*As apps externas*, acima);
|
|
538
690
|
- `posthog`: a instância do PostHog depois de o SDK arrancar, e o stub até lá
|
|
539
691
|
(o que se lhe chamar fica na fila, como no stub oficial). O
|
|
540
692
|
`window.posthog` é o mesmo, e é por ele que as tags do GTM o usam.
|
|
@@ -639,12 +791,17 @@ Antes de ligar o tráfego:
|
|
|
639
791
|
`?utm_source=teste`, deixa no PostHog um `contact_captured` com o email,
|
|
640
792
|
no momento do envio, e o contacto no GHL; um email escrito e não enviado não
|
|
641
793
|
deixa nada. Num site `direct` com consentimento, a location tem os quatro
|
|
642
|
-
campos de atribuição da tabela, com o *query key* igual ao nome.
|
|
794
|
+
campos de atribuição da tabela, com o *query key* igual ao nome. Uma app
|
|
795
|
+
que não é um form normal (um inquérito, um chat, um calendário) passa pelas
|
|
796
|
+
três perguntas de *As apps externas*, acima, e um widget com callback leva
|
|
797
|
+
o `contact()`.
|
|
643
798
|
5. **Os links de email e de SMS** levam `contact_id={{contact.id}}`.
|
|
644
|
-
6. **O checkout**: o
|
|
645
|
-
checkout
|
|
646
|
-
|
|
647
|
-
|
|
799
|
+
6. **O checkout**: quem o manda declarado (`checkout: 'snippet'` quando os
|
|
800
|
+
links do checkout são `<a>`, `'page'` quando ele abre por código; num repo
|
|
801
|
+
`direct`, o campo do `site.json`), o host em `checkoutHosts` (o Stripe já
|
|
802
|
+
lá está), e num checkout em código os `fields()` na metadata e o
|
|
803
|
+
`capture('checkout')` no clique. Um clique de teste no checkout deixa um
|
|
804
|
+
`checkout` no PostHog, um só, e a página de obrigado manda o `purchase` com o `cs_…` em todas as
|
|
648
805
|
compras (*O contrato dos eventos*, acima); nenhum outro evento custom.
|
|
649
806
|
7. **Os anúncios**: o texto do gerador de links nos anúncios da Meta e da
|
|
650
807
|
Google, e os links orgânicos gerados por ele, com as UTMs da Traffic Sources.
|
|
@@ -697,7 +854,10 @@ dono**: a conta do npm (`funnel10x-org`) tem 2FA, e o `npm publish` pede uma
|
|
|
697
854
|
autenticação no browser (*EOTP: This operation requires a one-time
|
|
698
855
|
password*) mesmo com a sessão iniciada (medido a 2026-10-08, na 1.3.0). Um
|
|
699
856
|
agente prepara a pasta na `main` e corre o primeiro, e o dono corre o segundo
|
|
700
|
-
no terminal dele.
|
|
857
|
+
no terminal dele. Sem sessão do npm na máquina, o `npm publish` não diz 401:
|
|
858
|
+
responde *404 Not Found* no `PUT` do pacote (medido a 2026-10-16, na 2.2.0), e
|
|
859
|
+
o `npm whoami` dá o 401 que mostra o que falta, o `npm login`. A alternativa
|
|
860
|
+
sem OTP é o *trusted publishing* do npm (a
|
|
701
861
|
publicação pela CI do GitHub, sem token), que é configuração do dono no
|
|
702
862
|
npmjs.com.
|
|
703
863
|
|
package/dist/direct-init.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/*
|
|
2
|
-
@funnel10x/tracking@2.
|
|
3
|
-
componente 'use client' no layout de raiz, como o Tracking.tsx da base direct). Só se
|
|
4
|
-
|
|
2
|
+
@funnel10x/tracking@2.4.0: o arranque num site com build próprio, uma vez por carregamento da página, no browser (num Next.js, um
|
|
3
|
+
componente 'use client' no layout de raiz, como o Tracking.tsx da base direct). Só se mudam a chave e o checkout ('snippet' quando os
|
|
4
|
+
links do checkout são <a>, 'page' quando a página o manda); o consent, os checkoutHosts e os linkedDomains são do site (o README do
|
|
5
|
+
pacote). O /_t só existe com os rewrites do dist/direct-rewrites.json no vercel.json do site.
|
|
5
6
|
*/
|
|
6
7
|
import { init } from '@funnel10x/tracking'
|
|
7
8
|
|
|
8
9
|
init({
|
|
9
10
|
key: '{{PostHog project key}}',
|
|
10
11
|
apiHost: '/_t',
|
|
12
|
+
checkout: '{{snippet or page}}',
|
|
11
13
|
checkoutHosts: [],
|
|
12
14
|
linkedDomains: []
|
|
13
15
|
})
|
package/dist/gtm-fallback.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.4.0: a tag de reserva do GTM (Custom HTML), num site com a tag do gtm.html (decisão 1 da A2c).
|
|
3
3
|
Dispara só no evento personalizado f10x_tracking_failed, com a mesma condição de consentimento da tag do snippet; nunca em All Pages
|
|
4
4
|
nem em Window Loaded. O before_send carimba tracking_fallback em cada evento, que é o que distingue uma visita pela reserva nos dados.
|
|
5
5
|
Só se mudam a chave e o api_host (o proxy gerido da account, se o tiver, e senão o PostHog directo), os mesmos da tag do gtm.html.
|
package/dist/gtm-official.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.4.0: a tag oficial do PostHog (Custom HTML) para os hosts que ainda não passaram ao snippet, num contentor com a tag do gtm.html.
|
|
3
3
|
Dispara em All Pages, com o acionador Snippet hosts (os hosts da tag do snippet) como excepção, e o Direct hosts (os sites direct, com o
|
|
4
4
|
snippet no build) como outra. Passar um host ao snippet é acrescentá-lo à RegEx do Snippet hosts, numa só publicação.
|
|
5
5
|
Só se mudam a chave e o api_host (o proxy gerido da account, se o tiver, e senão o PostHog directo), os mesmos da tag do gtm.html.
|
package/dist/gtm.html
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<!--
|
|
2
|
-
@funnel10x/tracking@2.
|
|
2
|
+
@funnel10x/tracking@2.4.0: a tag do GTM (Custom HTML, em All Pages, com a condição de consentimento do site, se ele tiver banner).
|
|
3
3
|
Num site com esta tag, a tag oficial do PostHog só existe como reserva (decisão 1 da A2c): outra tag Custom HTML, com a mesma chave, que dispara
|
|
4
4
|
só no evento personalizado f10x_tracking_failed, que esta empurra para o dataLayer, uma vez, quando o tag.js não carrega (o jsDelivr em baixo ou
|
|
5
5
|
bloqueado, um integrity que não bate) ou carrega e não arranca (o window.f10xTracking sem version). A reserva é o dist/gtm-fallback.html, ao lado.
|
|
6
|
-
Só se mudam a chave, o apiHost (o proxy gerido da account, se o tiver),
|
|
7
|
-
|
|
6
|
+
Só se mudam a chave, o apiHost (o proxy gerido da account, se o tiver), o checkout ('snippet' quando os links do checkout são <a>, 'page'
|
|
7
|
+
quando a página o manda; sem um dos dois o snippet não o manda, decisão 1 da A44), os checkoutHosts, os linkedDomains (o cross-domain,
|
|
8
|
+
desligado com a lista vazia) e, numa emergência, o sdkVersion (uma versão exacta do posthog-js); uma versão nova do pacote é um ficheiro novo.
|
|
9
|
+
O contact vazio deixa o f10xTracking.contact() da página sem TypeError enquanto o tag.js não arranca, ou quando não chega.
|
|
8
10
|
O script do jsDelivr cria-se por código, com o onload e o onerror como propriedades: um atributo onload no HTML é um handler inline, que o GTM
|
|
9
11
|
copia ao recriar o script e que uma CSP com nonce não deixa correr. Um pedido pendurado conta como falhado ao fim de 10 s.
|
|
10
12
|
O evento vai para o window.dataLayer: num GTM com a data layer renomeada (o l= do snippet do GTM) a reserva não dispara, e o ponto 8 do
|
|
@@ -15,8 +17,10 @@
|
|
|
15
17
|
key: '{{PostHog project key}}',
|
|
16
18
|
apiHost: '',
|
|
17
19
|
sdkVersion: '',
|
|
20
|
+
checkout: '{{snippet or page}}',
|
|
18
21
|
checkoutHosts: [],
|
|
19
|
-
linkedDomains: []
|
|
22
|
+
linkedDomains: [],
|
|
23
|
+
contact: function () {}
|
|
20
24
|
}
|
|
21
25
|
;(function () {
|
|
22
26
|
var timer
|
|
@@ -31,8 +35,8 @@
|
|
|
31
35
|
;(window.dataLayer = window.dataLayer || []).push({ event: 'f10x_tracking_failed' })
|
|
32
36
|
}
|
|
33
37
|
var script = document.createElement('script')
|
|
34
|
-
script.src = 'https://cdn.jsdelivr.net/npm/@funnel10x/tracking@2.
|
|
35
|
-
script.integrity = 'sha384-
|
|
38
|
+
script.src = 'https://cdn.jsdelivr.net/npm/@funnel10x/tracking@2.4.0/dist/tag.js'
|
|
39
|
+
script.integrity = 'sha384-4yUmGCwb9dgXYOiOeE65iuJ1Ivd+7KtF9dRBnEzBkAgrZhC5izbsiVvVc+jDtnxv'
|
|
36
40
|
script.crossOrigin = 'anonymous'
|
|
37
41
|
script.onload = function () {
|
|
38
42
|
clearTimeout(timer)
|
package/dist/index.d.ts
CHANGED
|
@@ -11,10 +11,21 @@ export interface TrackingOptions {
|
|
|
11
11
|
consent?: boolean
|
|
12
12
|
/** The version of the page being served (direct site). */
|
|
13
13
|
pageVersion?: number
|
|
14
|
+
/** Deterministic content/dependency SHA-256, independent of the main role (Direct M79). */
|
|
15
|
+
pageRevision?: string
|
|
16
|
+
/** How this exposure relates to the active test assignment. Event-local, never persisted. */
|
|
17
|
+
abEligibility?: 'none' | 'randomized' | 'direct' | 'cross_exposure'
|
|
18
|
+
/** Version assigned at the stable entry; a direct URL never changes it. */
|
|
19
|
+
abAssignedVersion?: number
|
|
14
20
|
/** The active test of the page, `/pt/f1/lp#2` (direct site). */
|
|
15
21
|
test?: string | null
|
|
16
22
|
/** Checkout hosts whose links carry the ids, besides Stripe's. */
|
|
17
23
|
checkoutHosts?: string[]
|
|
24
|
+
/**
|
|
25
|
+
* Who sends `checkout`, the start of the checkout (since 2.4.0): `snippet` on the click of a link to a checkout host,
|
|
26
|
+
* `page` through `capture('checkout')`. Without it (or with another value) the snippet does not send it and warns once.
|
|
27
|
+
*/
|
|
28
|
+
checkout?: 'snippet' | 'page'
|
|
18
29
|
/** Add the missing hidden fields to lead forms (default true). */
|
|
19
30
|
addFields?: boolean
|
|
20
31
|
/**
|
|
@@ -37,7 +48,14 @@ export interface Tracking {
|
|
|
37
48
|
deny(): void
|
|
38
49
|
onReady(fn: (ready: true) => void): void
|
|
39
50
|
fields(): Record<string, string>
|
|
51
|
+
/** Sends an event; warns (never refuses) when the name or its properties leave the funnel event contract. */
|
|
40
52
|
capture(event: string, properties?: Record<string, unknown>): void
|
|
53
|
+
/**
|
|
54
|
+
* The email and phone a person gave in an app that hands its answers by callback or postMessage (since 2.4.0):
|
|
55
|
+
* `contact_captured` with `contact_source: 'api'`, each value once per page, after the consent. The phone only in
|
|
56
|
+
* international format (`+351…`).
|
|
57
|
+
*/
|
|
58
|
+
contact(values: { email?: string; phone?: string }): void
|
|
41
59
|
/** The PostHog instance once the SDK has loaded; the stub (which queues calls) until then. */
|
|
42
60
|
posthog: PostHog | null
|
|
43
61
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
var
|
|
2
|
-
`),...e}}function nn(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function it(){let e=window,t=navigator;return k(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function on(){let e=window,t=navigator;return k(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!it()}function X(){let e=window,t=navigator;return k(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function C(){let e=window,t=navigator;return k(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function ve(){let e=window,{HTMLElement:t,Document:n}=e;return k(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function B(){let e=window;return nn(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function J(){var e,t;let n=window;return k(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function rn(){let e=window,t=navigator,{CSS:n}=e;return k(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function st(){let{CSS:e}=window;return k([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function sn(){let e=window;return k([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function cn(){let e=window,{URLPattern:t}=e;return k(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function an(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return k([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function un(){let e=window;return k(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function U(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return k([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function ln(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return k(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function dn(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function fn(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function ae(){var e,t;let n=X(),o=J(),r=window,s=navigator;return n?k([pn(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?k(["onorientationchange"in r,"orientation"in r,/android/i.test(s.appVersion)])>=2:!1}function mn(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return k(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function pn(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var hn="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function gn(e){let t=yn(e),n=bn(t);return{score:t,comment:hn.replace(/\$/g,`${n}`)}}function yn(e){if(ae())return .4;if(C())return ve()&&!(U()&&B())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function bn(e){return rt(.99+.01*e,1e-4)}function ce(e,t){return new Promise(n=>setTimeout(n,e,t))}function wn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function _n(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):ce(Math.min(e,t))}function ct(e){return!!e&&typeof e.then=="function"}function Ye(e,t){try{let n=e();ct(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function Xe(e,t,n=16){let o=Array(e.length),r=Date.now();for(let s=0;s<e.length;++s){o[s]=t(e[s],s);let a=Date.now();a>=r+n&&(r=a,await wn())}return o}function z(e){return e.then(void 0,()=>{}),e}function vn(e){return typeof e!="function"}function kn(e,t){let n=z(new Promise(o=>{let r=Date.now();Ye(e.bind(null,t),(...s)=>{let a=Date.now()-r;if(!s[0])return o(()=>({error:s[1],duration:a}));let l=s[1];if(vn(l))return o(()=>({value:l,duration:a}));o(()=>new Promise(d=>{let u=Date.now();Ye(l,(...i)=>{let c=a+Date.now()-u;if(!i[0])return d({error:i[1],duration:c});d({value:i[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function Sn(e,t,n,o){let r=Object.keys(e).filter(a=>Qt(n,a)),s=z(Xe(r,a=>kn(e[a],t),o));return async function(){let l=await s,d=await Xe(l,c=>z(c()),o),u=await Promise.all(d),i={};for(let c=0;c<r.length;++c)i[r[c]]=u[c];return i}}async function at(e,t,n=50){var o,r,s;let a=document;for(;!a.body;)await ce(n);let l=a.createElement("iframe");try{for(await new Promise((d,u)=>{let i=!1,c=()=>{i=!0,d()},h=g=>{i=!0,u(g)};l.onload=c,l.onerror=h;let{style:m}=l;m.setProperty("display","block","important"),m.position="absolute",m.top="0",m.left="0",m.visibility="hidden",t&&"srcdoc"in l?l.srcdoc=t:l.src="about:blank",a.body.appendChild(l);let p=()=>{var g,L;i||(((L=(g=l.contentWindow)===null||g===void 0?void 0:g.document)===null||L===void 0?void 0:L.readyState)==="complete"?c():setTimeout(p,10))};p()});!(!((r=(o=l.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await ce(n);return await e(l,l.contentWindow)}finally{(s=l.parentNode)===null||s===void 0||s.removeChild(l)}}function xn(e){let[t,n]=qt(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let s=n[r].join(" ");r==="style"?Ln(o.style,s):o.setAttribute(r,s)}return o}function Ln(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,s,,a]=o;e.setProperty(r,s,a||"")}}}function An(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Pn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(In())return-3;try{return e.canMakePayments()?1:0}catch(t){return Fn(t)}}var In=An;function Fn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Cn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function En(){return Vn()?-4:Mn()}function Mn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Rn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),s=r.createOscillator();s.type="triangle",s.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,s.connect(a),a.connect(r.destination),s.start(0);let[l,d]=Tn(r),u=z(l.then(i=>Wn(i.getChannelData(0).subarray(n)),i=>{if(i.name==="timeout"||i.name==="suspended")return-3;throw i}));return()=>(d(),u)}function Rn(){return C()&&!ve()&&!un()}function Vn(){return C()&&U()&&B()||X()&&mn()&&cn()}function Tn(e){let s=()=>{};return[new Promise((l,d)=>{let u=!1,i=0,c=0;e.oncomplete=p=>l(p.renderedBuffer);let h=()=>{setTimeout(()=>d($e("timeout")),Math.min(500,c+5e3-Date.now()))},m=()=>{try{let p=e.startRendering();switch(ct(p)&&z(p),e.state){case"running":c=Date.now(),u&&h();break;case"suspended":document.hidden||i++,u&&i>=3?d($e("suspended")):setTimeout(m,500);break}}catch(p){d(p)}};m(),s=()=>{u||(u=!0,c>0&&h())}}),s]}function Wn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function $e(e){let t=new Error(e);return t.name=e,t}function Dn(){if(!(ae()||C()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function Nn(){return Gn($n())}function Gn(e){let t=!1,n,o,[r,s]=Zn();return Hn(r,s)?(t=On(s),e?n=o="skipped":[n,o]=jn(r,s)):n=o="unsupported",{winding:t,geometry:n,text:o}}function Zn(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function Hn(e,t){return!!(t&&e.toDataURL)}function On(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function jn(e,t){Yn(e,t);let n=he(e),o=he(e);return n!==o?["unstable","unstable"]:(Xn(e,t),[he(e),n])}function Yn(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Xn(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function he(e){return e.toDataURL()}function $n(){let e=C()&&U()&&B(),t=J()&&rn();return e||t}function zn(){return window.screen.colorDepth}function Bn(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function Jn(){if(O("no-preference"))return 0;if(O("high")||O("more"))return 1;if(O("low")||O("less"))return-1;if(O("forced"))return 10}function O(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function Un(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function Kn(){return navigator.cpuClass}function Qn(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function qn(){return M(F(navigator.deviceMemory),void 0)}function eo(){let e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}async function to({debug:e}={}){if(!no())return;let t=eo(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await oo(o);e&&ro(t,r);let s=n.filter(a=>{let l=t[a];return k(l.map(u=>r[u]))>l.length*.6});return s.sort(),s}function no(){return C()||ae()}async function oo(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),s={};ze(o);for(let a=0;a<e.length;++a){let l=xn(e[a]);l.tagName==="DIALOG"&&l.show();let d=n.createElement("div");ze(d),d.appendChild(l),o.appendChild(d),r[a]=l}for(;!n.body;)await ce(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(s[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return s}function ze(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function ro(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
1
|
+
var N=["addExceptionStep","alias","calculateEventProperties","canRenderSurvey","canRenderSurveyAsync","cancelPendingSurvey","capture","captureException","captureLog","captureTraceFeedback","captureTraceMetric","clearIdentity","clear_opt_in_out_capturing","createPersonProfile","debug","displaySurvey","getActiveMatchingSurveys","getAllFeatureFlags","getEarlyAccessFeatures","getExtension","getFeatureFlag","getFeatureFlagPayload","getFeatureFlagResult","getGroups","getPageViewId","getSessionProperty","getSurveys","get_distinct_id","get_explicit_consent_status","get_property","get_session_id","get_session_replay_url","group","has_opted_in_capturing","has_opted_out_capturing","identify","init","isFeatureEnabled","is_capturing","loadToolbar","on","onActiveMatchingSurveysChanged","onFeatureFlags","onSessionId","onSurveysLoaded","opt_in_capturing","opt_out_capturing","register","register_for_session","register_once","reloadFeatureFlags","renderSurvey","reset","resetGroupPropertiesForFlags","resetGroups","resetPersonPropertiesForFlags","sessionRecordingStarted","setGroupPropertiesForFlags","setIdentity","setInternalOrTestUser","setPersonProperties","setPersonPropertiesForFlags","set_config","shutdown","startExceptionAutocapture","startSessionRecording","stopExceptionAutocapture","stopSessionRecording","unregister","unregister_for_session","unsetPersonProperties","updateEarlyAccessFeatureEnrollment","updateFlags"];var it="5.3.0";function tn(e,t){for(let n=0,o=e.length;n<o;++n)if(e[n]===t)return!0;return!1}function nn(e,t){return!tn(e,t)}function Se(e){return parseInt(e)}function I(e){return parseFloat(e)}function F(e,t){return typeof e=="number"&&isNaN(e)?t:e}function S(e){return e.reduce((t,n)=>t+(n?1:0),0)}function st(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{let n=1/t;return Math.round(e*n)/n}}function on(e){var t,n;let o=`Unexpected syntax '${e}'`,r=/^\s*([a-z-]*)(.*)$/i.exec(e),i=r[1]||void 0,a={},l=/([.:#][\w-]+|\[.+?\])/gi,f=(u,s)=>{a[u]=a[u]||[],a[u].push(s)};for(;;){let u=l.exec(r[2]);if(!u)break;let s=u[0];switch(s[0]){case".":f("class",s.slice(1));break;case"#":f("id",s.slice(1));break;case"[":{let c=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(s);if(c)f(c[1],(n=(t=c[4])!==null&&t!==void 0?t:c[5])!==null&&n!==void 0?n:"");else throw new Error(o);break}default:throw new Error(o)}}return[i,a]}function rn(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o>127)return new TextEncoder().encode(e);t[n]=o}return t}function sn(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
+
`),...e}}function cn(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function ct(){let e=window,t=navigator;return S(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function an(){let e=window,t=navigator;return S(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!ct()}function $(){let e=window,t=navigator;return S(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function C(){let e=window,t=navigator;return S(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function xe(){let e=window,{HTMLElement:t,Document:n}=e;return S(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function J(){let e=window;return cn(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function U(){var e,t;let n=window;return S(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function un(){let e=window,t=navigator,{CSS:n}=e;return S(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function at(){let{CSS:e}=window;return S([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function ln(){let e=window;return S([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function dn(){let e=window,{URLPattern:t}=e;return S(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function fn(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return S([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function mn(){let e=window;return S(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function K(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return S([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function pn(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return S(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function hn(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function gn(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function fe(){var e,t;let n=$(),o=U(),r=window,i=navigator;return n?S([bn(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?S(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1}function yn(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return S(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function bn(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var wn="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function _n(e){let t=kn(e),n=vn(t);return{score:t,comment:wn.replace(/\$/g,`${n}`)}}function kn(e){if(fe())return .4;if(C())return xe()&&!(K()&&J())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function vn(e){return st(.99+.01*e,1e-4)}function de(e,t){return new Promise(n=>setTimeout(n,e,t))}function Sn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function xn(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):de(Math.min(e,t))}function ut(e){return!!e&&typeof e.then=="function"}function ze(e,t){try{let n=e();ut(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function Xe(e,t,n=16){let o=Array(e.length),r=Date.now();for(let i=0;i<e.length;++i){o[i]=t(e[i],i);let a=Date.now();a>=r+n&&(r=a,await Sn())}return o}function B(e){return e.then(void 0,()=>{}),e}function Ln(e){return typeof e!="function"}function An(e,t){let n=B(new Promise(o=>{let r=Date.now();ze(e.bind(null,t),(...i)=>{let a=Date.now()-r;if(!i[0])return o(()=>({error:i[1],duration:a}));let l=i[1];if(Ln(l))return o(()=>({value:l,duration:a}));o(()=>new Promise(f=>{let u=Date.now();ze(l,(...s)=>{let c=a+Date.now()-u;if(!s[0])return f({error:s[1],duration:c});f({value:s[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function Pn(e,t,n,o){let r=Object.keys(e).filter(a=>nn(n,a)),i=B(Xe(r,a=>An(e[a],t),o));return async function(){let l=await i,f=await Xe(l,c=>B(c()),o),u=await Promise.all(f),s={};for(let c=0;c<r.length;++c)s[r[c]]=u[c];return s}}async function lt(e,t,n=50){var o,r,i;let a=document;for(;!a.body;)await de(n);let l=a.createElement("iframe");try{for(await new Promise((f,u)=>{let s=!1,c=()=>{s=!0,f()},h=y=>{s=!0,u(y)};l.onload=c,l.onerror=h;let{style:m}=l;m.setProperty("display","block","important"),m.position="absolute",m.top="0",m.left="0",m.visibility="hidden",t&&"srcdoc"in l?l.srcdoc=t:l.src="about:blank",a.body.appendChild(l);let p=()=>{var y,L;s||(((L=(y=l.contentWindow)===null||y===void 0?void 0:y.document)===null||L===void 0?void 0:L.readyState)==="complete"?c():setTimeout(p,10))};p()});!(!((r=(o=l.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await de(n);return await e(l,l.contentWindow)}finally{(i=l.parentNode)===null||i===void 0||i.removeChild(l)}}function In(e){let[t,n]=on(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let i=n[r].join(" ");r==="style"?Cn(o.style,i):o.setAttribute(r,i)}return o}function Cn(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,i,,a]=o;e.setProperty(r,i,a||"")}}}function En(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Fn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(Rn())return-3;try{return e.canMakePayments()?1:0}catch(t){return Mn(t)}}var Rn=En;function Mn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Vn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function Tn(){return Dn()?-4:Wn()}function Wn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Nn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(r.destination),i.start(0);let[l,f]=Gn(r),u=B(l.then(s=>On(s.getChannelData(0).subarray(n)),s=>{if(s.name==="timeout"||s.name==="suspended")return-3;throw s}));return()=>(f(),u)}function Nn(){return C()&&!xe()&&!mn()}function Dn(){return C()&&K()&&J()||$()&&yn()&&dn()}function Gn(e){let i=()=>{};return[new Promise((l,f)=>{let u=!1,s=0,c=0;e.oncomplete=p=>l(p.renderedBuffer);let h=()=>{setTimeout(()=>f(Be("timeout")),Math.min(500,c+5e3-Date.now()))},m=()=>{try{let p=e.startRendering();switch(ut(p)&&B(p),e.state){case"running":c=Date.now(),u&&h();break;case"suspended":document.hidden||s++,u&&s>=3?f(Be("suspended")):setTimeout(m,500);break}}catch(p){f(p)}};m(),i=()=>{u||(u=!0,c>0&&h())}}),i]}function On(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function Be(e){let t=new Error(e);return t.name=e,t}function Hn(){if(!(fe()||C()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function Zn(){return jn(Un())}function jn(e){let t=!1,n,o,[r,i]=$n();return Yn(r,i)?(t=zn(i),e?n=o="skipped":[n,o]=Xn(r,i)):n=o="unsupported",{winding:t,geometry:n,text:o}}function $n(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function Yn(e,t){return!!(t&&e.toDataURL)}function zn(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function Xn(e,t){Bn(e,t);let n=be(e),o=be(e);return n!==o?["unstable","unstable"]:(Jn(e,t),[be(e),n])}function Bn(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Jn(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function be(e){return e.toDataURL()}function Un(){let e=C()&&K()&&J(),t=U()&&un();return e||t}function Kn(){return window.screen.colorDepth}function Qn(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function qn(){if(H("no-preference"))return 0;if(H("high")||H("more"))return 1;if(H("low")||H("less"))return-1;if(H("forced"))return 10}function H(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function eo(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function to(){return navigator.cpuClass}function no(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function oo(){return F(I(navigator.deviceMemory),void 0)}function ro(){let e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}async function io({debug:e}={}){if(!so())return;let t=ro(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await co(o);e&&ao(t,r);let i=n.filter(a=>{let l=t[a];return S(l.map(u=>r[u]))>l.length*.6});return i.sort(),i}function so(){return C()||fe()}async function co(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),i={};Je(o);for(let a=0;a<e.length;++a){let l=In(e[a]);l.tagName==="DIALOG"&&l.show();let f=n.createElement("div");Je(f),f.appendChild(l),o.appendChild(f),r[a]=l}for(;!n.body;)await de(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(i[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return i}function Je(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function ao(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
3
3
|
${o}:`;for(let r of e[o])n+=`
|
|
4
4
|
${t[r]?"\u{1F6AB}":"\u27A1\uFE0F"} ${r}`}console.log(`${n}
|
|
5
|
-
\`\`\``)}var io="mmMwWLliI0fiflO&1",ge={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function so(){return ao((e,t,n)=>{let o={},r={};for(let a of Object.keys(ge)){let[l={},d=io]=ge[a],u=e.createElement("span");u.textContent=d,u.style.whiteSpace="nowrap";for(let i of Object.keys(l)){let c=l[i];c!==void 0&&(u.style[i]=c)}o[a]=u,t.append(e.createElement("br"),u)}let s=X()&&an();for(let a of Object.keys(ge)){let l=o[a].getBoundingClientRect().width;r[a]=s?co(l*n.devicePixelRatio):l}return r})}function co(e){let t=ae()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function ao(e,t=4e3){return at((n,o)=>{let r=o.document,s=r.body,a=s.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",X()?s.style.zoom=`${1/o.devicePixelRatio}`:C()&&(s.style.zoom="reset");let l=r.createElement("div");return l.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),s.appendChild(l),e(r,s,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var uo="mmMwWLliI0O&1",lo="48px",j=["monospace","sans-serif","serif"],Be=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function fo(){return at((e,{document:t})=>{let n=t.body;n.style.fontSize=lo;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},s={},a=m=>{let p=t.createElement("span"),{style:g}=p;return g.position="absolute",g.top="0",g.left="0",g.fontFamily=m,p.textContent=uo,o.appendChild(p),p},l=(m,p)=>a(`'${m}',${p}`),d=()=>j.map(a),u=()=>{let m={};for(let p of Be)m[p]=j.map(g=>l(p,g));return m},i=m=>j.some((p,g)=>m[g].offsetWidth!==r[p]||m[g].offsetHeight!==s[p]),c=d(),h=u();n.appendChild(o);for(let m=0;m<j.length;m++)r[j[m]]=c[m].offsetWidth,s[j[m]]=c[m].offsetHeight;return Be.filter(m=>i(h[m]))})}function mo(){if(Je("active"))return!0;if(Je("none"))return!1}function Je(e){return matchMedia(`(forced-colors: ${e})`).matches}function po(){let e=ho();return e!==void 0&&J()&&st()?e>=8?8:4:e}function ho(){return M(_e(navigator.hardwareConcurrency),void 0)}function go(){if(Ue("high"))return!0;if(Ue("standard"))return!1}function Ue(e){return matchMedia(`(dynamic-range: ${e})`).matches}function yo(){if(!(it()||on()))try{return!!window.indexedDB}catch{return!0}}function bo(){if(Ke("inverted"))return!0;if(Ke("none"))return!1}function Ke(e){return matchMedia(`(inverted-colors: ${e})`).matches}function wo(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))X()&&sn()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function _o(){try{return!!window.localStorage}catch{return!0}}var y=Math,x=()=>0;function vo(){let e=y.acos||x,t=y.acosh||x,n=y.asin||x,o=y.asinh||x,r=y.atanh||x,s=y.atan||x,a=y.sin||x,l=y.sinh||x,d=y.cos||x,u=y.cosh||x,i=y.tan||x,c=y.tanh||x,h=y.exp||x,m=y.expm1||x,p=y.log1p||x,g=b=>y.pow(y.PI,b),L=b=>y.log(b+y.sqrt(b*b-1)),G=b=>y.log(b+y.sqrt(b*b+1)),Q=b=>y.log((1+b)/(1-b))/2,Z=b=>y.exp(b)-1/y.exp(b)/2,T=b=>(y.exp(b)+1/y.exp(b))/2,P=b=>y.exp(b)-1,q=b=>(y.exp(2*b)-1)/(y.exp(2*b)+1),E=b=>y.log(1+b);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:L(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:G(1),atanh:r(.5),atanhPf:Q(.5),atan:s(.5),sin:a(-1e300),sinh:l(1),sinhPf:Z(1),cos:d(10.000000000123),cosh:u(1),coshPf:T(1),tan:i(-1e300),tanh:c(1),tanhPf:q(1),exp:h(1),expm1:m(1),expm1Pf:P(1),log1p:p(10),log1pPf:E(10),powPI:g(-100)}}var ko=100;function So(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=ko;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function xo(){return!!window.openDatabase}function Lo(){return navigator.oscpu}function Ao(){return navigator.pdfViewerEnabled}function Po(){let{platform:e}=navigator;return e==="MacIntel"&&C()&&!ve()?ln()?"iPad":"iPhone":e}function Io(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let s=0;s<o.length;++s){let a=o[s];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function Fo(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Co(){if(Qe("reduce"))return!0;if(Qe("no-preference"))return!1}function Qe(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function Eo(){if(qe("reduce"))return!0;if(qe("no-preference"))return!1}function qe(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Mo=2500,Ro=10,se,ye;function Vo(){if(ye!==void 0)return;let e=()=>{let t=be();we(t)?ye=setTimeout(e,Mo):(se=t,ye=void 0)};e()}function To(){return Vo(),async()=>{let e=be();if(we(e)){if(se)return[...se];dn()&&(await fn(),e=be())}return we(e)||(se=e),e}}function Wo(){let e=C()&&U()&&B(),t=J()&&st();if(e||t)return()=>Promise.resolve(void 0);let n=To();return async()=>{let o=await n(),r=s=>s===null?null:rt(s,Ro);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function be(){let e=screen;return[M(F(e.availTop),null),M(F(e.width)-F(e.availWidth)-M(F(e.availLeft),0),null),M(F(e.height)-F(e.availHeight)-M(F(e.availTop),0),null),M(F(e.availLeft),null)]}function we(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Do(){if(!(C()&&U()&&B()))return No()}function No(){let e=screen,t=o=>M(_e(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function Go(){try{return!!window.sessionStorage}catch{return!0}}function Zo(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-Ho();return`UTC${n>=0?"+":""}${n}`}function Ho(){let e=new Date().getFullYear();return Math.max(F(new Date(e,0,1).getTimezoneOffset()),F(new Date(e,6,1).getTimezoneOffset()))}function Oo(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=_e(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function jo(e){return/not/i.test(e)}async function Yo(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!jo(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function Xo(){return navigator.vendor||""}function $o(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var ut=-1,lt=-2,zo=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Bo=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Jo=["FRAGMENT_SHADER","VERTEX_SHADER"],Uo=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],dt="WEBGL_debug_renderer_info",Ko="WEBGL_polygon_mode";function Qo({cache:e}){var t,n,o,r,s,a;let l=ft(e);if(!l)return ut;if(!pt(l))return lt;let d=mt()?null:l.getExtension(dt);return{version:((t=l.getParameter(l.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=l.getParameter(l.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:d?(o=l.getParameter(d.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=l.getParameter(l.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:d?(s=l.getParameter(d.UNMASKED_RENDERER_WEBGL))===null||s===void 0?void 0:s.toString():"",shadingLanguageVersion:((a=l.getParameter(l.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function qo({cache:e}){let t=ft(e);if(!t)return ut;if(!pt(t))return lt;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],s=[],a=[],l=[],d=[];if(o)for(let i of Object.keys(o))s.push(`${i}=${o[i]}`);let u=et(t);for(let i of u){let c=t[i];a.push(`${i}=${c}${zo.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let i of n){if(i===dt&&mt()||i===Ko&&nr())continue;let c=t.getExtension(i);if(!c){r.push(i);continue}for(let h of et(c)){let m=c[h];l.push(`${h}=${m}${Bo.has(m)?`=${t.getParameter(m)}`:""}`)}}for(let i of Jo)for(let c of Uo){let h=er(t,i,c);d.push(`${i}.${c}=${h.join(",")}`)}return l.sort(),a.sort(),{contextAttributes:s,parameters:a,shaderPrecisions:d,extensions:n,extensionParameters:l,unsupportedExtensions:r}}function ft(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function er(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function et(e){return Object.keys(e.__proto__).filter(tr)}function tr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function mt(){return J()}function nr(){return X()||C()}function pt(e){return typeof e.getParameter=="function"}var or={userAgentData:Yo,fonts:fo,domBlockers:to,fontPreferences:so,audio:En,screenFrame:Wo,canvas:Nn,osCpu:Lo,languages:wo,colorDepth:zn,deviceMemory:qn,screenResolution:Do,hardwareConcurrency:po,timezone:Zo,sessionStorage:Go,localStorage:_o,indexedDB:yo,openDatabase:xo,cpuClass:Kn,platform:Po,plugins:Io,touchSupport:Oo,vendor:Xo,vendorFlavors:$o,cookiesEnabled:Un,colorGamut:Bn,invertedColors:bo,forcedColors:mo,monochrome:So,contrast:Jn,reducedMotion:Co,reducedTransparency:Eo,hdr:go,math:vo,pdfViewerEnabled:Ao,architecture:Cn,applePay:Pn,privateClickMeasurement:Fo,audioBaseLatency:Dn,dateTimeLocale:Qn,webGlBasics:Qo,webGlExtensions:qo};function rr(e){return Sn(or,e,[])}function V(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,s=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,d=t[1]>>>16,u=t[1]&65535,i=0,c=0,h=0,m=0;m+=s+u,h+=m>>>16,m&=65535,h+=r+d,c+=h>>>16,h&=65535,c+=o+l,i+=c>>>16,c&=65535,i+=n+a,i&=65535,e[0]=i<<16|c,e[1]=h<<16|m}function I(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,s=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,d=t[1]>>>16,u=t[1]&65535,i=0,c=0,h=0,m=0;m+=s*u,h+=m>>>16,m&=65535,h+=r*u,c+=h>>>16,h&=65535,h+=s*d,c+=h>>>16,h&=65535,c+=o*u,i+=c>>>16,c&=65535,c+=r*d,i+=c>>>16,c&=65535,c+=s*l,i+=c>>>16,c&=65535,i+=n*u+o*d+r*l+s*a,i&=65535,e[0]=i<<16|c,e[1]=h<<16|m}function Y(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function A(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function _(e,t){e[0]^=t[0],e[1]^=t[1]}var ir=[4283543511,3981806797],sr=[3301882366,444984403];function tt(e){let t=[0,e[0]>>>1];_(e,t),I(e,ir),t[1]=e[0]>>>1,_(e,t),I(e,sr),t[1]=e[0]>>>1,_(e,t)}var re=[2277735313,289559509],ie=[1291169091,658871167],nt=[0,5],cr=[0,1390208809],ar=[0,944331445];function ur(e,t){let n=en(e);t=t||0;let o=[0,n.length],r=o[1]%16,s=o[1]-r,a=[0,t],l=[0,t],d=[0,0],u=[0,0],i;for(i=0;i<s;i=i+16)d[0]=n[i+4]|n[i+5]<<8|n[i+6]<<16|n[i+7]<<24,d[1]=n[i]|n[i+1]<<8|n[i+2]<<16|n[i+3]<<24,u[0]=n[i+12]|n[i+13]<<8|n[i+14]<<16|n[i+15]<<24,u[1]=n[i+8]|n[i+9]<<8|n[i+10]<<16|n[i+11]<<24,I(d,re),Y(d,31),I(d,ie),_(a,d),Y(a,27),V(a,l),I(a,nt),V(a,cr),I(u,ie),Y(u,33),I(u,re),_(l,u),Y(l,31),V(l,a),I(l,nt),V(l,ar);d[0]=0,d[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[i+14],A(c,48),_(u,c);case 14:c[1]=n[i+13],A(c,40),_(u,c);case 13:c[1]=n[i+12],A(c,32),_(u,c);case 12:c[1]=n[i+11],A(c,24),_(u,c);case 11:c[1]=n[i+10],A(c,16),_(u,c);case 10:c[1]=n[i+9],A(c,8),_(u,c);case 9:c[1]=n[i+8],_(u,c),I(u,ie),Y(u,33),I(u,re),_(l,u);case 8:c[1]=n[i+7],A(c,56),_(d,c);case 7:c[1]=n[i+6],A(c,48),_(d,c);case 6:c[1]=n[i+5],A(c,40),_(d,c);case 5:c[1]=n[i+4],A(c,32),_(d,c);case 4:c[1]=n[i+3],A(c,24),_(d,c);case 3:c[1]=n[i+2],A(c,16),_(d,c);case 2:c[1]=n[i+1],A(c,8),_(d,c);case 1:c[1]=n[i],_(d,c),I(d,re),Y(d,31),I(d,ie),_(a,d)}return _(a,o),_(l,o),V(a,l),V(l,a),tt(a),tt(l),V(a,l),V(l,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(l[0]>>>0).toString(16)}`.slice(-8)+`00000000${(l[1]>>>0).toString(16)}`.slice(-8)}function lr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function ht(e){return JSON.stringify(e,(t,n)=>n instanceof Error?tn(n):n,2)}function gt(e){return ur(lr(e))}function dr(e){let t,n=gn(e);return{get visitorId(){return t===void 0&&(t=gt(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:ot}}function fr(e=50){return _n(e,e*2)}function mr(e,t){let n=Date.now();return{async get(o){let r=Date.now(),s=await e(),a=dr(s);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
5
|
+
\`\`\``)}var uo="mmMwWLliI0fiflO&1",we={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function lo(){return mo((e,t,n)=>{let o={},r={};for(let a of Object.keys(we)){let[l={},f=uo]=we[a],u=e.createElement("span");u.textContent=f,u.style.whiteSpace="nowrap";for(let s of Object.keys(l)){let c=l[s];c!==void 0&&(u.style[s]=c)}o[a]=u,t.append(e.createElement("br"),u)}let i=$()&&fn();for(let a of Object.keys(we)){let l=o[a].getBoundingClientRect().width;r[a]=i?fo(l*n.devicePixelRatio):l}return r})}function fo(e){let t=fe()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function mo(e,t=4e3){return lt((n,o)=>{let r=o.document,i=r.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",$()?i.style.zoom=`${1/o.devicePixelRatio}`:C()&&(i.style.zoom="reset");let l=r.createElement("div");return l.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),i.appendChild(l),e(r,i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var po="mmMwWLliI0O&1",ho="48px",Z=["monospace","sans-serif","serif"],Ue=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function go(){return lt((e,{document:t})=>{let n=t.body;n.style.fontSize=ho;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},i={},a=m=>{let p=t.createElement("span"),{style:y}=p;return y.position="absolute",y.top="0",y.left="0",y.fontFamily=m,p.textContent=po,o.appendChild(p),p},l=(m,p)=>a(`'${m}',${p}`),f=()=>Z.map(a),u=()=>{let m={};for(let p of Ue)m[p]=Z.map(y=>l(p,y));return m},s=m=>Z.some((p,y)=>m[y].offsetWidth!==r[p]||m[y].offsetHeight!==i[p]),c=f(),h=u();n.appendChild(o);for(let m=0;m<Z.length;m++)r[Z[m]]=c[m].offsetWidth,i[Z[m]]=c[m].offsetHeight;return Ue.filter(m=>s(h[m]))})}function yo(){if(Ke("active"))return!0;if(Ke("none"))return!1}function Ke(e){return matchMedia(`(forced-colors: ${e})`).matches}function bo(){let e=wo();return e!==void 0&&U()&&at()?e>=8?8:4:e}function wo(){return F(Se(navigator.hardwareConcurrency),void 0)}function _o(){if(Qe("high"))return!0;if(Qe("standard"))return!1}function Qe(e){return matchMedia(`(dynamic-range: ${e})`).matches}function ko(){if(!(ct()||an()))try{return!!window.indexedDB}catch{return!0}}function vo(){if(qe("inverted"))return!0;if(qe("none"))return!1}function qe(e){return matchMedia(`(inverted-colors: ${e})`).matches}function So(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))$()&&ln()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function xo(){try{return!!window.localStorage}catch{return!0}}var w=Math,x=()=>0;function Lo(){let e=w.acos||x,t=w.acosh||x,n=w.asin||x,o=w.asinh||x,r=w.atanh||x,i=w.atan||x,a=w.sin||x,l=w.sinh||x,f=w.cos||x,u=w.cosh||x,s=w.tan||x,c=w.tanh||x,h=w.exp||x,m=w.expm1||x,p=w.log1p||x,y=b=>w.pow(w.PI,b),L=b=>w.log(b+w.sqrt(b*b-1)),G=b=>w.log(b+w.sqrt(b*b+1)),te=b=>w.log((1+b)/(1-b))/2,O=b=>w.exp(b)-1/w.exp(b)/2,T=b=>(w.exp(b)+1/w.exp(b))/2,ne=b=>w.exp(b)-1,Y=b=>(w.exp(2*b)-1)/(w.exp(2*b)+1),z=b=>w.log(1+b);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:L(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:G(1),atanh:r(.5),atanhPf:te(.5),atan:i(.5),sin:a(-1e300),sinh:l(1),sinhPf:O(1),cos:f(10.000000000123),cosh:u(1),coshPf:T(1),tan:s(-1e300),tanh:c(1),tanhPf:Y(1),exp:h(1),expm1:m(1),expm1Pf:ne(1),log1p:p(10),log1pPf:z(10),powPI:y(-100)}}var Ao=100;function Po(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=Ao;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Io(){return!!window.openDatabase}function Co(){return navigator.oscpu}function Eo(){return navigator.pdfViewerEnabled}function Fo(){let{platform:e}=navigator;return e==="MacIntel"&&C()&&!xe()?pn()?"iPad":"iPhone":e}function Ro(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let i=0;i<o.length;++i){let a=o[i];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function Mo(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Vo(){if(et("reduce"))return!0;if(et("no-preference"))return!1}function et(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function To(){if(tt("reduce"))return!0;if(tt("no-preference"))return!1}function tt(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Wo=2500,No=10,le,_e;function Do(){if(_e!==void 0)return;let e=()=>{let t=ke();ve(t)?_e=setTimeout(e,Wo):(le=t,_e=void 0)};e()}function Go(){return Do(),async()=>{let e=ke();if(ve(e)){if(le)return[...le];hn()&&(await gn(),e=ke())}return ve(e)||(le=e),e}}function Oo(){let e=C()&&K()&&J(),t=U()&&at();if(e||t)return()=>Promise.resolve(void 0);let n=Go();return async()=>{let o=await n(),r=i=>i===null?null:st(i,No);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function ke(){let e=screen;return[F(I(e.availTop),null),F(I(e.width)-I(e.availWidth)-F(I(e.availLeft),0),null),F(I(e.height)-I(e.availHeight)-F(I(e.availTop),0),null),F(I(e.availLeft),null)]}function ve(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Ho(){if(!(C()&&K()&&J()))return Zo()}function Zo(){let e=screen,t=o=>F(Se(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function jo(){try{return!!window.sessionStorage}catch{return!0}}function $o(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-Yo();return`UTC${n>=0?"+":""}${n}`}function Yo(){let e=new Date().getFullYear();return Math.max(I(new Date(e,0,1).getTimezoneOffset()),I(new Date(e,6,1).getTimezoneOffset()))}function zo(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=Se(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function Xo(e){return/not/i.test(e)}async function Bo(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!Xo(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function Jo(){return navigator.vendor||""}function Uo(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var dt=-1,ft=-2,Ko=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Qo=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),qo=["FRAGMENT_SHADER","VERTEX_SHADER"],er=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],mt="WEBGL_debug_renderer_info",tr="WEBGL_polygon_mode";function nr({cache:e}){var t,n,o,r,i,a;let l=pt(e);if(!l)return dt;if(!gt(l))return ft;let f=ht()?null:l.getExtension(mt);return{version:((t=l.getParameter(l.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=l.getParameter(l.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:f?(o=l.getParameter(f.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=l.getParameter(l.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:f?(i=l.getParameter(f.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((a=l.getParameter(l.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function or({cache:e}){let t=pt(e);if(!t)return dt;if(!gt(t))return ft;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],i=[],a=[],l=[],f=[];if(o)for(let s of Object.keys(o))i.push(`${s}=${o[s]}`);let u=nt(t);for(let s of u){let c=t[s];a.push(`${s}=${c}${Ko.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let s of n){if(s===mt&&ht()||s===tr&&sr())continue;let c=t.getExtension(s);if(!c){r.push(s);continue}for(let h of nt(c)){let m=c[h];l.push(`${h}=${m}${Qo.has(m)?`=${t.getParameter(m)}`:""}`)}}for(let s of qo)for(let c of er){let h=rr(t,s,c);f.push(`${s}.${c}=${h.join(",")}`)}return l.sort(),a.sort(),{contextAttributes:i,parameters:a,shaderPrecisions:f,extensions:n,extensionParameters:l,unsupportedExtensions:r}}function pt(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function rr(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function nt(e){return Object.keys(e.__proto__).filter(ir)}function ir(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function ht(){return U()}function sr(){return $()||C()}function gt(e){return typeof e.getParameter=="function"}var cr={userAgentData:Bo,fonts:go,domBlockers:io,fontPreferences:lo,audio:Tn,screenFrame:Oo,canvas:Zn,osCpu:Co,languages:So,colorDepth:Kn,deviceMemory:oo,screenResolution:Ho,hardwareConcurrency:bo,timezone:$o,sessionStorage:jo,localStorage:xo,indexedDB:ko,openDatabase:Io,cpuClass:to,platform:Fo,plugins:Ro,touchSupport:zo,vendor:Jo,vendorFlavors:Uo,cookiesEnabled:eo,colorGamut:Qn,invertedColors:vo,forcedColors:yo,monochrome:Po,contrast:qn,reducedMotion:Vo,reducedTransparency:To,hdr:_o,math:Lo,pdfViewerEnabled:Eo,architecture:Vn,applePay:Fn,privateClickMeasurement:Mo,audioBaseLatency:Hn,dateTimeLocale:no,webGlBasics:nr,webGlExtensions:or};function ar(e){return Pn(cr,e,[])}function V(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,h=0,m=0;m+=i+u,h+=m>>>16,m&=65535,h+=r+f,c+=h>>>16,h&=65535,c+=o+l,s+=c>>>16,c&=65535,s+=n+a,s&=65535,e[0]=s<<16|c,e[1]=h<<16|m}function P(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,h=0,m=0;m+=i*u,h+=m>>>16,m&=65535,h+=r*u,c+=h>>>16,h&=65535,h+=i*f,c+=h>>>16,h&=65535,c+=o*u,s+=c>>>16,c&=65535,c+=r*f,s+=c>>>16,c&=65535,c+=i*l,s+=c>>>16,c&=65535,s+=n*u+o*f+r*l+i*a,s&=65535,e[0]=s<<16|c,e[1]=h<<16|m}function j(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function A(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function k(e,t){e[0]^=t[0],e[1]^=t[1]}var ur=[4283543511,3981806797],lr=[3301882366,444984403];function ot(e){let t=[0,e[0]>>>1];k(e,t),P(e,ur),t[1]=e[0]>>>1,k(e,t),P(e,lr),t[1]=e[0]>>>1,k(e,t)}var ae=[2277735313,289559509],ue=[1291169091,658871167],rt=[0,5],dr=[0,1390208809],fr=[0,944331445];function mr(e,t){let n=rn(e);t=t||0;let o=[0,n.length],r=o[1]%16,i=o[1]-r,a=[0,t],l=[0,t],f=[0,0],u=[0,0],s;for(s=0;s<i;s=s+16)f[0]=n[s+4]|n[s+5]<<8|n[s+6]<<16|n[s+7]<<24,f[1]=n[s]|n[s+1]<<8|n[s+2]<<16|n[s+3]<<24,u[0]=n[s+12]|n[s+13]<<8|n[s+14]<<16|n[s+15]<<24,u[1]=n[s+8]|n[s+9]<<8|n[s+10]<<16|n[s+11]<<24,P(f,ae),j(f,31),P(f,ue),k(a,f),j(a,27),V(a,l),P(a,rt),V(a,dr),P(u,ue),j(u,33),P(u,ae),k(l,u),j(l,31),V(l,a),P(l,rt),V(l,fr);f[0]=0,f[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[s+14],A(c,48),k(u,c);case 14:c[1]=n[s+13],A(c,40),k(u,c);case 13:c[1]=n[s+12],A(c,32),k(u,c);case 12:c[1]=n[s+11],A(c,24),k(u,c);case 11:c[1]=n[s+10],A(c,16),k(u,c);case 10:c[1]=n[s+9],A(c,8),k(u,c);case 9:c[1]=n[s+8],k(u,c),P(u,ue),j(u,33),P(u,ae),k(l,u);case 8:c[1]=n[s+7],A(c,56),k(f,c);case 7:c[1]=n[s+6],A(c,48),k(f,c);case 6:c[1]=n[s+5],A(c,40),k(f,c);case 5:c[1]=n[s+4],A(c,32),k(f,c);case 4:c[1]=n[s+3],A(c,24),k(f,c);case 3:c[1]=n[s+2],A(c,16),k(f,c);case 2:c[1]=n[s+1],A(c,8),k(f,c);case 1:c[1]=n[s],k(f,c),P(f,ae),j(f,31),P(f,ue),k(a,f)}return k(a,o),k(l,o),V(a,l),V(l,a),ot(a),ot(l),V(a,l),V(l,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(l[0]>>>0).toString(16)}`.slice(-8)+`00000000${(l[1]>>>0).toString(16)}`.slice(-8)}function pr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function yt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?sn(n):n,2)}function bt(e){return mr(pr(e))}function hr(e){let t,n=_n(e);return{get visitorId(){return t===void 0&&(t=bt(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:it}}function gr(e=50){return xn(e,e*2)}function yr(e,t){let n=Date.now();return{async get(o){let r=Date.now(),i=await e(),a=hr(i);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
6
6
|
|
|
7
7
|
\`\`\`
|
|
8
8
|
version: ${a.version}
|
|
9
9
|
userAgent: ${navigator.userAgent}
|
|
10
10
|
timeBetweenLoadAndGet: ${r-n}
|
|
11
11
|
visitorId: ${a.visitorId}
|
|
12
|
-
components: ${
|
|
13
|
-
\`\`\``),a}}}function pr(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${ot}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function hr(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&pr(),await fr(t);let r=rr({cache:{},debug:n});return mr(r,n)}var yt={load:hr,hashComponents:gt,componentsToDebugString:ht};var gr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],yr=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],ke=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Se=["lp","narrative"],bt=[...gr,...yr,...ke,...Se],br=new Set(bt);function xe(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let s=o.toLowerCase();br.has(s)&&r!==""&&!(s in t)&&(t[s]=r)}return t}var wr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,_r=["email"],vr=["phone","phonenumber","phone_number","tel","telefone"];function Le(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return wr.test(t)&&t.length<=254?t:null}function Ae(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let s=String(t).replace(/\D/g,""),a=["39","378","379"].includes(s);s&&!o.startsWith(s)&&(o=s+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}function wt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let s=o.toLowerCase();!t.email&&_r.includes(s)&&(t.email=Le(r)||void 0),!t.phone&&vr.includes(s)&&(t.phone=Ae(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Ie=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],kr=/\/widget\/(form|survey|booking)\//,xt=["buy.stripe.com","checkout.stripe.com"],Lt=e=>new Set([...xt,...e||[]].map(t=>String(t).toLowerCase())),R=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Sr="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",ue="data-f10x-field";function _t(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Sr);for(let[r,s]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(ue))&&(a.value=s);else if(o){let l=document.createElement("input");l.type="hidden",l.name=r,l.value=s,l.setAttribute(ue,""),e.appendChild(l)}}}var vt=new WeakMap;function xr(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=vt.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,vt.set(t,n),t.setAttribute(ue,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Pe(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[s,a]of Object.entries(t))Ie.includes(s)?o.searchParams.set(s,a):o.searchParams.has(s)||o.searchParams.set(s,a);return xt.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var kt=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function Fe({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let s=Lt(t),a=new WeakSet,l=!1,d=0,u=m=>{for(let p of document.querySelectorAll("a[href]")){if(!s.has(kt(p.getAttribute("href"))))continue;let g=Pe(p.getAttribute("href"),m,location.href);g&&p.setAttribute("href",g)}},i=m=>{for(let p of document.querySelectorAll("iframe[src]")){let g=p.getAttribute("src");if(!kr.test(g))continue;let L=Pe(g,m,location.href);L&&p.setAttribute("src",L)}},c=(m={})=>{m.iframes&&(l=!0);let p=e();for(let g of document.forms)_t(g,p,n);xr(p),u(p),l&&i(p)},h=()=>{d||(d=setTimeout(R(()=>{d=0,c()},o),50))};return new MutationObserver(h).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",R(m=>_t(m.target,e(),n),o),!0),document.addEventListener("click",R(m=>{let p=m.target instanceof Element?m.target.closest("a[href]"):null,g=p?kt(p.getAttribute("href")):"";if(!p||!s.has(g))return;let L=Pe(p.getAttribute("href"),e(),location.href);L&&p.setAttribute("href",L),r&&!a.has(p)&&r(g)&&a.add(p)},o),!0),R(c,o)(),{refresh:c}}var N="_f10x",Lr=120*1e3,Ar=200;function At({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Pt(e,t){let n;try{n=new URL(e).searchParams.get(N)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),s=n.lastIndexOf(".");if(o<1||r!==o+2||s<=r+1)return null;let a=n.slice(0,o),l=n.slice(o+1,r),d=n.slice(r+1,s),u=n.slice(s+1);if(!/^[0-9a-z]{1,12}$/.test(a)||l!=="i"&&l!=="a"||d.length>Ar||/\s/.test(d))return null;let i=t-parseInt(a,36);return Math.abs(i)<Lr?{distinctID:d,sessionID:u||null,identified:l==="i"}:null}var Pr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function It(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let s=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");Pr.test(s)?n.push(s):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Ft({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Lt(t),s=(u,i)=>i===u||i.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let i=location.hostname.toLowerCase();return e.some(c=>s(c,u))&&!e.some(c=>s(c,u)&&s(c,i))},l=u=>{try{let i=new URL(u,location.href);return(i.protocol==="http:"||i.protocol==="https:")&&a(i.hostname.toLowerCase())?i:null}catch{return null}},d=R(u=>{if(u.type==="auxclick"&&u.button!==1)return;let i=u.target instanceof Element?u.target.closest("a[href]"):null,c=i&&l(i.getAttribute("href")),h=c&&n();h&&(c.searchParams.set(N,h),i.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,d,!0);document.addEventListener("contextmenu",R(u=>{let i=u.target instanceof Element?u.target.closest("a[href]"):null;if(!i)return;let c;try{c=new URL(i.getAttribute("href"),location.href)}catch{return}c.searchParams.has(N)&&(c.searchParams.delete(N),i.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",R(u=>{let i=u.target;if(!(i instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,h=l((c||i).getAttribute(c?"formaction":"action")||""),m=h&&n();if(!m)return;let p=(c&&c.getAttribute("formmethod")||i.getAttribute("method")||"get").toLowerCase();if(p==="get"){let g=i.querySelector(`input[name="${N}"]`);g||(g=document.createElement("input"),g.type="hidden",g.name=N,g.setAttribute(ue,""),i.appendChild(g)),g.value=m}else p==="post"&&(h.searchParams.set(N,m),(c||i).setAttribute(c?"formaction":"action",h.href))},o),!0)}var Ir=/e-?mail/i,Fr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Ct=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),Et=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Mt=e=>e.type==="email"||Ir.test(Et(e)),Rt=e=>e.type==="tel"||e.type!=="email"&&Fr.test(Et(e));function Cr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),s=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return s?s[1]:null}function Er(e){if(!(e instanceof HTMLInputElement)||Ct.has(e.type))return{};if(Mt(e)){let t=Le(e.value);return t?{email:t}:{}}if(Rt(e)){let t=Ae(e.value,Cr(e));return t?{phone:t}:{}}return{}}function St(e){let t={};for(let n of e){let o=Er(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Mr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Ct.has(r.type)&&(Mt(r)||Rt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Rr=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity());function Vt(e,t){document.addEventListener("submit",R(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=St(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form")},t),!0),document.addEventListener("click",R(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Mr(o);if(!r||Rr(r))return;let s=St(r.querySelectorAll("input"));(s.email||s.phone)&&e(s,"form")},t),!0)}var Ve="2.2.0",Ce="f10x_consent",Vr=typeof D=="object"?D:[],Tr="1",Wr=/^\d+\.\d+\.\d+$/,Te="f10x_contact_id",Dr="contact_id",Nr=/^[A-Za-z0-9_-]{6,128}$/,Tt=1e3,Wt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",Gr="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",We=e=>e&&e.message||String(e),Zr=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${We(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,Hr=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function Or(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function jr(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(le("local",e)))||t(n(le("session",e)))}var Yr={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},De=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},le=(e,t)=>{var n,o;try{return(o=(n=De(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},Ee=(e,t,n)=>{var o;try{(o=De(e))==null||o.setItem(t,n)}catch{}};function Dt(e){let t={};try{let n=new URL(e).searchParams;for(let o of Ie){let r=n.get(o);r&&Nr.test(r)&&(t[o]=r)}}catch{}return t}var Me=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Nt(){for(let n of["local","session"]){let o=De(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===Te)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function Xr(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Gt=e=>e==null||e==="posthog";function $r(e){let t=[],n=o=>{for(let r of Vr)o[r]=(...s)=>{o.push([r,...s])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,s)=>{Gt(s)?e():t[s]||(t[s]=[],n(t[s])),t._i.push([o,r,s])},t}function zr(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=Tr;return t&&(Wr.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function ai(e={}){if(window.__f10xTracking)return K(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=Re("preview"),K(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let f=Me({...xe(o),...Dt(o)}),w=!1,v=S=>{w||console.warn(`[@funnel10x/tracking] the dom extra failed (${We(S)}): the form in this frame may miss the fields from its URL.`),w=!0};try{Fe({values:()=>f,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:v})}catch(S){v(S)}return t=Re("frame",()=>f),K(t)}if(Xr())return console.warn(Wt),t=Re("conflict"),K(t);let s=xe(o),a=Dt(o)[Dr]||null,l=[],d="idle",u=null,i=!1,c=null,h=null,m=null,p=!1,g=null,L=!1,G=!1,Q=zr(e.apiHost,e.sdkVersion),Z=[],T=(f,w)=>{Z.includes(f)||(Z.push(f),console.warn(Zr(f,w)))},P=(f,w,v)=>{try{return w()}catch(S){return T(f,S),v}},q=()=>{p||console.warn(Gr),p=!0},E=$r(q),b=window.posthog;window.posthog=E;let Ne=()=>{let f={...s};return i&&(f.ph_anon_id=u.get_property("$device_id"),f.ph_distinct_id=u.get_distinct_id(),f.ph_session_id=u.get_session_id(),g&&(f.contact_id=g)),Me(f)},Zt=f=>i?(u.capture("checkout",{checkout_host:f},{send_instantly:!0}),!0):!1,Ge=P("dom",()=>Fe({values:Ne,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:f=>T("dom",f),onCheckout:Zt}),null),ee=f=>{Ge&&P("dom",()=>Ge.refresh(f))},Ze=new Set,de=[],fe=(f,w)=>{if(!i){n&&oe()==="denied"||de.push([f,w]);return}let v=Object.fromEntries(Object.entries(f).filter(([S,H])=>H&&!Ze.has(`${S}:${H}`)));if(Object.keys(v).length){for(let[S,H]of Object.entries(v))Ze.add(`${S}:${H}`);u.capture("contact_captured",{...v,contact_source:w})}},Ht=P("contact",()=>wt(o),{});P("contact",()=>Vt((f,w)=>fe(f,w),f=>T("contact",f)));let me=P("linker",()=>It(e.linkedDomains),[]),W=me.length?P("linker",()=>Pt(o,Hr()),null):null,He=!1,te=null,ne=null,Ot=()=>i?At({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;me.length&&P("linker",()=>Ft({hosts:me,checkoutHosts:e.checkoutHosts,value:Ot,onError:f=>T("linker",f)}));let jt=f=>{!W||He||(He=!0,P("linker",()=>{let w=f.bootstrap&&typeof f.bootstrap=="object"?f.bootstrap:{};if(w.distinctID||f.identity_distinct_id||jr(Or(e.key,f))){ne=W.distinctID;return}te={...w,distinctID:W.distinctID,isIdentifiedID:W.identified,...W.sessionID&&!w.sessionID?{sessionID:W.sessionID}:{}}}))},Yt=Me({tracking_version:Ve,page_version:n?e.pageVersion||1:void 0,ab_test:n&&e.test||void 0}),Xt=f=>(!f||f.event==="$snapshot"||(f.properties={...f.properties,...Yt,...c?{fingerprint:c}:{},fingerprint_ms:h,...p?{tracking_conflict:!0}:{},...Z.length?{tracking_degraded:[...Z]}:{},...ne?{linked_distinct_id:ne}:{}}),f),oe=()=>{let f=le("local",Ce);return f==="granted"||f==="denied"?f:null},$=!n||e.consent===!1||oe()==="granted",pe=n?"direct":"tag",$t=()=>{if(m)return m;let f=Date.now(),w=(async()=>{let S=await(await yt.load({monitoring:!1})).get();c=(S==null?void 0:S.visitorId)||null,h=Date.now()-f})().catch(v=>{h===null&&(h=Date.now()-f),T("fingerprint",v)});return m=Promise.race([w,new Promise(v=>setTimeout(v,Tt))]).then(()=>{h===null&&(h=Tt)}),m},zt=()=>{if(L)return;L=!0;let f=document.createElement("link");f.rel="preload",f.as="script",f.crossOrigin="anonymous",f.href=Q,document.head.appendChild(f)},Oe=()=>{let f=e.posthog||{};return jt(f),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...Yr,custom_campaign_params:[...ke,"utm_id","utm_placement",...Se],...f,...te?{bootstrap:te}:{},before_send:Xt,loaded:Jt}},Bt=()=>{let f=window.posthog;if(f===E){if(E._i.unshift([e.key,Oe()]),d="injected",G)return;G=!0;let w=document.createElement("script");w.async=!0,w.crossOrigin="anonymous",w.src=Q,document.head.appendChild(w);return}if(G&&f&&!f.__loaded&&typeof f.init=="function"){d="injected",f.init(e.key,Oe()),u&&typeof u._execute_array=="function"&&u._execute_array(E);return}console.warn(Wt),pe="conflict",d="idle"},je=()=>{d!=="idle"||pe==="conflict"||(d="waiting",Promise.resolve().then(async()=>{if(!$){d="idle";return}if(zt(),await P("fingerprint",$t,null),!$){d="idle";return}Bt()}).catch(f=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${We(f)}): nothing is tracked by this snippet on this page.`),!G&&(d="idle",window.posthog===E&&(window.posthog=b))}))};function Jt(f){u=f,d="loaded";let w=f.init;f.init=function(v,S,H){return Gt(H)&&q(),w.apply(this,arguments)},f.has_opted_out_capturing()&&f.opt_in_capturing({captureEventName:!1}),g=a||le("session",Te),a&&(Ee("session",Te,a),f.get_distinct_id()!==a&&f.identify(a)),i=!0,ee({iframes:!0}),P("contact",()=>{fe(Ht,"url");for(let[v,S]of de.splice(0))fe(v,S)});for(let v of l.splice(0))v(!0)}return $?je():(oe()==="denied"&&Nt(),ee({iframes:!0})),t={version:Ve,get mode(){return pe},consent:()=>n&&e.consent?oe():null,grant(){Ee("local",Ce,"granted"),$=!0,u?i||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),i=!0,u.capture("$pageview"),ee({iframes:!0})):je()},deny(){var f;if(Ee("local",Ce,"denied"),$=!1,de=[],W=null,te=null,ne=null,!u){E._i.length=0,d==="injected"&&(d="idle");return}u.opt_out_capturing(),(f=u.stopSessionRecording)==null||f.call(u),u.set_config({disable_persistence:!0}),Nt(),i=!1,g=null,ee()},onReady(f){i?f(!0):l.push(f)},fields:Ne,capture(f,w){i&&u.capture(f,w)},get posthog(){return u||(window.posthog===E?E:null)}},K(t)}function K(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function Re(e,t=()=>({})){return{version:Ve,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},posthog:null}}export{bt as ALLOWED_PARAMS,Ce as CONSENT_KEY,Ve as VERSION,ai as init};
|
|
12
|
+
components: ${yt(i)}
|
|
13
|
+
\`\`\``),a}}}function br(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${it}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function wr(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&br(),await gr(t);let r=ar({cache:{},debug:n});return yr(r,n)}var wt={load:wr,hashComponents:bt,componentsToDebugString:yt};var _r=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],kr=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Le=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Ae=["lp","narrative"],_t=[..._r,...kr,...Le,...Ae],vr=new Set(_t);function Pe(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();vr.has(i)&&r!==""&&!(i in t)&&(t[i]=r)}return t}var Sr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,xr=["email"],Lr=["phone","phonenumber","phone_number","tel","telefone"];function Q(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Sr.test(t)&&t.length<=254?t:null}function q(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let i=String(t).replace(/\D/g,""),a=["39","378","379"].includes(i);i&&!o.startsWith(i)&&(o=i+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}function kt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();!t.email&&xr.includes(i)&&(t.email=Q(r)||void 0),!t.phone&&Lr.includes(i)&&(t.phone=q(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Ce=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],Ar=/\/widget\/(form|survey|booking)\//,At=["buy.stripe.com","checkout.stripe.com"],Pt=e=>new Set([...At,...e||[]].map(t=>String(t).toLowerCase())),R=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Pr="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",me="data-f10x-field";function vt(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Pr);for(let[r,i]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(me))&&(a.value=i);else if(o){let l=document.createElement("input");l.type="hidden",l.name=r,l.value=i,l.setAttribute(me,""),e.appendChild(l)}}}var St=new WeakMap;function Ir(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=St.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,St.set(t,n),t.setAttribute(me,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Ie(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[i,a]of Object.entries(t))Ce.includes(i)?o.searchParams.set(i,a):o.searchParams.has(i)||o.searchParams.set(i,a);return At.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var xt=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function Ee({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let i=Pt(t),a=new WeakSet,l=!1,f=0,u=m=>{for(let p of document.querySelectorAll("a[href]")){if(!i.has(xt(p.getAttribute("href"))))continue;let y=Ie(p.getAttribute("href"),m,location.href);y&&p.setAttribute("href",y)}},s=m=>{for(let p of document.querySelectorAll("iframe[src]")){let y=p.getAttribute("src");if(!Ar.test(y))continue;let L=Ie(y,m,location.href);L&&p.setAttribute("src",L)}},c=(m={})=>{m.iframes&&(l=!0);let p=e();for(let y of document.forms)vt(y,p,n);Ir(p),u(p),l&&s(p)},h=()=>{f||(f=setTimeout(R(()=>{f=0,c()},o),50))};return new MutationObserver(h).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",R(m=>vt(m.target,e(),n),o),!0),document.addEventListener("click",R(m=>{let p=m.target instanceof Element?m.target.closest("a[href]"):null,y=p?xt(p.getAttribute("href")):"";if(!p||!i.has(y))return;let L=Ie(p.getAttribute("href"),e(),location.href);L&&p.setAttribute("href",L),r&&!a.has(p)&&r(y)&&a.add(p)},o),!0),R(c,o)(),{refresh:c}}var D="_f10x",Cr=120*1e3,Er=200;function It({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Ct(e,t){let n;try{n=new URL(e).searchParams.get(D)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),i=n.lastIndexOf(".");if(o<1||r!==o+2||i<=r+1)return null;let a=n.slice(0,o),l=n.slice(o+1,r),f=n.slice(r+1,i),u=n.slice(i+1);if(!/^[0-9a-z]{1,12}$/.test(a)||l!=="i"&&l!=="a"||f.length>Er||/\s/.test(f))return null;let s=t-parseInt(a,36);return Math.abs(s)<Cr?{distinctID:f,sessionID:u||null,identified:l==="i"}:null}var Fr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function Et(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let i=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");Fr.test(i)?n.push(i):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Ft({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Pt(t),i=(u,s)=>s===u||s.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let s=location.hostname.toLowerCase();return e.some(c=>i(c,u))&&!e.some(c=>i(c,u)&&i(c,s))},l=u=>{try{let s=new URL(u,location.href);return(s.protocol==="http:"||s.protocol==="https:")&&a(s.hostname.toLowerCase())?s:null}catch{return null}},f=R(u=>{if(u.type==="auxclick"&&u.button!==1)return;let s=u.target instanceof Element?u.target.closest("a[href]"):null,c=s&&l(s.getAttribute("href")),h=c&&n();h&&(c.searchParams.set(D,h),s.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,f,!0);document.addEventListener("contextmenu",R(u=>{let s=u.target instanceof Element?u.target.closest("a[href]"):null;if(!s)return;let c;try{c=new URL(s.getAttribute("href"),location.href)}catch{return}c.searchParams.has(D)&&(c.searchParams.delete(D),s.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",R(u=>{let s=u.target;if(!(s instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,h=l((c||s).getAttribute(c?"formaction":"action")||""),m=h&&n();if(!m)return;let p=(c&&c.getAttribute("formmethod")||s.getAttribute("method")||"get").toLowerCase();if(p==="get"){let y=s.querySelector(`input[name="${D}"]`);y||(y=document.createElement("input"),y.type="hidden",y.name=D,y.setAttribute(me,""),s.appendChild(y)),y.value=m}else p==="post"&&(h.searchParams.set(D,m),(c||s).setAttribute(c?"formaction":"action",h.href))},o),!0)}var Rr=/e-?mail/i,Mr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Rt=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),Mt=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Vt=e=>e.type==="email"||Rr.test(Mt(e)),Tt=e=>e.type==="tel"||e.type!=="email"&&Mr.test(Mt(e));function Vr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),i=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return i?i[1]:null}function Tr(e){if(!(e instanceof HTMLInputElement)||Rt.has(e.type))return{};if(Vt(e)){let t=Q(e.value);return t?{email:t}:{}}if(Tt(e)){let t=q(e.value,Vr(e));return t?{phone:t}:{}}return{}}function Lt(e){let t={};for(let n of e){let o=Tr(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Wr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Rt.has(r.type)&&(Vt(r)||Tt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Nr=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity());function Wt(e,t){document.addEventListener("submit",R(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=Lt(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form")},t),!0),document.addEventListener("click",R(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Wr(o);if(!r||Nr(r))return;let i=Lt(r.querySelectorAll("input"));(i.email||i.phone)&&e(i,"form")},t),!0)}var Te="2.4.0",Fe="f10x_consent",Dr=typeof N=="object"?N:[],Gr="1",Or=/^\d+\.\d+\.\d+$/,We="f10x_contact_id",Hr="contact_id",Zr=/^[A-Za-z0-9_-]{6,128}$/,Nt=1e3,Dt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",jr="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",$r=["snippet","page"],Yr=e=>`[@funnel10x/tracking] ${e===void 0?"this site does not declare who sends checkout":`checkout is ${JSON.stringify(e)}, which is neither 'snippet' nor 'page'`}: the snippet does not send checkout. Set checkout: 'snippet' (the checkout links are <a>) or checkout: 'page' (the page calls f10xTracking.capture('checkout')) in the init.`,Gt={Purchase:"purchase",purchase_completed:"purchase",order_completed:"purchase",InitiateCheckout:"checkout",initiate_checkout:"checkout",checkout_started:"checkout",begin_checkout:"checkout",CompleteRegistration:"registration_completed",registration:"registration_completed",sign_up:"registration_completed",webinar_registration:"registration_completed",appointment_booked:"appointment_scheduled",booking:"appointment_scheduled",Schedule:"appointment_scheduled",call_booked:"appointment_scheduled",Lead:"contact_captured"},zr=["purchase","registration_completed","appointment_scheduled"];function Xr(e,t,n){let o=[],r=t&&typeof t=="object"?t:{},i=Object.prototype.hasOwnProperty.call(Gt,e)?Gt[e]:null;if(i){let a=i==="contact_captured"?", which the page sends through f10xTracking.contact({ email, phone })":zr.includes(i)&&i!=="purchase"?", which only the server sends":"";o.push(["synonym",`"${e}" is not in the funnel event contract and the warehouse ignores it: the contract name is "${i}"${a}.`])}if(e==="purchase"){o.push(["server","purchase belongs to the server (the admin sends it from Stripe): this one from the page still counts until the server sends it in this project, and from that day it counts twice, so remove it then."]);let a=[];typeof r.session_id=="string"&&r.session_id.startsWith("cs_")||a.push("session_id (the cs_\u2026 of the Stripe checkout session)"),typeof r.currency=="string"&&r.currency||a.push("currency");let l=typeof r.amount_total=="string"&&r.amount_total.trim()?Number(r.amount_total):r.amount_total;typeof l=="number"&&Number.isFinite(l)||a.push("amount_total");for(let f of a)o.push([`missing:${f}`,`purchase without ${f}: it is sent, and the column stays empty in the warehouse.`])}return(e==="registration_completed"||e==="appointment_scheduled")&&o.push(["server",`${e} is sent only by the server, from the system that records it (the CRM): the warehouse ignores one sent from a page, even when an app gives a callback.`]),e==="contact_captured"&&o.push(["contact","contact_captured by hand: call f10xTracking.contact({ email, phone }) instead, which normalizes, sends each value once per page and waits for the consent."]),e==="checkout"&&n==="snippet"&&o.push(["twice","checkout from the page on a site that declares checkout: 'snippet': the snippet already sends it on the click of a checkout link, so this one counts it twice."]),o}var Ne=e=>e&&e.message||String(e),Br=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${Ne(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,Jr=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function Ur(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function Kr(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(pe("local",e)))||t(n(pe("session",e)))}var Qr={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},De=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},pe=(e,t)=>{var n,o;try{return(o=(n=De(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},Re=(e,t,n)=>{var o;try{(o=De(e))==null||o.setItem(t,n)}catch{}};function Ot(e){let t={};try{let n=new URL(e).searchParams;for(let o of Ce){let r=n.get(o);r&&Zr.test(r)&&(t[o]=r)}}catch{}return t}var Me=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Ht(){for(let n of["local","session"]){let o=De(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===We)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function qr(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Zt=e=>e==null||e==="posthog";function ei(e){let t=[],n=o=>{for(let r of Dr)o[r]=(...i)=>{o.push([r,...i])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,i)=>{Zt(i)?e():t[i]||(t[i]=[],n(t[i])),t._i.push([o,r,i])},t}function ti(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=Gr;return t&&(Or.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function gi(e={}){if(window.__f10xTracking)return ee(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=Ve("preview"),ee(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let d=Me({...Pe(o),...Ot(o)}),g=!1,_=v=>{g||console.warn(`[@funnel10x/tracking] the dom extra failed (${Ne(v)}): the form in this frame may miss the fields from its URL.`),g=!0};try{Ee({values:()=>d,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:_})}catch(v){_(v)}return t=Ve("frame",()=>d),ee(t)}if(qr())return console.warn(Dt),t=Ve("conflict"),ee(t);let i=Pe(o),a=Ot(o)[Hr]||null,l=[],f="idle",u=null,s=!1,c=null,h=null,m=null,p=!1,y=null,L=!1,G=!1,te=ti(e.apiHost,e.sdkVersion),O=[],T=(d,g)=>{O.includes(d)||(O.push(d),console.warn(Br(d,g)))},ne=new Set,Y=(d,g)=>{ne.has(d)||(ne.add(d),console.warn(`[@funnel10x/tracking] ${g}`))},z=$r.includes(e.checkout)?e.checkout:null;z||console.warn(Yr(e.checkout));let b=(d,g,_)=>{try{return g()}catch(v){return T(d,v),_}},Ge=()=>{p||console.warn(jr),p=!0},M=ei(Ge),jt=window.posthog;window.posthog=M;let Oe=()=>{let d={...i};return s&&(d.ph_anon_id=u.get_property("$device_id"),d.ph_distinct_id=u.get_distinct_id(),d.ph_session_id=u.get_session_id(),y&&(d.contact_id=y)),Me(d)},$t=d=>s?(u.capture("checkout",{checkout_host:d},{send_instantly:!0}),!0):!1,He=b("dom",()=>Ee({values:Oe,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:d=>T("dom",d),onCheckout:z==="snippet"?$t:void 0}),null),oe=d=>{He&&b("dom",()=>He.refresh(d))},Ze=new Set,he=[],re=(d,g)=>{if(!s){n&&ce()==="denied"||he.push([d,g]);return}let _=Object.fromEntries(Object.entries(d).filter(([v,E])=>E&&!Ze.has(`${v}:${E}`)));if(Object.keys(_).length){for(let[v,E]of Object.entries(_))Ze.add(`${v}:${E}`);u.capture("contact_captured",{..._,contact_source:g})}},Yt=b("contact",()=>kt(o),{});b("contact",()=>Wt((d,g)=>re(d,g),d=>T("contact",d)));let ge=b("linker",()=>Et(e.linkedDomains),[]),W=ge.length?b("linker",()=>Ct(o,Jr()),null):null,je=!1,ie=null,se=null,zt=()=>s?It({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;ge.length&&b("linker",()=>Ft({hosts:ge,checkoutHosts:e.checkoutHosts,value:zt,onError:d=>T("linker",d)}));let Xt=d=>{!W||je||(je=!0,b("linker",()=>{let g=d.bootstrap&&typeof d.bootstrap=="object"?d.bootstrap:{};if(g.distinctID||d.identity_distinct_id||Kr(Ur(e.key,d))){se=W.distinctID;return}ie={...g,distinctID:W.distinctID,isIdentifiedID:W.identified,...W.sessionID&&!g.sessionID?{sessionID:W.sessionID}:{}}}))},Bt=Me({tracking_version:Te,page_version:n?e.pageVersion||1:void 0,page_revision:n&&/^[a-f0-9]{64}$/.test(e.pageRevision||"")?e.pageRevision:void 0,ab_test:n&&e.test||void 0,ab_eligibility:n&&["none","randomized","direct","cross_exposure"].includes(e.abEligibility)?e.abEligibility:void 0,ab_assigned_version:n&&Number.isSafeInteger(e.abAssignedVersion)&&e.abAssignedVersion>0?e.abAssignedVersion:void 0}),Jt=d=>(!d||d.event==="$snapshot"||(d.properties={...d.properties,...Bt,...c?{fingerprint:c}:{},fingerprint_ms:h,...p?{tracking_conflict:!0}:{},...O.length?{tracking_degraded:[...O]}:{},...se?{linked_distinct_id:se}:{}}),d),ce=()=>{let d=pe("local",Fe);return d==="granted"||d==="denied"?d:null},X=!n||e.consent===!1||ce()==="granted",ye=n?"direct":"tag",Ut=()=>{if(m)return m;let d=Date.now(),g=(async()=>{let v=await(await wt.load({monitoring:!1})).get();c=(v==null?void 0:v.visitorId)||null,h=Date.now()-d})().catch(_=>{h===null&&(h=Date.now()-d),T("fingerprint",_)});return m=Promise.race([g,new Promise(_=>setTimeout(_,Nt))]).then(()=>{h===null&&(h=Nt)}),m},Kt=()=>{if(L)return;L=!0;let d=document.createElement("link");d.rel="preload",d.as="script",d.crossOrigin="anonymous",d.href=te,document.head.appendChild(d)},$e=()=>{let d=e.posthog||{};return Xt(d),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...Qr,custom_campaign_params:[...Le,"utm_id","utm_placement",...Ae],...d,...ie?{bootstrap:ie}:{},before_send:Jt,loaded:qt}},Qt=()=>{let d=window.posthog;if(d===M){if(M._i.unshift([e.key,$e()]),f="injected",G)return;G=!0;let g=document.createElement("script");g.async=!0,g.crossOrigin="anonymous",g.src=te,document.head.appendChild(g);return}if(G&&d&&!d.__loaded&&typeof d.init=="function"){f="injected",d.init(e.key,$e()),u&&typeof u._execute_array=="function"&&u._execute_array(M);return}console.warn(Dt),ye="conflict",f="idle"},Ye=()=>{f!=="idle"||ye==="conflict"||(f="waiting",Promise.resolve().then(async()=>{if(!X){f="idle";return}if(Kt(),await b("fingerprint",Ut,null),!X){f="idle";return}Qt()}).catch(d=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${Ne(d)}): nothing is tracked by this snippet on this page.`),!G&&(f="idle",window.posthog===M&&(window.posthog=jt))}))};function qt(d){u=d,f="loaded";let g=d.init;d.init=function(_,v,E){return Zt(E)&&Ge(),g.apply(this,arguments)},d.has_opted_out_capturing()&&d.opt_in_capturing({captureEventName:!1}),y=a||pe("session",We),a&&(Re("session",We,a),d.get_distinct_id()!==a&&d.identify(a)),s=!0,oe({iframes:!0}),b("contact",()=>{re(Yt,"url");for(let[_,v]of he.splice(0))re(_,v)});for(let _ of l.splice(0))_(!0)}return X?Ye():(ce()==="denied"&&Ht(),oe({iframes:!0})),t={version:Te,get mode(){return ye},consent:()=>n&&e.consent?ce():null,grant(){Re("local",Fe,"granted"),X=!0,u?s||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),s=!0,u.capture("$pageview"),oe({iframes:!0})):Ye()},deny(){var d;if(Re("local",Fe,"denied"),X=!1,he=[],W=null,ie=null,se=null,!u){M._i.length=0,f==="injected"&&(f="idle");return}u.opt_out_capturing(),(d=u.stopSessionRecording)==null||d.call(u),u.set_config({disable_persistence:!0}),Ht(),s=!1,y=null,oe()},onReady(d){s?d(!0):l.push(d)},fields:Oe,capture(d,g){try{for(let[_,v]of Xr(d,g,z))Y(`${d}:${_}`,v)}catch{}s&&u.capture(d,g,d==="checkout"?{send_instantly:!0}:void 0)},contact(d){b("contact",()=>{let g=d&&typeof d=="object"?d:{},_={};if(g.email!=null&&g.email!==""){let v=Q(g.email);v?_.email=v:Y(`contact:email:${g.email}`,`contact(): ${JSON.stringify(g.email)} is not an email, and it is not sent.`)}if(g.phone!=null&&g.phone!==""){let E=typeof g.phone=="string"&&/^\s*(\+|00)/.test(g.phone)?q(g.phone):null;E?_.phone=E:Y(`contact:phone:${g.phone}`,`contact(): ${JSON.stringify(g.phone)} is not a phone in international format (+351\u2026), and it is not sent.`)}(_.email||_.phone)&&re(_,"api")})},get posthog(){return u||(window.posthog===M?M:null)}},ee(t)}function ee(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function Ve(e,t=()=>({})){return{version:Te,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},contact(){},posthog:null}}export{_t as ALLOWED_PARAMS,Fe as CONSENT_KEY,Te as VERSION,gi as init};
|
package/dist/tag.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(()=>{var T=["addExceptionStep","alias","calculateEventProperties","canRenderSurvey","canRenderSurveyAsync","cancelPendingSurvey","capture","captureException","captureLog","captureTraceFeedback","captureTraceMetric","clearIdentity","clear_opt_in_out_capturing","createPersonProfile","debug","displaySurvey","getActiveMatchingSurveys","getAllFeatureFlags","getEarlyAccessFeatures","getExtension","getFeatureFlag","getFeatureFlagPayload","getFeatureFlagResult","getGroups","getPageViewId","getSessionProperty","getSurveys","get_distinct_id","get_explicit_consent_status","get_property","get_session_id","get_session_replay_url","group","has_opted_in_capturing","has_opted_out_capturing","identify","init","isFeatureEnabled","is_capturing","loadToolbar","on","onActiveMatchingSurveysChanged","onFeatureFlags","onSessionId","onSurveysLoaded","opt_in_capturing","opt_out_capturing","register","register_for_session","register_once","reloadFeatureFlags","renderSurvey","reset","resetGroupPropertiesForFlags","resetGroups","resetPersonPropertiesForFlags","sessionRecordingStarted","setGroupPropertiesForFlags","setIdentity","setInternalOrTestUser","setPersonProperties","setPersonPropertiesForFlags","set_config","shutdown","startExceptionAutocapture","startSessionRecording","stopExceptionAutocapture","stopSessionRecording","unregister","unregister_for_session","unsetPersonProperties","updateEarlyAccessFeatureEnrollment","updateFlags"];var
|
|
2
|
-
`),...e}}function on(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function st(){let e=window,t=navigator;return k(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function rn(){let e=window,t=navigator;return k(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!st()}function X(){let e=window,t=navigator;return k(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function C(){let e=window,t=navigator;return k(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function ke(){let e=window,{HTMLElement:t,Document:n}=e;return k(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function J(){let e=window;return on(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function U(){var e,t;let n=window;return k(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function sn(){let e=window,t=navigator,{CSS:n}=e;return k(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function ct(){let{CSS:e}=window;return k([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function cn(){let e=window;return k([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function an(){let e=window,{URLPattern:t}=e;return k(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function un(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return k([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function ln(){let e=window;return k(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function K(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return k([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function dn(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return k(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function fn(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function mn(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function ue(){var e,t;let n=X(),o=U(),r=window,s=navigator;return n?k([hn(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?k(["onorientationchange"in r,"orientation"in r,/android/i.test(s.appVersion)])>=2:!1}function pn(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return k(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function hn(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var gn="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function yn(e){let t=bn(e),n=wn(t);return{score:t,comment:gn.replace(/\$/g,`${n}`)}}function bn(e){if(ue())return .4;if(C())return ke()&&!(K()&&J())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function wn(e){return it(.99+.01*e,1e-4)}function ae(e,t){return new Promise(n=>setTimeout(n,e,t))}function _n(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function vn(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):ae(Math.min(e,t))}function at(e){return!!e&&typeof e.then=="function"}function Xe(e,t){try{let n=e();at(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function $e(e,t,n=16){let o=Array(e.length),r=Date.now();for(let s=0;s<e.length;++s){o[s]=t(e[s],s);let a=Date.now();a>=r+n&&(r=a,await _n())}return o}function B(e){return e.then(void 0,()=>{}),e}function kn(e){return typeof e!="function"}function Sn(e,t){let n=B(new Promise(o=>{let r=Date.now();Xe(e.bind(null,t),(...s)=>{let a=Date.now()-r;if(!s[0])return o(()=>({error:s[1],duration:a}));let l=s[1];if(kn(l))return o(()=>({value:l,duration:a}));o(()=>new Promise(d=>{let u=Date.now();Xe(l,(...i)=>{let c=a+Date.now()-u;if(!i[0])return d({error:i[1],duration:c});d({value:i[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function xn(e,t,n,o){let r=Object.keys(e).filter(a=>qt(n,a)),s=B($e(r,a=>Sn(e[a],t),o));return async function(){let l=await s,d=await $e(l,c=>B(c()),o),u=await Promise.all(d),i={};for(let c=0;c<r.length;++c)i[r[c]]=u[c];return i}}async function ut(e,t,n=50){var o,r,s;let a=document;for(;!a.body;)await ae(n);let l=a.createElement("iframe");try{for(await new Promise((d,u)=>{let i=!1,c=()=>{i=!0,d()},h=g=>{i=!0,u(g)};l.onload=c,l.onerror=h;let{style:m}=l;m.setProperty("display","block","important"),m.position="absolute",m.top="0",m.left="0",m.visibility="hidden",t&&"srcdoc"in l?l.srcdoc=t:l.src="about:blank",a.body.appendChild(l);let p=()=>{var g,L;i||(((L=(g=l.contentWindow)===null||g===void 0?void 0:g.document)===null||L===void 0?void 0:L.readyState)==="complete"?c():setTimeout(p,10))};p()});!(!((r=(o=l.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await ae(n);return await e(l,l.contentWindow)}finally{(s=l.parentNode)===null||s===void 0||s.removeChild(l)}}function Ln(e){let[t,n]=en(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let s=n[r].join(" ");r==="style"?An(o.style,s):o.setAttribute(r,s)}return o}function An(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,s,,a]=o;e.setProperty(r,s,a||"")}}}function Pn(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function In(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(Fn())return-3;try{return e.canMakePayments()?1:0}catch(t){return Cn(t)}}var Fn=Pn;function Cn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function En(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function Mn(){return Vn()?-4:Rn()}function Rn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Tn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),s=r.createOscillator();s.type="triangle",s.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,s.connect(a),a.connect(r.destination),s.start(0);let[l,d]=Wn(r),u=B(l.then(i=>Dn(i.getChannelData(0).subarray(n)),i=>{if(i.name==="timeout"||i.name==="suspended")return-3;throw i}));return()=>(d(),u)}function Tn(){return C()&&!ke()&&!ln()}function Vn(){return C()&&K()&&J()||X()&&pn()&&an()}function Wn(e){let s=()=>{};return[new Promise((l,d)=>{let u=!1,i=0,c=0;e.oncomplete=p=>l(p.renderedBuffer);let h=()=>{setTimeout(()=>d(ze("timeout")),Math.min(500,c+5e3-Date.now()))},m=()=>{try{let p=e.startRendering();switch(at(p)&&B(p),e.state){case"running":c=Date.now(),u&&h();break;case"suspended":document.hidden||i++,u&&i>=3?d(ze("suspended")):setTimeout(m,500);break}}catch(p){d(p)}};m(),s=()=>{u||(u=!0,c>0&&h())}}),s]}function Dn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function ze(e){let t=new Error(e);return t.name=e,t}function Nn(){if(!(ue()||C()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function Gn(){return Zn(zn())}function Zn(e){let t=!1,n,o,[r,s]=Hn();return On(r,s)?(t=jn(s),e?n=o="skipped":[n,o]=Yn(r,s)):n=o="unsupported",{winding:t,geometry:n,text:o}}function Hn(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function On(e,t){return!!(t&&e.toDataURL)}function jn(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function Yn(e,t){Xn(e,t);let n=ge(e),o=ge(e);return n!==o?["unstable","unstable"]:($n(e,t),[ge(e),n])}function Xn(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function $n(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function ge(e){return e.toDataURL()}function zn(){let e=C()&&K()&&J(),t=U()&&sn();return e||t}function Bn(){return window.screen.colorDepth}function Jn(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function Un(){if(O("no-preference"))return 0;if(O("high")||O("more"))return 1;if(O("low")||O("less"))return-1;if(O("forced"))return 10}function O(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function Kn(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function Qn(){return navigator.cpuClass}function qn(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function eo(){return M(F(navigator.deviceMemory),void 0)}function to(){let e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}async function no({debug:e}={}){if(!oo())return;let t=to(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await ro(o);e&&io(t,r);let s=n.filter(a=>{let l=t[a];return k(l.map(u=>r[u]))>l.length*.6});return s.sort(),s}function oo(){return C()||ue()}async function ro(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),s={};Be(o);for(let a=0;a<e.length;++a){let l=Ln(e[a]);l.tagName==="DIALOG"&&l.show();let d=n.createElement("div");Be(d),d.appendChild(l),o.appendChild(d),r[a]=l}for(;!n.body;)await ae(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(s[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return s}function Be(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function io(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
1
|
+
(()=>{var T=["addExceptionStep","alias","calculateEventProperties","canRenderSurvey","canRenderSurveyAsync","cancelPendingSurvey","capture","captureException","captureLog","captureTraceFeedback","captureTraceMetric","clearIdentity","clear_opt_in_out_capturing","createPersonProfile","debug","displaySurvey","getActiveMatchingSurveys","getAllFeatureFlags","getEarlyAccessFeatures","getExtension","getFeatureFlag","getFeatureFlagPayload","getFeatureFlagResult","getGroups","getPageViewId","getSessionProperty","getSurveys","get_distinct_id","get_explicit_consent_status","get_property","get_session_id","get_session_replay_url","group","has_opted_in_capturing","has_opted_out_capturing","identify","init","isFeatureEnabled","is_capturing","loadToolbar","on","onActiveMatchingSurveysChanged","onFeatureFlags","onSessionId","onSurveysLoaded","opt_in_capturing","opt_out_capturing","register","register_for_session","register_once","reloadFeatureFlags","renderSurvey","reset","resetGroupPropertiesForFlags","resetGroups","resetPersonPropertiesForFlags","sessionRecordingStarted","setGroupPropertiesForFlags","setIdentity","setInternalOrTestUser","setPersonProperties","setPersonPropertiesForFlags","set_config","shutdown","startExceptionAutocapture","startSessionRecording","stopExceptionAutocapture","stopSessionRecording","unregister","unregister_for_session","unsetPersonProperties","updateEarlyAccessFeatureEnrollment","updateFlags"];var st="5.3.0";function nn(e,t){for(let n=0,o=e.length;n<o;++n)if(e[n]===t)return!0;return!1}function on(e,t){return!nn(e,t)}function xe(e){return parseInt(e)}function I(e){return parseFloat(e)}function F(e,t){return typeof e=="number"&&isNaN(e)?t:e}function S(e){return e.reduce((t,n)=>t+(n?1:0),0)}function ct(e,t=1){if(Math.abs(t)>=1)return Math.round(e/t)*t;{let n=1/t;return Math.round(e*n)/n}}function rn(e){var t,n;let o=`Unexpected syntax '${e}'`,r=/^\s*([a-z-]*)(.*)$/i.exec(e),i=r[1]||void 0,a={},l=/([.:#][\w-]+|\[.+?\])/gi,f=(u,s)=>{a[u]=a[u]||[],a[u].push(s)};for(;;){let u=l.exec(r[2]);if(!u)break;let s=u[0];switch(s[0]){case".":f("class",s.slice(1));break;case"#":f("id",s.slice(1));break;case"[":{let c=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(s);if(c)f(c[1],(n=(t=c[4])!==null&&t!==void 0?t:c[5])!==null&&n!==void 0?n:"");else throw new Error(o);break}default:throw new Error(o)}}return[i,a]}function sn(e){let t=new Uint8Array(e.length);for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);if(o>127)return new TextEncoder().encode(e);t[n]=o}return t}function cn(e){var t;return{name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(`
|
|
2
|
+
`),...e}}function an(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function at(){let e=window,t=navigator;return S(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function un(){let e=window,t=navigator;return S(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!at()}function $(){let e=window,t=navigator;return S(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function C(){let e=window,t=navigator;return S(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function Le(){let e=window,{HTMLElement:t,Document:n}=e;return S(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function U(){let e=window;return an(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function K(){var e,t;let n=window;return S(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function ln(){let e=window,t=navigator,{CSS:n}=e;return S(["userActivation"in t,n.supports("color","light-dark(#000, #fff)"),n.supports("height","1lh"),"globalPrivacyControl"in t])>=3}function ut(){let{CSS:e}=window;return S([e.supports("selector(::details-content)"),e.supports("selector(::before::marker)"),e.supports("selector(::after::marker)"),!("locale"in CompositionEvent.prototype)])>=3}function dn(){let e=window;return S([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,`${e.Intl}`=="[object Intl]",`${e.Reflect}`=="[object Reflect]"])>=3}function fn(){let e=window,{URLPattern:t}=e;return S(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function mn(){let e=window,t=document,{CSS:n,Promise:o,AudioContext:r}=e;return S([o&&"try"in o,"caretPositionFromPoint"in t,r&&"onerror"in r.prototype,n.supports("ruby-align","space-around")])>=3}function pn(){let e=window;return S(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function Q(){let e=window,t=navigator,{CSS:n,HTMLButtonElement:o}=e;return S([!("getStorageUpdates"in t),o&&"popover"in o.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function hn(){if(navigator.platform==="iPad")return!0;let e=screen,t=e.width/e.height;return S(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function gn(){let e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function yn(){let e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function me(){var e,t;let n=$(),o=K(),r=window,i=navigator;return n?S([wn(),"HTMLInputElement"in r&&"capture"in HTMLInputElement.prototype,"NetworkInformation"in r&&"ontypechange"in((t=(e=r.NetworkInformation)===null||e===void 0?void 0:e.prototype)!==null&&t!==void 0?t:{}),!("sinkId"in new Audio)])>=2:o?S(["onorientationchange"in r,"orientation"in r,/android/i.test(i.appVersion)])>=2:!1}function bn(){let e=navigator,t=window,n=Audio.prototype,{visualViewport:o}=t;return S(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,o&&"segments"in o,"getTextInformation"in Image.prototype])>=3}function wn(){var e,t;try{return!!(!((t=(e=window.Intl)===null||e===void 0?void 0:e.supportedValuesOf)===null||t===void 0)&&t.call(e,"collation").includes("dict"))}catch{return!1}}var _n="$ if upgrade to Pro: https://fingerprint.com/github/?utm_source=oss&utm_medium=referral&utm_campaign=confidence_score";function kn(e){let t=vn(e),n=Sn(t);return{score:t,comment:_n.replace(/\$/g,`${n}`)}}function vn(e){if(me())return .4;if(C())return Le()&&!(Q()&&U())?.5:.3;let t="value"in e.platform?e.platform.value:"";return/^Win/.test(t)?.6:/^Mac/.test(t)?.5:.7}function Sn(e){return ct(.99+.01*e,1e-4)}function fe(e,t){return new Promise(n=>setTimeout(n,e,t))}function xn(){return new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)})}function Ln(e,t=1/0){let{requestIdleCallback:n}=window;return n?new Promise(o=>n.call(window,()=>o(),{timeout:t})):fe(Math.min(e,t))}function lt(e){return!!e&&typeof e.then=="function"}function Xe(e,t){try{let n=e();lt(n)?n.then(o=>t(!0,o),o=>t(!1,o)):t(!0,n)}catch(n){t(!1,n)}}async function Be(e,t,n=16){let o=Array(e.length),r=Date.now();for(let i=0;i<e.length;++i){o[i]=t(e[i],i);let a=Date.now();a>=r+n&&(r=a,await xn())}return o}function J(e){return e.then(void 0,()=>{}),e}function An(e){return typeof e!="function"}function Pn(e,t){let n=J(new Promise(o=>{let r=Date.now();Xe(e.bind(null,t),(...i)=>{let a=Date.now()-r;if(!i[0])return o(()=>({error:i[1],duration:a}));let l=i[1];if(An(l))return o(()=>({value:l,duration:a}));o(()=>new Promise(f=>{let u=Date.now();Xe(l,(...s)=>{let c=a+Date.now()-u;if(!s[0])return f({error:s[1],duration:c});f({value:s[1],duration:c})})}))})}));return function(){return n.then(r=>r())}}function In(e,t,n,o){let r=Object.keys(e).filter(a=>on(n,a)),i=J(Be(r,a=>Pn(e[a],t),o));return async function(){let l=await i,f=await Be(l,c=>J(c()),o),u=await Promise.all(f),s={};for(let c=0;c<r.length;++c)s[r[c]]=u[c];return s}}async function dt(e,t,n=50){var o,r,i;let a=document;for(;!a.body;)await fe(n);let l=a.createElement("iframe");try{for(await new Promise((f,u)=>{let s=!1,c=()=>{s=!0,f()},h=y=>{s=!0,u(y)};l.onload=c,l.onerror=h;let{style:m}=l;m.setProperty("display","block","important"),m.position="absolute",m.top="0",m.left="0",m.visibility="hidden",t&&"srcdoc"in l?l.srcdoc=t:l.src="about:blank",a.body.appendChild(l);let p=()=>{var y,L;s||(((L=(y=l.contentWindow)===null||y===void 0?void 0:y.document)===null||L===void 0?void 0:L.readyState)==="complete"?c():setTimeout(p,10))};p()});!(!((r=(o=l.contentWindow)===null||o===void 0?void 0:o.document)===null||r===void 0)&&r.body);)await fe(n);return await e(l,l.contentWindow)}finally{(i=l.parentNode)===null||i===void 0||i.removeChild(l)}}function Cn(e){let[t,n]=rn(e),o=document.createElement(t!=null?t:"div");for(let r of Object.keys(n)){let i=n[r].join(" ");r==="style"?En(o.style,i):o.setAttribute(r,i)}return o}function En(e,t){for(let n of t.split(";")){let o=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(n);if(o){let[,r,i,,a]=o;e.setProperty(r,i,a||"")}}}function Fn(){let e=window;for(;;){let t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}function Rn(){let{ApplePaySession:e}=window;if(typeof(e==null?void 0:e.canMakePayments)!="function")return-1;if(Mn())return-3;try{return e.canMakePayments()?1:0}catch(t){return Tn(t)}}var Mn=Fn;function Tn(e){if(e instanceof Error&&e.name==="InvalidAccessError"&&/\bfrom\b.*\binsecure\b/i.test(e.message))return-2;throw e}function Vn(){let e=new Float32Array(1),t=new Uint8Array(e.buffer);return e[0]=1/0,e[0]=e[0]-e[0],t[3]}function Wn(){return Gn()?-4:Nn()}function Nn(){let e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Dn())return-1;let n=4500,o=5e3,r=new t(1,o,44100),i=r.createOscillator();i.type="triangle",i.frequency.value=1e4;let a=r.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(r.destination),i.start(0);let[l,f]=On(r),u=J(l.then(s=>Hn(s.getChannelData(0).subarray(n)),s=>{if(s.name==="timeout"||s.name==="suspended")return-3;throw s}));return()=>(f(),u)}function Dn(){return C()&&!Le()&&!pn()}function Gn(){return C()&&Q()&&U()||$()&&bn()&&fn()}function On(e){let i=()=>{};return[new Promise((l,f)=>{let u=!1,s=0,c=0;e.oncomplete=p=>l(p.renderedBuffer);let h=()=>{setTimeout(()=>f(Je("timeout")),Math.min(500,c+5e3-Date.now()))},m=()=>{try{let p=e.startRendering();switch(lt(p)&&J(p),e.state){case"running":c=Date.now(),u&&h();break;case"suspended":document.hidden||s++,u&&s>=3?f(Je("suspended")):setTimeout(m,500);break}}catch(p){f(p)}};m(),i=()=>{u||(u=!0,c>0&&h())}}),i]}function Hn(e){let t=0;for(let n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function Je(e){let t=new Error(e);return t.name=e,t}function Zn(){if(!(me()||C()))return-2;if(!window.AudioContext)return-1;let t=new AudioContext().baseLatency;return t==null?-1:isFinite(t)?t:-3}function jn(){return $n(Kn())}function $n(e){let t=!1,n,o,[r,i]=Yn();return zn(r,i)?(t=Xn(i),e?n=o="skipped":[n,o]=Bn(r,i)):n=o="unsupported",{winding:t,geometry:n,text:o}}function Yn(){let e=document.createElement("canvas");return e.width=1,e.height=1,[e,e.getContext("2d")]}function zn(e,t){return!!(t&&e.toDataURL)}function Xn(e){return e.rect(0,0,10,10),e.rect(2,2,6,6),!e.isPointInPath(5,5,"evenodd")}function Bn(e,t){Jn(e,t);let n=we(e),o=we(e);return n!==o?["unstable","unstable"]:(Un(e,t),[we(e),n])}function Jn(e,t){e.width=240,e.height=60,t.textBaseline="alphabetic",t.fillStyle="#f60",t.fillRect(100,1,62,20),t.fillStyle="#069",t.font='11pt "Times New Roman"';let n="Cwm fjordbank gly \u{1F603}";t.fillText(n,2,15),t.fillStyle="rgba(102, 204, 0, 0.2)",t.font="18pt Arial",t.fillText(n,4,45)}function Un(e,t){e.width=122,e.height=110,t.globalCompositeOperation="multiply";for(let[n,o,r]of[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]])t.fillStyle=n,t.beginPath(),t.arc(o,r,40,0,Math.PI*2,!0),t.closePath(),t.fill();t.fillStyle="#f9c",t.arc(60,60,60,0,Math.PI*2,!0),t.arc(60,60,20,0,Math.PI*2,!0),t.fill("evenodd")}function we(e){return e.toDataURL()}function Kn(){let e=C()&&Q()&&U(),t=K()&&ln();return e||t}function Qn(){return window.screen.colorDepth}function qn(){for(let e of["rec2020","p3","srgb"])if(matchMedia(`(color-gamut: ${e})`).matches)return e}function eo(){if(H("no-preference"))return 0;if(H("high")||H("more"))return 1;if(H("low")||H("less"))return-1;if(H("forced"))return 10}function H(e){return matchMedia(`(prefers-contrast: ${e})`).matches}function to(){let e=document;try{e.cookie="cookietest=1; SameSite=Strict;";let t=e.cookie.indexOf("cookietest=")!==-1;return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch{return!1}}function no(){return navigator.cpuClass}function oo(){if(!window.Intl)return-1;let e=window.Intl.DateTimeFormat;if(!e)return-2;let t=e().resolvedOptions().locale;return!t&&t!==""?-3:t}function ro(){return F(I(navigator.deviceMemory),void 0)}function io(){let e=atob;return{abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',e("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",e("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",e("LnNwb25zb3JpdA=="),".ylamainos",e("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",e("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",e("LmhlYWRlci1ibG9ja2VkLWFk"),e("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",e("I2FkXzMwMFgyNTA="),e("I2Jhbm5lcmZsb2F0MjI="),e("I2NhbXBhaWduLWJhbm5lcg=="),e("I0FkLUNvbnRlbnQ=")],adGuardChinese:[e("LlppX2FkX2FfSA=="),e("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",e("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),e("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",e("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",e("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",e("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),e("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),e("LmFkZ29vZ2xl"),e("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[e("YW1wLWF1dG8tYWRz"),e("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",e("I2FkX2ludmlld19hcmVh")],adGuardRussian:[e("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),e("LnJlY2xhbWE="),'div[id^="smi2adblock"]',e("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[e("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),e("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",e("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),e("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),e("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",e("I3Jla2xhbWk="),e("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),e("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),e("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[e("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",e("LndpZGdldF9wb19hZHNfd2lkZ2V0"),e("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",e("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[e("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),e("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",e("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",e("I3Jla2xhbW5pLWJveA=="),e("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",e("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[e("I2FkdmVydGVudGll"),e("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",e("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",e("LnNwb25zb3JsaW5rZ3J1ZW4="),e("I3dlcmJ1bmdza3k="),e("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),e("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[e("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",e("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[e("LnJla2xhbW9zX3RhcnBhcw=="),e("LnJla2xhbW9zX251b3JvZG9z"),e("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),e("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),e("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[e("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[e("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),e("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",e("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[e("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),e("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),e("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",e("LmFkX19tYWlu"),e("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[e("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),e("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[e("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),e("I2xpdmVyZUFkV3JhcHBlcg=="),e("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),e("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[e("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",e("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),e("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),e("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[e("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),e("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),e("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",e("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),e("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),e("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),e("ZGl2I3NrYXBpZWNfYWQ=")],ro:[e("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),e("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),e("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[e("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),e("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),e("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",e("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),e("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",e("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]}}async function so({debug:e}={}){if(!co())return;let t=io(),n=Object.keys(t),o=[].concat(...n.map(a=>t[a])),r=await ao(o);e&&uo(t,r);let i=n.filter(a=>{let l=t[a];return S(l.map(u=>r[u]))>l.length*.6});return i.sort(),i}function co(){return C()||me()}async function ao(e){var t;let n=document,o=n.createElement("div"),r=new Array(e.length),i={};Ue(o);for(let a=0;a<e.length;++a){let l=Cn(e[a]);l.tagName==="DIALOG"&&l.show();let f=n.createElement("div");Ue(f),f.appendChild(l),o.appendChild(f),r[a]=l}for(;!n.body;)await fe(50);n.body.appendChild(o);try{for(let a=0;a<e.length;++a)r[a].offsetParent||(i[e[a]]=!0)}finally{(t=o.parentNode)===null||t===void 0||t.removeChild(o)}return i}function Ue(e){e.style.setProperty("visibility","hidden","important"),e.style.setProperty("display","block","important")}function uo(e,t){let n="DOM blockers debug:\n```";for(let o of Object.keys(e)){n+=`
|
|
3
3
|
${o}:`;for(let r of e[o])n+=`
|
|
4
4
|
${t[r]?"\u{1F6AB}":"\u27A1\uFE0F"} ${r}`}console.log(`${n}
|
|
5
|
-
\`\`\``)}var so="mmMwWLliI0fiflO&1",ye={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function co(){return uo((e,t,n)=>{let o={},r={};for(let a of Object.keys(ye)){let[l={},d=so]=ye[a],u=e.createElement("span");u.textContent=d,u.style.whiteSpace="nowrap";for(let i of Object.keys(l)){let c=l[i];c!==void 0&&(u.style[i]=c)}o[a]=u,t.append(e.createElement("br"),u)}let s=X()&&un();for(let a of Object.keys(ye)){let l=o[a].getBoundingClientRect().width;r[a]=s?ao(l*n.devicePixelRatio):l}return r})}function ao(e){let t=ue()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function uo(e,t=4e3){return ut((n,o)=>{let r=o.document,s=r.body,a=s.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",X()?s.style.zoom=`${1/o.devicePixelRatio}`:C()&&(s.style.zoom="reset");let l=r.createElement("div");return l.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),s.appendChild(l),e(r,s,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var lo="mmMwWLliI0O&1",fo="48px",j=["monospace","sans-serif","serif"],Je=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function mo(){return ut((e,{document:t})=>{let n=t.body;n.style.fontSize=fo;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},s={},a=m=>{let p=t.createElement("span"),{style:g}=p;return g.position="absolute",g.top="0",g.left="0",g.fontFamily=m,p.textContent=lo,o.appendChild(p),p},l=(m,p)=>a(`'${m}',${p}`),d=()=>j.map(a),u=()=>{let m={};for(let p of Je)m[p]=j.map(g=>l(p,g));return m},i=m=>j.some((p,g)=>m[g].offsetWidth!==r[p]||m[g].offsetHeight!==s[p]),c=d(),h=u();n.appendChild(o);for(let m=0;m<j.length;m++)r[j[m]]=c[m].offsetWidth,s[j[m]]=c[m].offsetHeight;return Je.filter(m=>i(h[m]))})}function po(){if(Ue("active"))return!0;if(Ue("none"))return!1}function Ue(e){return matchMedia(`(forced-colors: ${e})`).matches}function ho(){let e=go();return e!==void 0&&U()&&ct()?e>=8?8:4:e}function go(){return M(ve(navigator.hardwareConcurrency),void 0)}function yo(){if(Ke("high"))return!0;if(Ke("standard"))return!1}function Ke(e){return matchMedia(`(dynamic-range: ${e})`).matches}function bo(){if(!(st()||rn()))try{return!!window.indexedDB}catch{return!0}}function wo(){if(Qe("inverted"))return!0;if(Qe("none"))return!1}function Qe(e){return matchMedia(`(inverted-colors: ${e})`).matches}function _o(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))X()&&cn()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function vo(){try{return!!window.localStorage}catch{return!0}}var y=Math,x=()=>0;function ko(){let e=y.acos||x,t=y.acosh||x,n=y.asin||x,o=y.asinh||x,r=y.atanh||x,s=y.atan||x,a=y.sin||x,l=y.sinh||x,d=y.cos||x,u=y.cosh||x,i=y.tan||x,c=y.tanh||x,h=y.exp||x,m=y.expm1||x,p=y.log1p||x,g=b=>y.pow(y.PI,b),L=b=>y.log(b+y.sqrt(b*b-1)),G=b=>y.log(b+y.sqrt(b*b+1)),q=b=>y.log((1+b)/(1-b))/2,Z=b=>y.exp(b)-1/y.exp(b)/2,W=b=>(y.exp(b)+1/y.exp(b))/2,P=b=>y.exp(b)-1,ee=b=>(y.exp(2*b)-1)/(y.exp(2*b)+1),E=b=>y.log(1+b);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:L(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:G(1),atanh:r(.5),atanhPf:q(.5),atan:s(.5),sin:a(-1e300),sinh:l(1),sinhPf:Z(1),cos:d(10.000000000123),cosh:u(1),coshPf:W(1),tan:i(-1e300),tanh:c(1),tanhPf:ee(1),exp:h(1),expm1:m(1),expm1Pf:P(1),log1p:p(10),log1pPf:E(10),powPI:g(-100)}}var So=100;function xo(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=So;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Lo(){return!!window.openDatabase}function Ao(){return navigator.oscpu}function Po(){return navigator.pdfViewerEnabled}function Io(){let{platform:e}=navigator;return e==="MacIntel"&&C()&&!ke()?dn()?"iPad":"iPhone":e}function Fo(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let s=0;s<o.length;++s){let a=o[s];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function Co(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Eo(){if(qe("reduce"))return!0;if(qe("no-preference"))return!1}function qe(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function Mo(){if(et("reduce"))return!0;if(et("no-preference"))return!1}function et(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var Ro=2500,To=10,ce,be;function Vo(){if(be!==void 0)return;let e=()=>{let t=we();_e(t)?be=setTimeout(e,Ro):(ce=t,be=void 0)};e()}function Wo(){return Vo(),async()=>{let e=we();if(_e(e)){if(ce)return[...ce];fn()&&(await mn(),e=we())}return _e(e)||(ce=e),e}}function Do(){let e=C()&&K()&&J(),t=U()&&ct();if(e||t)return()=>Promise.resolve(void 0);let n=Wo();return async()=>{let o=await n(),r=s=>s===null?null:it(s,To);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function we(){let e=screen;return[M(F(e.availTop),null),M(F(e.width)-F(e.availWidth)-M(F(e.availLeft),0),null),M(F(e.height)-F(e.availHeight)-M(F(e.availTop),0),null),M(F(e.availLeft),null)]}function _e(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function No(){if(!(C()&&K()&&J()))return Go()}function Go(){let e=screen,t=o=>M(ve(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function Zo(){try{return!!window.sessionStorage}catch{return!0}}function Ho(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-Oo();return`UTC${n>=0?"+":""}${n}`}function Oo(){let e=new Date().getFullYear();return Math.max(F(new Date(e,0,1).getTimezoneOffset()),F(new Date(e,6,1).getTimezoneOffset()))}function jo(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=ve(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function Yo(e){return/not/i.test(e)}async function Xo(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!Yo(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function $o(){return navigator.vendor||""}function zo(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var lt=-1,dt=-2,Bo=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),Jo=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),Uo=["FRAGMENT_SHADER","VERTEX_SHADER"],Ko=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],ft="WEBGL_debug_renderer_info",Qo="WEBGL_polygon_mode";function qo({cache:e}){var t,n,o,r,s,a;let l=mt(e);if(!l)return lt;if(!ht(l))return dt;let d=pt()?null:l.getExtension(ft);return{version:((t=l.getParameter(l.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=l.getParameter(l.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:d?(o=l.getParameter(d.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=l.getParameter(l.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:d?(s=l.getParameter(d.UNMASKED_RENDERER_WEBGL))===null||s===void 0?void 0:s.toString():"",shadingLanguageVersion:((a=l.getParameter(l.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function er({cache:e}){let t=mt(e);if(!t)return lt;if(!ht(t))return dt;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],s=[],a=[],l=[],d=[];if(o)for(let i of Object.keys(o))s.push(`${i}=${o[i]}`);let u=tt(t);for(let i of u){let c=t[i];a.push(`${i}=${c}${Bo.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let i of n){if(i===ft&&pt()||i===Qo&&or())continue;let c=t.getExtension(i);if(!c){r.push(i);continue}for(let h of tt(c)){let m=c[h];l.push(`${h}=${m}${Jo.has(m)?`=${t.getParameter(m)}`:""}`)}}for(let i of Uo)for(let c of Ko){let h=tr(t,i,c);d.push(`${i}.${c}=${h.join(",")}`)}return l.sort(),a.sort(),{contextAttributes:s,parameters:a,shaderPrecisions:d,extensions:n,extensionParameters:l,unsupportedExtensions:r}}function mt(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function tr(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function tt(e){return Object.keys(e.__proto__).filter(nr)}function nr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function pt(){return U()}function or(){return X()||C()}function ht(e){return typeof e.getParameter=="function"}var rr={userAgentData:Xo,fonts:mo,domBlockers:no,fontPreferences:co,audio:Mn,screenFrame:Do,canvas:Gn,osCpu:Ao,languages:_o,colorDepth:Bn,deviceMemory:eo,screenResolution:No,hardwareConcurrency:ho,timezone:Ho,sessionStorage:Zo,localStorage:vo,indexedDB:bo,openDatabase:Lo,cpuClass:Qn,platform:Io,plugins:Fo,touchSupport:jo,vendor:$o,vendorFlavors:zo,cookiesEnabled:Kn,colorGamut:Jn,invertedColors:wo,forcedColors:po,monochrome:xo,contrast:Un,reducedMotion:Eo,reducedTransparency:Mo,hdr:yo,math:ko,pdfViewerEnabled:Po,architecture:En,applePay:In,privateClickMeasurement:Co,audioBaseLatency:Nn,dateTimeLocale:qn,webGlBasics:qo,webGlExtensions:er};function ir(e){return xn(rr,e,[])}function V(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,s=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,d=t[1]>>>16,u=t[1]&65535,i=0,c=0,h=0,m=0;m+=s+u,h+=m>>>16,m&=65535,h+=r+d,c+=h>>>16,h&=65535,c+=o+l,i+=c>>>16,c&=65535,i+=n+a,i&=65535,e[0]=i<<16|c,e[1]=h<<16|m}function I(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,s=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,d=t[1]>>>16,u=t[1]&65535,i=0,c=0,h=0,m=0;m+=s*u,h+=m>>>16,m&=65535,h+=r*u,c+=h>>>16,h&=65535,h+=s*d,c+=h>>>16,h&=65535,c+=o*u,i+=c>>>16,c&=65535,c+=r*d,i+=c>>>16,c&=65535,c+=s*l,i+=c>>>16,c&=65535,i+=n*u+o*d+r*l+s*a,i&=65535,e[0]=i<<16|c,e[1]=h<<16|m}function Y(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function A(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function _(e,t){e[0]^=t[0],e[1]^=t[1]}var sr=[4283543511,3981806797],cr=[3301882366,444984403];function nt(e){let t=[0,e[0]>>>1];_(e,t),I(e,sr),t[1]=e[0]>>>1,_(e,t),I(e,cr),t[1]=e[0]>>>1,_(e,t)}var ie=[2277735313,289559509],se=[1291169091,658871167],ot=[0,5],ar=[0,1390208809],ur=[0,944331445];function lr(e,t){let n=tn(e);t=t||0;let o=[0,n.length],r=o[1]%16,s=o[1]-r,a=[0,t],l=[0,t],d=[0,0],u=[0,0],i;for(i=0;i<s;i=i+16)d[0]=n[i+4]|n[i+5]<<8|n[i+6]<<16|n[i+7]<<24,d[1]=n[i]|n[i+1]<<8|n[i+2]<<16|n[i+3]<<24,u[0]=n[i+12]|n[i+13]<<8|n[i+14]<<16|n[i+15]<<24,u[1]=n[i+8]|n[i+9]<<8|n[i+10]<<16|n[i+11]<<24,I(d,ie),Y(d,31),I(d,se),_(a,d),Y(a,27),V(a,l),I(a,ot),V(a,ar),I(u,se),Y(u,33),I(u,ie),_(l,u),Y(l,31),V(l,a),I(l,ot),V(l,ur);d[0]=0,d[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[i+14],A(c,48),_(u,c);case 14:c[1]=n[i+13],A(c,40),_(u,c);case 13:c[1]=n[i+12],A(c,32),_(u,c);case 12:c[1]=n[i+11],A(c,24),_(u,c);case 11:c[1]=n[i+10],A(c,16),_(u,c);case 10:c[1]=n[i+9],A(c,8),_(u,c);case 9:c[1]=n[i+8],_(u,c),I(u,se),Y(u,33),I(u,ie),_(l,u);case 8:c[1]=n[i+7],A(c,56),_(d,c);case 7:c[1]=n[i+6],A(c,48),_(d,c);case 6:c[1]=n[i+5],A(c,40),_(d,c);case 5:c[1]=n[i+4],A(c,32),_(d,c);case 4:c[1]=n[i+3],A(c,24),_(d,c);case 3:c[1]=n[i+2],A(c,16),_(d,c);case 2:c[1]=n[i+1],A(c,8),_(d,c);case 1:c[1]=n[i],_(d,c),I(d,ie),Y(d,31),I(d,se),_(a,d)}return _(a,o),_(l,o),V(a,l),V(l,a),nt(a),nt(l),V(a,l),V(l,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(l[0]>>>0).toString(16)}`.slice(-8)+`00000000${(l[1]>>>0).toString(16)}`.slice(-8)}function dr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function gt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?nn(n):n,2)}function yt(e){return lr(dr(e))}function fr(e){let t,n=yn(e);return{get visitorId(){return t===void 0&&(t=yt(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:rt}}function mr(e=50){return vn(e,e*2)}function pr(e,t){let n=Date.now();return{async get(o){let r=Date.now(),s=await e(),a=fr(s);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
5
|
+
\`\`\``)}var lo="mmMwWLliI0fiflO&1",_e={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};function fo(){return po((e,t,n)=>{let o={},r={};for(let a of Object.keys(_e)){let[l={},f=lo]=_e[a],u=e.createElement("span");u.textContent=f,u.style.whiteSpace="nowrap";for(let s of Object.keys(l)){let c=l[s];c!==void 0&&(u.style[s]=c)}o[a]=u,t.append(e.createElement("br"),u)}let i=$()&&mn();for(let a of Object.keys(_e)){let l=o[a].getBoundingClientRect().width;r[a]=i?mo(l*n.devicePixelRatio):l}return r})}function mo(e){let t=me()?0:3,n=Math.pow(10,t);return Math.floor(e*n)/n}function po(e,t=4e3){return dt((n,o)=>{let r=o.document,i=r.body,a=i.style;a.width=`${t}px`,a.webkitTextSizeAdjust=a.textSizeAdjust="none",$()?i.style.zoom=`${1/o.devicePixelRatio}`:C()&&(i.style.zoom="reset");let l=r.createElement("div");return l.textContent=[...Array(t/20<<0)].map(()=>"word").join(" "),i.appendChild(l),e(r,i,o)},'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}var ho="mmMwWLliI0O&1",go="48px",Z=["monospace","sans-serif","serif"],Ke=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function yo(){return dt((e,{document:t})=>{let n=t.body;n.style.fontSize=go;let o=t.createElement("div");o.style.setProperty("visibility","hidden","important");let r={},i={},a=m=>{let p=t.createElement("span"),{style:y}=p;return y.position="absolute",y.top="0",y.left="0",y.fontFamily=m,p.textContent=ho,o.appendChild(p),p},l=(m,p)=>a(`'${m}',${p}`),f=()=>Z.map(a),u=()=>{let m={};for(let p of Ke)m[p]=Z.map(y=>l(p,y));return m},s=m=>Z.some((p,y)=>m[y].offsetWidth!==r[p]||m[y].offsetHeight!==i[p]),c=f(),h=u();n.appendChild(o);for(let m=0;m<Z.length;m++)r[Z[m]]=c[m].offsetWidth,i[Z[m]]=c[m].offsetHeight;return Ke.filter(m=>s(h[m]))})}function bo(){if(Qe("active"))return!0;if(Qe("none"))return!1}function Qe(e){return matchMedia(`(forced-colors: ${e})`).matches}function wo(){let e=_o();return e!==void 0&&K()&&ut()?e>=8?8:4:e}function _o(){return F(xe(navigator.hardwareConcurrency),void 0)}function ko(){if(qe("high"))return!0;if(qe("standard"))return!1}function qe(e){return matchMedia(`(dynamic-range: ${e})`).matches}function vo(){if(!(at()||un()))try{return!!window.indexedDB}catch{return!0}}function So(){if(et("inverted"))return!0;if(et("none"))return!1}function et(e){return matchMedia(`(inverted-colors: ${e})`).matches}function xo(){let e=navigator,t=[],n=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(n!==void 0&&t.push([n]),Array.isArray(e.languages))$()&&dn()||t.push(e.languages);else if(typeof e.languages=="string"){let o=e.languages;o&&t.push(o.split(","))}return t}function Lo(){try{return!!window.localStorage}catch{return!0}}var w=Math,x=()=>0;function Ao(){let e=w.acos||x,t=w.acosh||x,n=w.asin||x,o=w.asinh||x,r=w.atanh||x,i=w.atan||x,a=w.sin||x,l=w.sinh||x,f=w.cos||x,u=w.cosh||x,s=w.tan||x,c=w.tanh||x,h=w.exp||x,m=w.expm1||x,p=w.log1p||x,y=b=>w.pow(w.PI,b),L=b=>w.log(b+w.sqrt(b*b-1)),G=b=>w.log(b+w.sqrt(b*b+1)),ne=b=>w.log((1+b)/(1-b))/2,O=b=>w.exp(b)-1/w.exp(b)/2,W=b=>(w.exp(b)+1/w.exp(b))/2,oe=b=>w.exp(b)-1,z=b=>(w.exp(2*b)-1)/(w.exp(2*b)+1),X=b=>w.log(1+b);return{acos:e(.12312423423423424),acosh:t(1e308),acoshPf:L(1e154),asin:n(.12312423423423424),asinh:o(1),asinhPf:G(1),atanh:r(.5),atanhPf:ne(.5),atan:i(.5),sin:a(-1e300),sinh:l(1),sinhPf:O(1),cos:f(10.000000000123),cosh:u(1),coshPf:W(1),tan:s(-1e300),tanh:c(1),tanhPf:z(1),exp:h(1),expm1:m(1),expm1Pf:oe(1),log1p:p(10),log1pPf:X(10),powPI:y(-100)}}var Po=100;function Io(){if(matchMedia("(min-monochrome: 0)").matches){for(let e=0;e<=Po;++e)if(matchMedia(`(max-monochrome: ${e})`).matches)return e;throw new Error("Too high value")}}function Co(){return!!window.openDatabase}function Eo(){return navigator.oscpu}function Fo(){return navigator.pdfViewerEnabled}function Ro(){let{platform:e}=navigator;return e==="MacIntel"&&C()&&!Le()?hn()?"iPad":"iPhone":e}function Mo(){let e=navigator.plugins;if(!e)return;let t=[];for(let n=0;n<e.length;++n){let o=e[n];if(!o)continue;let r=[];for(let i=0;i<o.length;++i){let a=o[i];r.push({type:a.type,suffixes:a.suffixes})}t.push({name:o.name,description:o.description,mimeTypes:r})}return t}function To(){var e;let t=document.createElement("a"),n=(e=t.attributionSourceId)!==null&&e!==void 0?e:t.attributionsourceid;return n===void 0?void 0:String(n)}function Vo(){if(tt("reduce"))return!0;if(tt("no-preference"))return!1}function tt(e){return matchMedia(`(prefers-reduced-motion: ${e})`).matches}function Wo(){if(nt("reduce"))return!0;if(nt("no-preference"))return!1}function nt(e){return matchMedia(`(prefers-reduced-transparency: ${e})`).matches}var No=2500,Do=10,de,ke;function Go(){if(ke!==void 0)return;let e=()=>{let t=ve();Se(t)?ke=setTimeout(e,No):(de=t,ke=void 0)};e()}function Oo(){return Go(),async()=>{let e=ve();if(Se(e)){if(de)return[...de];gn()&&(await yn(),e=ve())}return Se(e)||(de=e),e}}function Ho(){let e=C()&&Q()&&U(),t=K()&&ut();if(e||t)return()=>Promise.resolve(void 0);let n=Oo();return async()=>{let o=await n(),r=i=>i===null?null:ct(i,Do);return[r(o[0]),r(o[1]),r(o[2]),r(o[3])]}}function ve(){let e=screen;return[F(I(e.availTop),null),F(I(e.width)-I(e.availWidth)-F(I(e.availLeft),0),null),F(I(e.height)-I(e.availHeight)-F(I(e.availTop),0),null),F(I(e.availLeft),null)]}function Se(e){for(let t=0;t<4;++t)if(e[t])return!1;return!0}function Zo(){if(!(C()&&Q()&&U()))return jo()}function jo(){let e=screen,t=o=>F(xe(o),null),n=[t(e.width),t(e.height)];return n.sort().reverse(),n}function $o(){try{return!!window.sessionStorage}catch{return!0}}function Yo(){var e;let t=(e=window.Intl)===null||e===void 0?void 0:e.DateTimeFormat;if(t){let o=new t().resolvedOptions().timeZone;if(o)return o}let n=-zo();return`UTC${n>=0?"+":""}${n}`}function zo(){let e=new Date().getFullYear();return Math.max(I(new Date(e,0,1).getTimezoneOffset()),I(new Date(e,6,1).getTimezoneOffset()))}function Xo(){let e=navigator,t=0,n;e.maxTouchPoints!==void 0?t=xe(e.maxTouchPoints):e.msMaxTouchPoints!==void 0&&(t=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),n=!0}catch{n=!1}let o="ontouchstart"in window;return{maxTouchPoints:t,touchEvent:n,touchStart:o}}function Bo(e){return/not/i.test(e)}async function Jo(){let e=navigator.userAgentData;if(!e)return;let t=e.brands.filter(({brand:r})=>!Bo(r)).map(({brand:r})=>r),o={brands:t.length>1?t.filter(r=>r!=="Chromium"):t,mobile:e.mobile,platform:e.platform};if(e.getHighEntropyValues)try{let r=await e.getHighEntropyValues(["architecture","bitness","model","platformVersion"]);o.architecture=r.architecture,o.bitness=r.bitness,o.model=r.model,o.platformVersion=r.platformVersion}catch(r){if(r instanceof DOMException&&r.name==="NotAllowedError")o.highEntropyStatus="not_allowed";else throw r}return o}function Uo(){return navigator.vendor||""}function Ko(){let e=[];for(let t of["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"]){let n=window[t];n&&typeof n=="object"&&e.push(t)}return e.sort()}var ft=-1,mt=-2,Qo=new Set([10752,2849,2884,2885,2886,2928,2929,2930,2931,2932,2960,2961,2962,2963,2964,2965,2966,2967,2968,2978,3024,3042,3088,3089,3106,3107,32773,32777,32777,32823,32824,32936,32937,32938,32939,32968,32969,32970,32971,3317,33170,3333,3379,3386,33901,33902,34016,34024,34076,3408,3410,3411,3412,3413,3414,3415,34467,34816,34817,34818,34819,34877,34921,34930,35660,35661,35724,35738,35739,36003,36004,36005,36347,36348,36349,37440,37441,37443,7936,7937,7938]),qo=new Set([34047,35723,36063,34852,34853,34854,34229,36392,36795,38449]),er=["FRAGMENT_SHADER","VERTEX_SHADER"],tr=["LOW_FLOAT","MEDIUM_FLOAT","HIGH_FLOAT","LOW_INT","MEDIUM_INT","HIGH_INT"],pt="WEBGL_debug_renderer_info",nr="WEBGL_polygon_mode";function or({cache:e}){var t,n,o,r,i,a;let l=ht(e);if(!l)return ft;if(!yt(l))return mt;let f=gt()?null:l.getExtension(pt);return{version:((t=l.getParameter(l.VERSION))===null||t===void 0?void 0:t.toString())||"",vendor:((n=l.getParameter(l.VENDOR))===null||n===void 0?void 0:n.toString())||"",vendorUnmasked:f?(o=l.getParameter(f.UNMASKED_VENDOR_WEBGL))===null||o===void 0?void 0:o.toString():"",renderer:((r=l.getParameter(l.RENDERER))===null||r===void 0?void 0:r.toString())||"",rendererUnmasked:f?(i=l.getParameter(f.UNMASKED_RENDERER_WEBGL))===null||i===void 0?void 0:i.toString():"",shadingLanguageVersion:((a=l.getParameter(l.SHADING_LANGUAGE_VERSION))===null||a===void 0?void 0:a.toString())||""}}function rr({cache:e}){let t=ht(e);if(!t)return ft;if(!yt(t))return mt;let n=t.getSupportedExtensions(),o=t.getContextAttributes(),r=[],i=[],a=[],l=[],f=[];if(o)for(let s of Object.keys(o))i.push(`${s}=${o[s]}`);let u=ot(t);for(let s of u){let c=t[s];a.push(`${s}=${c}${Qo.has(c)?`=${t.getParameter(c)}`:""}`)}if(n)for(let s of n){if(s===pt&>()||s===nr&&cr())continue;let c=t.getExtension(s);if(!c){r.push(s);continue}for(let h of ot(c)){let m=c[h];l.push(`${h}=${m}${qo.has(m)?`=${t.getParameter(m)}`:""}`)}}for(let s of er)for(let c of tr){let h=ir(t,s,c);f.push(`${s}.${c}=${h.join(",")}`)}return l.sort(),a.sort(),{contextAttributes:i,parameters:a,shaderPrecisions:f,extensions:n,extensionParameters:l,unsupportedExtensions:r}}function ht(e){if(e.webgl)return e.webgl.context;let t=document.createElement("canvas"),n;t.addEventListener("webglCreateContextError",()=>n=void 0);for(let o of["webgl","experimental-webgl"]){try{n=t.getContext(o)}catch{}if(n)break}return e.webgl={context:n},n}function ir(e,t,n){let o=e.getShaderPrecisionFormat(e[t],e[n]);return o?[o.rangeMin,o.rangeMax,o.precision]:[]}function ot(e){return Object.keys(e.__proto__).filter(sr)}function sr(e){return typeof e=="string"&&!e.match(/[^A-Z0-9_x]/)}function gt(){return K()}function cr(){return $()||C()}function yt(e){return typeof e.getParameter=="function"}var ar={userAgentData:Jo,fonts:yo,domBlockers:so,fontPreferences:fo,audio:Wn,screenFrame:Ho,canvas:jn,osCpu:Eo,languages:xo,colorDepth:Qn,deviceMemory:ro,screenResolution:Zo,hardwareConcurrency:wo,timezone:Yo,sessionStorage:$o,localStorage:Lo,indexedDB:vo,openDatabase:Co,cpuClass:no,platform:Ro,plugins:Mo,touchSupport:Xo,vendor:Uo,vendorFlavors:Ko,cookiesEnabled:to,colorGamut:qn,invertedColors:So,forcedColors:bo,monochrome:Io,contrast:eo,reducedMotion:Vo,reducedTransparency:Wo,hdr:ko,math:Ao,pdfViewerEnabled:Fo,architecture:Vn,applePay:Rn,privateClickMeasurement:To,audioBaseLatency:Zn,dateTimeLocale:oo,webGlBasics:or,webGlExtensions:rr};function ur(e){return In(ar,e,[])}function V(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,h=0,m=0;m+=i+u,h+=m>>>16,m&=65535,h+=r+f,c+=h>>>16,h&=65535,c+=o+l,s+=c>>>16,c&=65535,s+=n+a,s&=65535,e[0]=s<<16|c,e[1]=h<<16|m}function P(e,t){let n=e[0]>>>16,o=e[0]&65535,r=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,l=t[0]&65535,f=t[1]>>>16,u=t[1]&65535,s=0,c=0,h=0,m=0;m+=i*u,h+=m>>>16,m&=65535,h+=r*u,c+=h>>>16,h&=65535,h+=i*f,c+=h>>>16,h&=65535,c+=o*u,s+=c>>>16,c&=65535,c+=r*f,s+=c>>>16,c&=65535,c+=i*l,s+=c>>>16,c&=65535,s+=n*u+o*f+r*l+i*a,s&=65535,e[0]=s<<16|c,e[1]=h<<16|m}function j(e,t){let n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function A(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function k(e,t){e[0]^=t[0],e[1]^=t[1]}var lr=[4283543511,3981806797],dr=[3301882366,444984403];function rt(e){let t=[0,e[0]>>>1];k(e,t),P(e,lr),t[1]=e[0]>>>1,k(e,t),P(e,dr),t[1]=e[0]>>>1,k(e,t)}var ue=[2277735313,289559509],le=[1291169091,658871167],it=[0,5],fr=[0,1390208809],mr=[0,944331445];function pr(e,t){let n=sn(e);t=t||0;let o=[0,n.length],r=o[1]%16,i=o[1]-r,a=[0,t],l=[0,t],f=[0,0],u=[0,0],s;for(s=0;s<i;s=s+16)f[0]=n[s+4]|n[s+5]<<8|n[s+6]<<16|n[s+7]<<24,f[1]=n[s]|n[s+1]<<8|n[s+2]<<16|n[s+3]<<24,u[0]=n[s+12]|n[s+13]<<8|n[s+14]<<16|n[s+15]<<24,u[1]=n[s+8]|n[s+9]<<8|n[s+10]<<16|n[s+11]<<24,P(f,ue),j(f,31),P(f,le),k(a,f),j(a,27),V(a,l),P(a,it),V(a,fr),P(u,le),j(u,33),P(u,ue),k(l,u),j(l,31),V(l,a),P(l,it),V(l,mr);f[0]=0,f[1]=0,u[0]=0,u[1]=0;let c=[0,0];switch(r){case 15:c[1]=n[s+14],A(c,48),k(u,c);case 14:c[1]=n[s+13],A(c,40),k(u,c);case 13:c[1]=n[s+12],A(c,32),k(u,c);case 12:c[1]=n[s+11],A(c,24),k(u,c);case 11:c[1]=n[s+10],A(c,16),k(u,c);case 10:c[1]=n[s+9],A(c,8),k(u,c);case 9:c[1]=n[s+8],k(u,c),P(u,le),j(u,33),P(u,ue),k(l,u);case 8:c[1]=n[s+7],A(c,56),k(f,c);case 7:c[1]=n[s+6],A(c,48),k(f,c);case 6:c[1]=n[s+5],A(c,40),k(f,c);case 5:c[1]=n[s+4],A(c,32),k(f,c);case 4:c[1]=n[s+3],A(c,24),k(f,c);case 3:c[1]=n[s+2],A(c,16),k(f,c);case 2:c[1]=n[s+1],A(c,8),k(f,c);case 1:c[1]=n[s],k(f,c),P(f,ue),j(f,31),P(f,le),k(a,f)}return k(a,o),k(l,o),V(a,l),V(l,a),rt(a),rt(l),V(a,l),V(l,a),`00000000${(a[0]>>>0).toString(16)}`.slice(-8)+`00000000${(a[1]>>>0).toString(16)}`.slice(-8)+`00000000${(l[0]>>>0).toString(16)}`.slice(-8)+`00000000${(l[1]>>>0).toString(16)}`.slice(-8)}function hr(e){let t="";for(let n of Object.keys(e).sort()){let o=e[n],r="error"in o?"error":JSON.stringify(o.value);t+=`${t?"|":""}${n.replace(/([:|\\])/g,"\\$1")}:${r}`}return t}function bt(e){return JSON.stringify(e,(t,n)=>n instanceof Error?cn(n):n,2)}function wt(e){return pr(hr(e))}function gr(e){let t,n=kn(e);return{get visitorId(){return t===void 0&&(t=wt(this.components)),t},set visitorId(o){t=o},confidence:n,components:e,version:st}}function yr(e=50){return Ln(e,e*2)}function br(e,t){let n=Date.now();return{async get(o){let r=Date.now(),i=await e(),a=gr(i);return(t||o!=null&&o.debug)&&console.log(`Copy the text below to get the debug data:
|
|
6
6
|
|
|
7
7
|
\`\`\`
|
|
8
8
|
version: ${a.version}
|
|
9
9
|
userAgent: ${navigator.userAgent}
|
|
10
10
|
timeBetweenLoadAndGet: ${r-n}
|
|
11
11
|
visitorId: ${a.visitorId}
|
|
12
|
-
components: ${
|
|
13
|
-
\`\`\``),a}}}function hr(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${rt}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function gr(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&hr(),await mr(t);let r=ir({cache:{},debug:n});return pr(r,n)}var bt={load:gr,hashComponents:yt,componentsToDebugString:gt};var yr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],br=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Se=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],xe=["lp","narrative"],wr=[...yr,...br,...Se,...xe],_r=new Set(wr);function Le(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let s=o.toLowerCase();_r.has(s)&&r!==""&&!(s in t)&&(t[s]=r)}return t}var vr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,kr=["email"],Sr=["phone","phonenumber","phone_number","tel","telefone"];function Ae(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return vr.test(t)&&t.length<=254?t:null}function Pe(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let s=String(t).replace(/\D/g,""),a=["39","378","379"].includes(s);s&&!o.startsWith(s)&&(o=s+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}function wt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let s=o.toLowerCase();!t.email&&kr.includes(s)&&(t.email=Ae(r)||void 0),!t.phone&&Sr.includes(s)&&(t.phone=Pe(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Fe=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],xr=/\/widget\/(form|survey|booking)\//,xt=["buy.stripe.com","checkout.stripe.com"],Lt=e=>new Set([...xt,...e||[]].map(t=>String(t).toLowerCase())),R=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Lr="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",le="data-f10x-field";function _t(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Lr);for(let[r,s]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(le))&&(a.value=s);else if(o){let l=document.createElement("input");l.type="hidden",l.name=r,l.value=s,l.setAttribute(le,""),e.appendChild(l)}}}var vt=new WeakMap;function Ar(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=vt.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,vt.set(t,n),t.setAttribute(le,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Ie(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[s,a]of Object.entries(t))Fe.includes(s)?o.searchParams.set(s,a):o.searchParams.has(s)||o.searchParams.set(s,a);return xt.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var kt=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function Ce({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let s=Lt(t),a=new WeakSet,l=!1,d=0,u=m=>{for(let p of document.querySelectorAll("a[href]")){if(!s.has(kt(p.getAttribute("href"))))continue;let g=Ie(p.getAttribute("href"),m,location.href);g&&p.setAttribute("href",g)}},i=m=>{for(let p of document.querySelectorAll("iframe[src]")){let g=p.getAttribute("src");if(!xr.test(g))continue;let L=Ie(g,m,location.href);L&&p.setAttribute("src",L)}},c=(m={})=>{m.iframes&&(l=!0);let p=e();for(let g of document.forms)_t(g,p,n);Ar(p),u(p),l&&i(p)},h=()=>{d||(d=setTimeout(R(()=>{d=0,c()},o),50))};return new MutationObserver(h).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",R(m=>_t(m.target,e(),n),o),!0),document.addEventListener("click",R(m=>{let p=m.target instanceof Element?m.target.closest("a[href]"):null,g=p?kt(p.getAttribute("href")):"";if(!p||!s.has(g))return;let L=Ie(p.getAttribute("href"),e(),location.href);L&&p.setAttribute("href",L),r&&!a.has(p)&&r(g)&&a.add(p)},o),!0),R(c,o)(),{refresh:c}}var N="_f10x",Pr=120*1e3,Ir=200;function At({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Pt(e,t){let n;try{n=new URL(e).searchParams.get(N)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),s=n.lastIndexOf(".");if(o<1||r!==o+2||s<=r+1)return null;let a=n.slice(0,o),l=n.slice(o+1,r),d=n.slice(r+1,s),u=n.slice(s+1);if(!/^[0-9a-z]{1,12}$/.test(a)||l!=="i"&&l!=="a"||d.length>Ir||/\s/.test(d))return null;let i=t-parseInt(a,36);return Math.abs(i)<Pr?{distinctID:d,sessionID:u||null,identified:l==="i"}:null}var Fr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function It(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let s=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");Fr.test(s)?n.push(s):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Ft({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Lt(t),s=(u,i)=>i===u||i.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let i=location.hostname.toLowerCase();return e.some(c=>s(c,u))&&!e.some(c=>s(c,u)&&s(c,i))},l=u=>{try{let i=new URL(u,location.href);return(i.protocol==="http:"||i.protocol==="https:")&&a(i.hostname.toLowerCase())?i:null}catch{return null}},d=R(u=>{if(u.type==="auxclick"&&u.button!==1)return;let i=u.target instanceof Element?u.target.closest("a[href]"):null,c=i&&l(i.getAttribute("href")),h=c&&n();h&&(c.searchParams.set(N,h),i.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,d,!0);document.addEventListener("contextmenu",R(u=>{let i=u.target instanceof Element?u.target.closest("a[href]"):null;if(!i)return;let c;try{c=new URL(i.getAttribute("href"),location.href)}catch{return}c.searchParams.has(N)&&(c.searchParams.delete(N),i.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",R(u=>{let i=u.target;if(!(i instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,h=l((c||i).getAttribute(c?"formaction":"action")||""),m=h&&n();if(!m)return;let p=(c&&c.getAttribute("formmethod")||i.getAttribute("method")||"get").toLowerCase();if(p==="get"){let g=i.querySelector(`input[name="${N}"]`);g||(g=document.createElement("input"),g.type="hidden",g.name=N,g.setAttribute(le,""),i.appendChild(g)),g.value=m}else p==="post"&&(h.searchParams.set(N,m),(c||i).setAttribute(c?"formaction":"action",h.href))},o),!0)}var Cr=/e-?mail/i,Er=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Ct=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),Et=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Mt=e=>e.type==="email"||Cr.test(Et(e)),Rt=e=>e.type==="tel"||e.type!=="email"&&Er.test(Et(e));function Mr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),s=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return s?s[1]:null}function Rr(e){if(!(e instanceof HTMLInputElement)||Ct.has(e.type))return{};if(Mt(e)){let t=Ae(e.value);return t?{email:t}:{}}if(Rt(e)){let t=Pe(e.value,Mr(e));return t?{phone:t}:{}}return{}}function St(e){let t={};for(let n of e){let o=Rr(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Tr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Ct.has(r.type)&&(Mt(r)||Rt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Vr=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity());function Tt(e,t){document.addEventListener("submit",R(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=St(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form")},t),!0),document.addEventListener("click",R(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Tr(o);if(!r||Vr(r))return;let s=St(r.querySelectorAll("input"));(s.email||s.phone)&&e(s,"form")},t),!0)}var Ve="2.2.0",Ee="f10x_consent",Wr=typeof T=="object"?T:[],Dr="1",Nr=/^\d+\.\d+\.\d+$/,We="f10x_contact_id",Gr="contact_id",Zr=/^[A-Za-z0-9_-]{6,128}$/,Vt=1e3,Wt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",Hr="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",De=e=>e&&e.message||String(e),Or=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${De(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,jr=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function Yr(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function Xr(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(de("local",e)))||t(n(de("session",e)))}var $r={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},Ne=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},de=(e,t)=>{var n,o;try{return(o=(n=Ne(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},Me=(e,t,n)=>{var o;try{(o=Ne(e))==null||o.setItem(t,n)}catch{}};function Dt(e){let t={};try{let n=new URL(e).searchParams;for(let o of Fe){let r=n.get(o);r&&Zr.test(r)&&(t[o]=r)}}catch{}return t}var Re=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Nt(){for(let n of["local","session"]){let o=Ne(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===We)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function zr(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Gt=e=>e==null||e==="posthog";function Br(e){let t=[],n=o=>{for(let r of Wr)o[r]=(...s)=>{o.push([r,...s])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,s)=>{Gt(s)?e():t[s]||(t[s]=[],n(t[s])),t._i.push([o,r,s])},t}function Jr(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=Dr;return t&&(Nr.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function Zt(e={}){if(window.__f10xTracking)return Q(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=Te("preview"),Q(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let f=Re({...Le(o),...Dt(o)}),w=!1,v=S=>{w||console.warn(`[@funnel10x/tracking] the dom extra failed (${De(S)}): the form in this frame may miss the fields from its URL.`),w=!0};try{Ce({values:()=>f,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:v})}catch(S){v(S)}return t=Te("frame",()=>f),Q(t)}if(zr())return console.warn(Wt),t=Te("conflict"),Q(t);let s=Le(o),a=Dt(o)[Gr]||null,l=[],d="idle",u=null,i=!1,c=null,h=null,m=null,p=!1,g=null,L=!1,G=!1,q=Jr(e.apiHost,e.sdkVersion),Z=[],W=(f,w)=>{Z.includes(f)||(Z.push(f),console.warn(Or(f,w)))},P=(f,w,v)=>{try{return w()}catch(S){return W(f,S),v}},ee=()=>{p||console.warn(Hr),p=!0},E=Br(ee),b=window.posthog;window.posthog=E;let Ge=()=>{let f={...s};return i&&(f.ph_anon_id=u.get_property("$device_id"),f.ph_distinct_id=u.get_distinct_id(),f.ph_session_id=u.get_session_id(),g&&(f.contact_id=g)),Re(f)},Ht=f=>i?(u.capture("checkout",{checkout_host:f},{send_instantly:!0}),!0):!1,Ze=P("dom",()=>Ce({values:Ge,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:f=>W("dom",f),onCheckout:Ht}),null),te=f=>{Ze&&P("dom",()=>Ze.refresh(f))},He=new Set,fe=[],me=(f,w)=>{if(!i){n&&re()==="denied"||fe.push([f,w]);return}let v=Object.fromEntries(Object.entries(f).filter(([S,H])=>H&&!He.has(`${S}:${H}`)));if(Object.keys(v).length){for(let[S,H]of Object.entries(v))He.add(`${S}:${H}`);u.capture("contact_captured",{...v,contact_source:w})}},Ot=P("contact",()=>wt(o),{});P("contact",()=>Tt((f,w)=>me(f,w),f=>W("contact",f)));let pe=P("linker",()=>It(e.linkedDomains),[]),D=pe.length?P("linker",()=>Pt(o,jr()),null):null,Oe=!1,ne=null,oe=null,jt=()=>i?At({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;pe.length&&P("linker",()=>Ft({hosts:pe,checkoutHosts:e.checkoutHosts,value:jt,onError:f=>W("linker",f)}));let Yt=f=>{!D||Oe||(Oe=!0,P("linker",()=>{let w=f.bootstrap&&typeof f.bootstrap=="object"?f.bootstrap:{};if(w.distinctID||f.identity_distinct_id||Xr(Yr(e.key,f))){oe=D.distinctID;return}ne={...w,distinctID:D.distinctID,isIdentifiedID:D.identified,...D.sessionID&&!w.sessionID?{sessionID:D.sessionID}:{}}}))},Xt=Re({tracking_version:Ve,page_version:n?e.pageVersion||1:void 0,ab_test:n&&e.test||void 0}),$t=f=>(!f||f.event==="$snapshot"||(f.properties={...f.properties,...Xt,...c?{fingerprint:c}:{},fingerprint_ms:h,...p?{tracking_conflict:!0}:{},...Z.length?{tracking_degraded:[...Z]}:{},...oe?{linked_distinct_id:oe}:{}}),f),re=()=>{let f=de("local",Ee);return f==="granted"||f==="denied"?f:null},z=!n||e.consent===!1||re()==="granted",he=n?"direct":"tag",zt=()=>{if(m)return m;let f=Date.now(),w=(async()=>{let S=await(await bt.load({monitoring:!1})).get();c=(S==null?void 0:S.visitorId)||null,h=Date.now()-f})().catch(v=>{h===null&&(h=Date.now()-f),W("fingerprint",v)});return m=Promise.race([w,new Promise(v=>setTimeout(v,Vt))]).then(()=>{h===null&&(h=Vt)}),m},Bt=()=>{if(L)return;L=!0;let f=document.createElement("link");f.rel="preload",f.as="script",f.crossOrigin="anonymous",f.href=q,document.head.appendChild(f)},je=()=>{let f=e.posthog||{};return Yt(f),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...$r,custom_campaign_params:[...Se,"utm_id","utm_placement",...xe],...f,...ne?{bootstrap:ne}:{},before_send:$t,loaded:Ut}},Jt=()=>{let f=window.posthog;if(f===E){if(E._i.unshift([e.key,je()]),d="injected",G)return;G=!0;let w=document.createElement("script");w.async=!0,w.crossOrigin="anonymous",w.src=q,document.head.appendChild(w);return}if(G&&f&&!f.__loaded&&typeof f.init=="function"){d="injected",f.init(e.key,je()),u&&typeof u._execute_array=="function"&&u._execute_array(E);return}console.warn(Wt),he="conflict",d="idle"},Ye=()=>{d!=="idle"||he==="conflict"||(d="waiting",Promise.resolve().then(async()=>{if(!z){d="idle";return}if(Bt(),await P("fingerprint",zt,null),!z){d="idle";return}Jt()}).catch(f=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${De(f)}): nothing is tracked by this snippet on this page.`),!G&&(d="idle",window.posthog===E&&(window.posthog=b))}))};function Ut(f){u=f,d="loaded";let w=f.init;f.init=function(v,S,H){return Gt(H)&&ee(),w.apply(this,arguments)},f.has_opted_out_capturing()&&f.opt_in_capturing({captureEventName:!1}),g=a||de("session",We),a&&(Me("session",We,a),f.get_distinct_id()!==a&&f.identify(a)),i=!0,te({iframes:!0}),P("contact",()=>{me(Ot,"url");for(let[v,S]of fe.splice(0))me(v,S)});for(let v of l.splice(0))v(!0)}return z?Ye():(re()==="denied"&&Nt(),te({iframes:!0})),t={version:Ve,get mode(){return he},consent:()=>n&&e.consent?re():null,grant(){Me("local",Ee,"granted"),z=!0,u?i||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),i=!0,u.capture("$pageview"),te({iframes:!0})):Ye()},deny(){var f;if(Me("local",Ee,"denied"),z=!1,fe=[],D=null,ne=null,oe=null,!u){E._i.length=0,d==="injected"&&(d="idle");return}u.opt_out_capturing(),(f=u.stopSessionRecording)==null||f.call(u),u.set_config({disable_persistence:!0}),Nt(),i=!1,g=null,te()},onReady(f){i?f(!0):l.push(f)},fields:Ge,capture(f,w){i&&u.capture(f,w)},get posthog(){return u||(window.posthog===E?E:null)}},Q(t)}function Q(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function Te(e,t=()=>({})){return{version:Ve,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},posthog:null}}var $=window.f10xTracking;window.__f10xTracking?window.f10xTracking=window.__f10xTracking:$&&typeof $=="object"&&!$.version&&(typeof $.key=="string"&&$.key?Ur($):console.warn("[@funnel10x/tracking] window.f10xTracking.key is missing: nothing is tracked."));function Ur(e){let t=window.posthog;try{Zt(e)}catch(n){window.posthog&&window.posthog.__f10x&&(window.posthog=t),window.__f10xTracking=void 0,window.f10xTracking=e,console.warn(`[@funnel10x/tracking] the snippet failed to start (${n&&n.message||n}): nothing is tracked by it on this page, and window.f10xTracking has no version.`)}}})();
|
|
12
|
+
components: ${bt(i)}
|
|
13
|
+
\`\`\``),a}}}function wr(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{let e=new XMLHttpRequest;e.open("get",`https://m1.openfpcdn.io/fingerprintjs/v${st}/npm-monitoring`,!0),e.send()}catch(e){console.error(e)}}async function _r(e={}){let{delayFallback:t,debug:n,monitoring:o=!0}=e;o&&wr(),await yr(t);let r=ur({cache:{},debug:n});return br(r,n)}var _t={load:_r,hashComponents:wt,componentsToDebugString:bt};var kr=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_placement"],vr=["fbclid","gclid","gbraid","wbraid","gad_source","gad_campaignid","msclkid","ctwa_clid"],Ae=["a_campaign_id","a_adset_id","a_ad_id","h_ad_id","fbc_id"],Pe=["lp","narrative"],Sr=[...kr,...vr,...Ae,...Pe],xr=new Set(Sr);function Ie(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();xr.has(i)&&r!==""&&!(i in t)&&(t[i]=r)}return t}var Lr=/^[^\s@<>()]+@[^\s@<>()]+\.[^\s@<>()]{2,}$/,Ar=["email"],Pr=["phone","phonenumber","phone_number","tel","telefone"];function q(e){if(typeof e!="string")return null;let t=e.trim().toLowerCase();return Lr.test(t)&&t.length<=254?t:null}function ee(e,t){if(typeof e!="string")return null;let n=e.trim().replace(/\s*(ext\.?|x|#)\s*\d+$/i,""),o=n.replace(/\D/g,"");n.startsWith("00")&&(o=o.slice(2));let r=n.startsWith("+")||n.startsWith("00");if(!r&&t){let i=String(t).replace(/\D/g,""),a=["39","378","379"].includes(i);i&&!o.startsWith(i)&&(o=i+(a?o:o.replace(/^0/,"")))}return o.length<7||o.length>15?null:r||t?`+${o}`:o}function kt(e){let t={},n;try{n=new URL(e)}catch{return t}for(let[o,r]of n.searchParams){let i=o.toLowerCase();!t.email&&Ar.includes(i)&&(t.email=q(r)||void 0),!t.phone&&Pr.includes(i)&&(t.phone=ee(r)||void 0)}return Object.fromEntries(Object.entries(t).filter(([,o])=>o))}var Ee=["ph_anon_id","ph_distinct_id","ph_session_id","contact_id"],Ir=/\/widget\/(form|survey|booking)\//,At=["buy.stripe.com","checkout.stripe.com"],Pt=e=>new Set([...At,...e||[]].map(t=>String(t).toLowerCase())),R=(e,t)=>(...n)=>{try{return e(...n)}catch(o){t&&t(o);return}},Cr="input[type=email], input[type=tel], input[name*=email i], input[name*=phone i]",pe="data-f10x-field";function vt(e,t,n){if(!e||e.hasAttribute("data-f10x-skip"))return;let o=n&&e.querySelector(Cr);for(let[r,i]of Object.entries(t)){let a=e.querySelector(`[name="${CSS.escape(r)}"]`);if(a)a.tagName==="INPUT"&&(a.type==="hidden"||a.value===""||a.hasAttribute(pe))&&(a.value=i);else if(o){let l=document.createElement("input");l.type="hidden",l.name=r,l.value=i,l.setAttribute(pe,""),e.appendChild(l)}}}var St=new WeakMap;function Er(e){for(let t of document.querySelectorAll("input[data-q]")){let n=e[t.getAttribute("data-q")];if(n==null)continue;let o=St.get(t);o!==n&&(o===void 0&&t.value!==""||(t.value=n,St.set(t,n),t.setAttribute(pe,""),t.dispatchEvent(new Event("input",{bubbles:!0})),t.dispatchEvent(new Event("change",{bubbles:!0}))))}}function Ce(e,t,n){let o;try{o=new URL(e,n)}catch{return null}if(o.protocol!=="http:"&&o.protocol!=="https:")return null;let r=o.href;for(let[i,a]of Object.entries(t))Ee.includes(i)?o.searchParams.set(i,a):o.searchParams.has(i)||o.searchParams.set(i,a);return At.includes(o.hostname)&&t.ph_distinct_id&&!o.searchParams.has("client_reference_id")&&o.searchParams.set("client_reference_id",t.ph_distinct_id),o.href===r?null:o.href}var xt=e=>{try{return new URL(e,location.href).hostname}catch{return""}};function Fe({values:e,checkoutHosts:t,addFields:n,onError:o,onCheckout:r}){let i=Pt(t),a=new WeakSet,l=!1,f=0,u=m=>{for(let p of document.querySelectorAll("a[href]")){if(!i.has(xt(p.getAttribute("href"))))continue;let y=Ce(p.getAttribute("href"),m,location.href);y&&p.setAttribute("href",y)}},s=m=>{for(let p of document.querySelectorAll("iframe[src]")){let y=p.getAttribute("src");if(!Ir.test(y))continue;let L=Ce(y,m,location.href);L&&p.setAttribute("src",L)}},c=(m={})=>{m.iframes&&(l=!0);let p=e();for(let y of document.forms)vt(y,p,n);Er(p),u(p),l&&s(p)},h=()=>{f||(f=setTimeout(R(()=>{f=0,c()},o),50))};return new MutationObserver(h).observe(document.documentElement,{childList:!0,subtree:!0}),document.addEventListener("submit",R(m=>vt(m.target,e(),n),o),!0),document.addEventListener("click",R(m=>{let p=m.target instanceof Element?m.target.closest("a[href]"):null,y=p?xt(p.getAttribute("href")):"";if(!p||!i.has(y))return;let L=Ce(p.getAttribute("href"),e(),location.href);L&&p.setAttribute("href",L),r&&!a.has(p)&&r(y)&&a.add(p)},o),!0),R(c,o)(),{refresh:c}}var D="_f10x",Fr=120*1e3,Rr=200;function It({distinctId:e,deviceId:t,sessionId:n},o=Date.now()){return e?[o.toString(36),e===t?"a":"i",e,n||""].join("."):null}function Ct(e,t){let n;try{n=new URL(e).searchParams.get(D)}catch{return null}if(!n)return null;let o=n.indexOf("."),r=n.indexOf(".",o+1),i=n.lastIndexOf(".");if(o<1||r!==o+2||i<=r+1)return null;let a=n.slice(0,o),l=n.slice(o+1,r),f=n.slice(r+1,i),u=n.slice(i+1);if(!/^[0-9a-z]{1,12}$/.test(a)||l!=="i"&&l!=="a"||f.length>Rr||/\s/.test(f))return null;let s=t-parseInt(a,36);return Math.abs(s)<Fr?{distinctID:f,sessionID:u||null,identified:l==="i"}:null}var Mr=/^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]*[a-z0-9])?)*$/;function Et(e){let t=Array.isArray(e)?e:typeof e=="string"?e.split(/[\s,]+/):[],n=[];for(let o of t){let r=String(o).trim();if(!r)continue;let i=r.toLowerCase().replace(/^[a-z][a-z0-9+.-]*:\/\//,"").replace(/[/?#].*$/,"").replace(/:\d+$/,"").replace(/^\.+|\.+$/g,"");Mr.test(i)?n.push(i):console.warn(`[@funnel10x/tracking] linkedDomains: "${r}" is not a host or a registrable domain, and it is ignored (a domain covers its subdomains: write marca.pt, not *.marca.pt).`)}return n}function Ft({hosts:e,checkoutHosts:t,value:n,onError:o}){let r=Pt(t),i=(u,s)=>s===u||s.endsWith(`.${u}`),a=u=>{if(!u||u===location.hostname||r.has(u))return!1;let s=location.hostname.toLowerCase();return e.some(c=>i(c,u))&&!e.some(c=>i(c,u)&&i(c,s))},l=u=>{try{let s=new URL(u,location.href);return(s.protocol==="http:"||s.protocol==="https:")&&a(s.hostname.toLowerCase())?s:null}catch{return null}},f=R(u=>{if(u.type==="auxclick"&&u.button!==1)return;let s=u.target instanceof Element?u.target.closest("a[href]"):null,c=s&&l(s.getAttribute("href")),h=c&&n();h&&(c.searchParams.set(D,h),s.setAttribute("href",c.href))},o);for(let u of["click","auxclick"])document.addEventListener(u,f,!0);document.addEventListener("contextmenu",R(u=>{let s=u.target instanceof Element?u.target.closest("a[href]"):null;if(!s)return;let c;try{c=new URL(s.getAttribute("href"),location.href)}catch{return}c.searchParams.has(D)&&(c.searchParams.delete(D),s.setAttribute("href",c.href))},o),!0),document.addEventListener("submit",R(u=>{let s=u.target;if(!(s instanceof HTMLFormElement))return;let c=u.submitter&&u.submitter.hasAttribute("formaction")?u.submitter:null,h=l((c||s).getAttribute(c?"formaction":"action")||""),m=h&&n();if(!m)return;let p=(c&&c.getAttribute("formmethod")||s.getAttribute("method")||"get").toLowerCase();if(p==="get"){let y=s.querySelector(`input[name="${D}"]`);y||(y=document.createElement("input"),y.type="hidden",y.name=D,y.setAttribute(pe,""),s.appendChild(y)),y.value=m}else p==="post"&&(h.searchParams.set(D,m),(c||s).setAttribute(c?"formaction":"action",h.href))},o),!0)}var Tr=/e-?mail/i,Vr=/phone|telefone|telem[oó]vel|celular|whatsapp|(^|[\s_.-])(tel|mobile)($|[\s_.-])/i,Rt=new Set(["hidden","password","checkbox","radio","search","submit","button","file","reset","image"]),Mt=e=>[e.name,e.id,e.getAttribute("data-q"),e.getAttribute("autocomplete")].filter(Boolean).join(" "),Tt=e=>e.type==="email"||Tr.test(Mt(e)),Vt=e=>e.type==="tel"||e.type!=="email"&&Vr.test(Mt(e));function Wr(e){let t=e.closest(".iti")||e.closest('.form-builder--item, [class*="phone"]')||e.parentElement,n=t&&t.querySelector('.iti__selected-dial-code, [class*="dial-code"], [class*="dialCode"]'),o=n&&n.textContent;if(o&&/\+?\d{1,4}/.test(o))return o.match(/\d{1,4}/)[0];let r=t&&t.querySelector(".iti__selected-flag, .iti__selected-country"),i=r&&(r.getAttribute("title")||r.getAttribute("aria-label")||"").match(/\+(\d{1,4})/);return i?i[1]:null}function Nr(e){if(!(e instanceof HTMLInputElement)||Rt.has(e.type))return{};if(Tt(e)){let t=q(e.value);return t?{email:t}:{}}if(Vt(e)){let t=ee(e.value,Wr(e));return t?{phone:t}:{}}return{}}function Lt(e){let t={};for(let n of e){let o=Nr(n);o.email&&!t.email&&(t.email=o.email),o.phone&&!t.phone&&(t.phone=o.phone)}return t}function Dr(e){let t=e.parentElement;for(let n=0;t&&t!==document.body&&t!==document.documentElement&&n<12;n++,t=t.parentElement)if([...t.querySelectorAll("input")].some(r=>!Rt.has(r.type)&&(Tt(r)||Vt(r))))return t.querySelectorAll("button[type=submit], input[type=submit]").length===1?t:null;return null}var Gr=e=>[...e.querySelectorAll("input, select, textarea")].some(t=>t.willValidate&&!t.checkValidity());function Wt(e,t){document.addEventListener("submit",R(n=>{if(!(n.target instanceof HTMLFormElement))return;let o=Lt(n.target.querySelectorAll("input"));(o.email||o.phone)&&e(o,"form")},t),!0),document.addEventListener("click",R(n=>{let o=n.target instanceof Element?n.target.closest("button[type=submit], input[type=submit]"):null;if(!o||o.closest("form")||o.getAttribute("type")!=="submit")return;let r=Dr(o);if(!r||Gr(r))return;let i=Lt(r.querySelectorAll("input"));(i.email||i.phone)&&e(i,"form")},t),!0)}var We="2.4.0",Re="f10x_consent",Or=typeof T=="object"?T:[],Hr="1",Zr=/^\d+\.\d+\.\d+$/,Ne="f10x_contact_id",jr="contact_id",$r=/^[A-Za-z0-9_-]{6,128}$/,Nt=1e3,Dt="[@funnel10x/tracking] another PostHog is already on this page (a PostHog tag or snippet): nothing is tracked. Remove it: this snippet is PostHog.",Yr="[@funnel10x/tracking] another PostHog init reached this page after the snippet (a PostHog tag or snippet): it is ignored, and every event carries tracking_conflict. Remove it: this snippet is PostHog.",zr=["snippet","page"],Xr=e=>`[@funnel10x/tracking] ${e===void 0?"this site does not declare who sends checkout":`checkout is ${JSON.stringify(e)}, which is neither 'snippet' nor 'page'`}: the snippet does not send checkout. Set checkout: 'snippet' (the checkout links are <a>) or checkout: 'page' (the page calls f10xTracking.capture('checkout')) in the init.`,Gt={Purchase:"purchase",purchase_completed:"purchase",order_completed:"purchase",InitiateCheckout:"checkout",initiate_checkout:"checkout",checkout_started:"checkout",begin_checkout:"checkout",CompleteRegistration:"registration_completed",registration:"registration_completed",sign_up:"registration_completed",webinar_registration:"registration_completed",appointment_booked:"appointment_scheduled",booking:"appointment_scheduled",Schedule:"appointment_scheduled",call_booked:"appointment_scheduled",Lead:"contact_captured"},Br=["purchase","registration_completed","appointment_scheduled"];function Jr(e,t,n){let o=[],r=t&&typeof t=="object"?t:{},i=Object.prototype.hasOwnProperty.call(Gt,e)?Gt[e]:null;if(i){let a=i==="contact_captured"?", which the page sends through f10xTracking.contact({ email, phone })":Br.includes(i)&&i!=="purchase"?", which only the server sends":"";o.push(["synonym",`"${e}" is not in the funnel event contract and the warehouse ignores it: the contract name is "${i}"${a}.`])}if(e==="purchase"){o.push(["server","purchase belongs to the server (the admin sends it from Stripe): this one from the page still counts until the server sends it in this project, and from that day it counts twice, so remove it then."]);let a=[];typeof r.session_id=="string"&&r.session_id.startsWith("cs_")||a.push("session_id (the cs_\u2026 of the Stripe checkout session)"),typeof r.currency=="string"&&r.currency||a.push("currency");let l=typeof r.amount_total=="string"&&r.amount_total.trim()?Number(r.amount_total):r.amount_total;typeof l=="number"&&Number.isFinite(l)||a.push("amount_total");for(let f of a)o.push([`missing:${f}`,`purchase without ${f}: it is sent, and the column stays empty in the warehouse.`])}return(e==="registration_completed"||e==="appointment_scheduled")&&o.push(["server",`${e} is sent only by the server, from the system that records it (the CRM): the warehouse ignores one sent from a page, even when an app gives a callback.`]),e==="contact_captured"&&o.push(["contact","contact_captured by hand: call f10xTracking.contact({ email, phone }) instead, which normalizes, sends each value once per page and waits for the consent."]),e==="checkout"&&n==="snippet"&&o.push(["twice","checkout from the page on a site that declares checkout: 'snippet': the snippet already sends it on the click of a checkout link, so this one counts it twice."]),o}var De=e=>e&&e.message||String(e),Ur=(e,t)=>`[@funnel10x/tracking] the ${e} extra failed (${De(t)}): PostHog still measures without it, and every event carries tracking_degraded.`,Kr=()=>{try{if(typeof performance!="undefined"&&typeof performance.now=="function")return Date.now()-performance.now()}catch{}return Date.now()};function Qr(e,t){let n=t.persistence_name||t.cookie_name;return n?`ph_${n}`:`ph_${String(e||"").trim().replace(/\+/g,"PL").replace(/\//g,"SL").replace(/=/g,"EQ")}_posthog`}function qr(e){let t=o=>!!(o&&typeof o=="object"&&o.distinct_id),n=o=>{try{return o?JSON.parse(o):null}catch{return null}};try{for(let o of document.cookie.split(";")){let r=o.indexOf("=");if(r>0&&o.slice(0,r).trim()===e&&t(n(decodeURIComponent(o.slice(r+1).trim()))))return!0}}catch{}return t(n(he("local",e)))||t(n(he("session",e)))}var ei={defaults:"2026-08-30",person_profiles:"identified_only",strict_script_versioning:!0},Ge=e=>{try{return e==="session"?window.sessionStorage:window.localStorage}catch{return null}},he=(e,t)=>{var n,o;try{return(o=(n=Ge(e))==null?void 0:n.getItem(t))!=null?o:null}catch{return null}},Me=(e,t,n)=>{var o;try{(o=Ge(e))==null||o.setItem(t,n)}catch{}};function Ot(e){let t={};try{let n=new URL(e).searchParams;for(let o of Ee){let r=n.get(o);r&&$r.test(r)&&(t[o]=r)}}catch{}return t}var Te=e=>Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""));function Ht(){for(let n of["local","session"]){let o=Ge(n);if(o)try{for(let r of Object.keys(o))(r.startsWith("ph_")||r===Ne)&&o.removeItem(r)}catch{}}let e=location.hostname.split("."),t=e.map((n,o)=>e.slice(o).join(".")).filter(n=>n.includes("."));for(let n of document.cookie.split(";")){let o=n.split("=")[0].trim();if(o.startsWith("ph_")){document.cookie=`${o}=; Max-Age=0; path=/`;for(let r of t)document.cookie=`${o}=; Max-Age=0; path=/; domain=.${r}`}}}function ti(){let e=window.posthog;return!e||e.__f10x?!1:!!(e.__SV||e.__loaded||Array.isArray(e._i)||Array.isArray(e)&&e.length)}var Zt=e=>e==null||e==="posthog";function ni(e){let t=[],n=o=>{for(let r of Or)o[r]=(...i)=>{o.push([r,...i])}};return n(t),t._i=[],t.__SV=1,t.__f10x=!0,t.people=[],t.toString=o=>`posthog${o?"":" (stub)"}`,t.people.toString=()=>`${t.toString(1)}.people (stub)`,t.init=(o,r,i)=>{Zt(i)?e():t[i]||(t[i]=[],n(t[i])),t._i.push([o,r,i])},t}function oi(e,t){let n=(e||"https://us.i.posthog.com").trim().replace(/\/$/,"").replace(".i.posthog.com","-assets.i.posthog.com"),o=Hr;return t&&(Zr.test(t)?o=t:console.warn(`[@funnel10x/tracking] sdkVersion "${t}" is not an exact version (1.2.3): the 1.x channel is loaded.`)),`${n}/static/${o}/array.js`}function jt(e={}){if(window.__f10xTracking)return te(window.__f10xTracking);let t,n=typeof e.consent=="boolean",o=location.href;if(n&&/_\d+\/?$/.test(location.pathname))return t=Ve("preview"),te(t);let r=!1;try{r=window.top!==window.self}catch{r=!0}if(r){let d=Te({...Ie(o),...Ot(o)}),g=!1,_=v=>{g||console.warn(`[@funnel10x/tracking] the dom extra failed (${De(v)}): the form in this frame may miss the fields from its URL.`),g=!0};try{Fe({values:()=>d,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:_})}catch(v){_(v)}return t=Ve("frame",()=>d),te(t)}if(ti())return console.warn(Dt),t=Ve("conflict"),te(t);let i=Ie(o),a=Ot(o)[jr]||null,l=[],f="idle",u=null,s=!1,c=null,h=null,m=null,p=!1,y=null,L=!1,G=!1,ne=oi(e.apiHost,e.sdkVersion),O=[],W=(d,g)=>{O.includes(d)||(O.push(d),console.warn(Ur(d,g)))},oe=new Set,z=(d,g)=>{oe.has(d)||(oe.add(d),console.warn(`[@funnel10x/tracking] ${g}`))},X=zr.includes(e.checkout)?e.checkout:null;X||console.warn(Xr(e.checkout));let b=(d,g,_)=>{try{return g()}catch(v){return W(d,v),_}},Oe=()=>{p||console.warn(Yr),p=!0},M=ni(Oe),$t=window.posthog;window.posthog=M;let He=()=>{let d={...i};return s&&(d.ph_anon_id=u.get_property("$device_id"),d.ph_distinct_id=u.get_distinct_id(),d.ph_session_id=u.get_session_id(),y&&(d.contact_id=y)),Te(d)},Yt=d=>s?(u.capture("checkout",{checkout_host:d},{send_instantly:!0}),!0):!1,Ze=b("dom",()=>Fe({values:He,checkoutHosts:e.checkoutHosts,addFields:e.addFields!==!1,onError:d=>W("dom",d),onCheckout:X==="snippet"?Yt:void 0}),null),re=d=>{Ze&&b("dom",()=>Ze.refresh(d))},je=new Set,ge=[],ie=(d,g)=>{if(!s){n&&ae()==="denied"||ge.push([d,g]);return}let _=Object.fromEntries(Object.entries(d).filter(([v,E])=>E&&!je.has(`${v}:${E}`)));if(Object.keys(_).length){for(let[v,E]of Object.entries(_))je.add(`${v}:${E}`);u.capture("contact_captured",{..._,contact_source:g})}},zt=b("contact",()=>kt(o),{});b("contact",()=>Wt((d,g)=>ie(d,g),d=>W("contact",d)));let ye=b("linker",()=>Et(e.linkedDomains),[]),N=ye.length?b("linker",()=>Ct(o,Kr()),null):null,$e=!1,se=null,ce=null,Xt=()=>s?It({distinctId:u.get_distinct_id(),deviceId:u.get_property("$device_id"),sessionId:u.get_session_id()}):null;ye.length&&b("linker",()=>Ft({hosts:ye,checkoutHosts:e.checkoutHosts,value:Xt,onError:d=>W("linker",d)}));let Bt=d=>{!N||$e||($e=!0,b("linker",()=>{let g=d.bootstrap&&typeof d.bootstrap=="object"?d.bootstrap:{};if(g.distinctID||d.identity_distinct_id||qr(Qr(e.key,d))){ce=N.distinctID;return}se={...g,distinctID:N.distinctID,isIdentifiedID:N.identified,...N.sessionID&&!g.sessionID?{sessionID:N.sessionID}:{}}}))},Jt=Te({tracking_version:We,page_version:n?e.pageVersion||1:void 0,page_revision:n&&/^[a-f0-9]{64}$/.test(e.pageRevision||"")?e.pageRevision:void 0,ab_test:n&&e.test||void 0,ab_eligibility:n&&["none","randomized","direct","cross_exposure"].includes(e.abEligibility)?e.abEligibility:void 0,ab_assigned_version:n&&Number.isSafeInteger(e.abAssignedVersion)&&e.abAssignedVersion>0?e.abAssignedVersion:void 0}),Ut=d=>(!d||d.event==="$snapshot"||(d.properties={...d.properties,...Jt,...c?{fingerprint:c}:{},fingerprint_ms:h,...p?{tracking_conflict:!0}:{},...O.length?{tracking_degraded:[...O]}:{},...ce?{linked_distinct_id:ce}:{}}),d),ae=()=>{let d=he("local",Re);return d==="granted"||d==="denied"?d:null},B=!n||e.consent===!1||ae()==="granted",be=n?"direct":"tag",Kt=()=>{if(m)return m;let d=Date.now(),g=(async()=>{let v=await(await _t.load({monitoring:!1})).get();c=(v==null?void 0:v.visitorId)||null,h=Date.now()-d})().catch(_=>{h===null&&(h=Date.now()-d),W("fingerprint",_)});return m=Promise.race([g,new Promise(_=>setTimeout(_,Nt))]).then(()=>{h===null&&(h=Nt)}),m},Qt=()=>{if(L)return;L=!0;let d=document.createElement("link");d.rel="preload",d.as="script",d.crossOrigin="anonymous",d.href=ne,document.head.appendChild(d)},Ye=()=>{let d=e.posthog||{};return Bt(d),{api_host:e.apiHost||"https://us.i.posthog.com",ui_host:"https://us.posthog.com",...ei,custom_campaign_params:[...Ae,"utm_id","utm_placement",...Pe],...d,...se?{bootstrap:se}:{},before_send:Ut,loaded:en}},qt=()=>{let d=window.posthog;if(d===M){if(M._i.unshift([e.key,Ye()]),f="injected",G)return;G=!0;let g=document.createElement("script");g.async=!0,g.crossOrigin="anonymous",g.src=ne,document.head.appendChild(g);return}if(G&&d&&!d.__loaded&&typeof d.init=="function"){f="injected",d.init(e.key,Ye()),u&&typeof u._execute_array=="function"&&u._execute_array(M);return}console.warn(Dt),be="conflict",f="idle"},ze=()=>{f!=="idle"||be==="conflict"||(f="waiting",Promise.resolve().then(async()=>{if(!B){f="idle";return}if(Qt(),await b("fingerprint",Kt,null),!B){f="idle";return}qt()}).catch(d=>{console.warn(`[@funnel10x/tracking] PostHog failed to start (${De(d)}): nothing is tracked by this snippet on this page.`),!G&&(f="idle",window.posthog===M&&(window.posthog=$t))}))};function en(d){u=d,f="loaded";let g=d.init;d.init=function(_,v,E){return Zt(E)&&Oe(),g.apply(this,arguments)},d.has_opted_out_capturing()&&d.opt_in_capturing({captureEventName:!1}),y=a||he("session",Ne),a&&(Me("session",Ne,a),d.get_distinct_id()!==a&&d.identify(a)),s=!0,re({iframes:!0}),b("contact",()=>{ie(zt,"url");for(let[_,v]of ge.splice(0))ie(_,v)});for(let _ of l.splice(0))_(!0)}return B?ze():(ae()==="denied"&&Ht(),re({iframes:!0})),t={version:We,get mode(){return be},consent:()=>n&&e.consent?ae():null,grant(){Me("local",Re,"granted"),B=!0,u?s||(u.set_config({disable_persistence:!1}),u.opt_in_capturing({captureEventName:!1}),s=!0,u.capture("$pageview"),re({iframes:!0})):ze()},deny(){var d;if(Me("local",Re,"denied"),B=!1,ge=[],N=null,se=null,ce=null,!u){M._i.length=0,f==="injected"&&(f="idle");return}u.opt_out_capturing(),(d=u.stopSessionRecording)==null||d.call(u),u.set_config({disable_persistence:!0}),Ht(),s=!1,y=null,re()},onReady(d){s?d(!0):l.push(d)},fields:He,capture(d,g){try{for(let[_,v]of Jr(d,g,X))z(`${d}:${_}`,v)}catch{}s&&u.capture(d,g,d==="checkout"?{send_instantly:!0}:void 0)},contact(d){b("contact",()=>{let g=d&&typeof d=="object"?d:{},_={};if(g.email!=null&&g.email!==""){let v=q(g.email);v?_.email=v:z(`contact:email:${g.email}`,`contact(): ${JSON.stringify(g.email)} is not an email, and it is not sent.`)}if(g.phone!=null&&g.phone!==""){let E=typeof g.phone=="string"&&/^\s*(\+|00)/.test(g.phone)?ee(g.phone):null;E?_.phone=E:z(`contact:phone:${g.phone}`,`contact(): ${JSON.stringify(g.phone)} is not a phone in international format (+351\u2026), and it is not sent.`)}(_.email||_.phone)&&ie(_,"api")})},get posthog(){return u||(window.posthog===M?M:null)}},te(t)}function te(e){return window.__f10xTracking=e,window.f10xTracking=e,e}function Ve(e,t=()=>({})){return{version:We,mode:e,consent:()=>null,grant(){},deny(){},onReady(){},fields:t,capture(){},contact(){},posthog:null}}var Y=window.f10xTracking;window.__f10xTracking?window.f10xTracking=window.__f10xTracking:Y&&typeof Y=="object"&&!Y.version&&(typeof Y.key=="string"&&Y.key?ri(Y):console.warn("[@funnel10x/tracking] window.f10xTracking.key is missing: nothing is tracked."));function ri(e){let t=window.posthog;try{jt(e)}catch(n){window.posthog&&window.posthog.__f10x&&(window.posthog=t),window.__f10xTracking=void 0,typeof e.contact!="function"&&(e.contact=()=>{}),window.f10xTracking=e,console.warn(`[@funnel10x/tracking] the snippet failed to start (${n&&n.message||n}): nothing is tracked by it on this page, and window.f10xTracking has no version.`)}}})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funnel10x/tracking",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.0",
|
|
4
4
|
"description": "Funnel 10X tracking snippet: the official PostHog SDK from its CDN, with FingerprintJS, the attribution parameters in forms and checkout links, and the consent switch of a direct site.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|