1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-12-22 17:23:22 +01:00

cleanup & fixes

This commit is contained in:
Matthias Kretschmann 2018-09-24 00:13:41 +02:00
parent 80ff84dd2f
commit 146612102f
Signed by: m
GPG Key ID: 606EEEF3C479A91F
11 changed files with 293 additions and 346 deletions

View File

@ -1,4 +1,3 @@
---
title: Matthias Kretschmann title: Matthias Kretschmann
tagline: Designer & Developer tagline: Designer & Developer
description: Portfolio of web & ui designer/developer hybrid Matthias Kretschmann. description: Portfolio of web & ui designer/developer hybrid Matthias Kretschmann.
@ -16,7 +15,7 @@ social:
availability: availability:
status: false status: false
available: "👔 Available for new projects. <a href=\"mailto:m@kretschmann.io\">Lets talk</a>!" available: '👔 Available for new projects. <a href="mailto:m@kretschmann.io">Lets talk</a>!'
unavailable: Not available for new projects. unavailable: Not available for new projects.
# Footer actions # Footer actions

View File

@ -1,9 +1,6 @@
- title: Ocean Protocol
- slug: '/oceanprotocol/'
img: '../src/images/portfolio-oceanprotocol-01.png'
title: Ocean Protocol
slug: "/oceanprotocol/"
img: "../src/images/portfolio-oceanprotocol-01.png"
description: > description: >
Since 2017 I'm leading the UI design & development of Ocean Protocol, iterating on a components-based UI design system spanning all of Ocean Protocol's web properties. Additionally, I conceptualize, execute and iterate on the creative and visual direction of the Ocean Protocol brand. Since 2017 I'm leading the UI design & development of Ocean Protocol, iterating on a components-based UI design system spanning all of Ocean Protocol's web properties. Additionally, I conceptualize, execute and iterate on the creative and visual direction of the Ocean Protocol brand.
@ -11,28 +8,26 @@
Initial website in collaboration with [Balance](https://balance.io/). Key visuals in collaboration with [Wojciech Hupert](https://twitter.com/wojciechhupert). Initial website in collaboration with [Balance](https://balance.io/). Key visuals in collaboration with [Wojciech Hupert](https://twitter.com/wojciechhupert).
links: links:
- title: Link - title: Link
url: https://oceanprotocol.com url: https://oceanprotocol.com
- title: Styleguide - title: Styleguide
url: https://oceanprotocol.com/art url: https://oceanprotocol.com/art
- title: GitHub - title: GitHub
url: https://github.com/oceanprotocol/art url: https://github.com/oceanprotocol/art
techstack: techstack:
- Sketch - Sketch
- Affinity Designer - Affinity Designer
- React - React
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- Travis - Travis
- AWS S3 - AWS S3
- Cloudflare - Cloudflare
- - title: IPDB
slug: '/ipdb/'
title: IPDB img: '../src/images/portfolio-ipdb-01.png'
slug: "/ipdb/"
img: "../src/images/portfolio-ipdb-01.png"
description: > description: >
From 20152017 I was leading the UI design & development of all IPDB web properties and additonally iterated on the creative and visual direction of the IPDB brand. From 20152017 I was leading the UI design & development of all IPDB web properties and additonally iterated on the creative and visual direction of the IPDB brand.
@ -41,58 +36,53 @@
Branding and key visuals in collaboration with [Wojciech Hupert](https://twitter.com/wojciechhupert). Branding and key visuals in collaboration with [Wojciech Hupert](https://twitter.com/wojciechhupert).
techstack: techstack:
- Sketch - Sketch
- Jekyll - Jekyll
- Gulp - Gulp
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- Travis - Travis
- AWS S3 - AWS S3
- Cloudflare - Cloudflare
- 3Scale - 3Scale
links: links:
- title: Link - title: Link
url: https://ipdb.io url: https://ipdb.io
- title: Styleguide - title: Styleguide
url: https://ipdb.io/styleguide/ url: https://ipdb.io/styleguide/
- title: GitHub - title: GitHub
url: https://github.com/ipdb/website url: https://github.com/ipdb/website
- title: Berlin Innovation Ventures
- slug: '/biv/'
img: '../src/images/portfolio-biv-01.png'
title: Berlin Innovation Ventures
slug: "/biv/"
img: "../src/images/portfolio-biv-01.png"
description: > description: >
I designed & developed the website and a basic branding for the Berlin-based VC firm Berlin Innovation Ventures. The main website is a static site built with Jekyll and a custom Gulp-based build pipeline in front of it. I designed & developed the website and a basic branding for the Berlin-based VC firm Berlin Innovation Ventures. The main website is a static site built with Jekyll and a custom Gulp-based build pipeline in front of it.
techstack: techstack:
- Sketch - Sketch
- Jekyll - Jekyll
- Gulp - Gulp
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
links: links:
- title: Link - title: Link
url: http://berlininnovation.vc url: http://berlininnovation.vc
- - title: '9984 >> Summit 2017'
slug: '/9984/'
title: "9984 >> Summit 2017" img: '../src/images/portfolio-9984-01.png'
slug: "/9984/"
img: "../src/images/portfolio-9984-01.png"
links: links:
- title: Link - title: Link
url: https://2017.9984.io url: https://2017.9984.io
- title: Styleguide - title: Styleguide
url: https://2017.9984.io/styleguide/ url: https://2017.9984.io/styleguide/
- title: GitHub - title: GitHub
url: https://github.com/9984/2017.9984.io url: https://github.com/9984/2017.9984.io
description: > description: >
In 2017 I was leading the UI design & development for the 9984 >> Summit, the first joint summit of BigchainDB & IPDB. Additionally, I conceptualized, executed and iterated on the creative and visual direction of the 9984 brand. In 2017 I was leading the UI design & development for the 9984 >> Summit, the first joint summit of BigchainDB & IPDB. Additionally, I conceptualized, executed and iterated on the creative and visual direction of the 9984 brand.
@ -100,21 +90,19 @@
Branding and key visuals in collaboration with [Cristina Vulpe](https://www.linkedin.com/in/cristina-vulpe-41469262) & [Wojciech Hupert](https://twitter.com/wojciechhupert). Branding and key visuals in collaboration with [Cristina Vulpe](https://www.linkedin.com/in/cristina-vulpe-41469262) & [Wojciech Hupert](https://twitter.com/wojciechhupert).
techstack: techstack:
- Sketch - Sketch
- Jekyll - Jekyll
- Gulp - Gulp
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- Travis - Travis
- AWS S3 - AWS S3
- Cloudflare - Cloudflare
- - title: BigchainDB
slug: '/bigchaindb/'
title: BigchainDB img: '../src/images/portfolio-bigchaindb-01.png'
slug: "/bigchaindb/"
img: "../src/images/portfolio-bigchaindb-01.png"
description: > description: >
Since 2016 I'm leading the UI design & development of all BigchainDB web properties. I created the initial BigchainDB brand and further conceptualize, execute and iterate on the creative and visual direction of BigchainDB. This includes creating and iterating on a components-based UI design system for all of BigchainDB's web properties. Since 2016 I'm leading the UI design & development of all BigchainDB web properties. I created the initial BigchainDB brand and further conceptualize, execute and iterate on the creative and visual direction of BigchainDB. This includes creating and iterating on a components-based UI design system for all of BigchainDB's web properties.
@ -123,33 +111,31 @@
Branding & key visuals in collaboration with [Wojciech Hupert](https://twitter.com/wojciechhupert). Branding & key visuals in collaboration with [Wojciech Hupert](https://twitter.com/wojciechhupert).
techstack: techstack:
- Sketch - Sketch
- Affinity Designer - Affinity Designer
- Illustrator - Illustrator
- Jekyll - Jekyll
- Gulp - Gulp
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- Travis - Travis
- AWS S3 - AWS S3
- Cloudflare - Cloudflare
links: links:
- title: Link - title: Link
url: https://www.bigchaindb.com url: https://www.bigchaindb.com
- title: Styleguide - title: Styleguide
url: https://www.bigchaindb.com/styleguide/ url: https://www.bigchaindb.com/styleguide/
- title: GitHub - title: GitHub
url: https://github.com/bigchaindb/site url: https://github.com/bigchaindb/site
- title: Dribbble - title: Dribbble
url: https://dribbble.com/shots/2522184-BigchainDB-site url: https://dribbble.com/shots/2522184-BigchainDB-site
- - title: ChartMogul
slug: '/chartmogul/'
title: ChartMogul img: '../src/images/portfolio-chartmogul-01.png'
slug: "/chartmogul/"
img: "../src/images/portfolio-chartmogul-01.png"
description: > description: >
From 20152017 I was co-designing and leading the UI design & development of various ChartMogul web properties. This included the creation of a components-based UI design system and implementing it across all web touch points. From 20152017 I was co-designing and leading the UI design & development of various ChartMogul web properties. This included the creation of a components-based UI design system and implementing it across all web touch points.
@ -160,62 +146,58 @@
All branding, design & key visuals directed by Michelle Myung. All branding, design & key visuals directed by Michelle Myung.
techstack: techstack:
- Sketch - Sketch
- Affinity Designer - Affinity Designer
- Illustrator - Illustrator
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- PHP - PHP
- Jekyll - Jekyll
- Gulp - Gulp
- WordPress - WordPress
- Travis - Travis
- AWS S3 - AWS S3
- Cloudflare - Cloudflare
- Ruby on Rails - Ruby on Rails
- Backbone.js - Backbone.js
links: links:
- title: Link - title: Link
url: https://chartmogul.com/ url: https://chartmogul.com/
- title: Styleguide - title: Styleguide
url: https://chartmogul.com/styleguide/ url: https://chartmogul.com/styleguide/
- title: Dribbble - title: Dribbble
url: https://dribbble.com/kremalicious/projects/311439-ChartMogul url: https://dribbble.com/kremalicious/projects/311439-ChartMogul
- - title: ShareTheMeal
slug: '/sharethemeal/'
title: ShareTheMeal img: '../src/images/portfolio-sharethemeal-01.png'
slug: "/sharethemeal/"
img: "../src/images/portfolio-sharethemeal-01.png"
description: > description: >
ShareTheMeal is an app from the United Nations World Food Programme (WFP) that enables people to "share their meals" with children in need. In 2015 I was consulting, co-designing and leading the front-end development of the ShareTheMeal website and various parts of the ShareTheMeal apps for iOS & Android. ShareTheMeal is an app from the United Nations World Food Programme (WFP) that enables people to "share their meals" with children in need. In 2015 I was consulting, co-designing and leading the front-end development of the ShareTheMeal website and various parts of the ShareTheMeal apps for iOS & Android.
The main website is a static site built with Jekyll and a custom Gulp-based build pipeline in front of it, embedded in a continous deployment process via GitHub & Travis. The main website is a static site built with Jekyll and a custom Gulp-based build pipeline in front of it, embedded in a continous deployment process via GitHub & Travis.
techstack: techstack:
- Sketch - Sketch
- Illustrator - Illustrator
- Jekyll - Jekyll
- Gulp - Gulp
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- Travis - Travis
- AWS S3 - AWS S3
- Cloudflare - Cloudflare
- Node.js - Node.js
links: links:
- title: Link - title: Link
url: https://sharethemeal.org/ url: https://sharethemeal.org/
- - title: ezeep
slug: '/ezeep/'
title: ezeep img: '../src/images/portfolio-ezeep-01.png'
slug: "/ezeep/"
img: "../src/images/portfolio-ezeep-01.png"
description: > description: >
From 20122015 I worked at ezeep, where I helped creating an unprecedented, market-leading & award-winning user experience based on the principles of emotional design way ahead of all competitors. This included conceptualizing executing, and iterating on the creative & visual direction of the ezeep brand. From 20122015 I worked at ezeep, where I helped creating an unprecedented, market-leading & award-winning user experience based on the principles of emotional design way ahead of all competitors. This included conceptualizing executing, and iterating on the creative & visual direction of the ezeep brand.
@ -224,183 +206,162 @@
ezeep was acquired by [Cortado AG](https://www.cortado.com) in 2015 and became part of their [ThinPrint Cloud Services](https://www.thinprintcloud.com) suite of products. ezeep was acquired by [Cortado AG](https://www.cortado.com) in 2015 and became part of their [ThinPrint Cloud Services](https://www.thinprintcloud.com) suite of products.
techstack: techstack:
- Photoshop - Photoshop
- Illustrator - Illustrator
- InDesign - InDesign
- Sketch - Sketch
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- PHP - PHP
- WordPress - WordPress
- Travis - Travis
- AWS - AWS
- Cloudflare - Cloudflare
- Node.js - Node.js
- Backbone.js - Backbone.js
- Electron - Electron
links: links:
- title: Info - title: Info
url: https://kremalicious.com/enterprise-software-sucks/ url: https://kremalicious.com/enterprise-software-sucks/
- title: Dribbble - title: Dribbble
url: https://dribbble.com/kremalicious/projects/84318-ezeep url: https://dribbble.com/kremalicious/projects/84318-ezeep
- - title: Mr. Reader
slug: '/mrreader/'
title: Mr. Reader img: '../src/images/portfolio-mrreader-01.png'
slug: "/mrreader/"
img: "../src/images/portfolio-mrreader-01.png"
description: > description: >
While working with indy iOS developer Curious Times in 2012, I designed the app icon, a custom theme, and various promotion materials for Mr. Reader, a powerful and highly loved RSS feed reader for iPad. While working with indy iOS developer Curious Times in 2012, I designed the app icon, a custom theme, and various promotion materials for Mr. Reader, a powerful and highly loved RSS feed reader for iPad.
techstack: techstack:
- Photoshop - Photoshop
- - title: iPixelPad
slug: '/ipixelpad/'
title: iPixelPad img: '../src/images/portfolio-ipixelpad-01.png'
slug: "/ipixelpad/"
img: "../src/images/portfolio-ipixelpad-01.png"
description: > description: >
So, what to do when everyone seem to release iPad icons but fail to include some crisp small size icons? Pushing the pixels for yourself of course. So heres my take on the smaller sizes of an Apple iPad icon, called iPixelPad. So, what to do when everyone seem to release iPad icons but fail to include some crisp small size icons? Pushing the pixels for yourself of course. So heres my take on the smaller sizes of an Apple iPad icon, called iPixelPad.
Released as a goodie on [kremalicious.com](https://kremalicious.com/ipixelpad/). Released as a goodie on [kremalicious.com](https://kremalicious.com/ipixelpad/).
techstack: techstack:
- Photoshop - Photoshop
links: links:
- title: Download - title: Download
url: https://kremalicious.com/ipixelpad/ url: https://kremalicious.com/ipixelpad/
- - title: Out Of Whale Oil
slug: '/outofwhaleoil/'
title: Out Of Whale Oil img: '../src/images/portfolio-outofwhaleoil-01.jpg'
slug: "/outofwhaleoil/"
img: "../src/images/portfolio-outofwhaleoil-01.jpg"
description: > description: >
Tribute wallpaper pack inspired by the Futurama movie _Into The Wild Green Yonder_. Released as a goodie on [kremalicious.com](https://kremalicious.com/out-of-whale-oil/). Tribute wallpaper pack inspired by the Futurama movie _Into The Wild Green Yonder_. Released as a goodie on [kremalicious.com](https://kremalicious.com/out-of-whale-oil/).
links: links:
- title: Download - title: Download
url: https://kremalicious.com/out-of-whale-oil/ url: https://kremalicious.com/out-of-whale-oil/
techstack: techstack:
- Photoshop - Photoshop
- - title: Martin-Luther-Universität Halle-Wittenberg
slug: '/unihalle/'
title: Martin-Luther-Universität Halle-Wittenberg img: '../src/images/portfolio-unihalle-01.png'
slug: "/unihalle/"
img: "../src/images/portfolio-unihalle-01.png"
description: > description: >
From 20092012 I worked at the IT services department of [Martin-Luther-Universität Halle-Wittenberg](http://www.uni-halle.de) where I conceptualized, designed & implemented numerous in-house and public facing interfaces for thousands of students and staff. From 20092012 I worked at the IT services department of [Martin-Luther-Universität Halle-Wittenberg](http://www.uni-halle.de) where I conceptualized, designed & implemented numerous in-house and public facing interfaces for thousands of students and staff.
Additionally, I conceptualized, designed, created, and maintained the blog network & community for all students & staff. Additionally, I conceptualized, designed, created, and maintained the blog network & community for all students & staff.
techstack: techstack:
- Photoshop - Photoshop
- Illustrator - Illustrator
- HTML - HTML
- SCSS - SCSS
- JavaScript - JavaScript
- PHP - PHP
- Ruby on Rails - Ruby on Rails
- WordPress - WordPress
- Ilias - Ilias
- Stud.IP - Stud.IP
links: links:
- title: Link - title: Link
url: http://blogs.urz-uni-halle.de url: http://blogs.urz-uni-halle.de
- title: Dribbble - title: Dribbble
url: https://dribbble.com/kremalicious/projects/690029-MLU url: https://dribbble.com/kremalicious/projects/690029-MLU
- - title: Coffee Cup
slug: '/coffeecup/'
title: Coffee Cup img: '../src/images/portfolio-coffeecup-01.png'
slug: "/coffeecup/"
img: "../src/images/portfolio-coffeecup-01.png"
description: > description: >
Desktop icons showing the fuel of most designers. Released as a goodie Desktop icons showing the fuel of most designers. Released as a goodie
on [kremalicious.com](https://kremalicious.com/coffee-cup-icon/). on [kremalicious.com](https://kremalicious.com/coffee-cup-icon/).
techstack: techstack:
- Photoshop - Photoshop
links: links:
- title: Download - title: Download
url: https://kremalicious.com/coffee-cup-icon/ url: https://kremalicious.com/coffee-cup-icon/
- - title: Project Purple
slug: '/projectpurple/'
title: Project Purple img: '../src/images/portfolio-projectpurple-01.png'
slug: "/projectpurple/"
img: "../src/images/portfolio-projectpurple-01.png"
description: > description: >
It had been revealed the original iPhone was developed in a locked down building under the name Project Purple and because of the secrecy involved, the team decorated the building with Fight Club references. Perfect story to create a wallpaper out of it. It had been revealed the original iPhone was developed in a locked down building under the name Project Purple and because of the secrecy involved, the team decorated the building with Fight Club references. Perfect story to create a wallpaper out of it.
Released as a goodie on [kremalicious.com](https://kremalicious.com/projectpurple/). Released as a goodie on [kremalicious.com](https://kremalicious.com/projectpurple/).
techstack: techstack:
- Photoshop - Photoshop
links: links:
- title: Download - title: Download
url: https://kremalicious.com/projectpurple/ url: https://kremalicious.com/projectpurple/
- - title: Allinnia Creative Group
slug: '/allinnia/'
title: Allinnia Creative Group img: '../src/images/portfolio-allinnia-01.png'
slug: "/allinnia/"
img: "../src/images/portfolio-allinnia-01.png"
description: > description: >
In 2009 I created the branding, website, and various key visuals for professional music production studio Allinnia Creative Group, reflecting their own musical compositions. In 2009 I created the branding, website, and various key visuals for professional music production studio Allinnia Creative Group, reflecting their own musical compositions.
The website was built from scratch as a simple PHP application with a store and music listening functionality. The website was built from scratch as a simple PHP application with a store and music listening functionality.
techstack: techstack:
- Photoshop - Photoshop
- HTML - HTML
- CSS - CSS
- JavaScript - JavaScript
- PHP - PHP
- - title: Aperture Loupe
slug: '/apertureloupe/'
title: Aperture Loupe img: '../src/images/portfolio-apertureloupe-01.png'
slug: "/apertureloupe/"
img: "../src/images/portfolio-apertureloupe-01.png"
description: > description: >
When Apple released their professional photography app _Aperture_ in 2008, the loupe tool in there was something really novel and just fun to play with. Inspired by that, I created this macOS desktop icon. When Apple released their professional photography app _Aperture_ in 2008, the loupe tool in there was something really novel and just fun to play with. Inspired by that, I created this macOS desktop icon.
techstack: techstack:
- Photoshop - Photoshop
- - title: Adiumeetie
slug: '/adiumeetie/'
title: Adiumeetie img: '../src/images/portfolio-adiumeetie-01.png'
slug: "/adiumeetie/"
img: "../src/images/portfolio-adiumeetie-01.png"
description: > description: >
A macOS replacement desktop icon created in 2009 for the popular Mac IM client Adium following the style of atebits excellent Tweetie for Mac icon. Released as a goodie on [kremalicious.com](https://kremalicious.com/adiumeetie/). A macOS replacement desktop icon created in 2009 for the popular Mac IM client Adium following the style of atebits excellent Tweetie for Mac icon. Released as a goodie on [kremalicious.com](https://kremalicious.com/adiumeetie/).
techstack: techstack:
- Photoshop - Photoshop
links: links:
- title: Download - title: Download
url: https://kremalicious.com/adiumeetie/ url: https://kremalicious.com/adiumeetie/
- - title: "Niépce's Camera Obscura"
slug: '/niepces-camera-obscura/'
title: "Niépce's Camera Obscura" img: '../src/images/portfolio-niepces-camera-obscura-01.jpg'
slug: "/niepces-camera-obscura/"
img: "../src/images/portfolio-niepces-camera-obscura-01.jpg"
description: > description: >
In 2008 I used the camera obscura as it was used by Nicéphore Niépce in 1826 to create an Aperture and iPhoto replacement icon. In 2008 I used the camera obscura as it was used by Nicéphore Niépce in 1826 to create an Aperture and iPhoto replacement icon.
Nicéphore Niépce made it first possible to preserve an image taken with a camera obscura in 1826 or 1827 by using a special mixture of bitumen on a glass or metal plate, naming it Heliography. This first preserved image 'View from the Window at Le Gras' is the one you can see in the iPhoto icon. Nicéphore Niépce made it first possible to preserve an image taken with a camera obscura in 1826 or 1827 by using a special mixture of bitumen on a glass or metal plate, naming it Heliography. This first preserved image 'View from the Window at Le Gras' is the one you can see in the iPhoto icon.
links: links:
- title: Info - title: Info
url: https://kremalicious.com/niepces-camera-obscura-and-the-history-of-the-first-photograph/ url: https://kremalicious.com/niepces-camera-obscura-and-the-history-of-the-first-photograph/
techstack: techstack:
- Photoshop - Photoshop

View File

@ -1,7 +1,7 @@
import './src/styles/global.scss'
import React from 'react' import React from 'react'
import AppProvider from './src/store/provider' import AppProvider from './src/store/provider'
import wrapPageElementWithTransition from './src/helpers/wrapPageElement' import wrapPageElementWithTransition from './src/helpers/wrapPageElement'
import './src/styles/global.scss'
// IntersectionObserver polyfill for gatsby-image (Safari, IE) // IntersectionObserver polyfill for gatsby-image (Safari, IE)
if (typeof window !== 'undefined' && !window.IntersectionObserver) { if (typeof window !== 'undefined' && !window.IntersectionObserver) {

View File

@ -21,19 +21,15 @@ exports.createPages = async ({ actions, graphql }) => {
} }
} }
`).then(result => { `).then(result => {
if (result.errors) { if (result.errors) reject(result.errors)
reject(result.errors)
}
result.data.allProjectsYaml.edges.forEach(({ node }) => { result.data.allProjectsYaml.edges.forEach(({ node }) => {
const slug = node.slug const { slug } = node
createPage({ createPage({
path: slug, path: slug,
component: template, component: template,
context: { context: { slug }
slug
}
}) })
}) })

View File

@ -18,19 +18,19 @@
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'", "format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'",
"test": "npm run lint && ./node_modules/.bin/ava **/*.test.js --verbose", "test": "npm run lint && ./node_modules/.bin/ava **/*.test.js --verbose",
"deploy": "./scripts/deploy.sh", "deploy": "./scripts/deploy.sh",
"new": "node ./scripts/new.js" "new": "babel-node ./scripts/new.js"
}, },
"dependencies": { "dependencies": {
"file-saver": "^1.3.8", "file-saver": "^1.3.8",
"gatsby": "^2.0.6", "gatsby": "^2.0.7",
"gatsby-image": "^2.0.7", "gatsby-image": "^2.0.8",
"gatsby-plugin-favicon": "^3.1.4", "gatsby-plugin-favicon": "^3.1.4",
"gatsby-plugin-matomo": "^0.5.0", "gatsby-plugin-matomo": "^0.5.0",
"gatsby-plugin-offline": "^2.0.0", "gatsby-plugin-offline": "^2.0.5",
"gatsby-plugin-react-helmet": "^3.0.0", "gatsby-plugin-react-helmet": "^3.0.0",
"gatsby-plugin-sass": "^2.0.0", "gatsby-plugin-sass": "^2.0.1",
"gatsby-plugin-sharp": "^2.0.0", "gatsby-plugin-sharp": "^2.0.5",
"gatsby-plugin-sitemap": "^2.0.0", "gatsby-plugin-sitemap": "^2.0.1",
"gatsby-plugin-svgr": "next", "gatsby-plugin-svgr": "next",
"gatsby-source-filesystem": "^2.0.1", "gatsby-source-filesystem": "^2.0.1",
"gatsby-transformer-json": "^2.1.1", "gatsby-transformer-json": "^2.1.1",
@ -49,11 +49,14 @@
"vcf": "^2.0.1" "vcf": "^2.0.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.1.0",
"@babel/node": "^7.0.0",
"@babel/preset-env": "^7.1.0",
"ava": "^0.25.0", "ava": "^0.25.0",
"babel-eslint": "^9.0.0", "babel-eslint": "^9.0.0",
"chrome-launcher": "^0.10.4", "chrome-launcher": "^0.10.4",
"eslint": "^5.6.0", "eslint": "^5.6.0",
"eslint-config-prettier": "^3.0.1", "eslint-config-prettier": "^3.1.0",
"eslint-loader": "^2.1.0", "eslint-loader": "^2.1.0",
"eslint-plugin-graphql": "^2.1.1", "eslint-plugin-graphql": "^2.1.1",
"eslint-plugin-prettier": "^2.6.2", "eslint-plugin-prettier": "^2.6.2",

3
scripts/.babelrc Normal file
View File

@ -0,0 +1,3 @@
{
"presets": ["@babel/env"]
}

View File

@ -1,8 +0,0 @@
#!/usr/bin/env bash
set -e
# echo "Running npm install..."
# npm install
# rm -rf ./public
npm start

View File

@ -1,7 +1,7 @@
const chromeLauncher = require('chrome-launcher') import * as chromeLauncher from 'chrome-launcher'
const { test } = require('ava') import { test } from 'ava'
const lighthouse = require('lighthouse') import lighthouse from 'lighthouse'
const { siteUrl } = require('../gatsby-config').siteMetadata import { siteMetadata } from '../gatsby-config'
const launchChromeAndRunLighthouse = ( const launchChromeAndRunLighthouse = (
url, url,
@ -17,8 +17,8 @@ const launchChromeAndRunLighthouse = (
let scores let scores
test.before(async () => { test.before(async () => {
console.log(`Auditing ${siteUrl}.\n`) // eslint-disable-line no-console console.log(`Auditing ${siteMetadata.siteUrl}.\n`) // eslint-disable-line no-console
scores = await launchChromeAndRunLighthouse(siteUrl).then( scores = await launchChromeAndRunLighthouse(siteMetadata.siteUrl).then(
({ categories }) => categories ({ categories }) => categories
) )
}) })
@ -26,7 +26,7 @@ test.before(async () => {
const logScore = score => `Is ${score * 100}.` const logScore = score => `Is ${score * 100}.`
const testOutput = (t, metric) => { const testOutput = (t, metric) => {
const score = scores[metric].score const { score } = scores[metric]
t.log(logScore(score)) t.log(logScore(score))
return score >= 0.9 ? t.pass() : t.fail() return score >= 0.9 ? t.pass() : t.fail()
} }

View File

@ -1,8 +1,8 @@
const fs = require('fs') import fs from 'fs'
const path = require('path') import path from 'path'
const prepend = require('prepend') import prepend from 'prepend'
const slugify = require('slugify') import slugify from 'slugify'
const ora = require('ora') import ora from 'ora'
const templatePath = path.join(__dirname, 'new.yml') const templatePath = path.join(__dirname, 'new.yml')
const template = fs.readFileSync(templatePath).toString() const template = fs.readFileSync(templatePath).toString()
@ -11,7 +11,6 @@ const spinner = ora('Adding new project').start()
if (!process.argv[2]) { if (!process.argv[2]) {
spinner.fail('Use the format `npm run new -- Title of project`') spinner.fail('Use the format `npm run new -- Title of project`')
return
} }
const title = process.argv[2] const title = process.argv[2]
@ -26,8 +25,6 @@ const newContents = template
.join(titleSlug) .join(titleSlug)
prepend(projects, newContents, error => { prepend(projects, newContents, error => {
if (error) { if (error) spinner.fail(error)
spinner.fail(error)
}
spinner.succeed(`Added '${title}' to top of projects.yml file.`) spinner.succeed(`Added '${title}' to top of projects.yml file.`)
}) })

View File

@ -1,12 +1,10 @@
- - title: TITLE
slug: '/SLUG/'
title: TITLE img: '../src/images/portfolio-SLUG-01.png'
slug: "/SLUG/"
img: "../src/images/portfolio-SLUG-01.png"
description: > description: >
Markdown can be used here. Markdown can be used here.
links: links:
- title: Link - title: Link
url: https://url url: https://url
techstack: techstack:
- Tech used - Tech used

View File

@ -1,5 +1,3 @@
/* eslint-disable */
/*!! /*!!
* Piwik - free/libre analytics platform * Piwik - free/libre analytics platform
* *
@ -22,7 +20,7 @@ ad.length<af;ad+=" "){}}}else{if(ai==O){ad=af.length<=10?af:af.slice(0,10)}}}ret
return ag}H();default:ae=G;if(ad==45){ai=true;ad=ah.charCodeAt(++G)}if(ad>=48&&ad<=57){if(ad==48&&((ad=ah.charCodeAt(G+1)),ad>=48&&ad<=57)){H()}ai=false;for(;G<af&&((ad=ah.charCodeAt(G)),ad>=48&&ad<=57);G++){}if(ah.charCodeAt(G)==46){ac=++G;for(;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}ad=ah.charCodeAt(G);if(ad==101||ad==69){ad=ah.charCodeAt(++G);if(ad==43||ad==45){G++}for(ac=G;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}return +ah.slice(ae,G)}if(ai){H()}if(ah.slice(G,G+4)=="true"){G+=4;return true}else{if(ah.slice(G,G+5)=="false"){G+=5;return false}else{if(ah.slice(G,G+4)=="null"){G+=4;return null}}}H()}}return"$"};var W=function(ad){var ac,ae;if(ad=="$"){H()}if(typeof ad=="string"){if((F?ad.charAt(0):ad[0])=="@"){return ad.slice(1)}if(ad=="["){ac=[];for(;;ae||(ae=true)){ad=y();if(ad=="]"){break}if(ae){if(ad==","){ad=y();if(ad=="]"){H()}}else{H()}}if(ad==","){H()}ac.push(W(ad))}return ac}else{if(ad=="{"){ac={};for(;;ae||(ae=true)){ad=y(); return ag}H();default:ae=G;if(ad==45){ai=true;ad=ah.charCodeAt(++G)}if(ad>=48&&ad<=57){if(ad==48&&((ad=ah.charCodeAt(G+1)),ad>=48&&ad<=57)){H()}ai=false;for(;G<af&&((ad=ah.charCodeAt(G)),ad>=48&&ad<=57);G++){}if(ah.charCodeAt(G)==46){ac=++G;for(;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}ad=ah.charCodeAt(G);if(ad==101||ad==69){ad=ah.charCodeAt(++G);if(ad==43||ad==45){G++}for(ac=G;ac<af&&((ad=ah.charCodeAt(ac)),ad>=48&&ad<=57);ac++){}if(ac==G){H()}G=ac}return +ah.slice(ae,G)}if(ai){H()}if(ah.slice(G,G+4)=="true"){G+=4;return true}else{if(ah.slice(G,G+5)=="false"){G+=5;return false}else{if(ah.slice(G,G+4)=="null"){G+=4;return null}}}H()}}return"$"};var W=function(ad){var ac,ae;if(ad=="$"){H()}if(typeof ad=="string"){if((F?ad.charAt(0):ad[0])=="@"){return ad.slice(1)}if(ad=="["){ac=[];for(;;ae||(ae=true)){ad=y();if(ad=="]"){break}if(ae){if(ad==","){ad=y();if(ad=="]"){H()}}else{H()}}if(ad==","){H()}ac.push(W(ad))}return ac}else{if(ad=="{"){ac={};for(;;ae||(ae=true)){ad=y();
if(ad=="}"){break}if(ae){if(ad==","){ad=y();if(ad=="}"){H()}}else{H()}}if(ad==","||typeof ad!="string"||(F?ad.charAt(0):ad[0])!="@"||y()!=":"){H()}ac[ad.slice(1)]=W(y())}return ac}}H()}return ad};var P=function(ae,ad,af){var ac=w(ae,ad,af);if(ac===L){delete ae[ad]}else{ae[ad]=ac}};var w=function(af,ae,ag){var ad=af[ae],ac;if(typeof ad=="object"&&ad){if(u.call(ad)==E){for(ac=ad.length;ac--;){P(ad,ac,ag)}}else{m(ad,function(ah){P(ad,ah,ag)})}}return ag.call(af,ae,ad)};V.parse=function(ae,af){var ac,ad;G=0;X=""+ae;ac=W(y());if(y()!="$"){H()}G=X=null;return af&&u.call(af)==U?w((ad={},ad[""]=ac,ad),"",af):ac}}}V.runInContext=j;return V}if(h&&!c){j(i,h)}else{var f=i.JSON,k=i.JSON3,d=false;var g=j(i,(i.JSON3={noConflict:function(){if(!d){d=true;i.JSON=f;i.JSON3=k;f=k=null}return g}}));i.JSON={parse:g.parse,stringify:g.stringify}}if(c){define(function(){return g})}}).call(this);JSON_PIWIK=a})()}if(typeof _paq!=="object"){_paq=[]}if(typeof window.Piwik!=="object"){window.Piwik=(function(){var r,b={},y={},G=document,h=navigator,W=screen,T=window,i=T.performance||T.mozPerformance||T.msPerformance||T.webkitPerformance,t=T.encodeURIComponent,S=T.decodeURIComponent,l=unescape,I=[],E,e,ad=[],x=0,m=false; if(ad=="}"){break}if(ae){if(ad==","){ad=y();if(ad=="}"){H()}}else{H()}}if(ad==","||typeof ad!="string"||(F?ad.charAt(0):ad[0])!="@"||y()!=":"){H()}ac[ad.slice(1)]=W(y())}return ac}}H()}return ad};var P=function(ae,ad,af){var ac=w(ae,ad,af);if(ac===L){delete ae[ad]}else{ae[ad]=ac}};var w=function(af,ae,ag){var ad=af[ae],ac;if(typeof ad=="object"&&ad){if(u.call(ad)==E){for(ac=ad.length;ac--;){P(ad,ac,ag)}}else{m(ad,function(ah){P(ad,ah,ag)})}}return ag.call(af,ae,ad)};V.parse=function(ae,af){var ac,ad;G=0;X=""+ae;ac=W(y());if(y()!="$"){H()}G=X=null;return af&&u.call(af)==U?w((ad={},ad[""]=ac,ad),"",af):ac}}}V.runInContext=j;return V}if(h&&!c){j(i,h)}else{var f=i.JSON,k=i.JSON3,d=false;var g=j(i,(i.JSON3={noConflict:function(){if(!d){d=true;i.JSON=f;i.JSON3=k;f=k=null}return g}}));i.JSON={parse:g.parse,stringify:g.stringify}}if(c){define(function(){return g})}}).call(this);JSON_PIWIK=a})()}if(typeof _paq!=="object"){_paq=[]}if(typeof window.Piwik!=="object"){window.Piwik=(function(){var r,b={},y={},G=document,h=navigator,W=screen,T=window,i=T.performance||T.mozPerformance||T.msPerformance||T.webkitPerformance,t=T.encodeURIComponent,S=T.decodeURIComponent,l=unescape,I=[],E,e,ad=[],x=0,m=false;
function p(ak){try{return S(ak)}catch(al){return unescape(ak)}}function J(al){var ak=typeof al;return ak!=="undefined"}function A(ak){return typeof ak==="function"}function V(ak){return typeof ak==="object"}function w(ak){return typeof ak==="string"||ak instanceof String}function B(al){if(!al){return true}var ak;var am=true;for(ak in al){if(Object.prototype.hasOwnProperty.call(al,ak)){am=false}}return am}function ag(ak){var al=typeof console;if(al!=="undefined"&&console&&console.error){console.error(ak)}}function ac(){var ap,ao,ar,al,ak;for(ap=0;ap<arguments.length;ap+=1){ak=null;if(arguments[ap]&&arguments[ap].slice){ak=arguments[ap].slice()}al=arguments[ap];ar=al.shift();var aq,am;var an=w(ar)&&ar.indexOf("::")>0;if(an){aq=ar.split("::");am=aq[0];ar=aq[1];if("object"===typeof e[am]&&"function"===typeof e[am][ar]){e[am][ar].apply(e[am],al)}else{if(ak){ad.push(ak)}}}else{for(ao=0;ao<I.length;ao++){if(w(ar)){am=I[ao];var at=ar.indexOf(".")>0;if(at){aq=ar.split(".");if(am&&"object"===typeof am[aq[0]]){am=am[aq[0]]; function p(ak){try{return S(ak)}catch(al){return unescape(ak)}}function J(al){var ak=typeof al;return ak!=="undefined"}function A(ak){return typeof ak==="function"}function V(ak){return typeof ak==="object"}function w(ak){return typeof ak==="string"||ak instanceof String}function B(al){if(!al){return true}var ak;var am=true;for(ak in al){if(Object.prototype.hasOwnProperty.call(al,ak)){am=false}}return am}function ag(ak){var al=typeof console;if(al!=="undefined"&&console&&console.error){console.error(ak)}}function ac(){var ap,ao,ar,al,ak;for(ap=0;ap<arguments.length;ap+=1){ak=null;if(arguments[ap]&&arguments[ap].slice){ak=arguments[ap].slice()}al=arguments[ap];ar=al.shift();var aq,am;var an=w(ar)&&ar.indexOf("::")>0;if(an){aq=ar.split("::");am=aq[0];ar=aq[1];if("object"===typeof e[am]&&"function"===typeof e[am][ar]){e[am][ar].apply(e[am],al)}else{if(ak){ad.push(ak)}}}else{for(ao=0;ao<I.length;ao++){if(w(ar)){am=I[ao];var at=ar.indexOf(".")>0;if(at){aq=ar.split(".");if(am&&"object"===typeof am[aq[0]]){am=am[aq[0]];
ar=aq[1]}else{if(ak){ad.push(ak);break}}}if(am[ar]){am[ar].apply(am,al)}else{var au="The method '"+ar+'\' was not found in "_paq" variable. Please have a look at the Piwik tracker documentation: https://developer.piwik.org/api-reference/tracking-javascript';ag(au);if(!at){throw new TypeError(au)}}if(ar==="addTracker"){break}if(ar==="setTrackerUrl"||ar==="setSiteId"){break}}else{ar.apply(I[ao],al)}}}}}function aj(an,am,al,ak){if(an.addEventListener){an.addEventListener(am,al,ak);return true}if(an.attachEvent){return an.attachEvent("on"+am,al)}an["on"+am]=al}function n(ak){if(G.readyState==="complete"){ak()}else{if(T.addEventListener){T.addEventListener("load",ak)}else{if(T.attachEvent){T.attachEvent("onload",ak)}}}}function q(an){var ak=false;if(G.attachEvent){ak=G.readyState==="complete"}else{ak=G.readyState!=="loading"}if(ak){an();return}var am;if(G.addEventListener){aj(G,"DOMContentLoaded",function al(){G.removeEventListener("DOMContentLoaded",al,false);if(!ak){ak=true;an()}})}else{if(G.attachEvent){G.attachEvent("onreadystatechange",function al(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",al); ar=aq[1]}else{if(ak){ad.push(ak);break}}}if(am[ar]){am[ar].apply(am,al)}else{var au="The method '"+ar+'\' was not found in "_paq" variable. Please have a look at the Piwik tracker documentation: https://developer.piwik.org/api-reference/tracking-javascript';ag(au);if(!at){throw new TypeError(au)}}if(ar==="addTracker"){break}if(ar==="setTrackerUrl"||ar==="setSiteId"){break}}else{ar.apply(I[ao],al)}}}}}function aj(an,am,al,ak){if(an.addEventListener){an.addEventListener(am,al,ak);return true}if(an.attachEvent){return an.attachEvent("on"+am,al)}an["on"+am]=al}function n(ak){if(G.readyState==="complete"){ak()}else{if(T.addEventListener){T.addEventListener("load",ak,false)}else{if(T.attachEvent){T.attachEvent("onload",ak)}}}}function q(an){var ak=false;if(G.attachEvent){ak=G.readyState==="complete"}else{ak=G.readyState!=="loading"}if(ak){an();return}var am;if(G.addEventListener){aj(G,"DOMContentLoaded",function al(){G.removeEventListener("DOMContentLoaded",al,false);if(!ak){ak=true;an()}})}else{if(G.attachEvent){G.attachEvent("onreadystatechange",function al(){if(G.readyState==="complete"){G.detachEvent("onreadystatechange",al);
if(!ak){ak=true;an()}}});if(G.documentElement.doScroll&&T===T.top){(function al(){if(!ak){try{G.documentElement.doScroll("left")}catch(ao){setTimeout(al,0);return}ak=true;an()}}())}}}aj(T,"load",function(){if(!ak){ak=true;an()}},false)}function Z(al,aq,ar){if(!al){return""}var ak="",an,am,ao,ap;for(an in b){if(Object.prototype.hasOwnProperty.call(b,an)){ap=b[an]&&"function"===typeof b[an][al];if(ap){am=b[an][al];ao=am(aq||{},ar);if(ao){ak+=ao}}}}return ak}function ae(){var ak;m=true;Z("unload");if(r){do{ak=new Date()}while(ak.getTimeAlias()<r)}}function o(am,al){var ak=G.createElement("script");ak.type="text/javascript";ak.src=am;if(ak.readyState){ak.onreadystatechange=function(){var an=this.readyState;if(an==="loaded"||an==="complete"){ak.onreadystatechange=null;al()}}}else{ak.onload=al}G.getElementsByTagName("head")[0].appendChild(ak)}function K(){var ak="";try{ak=T.top.document.referrer}catch(am){if(T.parent){try{ak=T.parent.document.referrer}catch(al){ak=""}}}if(ak===""){ak=G.referrer if(!ak){ak=true;an()}}});if(G.documentElement.doScroll&&T===T.top){(function al(){if(!ak){try{G.documentElement.doScroll("left")}catch(ao){setTimeout(al,0);return}ak=true;an()}}())}}}aj(T,"load",function(){if(!ak){ak=true;an()}},false)}function Z(al,aq,ar){if(!al){return""}var ak="",an,am,ao,ap;for(an in b){if(Object.prototype.hasOwnProperty.call(b,an)){ap=b[an]&&"function"===typeof b[an][al];if(ap){am=b[an][al];ao=am(aq||{},ar);if(ao){ak+=ao}}}}return ak}function ae(){var ak;m=true;Z("unload");if(r){do{ak=new Date()}while(ak.getTimeAlias()<r)}}function o(am,al){var ak=G.createElement("script");ak.type="text/javascript";ak.src=am;if(ak.readyState){ak.onreadystatechange=function(){var an=this.readyState;if(an==="loaded"||an==="complete"){ak.onreadystatechange=null;al()}}}else{ak.onload=al}G.getElementsByTagName("head")[0].appendChild(ak)}function K(){var ak="";try{ak=T.top.document.referrer}catch(am){if(T.parent){try{ak=T.parent.document.referrer}catch(al){ak=""}}}if(ak===""){ak=G.referrer
}return ak}function s(ak){var am=new RegExp("^([a-z]+):"),al=am.exec(ak);return al?al[1]:null}function d(ak){var am=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),al=am.exec(ak);return al?al[1]:ak}function af(al,ak){al=String(al);return al.lastIndexOf(ak,0)===0}function R(al,ak){al=String(al);return al.indexOf(ak,al.length-ak.length)!==-1}function z(al,ak){al=String(al);return al.indexOf(ak)!==-1}function g(al,ak){al=String(al);return al.substr(0,al.length-ak)}function F(an,am,ap){an=String(an);if(!ap){ap=""}var ak=an.indexOf("#");var aq=an.length;if(ak===-1){ak=aq}var ao=an.substr(0,ak);var al=an.substr(ak,aq-ak);if(ao.indexOf("?")===-1){ao+="?"}else{if(!R(ao,"?")){ao+="&"}}return ao+t(am)+"="+t(ap)+al}function k(al,am){al=String(al);if(al.indexOf("?"+am+"=")===-1&&al.indexOf("&"+am+"=")===-1){return al}var an=al.indexOf("?");if(an===-1){return al}var ak=al.substr(an+1);var ar=al.substr(0,an);if(ak){var at="";var av=ak.indexOf("#");if(av!==-1){at=ak.substr(av+1);ak=ak.substr(0,av) }return ak}function s(ak){var am=new RegExp("^([a-z]+):"),al=am.exec(ak);return al?al[1]:null}function d(ak){var am=new RegExp("^(?:(?:https?|ftp):)/*(?:[^@]+@)?([^:/#]+)"),al=am.exec(ak);return al?al[1]:ak}function af(al,ak){al=String(al);return al.lastIndexOf(ak,0)===0}function R(al,ak){al=String(al);return al.indexOf(ak,al.length-ak.length)!==-1}function z(al,ak){al=String(al);return al.indexOf(ak)!==-1}function g(al,ak){al=String(al);return al.substr(0,al.length-ak)}function F(an,am,ap){an=String(an);if(!ap){ap=""}var ak=an.indexOf("#");var aq=an.length;if(ak===-1){ak=aq}var ao=an.substr(0,ak);var al=an.substr(ak,aq-ak);if(ao.indexOf("?")===-1){ao+="?"}else{if(!R(ao,"?")){ao+="&"}}return ao+t(am)+"="+t(ap)+al}function k(al,am){al=String(al);if(al.indexOf("?"+am+"=")===-1&&al.indexOf("&"+am+"=")===-1){return al}var an=al.indexOf("?");if(an===-1){return al}var ak=al.substr(an+1);var ar=al.substr(0,an);if(ak){var at="";var av=ak.indexOf("#");if(av!==-1){at=ak.substr(av+1);ak=ak.substr(0,av)
}var ao;var aq=ak.split("&");var ap=aq.length-1;for(ap;ap>=0;ap--){ao=aq[ap].split("=")[0];if(ao===am){aq.splice(ap,1)}}var au=aq.join("&");if(au){ar=ar+"?"+au}if(at){ar+="#"+at}}return ar}function f(am,al){var ak="[\\?&#]"+al+"=([^&#]*)";var ao=new RegExp(ak);var an=ao.exec(am);return an?S(an[1]):""}function a(ak){if(ak&&String(ak)===ak){return ak.replace(/^\s+|\s+$/g,"")}return ak}function D(ak){return unescape(t(ak))}function ai(aA){var am=function(aG,aF){return(aG<<aF)|(aG>>>(32-aF))},aB=function(aI){var aG="",aH,aF;for(aH=7;aH>=0;aH--){aF=(aI>>>(aH*4))&15;aG+=aF.toString(16)}return aG},ap,aD,aC,al=[],au=1732584193,ar=4023233417,aq=2562383102,ao=271733878,an=3285377520,az,ay,ax,aw,av,aE,ak,at=[];aA=D(aA);ak=aA.length;for(aD=0;aD<ak-3;aD+=4){aC=aA.charCodeAt(aD)<<24|aA.charCodeAt(aD+1)<<16|aA.charCodeAt(aD+2)<<8|aA.charCodeAt(aD+3);at.push(aC)}switch(ak&3){case 0:aD=2147483648;break;case 1:aD=aA.charCodeAt(ak-1)<<24|8388608;break;case 2:aD=aA.charCodeAt(ak-2)<<24|aA.charCodeAt(ak-1)<<16|32768; }var ao;var aq=ak.split("&");var ap=aq.length-1;for(ap;ap>=0;ap--){ao=aq[ap].split("=")[0];if(ao===am){aq.splice(ap,1)}}var au=aq.join("&");if(au){ar=ar+"?"+au}if(at){ar+="#"+at}}return ar}function f(am,al){var ak="[\\?&#]"+al+"=([^&#]*)";var ao=new RegExp(ak);var an=ao.exec(am);return an?S(an[1]):""}function a(ak){if(ak&&String(ak)===ak){return ak.replace(/^\s+|\s+$/g,"")}return ak}function D(ak){return unescape(t(ak))}function ai(aA){var am=function(aG,aF){return(aG<<aF)|(aG>>>(32-aF))},aB=function(aI){var aG="",aH,aF;for(aH=7;aH>=0;aH--){aF=(aI>>>(aH*4))&15;aG+=aF.toString(16)}return aG},ap,aD,aC,al=[],au=1732584193,ar=4023233417,aq=2562383102,ao=271733878,an=3285377520,az,ay,ax,aw,av,aE,ak,at=[];aA=D(aA);ak=aA.length;for(aD=0;aD<ak-3;aD+=4){aC=aA.charCodeAt(aD)<<24|aA.charCodeAt(aD+1)<<16|aA.charCodeAt(aD+2)<<8|aA.charCodeAt(aD+3);at.push(aC)}switch(ak&3){case 0:aD=2147483648;break;case 1:aD=aA.charCodeAt(ak-1)<<24|8388608;break;case 2:aD=aA.charCodeAt(ak-2)<<24|aA.charCodeAt(ak-1)<<16|32768;
@ -40,40 +38,40 @@ if(!am){am="/"}}return am},findMediaUrlInNode:function(ao){if(!ao){return}var am
if(am&&ap.offsetTop){am=(ap.offsetTop+ao.height)>0}var al=an.clientWidth;if(T.innerWidth&&al>T.innerWidth){al=T.innerWidth}var ak=an.clientHeight;if(T.innerHeight&&ak>T.innerHeight){ak=T.innerHeight}return((ao.bottom>0||am)&&ao.right>0&&ao.left<al&&((ao.top<ak)||am))},isNodeVisible:function(al){var ak=j(al);var am=this.isOrWasNodeInViewport(al);return ak&&am},buildInteractionRequestParams:function(ak,al,am,an){var ao="";if(ak){ao+="c_i="+t(ak)}if(al){if(ao){ao+="&"}ao+="c_n="+t(al)}if(am){if(ao){ao+="&"}ao+="c_p="+t(am)}if(an){if(ao){ao+="&"}ao+="c_t="+t(an)}return ao},buildImpressionRequestParams:function(ak,al,am){var an="c_n="+t(ak)+"&c_p="+t(al);if(am){an+="&c_t="+t(am)}return an},buildContentBlock:function(am){if(!am){return}var ak=this.findContentName(am);var al=this.findContentPiece(am);var an=this.findContentTarget(am);ak=this.trim(ak);al=this.trim(al);an=this.trim(an);return{name:ak||"Unknown",piece:al||"Unknown",target:an||""}},collectContent:function(an){if(!an||!an.length){return[] if(am&&ap.offsetTop){am=(ap.offsetTop+ao.height)>0}var al=an.clientWidth;if(T.innerWidth&&al>T.innerWidth){al=T.innerWidth}var ak=an.clientHeight;if(T.innerHeight&&ak>T.innerHeight){ak=T.innerHeight}return((ao.bottom>0||am)&&ao.right>0&&ao.left<al&&((ao.top<ak)||am))},isNodeVisible:function(al){var ak=j(al);var am=this.isOrWasNodeInViewport(al);return ak&&am},buildInteractionRequestParams:function(ak,al,am,an){var ao="";if(ak){ao+="c_i="+t(ak)}if(al){if(ao){ao+="&"}ao+="c_n="+t(al)}if(am){if(ao){ao+="&"}ao+="c_p="+t(am)}if(an){if(ao){ao+="&"}ao+="c_t="+t(an)}return ao},buildImpressionRequestParams:function(ak,al,am){var an="c_n="+t(ak)+"&c_p="+t(al);if(am){an+="&c_t="+t(am)}return an},buildContentBlock:function(am){if(!am){return}var ak=this.findContentName(am);var al=this.findContentPiece(am);var an=this.findContentTarget(am);ak=this.trim(ak);al=this.trim(al);an=this.trim(an);return{name:ak||"Unknown",piece:al||"Unknown",target:an||""}},collectContent:function(an){if(!an||!an.length){return[]
}var am=[];var ak,al;for(ak=0;ak<an.length;ak++){al=this.buildContentBlock(an[ak]);if(J(al)){am.push(al)}}return am},setLocation:function(ak){this.location=ak},getLocation:function(){var ak=this.location||T.location;if(!ak.origin){ak.origin=ak.protocol+"//"+ak.hostname+(ak.port?":"+ak.port:"")}return ak},toAbsoluteUrl:function(al){if((!al||String(al)!==al)&&al!==""){return al}if(""===al){return this.getLocation().href}if(al.search(/^\/\//)!==-1){return this.getLocation().protocol+al}if(al.search(/:\/\//)!==-1){return al}if(0===al.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+al}if(0===al.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+al}if(0===al.search("^[a-zA-Z]{2,11}:")){return al}if(al.search(/^\//)!==-1){return this.getLocation().origin+al}var ak="(.*/)";var am=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ak))[0];return am+al},isUrlToCurrentDomain:function(al){var am=this.toAbsoluteUrl(al);if(!am){return false }var am=[];var ak,al;for(ak=0;ak<an.length;ak++){al=this.buildContentBlock(an[ak]);if(J(al)){am.push(al)}}return am},setLocation:function(ak){this.location=ak},getLocation:function(){var ak=this.location||T.location;if(!ak.origin){ak.origin=ak.protocol+"//"+ak.hostname+(ak.port?":"+ak.port:"")}return ak},toAbsoluteUrl:function(al){if((!al||String(al)!==al)&&al!==""){return al}if(""===al){return this.getLocation().href}if(al.search(/^\/\//)!==-1){return this.getLocation().protocol+al}if(al.search(/:\/\//)!==-1){return al}if(0===al.indexOf("#")){return this.getLocation().origin+this.getLocation().pathname+al}if(0===al.indexOf("?")){return this.getLocation().origin+this.getLocation().pathname+al}if(0===al.search("^[a-zA-Z]{2,11}:")){return al}if(al.search(/^\//)!==-1){return this.getLocation().origin+al}var ak="(.*/)";var am=this.getLocation().origin+this.getLocation().pathname.match(new RegExp(ak))[0];return am+al},isUrlToCurrentDomain:function(al){var am=this.toAbsoluteUrl(al);if(!am){return false
}var ak=this.getLocation().origin;if(ak===am){return true}if(0===String(am).indexOf(ak)){if(":"===String(am).substr(ak.length,1)){return false}return true}return false},setHrefAttribute:function(al,ak){if(!al||!ak){return}ab.setAnyAttribute(al,"href",ak)},shouldIgnoreInteraction:function(am){var al=ab.hasNodeAttribute(am,this.CONTENT_IGNOREINTERACTION_ATTR);var ak=ab.hasNodeCssClass(am,this.CONTENT_IGNOREINTERACTION_CLASS);return al||ak}};function O(al,ao){if(ao){return ao}al=v.toAbsoluteUrl(al);if(z(al,"?")){var an=al.indexOf("?");al=al.slice(0,an)}if(R(al,"piwik.php")){al=g(al,"piwik.php".length)}else{if(R(al,".php")){var ak=al.lastIndexOf("/");var am=1;al=al.slice(0,ak+am)}}if(R(al,"/js/")){al=g(al,"js/".length)}return al}function N(aq){var at="Piwik_Overlay";var al=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var am=al.exec(G.referrer);if(am){var ao=am[1];if(ao!==String(aq)){return false}var ap=am[2],ak=am[3],an=am[4]; }var ak=this.getLocation().origin;if(ak===am){return true}if(0===String(am).indexOf(ak)){if(":"===String(am).substr(ak.length,1)){return false}return true}return false},setHrefAttribute:function(al,ak){if(!al||!ak){return}ab.setAnyAttribute(al,"href",ak)},shouldIgnoreInteraction:function(am){var al=ab.hasNodeAttribute(am,this.CONTENT_IGNOREINTERACTION_ATTR);var ak=ab.hasNodeCssClass(am,this.CONTENT_IGNOREINTERACTION_CLASS);return al||ak}};function O(al,ao){if(ao){return ao}al=v.toAbsoluteUrl(al);if(z(al,"?")){var an=al.indexOf("?");al=al.slice(0,an)}if(R(al,"piwik.php")){al=g(al,"piwik.php".length)}else{if(R(al,".php")){var ak=al.lastIndexOf("/");var am=1;al=al.slice(0,ak+am)}}if(R(al,"/js/")){al=g(al,"js/".length)}return al}function N(aq){var at="Piwik_Overlay";var al=new RegExp("index\\.php\\?module=Overlay&action=startOverlaySession&idSite=([0-9]+)&period=([^&]+)&date=([^&]+)(&segment=.*)?$");var am=al.exec(G.referrer);if(am){var ao=am[1];if(ao!==String(aq)){return false}var ap=am[2],ak=am[3],an=am[4];
if(!an){an=""}else{if(an.indexOf("&segment=")===0){an=an.substr("&segment=".length)}}T.name=at+"###"+ap+"###"+ak+"###"+an}var ar=T.name.split("###");return ar.length===4&&ar[0]===at}function X(al,ar,an){var aq=T.name.split("###"),ap=aq[1],ak=aq[2],ao=aq[3],am=O(al,ar);o(am+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(am,an,ap,ak,ao)})}function u(){var am;try{am=T.frameElement}catch(al){return true}if(J(am)){return(am&&String(am.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ak){return true}}function Q(b5,b0){var bz=this,a6="mtm_consent",cB="mtm_consent_removed",bV=Y(G.domain,T.location.href,K()),cJ=L(bV[0]),bE=p(bV[1]),bf=p(bV[2]),cH=false,b9="GET",cW=b9,aC="application/x-www-form-urlencoded; charset=UTF-8",co=aC,ay=b5||"",by="",cN="",bX=b0||"",bq="",bF="",aX,bb="",cT=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ar=[cJ],br=[],bC=[],a1=[],bA=500,cx,aY,bI,bG,ak,ci=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bx=["pk_kwd","piwik_kwd","utm_term"],bc="_pk_",aq="pk_vid",aS=180,cL,bh,bJ=false,bd=false,cF,a7,bn,cy=33955200000,cg=1800000,cS=15768000000,aV=true,ce=0,bH=false,aJ=false,b2,bN={},cd={},be={},bl=200,cO={},cU={},b1=[],b6=false,cr=false,al=false,cV=false,cC=false,aH=false,a5=u(),cM=null,b3,aK,bs,bY=ai,bg,aE,cj=0,bm=["id","ses","cvar","ref"],bt=null,cz=[]; if(!an){an=""}else{if(an.indexOf("&segment=")===0){an=an.substr("&segment=".length)}}T.name=at+"###"+ap+"###"+ak+"###"+an}var ar=T.name.split("###");return ar.length===4&&ar[0]===at}function X(al,ar,an){var aq=T.name.split("###"),ap=aq[1],ak=aq[2],ao=aq[3],am=O(al,ar);o(am+"plugins/Overlay/client/client.js?v=1",function(){Piwik_Overlay_Client.initialize(am,an,ap,ak,ao)})}function u(){var am;try{am=T.frameElement}catch(al){return true}if(J(am)){return(am&&String(am.nodeName).toLowerCase()==="iframe")?true:false}try{return T.self!==T.top}catch(ak){return true}}function Q(b5,b0){var bz=this,a6="mtm_consent",cC="mtm_consent_removed",bV=Y(G.domain,T.location.href,K()),cK=L(bV[0]),bE=p(bV[1]),bf=p(bV[2]),cI=false,b9="GET",cX=b9,aC="application/x-www-form-urlencoded; charset=UTF-8",co=aC,ay=b5||"",by="",cO="",bX=b0||"",bq="",bF="",aX,bb="",cU=["7z","aac","apk","arc","arj","asf","asx","avi","azw3","bin","csv","deb","dmg","doc","docx","epub","exe","flv","gif","gz","gzip","hqx","ibooks","jar","jpg","jpeg","js","mobi","mp2","mp3","mp4","mpg","mpeg","mov","movie","msi","msp","odb","odf","odg","ods","odt","ogg","ogv","pdf","phps","png","ppt","pptx","qt","qtm","ra","ram","rar","rpm","sea","sit","tar","tbz","tbz2","bz","bz2","tgz","torrent","txt","wav","wma","wmv","wpd","xls","xlsx","xml","z","zip"],ar=[cK],br=[],bC=[],a1=[],bA=500,cy,aY,bI,bG,ak,ci=["pk_campaign","piwik_campaign","utm_campaign","utm_source","utm_medium"],bx=["pk_kwd","piwik_kwd","utm_term"],bc="_pk_",aq="pk_vid",aS=180,cM,bh,bJ=false,bd=false,cG,a7,bn,cz=33955200000,cg=1800000,cT=15768000000,aV=true,ce=0,bH=false,aJ=false,b2,bN={},cd={},be={},bl=200,cP={},cV={},b1=[],b6=false,cs=false,al=false,cW=false,cD=false,aH=false,a5=u(),cN=null,b3,aK,bs,bY=ai,bg,aE,cj=0,bm=["id","ses","cvar","ref"],cr=false,bt=null,cA=[];
try{bb=G.title}catch(cp){bb=""}function cZ(da,c8,c7,c9,c6,c5){if(bd){return}var c4;if(c7){c4=new Date();c4.setTime(c4.getTime()+c7)}G.cookie=da+"="+t(c8)+(c7?";expires="+c4.toGMTString():"")+";path="+(c9||"/")+(c6?";domain="+c6:"")+(c5?";secure":"")}function ax(c6){if(bd){return 0}var c4=new RegExp("(^|;)[ ]*"+c6+"=([^;]*)"),c5=c4.exec(G.cookie);return c5?S(c5[2]):0}bt=!ax(cB);function bT(c4){var c5;c4=k(c4,aq);if(bG){c5=new RegExp("#.*");return c4.replace(c5,"")}return c4}function bM(c6,c4){var c7=s(c4),c5;if(c7){return c4}if(c4.slice(0,1)==="/"){return s(c6)+"://"+d(c6)+c4}c6=bT(c6);c5=c6.indexOf("?");if(c5>=0){c6=c6.slice(0,c5)}c5=c6.lastIndexOf("/");if(c5!==c6.length-1){c6=c6.slice(0,c5+1)}return c6+c4}function cw(c6,c4){var c5;c6=String(c6).toLowerCase();c4=String(c4).toLowerCase();if(c6===c4){return true}if(c4.slice(0,1)==="."){if(c6===c4.slice(1)){return true}c5=c6.length-c4.length;if((c5>0)&&(c6.slice(c5)===c4)){return true}}return false}function cc(c4){var c5=document.createElement("a"); try{bb=G.title}catch(cp){bb=""}function c0(db,c9,c8,da,c7,c6){if(bd){return}var c5;if(c8){c5=new Date();c5.setTime(c5.getTime()+c8)}G.cookie=db+"="+t(c9)+(c8?";expires="+c5.toGMTString():"")+";path="+(da||"/")+(c7?";domain="+c7:"")+(c6?";secure":"")}function ax(c7){if(bd){return 0}var c5=new RegExp("(^|;)[ ]*"+c7+"=([^;]*)"),c6=c5.exec(G.cookie);return c6?S(c6[2]):0}bt=!ax(cC);function bT(c5){var c6;c5=k(c5,aq);if(bG){c6=new RegExp("#.*");return c5.replace(c6,"")}return c5}function bM(c7,c5){var c8=s(c5),c6;if(c8){return c5}if(c5.slice(0,1)==="/"){return s(c7)+"://"+d(c7)+c5}c7=bT(c7);c6=c7.indexOf("?");if(c6>=0){c7=c7.slice(0,c6)}c6=c7.lastIndexOf("/");if(c6!==c7.length-1){c7=c7.slice(0,c6+1)}return c7+c5}function cx(c7,c5){var c6;c7=String(c7).toLowerCase();c5=String(c5).toLowerCase();if(c7===c5){return true}if(c5.slice(0,1)==="."){if(c7===c5.slice(1)){return true}c6=c7.length-c5.length;if((c6>0)&&(c7.slice(c6)===c5)){return true}}return false}function cc(c5){var c6=document.createElement("a");
if(c4.indexOf("//")!==0&&c4.indexOf("http")!==0){if(c4.indexOf("*")===0){c4=c4.substr(1)}if(c4.indexOf(".")===0){c4=c4.substr(1)}c4="http://"+c4}c5.href=v.toAbsoluteUrl(c4);if(c5.pathname){return c5.pathname}return""}function aW(c5,c4){if(!af(c4,"/")){c4="/"+c4}if(!af(c5,"/")){c5="/"+c5}var c6=(c4==="/"||c4==="/*");if(c6){return true}if(c5===c4){return true}c4=String(c4).toLowerCase();c5=String(c5).toLowerCase();if(R(c4,"*")){c4=c4.slice(0,-1);c6=(!c4||c4==="/");if(c6){return true}if(c5===c4){return true}return c5.indexOf(c4)===0}if(!R(c5,"/")){c5+="/"}if(!R(c4,"/")){c4+="/"}return c5.indexOf(c4)===0}function an(c8,da){var c5,c4,c6,c7,c9;for(c5=0;c5<ar.length;c5++){c7=L(ar[c5]);c9=cc(ar[c5]);if(cw(c8,c7)&&aW(da,c9)){return true}}return false}function aO(c7){var c5,c4,c6;for(c5=0;c5<ar.length;c5++){c4=L(ar[c5].toLowerCase());if(c7===c4){return true}if(c4.slice(0,1)==="."){if(c7===c4.slice(1)){return true}c6=c7.length-c4.length;if((c6>0)&&(c7.slice(c6)===c4)){return true}}}return false}function ch(c4,c6){c4=c4.replace("send_image=0","send_image=1"); if(c5.indexOf("//")!==0&&c5.indexOf("http")!==0){if(c5.indexOf("*")===0){c5=c5.substr(1)}if(c5.indexOf(".")===0){c5=c5.substr(1)}c5="http://"+c5}c6.href=v.toAbsoluteUrl(c5);if(c6.pathname){return c6.pathname}return""}function aW(c6,c5){if(!af(c5,"/")){c5="/"+c5}if(!af(c6,"/")){c6="/"+c6}var c7=(c5==="/"||c5==="/*");if(c7){return true}if(c6===c5){return true}c5=String(c5).toLowerCase();c6=String(c6).toLowerCase();if(R(c5,"*")){c5=c5.slice(0,-1);c7=(!c5||c5==="/");if(c7){return true}if(c6===c5){return true}return c6.indexOf(c5)===0}if(!R(c6,"/")){c6+="/"}if(!R(c5,"/")){c5+="/"}return c6.indexOf(c5)===0}function an(c9,db){var c6,c5,c7,c8,da;for(c6=0;c6<ar.length;c6++){c8=L(ar[c6]);da=cc(ar[c6]);if(cx(c9,c8)&&aW(db,da)){return true}}return false}function aO(c8){var c6,c5,c7;for(c6=0;c6<ar.length;c6++){c5=L(ar[c6].toLowerCase());if(c8===c5){return true}if(c5.slice(0,1)==="."){if(c8===c5.slice(1)){return true}c7=c8.length-c5.length;if((c7>0)&&(c8.slice(c7)===c5)){return true}}}return false}function ch(c5,c7){c5=c5.replace("send_image=0","send_image=1");
var c5=new Image(1,1);c5.onload=function(){E=0;if(typeof c6==="function"){c6()}};c5.src=ay+(ay.indexOf("?")<0?"?":"&")+c4}function aZ(c5){var c9="object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob;if(!c9){return false}var c8={type:"application/x-www-form-urlencoded; charset=UTF-8"};var c7=false;try{var c4=new Blob([c5],c8);c7=h.sendBeacon(ay,c4)}catch(c6){return false}return c7}function cR(c5,c6,c4){if(!J(c4)||null===c4){c4=true}if(m&&aZ(c5)){return}setTimeout(function(){if(m&&aZ(c5)){return}var c9;try{var c8=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;c8.open("POST",ay,true);c8.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var da=m&&aZ(c5);if(!da&&c4){ch(c5,c6)}}else{if(this.readyState===4&&(typeof c6==="function")){c6()}}};c8.setRequestHeader("Content-Type",co);c8.send(c5)}catch(c7){c9=m&&aZ(c5);if(!c9&&c4){ch(c5,c6)}}},50)}function b7(c5){var c4=new Date(); var c6=new Image(1,1);c6.onload=function(){E=0;if(typeof c7==="function"){c7()}};c6.src=ay+(ay.indexOf("?")<0?"?":"&")+c5}function aZ(c6){var da="object"===typeof h&&"function"===typeof h.sendBeacon&&"function"===typeof Blob;if(!da){return false}var c9={type:"application/x-www-form-urlencoded; charset=UTF-8"};var c8=false;try{var c5=new Blob([c6],c9);c8=h.sendBeacon(ay,c5)}catch(c7){return false}return c8}function cS(c6,c7,c5){if(!J(c5)||null===c5){c5=true}if(m&&aZ(c6)){return}setTimeout(function(){if(m&&aZ(c6)){return}var da;try{var c9=T.XMLHttpRequest?new T.XMLHttpRequest():T.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):null;c9.open("POST",ay,true);c9.onreadystatechange=function(){if(this.readyState===4&&!(this.status>=200&&this.status<300)){var db=m&&aZ(c6);if(!db&&c5){ch(c6,c7)}}else{if(this.readyState===4&&(typeof c7==="function")){c7()}}};c9.setRequestHeader("Content-Type",co);c9.send(c6)}catch(c8){da=m&&aZ(c6);if(!da&&c5){ch(c6,c7)}}},50)}function b7(c6){var c5=new Date();
var c6=c4.getTime()+c5;if(!r||c6>r){r=c6}}function cf(c4){if(b3||!aY||!bt){return}b3=setTimeout(function c5(){b3=null;if(!a5){a5=(!G.hasFocus||G.hasFocus())}if(!a5){cf(aY);return}if(bI()){return}var c6=new Date(),c7=aY-(c6.getTime()-cM);c7=Math.min(aY,c7);cf(c7)},c4||aY)}function bB(){if(!b3){return}clearTimeout(b3);b3=null}function a3(){a5=true;if(bI()){return}cf()}function at(){bB()}function c1(){if(aH||!aY){return}aH=true;aj(T,"focus",a3);aj(T,"blur",at);cf()}function cs(c8){var c5=new Date();var c4=c5.getTime();cM=c4;if(cr&&c4<cr){var c6=cr-c4;setTimeout(c8,c6);b7(c6+50);cr+=50;return}if(cr===false){var c7=800;cr=c4+c7}c8()}function bw(c5,c4,c6){if(!bt){cz.push(c5);return}if(!cF&&c5){cs(function(){if(cW==="POST"||String(c5).length>2000){cR(c5,c6)}else{ch(c5,c6)}b7(c4)})}if(!aH){c1()}else{cf()}}function cb(c4){if(cF){return false}return(c4&&c4.length)}function c0(c6,c4){if(!cb(c6)){return}if(!bt){cz.push(c6);return}var c5='{"requests":["?'+c6.join('","?')+'"]}';cs(function(){cR(c5,null,false); var c7=c5.getTime()+c6;if(!r||c7>r){r=c7}}function cf(c5){if(b3||!aY||!bt){return}b3=setTimeout(function c6(){b3=null;if(!a5){a5=(!G.hasFocus||G.hasFocus())}if(!a5){cf(aY);return}if(bI()){return}var c7=new Date(),c8=aY-(c7.getTime()-cN);c8=Math.min(aY,c8);cf(c8)},c5||aY)}function bB(){if(!b3){return}clearTimeout(b3);b3=null}function a3(){a5=true;if(bI()){return}cf()}function at(){bB()}function c2(){if(aH||!aY){return}aH=true;aj(T,"focus",a3);aj(T,"blur",at);cf()}function ct(c9){var c6=new Date();var c5=c6.getTime();cN=c5;if(cs&&c5<cs){var c7=cs-c5;setTimeout(c9,c7);b7(c7+50);cs+=50;return}if(cs===false){var c8=800;cs=c5+c8}c9()}function bw(c6,c5,c7){if(!bt){cA.push(c6);return}if(!cG&&c6){if(cr&&bt){c6+="&consent=1"}ct(function(){if(cX==="POST"||String(c6).length>2000){cS(c6,c7)}else{ch(c6,c7)}b7(c5)})}if(!aH){c2()}else{cf()}}function cb(c5){if(cG){return false}return(c5&&c5.length)}function c1(c7,c5){if(!cb(c7)){return}if(!bt){cA.push(c7);return}var c6='{"requests":["?'+c7.join('","?')+'"]}';
b7(c4)})}function aM(c4){return bc+c4+"."+bX+"."+bg}function bW(){if(bd){return"0"}if(!J(h.cookieEnabled)){var c4=aM("testcookie");cZ(c4,"1");return ax(c4)==="1"?"1":"0"}return h.cookieEnabled?"1":"0"}function ba(){bg=bY((cL||cJ)+(bh||"/")).slice(0,4)}function bO(){var c5=aM("cvar"),c4=ax(c5);if(c4.length){c4=JSON_PIWIK.parse(c4);if(V(c4)){return c4}}return{}}function ct(){if(aJ===false){aJ=bO()}}function cG(){return bY((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(cU)+(new Date()).getTime()+Math.random()).slice(0,16)}function au(){return bY((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(cU)).slice(0,6)}function a8(){return Math.floor((new Date()).getTime()/1000)}function aD(){var c5=a8();var c6=au();var c4=String(c5)+c6;return c4}function cQ(c6){c6=String(c6);var c9=au();var c7=c9.length;var c8=c6.substr(-1*c7,c7);var c5=parseInt(c6.substr(0,c6.length-c7),10);if(c5&&c8&&c8===c9){var c4=a8();if(aS<=0){return true}if(c4>=c5&&c4<=(c5+aS)){return true}}return false}function c2(c4){if(!cC){return"" ct(function(){cS(c6,null,false);b7(c5)})}function aM(c5){return bc+c5+"."+bX+"."+bg}function bW(){if(bd){return"0"}if(!J(h.cookieEnabled)){var c5=aM("testcookie");c0(c5,"1");return ax(c5)==="1"?"1":"0"}return h.cookieEnabled?"1":"0"}function ba(){bg=bY((cM||cK)+(bh||"/")).slice(0,4)}function bO(){var c6=aM("cvar"),c5=ax(c6);if(c5.length){c5=JSON_PIWIK.parse(c5);if(V(c5)){return c5}}return{}}function cu(){if(aJ===false){aJ=bO()}}function cH(){return bY((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(cV)+(new Date()).getTime()+Math.random()).slice(0,16)}function au(){return bY((h.userAgent||"")+(h.platform||"")+JSON_PIWIK.stringify(cV)).slice(0,6)}function a8(){return Math.floor((new Date()).getTime()/1000)}function aD(){var c6=a8();var c7=au();var c5=String(c6)+c7;return c5}function cR(c7){c7=String(c7);var da=au();var c8=da.length;var c9=c7.substr(-1*c8,c8);var c6=parseInt(c7.substr(0,c7.length-c8),10);if(c6&&c9&&c9===da){var c5=a8();if(aS<=0){return true}if(c5>=c6&&c5<=(c6+aS)){return true
}var c8=f(c4,aq);if(!c8){return""}c8=String(c8);var c6=new RegExp("^[a-zA-Z0-9]+$");if(c8.length===32&&c6.test(c8)){var c5=c8.substr(16,32);if(cQ(c5)){var c7=c8.substr(0,16);return c7}}return""}function cD(){if(!bF){bF=c2(bE)}var c6=new Date(),c4=Math.round(c6.getTime()/1000),c5=aM("id"),c9=ax(c5),c8,c7;if(c9){c8=c9.split(".");c8.unshift("0");if(bF.length){c8[1]=bF}return c8}if(bF.length){c7=bF}else{if("0"===bW()){c7=""}else{c7=cG()}}c8=["1",c7,c4,0,c4,"",""];return c8}function aQ(){var db=cD(),c7=db[0],c8=db[1],c5=db[2],c4=db[3],c9=db[4],c6=db[5];if(!J(db[6])){db[6]=""}var da=db[6];return{newVisitor:c7,uuid:c8,createTs:c5,visitCount:c4,currentVisitTs:c9,lastVisitTs:c6,lastEcommerceOrderTs:da}}function aB(){var c7=new Date(),c5=c7.getTime(),c8=aQ().createTs;var c4=parseInt(c8,10);var c6=(c4*1000)+cy-c5;return c6}function aF(c4){if(!bX){return}var c6=new Date(),c5=Math.round(c6.getTime()/1000);if(!J(c4)){c4=aQ()}var c7=c4.uuid+"."+c4.createTs+"."+c4.visitCount+"."+c5+"."+c4.lastVisitTs+"."+c4.lastEcommerceOrderTs; }}return false}function c3(c5){if(!cD){return""}var c9=f(c5,aq);if(!c9){return""}c9=String(c9);var c7=new RegExp("^[a-zA-Z0-9]+$");if(c9.length===32&&c7.test(c9)){var c6=c9.substr(16,32);if(cR(c6)){var c8=c9.substr(0,16);return c8}}return""}function cE(){if(!bF){bF=c3(bE)}var c7=new Date(),c5=Math.round(c7.getTime()/1000),c6=aM("id"),da=ax(c6),c9,c8;if(da){c9=da.split(".");c9.unshift("0");if(bF.length){c9[1]=bF}return c9}if(bF.length){c8=bF}else{if("0"===bW()){c8=""}else{c8=cH()}}c9=["1",c8,c5,0,c5,"",""];return c9}function aR(){var dc=cE(),c8=dc[0],c9=dc[1],c6=dc[2],c5=dc[3],da=dc[4],c7=dc[5];if(!J(dc[6])){dc[6]=""}var db=dc[6];return{newVisitor:c8,uuid:c9,createTs:c6,visitCount:c5,currentVisitTs:da,lastVisitTs:c7,lastEcommerceOrderTs:db}}function aB(){var c8=new Date(),c6=c8.getTime(),c9=aR().createTs;var c5=parseInt(c9,10);var c7=(c5*1000)+cz-c6;return c7}function aF(c5){if(!bX){return}var c7=new Date(),c6=Math.round(c7.getTime()/1000);if(!J(c5)){c5=aR()}var c8=c5.uuid+"."+c5.createTs+"."+c5.visitCount+"."+c6+"."+c5.lastVisitTs+"."+c5.lastEcommerceOrderTs;
cZ(aM("id"),c7,aB(),bh,cL,bJ)}function bD(){var c4=ax(aM("ref"));if(c4.length){try{c4=JSON_PIWIK.parse(c4);if(V(c4)){return c4}}catch(c5){}}return["","",0,""]}function bP(c6,c5,c4){cZ(c6,"",-86400,c5,c4)}function bo(c5){var c4="testvalue";cZ("test",c4,10000,null,c5);if(ax("test")===c4){bP("test",null,c5);return true}return false}function az(){var c5=bd;bd=false;var c4,c6;for(c4=0;c4<bm.length;c4++){c6=aM(bm[c4]);if(c6!==cB&&c6!==a6&&0!==ax(c6)){bP(c6,bh,cL)}}bd=c5}function bU(c4){bX=c4;aF()}function c3(c8){if(!c8||!V(c8)){return}var c7=[];var c6;for(c6 in c8){if(Object.prototype.hasOwnProperty.call(c8,c6)){c7.push(c6)}}var c9={};c7.sort();var c4=c7.length;var c5;for(c5=0;c5<c4;c5++){c9[c7[c5]]=c8[c7[c5]]}return c9}function b4(){cZ(aM("ses"),"*",cg,bh,cL,bJ)}function a9(){var c7="";var c5="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var c6=c5.length;var c4;for(c4=0;c4<6;c4++){c7+=c5.charAt(Math.floor(Math.random()*c6))}return c7}function ck(c6,ds,dt,c7){var dr,c5=new Date(),de=Math.round(c5.getTime()/1000),db,dq,c8=1024,dy,df,dn=aJ,c9=aM("ses"),dl=aM("ref"),di=aM("cvar"),dj=ax(c9),dp=bD(),dv=aX||bE,dc,c4; c0(aM("id"),c8,aB(),bh,cM,bJ)}function bD(){var c5=ax(aM("ref"));if(c5.length){try{c5=JSON_PIWIK.parse(c5);if(V(c5)){return c5}}catch(c6){}}return["","",0,""]}function bP(c7,c6,c5){c0(c7,"",-86400,c6,c5)}function bo(c6){var c5="testvalue";c0("test",c5,10000,null,c6);if(ax("test")===c5){bP("test",null,c6);return true}return false}function az(){var c6=bd;bd=false;var c5,c7;for(c5=0;c5<bm.length;c5++){c7=aM(bm[c5]);if(c7!==cC&&c7!==a6&&0!==ax(c7)){bP(c7,bh,cM)}}bd=c6}function bU(c5){bX=c5;aF()}function c4(c9){if(!c9||!V(c9)){return}var c8=[];var c7;for(c7 in c9){if(Object.prototype.hasOwnProperty.call(c9,c7)){c8.push(c7)}}var da={};c8.sort();var c5=c8.length;var c6;for(c6=0;c6<c5;c6++){da[c8[c6]]=c9[c8[c6]]}return da}function b4(){c0(aM("ses"),"*",cg,bh,cM,bJ)}function a9(){var c8="";var c6="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ";var c7=c6.length;var c5;for(c5=0;c5<6;c5++){c8+=c6.charAt(Math.floor(Math.random()*c7))}return c8}function ck(c7,dt,du,c8){var ds,c6=new Date(),df=Math.round(c6.getTime()/1000),dc,dr,c9=1024,dz,dg,dp=aJ,da=aM("ses"),dm=aM("ref"),dj=aM("cvar"),dk=ax(da),dq=bD(),dw=aX||bE,dd,c5;
if(bd){az()}if(cF){return""}var dk=aQ();if(!J(c7)){c7=""}var dh=G.characterSet||G.charset;if(!dh||dh.toLowerCase()==="utf-8"){dh=null}dc=dp[0];c4=dp[1];db=dp[2];dq=dp[3];if(!dj){var du=cg/1000;if(!dk.lastVisitTs||(de-dk.lastVisitTs)>du){dk.visitCount++;dk.lastVisitTs=dk.currentVisitTs}if(!bn||!dc.length){for(dr in ci){if(Object.prototype.hasOwnProperty.call(ci,dr)){dc=f(dv,ci[dr]);if(dc.length){break}}}for(dr in bx){if(Object.prototype.hasOwnProperty.call(bx,dr)){c4=f(dv,bx[dr]);if(c4.length){break}}}}dy=d(bf);df=dq.length?d(dq):"";if(dy.length&&!aO(dy)&&(!bn||!df.length||aO(df))){dq=bf}if(dq.length||dc.length){db=de;dp=[dc,c4,db,bT(dq.slice(0,c8))];cZ(dl,JSON_PIWIK.stringify(dp),cS,bh,cL)}}c6+="&idsite="+bX+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+c5.getHours()+"&m="+c5.getMinutes()+"&s="+c5.getSeconds()+"&url="+t(bT(dv))+(bf.length?"&urlref="+t(bT(bf)):"")+((bq&&bq.length)?"&uid="+t(bq):"")+"&_id="+dk.uuid+"&_idts="+dk.createTs+"&_idvc="+dk.visitCount+"&_idn="+dk.newVisitor+(dc.length?"&_rcn="+t(dc):"")+(c4.length?"&_rck="+t(c4):"")+"&_refts="+db+"&_viewts="+dk.lastVisitTs+(String(dk.lastEcommerceOrderTs).length?"&_ects="+dk.lastEcommerceOrderTs:"")+(String(dq).length?"&_ref="+t(bT(dq.slice(0,c8))):"")+(dh?"&cs="+t(dh):"")+"&send_image=0"; if(bd){az()}if(cG){return""}var dl=aR();if(!J(c8)){c8=""}var di=G.characterSet||G.charset;if(!di||di.toLowerCase()==="utf-8"){di=null}dd=dq[0];c5=dq[1];dc=dq[2];dr=dq[3];if(!dk){var dv=cg/1000;if(!dl.lastVisitTs||(df-dl.lastVisitTs)>dv){dl.visitCount++;dl.lastVisitTs=dl.currentVisitTs}if(!bn||!dd.length){for(ds in ci){if(Object.prototype.hasOwnProperty.call(ci,ds)){dd=f(dw,ci[ds]);if(dd.length){break}}}for(ds in bx){if(Object.prototype.hasOwnProperty.call(bx,ds)){c5=f(dw,bx[ds]);if(c5.length){break}}}}dz=d(bf);dg=dr.length?d(dr):"";if(dz.length&&!aO(dz)&&(!bn||!dg.length||aO(dg))){dr=bf}if(dr.length||dd.length){dc=df;dq=[dd,c5,dc,bT(dr.slice(0,c9))];c0(dm,JSON_PIWIK.stringify(dq),cT,bh,cM)}}c7+="&idsite="+bX+"&rec=1&r="+String(Math.random()).slice(2,8)+"&h="+c6.getHours()+"&m="+c6.getMinutes()+"&s="+c6.getSeconds()+"&url="+t(bT(dw))+(bf.length?"&urlref="+t(bT(bf)):"")+((bq&&bq.length)?"&uid="+t(bq):"")+"&_id="+dl.uuid+"&_idts="+dl.createTs+"&_idvc="+dl.visitCount+"&_idn="+dl.newVisitor+(dd.length?"&_rcn="+t(dd):"")+(c5.length?"&_rck="+t(c5):"")+"&_refts="+dc+"&_viewts="+dl.lastVisitTs+(String(dl.lastEcommerceOrderTs).length?"&_ects="+dl.lastEcommerceOrderTs:"")+(String(dr).length?"&_ref="+t(bT(dr.slice(0,c9))):"")+(di?"&cs="+t(di):"")+"&send_image=0";
for(dr in cU){if(Object.prototype.hasOwnProperty.call(cU,dr)){c6+="&"+dr+"="+cU[dr]}}var dx=[];if(ds){for(dr in ds){if(Object.prototype.hasOwnProperty.call(ds,dr)&&/^dimension\d+$/.test(dr)){var da=dr.replace("dimension","");dx.push(parseInt(da,10));dx.push(String(da));c6+="&"+dr+"="+ds[dr];delete ds[dr]}}}if(ds&&B(ds)){ds=null}for(dr in be){if(Object.prototype.hasOwnProperty.call(be,dr)){var dg=(-1===M(dx,dr));if(dg){c6+="&dimension"+dr+"="+be[dr]}}}if(ds){c6+="&data="+t(JSON_PIWIK.stringify(ds))}else{if(ak){c6+="&data="+t(JSON_PIWIK.stringify(ak))}}function dd(dz,dA){var dB=JSON_PIWIK.stringify(dz);if(dB.length>2){return"&"+dA+"="+t(dB)}return""}var dw=c3(bN);var dm=c3(cd);c6+=dd(dw,"cvar");c6+=dd(dm,"e_cvar");if(aJ){c6+=dd(aJ,"_cvar");for(dr in dn){if(Object.prototype.hasOwnProperty.call(dn,dr)){if(aJ[dr][0]===""||aJ[dr][1]===""){delete aJ[dr]}}}if(bH){cZ(di,JSON_PIWIK.stringify(aJ),cg,bh,cL)}}if(aV){if(ce){c6+="&gt_ms="+ce}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){c6+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart) for(ds in cV){if(Object.prototype.hasOwnProperty.call(cV,ds)){c7+="&"+ds+"="+cV[ds]}}var dy=[];if(dt){for(ds in dt){if(Object.prototype.hasOwnProperty.call(dt,ds)&&/^dimension\d+$/.test(ds)){var db=ds.replace("dimension","");dy.push(parseInt(db,10));dy.push(String(db));c7+="&"+ds+"="+dt[ds];delete dt[ds]}}}if(dt&&B(dt)){dt=null}for(ds in be){if(Object.prototype.hasOwnProperty.call(be,ds)){var dh=(-1===M(dy,ds));if(dh){c7+="&dimension"+ds+"="+be[ds]}}}if(dt){c7+="&data="+t(JSON_PIWIK.stringify(dt))}else{if(ak){c7+="&data="+t(JSON_PIWIK.stringify(ak))}}function de(dA,dB){var dC=JSON_PIWIK.stringify(dA);if(dC.length>2){return"&"+dB+"="+t(dC)}return""}var dx=c4(bN);var dn=c4(cd);c7+=de(dx,"cvar");c7+=de(dn,"e_cvar");if(aJ){c7+=de(aJ,"_cvar");for(ds in dp){if(Object.prototype.hasOwnProperty.call(dp,ds)){if(aJ[ds][0]===""||aJ[ds][1]===""){delete aJ[ds]}}}if(bH){c0(dj,JSON_PIWIK.stringify(aJ),cg,bh,cM)}}if(aV){if(ce){c7+="&gt_ms="+ce}else{if(i&&i.timing&&i.timing.requestStart&&i.timing.responseEnd){c7+="&gt_ms="+(i.timing.responseEnd-i.timing.requestStart)
}}}if(aE){c6+="&pv_id="+aE}dk.lastEcommerceOrderTs=J(c7)&&String(c7).length?c7:dk.lastEcommerceOrderTs;aF(dk);b4();c6+=Z(dt,{tracker:bz,request:c6});if(cN.length){c6+="&"+cN}if(A(b2)){c6=b2(c6)}return c6}bI=function a0(){var c4=new Date();if(cM+aY<=c4.getTime()){var c5=ck("ping=1",null,"ping");bw(c5,bA);return true}return false};function bi(c7,c6,dc,c8,c4,df){var da="idgoal=0",db,c5=new Date(),dd=[],de,c9=String(c7).length;if(c9){da+="&ec_id="+t(c7);db=Math.round(c5.getTime()/1000)}da+="&revenue="+c6;if(String(dc).length){da+="&ec_st="+dc}if(String(c8).length){da+="&ec_tx="+c8}if(String(c4).length){da+="&ec_sh="+c4}if(String(df).length){da+="&ec_dt="+df}if(cO){for(de in cO){if(Object.prototype.hasOwnProperty.call(cO,de)){if(!J(cO[de][1])){cO[de][1]=""}if(!J(cO[de][2])){cO[de][2]=""}if(!J(cO[de][3])||String(cO[de][3]).length===0){cO[de][3]=0}if(!J(cO[de][4])||String(cO[de][4]).length===0){cO[de][4]=1}dd.push(cO[de])}}da+="&ec_items="+t(JSON_PIWIK.stringify(dd))}da=ck(da,ak,"ecommerce",db); }}}if(aE){c7+="&pv_id="+aE}dl.lastEcommerceOrderTs=J(c8)&&String(c8).length?c8:dl.lastEcommerceOrderTs;aF(dl);b4();c7+=Z(du,{tracker:bz,request:c7});if(cO.length){c7+="&"+cO}if(A(b2)){c7=b2(c7)}return c7}bI=function a0(){var c5=new Date();if(cN+aY<=c5.getTime()){var c6=ck("ping=1",null,"ping");bw(c6,bA);return true}return false};function bi(c8,c7,dd,c9,c5,dg){var db="idgoal=0",dc,c6=new Date(),de=[],df,da=String(c8).length;if(da){db+="&ec_id="+t(c8);dc=Math.round(c6.getTime()/1000)}db+="&revenue="+c7;if(String(dd).length){db+="&ec_st="+dd}if(String(c9).length){db+="&ec_tx="+c9}if(String(c5).length){db+="&ec_sh="+c5}if(String(dg).length){db+="&ec_dt="+dg}if(cP){for(df in cP){if(Object.prototype.hasOwnProperty.call(cP,df)){if(!J(cP[df][1])){cP[df][1]=""}if(!J(cP[df][2])){cP[df][2]=""}if(!J(cP[df][3])||String(cP[df][3]).length===0){cP[df][3]=0}if(!J(cP[df][4])||String(cP[df][4]).length===0){cP[df][4]=1}de.push(cP[df])}}db+="&ec_items="+t(JSON_PIWIK.stringify(de))}db=ck(db,ak,"ecommerce",dc);
bw(da,bA);if(c9){cO={}}}function bQ(c4,c8,c7,c6,c5,c9){if(String(c4).length&&J(c8)){bi(c4,c8,c7,c6,c5,c9)}}function bk(c4){if(J(c4)){bi("",c4,"","","","")}}function bR(c5,c7,c6){aE=a9();var c4=ck("action_name="+t(ah(c5||bb)),c7,"log");bw(c4,bA,c6)}function aT(c6,c5){var c7,c4="(^| )(piwik[_-]"+c5;if(c6){for(c7=0;c7<c6.length;c7++){c4+="|"+c6[c7]}}c4+=")( |$)";return new RegExp(c4)}function aN(c4){return(ay&&c4&&0===String(c4).indexOf(ay))}function cl(c8,c4,c9,c5){if(aN(c4)){return 0}var c7=aT(bC,"download"),c6=aT(a1,"link"),da=new RegExp("\\.("+cT.join("|")+")([?&#]|$)","i");if(c6.test(c8)){return"link"}if(c5||c7.test(c8)||da.test(c4)){return"download"}if(c9){return 0}return"link"}function ap(c5){var c4;c4=c5.parentNode;while(c4!==null&&J(c4)){if(ab.isLinkElement(c5)){break}c5=c4;c4=c5.parentNode}return c5}function cY(c9){c9=ap(c9);if(!ab.hasNodeAttribute(c9,"href")){return}if(!J(c9.href)){return}var c8=ab.getAttributeValueFromNode(c9,"href");if(aN(c8)){return}var c5=c9.pathname||cc(c9.href); bw(db,bA);if(da){cP={}}}function bQ(c5,c9,c8,c7,c6,da){if(String(c5).length&&J(c9)){bi(c5,c9,c8,c7,c6,da)}}function bk(c5){if(J(c5)){bi("",c5,"","","","")}}function bR(c6,c8,c7){aE=a9();var c5=ck("action_name="+t(ah(c6||bb)),c8,"log");bw(c5,bA,c7)}function aT(c7,c6){var c8,c5="(^| )(piwik[_-]"+c6;if(c7){for(c8=0;c8<c7.length;c8++){c5+="|"+c7[c8]}}c5+=")( |$)";return new RegExp(c5)}function aN(c5){return(ay&&c5&&0===String(c5).indexOf(ay))}function cl(c9,c5,da,c6){if(aN(c5)){return 0}var c8=aT(bC,"download"),c7=aT(a1,"link"),db=new RegExp("\\.("+cU.join("|")+")([?&#]|$)","i");if(c7.test(c9)){return"link"}if(c6||c8.test(c9)||db.test(c5)){return"download"}if(da){return 0}return"link"}function ap(c6){var c5;c5=c6.parentNode;while(c5!==null&&J(c5)){if(ab.isLinkElement(c6)){break}c6=c5;c5=c6.parentNode}return c6}function cZ(da){da=ap(da);if(!ab.hasNodeAttribute(da,"href")){return}if(!J(da.href)){return}var c9=ab.getAttributeValueFromNode(da,"href");if(aN(c9)){return}var c6=da.pathname||cc(da.href);
var da=c9.hostname||d(c9.href);var db=da.toLowerCase();var c6=c9.href.replace(da,db);var c7=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!c7.test(c6)){var c4=cl(c9.className,c6,an(db,c5),ab.hasNodeAttribute(c9,"download"));if(c4){return{type:c4,href:c6}}}}function aI(c4,c5,c6,c7){var c8=v.buildInteractionRequestParams(c4,c5,c6,c7);if(!c8){return}return ck(c8,null,"contentInteraction")}function cA(c6,c7,db,c4,c5){if(!J(c6)){return}if(aN(c6)){return c6}var c9=v.toAbsoluteUrl(c6);var c8="redirecturl="+t(c9)+"&";c8+=aI(c7,db,c4,(c5||c6));var da="&";if(ay.indexOf("?")<0){da="?"}return ay+da+c8}function a4(c4,c5){if(!c4||!c5){return false}var c6=v.findTargetNode(c4);if(v.shouldIgnoreInteraction(c6)){return false}c6=v.findTargetNodeNoDefault(c4);if(c6&&!U(c6,c5)){return false}return true}function cm(c6,c5,c8){if(!c6){return}var c4=v.findParentContentNode(c6);if(!c4){return}if(!a4(c4,c6)){return}var c7=v.buildContentBlock(c4);if(!c7){return}if(!c7.target&&c8){c7.target=c8 var db=da.hostname||d(da.href);var dc=db.toLowerCase();var c7=da.href.replace(db,dc);var c8=new RegExp("^(javascript|vbscript|jscript|mocha|livescript|ecmascript|mailto|tel):","i");if(!c8.test(c7)){var c5=cl(da.className,c7,an(dc,c6),ab.hasNodeAttribute(da,"download"));if(c5){return{type:c5,href:c7}}}}function aI(c5,c6,c7,c8){var c9=v.buildInteractionRequestParams(c5,c6,c7,c8);if(!c9){return}return ck(c9,null,"contentInteraction")}function cB(c7,c8,dc,c5,c6){if(!J(c7)){return}if(aN(c7)){return c7}var da=v.toAbsoluteUrl(c7);var c9="redirecturl="+t(da)+"&";c9+=aI(c8,dc,c5,(c6||c7));var db="&";if(ay.indexOf("?")<0){db="?"}return ay+db+c9}function a4(c5,c6){if(!c5||!c6){return false}var c7=v.findTargetNode(c5);if(v.shouldIgnoreInteraction(c7)){return false}c7=v.findTargetNodeNoDefault(c5);if(c7&&!U(c7,c6)){return false}return true}function cm(c7,c6,c9){if(!c7){return}var c5=v.findParentContentNode(c7);if(!c5){return}if(!a4(c5,c7)){return}var c8=v.buildContentBlock(c5);if(!c8){return}if(!c8.target&&c9){c8.target=c9
}return v.buildInteractionRequestParams(c5,c7.name,c7.piece,c7.target)}function aP(c5){if(!b1||!b1.length){return false}var c4,c6;for(c4=0;c4<b1.length;c4++){c6=b1[c4];if(c6&&c6.name===c5.name&&c6.piece===c5.piece&&c6.target===c5.target){return true}}return false}function bv(c7){if(!c7){return false}var da=v.findTargetNode(c7);if(!da||v.shouldIgnoreInteraction(da)){return false}var db=cY(da);if(cV&&db&&db.type){return false}if(ab.isLinkElement(da)&&ab.hasNodeAttributeWithValue(da,"href")){var c4=String(ab.getAttributeValueFromNode(da,"href"));if(0===c4.indexOf("#")){return false}if(aN(c4)){return true}if(!v.isUrlToCurrentDomain(c4)){return false}var c8=v.buildContentBlock(c7);if(!c8){return}var c6=c8.name;var dc=c8.piece;var c9=c8.target;if(!ab.hasNodeAttributeWithValue(da,v.CONTENT_TARGET_ATTR)||da.wasContentTargetAttrReplaced){da.wasContentTargetAttrReplaced=true;c9=v.toAbsoluteUrl(c4);ab.setAnyAttribute(da,v.CONTENT_TARGET_ATTR,c9)}var c5=cA(c4,"click",c6,dc,c9);v.setHrefAttribute(da,c5); }return v.buildInteractionRequestParams(c6,c8.name,c8.piece,c8.target)}function aP(c6){if(!b1||!b1.length){return false}var c5,c7;for(c5=0;c5<b1.length;c5++){c7=b1[c5];if(c7&&c7.name===c6.name&&c7.piece===c6.piece&&c7.target===c6.target){return true}}return false}function bv(c8){if(!c8){return false}var db=v.findTargetNode(c8);if(!db||v.shouldIgnoreInteraction(db)){return false}var dc=cZ(db);if(cW&&dc&&dc.type){return false}if(ab.isLinkElement(db)&&ab.hasNodeAttributeWithValue(db,"href")){var c5=String(ab.getAttributeValueFromNode(db,"href"));if(0===c5.indexOf("#")){return false}if(aN(c5)){return true}if(!v.isUrlToCurrentDomain(c5)){return false}var c9=v.buildContentBlock(c8);if(!c9){return}var c7=c9.name;var dd=c9.piece;var da=c9.target;if(!ab.hasNodeAttributeWithValue(db,v.CONTENT_TARGET_ATTR)||db.wasContentTargetAttrReplaced){db.wasContentTargetAttrReplaced=true;da=v.toAbsoluteUrl(c5);ab.setAnyAttribute(db,v.CONTENT_TARGET_ATTR,da)}var c6=cB(c5,"click",c7,dd,da);v.setHrefAttribute(db,c6);
return true}return false}function aG(c5){if(!c5||!c5.length){return}var c4;for(c4=0;c4<c5.length;c4++){bv(c5[c4])}}function aR(c4){return function(c5){if(!c4){return}var c8=v.findParentContentNode(c4);var c9;if(c5){c9=c5.target||c5.srcElement}if(!c9){c9=c4}if(!a4(c8,c9)){return}b7(bA);if(ab.isLinkElement(c4)&&ab.hasNodeAttributeWithValue(c4,"href")&&ab.hasNodeAttributeWithValue(c4,v.CONTENT_TARGET_ATTR)){var c6=ab.getAttributeValueFromNode(c4,"href");if(!aN(c6)&&c4.wasContentTargetAttrReplaced){ab.setAnyAttribute(c4,v.CONTENT_TARGET_ATTR,"")}}var dd=cY(c4);if(al&&dd&&dd.type){return dd.type}if(bv(c8)){return"href"}var da=v.buildContentBlock(c8);if(!da){return}var c7=da.name;var de=da.piece;var dc=da.target;var db=aI("click",c7,de,dc);bw(db,bA);return db}}function bS(c6){if(!c6||!c6.length){return}var c4,c5;for(c4=0;c4<c6.length;c4++){c5=v.findTargetNode(c6[c4]);if(c5&&!c5.contentInteractionTrackingSetupDone){c5.contentInteractionTrackingSetupDone=true;aj(c5,"click",aR(c5))}}}function bp(c6,c7){if(!c6||!c6.length){return[] return true}return false}function aG(c6){if(!c6||!c6.length){return}var c5;for(c5=0;c5<c6.length;c5++){bv(c6[c5])}}function aQ(c5){return function(c6){if(!c5){return}var c9=v.findParentContentNode(c5);var da;if(c6){da=c6.target||c6.srcElement}if(!da){da=c5}if(!a4(c9,da)){return}b7(bA);if(ab.isLinkElement(c5)&&ab.hasNodeAttributeWithValue(c5,"href")&&ab.hasNodeAttributeWithValue(c5,v.CONTENT_TARGET_ATTR)){var c7=ab.getAttributeValueFromNode(c5,"href");if(!aN(c7)&&c5.wasContentTargetAttrReplaced){ab.setAnyAttribute(c5,v.CONTENT_TARGET_ATTR,"")}}var de=cZ(c5);if(al&&de&&de.type){return de.type}if(bv(c9)){return"href"}var db=v.buildContentBlock(c9);if(!db){return}var c8=db.name;var df=db.piece;var dd=db.target;var dc=aI("click",c8,df,dd);bw(dc,bA);return dc}}function bS(c7){if(!c7||!c7.length){return}var c5,c6;for(c5=0;c5<c7.length;c5++){c6=v.findTargetNode(c7[c5]);if(c6&&!c6.contentInteractionTrackingSetupDone){c6.contentInteractionTrackingSetupDone=true;aj(c6,"click",aQ(c6))}}}function bp(c7,c8){if(!c7||!c7.length){return[]
}var c4,c5;for(c4=0;c4<c6.length;c4++){if(aP(c6[c4])){c6.splice(c4,1);c4--}else{b1.push(c6[c4])}}if(!c6||!c6.length){return[]}aG(c7);bS(c7);var c8=[];for(c4=0;c4<c6.length;c4++){c5=ck(v.buildImpressionRequestParams(c6[c4].name,c6[c4].piece,c6[c4].target),undefined,"contentImpressions");if(c5){c8.push(c5)}}return c8}function cq(c5){var c4=v.collectContent(c5);return bp(c4,c5)}function a2(c5){if(!c5||!c5.length){return[]}var c4;for(c4=0;c4<c5.length;c4++){if(!v.isNodeVisible(c5[c4])){c5.splice(c4,1);c4--}}if(!c5||!c5.length){return[]}return cq(c5)}function aA(c6,c4,c5){var c7=v.buildImpressionRequestParams(c6,c4,c5);return ck(c7,null,"contentImpression")}function cX(c7,c5){if(!c7){return}var c4=v.findParentContentNode(c7);var c6=v.buildContentBlock(c4);if(!c6){return}if(!c5){c5="Unknown"}return aI(c5,c6.name,c6.piece,c6.target)}function cE(c5,c7,c4,c6){return"e_c="+t(c5)+"&e_a="+t(c7)+(J(c4)?"&e_n="+t(c4):"")+(J(c6)?"&e_v="+t(c6):"")}function ao(c6,c8,c4,c7,da,c9){if(a(String(c6)).length===0||a(String(c8)).length===0){ag("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces"); }var c5,c6;for(c5=0;c5<c7.length;c5++){if(aP(c7[c5])){c7.splice(c5,1);c5--}else{b1.push(c7[c5])}}if(!c7||!c7.length){return[]}aG(c8);bS(c8);var c9=[];for(c5=0;c5<c7.length;c5++){c6=ck(v.buildImpressionRequestParams(c7[c5].name,c7[c5].piece,c7[c5].target),undefined,"contentImpressions");if(c6){c9.push(c6)}}return c9}function cq(c6){var c5=v.collectContent(c6);return bp(c5,c6)}function a2(c6){if(!c6||!c6.length){return[]}var c5;for(c5=0;c5<c6.length;c5++){if(!v.isNodeVisible(c6[c5])){c6.splice(c5,1);c5--}}if(!c6||!c6.length){return[]}return cq(c6)}function aA(c7,c5,c6){var c8=v.buildImpressionRequestParams(c7,c5,c6);return ck(c8,null,"contentImpression")}function cY(c8,c6){if(!c8){return}var c5=v.findParentContentNode(c8);var c7=v.buildContentBlock(c5);if(!c7){return}if(!c6){c6="Unknown"}return aI(c6,c7.name,c7.piece,c7.target)}function cF(c6,c8,c5,c7){return"e_c="+t(c6)+"&e_a="+t(c8)+(J(c5)?"&e_n="+t(c5):"")+(J(c7)?"&e_v="+t(c7):"")}function ao(c7,c9,c5,c8,db,da){if(a(String(c7)).length===0||a(String(c9)).length===0){ag("Error while logging event: Parameters `category` and `action` must not be empty or filled with whitespaces");
return false}var c5=ck(cE(c6,c8,c4,c7),da,"event");bw(c5,bA,c9)}function bZ(c4,c7,c5,c8){var c6=ck("search="+t(c4)+(c7?"&search_cat="+t(c7):"")+(J(c5)?"&search_count="+c5:""),c8,"sitesearch");bw(c6,bA)}function cI(c4,c7,c6){var c5=ck("idgoal="+c4+(c7?"&revenue="+c7:""),c6,"goal");bw(c5,bA)}function cP(c7,c4,db,da,c6){var c9=c4+"="+t(bT(c7));var c5=cm(c6,"click",c7);if(c5){c9+="&"+c5}var c8=ck(c9,db,"link");bw(c8,bA,da)}function bL(c5,c4){if(c5!==""){return c5+c4.charAt(0).toUpperCase()+c4.slice(1)}return c4}function b8(c9){var c8,c4,c7=["","webkit","ms","moz"],c6;if(!a7){for(c4=0;c4<c7.length;c4++){c6=c7[c4];if(Object.prototype.hasOwnProperty.call(G,bL(c6,"hidden"))){if(G[bL(c6,"visibilityState")]==="prerender"){c8=true}break}}}if(c8){aj(G,c6+"visibilitychange",function c5(){G.removeEventListener(c6+"visibilitychange",c5,false);c9()});return}c9()}function bj(){var c5=aQ().uuid;var c4=aD();return c5+c4}function ca(c4){if(!c4){return}if(!ab.hasNodeAttribute(c4,"href")){return}var c5=ab.getAttributeValueFromNode(c4,"href"); return false}var c6=ck(cF(c7,c9,c5,c8),db,"event");bw(c6,bA,da)}function bZ(c5,c8,c6,c9){var c7=ck("search="+t(c5)+(c8?"&search_cat="+t(c8):"")+(J(c6)?"&search_count="+c6:""),c9,"sitesearch");bw(c7,bA)}function cJ(c5,c8,c7){var c6=ck("idgoal="+c5+(c8?"&revenue="+c8:""),c7,"goal");bw(c6,bA)}function cQ(c8,c5,dc,db,c7){var da=c5+"="+t(bT(c8));var c6=cm(c7,"click",c8);if(c6){da+="&"+c6}var c9=ck(da,dc,"link");bw(c9,bA,db)}function bL(c6,c5){if(c6!==""){return c6+c5.charAt(0).toUpperCase()+c5.slice(1)}return c5}function b8(da){var c9,c5,c8=["","webkit","ms","moz"],c7;if(!a7){for(c5=0;c5<c8.length;c5++){c7=c8[c5];if(Object.prototype.hasOwnProperty.call(G,bL(c7,"hidden"))){if(G[bL(c7,"visibilityState")]==="prerender"){c9=true}break}}}if(c9){aj(G,c7+"visibilitychange",function c6(){G.removeEventListener(c7+"visibilitychange",c6,false);da()});return}da()}function bj(){var c6=aR().uuid;var c5=aD();return c6+c5}function ca(c5){if(!c5){return}if(!ab.hasNodeAttribute(c5,"href")){return}var c6=ab.getAttributeValueFromNode(c5,"href");
if(!c5||aN(c5)){return}c5=k(c5,aq);if(c5.indexOf("?")>0){c5+="&"}else{c5+="?"}var c6=bj();c5=F(c5,aq,c6);ab.setAnyAttribute(c4,"href",c5)}function av(c7){var c8=ab.getAttributeValueFromNode(c7,"href");if(!c8){return false}c8=String(c8);var c5=c8.indexOf("//")===0||c8.indexOf("http://")===0||c8.indexOf("https://")===0;if(!c5){return false}var c4=c7.pathname||cc(c7.href);var c6=(c7.hostname||d(c7.href)).toLowerCase();if(an(c6,c4)){if(!cw(cJ,L(c6))){return true}return false}return false}function cv(c4){var c5=cY(c4);if(c5&&c5.type){c5.href=p(c5.href);cP(c5.href,c5.type,undefined,null,c4);return}if(cC){c4=ap(c4);if(av(c4)){ca(c4)}}}function cn(){return G.all&&!G.addEventListener}function cK(c4){var c6=c4.which;var c5=(typeof c4.button);if(!c6&&c5!=="undefined"){if(cn()){if(c4.button&1){c6=1}else{if(c4.button&2){c6=3}else{if(c4.button&4){c6=2}}}}else{if(c4.button===0||c4.button==="0"){c6=1}else{if(c4.button&1){c6=2}else{if(c4.button&2){c6=3}}}}}return c6}function bK(c4){switch(cK(c4)){case 1:return"left"; if(!c6||aN(c6)){return}c6=k(c6,aq);if(c6.indexOf("?")>0){c6+="&"}else{c6+="?"}var c7=bj();c6=F(c6,aq,c7);ab.setAnyAttribute(c5,"href",c6)}function av(c8){var c9=ab.getAttributeValueFromNode(c8,"href");if(!c9){return false}c9=String(c9);var c6=c9.indexOf("//")===0||c9.indexOf("http://")===0||c9.indexOf("https://")===0;if(!c6){return false}var c5=c8.pathname||cc(c8.href);var c7=(c8.hostname||d(c8.href)).toLowerCase();if(an(c7,c5)){if(!cx(cK,L(c7))){return true}return false}return false}function cw(c5){var c6=cZ(c5);if(c6&&c6.type){c6.href=p(c6.href);cQ(c6.href,c6.type,undefined,null,c5);return}if(cD){c5=ap(c5);if(av(c5)){ca(c5)}}}function cn(){return G.all&&!G.addEventListener}function cL(c5){var c7=c5.which;var c6=(typeof c5.button);if(!c7&&c6!=="undefined"){if(cn()){if(c5.button&1){c7=1}else{if(c5.button&2){c7=3}else{if(c5.button&4){c7=2}}}}else{if(c5.button===0||c5.button==="0"){c7=1}else{if(c5.button&1){c7=2}else{if(c5.button&2){c7=3}}}}}return c7}function bK(c5){switch(cL(c5)){case 1:return"left";
case 2:return"middle";case 3:return"right"}}function aU(c4){return c4.target||c4.srcElement}function aw(c4){return function(c7){c7=c7||T.event;var c6=bK(c7);var c8=aU(c7);if(c7.type==="click"){var c5=false;if(c4&&c6==="middle"){c5=true}if(c8&&!c5){cv(c8)}}else{if(c7.type==="mousedown"){if(c6==="middle"&&c8){aK=c6;bs=c8}else{aK=bs=null}}else{if(c7.type==="mouseup"){if(c6===aK&&c8===bs){cv(c8)}aK=bs=null}else{if(c7.type==="contextmenu"){cv(c8)}}}}}}function am(c6,c5){var c4=typeof c5;if(c4==="undefined"){c5=true}aj(c6,"click",aw(c5),false);if(c5){aj(c6,"mouseup",aw(c5),false);aj(c6,"mousedown",aw(c5),false);aj(c6,"contextmenu",aw(c5),false)}}function bu(c6,c8){al=true;var c7,c5=aT(br,"ignore"),c9=G.links,c4=null,da=null;if(c9){for(c7=0;c7<c9.length;c7++){c4=c9[c7];if(!c5.test(c4.className)){da=typeof c4.piwikTrackers;if("undefined"===da){c4.piwikTrackers=[]}if(-1===M(c4.piwikTrackers,c8)){c4.piwikTrackers.push(c8);am(c4,c6)}}}}}function aL(c5,c8,c9){if(b6){return true}b6=true;var da=false; case 2:return"middle";case 3:return"right"}}function aU(c5){return c5.target||c5.srcElement}function aw(c5){return function(c8){c8=c8||T.event;var c7=bK(c8);var c9=aU(c8);if(c8.type==="click"){var c6=false;if(c5&&c7==="middle"){c6=true}if(c9&&!c6){cw(c9)}}else{if(c8.type==="mousedown"){if(c7==="middle"&&c9){aK=c7;bs=c9}else{aK=bs=null}}else{if(c8.type==="mouseup"){if(c7===aK&&c9===bs){cw(c9)}aK=bs=null}else{if(c8.type==="contextmenu"){cw(c9)}}}}}}function am(c7,c6){var c5=typeof c6;if(c5==="undefined"){c6=true}aj(c7,"click",aw(c6),false);if(c6){aj(c7,"mouseup",aw(c6),false);aj(c7,"mousedown",aw(c6),false);aj(c7,"contextmenu",aw(c6),false)}}function bu(c7,c9){al=true;var c8,c6=aT(br,"ignore"),da=G.links,c5=null,db=null;if(da){for(c8=0;c8<da.length;c8++){c5=da[c8];if(!c6.test(c5.className)){db=typeof c5.piwikTrackers;if("undefined"===db){c5.piwikTrackers=[]}if(-1===M(c5.piwikTrackers,c9)){c5.piwikTrackers.push(c9);am(c5,c7)}}}}}function aL(c6,c9,da){if(b6){return true}b6=true;var db=false;
var c7,c6;function c4(){da=true}n(function(){function db(dd){setTimeout(function(){if(!b6){return}da=false;c9.trackVisibleContentImpressions();db(dd)},dd)}function dc(dd){setTimeout(function(){if(!b6){return}if(da){da=false;c9.trackVisibleContentImpressions()}dc(dd)},dd)}if(c5){c7=["scroll","resize"];for(c6=0;c6<c7.length;c6++){if(G.addEventListener){G.addEventListener(c7[c6],c4)}else{T.attachEvent("on"+c7[c6],c4)}}dc(100)}if(c8&&c8>0){c8=parseInt(c8,10);db(c8)}})}function cu(){var c5,c7,c8={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(c5 in c8){if(Object.prototype.hasOwnProperty.call(c8,c5)){c7=h.mimeTypes[c8[c5]];cU[c5]=(c7&&c7.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){cU.java="1" var c8,c7;function c5(){db=true}n(function(){function dc(de){setTimeout(function(){if(!b6){return}db=false;da.trackVisibleContentImpressions();dc(de)},de)}function dd(de){setTimeout(function(){if(!b6){return}if(db){db=false;da.trackVisibleContentImpressions()}dd(de)},de)}if(c6){c8=["scroll","resize"];for(c7=0;c7<c8.length;c7++){if(G.addEventListener){G.addEventListener(c8[c7],c5,false)}else{T.attachEvent("on"+c8[c7],c5)}}dd(100)}if(c9&&c9>0){c9=parseInt(c9,10);dc(c9)}})}function cv(){var c6,c8,c9={pdf:"application/pdf",qt:"video/quicktime",realp:"audio/x-pn-realaudio-plugin",wma:"application/x-mplayer2",dir:"application/x-director",fla:"application/x-shockwave-flash",java:"application/x-java-vm",gears:"application/x-googlegears",ag:"application/x-silverlight"};if(!((new RegExp("MSIE")).test(h.userAgent))){if(h.mimeTypes&&h.mimeTypes.length){for(c6 in c9){if(Object.prototype.hasOwnProperty.call(c9,c6)){c8=h.mimeTypes[c9[c6]];cV[c6]=(c8&&c8.enabledPlugin)?"1":"0"}}}if(!((new RegExp("Edge[ /](\\d+[\\.\\d]+)")).test(h.userAgent))&&typeof navigator.javaEnabled!=="unknown"&&J(h.javaEnabled)&&h.javaEnabled()){cV.java="1"
}if(A(T.GearsFactory)){cU.gears="1"}cU.cookie=bW()}var c6=parseInt(W.width,10);var c4=parseInt(W.height,10);cU.res=parseInt(c6,10)+"x"+parseInt(c4,10)}cu();ba();aF();this.getVisitorId=function(){return aQ().uuid};this.getVisitorInfo=function(){return cD()};this.getAttributionInfo=function(){return bD()};this.getAttributionCampaignName=function(){return bD()[0]};this.getAttributionCampaignKeyword=function(){return bD()[1]};this.getAttributionReferrerTimestamp=function(){return bD()[2]};this.getAttributionReferrerUrl=function(){return bD()[3]};this.setTrackerUrl=function(c4){ay=c4};this.getTrackerUrl=function(){return ay};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),by)};this.addTracker=function(c4,c6){if(!c6){throw new Error("A siteId must be given to add a new tracker")}if(!J(c4)||null===c4){c4=this.getTrackerUrl()}var c5=new Q(c4,c6);I.push(c5);return c5};this.getSiteId=function(){return bX};this.setSiteId=function(c4){bU(c4)};this.resetUserId=function(){bq=""};this.setUserId=function(c4){if(!J(c4)||!c4.length){return }if(A(T.GearsFactory)){cV.gears="1"}cV.cookie=bW()}var c7=parseInt(W.width,10);var c5=parseInt(W.height,10);cV.res=parseInt(c7,10)+"x"+parseInt(c5,10)}cv();ba();aF();this.getVisitorId=function(){return aR().uuid};this.getVisitorInfo=function(){return cE()};this.getAttributionInfo=function(){return bD()};this.getAttributionCampaignName=function(){return bD()[0]};this.getAttributionCampaignKeyword=function(){return bD()[1]};this.getAttributionReferrerTimestamp=function(){return bD()[2]};this.getAttributionReferrerUrl=function(){return bD()[3]};this.setTrackerUrl=function(c5){ay=c5};this.getTrackerUrl=function(){return ay};this.getPiwikUrl=function(){return O(this.getTrackerUrl(),by)};this.addTracker=function(c5,c7){if(!c7){throw new Error("A siteId must be given to add a new tracker")}if(!J(c5)||null===c5){c5=this.getTrackerUrl()}var c6=new Q(c5,c7);I.push(c6);return c6};this.getSiteId=function(){return bX};this.setSiteId=function(c5){bU(c5)};this.resetUserId=function(){bq=""};this.setUserId=function(c5){if(!J(c5)||!c5.length){return
}bq=c4};this.getUserId=function(){return bq};this.setCustomData=function(c4,c5){if(V(c4)){ak=c4}else{if(!ak){ak={}}ak[c4]=c5}};this.getCustomData=function(){return ak};this.setCustomRequestProcessing=function(c4){b2=c4};this.appendToTrackingUrl=function(c4){cN=c4};this.getRequest=function(c4){return ck(c4)};this.addPlugin=function(c4,c5){b[c4]=c5};this.setCustomDimension=function(c4,c5){c4=parseInt(c4,10);if(c4>0){if(!J(c5)){c5=""}if(!w(c5)){c5=String(c5)}be[c4]=c5}};this.getCustomDimension=function(c4){c4=parseInt(c4,10);if(c4>0&&Object.prototype.hasOwnProperty.call(be,c4)){return be[c4]}};this.deleteCustomDimension=function(c4){c4=parseInt(c4,10);if(c4>0){delete be[c4]}};this.setCustomVariable=function(c5,c4,c8,c6){var c7;if(!J(c6)){c6="visit"}if(!J(c4)){return}if(!J(c8)){c8=""}if(c5>0){c4=!w(c4)?String(c4):c4;c8=!w(c8)?String(c8):c8;c7=[c4.slice(0,bl),c8.slice(0,bl)];if(c6==="visit"||c6===2){ct();aJ[c5]=c7}else{if(c6==="page"||c6===3){bN[c5]=c7}else{if(c6==="event"){cd[c5]=c7}}}}};this.getCustomVariable=function(c5,c6){var c4; }bq=c5};this.getUserId=function(){return bq};this.setCustomData=function(c5,c6){if(V(c5)){ak=c5}else{if(!ak){ak={}}ak[c5]=c6}};this.getCustomData=function(){return ak};this.setCustomRequestProcessing=function(c5){b2=c5};this.appendToTrackingUrl=function(c5){cO=c5};this.getRequest=function(c5){return ck(c5)};this.addPlugin=function(c5,c6){b[c5]=c6};this.setCustomDimension=function(c5,c6){c5=parseInt(c5,10);if(c5>0){if(!J(c6)){c6=""}if(!w(c6)){c6=String(c6)}be[c5]=c6}};this.getCustomDimension=function(c5){c5=parseInt(c5,10);if(c5>0&&Object.prototype.hasOwnProperty.call(be,c5)){return be[c5]}};this.deleteCustomDimension=function(c5){c5=parseInt(c5,10);if(c5>0){delete be[c5]}};this.setCustomVariable=function(c6,c5,c9,c7){var c8;if(!J(c7)){c7="visit"}if(!J(c5)){return}if(!J(c9)){c9=""}if(c6>0){c5=!w(c5)?String(c5):c5;c9=!w(c9)?String(c9):c9;c8=[c5.slice(0,bl),c9.slice(0,bl)];if(c7==="visit"||c7===2){cu();aJ[c6]=c8}else{if(c7==="page"||c7===3){bN[c6]=c8}else{if(c7==="event"){cd[c6]=c8}}}}};this.getCustomVariable=function(c6,c7){var c5;
if(!J(c6)){c6="visit"}if(c6==="page"||c6===3){c4=bN[c5]}else{if(c6==="event"){c4=cd[c5]}else{if(c6==="visit"||c6===2){ct();c4=aJ[c5]}}}if(!J(c4)||(c4&&c4[0]==="")){return false}return c4};this.deleteCustomVariable=function(c4,c5){if(this.getCustomVariable(c4,c5)){this.setCustomVariable(c4,"","",c5)}};this.deleteCustomVariables=function(c4){if(c4==="page"||c4===3){bN={}}else{if(c4==="event"){cd={}}else{if(c4==="visit"||c4===2){aJ={}}}}};this.storeCustomVariablesInCookie=function(){bH=true};this.setLinkTrackingTimer=function(c4){bA=c4};this.getLinkTrackingTimer=function(){return bA};this.setDownloadExtensions=function(c4){if(w(c4)){c4=c4.split("|")}cT=c4};this.addDownloadExtensions=function(c5){var c4;if(w(c5)){c5=c5.split("|")}for(c4=0;c4<c5.length;c4++){cT.push(c5[c4])}};this.removeDownloadExtensions=function(c6){var c5,c4=[];if(w(c6)){c6=c6.split("|")}for(c5=0;c5<cT.length;c5++){if(M(c6,cT[c5])===-1){c4.push(cT[c5])}}cT=c4};this.setDomains=function(c4){ar=w(c4)?[c4]:c4;var c8=false,c6=0,c5; if(!J(c7)){c7="visit"}if(c7==="page"||c7===3){c5=bN[c6]}else{if(c7==="event"){c5=cd[c6]}else{if(c7==="visit"||c7===2){cu();c5=aJ[c6]}}}if(!J(c5)||(c5&&c5[0]==="")){return false}return c5};this.deleteCustomVariable=function(c5,c6){if(this.getCustomVariable(c5,c6)){this.setCustomVariable(c5,"","",c6)}};this.deleteCustomVariables=function(c5){if(c5==="page"||c5===3){bN={}}else{if(c5==="event"){cd={}}else{if(c5==="visit"||c5===2){aJ={}}}}};this.storeCustomVariablesInCookie=function(){bH=true};this.setLinkTrackingTimer=function(c5){bA=c5};this.getLinkTrackingTimer=function(){return bA};this.setDownloadExtensions=function(c5){if(w(c5)){c5=c5.split("|")}cU=c5};this.addDownloadExtensions=function(c6){var c5;if(w(c6)){c6=c6.split("|")}for(c5=0;c5<c6.length;c5++){cU.push(c6[c5])}};this.removeDownloadExtensions=function(c7){var c6,c5=[];if(w(c7)){c7=c7.split("|")}for(c6=0;c6<cU.length;c6++){if(M(c7,cU[c6])===-1){c5.push(cU[c6])}}cU=c5};this.setDomains=function(c5){ar=w(c5)?[c5]:c5;var c9=false,c7=0,c6;
for(c6;c6<ar.length;c6++){c5=String(ar[c6]);if(cw(cJ,L(c5))){c8=true;break}var c7=cc(c5);if(c7&&c7!=="/"&&c7!=="/*"){c8=true;break}}if(!c8){ar.push(cJ)}};this.enableCrossDomainLinking=function(){cC=true};this.disableCrossDomainLinking=function(){cC=false};this.isCrossDomainLinkingEnabled=function(){return cC};this.setCrossDomainLinkingTimeout=function(c4){aS=c4};this.getCrossDomainLinkingUrlParameter=function(){return t(aq)+"="+t(bj())};this.setIgnoreClasses=function(c4){br=w(c4)?[c4]:c4};this.setRequestMethod=function(c4){cW=c4||b9};this.setRequestContentType=function(c4){co=c4||aC};this.setReferrerUrl=function(c4){bf=c4};this.setCustomUrl=function(c4){aX=bM(bE,c4)};this.getCurrentUrl=function(){return aX||bE};this.setDocumentTitle=function(c4){bb=c4};this.setAPIUrl=function(c4){by=c4};this.setDownloadClasses=function(c4){bC=w(c4)?[c4]:c4};this.setLinkClasses=function(c4){a1=w(c4)?[c4]:c4};this.setCampaignNameKey=function(c4){ci=w(c4)?[c4]:c4};this.setCampaignKeywordKey=function(c4){bx=w(c4)?[c4]:c4 for(c7;c7<ar.length;c7++){c6=String(ar[c7]);if(cx(cK,L(c6))){c9=true;break}var c8=cc(c6);if(c8&&c8!=="/"&&c8!=="/*"){c9=true;break}}if(!c9){ar.push(cK)}};this.enableCrossDomainLinking=function(){cD=true};this.disableCrossDomainLinking=function(){cD=false};this.isCrossDomainLinkingEnabled=function(){return cD};this.setCrossDomainLinkingTimeout=function(c5){aS=c5};this.getCrossDomainLinkingUrlParameter=function(){return t(aq)+"="+t(bj())};this.setIgnoreClasses=function(c5){br=w(c5)?[c5]:c5};this.setRequestMethod=function(c5){cX=c5||b9};this.setRequestContentType=function(c5){co=c5||aC};this.setReferrerUrl=function(c5){bf=c5};this.setCustomUrl=function(c5){aX=bM(bE,c5)};this.getCurrentUrl=function(){return aX||bE};this.setDocumentTitle=function(c5){bb=c5};this.setAPIUrl=function(c5){by=c5};this.setDownloadClasses=function(c5){bC=w(c5)?[c5]:c5};this.setLinkClasses=function(c5){a1=w(c5)?[c5]:c5};this.setCampaignNameKey=function(c5){ci=w(c5)?[c5]:c5};this.setCampaignKeywordKey=function(c5){bx=w(c5)?[c5]:c5
};this.discardHashTag=function(c4){bG=c4};this.setCookieNamePrefix=function(c4){bc=c4;aJ=bO()};this.setCookieDomain=function(c4){var c5=L(c4);if(bo(c5)){cL=c5;ba()}};this.getCookieDomain=function(){return cL};this.hasCookies=function(){return"1"===bW()};this.setSessionCookie=function(c6,c5,c4){if(!c6){throw new Error("Missing cookie name")}if(!J(c4)){c4=cg}bm.push(c6);cZ(aM(c6),c5,c4,bh,cL)};this.getCookie=function(c5){var c4=ax(aM(c5));if(c4===0){return null}return c4};this.setCookiePath=function(c4){bh=c4;ba()};this.getCookiePath=function(c4){return bh};this.setVisitorCookieTimeout=function(c4){cy=c4*1000};this.setSessionCookieTimeout=function(c4){cg=c4*1000};this.getSessionCookieTimeout=function(){return cg};this.setReferralCookieTimeout=function(c4){cS=c4*1000};this.setConversionAttributionFirstReferrer=function(c4){bn=c4};this.setSecureCookie=function(c4){bJ=c4};this.disableCookies=function(){bd=true;cU.cookie="0";if(bX){az()}};this.deleteCookies=function(){az()};this.setDoNotTrack=function(c5){var c4=h.doNotTrack||h.msDoNotTrack; };this.discardHashTag=function(c5){bG=c5};this.setCookieNamePrefix=function(c5){bc=c5;aJ=bO()};this.setCookieDomain=function(c5){var c6=L(c5);if(bo(c6)){cM=c6;ba()}};this.getCookieDomain=function(){return cM};this.hasCookies=function(){return"1"===bW()};this.setSessionCookie=function(c7,c6,c5){if(!c7){throw new Error("Missing cookie name")}if(!J(c5)){c5=cg}bm.push(c7);c0(aM(c7),c6,c5,bh,cM)};this.getCookie=function(c6){var c5=ax(aM(c6));if(c5===0){return null}return c5};this.setCookiePath=function(c5){bh=c5;ba()};this.getCookiePath=function(c5){return bh};this.setVisitorCookieTimeout=function(c5){cz=c5*1000};this.setSessionCookieTimeout=function(c5){cg=c5*1000};this.getSessionCookieTimeout=function(){return cg};this.setReferralCookieTimeout=function(c5){cT=c5*1000};this.setConversionAttributionFirstReferrer=function(c5){bn=c5};this.setSecureCookie=function(c5){bJ=c5};this.disableCookies=function(){bd=true;cV.cookie="0";if(bX){az()}};this.deleteCookies=function(){az()};this.setDoNotTrack=function(c6){var c5=h.doNotTrack||h.msDoNotTrack;
cF=c5&&(c4==="yes"||c4==="1");if(cF){this.disableCookies()}};this.addListener=function(c5,c4){am(c5,c4)};this.enableLinkTracking=function(c5){cV=true;var c4=this;b8(function(){q(function(){bu(c5,c4)})})};this.enableJSErrorTracking=function(){if(cH){return}cH=true;var c4=T.onerror;T.onerror=function(c9,c7,c6,c8,c5){b8(function(){var da="JavaScript Errors";var db=c7+":"+c6;if(c8){db+=":"+c8}ao(da,db,c9)});if(c4){return c4(c9,c7,c6,c8,c5)}return false}};this.disablePerformanceTracking=function(){aV=false};this.setGenerationTimeMs=function(c4){ce=parseInt(c4,10)};this.enableHeartBeatTimer=function(c4){c4=Math.max(c4,1);aY=(c4||15)*1000;if(cM!==null){c1()}};this.disableHeartBeatTimer=function(){bB();if(aY||aH){if(T.removeEventListener){T.removeEventListener("focus",a3,true);T.removeEventListener("blur",at,true)}else{if(T.detachEvent){T.detachEvent("onfocus",a3);T.detachEvent("onblur",at)}}}aY=null;aH=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}}; cG=c6&&(c5==="yes"||c5==="1");if(cG){this.disableCookies()}};this.addListener=function(c6,c5){am(c6,c5)};this.enableLinkTracking=function(c6){cW=true;var c5=this;b8(function(){q(function(){bu(c6,c5)})})};this.enableJSErrorTracking=function(){if(cI){return}cI=true;var c5=T.onerror;T.onerror=function(da,c8,c7,c9,c6){b8(function(){var db="JavaScript Errors";var dc=c8+":"+c7;if(c9){dc+=":"+c9}ao(db,dc,da)});if(c5){return c5(da,c8,c7,c9,c6)}return false}};this.disablePerformanceTracking=function(){aV=false};this.setGenerationTimeMs=function(c5){ce=parseInt(c5,10)};this.enableHeartBeatTimer=function(c5){c5=Math.max(c5,1);aY=(c5||15)*1000;if(cN!==null){c2()}};this.disableHeartBeatTimer=function(){bB();if(aY||aH){if(T.removeEventListener){T.removeEventListener("focus",a3,true);T.removeEventListener("blur",at,true)}else{if(T.detachEvent){T.detachEvent("onfocus",a3);T.detachEvent("onblur",at)}}}aY=null;aH=false};this.killFrame=function(){if(T.location!==T.top.location){T.top.location=T.location}};
this.redirectFile=function(c4){if(T.location.protocol==="file:"){T.location=c4}};this.setCountPreRendered=function(c4){a7=c4};this.trackGoal=function(c4,c6,c5){b8(function(){cI(c4,c6,c5)})};this.trackLink=function(c5,c4,c7,c6){b8(function(){cP(c5,c4,c7,c6)})};this.getNumTrackedPageViews=function(){return cj};this.trackPageView=function(c4,c6,c5){b1=[];cz=[];if(N(bX)){b8(function(){X(ay,by,bX)})}else{b8(function(){cj++;bR(c4,c6,c5)})}};this.trackAllContentImpressions=function(){if(N(bX)){return}b8(function(){q(function(){var c4=v.findContentNodes();var c5=cq(c4);c0(c5,bA)})})};this.trackVisibleContentImpressions=function(c4,c5){if(N(bX)){return}if(!J(c4)){c4=true}if(!J(c5)){c5=750}aL(c4,c5,this);b8(function(){n(function(){var c6=v.findContentNodes();var c7=a2(c6);c0(c7,bA)})})};this.trackContentImpression=function(c6,c4,c5){if(N(bX)){return}c6=a(c6);c4=a(c4);c5=a(c5);if(!c6){return}c4=c4||"Unknown";b8(function(){var c7=aA(c6,c4,c5);bw(c7,bA)})};this.trackContentImpressionsWithinNode=function(c4){if(N(bX)||!c4){return this.redirectFile=function(c5){if(T.location.protocol==="file:"){T.location=c5}};this.setCountPreRendered=function(c5){a7=c5};this.trackGoal=function(c5,c7,c6){b8(function(){cJ(c5,c7,c6)})};this.trackLink=function(c6,c5,c8,c7){b8(function(){cQ(c6,c5,c8,c7)})};this.getNumTrackedPageViews=function(){return cj};this.trackPageView=function(c5,c7,c6){b1=[];cA=[];if(N(bX)){b8(function(){X(ay,by,bX)})}else{b8(function(){cj++;bR(c5,c7,c6)})}};this.trackAllContentImpressions=function(){if(N(bX)){return}b8(function(){q(function(){var c5=v.findContentNodes();var c6=cq(c5);c1(c6,bA)})})};this.trackVisibleContentImpressions=function(c5,c6){if(N(bX)){return}if(!J(c5)){c5=true}if(!J(c6)){c6=750}aL(c5,c6,this);b8(function(){n(function(){var c7=v.findContentNodes();var c8=a2(c7);c1(c8,bA)})})};this.trackContentImpression=function(c7,c5,c6){if(N(bX)){return}c7=a(c7);c5=a(c5);c6=a(c6);if(!c7){return}c5=c5||"Unknown";b8(function(){var c8=aA(c7,c5,c6);bw(c8,bA)})};this.trackContentImpressionsWithinNode=function(c5){if(N(bX)||!c5){return
}b8(function(){if(b6){n(function(){var c5=v.findContentNodesWithinNode(c4);var c6=a2(c5);c0(c6,bA)})}else{q(function(){var c5=v.findContentNodesWithinNode(c4);var c6=cq(c5);c0(c6,bA)})}})};this.trackContentInteraction=function(c6,c7,c4,c5){if(N(bX)){return}c6=a(c6);c7=a(c7);c4=a(c4);c5=a(c5);if(!c6||!c7){return}c4=c4||"Unknown";b8(function(){var c8=aI(c6,c7,c4,c5);bw(c8,bA)})};this.trackContentInteractionNode=function(c5,c4){if(N(bX)||!c5){return}b8(function(){var c6=cX(c5,c4);bw(c6,bA)})};this.logAllContentBlocksOnPage=function(){var c6=v.findContentNodes();var c4=v.collectContent(c6);var c5=typeof console;if(c5!=="undefined"&&console&&console.log){console.log(c4)}};this.trackEvent=function(c5,c7,c4,c6,c9,c8){b8(function(){ao(c5,c7,c4,c6,c9,c8)})};this.trackSiteSearch=function(c4,c6,c5,c7){b8(function(){bZ(c4,c6,c5,c7)})};this.setEcommerceView=function(c7,c4,c6,c5){if(!J(c6)||!c6.length){c6=""}else{if(c6 instanceof Array){c6=JSON_PIWIK.stringify(c6)}}bN[5]=["_pkc",c6];if(J(c5)&&String(c5).length){bN[2]=["_pkp",c5] }b8(function(){if(b6){n(function(){var c6=v.findContentNodesWithinNode(c5);var c7=a2(c6);c1(c7,bA)})}else{q(function(){var c6=v.findContentNodesWithinNode(c5);var c7=cq(c6);c1(c7,bA)})}})};this.trackContentInteraction=function(c7,c8,c5,c6){if(N(bX)){return}c7=a(c7);c8=a(c8);c5=a(c5);c6=a(c6);if(!c7||!c8){return}c5=c5||"Unknown";b8(function(){var c9=aI(c7,c8,c5,c6);bw(c9,bA)})};this.trackContentInteractionNode=function(c6,c5){if(N(bX)||!c6){return}b8(function(){var c7=cY(c6,c5);bw(c7,bA)})};this.logAllContentBlocksOnPage=function(){var c7=v.findContentNodes();var c5=v.collectContent(c7);var c6=typeof console;if(c6!=="undefined"&&console&&console.log){console.log(c5)}};this.trackEvent=function(c6,c8,c5,c7,da,c9){b8(function(){ao(c6,c8,c5,c7,da,c9)})};this.trackSiteSearch=function(c5,c7,c6,c8){b8(function(){bZ(c5,c7,c6,c8)})};this.setEcommerceView=function(c8,c5,c7,c6){if(!J(c7)||!c7.length){c7=""}else{if(c7 instanceof Array){c7=JSON_PIWIK.stringify(c7)}}bN[5]=["_pkc",c7];if(J(c6)&&String(c6).length){bN[2]=["_pkp",c6]
}if((!J(c7)||!c7.length)&&(!J(c4)||!c4.length)){return}if(J(c7)&&c7.length){bN[3]=["_pks",c7]}if(!J(c4)||!c4.length){c4=""}bN[4]=["_pkn",c4]};this.addEcommerceItem=function(c8,c4,c6,c5,c7){if(c8.length){cO[c8]=[c8,c4,c6,c5,c7]}};this.trackEcommerceOrder=function(c4,c8,c7,c6,c5,c9){bQ(c4,c8,c7,c6,c5,c9)};this.trackEcommerceCartUpdate=function(c4){bk(c4)};this.trackRequest=function(c5,c7,c6,c4){b8(function(){var c8=ck(c5,c7,c4);bw(c8,bA,c6)})};this.getRememberedConsent=function(){var c4=ax(a6);if(ax(cB)){if(c4){bP(a6,bh,cL)}return null}if(!c4||c4===0){return null}return c4};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){bt=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bt){az()}}}};this.setConsentGiven=function(){bt=true;bP(cB,bh,cL);var c5,c4;for(c5=0;c5<cz.length;c5++){c4=typeof cz[c5];if(c4==="string"){bw(cz[c5],bA)}else{if(c4==="object"){c0(cz[c5],bA)}}}cz=[]};this.rememberConsentGiven=function(c5){if(bd){ag("rememberConsentGiven is called but cookies are disabled, consent will not be remembered"); }if((!J(c8)||!c8.length)&&(!J(c5)||!c5.length)){return}if(J(c8)&&c8.length){bN[3]=["_pks",c8]}if(!J(c5)||!c5.length){c5=""}bN[4]=["_pkn",c5]};this.addEcommerceItem=function(c9,c5,c7,c6,c8){if(c9.length){cP[c9]=[c9,c5,c7,c6,c8]}};this.removeEcommerceItem=function(c5){if(c5.length){delete cP[c5]}};this.clearEcommerceCart=function(){cP={}};this.trackEcommerceOrder=function(c5,c9,c8,c7,c6,da){bQ(c5,c9,c8,c7,c6,da)};this.trackEcommerceCartUpdate=function(c5){bk(c5)};this.trackRequest=function(c6,c8,c7,c5){b8(function(){var c9=ck(c6,c8,c5);bw(c9,bA,c7)})};this.getRememberedConsent=function(){var c5=ax(a6);if(ax(cC)){if(c5){bP(a6,bh,cM)}return null}if(!c5||c5===0){return null}return c5};this.hasRememberedConsent=function(){return !!this.getRememberedConsent()};this.requireConsent=function(){cr=true;bt=this.hasRememberedConsent();x++;b["CoreConsent"+x]={unload:function(){if(!bt){az()}}}};this.setConsentGiven=function(){bt=true;bP(cC,bh,cM);var c6,c5;for(c6=0;c6<cA.length;c6++){c5=typeof cA[c6];
return}if(c5){c5=c5*60*60*1000}this.setConsentGiven();var c4=new Date().getTime();cZ(a6,c4,c5,bh,cL,bJ)};this.forgetConsentGiven=function(){if(bd){ag("forgetConsentGiven is called but cookies are disabled, consent will not be forgotten");return}bP(a6,bh,cL);cZ(cB,new Date().getTime(),0,bh,cL,bJ);this.requireConsent()};this.isUserOptedOut=function(){return !bt};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:ac}}function c(ap,ao){var aq={};var am,an;for(am=0;am<ao.length;am++){var ak=ao[am];aq[ak]=1;for(an=0;an<ap.length;an++){if(ap[an]&&ap[an][0]){var al=ap[an][0];if(ak===al){ac(ap[an]);delete ap[an];if(aq[al]>1&&al!=="addTracker"){ag("The method "+al+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')}aq[al]++ if(c5==="string"){bw(cA[c6],bA)}else{if(c5==="object"){c1(cA[c6],bA)}}}cA=[]};this.rememberConsentGiven=function(c6){if(bd){ag("rememberConsentGiven is called but cookies are disabled, consent will not be remembered");return}if(c6){c6=c6*60*60*1000}this.setConsentGiven();var c5=new Date().getTime();c0(a6,c5,c6,bh,cM,bJ)};this.forgetConsentGiven=function(){if(bd){ag("forgetConsentGiven is called but cookies are disabled, consent will not be forgotten");return}bP(a6,bh,cM);c0(cC,new Date().getTime(),0,bh,cM,bJ);this.requireConsent()};this.isUserOptedOut=function(){return !bt};this.optUserOut=this.forgetConsentGiven;this.forgetUserOptOut=this.rememberConsentGiven;e.trigger("TrackerSetup",[this])}function H(){return{push:ac}}function c(ap,ao){var aq={};var am,an;for(am=0;am<ao.length;am++){var ak=ao[am];aq[ak]=1;for(an=0;an<ap.length;an++){if(ap[an]&&ap[an][0]){var al=ap[an][0];if(ak===al){ac(ap[an]);delete ap[an];if(aq[al]>1&&al!=="addTracker"){ag("The method "+al+' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers')
}}}}return ap}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking","requireConsent","setConsentGiven"];function aa(ak,am){var al=new Q(ak,am);I.push(al);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){ac(_paq[E])}}_paq=new H();return al}aj(T,"beforeunload",ae,false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:JSON_PIWIK,DOM:{addEventListener:function(an,am,al,ak){var ao=typeof ak;if(ao==="undefined"){ak=false}aj(an,am,al,ak)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(al,ak){if(!y[al]){y[al]=[]}y[al].push(ak)},off:function(am,al){if(!y[am]){return}var ak=0;for(ak;ak<y[am].length;ak++){if(y[am][ak]===al){y[am].splice(ak,1)}}},trigger:function(am,an,al){if(!y[am]){return}var ak=0;for(ak;ak<y[am].length;ak++){y[am][ak].apply(al||T,an)}},addPlugin:function(ak,al){b[ak]=al }aq[al]++}}}}return ap}var C=["addTracker","disableCookies","setTrackerUrl","setAPIUrl","enableCrossDomainLinking","setCrossDomainLinkingTimeout","setSecureCookie","setCookiePath","setCookieDomain","setDomains","setUserId","setSiteId","enableLinkTracking","requireConsent","setConsentGiven"];function aa(ak,am){var al=new Q(ak,am);I.push(al);_paq=c(_paq,C);for(E=0;E<_paq.length;E++){if(_paq[E]){ac(_paq[E])}}_paq=new H();return al}aj(T,"beforeunload",ae,false);Date.prototype.getTimeAlias=Date.prototype.getTime;e={initialized:false,JSON:JSON_PIWIK,DOM:{addEventListener:function(an,am,al,ak){var ao=typeof ak;if(ao==="undefined"){ak=false}aj(an,am,al,ak)},onLoad:n,onReady:q,isNodeVisible:j,isOrWasNodeVisible:v.isNodeVisible},on:function(al,ak){if(!y[al]){y[al]=[]}y[al].push(ak)},off:function(am,al){if(!y[am]){return}var ak=0;for(ak;ak<y[am].length;ak++){if(y[am][ak]===al){y[am].splice(ak,1)}}},trigger:function(am,an,al){if(!y[am]){return}var ak=0;for(ak;ak<y[am].length;ak++){y[am][ak].apply(al||T,an)
},getTracker:function(ak,al){if(!J(al)){al=this.getAsyncTracker().getSiteId()}if(!J(ak)){ak=this.getAsyncTracker().getTrackerUrl()}return new Q(ak,al)},getAsyncTrackers:function(){return I},addTracker:function(ak,am){var al;if(!I.length){al=aa(ak,am)}else{al=I[0].addTracker(ak,am)}return al},getAsyncTracker:function(al,ao){var an;if(I&&I.length&&I[0]){an=I[0]}else{return aa(al,ao)}if(!ao&&!al){return an}if((!J(ao)||null===ao)&&an){ao=an.getSiteId()}if((!J(al)||null===al)&&an){al=an.getTrackerUrl()}var am,ak=0;for(ak;ak<I.length;ak++){am=I[ak];if(am&&String(am.getSiteId())===String(ao)&&am.getTrackerUrl()===al){return am}}},retryMissedPluginCalls:function(){var al=ad;ad=[];var ak=0;for(ak;ak<al.length;ak++){ac(al[ak])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return e})}return e}())} }},addPlugin:function(ak,al){b[ak]=al},getTracker:function(ak,al){if(!J(al)){al=this.getAsyncTracker().getSiteId()}if(!J(ak)){ak=this.getAsyncTracker().getTrackerUrl()}return new Q(ak,al)},getAsyncTrackers:function(){return I},addTracker:function(ak,am){var al;if(!I.length){al=aa(ak,am)}else{al=I[0].addTracker(ak,am)}return al},getAsyncTracker:function(al,ao){var an;if(I&&I.length&&I[0]){an=I[0]}else{return aa(al,ao)}if(!ao&&!al){return an}if((!J(ao)||null===ao)&&an){ao=an.getSiteId()}if((!J(al)||null===al)&&an){al=an.getTrackerUrl()}var am,ak=0;for(ak;ak<I.length;ak++){am=I[ak];if(am&&String(am.getSiteId())===String(ao)&&am.getTrackerUrl()===al){return am}}},retryMissedPluginCalls:function(){var al=ad;ad=[];var ak=0;for(ak;ak<al.length;ak++){ac(al[ak])}}};if(typeof define==="function"&&define.amd){define("piwik",[],function(){return e})}return e}())}
/*!!! pluginTrackerHook */ /*!!! pluginTrackerHook */
(function(){function b(){if("object"!==typeof _paq){return false}var c=typeof _paq.length;if("undefined"===c){return false}return !!_paq.length}if(window&&"object"===typeof window.piwikPluginAsyncInit&&window.piwikPluginAsyncInit.length){var a=0; (function(){function b(){if("object"!==typeof _paq){return false}var c=typeof _paq.length;if("undefined"===c){return false
for(a;a<window.piwikPluginAsyncInit.length;a++){if(typeof window.piwikPluginAsyncInit[a]==="function"){window.piwikPluginAsyncInit[a]()}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(!window.Piwik.getAsyncTrackers().length){if(b()){window.Piwik.addTracker()}else{_paq={push:function(c){var d=typeof console;if(d!=="undefined"&&console&&console.error){console.error("_paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order.",c)}}}}}window.Piwik.trigger("PiwikInitialized",[]);window.Piwik.initialized=true}());(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=window.Piwik}}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{if(window["piwik_"+h]){return window["piwik_"+h] }return !!_paq.length}if(window&&"object"===typeof window.piwikPluginAsyncInit&&window.piwikPluginAsyncInit.length){var a=0;for(a;a<window.piwikPluginAsyncInit.length;a++){if(typeof window.piwikPluginAsyncInit[a]==="function"){window.piwikPluginAsyncInit[a]()}}}if(window&&window.piwikAsyncInit){window.piwikAsyncInit()}if(!window.Piwik.getAsyncTrackers().length){if(b()){window.Piwik.addTracker()}else{_paq={push:function(c){var d=typeof console;if(d!=="undefined"&&console&&console.error){console.error("_paq.push() was used but Piwik tracker was not initialized before the piwik.js file was loaded. Make sure to configure the tracker via _paq.push before loading piwik.js. Alternatively, you can create a tracker via Piwik.addTracker() manually and then use _paq.push but it may not fully work as tracker methods may not be executed in the correct order.",c)}}}}}window.Piwik.trigger("PiwikInitialized",[]);window.Piwik.initialized=true}());(function(){var a=(typeof AnalyticsTracker);if(a==="undefined"){AnalyticsTracker=window.Piwik
}}catch(i){}return}var c,e=window.Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}}} }}());if(typeof piwik_log!=="function"){piwik_log=function(b,f,d,g){function a(h){try{if(window["piwik_"+h]){return window["piwik_"+h]}}catch(i){}return}var c,e=window.Piwik.getTracker(d,f);e.setDocumentTitle(b);e.setCustomData(g);c=a("tracker_pause");if(c){e.setLinkTrackingTimer(c)}c=a("download_extensions");if(c){e.setDownloadExtensions(c)}c=a("hosts_alias");if(c){e.setDomains(c)}c=a("ignore_classes");if(c){e.setIgnoreClasses(c)}e.trackPageView();if(a("install_tracker")){piwik_track=function(i,k,j,h){e.setSiteId(k);e.setTrackerUrl(j);e.trackLink(i,h)};e.enableLinkTracking()}}}
/*!! @license-end */; /*!! @license-end */;