// For license information, see `https://assets.allianz.ch/launch-ENe5822c4e781449539acdac66324cc3b8.js`.
window._satellite=window._satellite||{},window._satellite.container={buildInfo:{minified:!0,buildDate:"2021-03-05T13:16:31Z",environment:"production",turbineBuildDate:"2021-02-01T22:48:08Z",turbineVersion:"27.1.0"},dataElements:{"Auto Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.auto.page"}},"digitalData.process.legalAcceptance.isTermsAndConditionsChecked":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.process.legalAcceptance.isTermsAndConditionsChecked"}},"digitalData.page.pageInfo.fullURL":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.fullURL"}},timestamp:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=new Date,t=e.getUTCMonth(),a=e.getUTCDate(),n=e.getUTCHours(),i=e.getUTCMinutes(),r=e.getUTCSeconds();return t=(t<9?"0":"")+(t+1),a=(a<10?"0":"")+a,n=(n<10?"0":"")+n,i=(i<10?"0":"")+i,r=(r<10?"0":"")+r,e.getFullYear()+"-"+t+"-"+a+"T"+n+":"+i+":"+r+"Z"}}},"digitalData.page.pageInfo.breadCrumbs":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.breadCrumbs"}},"digitalData.application.applicationVersion":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.application.applicationVersion"}},"digitalData.user.gender":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.gender"}},"digitalData.quote.coverage.objects.vehicle.firstRegistrationDate":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-erstinverkehrsetzung","ga-mr-custdim-erstinverkehrsetzung"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"object"==typeof window.digitalData.quote.coverage.objects.vehicle&&null!==window.digitalData.quote.coverage.objects.vehicle.firstRegistrationDate?window.digitalData.quote.coverage.objects.vehicle.firstRegistrationDate:e()}}},"digitalData.page.pageInfo.URLqueryParams":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.URLqueryParams"}},"digitalData.page.attributes":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes"}},"Reise Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.reise.page"}},"digitalData.application.applicationId":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.application.applicationId"}},"digitalData.transaction.totalPrice":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.transaction.totalPrice"}},"digitalData.quote.product.premiumData3":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVar("DataLayerHelper-productPremiumData3")}}},"digitalData.quote.product.premiumData1":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVar("DataLayerHelper-productPremiumData1")}}},"digitalData.quote.precaution.residencePermit":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-residencePermit"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.residencePermit?window.digitalData.quote.precaution.residencePermit:e()}}},"digitalData.quote.coverage.persons.numberOfPersonsUnder15":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-khh-custdim-anzahl-kinder-unter-15"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n.toString()}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.persons&&"undefined"!=typeof window.digitalData.quote.coverage.persons.numberOfPersonsUnder15?window.digitalData.quote.coverage.persons.numberOfPersonsUnder15:e()}}},"digitalData.page.attributes.trackingCode":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes.trackingCode"}},"digitalData.page.attributes.context":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes.context"}},"Combined Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.combo.page"}},"digitalData.quote.precaution.type":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-pensions-typ"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.type?window.digitalData.quote.precaution.type:e()}}},"digitalData.page.pageInfo.siteSection2":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.siteSection2"}},"digitalData.forms.stepNumber":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.forms.stepNumber"}},"digitalData.page.pageInfo.language":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.language"}},"digitalData.user.age":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-alter","ga-mr-custdim-alter","ga-cap-custdim-alter","ga-el-custdim-alter","ga-khh-custdim-alter","ga-reise-custdim-alter"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.user&&"undefined"!=typeof window.digitalData.user.age?window.digitalData.user.age:e()}}},"Disability Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.dis.page"}},"digitalData.page.pageInfo.pageName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.pageName"}},"digitalData.search.searchTerm":{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.search.searchTerm"}},"digitalData.product.subCategory":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.product.subCategory"}},"digitalData.application.virtualPageName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.application.virtualPageName"}},"digitalData.page.attributes.runmode":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes.runmode"}},"digitalData.event.type":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.getVar("DataLayerHelper-interaction");return window.digitalData.event.type||e.target}}},"digitalData.page.pageInfo.performance.network":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.performance.network"}},"digitalData.user.userId":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.user.userId"}},"digitalData.quote.product.premiumData":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){var e=_satellite.getVar("DataLayerHelper-productPremiumData1"),t=_satellite.getVar("DataLayerHelper-productPremiumData2"),a=_satellite.getVar("DataLayerHelper-productPremiumData3");return["number"==typeof e.transactionRevenue?e.transactionRevenue:"","number"==typeof t.transactionRevenue?t.transactionRevenue:"","number"==typeof a.transactionRevenue?a.transactionRevenue:""].join("|")}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.product&&"undefined"!=typeof window.digitalData.quote.product.premiumData?window.digitalData.quote.product.premiumData:e()}}},browser:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return navigator.userAgent}}},"digitalData.page.pageInfo.performance.render":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.performance.render"}},"digitalData.forms.name":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.forms.name"}},"digitalData.user.thirdPartyId":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.thirdPartyId"}},"digitalData.transaction.policyhash":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.transaction.policyhash"}},"digitalData.page.pageInfo.performance.total":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.performance.total"}},"digitalData.page.attributes.pageTemplate":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes.pageTemplate"}},referringURL:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"document.referrer"}},"digitalData.page.attributes.authoring":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.attributes.authoring"}},"digitalData.marketingCampaign.external.mailID":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.marketingCampaign.external.mailID"}},digitalData:{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData"}},"digitalData.quote.policyHolderMedicalHistory":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-policyHolderMedicalHistory"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.policyHolderMedicalHistory?window.digitalData.quote.policyHolderMedicalHistory:e()}}},"digitalData.quote.coverage.objects.building.houseType":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-khh-custdim-haus-typ"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return"M"==n?"Mehrfamilienhaus":"E"==n?"Einfamilienhaus":"F"==n?"Ferienhaus/Zweitwohnung":n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.building&&"undefined"!=typeof window.digitalData.quote.coverage.objects.building.houseType?window.digitalData.quote.coverage.objects.building.houseType:e()}}},"digitalData.quote.product.premiumData2":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVar("DataLayerHelper-productPremiumData2")}}},"digitalData.quote.coverage.persons.numberOfPersons":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-khh-custdim-anzahl-personen"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.persons&&"undefined"!=typeof window.digitalData.quote.coverage.persons.numberOfPersons?window.digitalData.quote.coverage.persons.numberOfPersons:e()}}},"digitalData.event.label":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.getVar("DataLayerHelper-interaction");return window.digitalData.event.label||e.action}}},"digitalData.page.pageInfo.siteSection1":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.siteSection1"}},"digitalData.forms.error":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.forms.error"}},"digitalData.quote.precaution.disabilitySumInsured":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-generalDisabilitySumInsured"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.disabilitySumInsured?window.digitalData.quote.precaution.disabilitySumInsured:e()}}},"digitalData.intermediary.type":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.intermediary.type"}},"digitalData.form.stepName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.form.stepName"}},"digitalData.page.pageInfo.performance.aggregated":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.performance.aggregated"}},"digitalData.page.attributes.contentDeliveryNetwork":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return"object"==typeof window.digitalData&&"object"==typeof window.digitalData.page&&"object"==typeof window.digitalData.page.attributes&&"string"==typeof window.digitalData.page.attributes.contentDeliveryNetwork?window.digitalData.page.attributes.contentDeliveryNetwork:""}}},"digitalData.form.name":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.form.name"}},"digitalData.user.nationality":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-nationalitaet","ga-mr-custdim-nationalitaet","ga-cap-custdim-nationalitaet","ga-el-custdim-nationality","ga-khh-custdim-nationalitaet","ga-reise-custdim-nationalitaet"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n){if("string"==typeof n)return n;if("object"==typeof n&&"string"==typeof n.key)return n.key}}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.user&&"undefined"!=typeof window.digitalData.user.nationality?window.digitalData.user.nationality:"undefined"!=typeof $multiOffer&&"undefined"!=typeof $multiOffer.values&&"undefined"!=typeof $multiOffer.values.policyHolder_nationality&&"object"==typeof $multiOffer.values.policyHolder_nationality.value&&null!==$multiOffer.values.policyHolder_nationality.value&&"string"==typeof $multiOffer.values.policyHolder_nationality.value.key?$multiOffer.values.policyHolder_nationality.value.key:e()}}},"digitalData.product.id":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.product.id"}},"digitalData.user.city":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-wohnort","ga-mr-custdim-wohnort","ga-cap-custdim-wohnort","ga-el-custdim-wohnort","ga-khh-custdim-wohnort","ga-reise-custdim-wohnort"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return 0<=n.indexOf(" ")?n.slice(n.indexOf(" ")+1):n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.user&&"undefined"!=typeof window.digitalData.user.city?window.digitalData.user.city:e()}}},"digitalData.quote.coverage.objects.vehicle[n].model":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-mr-custdim-motorrad-marke-modell-typ","ga-custdim-auto-marke-modell-typ"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n){if("object"==typeof window.AZCH_Config&&"object"==typeof window.AZCH_Config.vehicles&&"object"==typeof window.AZCH_Config.vehicles.carList&&Array.isArray(window.AZCH_Config.vehicles.carList)){var i=window.AZCH_Config.vehicles.carList,r=0;for(r=0;r<i.length;r++)if(-1<n.indexOf(i[r]))return n.split(i[r])[1].trim()}if("object"==typeof window.AZCH_Config&&"object"==typeof window.AZCH_Config.vehicles&&"object"==typeof window.AZCH_Config.vehicles.motoList&&Array.isArray(window.AZCH_Config.vehicles.motoList)){var o=window.AZCH_Config.vehicles.motoList;for(r=r=0;r<o.length;r++)if(-1<n.indexOf(o[r]))return n.split(o[r])[1].trim()}return n}}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle.model?window.digitalData.quote.coverage.objects.vehicle.model:e()}}},"digitalData.user.tntId":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.tntId"}},"digitalData.error.code":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.error.code"}},"digitalData.search.searchResults":{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.search.searchResults"}},"digitalData.user.consent.isSocialAllowed":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.consent.isSocialAllowed"}},"GA - DLV - angularticsEventAction":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"action"}},"digitalData.event.value":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.event.value"}},"digitalData.error.type":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.error.type"}},"digitalData.page.pageInfo.referringURL":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.referringURL"}},domain:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return window.location.hostname}}},dataLayer:{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"dataLayer"}},"digitalData.quote.policyHolderSmoker":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-policyHolderSmoker"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.policyHolderSmoker?window.digitalData.quote.policyHolderSmoker:e()}}},"digitalData.page.pageInfo.server":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.pageInfo.server"}},"digitalData.user.birthyear":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){if("undefined"!=typeof $multiOffer&&"undefined"!=typeof $multiOffer.values.policyHolder_dateOfBirth.value)return $multiOffer.values.policyHolder_dateOfBirth.value.substring(0,4)}}},"digitalData.application.applicationName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.application.applicationName"}},"digitalData.page.attributes.version":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.page.attributes.version"}},"digitalData.product.price.value":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.product.price.value"}},"digitalData.search.numberOfResults":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.search.numberOfResults"}},"Death Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.death.page"}},"digitalData.page.pageInfo.hostname":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.hostname"}},"SSL Tracking Server":{defaultValue:"azswitzerland.d3.sc.omtrdc.net",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(window.location.hostname.split(".").reverse()[1]){case"allianz":return"collect.allianz.ch";case"elvia":return"collect.elvia.ch";case"allianzcinema":return"collect.allianzcinema.ch";case"allianzdriveincinema":return"collect.allianzdriveincinema.ch";case"cap":return"collect.cap.ch";case"allianzglobalinvestors-service":return"collect.allianzglobalinvestors-service.ch";default:return"azswitzerland.d3.sc.omtrdc.net"}}}},"digitalData.product.name":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.product.name"}},"Legal Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.legal.page"}},"digitalData.user.geo.country":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.geo.country"}},"digitalData.page.pageInfo.pageId":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.pageId"}},"digitalData.quote.policyHolderOccupation":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-policyHolderOccupation"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.policyHolderOccupation?window.digitalData.quote.policyHolderOccupation:e()}}},"Haus Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.haus.page"}},"digitalData.user.geo.state":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.geo.state"}},"digitalData.quote.policyHolderWeight":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-policyHolderWeight"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.policyHolderWeight?window.digitalData.quote.policyHolderWeight:e()}}},"digitalData.user.profileId":{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.profileId"}},"digitalData.quote.coverage.objects.building.numberOfRooms":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-khh-custdim-anzahl-zimmer"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.building&&"undefined"!=typeof window.digitalData.quote.coverage.objects.building.numberOfRooms?window.digitalData.quote.coverage.objects.building.numberOfRooms:e()}}},"Auto Calculator digitalData - event":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.track"}},"digitalData.intermediary.name":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.intermediary.name"}},"digitalData.page.attributes.lastModifiedDate":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes.lastModifiedDate"}},"digitalData.quote.precaution.premiumWaitingPeriod":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-exemptionFromPaymentOfPremiumWaitingPeriod"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.premiumWaitingPeriod?window.digitalData.quote.precaution.premiumWaitingPeriod:e()}}},"digitalData.quote.product.subCategory":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-cap-custdim-versicherungstyp","ga-khh-custdim-versicherung-typ","ga-reise-custdim-versicherungstyp","ga-el-custdim-produkt"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.product&&"undefined"!=typeof window.digitalData.quote.product.subCategory?window.digitalData.quote.product.subCategory:e()}}},mcid:{defaultValue:"",modulePath:"adobe-mcid/src/lib/dataElements/ecid.js",settings:{}},"digitalData.quote.product.bundleVariation":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-angebot","ga-mr-custdim-angebot","ga-cap-custdim-angebot","ga-khh-custdim-angebot","ga-reise-custdim-angebot","ga-el-custdim-produkt"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n){var i="",r=window.location.href;return 0<=r.indexOf("/asu_momf-gui/")?i="_mf":0<=r.indexOf("/asu_momr-gui/")?i="_mr":0<=r.indexOf("/asu_mors-gui/")?i="_rs":0<=r.indexOf("/asu_mocap-gui/")?i="_cap":0<=r.indexOf("/asu_moel-gui/")&&(0<=r.indexOf("/tod")?i="_tod":0<=r.indexOf("/eu")?i="_eu":0<=r.indexOf("/combo")&&(i="_combo")),n+i}}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.product&&"undefined"!=typeof window.digitalData.quote.product.bundleVariation?window.digitalData.quote.product.bundleVariation:e()}}},"digitalData.page.pageInfo.destinationURL":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.destinationURL"}},"digitalData.user.geo.city":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.geo.city"}},"digitalData.event.action":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){var e=_satellite.getVar("DataLayerHelper-interaction");return window.digitalData.event.action||e.event||"interaction"}}},"digitalData.quote.coverage.objects.vehicle.value":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-auto-preis","ga-mr-custdim-motorrad-preis","ga-mr-custdim-auto-preis"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle.value?window.digitalData.quote.coverage.objects.vehicle.value:e()}}},"digitalData.engagement.pageScrollDepth":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.engagement.pageScrollDepth"}},"digitalData.engagement.rating":{defaultValue:"",storageDuration:"pageview",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.engagement.rating"}},"digitalData.forms.stepName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.forms.stepName"}},"digitalData.error.message":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.error.message"}},"digitalData.quote.precaution.deathSumInsured":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-deathSumInsured"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(
void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.deathSumInsured?window.digitalData.quote.precaution.deathSumInsured:e()}}},"digitalData.quote.coverage.objects.vehicle.category":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-kategorie","ga-mr-custdim-kategorie"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle.category?window.digitalData.quote.coverage.objects.vehicle.category:e()}}},"digitalData.product.price":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["EECpurchase","EECoffer","productPremiumData"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a.transactionRevenue||a.ecommerce.purchase.actionField.revenue;if("number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.product&&"undefined"!=typeof window.digitalData.product.price?window.digitalData.product.price:e()}}},device:{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return navigator.userAgent}}},"digitalData.quote.precaution.paymentFrequency":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-paymentFrequency"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.paymentFrequency?window.digitalData.quote.precaution.paymentFrequency:e()}}},"digitalData.product":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.product"}},"digitalData.user.login.lastLoginDate":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.login.lastLoginDate"}},"Tracking Server":{defaultValue:"azswitzerland.d3.sc.omtrdc.net",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){switch(window.location.hostname.split(".").reverse()[1]){case"allianz":return"collect2.allianz.ch";case"elvia":return"collect2.elvia.ch";case"cap":return"collect2.cap.ch";case"allianzcinema":return"collect2.allianzcinema.ch";case"allianzdriveincinema":return"collect2.allianzdriveincinema.ch";case"allianzglobalinvestors-service":return"collect2.allianzglobalinvestors-service.ch";default:return"azswitzerland.d3.sc.omtrdc.net"}}}},"digitalData.page.attributes.organisationalEntity":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.attributes.organisationalEntity"}},"digitalData.quote.coverage.objects.vehicle[n].make":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-mr-custdim-motorrad-marke-modell-typ","ga-custdim-auto-marke-modell-typ"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n){var i=-1;if("object"==typeof window.AZCH_Config&&"object"==typeof window.AZCH_Config.vehicles&&"object"==typeof window.AZCH_Config.vehicles.carList&&Array.isArray(window.AZCH_Config.vehicles.carList)){var r=window.AZCH_Config.vehicles.carList;for(i=0;i<r.length;i++)if(-1<n.indexOf(r[i]))return r[i]}if("object"==typeof window.AZCH_Config&&"object"==typeof window.AZCH_Config.vehicles&&"object"==typeof window.AZCH_Config.vehicles.motoList&&Array.isArray(window.AZCH_Config.vehicles.motoList)){var o=window.AZCH_Config.vehicles.motoList;for(i=0;i<o.length;i++)if(-1<n.indexOf(o[i]))return o[i]}return n}}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle.make?window.digitalData.quote.coverage.objects.vehicle.make:e()}}},"digitalData.user.staff":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.user.staff"}},"digitalData.engagement.shareNetwork":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.engagement.shareNetwork"}},"digitalData.quote.precaution.dateOfInceptionOfInsuranceCoverage":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-dateOfInceptionOfInsuranceCoverage"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.dateOfInceptionOfInsuranceCoverage?window.digitalData.quote.precaution.dateOfInceptionOfInsuranceCoverage:e()}}},"digitalData.page.previousPage.pageInfo.pageName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.previousPage.pageInfo.pageName"}},"digitalData.user.consent.preferedCommunication":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.consent.preferedCommunication"}},"digitalData.page.previousPage":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.previousPage"}},"digitalData.transaction.uniqueTransactionId":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["EECpurchase","EECoffer"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a.ecommerce.purchase.actionField.id;if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.transaction&&"undefined"!=typeof window.digitalData.transaction.uniqueTransactionId?window.digitalData.transaction.uniqueTransactionId:e()}}},"digitalData.user.targetActivityName":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.targetActivityName"}},"digitalData.quote.coverage.objects.coverageType":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-reise-custdim-versicherungstyp","ga-cap-custdim-versicherungstyp"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.coverageType?window.digitalData.quote.coverage.objects.coverageType:e()}}},"digitalData.quote.coverage.objects.vehicle.isLeasing":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-leasing","ga-mr-custdim-leasing"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return"Nein"!==n&&("Ja"===n||n)}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle.isLeasing?window.digitalData.quote.coverage.objects.vehicle.isLeasing:e()}}},"digitalData.page.pageInfo.siteSection":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.siteSection"}},"digitalData.quote.precaution.disabilityAccidentInsurance":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-generalDisabilityAccidentInsurance"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.disabilityAccidentInsurance?window.digitalData.quote.precaution.disabilityAccidentInsurance:e()}}},"digitalData.product.primaryCategory":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.product.primaryCategory"}},"digitalData.quote.policyHolderHeight":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-policyHolderHeight"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.policyHolderHeight?window.digitalData.quote.policyHolderHeight:e()}}},"digitalData.application.name":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.application.name"}},ConsentGroupPerformance:{defaultValue:"false",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.omcore_gdpr_consent_targeting"}},"digitalData.user.company":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.company"}},"digitalData.user.type":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.user.type"}},"digitalData.marketingCampaign.external.amoid":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.marketingCampaign.external.amoid"}},"Moto Calculator digitalData - page":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.calculator.moto.page"}},"digitalData.quote.coverage.persons.gender":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-geschlecht","ga-mr-custdim-geschlecht","ga-khh-custdim-geschlecht","ga-reise-custdim-geschlecht","ga-cap-custdim-geschlecht","ga-el-custdim-geschlecht","ga-el-custdim-gender"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return"M"===n?"male":"W"===n?"female":n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.persons&&"undefined"!=typeof window.digitalData.quote.coverage.persons.gender?window.digitalData.quote.coverage.persons.gender:e()}}},"digitalData.transaction.type":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.transaction.type"}},"digitalData.page.pageInfo.timeSpent":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVar("DataLayerHelper-Riveted").eventLabel||""}}},"digitalData.user.emailId ":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.user.emailId"}},"digitalData.user.visitorId":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){return _satellite.getVisitorId().getMarketingCloudVisitorID()}}},"digitalData.quote.precaution.ageAtPayout":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-el-custdim-ageAtPayout"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"number"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.precaution&&"undefined"!=typeof window.digitalData.quote.precaution.ageAtPayout?window.digitalData.quote.precaution.ageAtPayout:e()}}},"digitalData.quote.coverage.objects.vehicle.make":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"digitalData.quote.coverage.objects.vehicle.make"}},"digitalData.page.pageInfo.title":{defaultValue:"",modulePath:"core/src/lib/dataElements/javascriptVariable.js",settings:{path:"window.digitalData.page.pageInfo.title"}},"digitalData.user.zip":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-custdim-wohnort","ga-mr-custdim-wohnort","ga-cap-custdim-wohnort","ga-el-custdim-wohnort","ga-khh-custdim-wohnort","ga-reise-custdim-wohnort"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return 0<=n.indexOf(" ")?n.split(" ")[0]:n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.user&&"undefined"!=typeof window.digitalData.user.zip?window.digitalData.user.zip:e()}}},"SearchExpression trigger (URL Param)":{defaultValue:"",storageDuration:"session",modulePath:"core/src/lib/dataElements/queryStringParameter.js",settings:{name:"query"}},"digitalData.quote.coverage.objects.vehicle[n].modelType":{defaultValue:"",modulePath:"core/src/lib/dataElements/customCode.js",settings:{source:function(){function e(){for(var e=["ga-mr-custdim-motorrad-marke-modell-typ","ga-custdim-auto-marke-modell-typ"],t=0;t<e.length;t++){var a=_satellite.getVar("DataLayerHelper-"+e[t]);if(void 0!==a){var n=a[e[t]+"-value"];if(void 0!==n&&"string"==typeof n)return n}}return""}return"undefined"!=typeof window.digitalData&&"undefined"!=typeof window.digitalData.quote&&"undefined"!=typeof window.digitalData.quote.coverage&&"undefined"!=typeof window.digitalData.quote.coverage.objects&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle&&"undefined"!=typeof window.digitalData.quote.coverage.objects.vehicle.modelType?window.digitalData.quote.coverage.objects.vehicle.modelType:e()}}}},extensions:{"adobe-contexthub":{displayName:"Adobe ContextHub",modules:{},settings:{dataSchemaType:"default"},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP76cc9a1cb360441db5c7bfb163c22e2b/"},core:{displayName:"Core",modules:{"core/src/lib/dataElements/javascriptVariable.js":{name:"javascript-variable",displayName:"JavaScript Variable",script:function(e,t,a){"use strict";var n=a("../helpers/getObjectProperty.js");e.exports=function(e){return n(window,e.path)}}},"core/src/lib/dataElements/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source(t)}}},"core/src/lib/dataElements/queryStringParameter.js":{name:"query-string-parameter",displayName:"Query String Parameter",script:function(e,t,a){"use strict";var o=a("@adobe/reactor-window"),s=a("@adobe/reactor-query-string");e.exports=function(e){var t=s.parse(o.location.search);if(!e.caseInsensitive)return t[e.name];for(var a=e.name.toLowerCase(),n=Object.keys(t),i=0;i<n.length;i++){var r=n[i];if(r.toLowerCase()===a)return t[r]}}}},"core/src/lib/actions/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e,t,a,r){"use strict";var o,n,i,s,l=a("@adobe/reactor-document"),c=a("@adobe/reactor-promise"),u=a("./helpers/decorateCode"),d=a("./helpers/loadCodeSequentially"),g=a("../../../node_modules/postscribe/dist/postscribe"),p=a("./helpers/unescapeHtmlCode"),f=(n=function(e){g(l.body,e,{beforeWriteToken:function(t){var e=t.tagName&&t.tagName.toLowerCase();return o&&"script"===e&&(t.attrs.nonce=o),"script"!==e&&"style"!==e||(Object.keys(t.attrs||{}).forEach(function(e){t.attrs[e]=p(t.attrs[e])}),t.src&&(t.src=p(t.src))),t},error:function(e){r.logger.error(e.msg)}})},i=[],s=function(){if(l.body)for(;i.length;)n(i.shift());else setTimeout(s,20)},function(e){i.push(e),s()}),m=function(){if(l.currentScript)return l.currentScript.async;for(var e=l.querySelectorAll("script"),t=0;t<e.length;t++){var a=e[t];if(/(launch|satelliteLib)-[^\/]+.js(\?.*)?$/.test(a.src))return a.async}return!0}();e.exports=function(e,t){var a;o=r.getExtensionSettings().cspNonce;var n={settings:e,event:t},i=n.settings.source;if(i)return n.settings.isExternal?d(i).then(function(e){return e?(a=u(n,e),f(a.code),a.promise):c.resolve()}):(a=u(n,i),m||"loading"!==l.readyState?f(a.code):l.write&&!1===r.propertySettings.ruleComponentSequencingEnabled?l.write(a.code):f(a.code),a.promise)}}},"core/src/lib/events/directCall.js":{name:"direct-call",displayName:"Direct Call",script:function(e,t,a,r){"use strict";var o={};window._satellite=window._satellite||{},window._satellite.track=function(e,t){e=e.trim();var a=o[e];if(a){var n={identifier:e,detail:t};a.forEach(function(e){e(n)});var i=['Rules using the direct call event type with identifier "'+e+'" have been triggered'+(t?" with additional detail:":".")];t&&i.push(t),r.logger.log.apply(r.logger,i)}else r.logger.log('"'+e+'" does not match any direct call identifiers.')},e.exports=function(e,t){var a=o[e.identifier];a||(a=o[e.identifier]=[]),a.push(t)}}},"core/src/lib/conditions/pathAndQuerystring.js":{name:"path-and-querystring",displayName:"Path And Query String",script:function(e,t,a){"use strict";var n=a("@adobe/reactor-document"),i=a("../helpers/textMatch");e.exports=function(e){var a=n.location.pathname+n.location.search;return e.paths.some(function(e){var t=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return i(a,t)})}}},"core/src/lib/conditions/path.js":{name:"path",displayName:"Path Without Query String",script:function(e,t,a){"use strict";var n=a("@adobe/reactor-document"),i=a("../helpers/textMatch");e.exports=function(e){var a=n.location.pathname;return e.paths.some(function(e){var t=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return i(a,t)})}}},"core/src/lib/events/libraryLoaded.js":{name:"library-loaded",displayName:"Library Loaded (Page Top)",script:function(e,t,a){"use strict";var n=a("./helpers/pageLifecycleEvents");e.exports=function(e,t){n.registerLibraryLoadedTrigger(t)}}},"core/src/lib/conditions/variable.js":{name:"variable",displayName:"Variable",script:function(e,t,a){"use strict";var n=a("../helpers/getObjectProperty"),i=a("../helpers/textMatch");e.exports=function(e){var t=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return i(n(window,e.name),t)}}},"core/src/lib/events/customEvent.js":{name:"custom-event",displayName:"Custom Event",script:function(e,t,a){"use strict";var n=a("./helpers/createBubbly")(),i=[];e.exports=function(e,t){var a=e.type;-1===i.indexOf(a)&&(i.push(a),window.addEventListener(a,n.evaluateEvent,!0)),n.addListener(e,function(e){e.nativeEvent.type===a&&(e.detail=e.nativeEvent.detail,t(e))})}}},"core/src/lib/conditions/domain.js":{name:"domain",displayName:"Domain",script:function(e,t,a){"use strict";var n=a("@adobe/reactor-document"),i=/[|\\{}()[\]^$+*?.-]/g,r=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(i,"\\$&")};e.exports=function(e){var t=n.location.hostname;return e.domains.some(function(e){return t.match(new RegExp("(^|\\.)"+r(e)+"$","i"))})}}},"core/src/lib/events/windowLoaded.js":{name:"window-loaded",displayName:"Window Loaded",script:function(e,t,a){"use strict";var n=a("./helpers/pageLifecycleEvents");e.exports=function(e,t){n.registerWindowLoadedTrigger(t)}}},"core/src/lib/conditions/customCode.js":{name:"custom-code",displayName:"Custom Code",script:function(e){"use strict";e.exports=function(e,t){return e.source.call(t.element,t,t.target)}}},"core/src/lib/events/dataElementChange.js":{name:"data-element-change",displayName:"Data Element Change",script:function(e,t,a,i){"use strict";var r={},o={};setInterval(function(){Object.keys(r).forEach(function(e){var t=JSON.stringify(i.getDataElementValue(e));if(t!==o[e]){var a={dataElementName:e};r[e].forEach(function(e){e(a)}),o[e]=t}})},1e3),e.exports=function(e,t){var a=e.name,n=r[a];n||(n=r[a]=[],o[a]=JSON.stringify(i.getDataElementValue(a))),n.push(t)}}},"core/src/lib/events/pageBottom.js":{name:"page-bottom",displayName:"Page Bottom",script:function(e,t,a){"use strict";var n=a("./helpers/pageLifecycleEvents");e.exports=function(e,t){n.registerPageBottomTrigger(t)}}},"core/src/lib/events/domReady.js":{name:"dom-ready",displayName:"DOM Ready",script:function(e,t,a){"use strict";var n=a("./helpers/pageLifecycleEvents");e.exports=function(e,t){n.registerDomReadyTrigger(t)}}},"core/src/lib/conditions/valueComparison.js":{name:"value-comparison",displayName:"Value Comparison",script:function(e){"use strict";var n=function(e){return"number"==typeof e&&isFinite(e)},i=function(e){return"string"==typeof e||e instanceof String},r=function(e,t){return t&&i(e)?e.toLowerCase():e},o=function(e){return n(e)?String(e):e},s=function(e){return i(e)?Number(e):e},t=function(n){return function(e,t,a){return e=o(e),t=o(t),i(e)&&i(t)&&n(e,t,a)}},a=function(a){return function(e,t){return e=s(e),t=s(t),n(e)&&n(t)&&a(e,t)}},l=function(n){return function(e,t,a){return n(r(e,a),r(t,a))}},c={equals:l(function(e,t){return e==t}),doesNotEqual:function(){return!c.equals.apply(null,arguments)},contains:t(l(function(e,t){return-1!==e.indexOf(t)})),doesNotContain:function(){return!c.contains.apply(null,arguments)},startsWith:t(l(function(e,t){return 0===e.indexOf(t)})),doesNotStartWith:function(){return!c.startsWith.apply(null,arguments)},endsWith:t(l(function(e,t){return e.substring(e.length-t.length,e.length)===t})),doesNotEndWith:function(){return!c.endsWith.apply(null,arguments)},matchesRegex:t(function(e,t,a){return new RegExp(t,a?"i":"").test(e)}),doesNotMatchRegex:function(){return!c.matchesRegex.apply(null,arguments)},lessThan:a(function(e,t){return e<t}),lessThanOrEqual:a(function(e,t){return e<=t}),greaterThan:a(function(e,t){return t<e}),greaterThanOrEqual:a(function(e,t){return t<=e}),isTrue:function(e){return!0===e},isTruthy:function(e){return Boolean(e)},isFalse:function(e){return!1===e},isFalsy:function(e){return!e}};e.exports=function(e){return c[e.comparison.operator](e.leftOperand,e.rightOperand,Boolean(e.comparison.caseInsensitive))}}},"core/src/lib/conditions/hash.js":{name:"hash",displayName:"Hash",script:function(e,t,a){"use strict";var n=a("../helpers/textMatch");e.exports=function(e){var a=document.location.hash;return e.hashes.some(function(e){var t=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return n(a,t)})}}},"core/src/lib/helpers/getObjectProperty.js":{script:function(e){"use strict";e.exports=function(e,t){for(var a=t.split("."),n=e,i=0,r=a.length;i<r;i++){if(null==n)return undefined;n=n[a[i]]}return n}}},"core/src/lib/actions/helpers/decorateCode.js":{script:function(e,t,a){"use strict";var n=a("./decorators/decorateGlobalJavaScriptCode"),i=a("./decorators/decorateNonGlobalJavaScriptCode"),r={javascript:function(e,t){return e.settings.global?n(e,t):i(e,t)},html:a("./decorators/decorateHtmlCode")};e.exports=function(e,t){return r[e.settings.language](e,t)}}},"core/src/lib/actions/helpers/loadCodeSequentially.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-promise"),i=a("./getSourceByUrl"),r=n.resolve();e.exports=function(t){var e=new n(function(a){var e=i(t);n.all([e,r]).then(function(e){var t=e[0];a(t)})});return r=e}}},"core/node_modules/postscribe/dist/postscribe.js":{script:function(a,n){!function i(e,t){"object"==typeof n&&"object"==typeof a?a.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof n?n.postscribe=t():e.postscribe=t()}(this,function(){return function(a){function n(e){if(i[e])return i[e].exports;var t=i[e]={exports:{},id:e,loaded:!1};return a[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var i={};return n.m=a,n.c=i,n.p="",n(0)}([function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var i=n(a(1));e.exports=i["default"]},function(e,t,a){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function c(){}function u(){var e=l.shift();if(e){var t=o.last(e);t.afterDequeue(),e.stream=r.apply(undefined,e),t.afterStreamStart()}}function r(e,t,n){function i(e){e=n.beforeWrite(e),m.write(e),n.afterWrite(e)}(m=new p["default"](e,n)).id=f++,m.name=n.name||m.id,d.streams[m.name]=m;var a=e.ownerDocument,r={close:a.close,open:a.open,write:a.write,writeln:a.writeln};g(a,{close:c,open:c,write:function s(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return i(t.join(""))},writeln:function l(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return i(t.join("")+"\n")}});var o=m.win.onerror||c;return m.win.onerror=function(e,t,a){n.error({msg:e+" - "+t+": "+a}),o.apply(m.win,[e,t,a])},m.write(t,function(){g(a,r),m.win.onerror=o,n.done(),m=null,u()}),m}function d(e,t,a){if(o.isFunction(a))a={done:a};else if("clear"===a)return l=[],m=null,void(f=0);a=o.defaults(a,s);var n=[e=/^#/.test(e)?window.document.getElementById(e.substr(1)):e.jquery?e[0]:e,t,a];return e.postscribe={cancel:function i(){n.stream?n.stream.abort():n[1]=c}},a.beforeEnqueue(n),l.push(n),m||u(),e.postscribe}t.__esModule=!0;var g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e};t["default"]=d;var p=i(a(2)),o=n(a(4)),s={afterAsync:c,afterDequeue:c,afterStreamStart:c,afterWrite:c,autoFix:!0,beforeEnqueue:c,beforeWriteToken:function v(e){return e},beforeWrite:function h(e){return e},done:c,error:function b(e){throw new Error(e.msg)},releaseAsync:!1},f=0,l=[],m=null;g(d,{streams:{},queue:l,WriteStream:p["default"]})},function(e,t,a){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t["default"]=e,t}function i(e){return e&&e.__esModule?e:{"default":e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(e,t){var a=C+t,n=e.getAttribute(a);return k.existy(n)?String(n):n}function D(e,t,a){var n=2<arguments.length&&a!==undefined?arguments[2]:null,i=C+t;k.existy(n)&&""!==n?e.setAttribute(i,n):e.removeAttribute(i)}t.__esModule=!0;var I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},P=i(a(3)),k=n(a(4)),j=!1,C="data-ps-",_="ps-style",V="ps-script",r=function(){function n(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:{};y(this,n),this.root=e,this.options=a,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new P["default"]("",{autoFix:a.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],D(this.proxyRoot,"proxyof",0)}return n.prototype.write=function a(){var e;for((e=this.writeQueue).push.apply(e,arguments);!this.deferredRemote&&this.writeQueue.length;){var t=this.writeQueue.shift();k.isFunction(t)?this._callFunction(t):this._writeImpl(t)}},n.prototype._callFunction=function i(e){var t={type:"function",value:e.name||e.toString()};this._onScriptStart(t),e.call(this.win,this.doc),this._onScriptDone(t)},n.prototype._writeImpl=function r(e){this.parser.append(e);for(var t=void 0,a=void 0,n=void 0,i=[];(t=this.parser.readToken())&&!(a=k.isScript(t))&&!(n=k.isStyle(t));)(t=this.options.beforeWriteToken(t))&&i.push(t);0<i.length&&this._writeStaticTokens(i),a&&this._handleScriptToken(t),n&&this._handleStyleToken(t)},n.prototype._writeStaticTokens=function o(e){var t=this._buildChunk(e);return t.actual?(t.html=this.proxyHistory+t.actual,this.proxyHistory+=t.proxy,this.proxyRoot.innerHTML=t.html,j&&(t.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),j&&(t.actualInnerHTML=this.root.innerHTML),t):null},n.prototype._buildChunk=function u(e){for(var t=this.actuals.length,a=[],n=[],i=[],r=e.length,o=0;o<r;o++){var s=e[o],l=s.toString();if(a.push(l),s.attrs){if(!/^noscript$/i.test(s.tagName)){var c=t++;n.push(l.replace(/(\/?>)/," "+C+"id="+c+" $1")),s.attrs.id!==V&&s.attrs.id!==_&&i.push("atomicTag"===s.type?"":"<"+s.tagName+" "+C+"proxyof="+c+(s.unary?" />":">"))}}else n.push(l),i.push("endTag"===s.type?l:"")}return{tokens:e,raw:a.join(""),actual:n.join(""),proxy:i.join("")}},n.prototype._walkChunk=function s(){for(var e=void 0,t=[this.proxyRoot];k.existy(e=t.shift());){var a=1===e.nodeType;if(!a||!w(e,"proxyof")){a&&D(this.actuals[w(e,"id")]=e,"id");var n=e.parentNode&&w(e.parentNode,"proxyof");n&&this.actuals[n].appendChild(e)}t.unshift.apply(t,k.toArray(e.childNodes))}},n.prototype._handleScriptToken=function l(e){var t=this,a=this.parser.clear();a&&this.writeQueue.unshift(a),e.src=e.attrs.src||e.attrs.SRC,(e=this.options.beforeWriteToken(e))&&(e.src&&this.scriptStack.length?this.deferredRemote=e:this._onScriptStart(e),this._writeScriptToken(e,function(){t._onScriptDone(e)}))},n.prototype._handleStyleToken=function c(e){var t=this.parser.clear();t&&this.writeQueue.unshift(t),e.type=e.attrs.type||e.attrs.TYPE||"text/css",(e=this.options.beforeWriteToken(e))&&this._writeStyleToken(e),t&&this.write()},n.prototype._writeStyleToken=function d(e){var t=this._buildStyle(e);this._insertCursor(t,_),e.content&&(t.styleSheet&&!t.sheet?t.styleSheet.cssText=e.content:t.appendChild(this.doc.createTextNode(e.content)))},n.prototype._buildStyle=function t(e){var a=this.doc.createElement(e.tagName);return a.setAttribute("type",e.type),k.eachKey(e.attrs,function(e,t){a.setAttribute(e,t)}),a},n.prototype._insertCursor=function g(e,t){this._writeImpl('<span id="'+t+'"/>');var a=this.doc.getElementById(t);a&&a.parentNode.replaceChild(e,a)},n.prototype._onScriptStart=function p(e){e.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(e)},n.prototype._onScriptDone=function f(e){e===this.scriptStack[0]?(this.scriptStack.shift(),this.write.apply(this,e.outerWrites),!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)):this.options.error({msg:"Bad script nesting or script finished twice"})},n.prototype._writeScriptToken=function m(e,t){var a=this._buildScript(e),n=this._shouldRelease(a),i=this.options.afterAsync;e.src&&(a.src=e.src,this._scriptLoadHandler(a,n?i:function(){t(),i()}));try{this._insertCursor(a,V),a.src&&!n||t()}catch(r){this.options.error(r),t()}},n.prototype._buildScript=function v(e){var a=this.doc.createElement(e.tagName);return k.eachKey(e.attrs,function(e,t){a.setAttribute(e,t)}),e.content&&(a.text=e.content),a},n.prototype._scriptLoadHandler=function h(t,a){function n(){t=t.onload=t.onreadystatechange=t.onerror=null}function i(){n(),null!=a&&a(),a=null}function r(e){n(),o(e),null!=a&&a(),a=null}function e(e,t){
var a=e["on"+t];null!=a&&(e["_on"+t]=a)}var o=this.options.error;e(t,"load"),e(t,"error"),I(t,{onload:function s(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){r({msg:"onload handler failed "+e+" @ "+t.src})}i()},onerror:function l(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void r({msg:"onerror handler failed "+e+" @ "+t.src})}r({msg:"remote script failed "+t.src})},onreadystatechange:function c(){/^(loaded|complete)$/.test(t.readyState)&&i()}})},n.prototype._shouldRelease=function b(e){return!/^script$/i.test(e.nodeName)||!!(this.options.releaseAsync&&e.src&&e.hasAttribute("async"))},n}();t["default"]=r},function(a){!function n(e,t){a.exports=t()}(0,function(){return function(a){function n(e){if(i[e])return i[e].exports;var t=i[e]={exports:{},id:e,loaded:!1};return a[e].call(t.exports,t,t.exports,n),t.loaded=!0,t.exports}var i={};return n.m=a,n.c=i,n.p="",n(0)}([function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}var i=n(a(1));e.exports=i["default"]},function(e,t,a){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t["default"]=e,t}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var d=i(a(2)),g=i(a(3)),p=n(a(6)),r=a(5),f={comment:/^<!--/,endTag:/^<\//,atomicTag:/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,startTag:/^</,chars:/^[^<]/},o=function(){function l(e,t){var a=this,n=0<arguments.length&&e!==undefined?arguments[0]:"",i=1<arguments.length&&t!==undefined?arguments[1]:{};u(this,l),this.stream=n;var r=!1,o={};for(var s in d)d.hasOwnProperty(s)&&(i.autoFix&&(o[s+"Fix"]=!0),r=r||o[s+"Fix"]);r?(this._readToken=(0,p["default"])(this,o,function(){return a._readTokenImpl()}),this._peekToken=(0,p["default"])(this,o,function(){return a._peekTokenImpl()})):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return l.prototype.append=function t(e){this.stream+=e},l.prototype.prepend=function a(e){this.stream=e+this.stream},l.prototype._readTokenImpl=function n(){var e=this._peekTokenImpl();if(e)return this.stream=this.stream.slice(e.length),e},l.prototype._peekTokenImpl=function i(){for(var e in f)if(f.hasOwnProperty(e)&&f[e].test(this.stream)){var t=g[e](this.stream);if(t)return"startTag"===t.type&&/script|style/i.test(t.tagName)?null:(t.text=this.stream.substr(0,t.length),t)}},l.prototype.peekToken=function e(){return this._peekToken()},l.prototype.readToken=function r(){return this._readToken()},l.prototype.readTokens=function o(e){for(var t=void 0;t=this.readToken();)if(e[t.type]&&!1===e[t.type](t))return},l.prototype.clear=function s(){var e=this.stream;return this.stream="",e},l.prototype.rest=function c(){return this.stream},l}();for(var s in(t["default"]=o).tokenToString=function(e){return e.toString()},o.escapeAttributes=function(e){var t={};for(var a in e)e.hasOwnProperty(a)&&(t[a]=(0,r.escapeQuotes)(e[a],null));return t},o.supports=d)d.hasOwnProperty(s)&&(o.browserHasFlaw=o.browserHasFlaw||!d[s]&&s)},function(e,t){"use strict";var a=!(t.__esModule=!0),n=!1,i=window.document.createElement("div");try{var r="<P><I></P></I>";i.innerHTML=r,t.tagSoup=a=i.innerHTML!==r}catch(o){t.tagSoup=a=!1}try{i.innerHTML="<P><i><P></P></i></P>",t.selfClose=n=2===i.childNodes.length}catch(o){t.selfClose=n=!1}i=null,t.tagSoup=a,t.selfClose=n},function(e,t,a){"use strict";function n(e){var t=e.indexOf("-->");if(0<=t)return new u.CommentToken(e.substr(4,t-1),t+3)}function i(e){var t=e.indexOf("<");return new u.CharsToken(0<=t?t:e.length)}function r(e){var o,s,l;if(-1!==e.indexOf(">")){var t=e.match(d.startTag);if(t){var a=(o={},s={},l=t[2],t[2].replace(d.attr,function(e,t,a,n,i,r){a||n||i||r?arguments[5]?(o[arguments[5]]="",s[arguments[5]]=!0):o[t]=arguments[2]||arguments[3]||arguments[4]||d.fillAttr.test(t)&&t||"":o[t]="",l=l.replace(e,"")}),{v:new u.StartTagToken(t[1],t[0].length,o,s,!!t[3],l.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))});if("object"===(void 0===a?"undefined":c(a)))return a.v}}}function o(e){var t=r(e);if(t){var a=e.slice(t.length);if(a.match(new RegExp("</\\s*"+t.tagName+"\\s*>","i"))){var n=a.match(new RegExp("([\\s\\S]*?)</\\s*"+t.tagName+"\\s*>","i"));if(n)return new u.AtomicTagToken(t.tagName,n[0].length+t.length,t.attrs,t.booleanAttrs,n[1])}}}function s(e){var t=e.match(d.endTag);if(t)return new u.EndTagToken(t[1],t[0].length)}t.__esModule=!0;var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.comment=n,t.chars=i,t.startTag=r,t.atomicTag=o,t.endTag=s;var u=a(4),d={startTag:/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,endTag:/^<\/([\-A-Za-z0-9_]+)[^>]*>/,attr:/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,fillAttr:/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(e,t,a){"use strict";function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.EndTagToken=t.AtomicTagToken=t.StartTagToken=t.TagToken=t.CharsToken=t.CommentToken=t.Token=undefined;var l=a(5),n=t.Token=function n(e,t){s(this,n),this.type=e,this.length=t,this.text=""},i=(t.CommentToken=function(){function a(e,t){s(this,a),this.type="comment",this.length=t||(e?e.length:0),this.text="",this.content=e}return a.prototype.toString=function e(){return"<!--"+this.content},a}(),t.CharsToken=function(){function t(e){s(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function e(){return this.text},t}(),t.TagToken=function(){function r(e,t,a,n,i){s(this,r),this.type=e,this.length=a,this.text="",this.tagName=t,this.attrs=n,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1}return r.formatTag=function o(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:null,n="<"+e.tagName;for(var i in e.attrs)if(e.attrs.hasOwnProperty(i)){n+=" "+i;var r=e.attrs[i];"undefined"!=typeof e.booleanAttrs&&"undefined"!=typeof e.booleanAttrs[i]||(n+='="'+(0,l.escapeQuotes)(r)+'"')}return e.rest&&(n+=" "+e.rest),e.unary&&!e.html5Unary?n+="/>":n+=">",a!==undefined&&null!==a&&(n+=a+"</"+e.tagName+">"),n},r}());t.StartTagToken=function(){function o(e,t,a,n,i,r){s(this,o),this.type="startTag",this.length=t,this.text="",this.tagName=e,this.attrs=a,this.booleanAttrs=n,this.html5Unary=!1,this.unary=i,this.rest=r}return o.prototype.toString=function e(){return i.formatTag(this)},o}(),t.AtomicTagToken=function(){function r(e,t,a,n,i){s(this,r),this.type="atomicTag",this.length=t,this.text="",this.tagName=e,this.attrs=a,this.booleanAttrs=n,this.unary=!1,this.html5Unary=!1,this.content=i}return r.prototype.toString=function e(){return i.formatTag(this,this.content)},r}(),t.EndTagToken=function(){function a(e,t){s(this,a),this.type="endTag",this.length=t,this.text="",this.tagName=e}return a.prototype.toString=function e(){return"</"+this.tagName+">"},a}()},function(e,t){"use strict";function a(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:"";return e?e.replace(/([^"]*)"/g,function(e,t){return/\\/.test(t)?t+'"':t+'\\"'}):a}t.__esModule=!0,t.escapeQuotes=a},function(e,t){"use strict";function c(e){return e&&"startTag"===e.type&&(e.unary=n.test(e.tagName)||e.unary,e.html5Unary=!/\/>$/.test(e.text)),e}function u(e,t){var a=e.stream,n=c(t());return e.stream=a,n}function d(e,t){var a=t.pop();e.prepend("</"+a.tagName+">")}function g(){var e=[];return e.last=function(){return this[this.length-1]},e.lastTagNameEq=function(e){var t=this.last();return t&&t.tagName&&t.tagName.toUpperCase()===e.toUpperCase()},e.containsTagName=function(e){for(var t,a=0;t=this[a];a++)if(t.tagName===e)return!0;return!1},e}function a(a,n,t){function i(){var e=u(a,t);e&&o[e.type]&&o[e.type](e)}var r=g(),o={startTag:function s(e){var t=e.tagName;"TR"===t.toUpperCase()&&r.lastTagNameEq("TABLE")?(a.prepend("<TBODY>"),i()):n.selfCloseFix&&p.test(t)&&r.containsTagName(t)?r.lastTagNameEq(t)?d(a,r):(a.prepend("</"+e.tagName+">"),i()):e.unary||r.push(e)},endTag:function l(e){r.last()?n.tagSoupFix&&!r.lastTagNameEq(e.tagName)?d(a,r):r.pop():n.tagSoupFix&&(t(),i())}};return function e(){return i(),c(t())}}t.__esModule=!0,t["default"]=a;var n=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,p=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])})},function(e,t){"use strict";function n(e){return null!=e}function a(e){return"function"==typeof e}function i(e,t,a){var n=void 0,i=e&&e.length||0;for(n=0;n<i;n++)t.call(a,e[n],n)}function r(e,t,a){for(var n in e)e.hasOwnProperty(n)&&t.call(a,n,e[n])}function o(a,e){return a=a||{},r(e,function(e,t){n(a[e])||(a[e]=t)}),a}function s(e){try{return Array.prototype.slice.call(e)}catch(n){var t=(a=[],i(e,function(e){a.push(e)}),{v:a});if("object"===(void 0===t?"undefined":g(t)))return t.v}var a}function l(e){return e[e.length-1]}function c(e,t){return!(!e||"startTag"!==e.type&&"atomicTag"!==e.type||!("tagName"in e)||!~e.tagName.toLowerCase().indexOf(t))}function u(e){return c(e,"script")}function d(e){return c(e,"style")}t.__esModule=!0;var g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.existy=n,t.isFunction=a,t.each=i,t.eachKey=r,t.defaults=o,t.toArray=s,t.last=l,t.isTag=c,t.isScript=u,t.isStyle=d}])})}},"core/src/lib/actions/helpers/unescapeHtmlCode.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-document").createElement("div");e.exports=function(e){return n.innerHTML=e,n.textContent||n.innerText||e}}},"core/src/lib/actions/helpers/decorators/decorateGlobalJavaScriptCode.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-promise");e.exports=function(e,t){return{code:"<script>\n"+t+"\n</script>",promise:n.resolve()}}}},"core/src/lib/actions/helpers/decorators/decorateNonGlobalJavaScriptCode.js":{script:function(e,t,a){"use strict";var r=a("@adobe/reactor-promise"),o=0;e.exports=function(n,e){var i="_runScript"+ ++o,t=new r(function(e,a){_satellite[i]=function(t){delete _satellite[i],new r(function(e){e(t.call(n.event.element,n.event,n.event.target,r))}).then(e,a)}});return{code:'<script>_satellite["'+i+'"](function(event, target, Promise) {\n'+e+"\n});</script>",promise:t}}}},"core/src/lib/actions/helpers/decorators/decorateHtmlCode.js":{script:function(e,t,a,n){"use strict";var i=a("@adobe/reactor-promise"),r=0,o={};window._satellite=window._satellite||{},window._satellite._onCustomCodeSuccess=function(e){var t=o[e];t&&(delete o[e],t.resolve())},window._satellite._onCustomCodeFailure=function(e){var t=o[e];t&&(delete o[e],t.reject())};var s=function(e){return-1!==e.indexOf("${reactorCallbackId}")},l=function(e,t){return e.replace(/\${reactorCallbackId}/g,t)},c=function(e){return e.settings.isExternal};e.exports=function(e,t){var a;return c(e)&&(t=n.replaceTokens(t,e.event)),s(t)?(a=new i(function(e,t){o[String(r)]={resolve:e,reject:t}}),t=l(t,r),r+=1):a=i.resolve(),{code:t,promise:a}}}},"core/src/lib/actions/helpers/getSourceByUrl.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-load-script"),i=a("@adobe/reactor-promise"),r={},o={},s=function(e){return o[e]||(o[e]=n(e)),o[e]};_satellite.__registerScript=function(e,t){r[e]=t},e.exports=function(t){return r[t]?i.resolve(r[t]):new i(function(e){s(t).then(function(){e(r[t])},function(){e()})})}}},"core/src/lib/helpers/textMatch.js":{script:function(e){"use strict";e.exports=function(e,t){if(null==t)throw new Error("Illegal Argument: Pattern is not present");return null!=e&&("string"==typeof t?e===t:t instanceof RegExp&&t.test(e))}}},"core/src/lib/events/helpers/pageLifecycleEvents.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-window"),i=a("@adobe/reactor-document"),r=-1!==n.navigator.appVersion.indexOf("MSIE 10"),o="WINDOW_LOADED",s="DOM_READY",l="PAGE_BOTTOM",c=[l,s,o],u=function(e,t){return{element:e,target:e,nativeEvent:t}},d={};c.forEach(function(e){d[e]=[]});var g=function(e,t){c.slice(0,f(e)+1).forEach(function(e){m(t,e)})},p=function(){return"complete"===i.readyState?o:"interactive"===i.readyState?r?null:s:void 0},f=function(e){return c.indexOf(e)},m=function(t,e){d[e].forEach(function(e){v(t,e)}),d[e]=[]},v=function(e,t){var a=t.trigger,n=t.syntheticEventFn;a(n?n(e):null)};n._satellite=n._satellite||{},n._satellite.pageBottom=g.bind(null,l),i.addEventListener("DOMContentLoaded",g.bind(null,s),!0),n.addEventListener("load",g.bind(null,o),!0),n.setTimeout(function(){var e=p();e&&g(e)},0),e.exports={registerLibraryLoadedTrigger:function(e){e()},registerPageBottomTrigger:function(e){d[l].push({trigger:e})},registerDomReadyTrigger:function(e){d[s].push({trigger:e,syntheticEventFn:u.bind(null,i)})},registerWindowLoadedTrigger:function(e){d[o].push({trigger:e,syntheticEventFn:u.bind(null,n)})}}}},"core/src/lib/events/helpers/createBubbly.js":{script:function(e,t,a){"use strict";var n=a("./weakMap"),p=a("./matchesProperties"),f=a("./matchesSelector");e.exports=function(){var d=[],g=new n,e={addListener:function(e,t){d.push({settings:e,callback:t})},evaluateEvent:function(t,e){if(d.length&&!g.has(t)){for(var a=t.target,n=!1;a;){for(var i=!1,r=!1,o=0;o<d.length;o++){var s=d[o],l=s.settings.elementSelector,c=s.settings.elementProperties;if((!1!==s.settings.bubbleFireIfChildFired||!n)&&(a===t.target||!1!==s.settings.bubbleFireIfParent)&&(a===t.target||l||c&&Object.keys(c).length)&&(!l||f(a,l))&&(!c||p(a,c))){var u={};e?Object.keys(t).forEach(function(e){u[e]=t[e]}):u.nativeEvent=t,u.element=a,u.target=t.target,!1!==s.callback(u)&&(r=!0,s.settings.bubbleStop&&(i=!0))}}if(i)break;r&&(n=!0),a=a.parentNode}g.set(t,!0)}},__reset:function(){d=[]}};return e}}},"core/src/lib/events/helpers/weakMap.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-window").WeakMap;if(void 0===n){var i=Object.defineProperty,r=Date.now()%1e9;(n=function(){this.name="__st"+(1e9*Math.random()>>>0)+r+++"__"}).prototype={set:function(e,t){var a=e[this.name];return a&&a[0]===e?a[1]=t:i(e,this.name,{value:[e,t],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:undefined},"delete":function(e){var t=e[this.name];return!(!t||t[0]!==e||(t[0]=t[1]=undefined,0))},has:function(e){var t=e[this.name];return!!t&&t[0]===e}}}e.exports=n}},"core/src/lib/events/helpers/matchesProperties.js":{script:function(e,t,a){"use strict";var i=a("./../../helpers/textMatch"),r=function(e,t){return"@text"===t||"innerText"===t?e.textContent||e.innerText:t in e?e[t]:e.getAttribute?e.getAttribute(t):void 0};e.exports=function(n,e){return!e||e.every(function(e){var t=r(n,e.name),a=e.valueIsRegex?new RegExp(e.value,"i"):e.value;return i(t,a)})}}},"core/src/lib/events/helpers/matchesSelector.js":{script:function(e,t,a,i){"use strict";e.exports=function(e,t){var a=e.matches||e.msMatchesSelector;if(a)try{return a.call(e,t)}catch(n){return i.logger.warn("Matching element failed. "+t+" is not a valid selector."),!1}return!1}}}},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EPdf95439ac27745eea50d3c75fd6ed235/"},"adobe-analytics":{displayName:"Adobe Analytics",modules:{"adobe-analytics/src/lib/actions/clearVariables.js":{name:"clear-variables",displayName:"Clear Variables",script:function(e,t,a,n){"use strict";var i=a("../sharedModules/getTracker");e.exports=function(){return i().then(function(e){e.clearVars&&(n.logger.info("Clear variables."),e.clearVars())},function(e){n.logger.error("Cannot clear variables: "+e)})}}},"adobe-analytics/src/lib/actions/sendBeacon.js":{name:"send-beacon",displayName:"Send Beacon",script:function(e,t,a,i){"use strict";var n=a("../sharedModules/getTracker"),r=function(e){return e&&e.nodeName&&"a"===e.nodeName.toLowerCase()},o=function(e){return r(e)?e.innerHTML:"link clicked"},s=function(e,t,a){if("page"===t.type)i.logger.info("Firing page view beacon."),e.t();else{var n={linkType:t.linkType||"o",linkName:t.linkName||o(a)};i.logger.info("Firing link track beacon using the values: "+JSON.stringify(n)+"."),e.tl(r(a)?a:"true",n.linkType,n.linkName)}};e.exports=function(t,a){return n().then(function(e){s(e,t,a.element)},function(e){i.logger.error("Cannot send beacon: "+e)})}}},"adobe-analytics/src/lib/actions/setVariables.js":{name:"set-variables",displayName:"Set Variables",script:function(e,t,a,n){"use strict";var i=a("../sharedModules/getTracker"),r=a("../helpers/applyTrackerVariables");e.exports=function(t,a){return i().then(function(e){n.logger.info("Set variables on the tracker."),r(e,t.trackerProperties),t.customSetup&&t.customSetup.source&&t.customSetup.source.call(a.element,a,e)},function(e){n.logger.error("Cannot set variables: "+e)})}}},"adobe-analytics/src/lib/sharedModules/getTracker.js":{script:function(e,t,a,n){"use strict";var i,r=a("@adobe/reactor-cookie"),o=a("@adobe/reactor-promise"),s=a("@adobe/reactor-window"),l=a("../helpers/settingsHelper"),c=a("../helpers/augmenters"),u=a("../helpers/applyTrackerVariables"),d=a("../helpers/loadLibrary"),g=a("../helpers/generateVersion")(n.buildInfo.turbineBuildDate),p="beforeSettings",f=n.getSharedModule("adobe-mcid","mcid-instance"),m=function(e){return!e||"true"===r.get(e)},v=function(n){return o.all(c.map(function(e){var t;try{t=e(n)}catch(a){setTimeout(function(){throw a})}return o.resolve(t)})).then(function(){return n})},h=function(e){return f&&(n.logger.info("Setting MCID instance on the tracker."),e.visitor=f),e},b=function(e){return n.logger.info('Setting version on tracker: "'+g+'".'),"undefined"!=typeof e.tagContainerMarker?e.tagContainerMarker=g:"string"==typeof e.version&&e.version.substring(e.version.length-5)!=="-"+g&&(e.version+="-"+g),e},y=function(e,t,a){return t.loadPhase===p&&t.source&&(n.logger.info("Calling custom script before settings."),t.source.call(s,a)),u(a,e||{}),t.loadPhase!==p&&t.source&&(n.logger.info("Calling custom script after settings."),t.source.call(s,a)),a},w=function(e,t){return l.isAudienceManagementEnabled(e)&&(t.loadModule("AudienceManagement"),n.logger.info("Initializing AudienceManagement module"),t.AudienceManagement.setup(e.moduleProperties.audienceManager.config)),t},D=(i=n.getExtensionSettings(),m(i.trackingCookieName)?d(i).then(v).then(h).then(b).then(y.bind(null,i.trackerProperties,i.customSetup||{})).then(w.bind(null,i)):o.reject("EU compliance was not acknowledged by the user."));e.exports=function(){return D}},name:"get-tracker",shared:!0},"adobe-analytics/src/lib/sharedModules/augmentTracker.js":{name:"augment-tracker",shared:!0,script:function(e,t,a){"use strict";var n=a("../helpers/augmenters");e.exports=function(e){n.push(e)}}},"adobe-analytics/src/lib/helpers/settingsHelper.js":{script:function(e,t,a,n){"use strict";var i=a("@adobe/reactor-window"),r={LIB_TYPES:{MANAGED:"managed",PREINSTALLED:"preinstalled",REMOTE:"remote",CUSTOM:"custom"},MANAGED_LIB_PATHS:{APP_MEASUREMENT:"AppMeasurement.js",ACTIVITY_MAP:"AppMeasurement_Module_ActivityMap.js",AUDIENCE_MANAGEMENT:"AppMeasurement_Module_AudienceManagement.js"},getReportSuites:function(e){var t=e.production;return e[n.buildInfo.environment]&&(t=e[n.buildInfo.environment]),t.join(",")},isActivityMapEnabled:function(e){return!(e.libraryCode&&!e.libraryCode.useActivityMap&&!1===e.libraryCode.useActivityMap)},isAudienceManagementEnabled:function(e){var t=!1;return e&&e.moduleProperties&&e.moduleProperties.audienceManager&&e.moduleProperties.audienceManager.config&&i&&i._satellite&&i._satellite.company&&i._satellite.company.orgId&&(t=!0),t}};e.exports=r}},"adobe-analytics/src/lib/helpers/augmenters.js":{script:function(e){"use strict";e.exports=[]}},"adobe-analytics/src/lib/helpers/applyTrackerVariables.js":{script:function(e,t,a,o){"use strict";var i=a("@adobe/reactor-query-string"),r=a("@adobe/reactor-window"),s=/eVar([0-9]+)/,l=/prop([0-9]+)/,c=new RegExp("^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$"),u=function(e,t,a){return a.indexOf(e)===t},d=function(e,t,a){var n=Object.keys(t).filter(c.test.bind(c));return a&&n.push("events"),(n=n.concat((e.linkTrackVars||"").split(","))).filter(function(e,t){return"None"!==e&&e&&u(e,t,n)}).join(",")},g=function(e,t){var a=t.map(function(e){return e.name});return(a=a.concat((e.linkTrackEvents||"").split(","))).filter(function(e,t){return"None"!==e&&u(e,t,a)}).join(",")},n=function(e,t,a){e[t]=a[t].join(",")},p=function(i,e,t){var r=t.dynamicVariablePrefix||"D=";t[e].forEach(function(e){var t;if("value"===e.type)t=e.value;else{var a=s.exec(e.value);if(a)t=r+"v"+a[1];else{var n=l.exec(e.value);n&&(t=r+"c"+n[1])}}i[e.name]=t})},f={linkDownloadFileTypes:n,linkExternalFilters:n,linkInternalFilters:n,hierarchies:function(t,e,a){a[e].forEach(function(e){t[e.name]=e.sections.join(e.delimiter)})},props:p,eVars:p,campaign:function(e,t,a){if("queryParam"===a[t].type){var n=i.parse(r.location.search);e[t]=n[a[t].value]}else e[t]=a[t].value},events:function(e,t,a){var n=a[t].map(function(e){var t=e.name;return e.id&&(t=[t,e.id].join(":")),e.value&&(t=[t,e.value].join("=")),t});e[t]=n.join(",")}};e.exports=function(t,n){var i={};n=n||{},Object.keys(n).forEach(function(e){var t=f[e],a=n[e];t?t(i,e,n):i[e]=a}),i.events&&t.events&&0<t.events.length&&(i.events=t.events+","+i.events);var e=n&&n.events&&0<n.events.length,a=d(t,i,e);a&&(i.linkTrackVars=a);var r=g(t,n.events||[]);r&&(i.linkTrackEvents=r),o.logger.info('Applying the following properties on tracker: "'+JSON.stringify(i)+'".'),Object.keys(i).forEach(function(e){t[e]=i[e]})}}},"adobe-analytics/src/lib/helpers/loadLibrary.js":{script:function(e,t,a,n){"use strict";var i=a("@adobe/reactor-load-script"),r=a("@adobe/reactor-window"),o=a("@adobe/reactor-promise"),s=a("./settingsHelper"),l=a("./pollHelper"),c=function(e,t){if(!r.s_gi)throw new Error("Unable to create AppMeasurement tracker, `s_gi` function not found."+r.AppMeasurement);n.logger.info('Creating AppMeasurement tracker with these report suites: "'+t+'"');var a=r.s_gi(t);return e.libraryCode.scopeTrackerGlobally&&(n.logger.info("Setting the tracker as window.s"),r.s=a),a},u=function(e){var t=[];switch(e.libraryCode.type){case s.LIB_TYPES.MANAGED:t.push(n.getHostedLibFileUrl(s.MANAGED_LIB_PATHS.APP_MEASUREMENT)),s.isActivityMapEnabled(e)&&t.push(n.getHostedLibFileUrl(s.MANAGED_LIB_PATHS.ACTIVITY_MAP));break;case s.LIB_TYPES.CUSTOM:t.push(e.libraryCode.source);break;case s.LIB_TYPES.REMOTE:t.push("https:"===r.location.protocol?e.libraryCode.httpsUrl:e.libraryCode.httpUrl)}if(s.isAudienceManagementEnabled(e)){var a={namespace:r._satellite.company.orgId};e.moduleProperties.audienceManager.config.visitorService=a,t.push(n.getHostedLibFileUrl(s.MANAGED_LIB_PATHS.AUDIENCE_MANAGEMENT))}return t},d=function(e){return o.all(u(e).map(function(e){return n.logger.info("Loading script: "+e),i(e)}))},g=function(e,t){if(e.libraryCode.accounts)if(t.sa){var a=s.getReportSuites(e.libraryCode.accounts);n.logger.info('Setting the following report suites on the tracker: "'+a+'"'),t.sa(a)}else n.logger.warn("Cannot set report suites on tracker. `sa` method not available.");return t},p=function(e){if(r[e])return n.logger.info('Found tracker located at: "'+e+'".'),r[e];throw new Error('Cannot find the global variable name: "'+e+'".')};e.exports=function(e){var t=d(e);switch(e.libraryCode.type){case s.LIB_TYPES.MANAGED:var a=s.getReportSuites(e.libraryCode.accounts);return t.then(c.bind(null,e,a));case s.LIB_TYPES.PREINSTALLED:return t.then(l.poll.bind(null,r,e.libraryCode.trackerVariableName)).then(g.bind(null,e));case s.LIB_TYPES.CUSTOM:case s.LIB_TYPES.REMOTE:return t.then(p.bind(null,e.libraryCode.trackerVariableName)).then(g.bind(null,e));default:throw new Error("Cannot load library. Type not supported.")}}}},"adobe-analytics/src/lib/helpers/generateVersion.js":{script:function(e){"use strict";var t=8,a=function(e){return e.getUTCDate().toString(36)},n=function(e){return e.substr(e.length-1)},i=function(e){return Math.floor(e.getUTCHours()/t)},r=function(e){var t=(e.getUTCMonth()+1+12*i(e)).toString(36);return n(t)},o=function(e){return(e.getUTCFullYear()-2010).toString(36)};e.exports=function(e){var t=new Date(e);if(isNaN(t))throw new Error("Invalid date provided");return("L"+o(t)+r(t)+a(t)).toUpperCase()}}},"adobe-analytics/src/lib/helpers/pollHelper.js":{script:function(e,t,a,n){"use strict";var o=a("@adobe/reactor-promise"),s=40,l=250,c=function(e,t,a){n.logger.info('Found property located at: "'+t+'"].'),e(a)},i=function(i,r){return new o(function(e,t){if(i[r])return c(e,r,i[r]);var a=1,n=setInterval(function(){i[r]&&(c(e,r,i[r]),clearInterval(n)),s<=a&&(clearInterval(n),t(new Error('Bailing out. Cannot find the variable name: "'+r+'"].'))),a++},l)})};e.exports={poll:function(e,t){return n.logger.info('Waiting for the property to become accessible at: "'+t+'"].'),i(e,t)}}}}},settings:{orgId:"CEE1F70B5936D5B30A495EA3@AdobeOrg",customSetup:{source:function(e){var t="6772588";switch(window.location.hostname.split(".").reverse()[1]){case"allianz":t="6772588";break;case"elvia":t="6774922";break;default:t="6772588"}var a={CSID:"",SPOTID:t,tEvar:"eVar130",errorEvar:"eVar132",timeoutEvent:"event134",requestURL:"https://fls.doubleclick.net/json?spot=[SPOTID]&src=[CSID]&var=[VAR]&host=integrate.112.2o7.net%2Fdfa_echo%3Fvar%3D[VAR]%26AQE%3D1%26A2S%3D1&ord=[RAND]",maxDelay:"750",visitCookie:"s_dfa",clickThroughParam:"dclid",searchCenterParam:undefined,newRsidsProp:undefined};e.partnerDFACheck=new Function("cfg","var s=this,c=cfg.visitCookie,src=cfg.clickThroughParam,scp=cfg.searchCenterParam,p=cfg.newRsidsProp,tv=cfg.tEvar,dl=',',cr,nc,q,g,gs,i,j,k,fnd,v=1,t=new Date,cn=0,ca=new Array,aa=new Array,cs=new Array;t.setTime(t.getTime()+1800000);cr=s.c_r(c);if(cr){v=0;}ca=s.split(cr,dl);if(s.un)aa=s.split(s.un,dl);else aa=s.split(s.account,dl);for(i=0;i<aa.length;i++){fnd = 0;for(j=0;j<ca.length;j++){if(aa[i] == ca[j]){fnd=1;}}if(!fnd){cs[cn]=aa[i];cn++;}}if(cs.length){for(k=0;k<cs.length;k++){nc=(nc?nc+dl:'')+cs[k];}cr=(cr?cr+dl:'')+nc;s.vpr(p,nc);v=1;}if(s.wd)q=s.wd.location.search.toLowerCase();else q=s.w.location.search.toLowerCase();q=s.repl(q,'?','&');g=q.indexOf('&'+src.toLowerCase()+'=');gs=(scp)?q.indexOf('&'+scp.toLowerCase()+'='):-1;if(g>-1){s.vpr(p,cr);v=1;}else if(gs>-1){v=0;s.vpr(tv,'SearchCenter Visitors');}if(!s.c_w(c,cr,t)){s.c_w(c,cr,0);}if(!s.c_r(c)){v=0;}return v>=1;"),e.vpr=new Function("vs","v","if(typeof(v)!='undefined' && vs){var s=this; eval('s.'+vs+'=\"'+v+'\"')}"),e.split=new Function("l","d","var i,x=0,a=new Array;while(l){i=l.indexOf(d);i=i>-1?i:l.length;a[x++]=l.substring(0,i);l=l.substring(i+d.length);}return a"),e.repl=new Function("x","o","n","var i=x.indexOf(o),l=n.length;while(x&&i>=0){x=x.substring(0,i)+n+x.substring(i+o.length);i=x.indexOf(o,i+l)}return x"),e.maxDelay=a.maxDelay,e.loadModule("Integrate"),e.Integrate.onLoad=function(e){e.partnerDFACheck(a)&&(e.Integrate.add("DFA"),e.Integrate.DFA.tEvar=a.tEvar,e.Integrate.DFA.errorEvar=a.errorEvar,e.Integrate.DFA.timeoutEvent=a.timeoutEvent,e.Integrate.DFA.CSID=a.CSID,e.Integrate.DFA.SPOTID=a.SPOTID,e.Integrate.DFA.get(a.requestURL),e.Integrate.DFA.setVars=function(e,t){window[t.VAR]?t.ec?t.errorEvar&&(e[t.errorEvar]=t.ec):e[t.tEvar]="DFA-"+(t.lis?t.lis:0)+"-"+(t.lip?t.lip:0)+"-"+(t.lastimp?t.lastimp:0)+"-"+(t.lastimptime?t.lastimptime:0)+"-"+(t.lcs?t.lcs:0)+"-"+(t.lcp?t.lcp:0)+"-"+(t.lastclk?t.lastclk:0)+"-"+(t.lastclktime?t.lastclktime:0):t.timeoutEvent&&(e.events=(e.events&&""!=e.events?e.events+",":"")+t.timeoutEvent)})},e.apl=new Function("l","v","d","u","var s=this,m=0;if(!l)l='';if(u){var i,n,a=s.split(l,d);for(i=0;i<a.length;i++){n=a[i];m=m||(u==1?(n==v):(n.toLowerCase()==v.toLowerCase()));}}if(!m)l=l?l+d+v:v;return l"),e.getPreviousValue=new Function("v","c","el","var s=this,t=new Date,i,j,r='';t.setTime(t.getTime()+1800000);if(el){if(s.events){i=s.split(el,',');j=s.split(s.events,',');for(x in i){for(y in j){if(i[x]==j[y]){if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}}}}}else{if(s.c_r(c)) r=s.c_r(c);v?s.c_w(c,v,t):s.c_w(c,'no value',t);return r}"),e.trackExternalLinks=!0,e.linkInternalFilters="service2.allianz-suisse.ch,careers.allianz.com,forum.allianz.ch,inside.allianz-suisse.ch,my.allianz.ch,partner.allianz.ch,tarif.allianz.ch,tarif.cap.ch,tarif.elvia.ch,allianz.ch,allianz-immobilien.ch,allianz-technology.ch,cap.ch,elvia.ch,allianzglobalinvestors-service.ch,allianzcinema.ch,allianzdriveincinema.ch,hail.allianz.ch",e.linkExternalFilters="",e.linkLeaveQueryString=!1}},libraryCode:{type:"managed",accounts:{staging:["azswitzerlandstaging"],production:["azswitzerlandprod"],development:["azswitzerlanddev"]},useActivityMap:!0,scopeTrackerGlobally:!0},moduleProperties:{audienceManager:{config:{partner:"azeu",uuidCookie:{days:100,name:"aam_uuid"}}}},trackerProperties:{charSet:"UTF-8",pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",currencyCode:"CHF",trackingServer:"%Tracking Server%",trackInlineStats:!0,trackDownloadLinks:!0,trackExternalLinks:!0,linkInternalFilters:["tarif.allianz.ch"],trackingServerSecure:"%SSL Tracking Server%",linkDownloadFileTypes:["doc","docx","eps","jpg","png","svg","xls","ppt","pptx","pdf","xlsx","tab","csv","zip","txt","vsd","vxd","xml","js","css","rar","exe","wma","mov","avi","wmv","mp3","wav","m4v"]}},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EPbde2f7ca14e540399dcc1f8208860b7b/"},"onetrust-consent-management-for-cookies":{displayName:"OneTrust Consent Management for Cookies",modules:{"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js":{name:"targetingcookiesactive",displayName:"Targeting Cookies Active",script:function(e,t,a){"use strict";var n=a("@adobe/reactor-window");e.exports=function(e){return-1<n.OnetrustActiveGroups.indexOf(e.activeGroupFieldValue)}}},"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js":{name:"performancecookiesactive",displayName:"Performance Cookies Active",script:function(e,t,a){"use strict";var n=a("@adobe/reactor-window");e.exports=function(e){return-1<n.OnetrustActiveGroups.indexOf(e.activeGroupFieldValue)}}},"onetrust-consent-management-for-cookies/src/lib/conditions/configuration.js":{script:function(e,t,a,n){"use strict";function i(){if("undefined"!=typeof OnetrustActiveGroups&&"undefined"!=typeof adobe){var e=n.getExtensionSettings().otConfiguration,t=Object.keys(e).length/2;"undefined"!=typeof adobe.optIn&&(r(e,t),addEventListener("consent.onetrust",function(){r(e,t)}))}}function r(e,t){adobe.optIn.denyAll();for(var a=0;a<t;a++){var n=e["adobeCat_"+a],i=e["variableId_"+a];""!=i.trim()&&-1!==OptanonActiveGroups.indexOf(i)&&adobe.optIn.approve(adobe.OptInCategories[n],!1)}}window.addEventListener("load",i,!1)}}},settings:{otConfiguration:{adobeCat_0:"AAM",adobeCat_1:"ADCLOUD",adobeCat_2:"ANALYTICS",adobeCat_3:"CAMPAIGN",adobeCat_4:"ECID",adobeCat_5:"LIVEFYRE",adobeCat_6:"TARGET",adobeCat_7:"MEDIA_ANALYTICS",variableId_0:"2",variableId_1:"2",variableId_2:"2",variableId_3:"2",variableId_4:"2",variableId_5:"2",variableId_6:"2",variableId_7:"2"}},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP56475044e122457889b23eae24de6c35/"},"adobe-mcid":{displayName:"Experience Cloud ID Service",modules:{"adobe-mcid/src/lib/dataElements/ecid.js":{name:"ecid",displayName:"ECID",script:function(e,t,a){"use strict";var n;a("../sharedModules/mcidInstance").onReceiveEcid(function(e){n=e}),e.exports=function(){return n}}},"adobe-mcid/src/lib/actions/setCustomerIds.js":{name:"set-customer-ids",displayName:"Set Customer IDs",script:function(e,t,a,n){"use strict";var i=a("../sharedModules/mcidInstance"),r=n.logger,o=function(e){return"string"==typeof e&&0<e.length},s=function(e){var n={},i=[];return e.forEach(function(e){var t=e.integrationCode,a=e.value;o(t)&&o(a)?(n[t]={id:a},e.hasOwnProperty("authState")&&(n[e.integrationCode].authState=e.authState),e.hasOwnProperty("hashType")&&(n[e.integrationCode].hashType=e.hashType)):i.push(e)}),i.length&&r.warn("Rejected these customer ids: "+JSON.stringify(i)),n};e.exports=function(e){if(i){var t=s(e.customerIds);i.setCustomerIDs(t),r.info("Set Customer IDs: "+JSON.stringify(t))}else r.warn(
"MCID instance cannot be found. Cannot set Customer IDs.")}}},"adobe-mcid/src/lib/sharedModules/mcidInstance.js":{script:function(e,t,a,f){"use strict";var n=a("@adobe/reactor-document"),i=a("../codeLibrary/VisitorAPI"),m=a("../../view/utils/timeUnits"),v=function(e){return e.reduce(function(e,t){var a=/^(true|false)$/i.test(t.value)?JSON.parse(t.value):t.value;return e[t.name]=a,e},{})},r=function(e){var t=f.getExtensionSettings();if("string"!=typeof t.orgId)throw new TypeError("Org ID is not a string.");var a=v(t.variables||[]),n=t.doesOptInApply;n&&("boolean"==typeof n?a.doesOptInApply=n:t.optInCallback&&(a.doesOptInApply=t.optInCallback));var i=t.isOptInStorageEnabled;i&&(a.isOptInStorageEnabled=i);var r=t.optInCookieDomain;r&&(a.optInCookieDomain=r);var o=t.optInStorageExpiry;if(o){var s=t.timeUnit;if(s&&m[s]){var l=o*m[s];a.optInStorageExpiry=l}}else!0===i&&(a.optInStorageExpiry=33696e3);var c=t.previousPermissions;c&&(a.previousPermissions=c);var u=t.preOptInApprovals;if(u)a.preOptInApprovals=u;else{var d=t.preOptInApprovalInput;d&&(a.preOptInApprovals=d)}var g=t.isIabContext;g&&(a.isIabContext=g);var p=e.getInstance(t.orgId,a);return f.logger.info('Created instance using orgId: "'+t.orgId+'"'),f.logger.info("Set variables: "+JSON.stringify(a)),p.getMarketingCloudVisitorID(function(e){f.logger.info("Obtained Marketing Cloud Visitor Id: "+e)},!0),p},o=function(t){return(f.getExtensionSettings().pathExclusions||[]).some(function(e){return e.valueIsRegex?new RegExp(e.value,"i").test(t):e.value===t})},s=null;_satellite.getVisitorId=function(){return s},o(n.location.pathname)?f.logger.warn("MCID library not loaded. One of the path exclusions matches the current path."):s=r(i),e.exports=s},name:"mcid-instance",shared:!0},"adobe-mcid/src/lib/codeLibrary/VisitorAPI.js":{script:function(e){e.exports=(function(){"use strict";function B(e){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function e(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function t(){return{callbacks:{},add:function(e,t){this.callbacks[e]=this.callbacks[e]||[];var a=this.callbacks[e].push(t)-1,n=this;return function(){n.callbacks[e].splice(a,1)}},execute:function(e,t){if(this.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;this.callbacks[e].length;){var a=this.callbacks[e].shift();"function"==typeof a?a.apply(null,t):a instanceof Array&&a[1].apply(a[0],t)}delete this.callbacks[e]}catch(e){}}},executeAll:function(a,e){(e||a&&!Q.isObjectEmpty(a))&&Object.keys(this.callbacks).forEach(function(e){var t=void 0!==a[e]?a[e]:"";this.execute(e,t)},this)},hasCallbacks:function(){return Boolean(Object.keys(this.callbacks).length)}}}function g(e,t,a){var n=null==e?void 0:e[t];return void 0===n?a:n}function i(e){for(var t=/^\d+$/,a=0,n=e.length;a<n;a++)if(!t.test(e[a]))return!1;return!0}function r(e,t){for(;e.length<t.length;)e.push("0");for(;t.length<e.length;)t.push("0")}function o(e,t){for(var a=0;a<e.length;a++){var n=parseInt(e[a],10),i=parseInt(t[a],10);if(i<n)return 1;if(n<i)return-1}return 0}function a(e,t){if(e===t)return 0;var a=e.toString().split("."),n=t.toString().split(".");return i(a.concat(n))?(r(a,n),o(a,n)):NaN}function s(e){return e===Object(e)&&0===Object.keys(e).length}function l(e){return"function"==typeof e||e instanceof Array&&e.length}function n(e,t){var a=0<arguments.length&&void 0!==e?arguments[0]:"",n=1<arguments.length&&void 0!==t?arguments[1]:function(){return!0};this.log=ge("log",a,n),this.warn=ge("warn",a,n),this.error=ge("error",a,n)}function x(e,t){var i=(0<arguments.length&&void 0!==e?arguments[0]:{}).cookieName,r=(1<arguments.length&&void 0!==t?arguments[1]:{}).cookies;if(!i||!r)return{get:_e,set:_e,remove:_e};var o={remove:function(){r.remove(i)},get:function(){var e=r.get(i),t={};try{t=JSON.parse(e)}catch(e){t={}}return t},set:function(e,t){t=t||{};var a=o.get(),n=Object.assign(a,e);r.set(i,JSON.stringify(n),{domain:t.optInCookieDomain||"",cookieLifetime:t.optInStorageExpiry||3419e4,expires:!0})}};return o}function c(e){this.name=this.constructor.name,this.message=e,"function"==typeof Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}function u(e,t){function a(e,t){var a=he(e);return a.length?a.every(function(e){return!!t[e]}):be(t)}function n(){L(A),E(U.COMPLETE),I(D.status,D.permissions),c&&w.set(D.permissions,{optInCookieDomain:u,optInStorageExpiry:d}),P.execute(xe)}function i(a){return function(e,t){if(!ye(e))throw new Error("[OptIn] Invalid category(-ies). Please use the `OptIn.Categories` enum.");return E(U.CHANGED),Object.assign(A,we(he(e),a)),t||n(),D}}var r=0<arguments.length&&void 0!==e?arguments[0]:{},o=r.doesOptInApply,s=r.previousPermissions,l=r.preOptInApprovals,c=r.isOptInStorageEnabled,u=r.optInCookieDomain,d=r.optInStorageExpiry,g=r.isIabContext,p=(1<arguments.length&&void 0!==t?arguments[1]:{}).cookies,f=Ve(s);Se(f,"Invalid `previousPermissions`!"),Se(l,"Invalid `preOptInApprovals`!");var m,v,h,b,y,w=x({cookieName:"adobeujs-optin"},{cookies:p}),D=this,I=H(D),P=ce(),k=Pe(f),j=Pe(l),C=c?w.get():{},_={},V=(y=C,ke(k)||y&&ke(y)?U.COMPLETE:U.PENDING),S=(m=j,v=k,h=C,b=we(le,!o),o?Object.assign({},b,m,v,h):b),A=De(S),E=function(e){return V=e},L=function(e){return S=e};D.deny=i(!1),D.approve=i(!0),D.denyAll=D.deny.bind(D,le),D.approveAll=D.approve.bind(D,le),D.isApproved=function(e){return a(e,D.permissions)},D.isPreApproved=function(e){return a(e,j)},D.fetchPermissions=function(e,t){var a=1<arguments.length&&void 0!==t&&arguments[1],n=a?D.on(U.COMPLETE,e):_e;return!o||o&&D.isComplete||l?e(D.permissions):a||P.add(xe,function(){return e(D.permissions)}),n},D.complete=function(){D.status===U.CHANGED&&n()},D.registerPlugin=function(e){if(!e||!e.name||"function"!=typeof e.onRegister)throw new Error(Oe);_[e.name]||(_[e.name]=e).onRegister.call(e,D)},D.execute=Le(_),D.memoizeContent=function(e){Ce(e)&&w.set(e,{optInCookieDomain:u,optInStorageExpiry:d})},D.getMemoizedContent=function(e){var t=w.get();if(t)return t[e]},Object.defineProperties(D,{permissions:{get:function(){return S}},status:{get:function(){return V}},Categories:{get:function(){return z}},doesOptInApply:{get:function(){return!!o}},isPending:{get:function(){return D.status===U.PENDING}},isComplete:{get:function(){return D.status===U.COMPLETE}},__plugins:{get:function(){return Object.keys(_)}},isIabContext:{get:function(){return g}}})}function d(e,t){function a(){i=null,e.call(e,new c("The call took longer than you wanted!"))}function n(){i&&(clearTimeout(i),e.apply(e,arguments))}if(void 0===t)return e;var i=setTimeout(a,t);return n}function p(){if(window.__tcfapi)return window.__tcfapi;var e=window;if(e!==window.top){for(var o;!o;){e=e.parent;try{e.frames.__tcfapiLocator&&(o=e)}catch(e){}if(e===window.top)break}if(o){var s={};return window.__tcfapi=function(e,t,a,n){var i=Math.random()+"",r={__tcfapiCall:{command:e,parameter:n,version:t,callId:i}};s[i]=a,o.postMessage(r,"*")},window.addEventListener("message",function(e){var t=e.data;if("string"==typeof t)try{t=JSON.parse(e.data)}catch(e){}if(t.__tcfapiReturn){var a=t.__tcfapiReturn;"function"==typeof s[a.callId]&&(s[a.callId](a.returnValue,a.success),delete s[a.callId])}},!1),window.__tcfapi}me.error("__tcfapi not found")}else me.error("__tcfapi not found")}function f(t,e,a){var n=2<arguments.length&&void 0!==a?arguments[2]:[],i=!0===t.vendor.consents[e],r=n.every(function(e){return!0===t.purpose.consents[e]});return i&&r}function m(){var a=this;a.name="iabPlugin",a.version="0.0.2";var r,o=ce(),s={transparencyAndConsentData:null},l=function(e,t){var a=1<arguments.length&&void 0!==t?arguments[1]:{};return s[e]=a};a.fetchConsentData=function(e){var t=d(e.callback,e.timeout);c({callback:t})},a.isApproved=function(e){var a=e.callback,n=e.category,t=e.timeout;if(s.transparencyAndConsentData)return a(null,f(s.transparencyAndConsentData,re[n],oe[n]));var i=d(function(e,t){a(e,f(t,re[n],oe[n]))},t);c({category:n,callback:i})},a.onRegister=function(n){r=n;var t=Object.keys(re),e=function(e,a){!e&&a&&(t.forEach(function(e){var t=f(a,re[e],oe[e]);n[t?"approve":"deny"](e,!0)}),n.complete())};a.fetchConsentData({callback:e})};var c=function(e){var t=e.callback;if(s.transparencyAndConsentData)return t(null,s.transparencyAndConsentData);o.add("FETCH_CONSENT_DATA",t),n(function(e,t){if(t){var a=De(e),n=r.getMemoizedContent("iabConsentHash"),i=fe(a.tcString).toString(32);a.consentString=e.tcString,a.hasConsentChangedSinceLastCmpPull=n!==i,l("transparencyAndConsentData",a),r.memoizeContent({iabConsentHash:i})}o.execute("FETCH_CONSENT_DATA",[null,s.transparencyAndConsentData])})},n=function(e){var t=Ee(re),a=p();"function"==typeof a&&a("getTCData",2,e,t)}}var G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};Object.assign=Object.assign||function(e){for(var t,a,n=1;n<arguments.length;++n)for(t in a=arguments[n])Object.prototype.hasOwnProperty.call(a,t)&&(e[t]=a[t]);return e};var v,h,b,y,Z={MESSAGES:{HANDSHAKE:"HANDSHAKE",GETSTATE:"GETSTATE",PARENTSTATE:"PARENTSTATE"},STATE_KEYS_MAP:{MCMID:"MCMID",MCAID:"MCAID",MCAAMB:"MCAAMB",MCAAMLH:"MCAAMLH",MCOPTOUT:"MCOPTOUT",CUSTOMERIDS:"CUSTOMERIDS"},ASYNC_API_MAP:{MCMID:"getMarketingCloudVisitorID",MCAID:"getAnalyticsVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"isOptedOut",ALLFIELDS:"getVisitorValues"},SYNC_API_MAP:{CUSTOMERIDS:"getCustomerIDs"},ALL_APIS:{MCMID:"getMarketingCloudVisitorID",MCAAMB:"getAudienceManagerBlob",MCAAMLH:"getAudienceManagerLocationHint",MCOPTOUT:"isOptedOut",MCAID:"getAnalyticsVisitorID",CUSTOMERIDS:"getCustomerIDs",ALLFIELDS:"getVisitorValues"},FIELDGROUP_TO_FIELD:{MC:"MCMID",A:"MCAID",AAM:"MCAAMB"},FIELDS:{MCMID:"MCMID",MCOPTOUT:"MCOPTOUT",MCAID:"MCAID",MCAAMLH:"MCAAMLH",MCAAMB:"MCAAMB"},AUTH_STATE:{UNKNOWN:0,AUTHENTICATED:1,LOGGED_OUT:2},OPT_OUT:{GLOBAL:"global"},SAME_SITE_VALUES:{LAX:"Lax",STRICT:"Strict",NONE:"None"}},w=Z.STATE_KEYS_MAP,D=function(r){function n(){}function i(a,n){var i=this;return function(){var e=r(0,a),t={};return t[a]=e,i.setStateAndPublish(t),n(e),e}}this.getMarketingCloudVisitorID=function(e){e=e||n;var t=this.findField(w.MCMID,e),a=i.call(this,w.MCMID,e);return void 0!==t?t:a()},this.getVisitorValues=function(t){this.getMarketingCloudVisitorID(function(e){t({MCMID:e})})}},I=Z.MESSAGES,P=Z.ASYNC_API_MAP,k=Z.SYNC_API_MAP,j=function(){function i(){}function r(e,t){var a=this;return function(){return a.callbackRegistry.add(e,t),a.messageParent(I.GETSTATE),""}}function e(n){this[P[n]]=function(e){e=e||i;var t=this.findField(n,e),a=r.call(this,n,e);return void 0!==t?t:a()}}function t(e){this[k[e]]=function(){return this.findField(e,i)||{}}}Object.keys(P).forEach(e,this),Object.keys(k).forEach(t,this)},C=Z.ASYNC_API_MAP,_=function(){Object.keys(C).forEach(function(t){this[C[t]]=function(e){this.callbackRegistry.add(t,e)}},this)},Q=(function(e,t){t.isObjectEmpty=function(e){return e===Object(e)&&0===Object.keys(e).length},t.isValueEmpty=function(e){return""===e||t.isObjectEmpty(e)};var a=function(){var e=navigator.appName,t=navigator.userAgent;return"Microsoft Internet Explorer"===e||0<=t.indexOf("MSIE ")||0<=t.indexOf("Trident/")&&0<=t.indexOf("Windows NT 6")};t.getIeVersion=function(){return document.documentMode?document.documentMode:a()?7:null},t.encodeAndBuildRequest=function(e,t){return e.map(encodeURIComponent).join(t)},t.isObject=function(e){return null!==e&&"object"===B(e)&&!1===Array.isArray(e)},t.defineGlobalNamespace=function(){return window.adobe=t.isObject(window.adobe)?window.adobe:{},window.adobe},t.pluck=function(a,e){return e.reduce(function(e,t){return a[t]&&(e[t]=a[t]),e},Object.create(null))},t.parseOptOut=function(e,t,a){t||(t=a,e.d_optout&&e.d_optout instanceof Array&&(t=e.d_optout.join(",")));var n=parseInt(e.d_ottl,10);return isNaN(n)&&(n=7200),{optOut:t,d_ottl:n}},t.normalizeBoolean=function(e){var t=e;return"true"===e?t=!0:"false"===e&&(t=!1),t}}(y={exports:{}},y.exports),y.exports),V=(Q.isObjectEmpty,Q.isValueEmpty,Q.getIeVersion,Q.encodeAndBuildRequest,Q.isObject,Q.defineGlobalNamespace,Q.pluck,Q.parseOptOut,Q.normalizeBoolean,t),S=Z.MESSAGES,A={0:"prefix",1:"orgID",2:"state"},W=function(r,o){this.parse=function(e){try{var a={};return e.data.split("|").forEach(function(e,t){void 0!==e&&(a[A[t]]=2!==t?e:JSON.parse(e))}),a}catch(e){}},this.isInvalid=function(e){var t=this.parse(e);if(!t||Object.keys(t).length<2)return!0;var a=r!==t.orgID,n=!o||e.origin!==o,i=-1===Object.keys(S).indexOf(t.prefix);return a||n||i},this.send=function(e,t,a){var n=t+"|"+r;a&&a===Object(a)&&(n+="|"+JSON.stringify(a));try{e.postMessage(n,o)}catch(r){}}},E=Z.MESSAGES,L=function(e,t,a,n){function i(e){Object.assign(p,e)}function r(e){Object.assign(p.state,e),Object.assign(p.state.ALLFIELDS,e),p.callbackRegistry.executeAll(p.state)}function o(e){if(!v.isInvalid(e)){m=!1;var t=v.parse(e);p.setStateAndPublish(t.state)}}function s(e){!m&&f&&(m=!0,v.send(n,e))}function l(){i(new D(a._generateID)),p.getMarketingCloudVisitorID(),p.callbackRegistry.executeAll(p.state,!0),G.removeEventListener("message",c)}function c(e){if(!v.isInvalid(e)){var t=v.parse(e);m=!1,G.clearTimeout(p._handshakeTimeout),G.removeEventListener("message",c),i(new j(p)),G.addEventListener("message",o),p.setStateAndPublish(t.state),p.callbackRegistry.hasCallbacks()&&s(E.GETSTATE)}}function u(){f&&postMessage?(G.addEventListener("message",c),s(E.HANDSHAKE),p._handshakeTimeout=setTimeout(l,250)):l()}function d(){G.s_c_in||(G.s_c_il=[],G.s_c_in=0),p._c="Visitor",p._il=G.s_c_il,p._in=G.s_c_in,p._il[p._in]=p,G.s_c_in++}function g(){function e(e){0!==e.indexOf("_")&&"function"==typeof a[e]&&(p[e]=function(){})}Object.keys(a).forEach(e),p.getSupplementalDataID=a.getSupplementalDataID,p.isAllowed=function(){return!0}}var p=this,f=t.whitelistParentDomain;p.state={ALLFIELDS:{}},p.version=a.version,p.marketingCloudOrgID=e,p.cookieDomain=a.cookieDomain||"";var m=!(p._instanceType="child"),v=new W(e,f);p.callbackRegistry=V(),p.init=function(){d(),g(),i(new _(p)),u()},p.findField=function(e,t){if(void 0!==p.state[e])return t(p.state[e]),p.state[e]},p.messageParent=s,p.setStateAndPublish=r},O=Z.MESSAGES,T=Z.ALL_APIS,N=Z.ASYNC_API_MAP,R=Z.FIELDGROUP_TO_FIELD,Y=function(i,n){function r(){var n={};return Object.keys(T).forEach(function(e){var t=T[e],a=i[t]();Q.isValueEmpty(a)||(n[e]=a)}),n}function o(){var a=[];return i._loading&&Object.keys(i._loading).forEach(function(e){if(i._loading[e]){var t=R[e];a.push(t)}}),a.length?a:null}function t(a){return function n(){var e=o();if(e){var t=N[e[0]];i[t](n,!0)}else a()}}function a(e,t){var a=r();n.send(e,t,a)}function s(e){c(e),a(e,O.HANDSHAKE)}function l(e){t(function(){a(e,O.PARENTSTATE)})()}function c(t){function e(e){a.call(i,e),n.send(t,O.PARENTSTATE,{CUSTOMERIDS:i.getCustomerIDs()})}var a=i.setCustomerIDs;i.setCustomerIDs=e}return function(e){n.isInvalid(e)||(n.parse(e).prefix===O.HANDSHAKE?s:l)(e.source)}},K=function(n,a){function i(t){return function(e){r[t]=e,++o===s&&a(r)}}var r={},o=0,s=Object.keys(n).length;Object.keys(n).forEach(function(e){var t=n[e];if(t.fn){var a=t.args||[];a.unshift(i(e)),t.fn.apply(t.context||null,a)}})},$={get:function(e){e=encodeURIComponent(e);var t=(";"+document.cookie).split(" ").join(";"),a=t.indexOf(";"+e+"="),n=a<0?a:t.indexOf(";",a+1);return a<0?"":decodeURIComponent(t.substring(a+2+e.length,n<0?t.length:n))},set:function(e,t,a){var n=g(a,"cookieLifetime"),i=g(a,"expires"),r=g(a,"domain"),o=g(a,"secure"),s=g(a,"sameSite"),l=o?"Secure":"",c=s?"SameSite="+s+";":"";if(i&&"SESSION"!==n&&"NONE"!==n){var u=""!==t?parseInt(n||0,10):-60;if(u)(i=new Date).setTime(i.getTime()+1e3*u);else if(1===i){var d=(i=new Date).getYear();i.setYear(d+2+(d<1900?1900:0))}}else i=0;return e&&"NONE"!==n?(document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)+"; path=/;"+(i?" expires="+i.toGMTString()+";":"")+(r?" domain="+r+";":"")+c+l,this.get(e)===t):0},remove:function(e,t){var a=g(t,"domain");a=a?" domain="+a+";":"";var n=g(t,"secure"),i=g(t,"sameSite"),r=n?"Secure":"",o=i?"SameSite="+i+";":"";document.cookie=encodeURIComponent(e)+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"+a+o+r}},J=function(e,t){!e&&G.location&&(e=G.location.hostname);var a,n=e.split("."),i=t||{};for(a=n.length-2;0<=a;a--)if(i.domain=n.slice(a).join("."),$.set("test","cookie",i))return $.remove("test",i),i.domain;return""},X={compare:a,isLessThan:function(e,t){return a(e,t)<0},areVersionsDifferent:function(e,t){return 0!==a(e,t)},isGreaterThan:function(e,t){return 0<a(e,t)},isEqual:function(e,t){return 0===a(e,t)}},M=!!G.postMessage,ee={postMessage:function(e,t,a){var n=1;t&&(M?a.postMessage(e,t.replace(/([^:]+:\/\/[^\/]+).*/,"$1")):t&&(a.location=t.replace(/#.*$/,"")+"#"+ +new Date+n+++"&"+e))},receiveMessage:function(t,a){var e;try{M&&(t&&(e=function(e){if("string"==typeof a&&e.origin!==a||"[object Function]"===Object.prototype.toString.call(a)&&!1===a(e.origin))return!1;t(e)}),G.addEventListener?G[t?"addEventListener":"removeEventListener"]("message",e):G[t?"attachEvent":"detachEvent"]("onmessage",e))}catch(t){}}},te=function(e){var t,a,n="0123456789",i="",r="",o=8,s=10,l=10;if(1==e){for(n+="ABCDEF",t=0;t<16;t++)a=Math.floor(Math.random()*o),i+=n.substring(a,a+1),a=Math.floor(Math.random()*o),r+=n.substring(a,a+1),o=16;return i+"-"+r}for(t=0;t<19;t++)a=Math.floor(Math.random()*s),i+=n.substring(a,a+1),0===t&&9==a?s=3:(1==t||2==t)&&10!=s&&a<2?s=10:2<t&&(s=10),a=Math.floor(Math.random()*l),r+=n.substring(a,a+1),0===t&&9==a?l=3:(1==t||2==t)&&10!=l&&a<2?l=10:2<t&&(l=10);return i+r},ae=function(n){return{corsMetadata:(e="none",t=!0,"undefined"!=typeof XMLHttpRequest&&XMLHttpRequest===Object(XMLHttpRequest)&&("withCredentials"in new XMLHttpRequest?e="XMLHttpRequest":"undefined"!=typeof XDomainRequest&&XDomainRequest===Object(XDomainRequest)&&(t=!1),0<Object.prototype.toString.call(G.HTMLElement).indexOf("Constructor")&&(t=!1)),{corsType:e,corsCookiesEnabled:t}),getCORSInstance:function(){return"none"===this.corsMetadata.corsType?null:new G[this.corsMetadata.corsType]},fireCORS:function(r,e){function t(e){var t;try{if((t=JSON.parse(e))!==Object(t))return void o.handleCORSError(r,null,"Response is not JSON")}catch(e){return void o.handleCORSError(r,e,"Error parsing response as JSON")}try{for(var a=r.callback,n=G,i=0;i<a.length;i++)n=n[a[i]];n(t)}catch(e){o.handleCORSError(r,e,"Error forming callback function")}}var o=this;e&&(r.loadErrorHandler=e);try{var a=this.getCORSInstance();a.open("get",r.corsUrl+"&ts="+(new Date).getTime(),!0),"XMLHttpRequest"===this.corsMetadata.corsType&&(a.withCredentials=!0,a.timeout=n.loadTimeout,a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.onreadystatechange=function(){4===this.readyState&&200===this.status&&t(this.responseText)}),a.onerror=function(e){o.handleCORSError(r,e,"onerror")},a.ontimeout=function(e){o.handleCORSError(r,e,"ontimeout")},a.send(),n._log.requests.push(r.corsUrl)}catch(n){this.handleCORSError(r,n,"try-catch")}},handleCORSError:function(e,t,a){n.CORSErrors.push({corsData:e,error:t,description:a}),e.loadErrorHandler&&("ontimeout"===a?e.loadErrorHandler(!0):e.loadErrorHandler(!1))}};var e,t},ne={POST_MESSAGE_ENABLED:!!G.postMessage,DAYS_BETWEEN_SYNC_ID_CALLS:1,MILLIS_PER_DAY:864e5,ADOBE_MC:"adobe_mc",ADOBE_MC_SDID:"adobe_mc_sdid",VALID_VISITOR_ID_REGEX:/^[0-9a-fA-F\-]+$/,ADOBE_MC_TTL_IN_MIN:5,VERSION_REGEX:/vVersion\|((\d+\.)?(\d+\.)?(\*|\d+))(?=$|\|)/,FIRST_PARTY_SERVER_COOKIE:"s_ecid"},ie=function(f,t){var i=G.document;return{THROTTLE_START:3e4,MAX_SYNCS_LENGTH:649,throttleTimerSet:!1,id:null,onPagePixels:[],iframeHost:null,getIframeHost:function(e){if("string"==typeof e){var t=e.split("/");return t[0]+"//"+t[2]}},subdomain:null,url:null,getUrl:function(){var e,t="http://fast.",a="?d_nsid="+f.idSyncContainerID+"#"+encodeURIComponent(i.location.origin);return this.subdomain||(this.subdomain="nosubdomainreturned"),f.loadSSL&&(t=f.idSyncSSLUseAkamai?"https://fast.":"https://"),e=t+this.subdomain+".demdex.net/dest5.html"+a,this.iframeHost=this.getIframeHost(e),this.id="destination_publishing_iframe_"+this.subdomain+"_"+f.idSyncContainerID,e},checkDPIframeSrc:function(){var e="?d_nsid="+f.idSyncContainerID+"#"+encodeURIComponent(i.location.href);"string"==typeof f.dpIframeSrc&&f.dpIframeSrc.length&&(this.id="destination_publishing_iframe_"+(f._subdomain||this.subdomain||(new Date).getTime())+"_"+f.idSyncContainerID,this.iframeHost=this.getIframeHost(f.dpIframeSrc),this.url=f.dpIframeSrc+e)},idCallNotProcesssed:null,doAttachIframe:!1,startedAttachingIframe:!1,iframeHasLoaded:null,iframeIdChanged:null,newIframeCreated:null,originalIframeHasLoadedAlready:null,iframeLoadedCallbacks:[],regionChanged:!1,timesRegionChanged:0,sendingMessages:!1,messages:[],messagesPosted:[],messagesReceived:[],messageSendingInterval:ne.POST_MESSAGE_ENABLED?null:100,onPageDestinationsFired:[],jsonForComparison:[],jsonDuplicates:[],jsonWaiting:[],jsonProcessed:[],canSetThirdPartyCookies:!0,receivedThirdPartyCookiesNotification:!1,readyToAttachIframePreliminary:function(){return!(f.idSyncDisableSyncs||f.disableIdSyncs||f.idSyncDisable3rdPartySyncing||f.disableThirdPartyCookies||f.disableThirdPartyCalls)},readyToAttachIframe:function(){return this.readyToAttachIframePreliminary()&&(this.doAttachIframe||f._doAttachIframe)&&(this.subdomain&&"nosubdomainreturned"!==this.subdomain||f._subdomain)&&this.url&&!this.startedAttachingIframe},attachIframe:function(){function e(){(n=i.createElement("iframe")).sandbox="allow-scripts allow-same-origin",n.title="Adobe ID Syncing iFrame",n.id=a.id,n.name=a.id+"_name",n.style.cssText="display: none; width: 0; height: 0;",n.src=a.url,a.newIframeCreated=!0,t(),i.body.appendChild(n)}function t(e){n.addEventListener("load",function(){n.className="aamIframeLoaded",a.iframeHasLoaded=!0,a.fireIframeLoadedCallbacks(e),a.requestToProcess()})}this.startedAttachingIframe=!0;var a=this,n=i.getElementById(this.id);n?"IFRAME"!==n.nodeName?(this.id+="_2",this.iframeIdChanged=!0,e()):(this.newIframeCreated=!1,"aamIframeLoaded"!==n.className?(this.originalIframeHasLoadedAlready=!1,t("The destination publishing iframe already exists from a different library, but hadn't loaded yet.")):(this.originalIframeHasLoadedAlready=!0,this.iframeHasLoaded=!0,this.iframe=n,this.fireIframeLoadedCallbacks("The destination publishing iframe already exists from a different library, and had loaded alresady."),this.requestToProcess())):e(),this.iframe=n},fireIframeLoadedCallbacks:function(t){this.iframeLoadedCallbacks.forEach(function(e){"function"==typeof e&&e({message:t||"The destination publishing iframe was attached and loaded successfully."})}),this.iframeLoadedCallbacks=[]},requestToProcess:function(e){function t(){n.jsonForComparison.push(e),n.jsonWaiting.push(e),n.processSyncOnPage(e)}var a,n=this;if(e===Object(e)&&e.ibs)if(a=JSON.stringify(e.ibs||[]),this.jsonForComparison.length){var i,r,o,s=!1;for(i=0,r=this.jsonForComparison.length;i<r;i++)if(o=this.jsonForComparison[i],a===JSON.stringify(o.ibs||[])){s=!0;break}s?this.jsonDuplicates.push(e):t()}else t();if((this.receivedThirdPartyCookiesNotification||!ne.POST_MESSAGE_ENABLED||this.iframeHasLoaded)&&this.jsonWaiting.length){var l=this.jsonWaiting.shift();this.process(l),this.requestToProcess()}f.idSyncDisableSyncs||f.disableIdSyncs||!this.iframeHasLoaded||!this.messages.length||this.sendingMessages||(this.throttleTimerSet||(this.throttleTimerSet=!0,setTimeout(function(){n.messageSendingInterval=ne.POST_MESSAGE_ENABLED?null:150},this.THROTTLE_START)),this.sendingMessages=!0,this.sendMessages())},getRegionAndCheckIfChanged:function(e,t){var a=f._getField("MCAAMLH"),n=e.d_region||e.dcs_region;return a?n&&(f._setFieldExpire("MCAAMLH",t),f._setField("MCAAMLH",n),parseInt(a,10)!==n&&(this.regionChanged=!0,this.timesRegionChanged++,f._setField("MCSYNCSOP",""),f._setField("MCSYNCS",""),a=n)):(a=n)&&(f._setFieldExpire("MCAAMLH",t),f._setField("MCAAMLH",a)),a||(a=""),a},processSyncOnPage:function(e){var t,a,n,i;if((t=e.ibs)&&t instanceof Array&&(a=t.length))for(n=0;n<a;n++)(i=t[n]).syncOnPage&&this.checkFirstPartyCookie(i,"","syncOnPage")},process:function(e){var t,a,n,i,r,o=encodeURIComponent,s=!1;if((t=e.ibs)&&t instanceof Array&&(a=t.length))for(s=!0,n=0;n<a;n++)i=t[n],r=[o("ibs"),o(i.id||""),o(i.tag||""),Q.encodeAndBuildRequest(i.url||[],","),o(i.ttl||""),"","",i.fireURLSync?"true":"false"],i.syncOnPage||(this.canSetThirdPartyCookies?this.addMessage(r.join("|")):i.fireURLSync&&this.checkFirstPartyCookie(i,r.join("|")));s&&this.jsonProcessed.push(e)},checkFirstPartyCookie:function(e,t,a){var n="syncOnPage"===a,i=n?"MCSYNCSOP":"MCSYNCS";f._readVisitor();var r,o,s=f._getField(i),l=!1,c=!1,u=Math.ceil((new Date).getTime()/ne.MILLIS_PER_DAY);s?(r=s.split("*"),l=(o=this.pruneSyncData(r,e.id,u)).dataPresent,c=o.dataValid,l&&c||this.fireSync(n,e,t,r,i,u)):(r=[],this.fireSync(n,e,t,r,i,u))},pruneSyncData:function(e,t,a){var n,i,r,o=!1,s=!1;for(i=0;i<e.length;i++)n=e[i],r=parseInt(n.split("-")[1],10),n.match("^"+t+"-")?(o=!0,a<r?s=!0:(e.splice(i,1),i--)):r<=a&&(e.splice(i,1),i--);return{dataPresent:o,dataValid:s}},manageSyncsSize:function(e){if(e.join("*").length>this.MAX_SYNCS_LENGTH)for(e.sort(function(e,t){return parseInt(e.split("-")[1],10)-parseInt(t.split("-")[1],10)});e.join("*").length>this.MAX_SYNCS_LENGTH;)e.shift()},fireSync:function(e,t,a,n,u,i){var d=this;if(e){if("img"===t.tag){var r,o,s,l,c=t.url,g=f.loadSSL?"https:":"http:";for(r=0,o=c.length;r<o;r++){s=c[r],l=/^\/\//.test(s);var p=new Image;p.addEventListener("load",function(o,s,l,c){return function(){d.onPagePixels[o]=null,f._readVisitor();var e,t,a,n,i=f._getField(u),r=[];if(i)for(t=0,a=(e=i.split("*")).length;t<a;t++)(n=e[t]).match("^"+s.id+"-")||r.push(n);d.setSyncTrackingData(r,s,l,c)}}(this.onPagePixels.length,t,u,i)),p.src=(l?g:"")+s,this.onPagePixels.push(p)}}}else this.addMessage(a),this.setSyncTrackingData(n,t,u,i)},addMessage:function(e){var t=encodeURIComponent(f._enableErrorReporting?"---destpub-debug---":"---destpub---");this.messages.push((ne.POST_MESSAGE_ENABLED?"":t)+e)},setSyncTrackingData:function(e,t,a,n){e.push(t.id+"-"+(n+Math.ceil(t.ttl/60/24))),this.manageSyncsSize(e),f._setField(a,e.join("*"))},sendMessages:function(){var e,t=this,a="",n=encodeURIComponent;this.regionChanged&&(a=n("---destpub-clear-dextp---"),this.regionChanged=!1),this.messages.length?ne.POST_MESSAGE_ENABLED?(e=a+n("---destpub-combined---")+this.messages.join("%01"),this.postMessage(e),this.messages=[],this.sendingMessages=!1):(e=this.messages.shift(),this.postMessage(a+e),setTimeout(function(){t.sendMessages()},this.messageSendingInterval)):this.sendingMessages=!1},postMessage:function(e){ee.postMessage(e,this.url,this.iframe.contentWindow),this.messagesPosted.push(e)},receiveMessage:function(e){var t,a=/^---destpub-to-parent---/;"string"==typeof e&&a.test(e)&&("canSetThirdPartyCookies"===(t=e.replace(a,"").split("|"))[0]&&(this.canSetThirdPartyCookies="true"===t[1],this.receivedThirdPartyCookiesNotification=!0,this.requestToProcess()),this.messagesReceived.push(e))},processIDCallData:function(e){(null==this.url||e.subdomain&&"nosubdomainreturned"===this.subdomain)&&("string"==typeof f._subdomain&&f._subdomain.length?this.subdomain=f._subdomain:this.subdomain=e.subdomain||"",this.url=this.getUrl()),e.ibs instanceof Array&&e.ibs.length&&(this.doAttachIframe=!0),this.readyToAttachIframe()&&(f.idSyncAttachIframeOnWindowLoad?(t.windowLoaded||"complete"===i.readyState||"loaded"===i.readyState)&&this.attachIframe():this.attachIframeASAP()),"function"==typeof f.idSyncIDCallResult?f.idSyncIDCallResult(e):this.requestToProcess(e),"function"==typeof f.idSyncAfterIDCallResult&&f.idSyncAfterIDCallResult(e)},canMakeSyncIDCall:function(e,t){return f._forceSyncIDCall||!e||t-e>ne.DAYS_BETWEEN_SYNC_ID_CALLS},attachIframeASAP:function(){function e(){t.startedAttachingIframe||(i.body?t.attachIframe():setTimeout(e,30))}var t=this;e()}}},F={audienceManagerServer:{},audienceManagerServerSecure:{},cookieDomain:{},cookieLifetime:{},cookieName:{},doesOptInApply:{type:"boolean"},disableThirdPartyCalls:{type:"boolean"},discardTrackingServerECID:{type:"boolean"},idSyncAfterIDCallResult:{},idSyncAttachIframeOnWindowLoad:{type:"boolean"},idSyncContainerID:{},idSyncDisable3rdPartySyncing:{type:"boolean"},disableThirdPartyCookies:{type:"boolean"},idSyncDisableSyncs:{type:"boolean"},disableIdSyncs:{type:"boolean"},idSyncIDCallResult:{},idSyncSSLUseAkamai:{type:"boolean"},isCoopSafe:{type:"boolean"},isIabContext:{type:"boolean"},isOptInStorageEnabled:{type:"boolean"},loadSSL:{type:"boolean"},loadTimeout:{},marketingCloudServer:{},marketingCloudServerSecure:{},optInCookieDomain:{},optInStorageExpiry:{},overwriteCrossDomainMCIDAndAID:{type:"boolean"},preOptInApprovals:{},previousPermissions:{},resetBeforeVersion:{},sdidParamExpiry:{},serverState:{},sessionCookieName:{},secureCookie:{type:"boolean"},sameSiteCookie:{},takeTimeoutMetrics:{},trackingServer:{},trackingServerSecure:{},useLocalStorage:{type:"boolean"},whitelistIframeDomains:{},whitelistParentDomain:{}},q={getConfigNames:function(){return Object.keys(F)},getConfigs:function(){return F},normalizeConfig:function(e,t){return F[e]&&"boolean"===F[e].type?"function"!=typeof t?t:t():t}},H=function(e){var i={};return e.on=function(e,t,a){if(!t||"function"!=typeof t)throw new Error("[ON] Callback should be a function.");i.hasOwnProperty(e)||(i[e]=[]);var n=i[e].push({callback:t,context:a})-1;return function(){i[e].splice(n,1),i[e].length||delete i[e]}},e.off=function(e,t){i.hasOwnProperty(e)&&(i[e]=i[e].filter(function(e){if(e.callback!==t)return e}))},e.publish=function(e){if(i.hasOwnProperty(e)){var t=[].slice.call(arguments,1);i[e].slice(0).forEach(function(e){e.callback.apply(e.context,t)})}},e.publish},U={PENDING:"pending",CHANGED:"changed",COMPLETE:"complete"},z={AAM:"aam",ADCLOUD:"adcloud",ANALYTICS:"aa",CAMPAIGN:"campaign",ECID:"ecid",LIVEFYRE:"livefyre",TARGET:"target",MEDIA_ANALYTICS:"mediaaa"},re=(e(v={},z.AAM,565),e(v,z.ECID,565),v),oe=(e(h={},z.AAM,[1,10]),e(h,z.ECID,[1,10]),h),se=["videoaa","iabConsentHash"],le=(b=z,Object.keys(b).map(function(e){return b[e]})),ce=function(){var n={};return n.callbacks=Object.create(null),n.add=function(e,t){if(!l(t))throw new Error("[callbackRegistryFactory] Make sure callback is a function or an array of functions.");n.callbacks[e]=n.callbacks[e]||[];var a=n.callbacks[e].push(t)-1;return function(){n.callbacks[e].splice(a,1)}},n.execute=function(e,t){if(n.callbacks[e]){t=(t=void 0===t?[]:t)instanceof Array?t:[t];try{for(;n.callbacks[e].length;){var a=n.callbacks[e].shift();"function"==typeof a?a.apply(null,t):a instanceof Array&&a[1].apply(a[0],t)}delete n.callbacks[e]}catch(n){}}},n.executeAll=function(a,e){(e||a&&!s(a))&&Object.keys(n.callbacks).forEach(function(e){var t=void 0!==a[e]?a[e]:"";n.execute(e,t)},n)},n.hasCallbacks=function(){return Boolean(Object.keys(n.callbacks).length)},n},ue=function(){},de=function(e){var t=window.console;return!!t&&"function"==typeof t[e]},ge=function(n,i,e){return e()?function(){if(de(n)){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];console[n].apply(console,[i].concat(t))}}:ue},pe=n,fe=function(){for(var i=[],e=0;e<256;e++){for(var t=e,a=0;a<8;a++)t=1&t?3988292384^t>>>1:t>>>1;i.push(t)}return function(e,t){e=unescape(encodeURIComponent(e)),t||(t=0),t^=-1;for(var a=0;a<e.length;a++){var n=255&(t^e.charCodeAt(a));t=t>>>8^i[n]}return(t^=-1)>>>0}}(),me=new pe("[ADOBE OPT-IN]"),ve=function(e,t){return B(e)===t},he=function(e,t){return e instanceof Array?e:ve(e,"string")?[e]:t||[]},be=function(t){var e=Object.keys(t);return!!e.length&&e.every(function(e){return!0===t[e]})},ye=function(e,t){var a=1<arguments.length&&void 0!==t&&arguments[1];return!(!e||Ie(e))&&he(e).every(function(e){return-1<le.indexOf(e)||a&&-1<se.indexOf(e)})},we=function(e,a){return e.reduce(function(e,t){return e[t]=a,e},{})},De=function(e){return JSON.parse(JSON.stringify(e))},Ie=function(e){return"[object Array]"===Object.prototype.toString.call(e)&&!e.length},Pe=function(e){if(Ce(e))return e;try{return JSON.parse(e)}catch(e){return{}}},ke=function(e){return void 0===e||(Ce(e)?ye(Object.keys(e),!0):je(e))},je=function(e){try{var t=JSON.parse(e);return!!e&&ve(e,"string")&&ye(Object.keys(t),!0)}catch(e){return!1}},Ce=function(e){return null!==e&&ve(e,"object")&&!1===Array.isArray(e)},_e=function(){},Ve=function(e){return ve(e,"function")?e():e},Se=function(e,t){ke(e)||me.error("".concat(t))},
Ae=function(t){return Object.keys(t).map(function(e){return t[e]})},Ee=function(e){return Ae(e).filter(function(e,t,a){return a.indexOf(e)===t})},Le=function(d){return function(e){var t=0<arguments.length&&void 0!==e?arguments[0]:{},a=t.command,n=t.params,i=void 0===n?{}:n,r=t.callback,o=void 0===r?_e:r;if(!a||-1===a.indexOf("."))throw new Error("[OptIn.execute] Please provide a valid command.");try{var s=a.split("."),l=d[s[0]],c=s[1];if(!l||"function"!=typeof l[c])throw new Error("Make sure the plugin and API name exist.");var u=Object.assign(i,{callback:o});l[c].call(l,u)}catch(d){me.error("[execute] Something went wrong: "+d.message)}}};c.prototype=Object.create(Error.prototype),c.prototype.constructor=c;var xe="fetchPermissions",Oe="[OptIn#registerPlugin] Plugin is invalid.";u.Categories=z,u.TimeoutError=c;var Te=Object.freeze({OptIn:u,IabPlugin:m}),Ne=function(d,g){d.publishDestinations=function(e,t,a){var n=t,i=a;try{i="function"==typeof i?i:e.callback}catch(d){i=function(){}}var r=g;if(r.readyToAttachIframePreliminary()){if("string"==typeof e){if(!e.length)return void i({error:"subdomain is not a populated string."});if(!(n instanceof Array&&n.length))return void i({error:"messages is not a populated array."});var o=!1;if(n.forEach(function(e){"string"==typeof e&&e.length&&(r.addMessage(e),o=!0)}),!o)return void i({error:"None of the messages are populated strings."})}else{if(!Q.isObject(e))return void i({error:"Invalid parameters passed."});var s=e;if("string"!=typeof(e=s.subdomain)||!e.length)return void i({error:"config.subdomain is not a populated string."});var l=s.urlDestinations;if(!(l instanceof Array&&l.length))return void i({error:"config.urlDestinations is not a populated array."});var c=[];l.forEach(function(e){Q.isObject(e)&&(e.hideReferrer?e.message&&r.addMessage(e.message):c.push(e))}),function u(){c.length&&setTimeout(function(){var e=new Image,t=c.shift();e.src=t.url,r.onPageDestinationsFired.push(t),u()},100)}()}r.iframe?(i({message:"The destination publishing iframe is already attached and loaded."}),r.requestToProcess()):!d.subdomain&&d._getField("MCMID")?(r.subdomain=e,r.doAttachIframe=!0,r.url=r.getUrl(),r.readyToAttachIframe()?(r.iframeLoadedCallbacks.push(function(e){i({message:"Attempted to attach and load the destination publishing iframe through this API call. Result: "+(e.message||"no result")})}),r.attachIframe()):i({error:"Encountered a problem in attempting to attach and load the destination publishing iframe through this API call."})):r.iframeLoadedCallbacks.push(function(e){i({message:"Attempted to attach and load the destination publishing iframe through normal Visitor API processing. Result: "+(e.message||"no result")})})}else i({error:"The destination publishing iframe is disabled in the Visitor library."})}},Re=function B(e){function t(e,t){return e>>>t|e<<32-t}for(var a,n,i=Math.pow,r=i(2,32),o="",s=[],l=8*e.length,c=B.h=B.h||[],u=B.k=B.k||[],d=u.length,g={},p=2;d<64;p++)if(!g[p]){for(a=0;a<313;a+=p)g[a]=p;c[d]=i(p,.5)*r|0,u[d++]=i(p,1/3)*r|0}for(e+="\x80";e.length%64-56;)e+="\0";for(a=0;a<e.length;a++){if((n=e.charCodeAt(a))>>8)return;s[a>>2]|=n<<(3-a)%4*8}for(s[s.length]=l/r|0,s[s.length]=l,n=0;n<s.length;){var f=s.slice(n,n+=16),m=c;for(c=c.slice(0,8),a=0;a<64;a++){var v=f[a-15],h=f[a-2],b=c[0],y=c[4],w=c[7]+(t(y,6)^t(y,11)^t(y,25))+(y&c[5]^~y&c[6])+u[a]+(f[a]=a<16?f[a]:f[a-16]+(t(v,7)^t(v,18)^v>>>3)+f[a-7]+(t(h,17)^t(h,19)^h>>>10)|0);(c=[w+((t(b,2)^t(b,13)^t(b,22))+(b&c[1]^b&c[2]^c[1]&c[2]))|0].concat(c))[4]=c[4]+w|0}for(a=0;a<8;a++)c[a]=c[a]+m[a]|0}for(a=0;a<8;a++)for(n=3;n+1;n--){var D=c[a]>>8*n&255;o+=(D<16?0:"")+D.toString(16)}return o},Me=function(e,t){return"SHA-256"!==t&&"SHA256"!==t&&"sha256"!==t&&"sha-256"!==t||(e=Re(e)),e},Fe=function(e){return String(e).trim().toLowerCase()},qe=Te.OptIn;Q.defineGlobalNamespace(),window.adobe.OptInCategories=qe.Categories;var He=function(n,a,e){function g(){h._customerIDsHashChanged=!1}function t(e){var n=e;return function(e){var t=e||P.location.href;try{var a=h._extractParamFromUri(t,n);if(a)return q.parsePipeDelimetedKeyValues(a)}catch(e){}}}function i(e){function t(e,t,a){e&&e.match(ne.VALID_VISITOR_ID_REGEX)&&(a===V&&(I=!0),t(e))}t(e[V],h.setMarketingCloudVisitorID,V),h._setFieldExpire(x,-1),t(e[E],h.setAnalyticsVisitorID)}function r(e){e=e||{},h._supplementalDataIDCurrent=e.supplementalDataIDCurrent||"",h._supplementalDataIDCurrentConsumed=e.supplementalDataIDCurrentConsumed||{},h._supplementalDataIDLast=e.supplementalDataIDLast||"",h._supplementalDataIDLastConsumed=e.supplementalDataIDLastConsumed||{}}function o(e){function i(e,t,a){return(a=a?a+="|":a)+(e+"=")+encodeURIComponent(t)}function t(e,t){var a=t[0],n=t[1];return null!=n&&n!==O&&(e=i(a,n,e)),e}var a,n=e.reduce(t,"");return(a=(a=n)?a+="|":a)+"TS="+q.getTimestampInSeconds()}function s(e){var t=e.minutesToLive,a="";return(h.idSyncDisableSyncs||h.disableIdSyncs)&&(a=a||"Error: id syncs have been disabled"),"string"==typeof e.dpid&&e.dpid.length||(a=a||"Error: config.dpid is empty"),"string"==typeof e.url&&e.url.length||(a=a||"Error: config.url is empty"),void 0===t?t=20160:(t=parseInt(t,10),(isNaN(t)||t<=0)&&(a=a||"Error: config.minutesToLive needs to be a positive number")),{error:a,ttl:t}}function l(){return!(!h.configs.doesOptInApply||b.optIn.isComplete&&d())}function d(){return h.configs.doesOptInApply&&h.configs.isIabContext?b.optIn.isApproved(b.optIn.Categories.ECID)&&D:b.optIn.isApproved(b.optIn.Categories.ECID)}function c(){[["getMarketingCloudVisitorID"],["setCustomerIDs",void 0],["syncIdentity",void 0],["getAnalyticsVisitorID"],["getAudienceManagerLocationHint"],["getLocationHint"],["getAudienceManagerBlob"]].forEach(function(e){var t=e[0],a=2===e.length?e[1]:"",n=h[t];h[t]=function(e){return d()&&h.isAllowed()?n.apply(h,arguments):("function"==typeof e&&h._callCallback(e,[a]),a)}})}function u(){var e=h._getAudienceManagerURLData(),t=e.url;return h._loadData(_,t,null,e)}function p(e,t){if(D=!0,e)throw new Error("[IAB plugin] : "+e);t&&t.gdprApplies&&(y=t.consentString,w=t.hasConsentChangedSinceLastCmpPull?1:0),u(),v()}function f(e,t){if(D=!0,e)throw new Error("[IAB plugin] : "+e);t.gdprApplies&&(y=t.consentString,w=t.hasConsentChangedSinceLastCmpPull?1:0),h.init(),v()}function m(){b.optIn.isComplete&&(b.optIn.isApproved(b.optIn.Categories.ECID)?h.configs.isIabContext?b.optIn.execute({command:"iabPlugin.fetchConsentData",callback:f}):(h.init(),v()):h.configs.isIabContext?b.optIn.execute({command:"iabPlugin.fetchConsentData",callback:p}):(c(),v()))}function v(){b.optIn.off("complete",m)}if(!e||e.split("").reverse().join("")!==n)throw new Error("Please use `Visitor.getInstance` to instantiate Visitor.");var h=this,b=window.adobe,y="",w=0,D=!1,I=!1;h.version="5.2.0";var P=G,k=P.Visitor;k.version=h.version,k.AuthState=Z.AUTH_STATE,k.OptOut=Z.OPT_OUT,P.s_c_in||(P.s_c_il=[],P.s_c_in=0),h._c="Visitor",h._il=P.s_c_il,h._in=P.s_c_in,h._il[h._in]=h,P.s_c_in++,h._instanceType="regular",h._log={requests:[]},h.marketingCloudOrgID=n,h.cookieName="AMCV_"+n,h.sessionCookieName="AMCVS_"+n;var j={};a&&a.secureCookie&&a.sameSiteCookie&&(j={sameSite:a.sameSiteCookie,secure:a.secureCookie}),h.cookieDomain=h.useLocalStorage?"":J(null,j),h.loadSSL=!0,h.loadTimeout=3e4,h.CORSErrors=[],h.marketingCloudServer=h.audienceManagerServer="dpm.demdex.net",h.sdidParamExpiry=30;var C=null,_="MC",V="MCMID",S="MCIDTS",A="A",E="MCAID",L="AAM",x="MCAAMB",O="NONE",T=function(e){return!Object.prototype[e]},N=ae(h);h.FIELDS=Z.FIELDS,h.cookieRead=function(e){return h.useLocalStorage?e===h.sessionCookieName?sessionStorage.getItem(e):localStorage.getItem(e):$.get(e)},h.cookieWrite=function(e,t,a){var n=""+t;if(h.useLocalStorage)return e===h.sessionCookieName?sessionStorage.setItem(e,n):localStorage.setItem(e,n);var i=h.cookieLifetime?(""+h.cookieLifetime).toUpperCase():"",r={expires:a,domain:h.cookieDomain,cookieLifetime:i};return h.configs&&h.configs.secureCookie&&"https:"===location.protocol&&(r.secure=!0),h.configs&&h.configs.sameSiteCookie&&"https:"===location.protocol&&(r.sameSite=Z.SAME_SITE_VALUES[h.configs.sameSiteCookie.toUpperCase()]||"Lax"),$.set(e,n,r)},h.removeCookie=function(e){if(h.useLocalStorage)return e===h.sessionCookieName?sessionStorage.removeItem(e):localStorage.removeItem(e);var t={domain:h.cookieDomain};return h.configs&&h.configs.secureCookie&&"https:"===location.protocol&&(t.secure=!0),h.configs&&h.configs.sameSiteCookie&&"https:"===location.protocol&&(t.sameSite=Z.SAME_SITE_VALUES[h.configs.sameSiteCookie.toUpperCase()]||"Lax"),$.remove(e,t)},h.resetState=function(e){e?h._mergeServerState(e):r()},h._isAllowedDone=!1,h._isAllowedFlag=!1,h.isAllowed=function(){return h._isAllowedDone||(h._isAllowedDone=!0,(h.cookieRead(h.cookieName)||h.cookieWrite(h.cookieName,"T",1))&&(h._isAllowedFlag=!0)),"T"===h.cookieRead(h.cookieName)&&h.removeCookie(h.cookieName),h._isAllowedFlag},h.setMarketingCloudVisitorID=function(e){h._setMarketingCloudFields(e)},h._use1stPartyMarketingCloudServer=!1,h.getMarketingCloudVisitorID=function(e,t){h.marketingCloudServer&&h.marketingCloudServer.indexOf(".demdex.net")<0&&(h._use1stPartyMarketingCloudServer=!0);var a=h._getAudienceManagerURLData("_setMarketingCloudFields"),n=a.url;return h._getRemoteField(V,n,e,t,a)};var R=function(t,e){var a={};h.getMarketingCloudVisitorID(function(){e.forEach(function(e){a[e]=h._getField(e,!0)}),-1!==e.indexOf("MCOPTOUT")?h.isOptedOut(function(e){a.MCOPTOUT=e,t(a)},null,!0):t(a)},!0)};h.getVisitorValues=function(e,t){var a={MCMID:{fn:h.getMarketingCloudVisitorID,args:[!0],context:h},MCOPTOUT:{fn:h.isOptedOut,args:[void 0,!0],context:h},MCAID:{fn:h.getAnalyticsVisitorID,args:[!0],context:h},MCAAMLH:{fn:h.getAudienceManagerLocationHint,args:[!0],context:h},MCAAMB:{fn:h.getAudienceManagerBlob,args:[!0],context:h}},n=t&&t.length?Q.pluck(a,t):a;t&&-1===t.indexOf("MCAID")?R(e,t):K(n,e)},h._currentCustomerIDs={},h._customerIDsHashChanged=!1,h._newCustomerIDsHash="",h.setCustomerIDs=function(e,t){if(!h.isOptedOut()&&e){if(!Q.isObject(e)||Q.isObjectEmpty(e))return!1;var a,n,i,r;for(a in h._readVisitor(),e)if(T(a)&&(h._currentCustomerIDs.dataSources=h._currentCustomerIDs.dataSources||{},t=(n=e[a]).hasOwnProperty("hashType")?n.hashType:t,n))if("object"===B(n)){var o={};if(n.id){if(t){if(!(r=Me(Fe(n.id),t)))return;n.id=r,o.hashType=t}o.id=n.id}null!=n.authState&&(o.authState=n.authState),h._currentCustomerIDs.dataSources[a]=o}else if(t){if(!(r=Me(Fe(n),t)))return;h._currentCustomerIDs.dataSources[a]={id:r,hashType:t}}else h._currentCustomerIDs.dataSources[a]={id:n};var s=h.getCustomerIDs(!0),l=h._getField("MCCIDH"),c="";for(i in l||(l=0),s){var u=s[i];if(!Q.isObjectEmpty(u))for(a in u)T(a)&&(c+=(c?"|":"")+a+"|"+((n=u[a]).id?n.id:"")+(n.authState?n.authState:""))}h._newCustomerIDsHash=String(h._hash(c)),h._newCustomerIDsHash!==l&&(h._customerIDsHashChanged=!0,h._mapCustomerIDs(g))}},h.syncIdentity=function(e,t){if(!h.isOptedOut()&&e){if(!Q.isObject(e)||Q.isObjectEmpty(e))return!1;var a,n,i,r,o;for(a in h._readVisitor(),e)if(T(a)&&(h._currentCustomerIDs.nameSpaces=h._currentCustomerIDs.nameSpaces||{},t=(n=e[a]).hasOwnProperty("hashType")?n.hashType:t,n&&"object"===B(n))){var s={};if(n.id){if(t){if(!(i=Me(Fe(n.id),t)))return;n.id=i,s.hashType=t}s.id=n.id}null!=n.authState&&(s.authState=n.authState),n.dataSource&&(h._currentCustomerIDs.dataSources=h._currentCustomerIDs.dataSources||{},r=n.dataSource,h._currentCustomerIDs.dataSources[r]=s),h._currentCustomerIDs.nameSpaces[a]=s}var l=h.getCustomerIDs(!0),c=h._getField("MCCIDH"),u="";for(o in c||(c="0"),l){var d=l[o];if(!Q.isObjectEmpty(d))for(a in d)T(a)&&(u+=(u?"|":"")+a+"|"+((n=d[a]).id?n.id:"")+(n.authState?n.authState:""))}h._newCustomerIDsHash=String(h._hash(u)),h._newCustomerIDsHash!==c&&(h._customerIDsHashChanged=!0,h._mapCustomerIDs(g))}},h.getCustomerIDs=function(e){h._readVisitor();var t,a,n={dataSources:{},nameSpaces:{}},i=h._currentCustomerIDs.dataSources;for(t in i)T(t)&&(a=i[t]).id&&(n.dataSources[t]||(n.dataSources[t]={}),n.dataSources[t].id=a.id,null!=a.authState?n.dataSources[t].authState=a.authState:n.dataSources[t].authState=k.AuthState.UNKNOWN,a.hashType&&(n.dataSources[t].hashType=a.hashType));var r=h._currentCustomerIDs.nameSpaces;for(t in r)T(t)&&(a=r[t]).id&&(n.nameSpaces[t]||(n.nameSpaces[t]={}),n.nameSpaces[t].id=a.id,null!=a.authState?n.nameSpaces[t].authState=a.authState:n.nameSpaces[t].authState=k.AuthState.UNKNOWN,a.hashType&&(n.nameSpaces[t].hashType=a.hashType));return e?n:n.dataSources},h.setAnalyticsVisitorID=function(e){h._setAnalyticsFields(e)},h.getAnalyticsVisitorID=function(e,t,a){if(!q.isTrackingServerPopulated()&&!a)return h._callCallback(e,[""]),"";var n="";if(a||(n=h.getMarketingCloudVisitorID(function(){h.getAnalyticsVisitorID(e,!0)})),n||a){var i=a?h.marketingCloudServer:h.trackingServer,r="";h.loadSSL&&(a?h.marketingCloudServerSecure&&(i=h.marketingCloudServerSecure):h.trackingServerSecure&&(i=h.trackingServerSecure));var o={};if(i){var s="http"+(h.loadSSL?"s":"")+"://"+i+"/id",l="d_visid_ver="+h.version+"&mcorgid="+encodeURIComponent(h.marketingCloudOrgID)+(n?"&mid="+encodeURIComponent(n):"")+(h.idSyncDisable3rdPartySyncing||h.disableThirdPartyCookies?"&d_coppa=true":""),c=["s_c_il",h._in,"_set"+(a?"MarketingCloud":"Analytics")+"Fields"];r=s+"?"+l+"&callback=s_c_il%5B"+h._in+"%5D._set"+(a?"MarketingCloud":"Analytics")+"Fields",o.corsUrl=s+"?"+l,o.callback=c}return o.url=r,h._getRemoteField(a?V:E,r,e,t,o)}return""},h.getAudienceManagerLocationHint=function(e,t){if(h.getMarketingCloudVisitorID(function(){h.getAudienceManagerLocationHint(e,!0)})){var a=h._getField(E);if(!a&&q.isTrackingServerPopulated()&&(a=h.getAnalyticsVisitorID(function(){h.getAudienceManagerLocationHint(e,!0)})),a||!q.isTrackingServerPopulated()){var n=h._getAudienceManagerURLData(),i=n.url;return h._getRemoteField("MCAAMLH",i,e,t,n)}}return""},h.getLocationHint=h.getAudienceManagerLocationHint,h.getAudienceManagerBlob=function(e,t){if(h.getMarketingCloudVisitorID(function(){h.getAudienceManagerBlob(e,!0)})){var a=h._getField(E);if(!a&&q.isTrackingServerPopulated()&&(a=h.getAnalyticsVisitorID(function(){h.getAudienceManagerBlob(e,!0)})),a||!q.isTrackingServerPopulated()){var n=h._getAudienceManagerURLData(),i=n.url;return h._customerIDsHashChanged&&h._setFieldExpire(x,-1),h._getRemoteField(x,i,e,t,n)}}return""},h._supplementalDataIDCurrent="",h._supplementalDataIDCurrentConsumed={},h._supplementalDataIDLast="",h._supplementalDataIDLastConsumed={};var M=!(h.getSupplementalDataID=function(e,t){h._supplementalDataIDCurrent||t||(h._supplementalDataIDCurrent=h._generateID(1));var a=h._supplementalDataIDCurrent;return h._supplementalDataIDLast&&!h._supplementalDataIDLastConsumed[e]?(a=h._supplementalDataIDLast,h._supplementalDataIDLastConsumed[e]=!0):a&&(h._supplementalDataIDCurrentConsumed[e]&&(h._supplementalDataIDLast=h._supplementalDataIDCurrent,h._supplementalDataIDLastConsumed=h._supplementalDataIDCurrentConsumed,h._supplementalDataIDCurrent=a=t?"":h._generateID(1),h._supplementalDataIDCurrentConsumed={}),a&&(h._supplementalDataIDCurrentConsumed[e]=!0)),a});h._liberatedOptOut=null,h.getOptOut=function(e,t){var a=h._getAudienceManagerURLData("_setMarketingCloudFields"),n=a.url;if(d())return h._getRemoteField("MCOPTOUT",n,e,t,a);if(h._registerCallback("liberatedOptOut",e),null!==h._liberatedOptOut)return h._callAllCallbacks("liberatedOptOut",[h._liberatedOptOut]),M=!1,h._liberatedOptOut;if(M)return null;M=!0;var i="liberatedGetOptOut";return a.corsUrl=a.corsUrl.replace(/\.demdex\.net\/id\?/,".demdex.net/optOutStatus?"),a.callback=[i],G[i]=function(e){if(e===Object(e)){var t,a,n=Q.parseOptOut(e,t,O);t=n.optOut,a=1e3*n.d_ottl,h._liberatedOptOut=t,setTimeout(function(){h._liberatedOptOut=null},a)}h._callAllCallbacks("liberatedOptOut",[t]),M=!1},N.fireCORS(a),null};var F={subscribed:(h.isOptedOut=function(a,n,e){n||(n=k.OptOut.GLOBAL);var t=h.getOptOut(function(e){var t=e===k.OptOut.GLOBAL||0<=e.indexOf(n);h._callCallback(a,[t])},e);return t?t===k.OptOut.GLOBAL||0<=t.indexOf(n):null},!1),callbacks:[]};h.onReceiveEcid=function(e){if(d())return h.getMarketingCloudVisitorID(e,!0);F.subscribed=!0,e&&"function"==typeof e&&F.callbacks.push(e)},h._fields=null,h._fieldsExpired=null,h._hash=function(e){var t,a=0;if(e)for(t=0;t<e.length;t++)a=(a<<5)-a+e.charCodeAt(t),a&=a;return a},h._generateID=te,h._generateLocalMID=function(){var e=h._generateID(0);return z.isClientSideMarketingCloudVisitorID=!0,e},h._callbackList=null,h._callCallback=function(e,t){try{"function"==typeof e?e.apply(P,t):e[1].apply(e[0],t)}catch(e){}},h._registerCallback=function(e,t){t&&(null==h._callbackList&&(h._callbackList={}),null==h._callbackList[e]&&(h._callbackList[e]=[]),h._callbackList[e].push(t))},h._callAllCallbacks=function(e,t){if(null!=h._callbackList){var a=h._callbackList[e];if(a)for(;0<a.length;)h._callCallback(a.shift(),t)}},h._addQuerystringParam=function(e,t,a,n){var i=encodeURIComponent(t)+"="+encodeURIComponent(a),r=q.parseHash(e),o=q.hashlessUrl(e);if(-1===o.indexOf("?"))return o+"?"+i+r;var s=o.split("?"),l=s[0]+"?",c=s[1];return l+q.addQueryParamAtLocation(c,i,n)+r},h._extractParamFromUri=function(e,t){var a=new RegExp("[\\?&#]"+t+"=([^&#]*)").exec(e);if(a&&a.length)return decodeURIComponent(a[1])},h._parseAdobeMcFromUrl=t(ne.ADOBE_MC),h._parseAdobeMcSdidFromUrl=t(ne.ADOBE_MC_SDID),h._attemptToPopulateSdidFromUrl=function(e){var t=h._parseAdobeMcSdidFromUrl(e),a=1e9;t&&t.TS&&(a=q.getTimestampInSeconds()-t.TS),t&&t.SDID&&t.MCORGID===n&&a<h.sdidParamExpiry&&(h._supplementalDataIDCurrent=t.SDID,h._supplementalDataIDCurrentConsumed.SDID_URL_PARAM=!0)},h._attemptToPopulateIdsFromUrl=function(){var e=h._parseAdobeMcFromUrl();if(e&&e.TS){var t=q.getTimestampInSeconds()-e.TS;if(Math.floor(t/60)>ne.ADOBE_MC_TTL_IN_MIN||e.MCORGID!==n)return;i(e)}},h._mergeServerState=function(e){if(e)try{if(n=e,(e=q.isObject(n)?n:JSON.parse(n))[h.marketingCloudOrgID]){var t=e[h.marketingCloudOrgID];a=t.customerIDs,q.isObject(a)&&h.setCustomerIDs(a),r(t.sdid)}}catch(e){throw new Error("`serverState` has an invalid format.")}var a,n},h._timeout=null,h._loadData=function(e,t,a,n){t=h._addQuerystringParam(t,"d_fieldgroup",e,1),n.url=h._addQuerystringParam(n.url,"d_fieldgroup",e,1),n.corsUrl=h._addQuerystringParam(n.corsUrl,"d_fieldgroup",e,1),z.fieldGroupObj[e]=!0,n===Object(n)&&n.corsUrl&&"XMLHttpRequest"===N.corsMetadata.corsType&&N.fireCORS(n,a,e)},h._clearTimeout=function(e){null!=h._timeout&&h._timeout[e]&&(clearTimeout(h._timeout[e]),h._timeout[e]=0)},h._settingsDigest=0,h._getSettingsDigest=function(){if(!h._settingsDigest){var e=h.version;h.audienceManagerServer&&(e+="|"+h.audienceManagerServer),h.audienceManagerServerSecure&&(e+="|"+h.audienceManagerServerSecure),h._settingsDigest=h._hash(e)}return h._settingsDigest},h._readVisitorDone=!1,h._readVisitor=function(){if(!h._readVisitorDone){h._readVisitorDone=!0;var e,t,a,n,i,r,o=h._getSettingsDigest(),s=!1,l=h.cookieRead(h.cookieName),c=new Date;if(l||I||h.discardTrackingServerECID||(l=h.cookieRead(ne.FIRST_PARTY_SERVER_COOKIE)),null==h._fields&&(h._fields={}),l&&"T"!==l)for((l=l.split("|"))[0].match(/^[\-0-9]+$/)&&(parseInt(l[0],10)!==o&&(s=!0),l.shift()),l.length%2==1&&l.pop(),e=0;e<l.length;e+=2)a=(t=l[e].split("-"))[0],n=l[e+1],1<t.length?(i=parseInt(t[1],10),r=0<t[1].indexOf("s")):(i=0,r=!1),s&&("MCCIDH"===a&&(n=""),0<i&&(i=c.getTime()/1e3-60)),a&&n&&(h._setField(a,n,1),0<i&&(h._fields["expire"+a]=i+(r?"s":""),(c.getTime()>=1e3*i||r&&!h.cookieRead(h.sessionCookieName))&&(h._fieldsExpired||(h._fieldsExpired={}),h._fieldsExpired[a]=!0)));!h._getField(E)&&q.isTrackingServerPopulated()&&(l=h.cookieRead("s_vi"))&&1<(l=l.split("|")).length&&0<=l[0].indexOf("v1")&&(0<=(e=(n=l[1]).indexOf("["))&&(n=n.substring(0,e)),n&&n.match(ne.VALID_VISITOR_ID_REGEX)&&h._setField(E,n))}},h._appendVersionTo=function(e){var t="vVersion|"+h.version,a=e?h._getCookieVersion(e):null;return a?X.areVersionsDifferent(a,h.version)&&(e=e.replace(ne.VERSION_REGEX,t)):e+=(e?"|":"")+t,e},h._writeVisitor=function(){var e,t,a=h._getSettingsDigest();for(e in h._fields)T(e)&&h._fields[e]&&"expire"!==e.substring(0,6)&&(t=h._fields[e],a+=(a?"|":"")+e+(h._fields["expire"+e]?"-"+h._fields["expire"+e]:"")+"|"+t);a=h._appendVersionTo(a),h.cookieWrite(h.cookieName,a,1)},h._getField=function(e,t){return null==h._fields||!t&&h._fieldsExpired&&h._fieldsExpired[e]?null:h._fields[e]},h._setField=function(e,t,a){null==h._fields&&(h._fields={}),h._fields[e]=t,a||h._writeVisitor()},h._getFieldList=function(e,t){var a=h._getField(e,t);return a?a.split("*"):null},h._setFieldList=function(e,t,a){h._setField(e,t?t.join("*"):"",a)},h._getFieldMap=function(e,t){var a=h._getFieldList(e,t);if(a){var n,i={};for(n=0;n<a.length;n+=2)i[a[n]]=a[n+1];return i}return null},h._setFieldMap=function(e,t,a){var n,i=null;if(t)for(n in i=[],t)T(n)&&(i.push(n),i.push(t[n]));h._setFieldList(e,i,a)},h._setFieldExpire=function(e,t,a){var n=new Date;n.setTime(n.getTime()+1e3*t),null==h._fields&&(h._fields={}),h._fields["expire"+e]=Math.floor(n.getTime()/1e3)+(a?"s":""),t<0?(h._fieldsExpired||(h._fieldsExpired={}),h._fieldsExpired[e]=!0):h._fieldsExpired&&(h._fieldsExpired[e]=!1),a&&(h.cookieRead(h.sessionCookieName)||h.cookieWrite(h.sessionCookieName,"1"))},h._findVisitorID=function(e){return e&&("object"===B(e)&&(e=e.d_mid?e.d_mid:e.visitorID?e.visitorID:e.id?e.id:e.uuid?e.uuid:""+e),e&&"NOTARGET"===(e=e.toUpperCase())&&(e=O),e&&(e===O||e.match(ne.VALID_VISITOR_ID_REGEX))||(e="")),e},h._setFields=function(e,t){if(h._clearTimeout(e),null!=h._loading&&(h._loading[e]=!1),z.fieldGroupObj[e]&&z.setState(e,!1),e===_){!0!==z.isClientSideMarketingCloudVisitorID&&(z.isClientSideMarketingCloudVisitorID=!1);var a=h._getField(V);if(!a||h.overwriteCrossDomainMCIDAndAID){if(!(a="object"===B(t)&&t.mid?t.mid:h._findVisitorID(t))){if(h._use1stPartyMarketingCloudServer&&!h.tried1stPartyMarketingCloudServer)return h.tried1stPartyMarketingCloudServer=!0,void h.getAnalyticsVisitorID(null,!1,!0);a=h._generateLocalMID()}h._setField(V,a)}a&&a!==O||(a=""),"object"===B(t)&&((t.d_region||t.dcs_region||t.d_blob||t.blob)&&h._setFields(L,t),h._use1stPartyMarketingCloudServer&&t.mid&&h._setFields(A,{id:t.id})),h._callAllCallbacks(V,[a])}if(e===L&&"object"===B(t)){var n=604800;null!=t.id_sync_ttl&&t.id_sync_ttl&&(n=parseInt(t.id_sync_ttl,10));var i=H.getRegionAndCheckIfChanged(t,n);h._callAllCallbacks("MCAAMLH",[i]);var r=h._getField(x);(t.d_blob||t.blob)&&((r=t.d_blob)||(r=t.blob),h._setFieldExpire(x,n),h._setField(x,r)),r||(r=""),h._callAllCallbacks(x,[r]),!t.error_msg&&h._newCustomerIDsHash&&h._setField("MCCIDH",h._newCustomerIDsHash)}if(e===A){var o=h._getField(E);o&&!h.overwriteCrossDomainMCIDAndAID||((o=h._findVisitorID(t))?o!==O&&h._setFieldExpire(x,-1):o=O,h._setField(E,o)),o&&o!==O||(o=""),h._callAllCallbacks(E,[o])}if(h.idSyncDisableSyncs||h.disableIdSyncs)H.idCallNotProcesssed=!0;else{H.idCallNotProcesssed=!1;var s={};s.ibs=t.ibs,s.subdomain=t.subdomain,H.processIDCallData(s)}if(t===Object(t)){var l,c;d()&&h.isAllowed()&&(l=h._getField("MCOPTOUT"));var u=Q.parseOptOut(t,l,O);l=u.optOut,c=u.d_ottl,h._setFieldExpire("MCOPTOUT",c,!0),h._setField("MCOPTOUT",l),h._callAllCallbacks("MCOPTOUT",[l])}},h._loading=null,h._getRemoteField=function(a,e,t,n,i){var r,o="",s=q.isFirstPartyAnalyticsVisitorIDCall(a),l={MCAAMLH:!0,MCAAMB:!0};if(d()&&h.isAllowed())if(h._readVisitor(),!(!(o=h._getField(a,!0===l[a]))||h._fieldsExpired&&h._fieldsExpired[a])||h.disableThirdPartyCalls&&!s)o||(a===V?(h._registerCallback(a,t),o=h._generateLocalMID(),h.setMarketingCloudVisitorID(o)):a===E?(h._registerCallback(a,t),o="",h.setAnalyticsVisitorID(o)):n=!(o=""));else if(a===V||"MCOPTOUT"===a?r=_:"MCAAMLH"===a||a===x?r=L:a===E&&(r=A),r)return!e||null!=h._loading&&h._loading[r]||(null==h._loading&&(h._loading={}),h._loading[r]=!0,r===L&&(w=0),h._loadData(r,e,function(e){if(!h._getField(a)){e&&z.setState(r,!0);var t="";a===V?t=h._generateLocalMID():r===L&&(t={error_msg:"timeout"}),h._setFields(r,t)}},i)),h._registerCallback(a,t),o||(e||h._setFields(r,{id:O}),"");return a!==V&&a!==E||o!==O||(n=!(o="")),t&&n&&h._callCallback(t,[o]),a===V&&F.subscribed&&(F.callbacks&&F.callbacks.length&&F.callbacks.forEach(function(e){h._callCallback(e,[o])}),F.subscribed=!1,F.callbacks.length=0),o},h._setMarketingCloudFields=function(e){h._readVisitor(),h._setFields(_,e)},h._mapCustomerIDs=function(e){h.getAudienceManagerBlob(e,!0)},h._setAnalyticsFields=function(e){h._readVisitor(),h._setFields(A,e)},h._setAudienceManagerFields=function(e){h._readVisitor(),h._setFields(L,e)},h._getAudienceManagerURLData=function(e){var t=h.audienceManagerServer,a="",n=h._getField(V),i=h._getField(x,!0),r=h._getField(E),o=r&&r!==O?"&d_cid_ic=AVID%01"+encodeURIComponent(r):"";if(h.loadSSL&&h.audienceManagerServerSecure&&(t=h.audienceManagerServerSecure),t){var s,l,c,u=h.getCustomerIDs(!0);if(u)for(l in u){var d=u[l];if(!Q.isObjectEmpty(d)){var g="nameSpaces"===l?"&d_cid_ns=":"&d_cid_ic=";for(s in d)T(s)&&(c=d[s],o+=g+encodeURIComponent(s)+"%01"+encodeURIComponent(c.id?c.id:"")+(c.authState?"%01"+c.authState:""))}}e||(e="_setAudienceManagerFields");var p="http"+(h.loadSSL?"s":"")+"://"+t+"/id",f="d_visid_ver="+h.version+(y&&-1!==p.indexOf("demdex.net")?"&gdpr=1&gdpr_consent="+y:"")+(w&&-1!==p.indexOf("demdex.net")?"&d_cf="+w:"")+"&d_rtbd=json&d_ver=2"+(!n&&h._use1stPartyMarketingCloudServer?"&d_verify=1":"")+"&d_orgid="+encodeURIComponent(h.marketingCloudOrgID)+"&d_nsid="+(h.idSyncContainerID||0)+(n?"&d_mid="+encodeURIComponent(n):"")+(h.idSyncDisable3rdPartySyncing||h.disableThirdPartyCookies?"&d_coppa=true":"")+(!0===C?"&d_coop_safe=1":!1===C?"&d_coop_unsafe=1":"")+(i?"&d_blob="+encodeURIComponent(i):"")+o,m=["s_c_il",h._in,e];return{url:a=p+"?"+f+"&d_cb=s_c_il%5B"+h._in+"%5D."+e,corsUrl:p+"?"+f,callback:m}}return{url:a}},h.appendVisitorIDsTo=function(e){try{var t=[[V,h._getField(V)],[E,h._getField(E)],["MCORGID",h.marketingCloudOrgID]];return h._addQuerystringParam(e,ne.ADOBE_MC,o(t))}catch(t){return e}},h.appendSupplementalDataIDTo=function(e,t){if(!(t=t||h.getSupplementalDataID(q.generateRandomString(),!0)))return e;try{var a=o([["SDID",t],["MCORGID",h.marketingCloudOrgID]]);return h._addQuerystringParam(e,ne.ADOBE_MC_SDID,a)}catch(t){return e}};var q={parseHash:function(e){var t=e.indexOf("#");return 0<t?e.substr(t):""},hashlessUrl:function(e){var t=e.indexOf("#");return 0<t?e.substr(0,t):e},addQueryParamAtLocation:function(e,t,a){var n=e.split("&");return a=null!=a?a:n.length,n.splice(a,0,t),n.join("&")},isFirstPartyAnalyticsVisitorIDCall:function(e,t,a){return e===E&&(t||(t=h.trackingServer),a||(a=h.trackingServerSecure),!("string"!=typeof(n=h.loadSSL?a:t)||!n.length)&&n.indexOf("2o7.net")<0&&n.indexOf("omtrdc.net")<0);var n},isObject:function(e){return Boolean(e&&e===Object(e))},removeCookie:function(e){$.remove(e,{domain:h.cookieDomain})},isTrackingServerPopulated:function(){return!!h.trackingServer||!!h.trackingServerSecure},getTimestampInSeconds:function(){return Math.round((new Date).getTime()/1e3)},parsePipeDelimetedKeyValues:function(e){return e.split("|").reduce(function(e,t){var a=t.split("=");return e[a[0]]=decodeURIComponent(a[1]),e},{})},generateRandomString:function(e){e=e||5;for(var t="",a="abcdefghijklmnopqrstuvwxyz0123456789";e--;)t+=a[Math.floor(Math.random()*a.length)];return t},normalizeBoolean:function(e){return"true"===e||"false"!==e&&e},parseBoolean:function(e){return"true"===e||"false"!==e&&null},replaceMethodsWithFunction:function(e,t){for(var a in e)e.hasOwnProperty(a)&&"function"==typeof e[a]&&(e[a]=t);return e}};h._helpers=q;var H=ie(h,k);h._destinationPublishing=H,h.timeoutMetricsLog=[];var U,z={isClientSideMarketingCloudVisitorID:null,MCIDCallTimedOut:null,AnalyticsIDCallTimedOut:null,AAMIDCallTimedOut:null,fieldGroupObj:{},setState:function(e,t){switch(e){case _:!1===t?!0!==this.MCIDCallTimedOut&&(this.MCIDCallTimedOut=!1):this.MCIDCallTimedOut=t;break;case A:!1===t?!0!==this.AnalyticsIDCallTimedOut&&(this.AnalyticsIDCallTimedOut=!1):this.AnalyticsIDCallTimedOut=t;break;case L:!1===t?!0!==this.AAMIDCallTimedOut&&(this.AAMIDCallTimedOut=!1):this.AAMIDCallTimedOut=t}}};h.isClientSideMarketingCloudVisitorID=function(){return z.isClientSideMarketingCloudVisitorID},h.MCIDCallTimedOut=function(){return z.MCIDCallTimedOut},h.AnalyticsIDCallTimedOut=function(){return z.AnalyticsIDCallTimedOut},h.AAMIDCallTimedOut=function(){return z.AAMIDCallTimedOut},h.idSyncGetOnPageSyncInfo=function(){return h._readVisitor(),h._getField("MCSYNCSOP")},h.idSyncByURL=function(e){if(!h.isOptedOut()){var t=s(e||{});if(t.error)return t.error;var a,n,i=e.url,r=encodeURIComponent,o=H;return i=i.replace(/^https:/,"").replace(/^http:/,""),a=Q.encodeAndBuildRequest(["",e.dpid,e.dpuuid||""],","),n=["ibs",r(e.dpid),"img",r(i),t.ttl,"",a],o.addMessage(n.join("|")),o.requestToProcess(),"Successfully queued"}},h.idSyncByDataSource=function(e){if(!h.isOptedOut())return e===Object(e)&&"string"==typeof e.dpuuid&&e.dpuuid.length?(e.url="//dpm.demdex.net/ibs:dpid="+e.dpid+"&dpuuid="+e.dpuuid,h.idSyncByURL(e)):"Error: config or config.dpuuid is empty"},Ne(h,H),h._getCookieVersion=function(e){e=e||h.cookieRead(h.cookieName);var t=ne.VERSION_REGEX.exec(e);return t&&1<t.length?t[1]:null},h._resetAmcvCookie=function(e){var t=h._getCookieVersion();t&&!X.isLessThan(t,e)||h.removeCookie(h.cookieName)},h.setAsCoopSafe=function(){C=!0},h.setAsCoopUnsafe=function(){C=!1},function(){if(h.configs=Object.create(null),q.isObject(a))for(var e in a)T(e)&&(h[e]=a[e],h.configs[e]=a[e])}(),c(),h.init=function(){l()&&(b.optIn.fetchPermissions(m,!0),!b.optIn.isApproved(b.optIn.Categories.ECID))||U||(U=!0,function(){if(q.isObject(a)){h.idSyncContainerID=h.idSyncContainerID||0,C="boolean"==typeof h.isCoopSafe?h.isCoopSafe:q.parseBoolean(h.isCoopSafe),h.resetBeforeVersion&&h._resetAmcvCookie(h.resetBeforeVersion),h._attemptToPopulateIdsFromUrl(),h._attemptToPopulateSdidFromUrl(),h._readVisitor();var e=h._getField(S),t=Math.ceil((new Date).getTime()/ne.MILLIS_PER_DAY);h.idSyncDisableSyncs||h.disableIdSyncs||!H.canMakeSyncIDCall(e,t)||(h._setFieldExpire(x,-1),h._setField(S,t)),h.getMarketingCloudVisitorID(),h.getAudienceManagerLocationHint(),h.getAudienceManagerBlob(),h._mergeServerState(h.serverState)}else h._attemptToPopulateIdsFromUrl(),h._attemptToPopulateSdidFromUrl()}(),function(){if(!h.idSyncDisableSyncs&&!h.disableIdSyncs){H.checkDPIframeSrc();var e=function(){var e=H;e.readyToAttachIframe()&&e.attachIframe()};P.addEventListener("load",function(){k.windowLoaded=!0,e()});try{ee.receiveMessage(function(e){H.receiveMessage(e.data)},H.iframeHost)}catch(e){}}}(),h.whitelistIframeDomains&&ne.POST_MESSAGE_ENABLED&&(h.whitelistIframeDomains=h.whitelistIframeDomains instanceof Array?h.whitelistIframeDomains:[h.whitelistIframeDomains],h.whitelistIframeDomains.forEach(function(e){var t=new W(n,e),a=Y(h,t);ee.receiveMessage(a,e)})))}};He.config=q;var Ue=G.Visitor=He,ze=function(i){if(Q.isObject(i))return Object.keys(i).filter(function(e){return""!==i[e]&&q.getConfigs()[e]}).reduce(function(e,t){var a=q.normalizeConfig(t,i[t]),n=Q.normalizeBoolean(a);return e[t]=n,e},Object.create(null))},Be=Te.OptIn,Ge=Te.IabPlugin;Ue.getInstance=function(n,e){if(!n)throw new Error("Visitor requires Adobe Marketing Cloud Org ID.");n.indexOf("@")<0&&(n+="@AdobeOrg");var t=function(){var e=G.s_c_il;if(e)for(var t=0;t<e.length;t++){var a=e[t];if(a&&"Visitor"===a._c&&a.marketingCloudOrgID===n)return a}}();if(t)return t;var i,a=ze(e)||{};i=a||{},G.adobe.optIn=G.adobe.optIn||function(){var e=Q.pluck(i,["doesOptInApply","previousPermissions","preOptInApprovals","isOptInStorageEnabled","optInStorageExpiry","isIabContext"]),t=i.optInCookieDomain||i.cookieDomain;t=(t=t||J())===window.location.hostname?"":t,e.optInCookieDomain=t;var a=new Be(e,{cookies:$});if(e.isIabContext&&e.doesOptInApply){var n=new Ge;a.registerPlugin(n)}return a}();var r=n.split("").reverse().join(""),o=new Ue(n,null,r);a.cookieDomain&&(o.cookieDomain=a.cookieDomain),a.sameSiteCookie&&a.secureCookie&&(o.configs={sameSiteCookie:a.sameSiteCookie,secureCookie:a.secureCookie}),G.s_c_il.splice(--G.s_c_in,1);var s=Q.getIeVersion();if("number"==typeof s&&s<10)return o._helpers.replaceMethodsWithFunction(o,function(){});var l,c=function(){try{return G.self!==G.parent}catch(n){return!0}}()&&((l=o).cookieWrite("TEST_AMCV_COOKIE","T",1),"T"!==l.cookieRead("TEST_AMCV_COOKIE")||(l.removeCookie("TEST_AMCV_COOKIE"),0))&&G.parent?new L(n,a,o,G.parent):new Ue(n,a,r);return o=null,c.init(),c},function(){function e(){Ue.windowLoaded=!0}G.addEventListener?G.addEventListener("load",e):G.attachEvent&&G.attachEvent("onload",e),Ue.codeLoadEnd=(new Date).getTime()}()}(),Visitor)}},"adobe-mcid/src/view/utils/timeUnits.js":{script:function(e){var t={Hours:3600,
Days:86400,Weeks:604800,Months:2592e3,Years:31536e3};e.exports=t}}},settings:{orgId:"CEE1F70B5936D5B30A495EA3@AdobeOrg",variables:[{name:"trackingServer",value:"%Tracking Server%"},{name:"trackingServerSecure",value:"%SSL Tracking Server%"},{name:"audienceManagerServer",value:"azeu.demdex.net"},{name:"audienceManagerServerSecure",value:"azeu.demdex.net"},{name:"marketingCloudServer",value:"%Tracking Server%"},{name:"marketingCloudServerSecure",value:"%SSL Tracking Server%"}],doesOptInApply:!1,previousPermissions:"",isOptInStorageEnabled:!1},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EPf0412a5c65e5429ab0e5ed8ba2256510/"},"doubleclick-floodlight":{displayName:"DoubleClick Floodlight (Beta)",modules:{"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js":{name:"floodlight-counter",displayName:"Floodlight Counter Tag",script:function(e,t,a,r){"use strict";function n(e,t,a){var n;n="sales"===t&&"img"===a?"ad.doubleclick.net/activity":e.src.value+".fls.doubleclick.net/activityi";var i="";for(var r in e){var o=e[r].value;""!=o&&void 0!==o&&(i+=encodeURIComponent(r)+"="+encodeURIComponent(o)+";")}return 0<i.length&&(n=n+";"+(i=i.substring(0,i.length-1))),"https://"+n+"?"}function i(e,t){var a=document.createElement(t);if(a.src=e,a.style="display:none","loading"===document.readyState){var n="Waiting on document to embed "+e+" "+t+"..";r.logger.log(n),document.addEventListener("DOMContentLoaded",function(){r.logger.log("Document is now loaded, embedding..");try{document.body.appendChild(a)}catch(e){r.logger.error("Unable to embed Floodlight!"),r.logger.error(e)}})}else{n="Embedding "+e+" "+t+"..",r.logger.log(n);try{document.body.appendChild(a)}catch(i){r.logger.error("Unable to embed Floodlight!"),r.logger.error(i)}}}var o="counter";e.exports=function(e){e?i(n(e.params,o,e.elementTagName),e.elementTagName):r.logger.error("No settings found, not firing Floodlight tag!")}}}},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP9a01085750854132acb9bc9bade4150c/"},"facebook-pixel":{displayName:"Facebook Pixel",modules:{"facebook-pixel/src/lib/actions/sendPageView.js":{name:"send-page-view",displayName:"Send Page View",script:function(e,t,a,n){"use strict";e.exports=function(){a("../helpers/getFbQueue")("track","PageView"),n.logger.log('Queue command: fbq("track", "PageView").')}}},"facebook-pixel/src/lib/actions/sendCustomEvent.js":{name:"send-custom-event",displayName:"Send Custom Event",script:function(e,t,n,i){"use strict";e.exports=function(e){var t=n("../helpers/getFbQueue"),a=(e.parameters||[]).reduce(function(e,t){return e[t.key]=t.value,e},{});t("trackCustom",e.name,a),i.logger.log('Queue command: fbq("trackCustom", "'+e.name+'", '+JSON.stringify(a)+").")}}},"facebook-pixel/src/lib/helpers/getFbQueue.js":{script:function(e,t,a,n){"use strict";var i,r=a("@adobe/reactor-window"),o=a("@adobe/reactor-load-script"),s=function(){var e=function(){e.callMethod?e.callMethod.apply(e,arguments):e.queue.push(arguments)};return(e.push=e).loaded=!0,e.version="2.0",e.queue=[],e};r.fbq||(i=s(),r.fbq=i,r._fbq||(r._fbq=i)),o("https://connect.facebook.net/en_US/fbevents.js").then(function(){n.logger.log("Facebook Pixel Base Code was successfully loaded.")},function(){n.logger.error("Facebook Pixel Base Code could not be loaded.")}),r.fbq("init",n.getExtensionSettings().pixelId,{},{agent:"adobe_launch"}),e.exports=r.fbq}}},settings:{pixelId:"%Config-Facebook-Tag%"},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP1694fbc2d2eb4e1585cd00ae3718b3ad/"},"google-universal-analytics":{displayName:"Google Universal Analytics",modules:{"google-universal-analytics/src/lib/actions/sendPageView.js":{name:"send-page-view",displayName:"Send Page View",script:function(e,t,a){"use strict";var n=a("../helpers/ga"),i=a("@adobe/reactor-object-assign");e.exports=function(e){var t=i({hitType:"pageview"},e.fields||{});n("send",t)}}},"google-universal-analytics/src/lib/helpers/ga.js":{script:function(e,t,a,n){"use strict";var i=a("@adobe/reactor-window"),r=a("./loadLibrary"),o=a("./createTracker"),s=n.getExtensionSettings(),l=function(){var e=function(){e.q.push(arguments)};return e.q=[],e.l=1*new Date,e},c=function(t){return t===undefined||null===t?t:Array.isArray(t)?t.map(c):"object"==typeof t?(Object.keys(t).forEach(function(e){t[e]=c(t[e])}),t):t.toLowerCase?t.toLowerCase():t},u=function(e){return"set"===e[0]?e.map(function(e,t){return t<1?e:c(e)}):"send"===e[0]?[e[0],c(e[1])]:e},d=function(e,t){var a=["send","set","require","linker:autoLink"],n=e[0];return-1!==a.indexOf(n)&&t&&(e[0]=t+"."+e[0]),e},g=function(e){var t=[];return e.forEach(function(e){t.push(JSON.stringify(e,function(e,t){return"function"==typeof t?"function":t}))}),"Queue command: ga("+t.join(",")+")."},p=function(){var e=Array.prototype.slice.call(arguments),t=i[i.GoogleAnalyticsObject];s.forceLowerCase&&(e=u(e)),e=d(e,s.trackerName.value),n.logger.info(g(e)),t.apply(i,e)},f=function(){r(s)["catch"](function(e){n.logger.warn(e)}),o(p,s)};i.GoogleAnalyticsObject=i.GoogleAnalyticsObject||"ga",i[i.GoogleAnalyticsObject]=i[i.GoogleAnalyticsObject]||l(),f(),e.exports=p}},"google-universal-analytics/src/lib/helpers/loadLibrary.js":{script:function(e,t,a){"use strict";var n=a("@adobe/reactor-promise"),i=a("@adobe/reactor-load-script"),r=a("@adobe/reactor-cookie"),o=a("@adobe/reactor-window"),s={MANAGED:"managed",PREINSTALLED:"preinstalled",REMOTE:"remote"},l=function(e){return"true"===r.get(e)};e.exports=function(e){var t="https://www.google-analytics.com/analytics.js";return e.libraryCode.type===s.PREINSTALLED?n.resolve("Not loading anything"):(e.libraryCode.type===s.REMOTE&&(t="https:"===o.location.protocol?e.libraryCode.httpsUrl:e.libraryCode.httpUrl),!e.trackingCookieName||l(e.trackingCookieName)?i(t):n.reject("EU compliance was not acknowledged by the user. The GUA library will not be loaded."))}}},"google-universal-analytics/src/lib/helpers/createTracker.js":{script:function(e,t,a,n){"use strict";var i=a("@adobe/reactor-object-assign"),r=a("@adobe/reactor-window"),o=function(e){var t=e.production;return e[n.buildInfo.environment]&&(t=e[n.buildInfo.environment]),t},s=function(t){return n.propertySettings.domains.filter(function(e){return t.slice(t.length-e.length).toLocaleLowerCase()!==e.toLowerCase()})},l=function(e,t){t.initCommands&&e("set",t.initCommands)},c=function(e,t){e("create",t)},u=function(e,t){c(e,i({allowLinker:!0},t)),e("require","linker"),e("linker:autoLink",s(r.location.hostname),!1,!0)};e.exports=function(e,t){var a=t.trackerName.value,n=i({name:a,trackingId:o(t.trackingIds)},t.fields);n.name||delete n.name,t.enableCrossDomainTracking?u(e,n):c(e,n),l(e,t),t.customSetup&&t.customSetup.source&&t.customSetup.source.call(r,e,a)}}}},settings:{fields:{},customSetup:{source:function(e){var t=window.top.location.href;e("set","referrer",window.document.referrer===t?window.top.document.referrer:window.document.referrer)}},libraryCode:{type:"managed"},trackerName:{type:"custom",value:"c698b85e4211411c8a2d5e0ae992ba55"},trackingIds:{staging:"UA-1603655-7",production:"UA-1603655-7",development:"UA-1603655-7"},initCommands:{forceSSL:!0,anonymizeIp:!0},forceLowercase:!1,enableCrossDomainTracking:!1},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EPeeed8c20d16b41329538b94289163fac/"},"acronym-gtag.js":{displayName:"Google Global Site Tag (gtag)",modules:{"acronym-gtag.js/src/lib/actions/event.js":{name:"send-gtag.js-event",displayName:"Send an event",script:function(e,t,c,u){"use strict";e.exports=function(e){var t=c("../helpers/loadGtag")(),a=c("../helpers/castOptionTypes"),n=c("../helpers/getAccountId"),i=u.getExtensionSettings(),r={send_to:[]};if("object"==typeof(e=e||{}).accounts&&null!==e.accounts&&0<Object.keys(e.accounts).length){for(var o in e.accounts)if(e.accounts.hasOwnProperty(o)&&(!0===e.accounts[o].enabled||"true"===e.accounts[o].enabled)){var s=n(i.accounts[o]);if("string"==typeof e.accounts[o].label&&""!==e.accounts[o].label){var l=s+"/";r.send_to.push(l+e.accounts[o].label.replace(l,""))}else r.send_to.push(s)}"object"==typeof e.options&&e.options.length&&e.options.forEach(function(e){r[e[0]]=e[1]}),"function"==typeof e.callback&&(r.event_callback=function(){e.callback.call(this,t)}),r=a(r),t("event",e.name,r),u.logger.log("event fired for accounts "+r.send_to.join(", ")+" with the options:",JSON.stringify(r))}else u.logger.warn("no accounts selected for the "+e.name+" event")}}},"acronym-gtag.js/src/lib/helpers/loadGtag.js":{script:function(e,t,p,f){"use strict";e.exports=function(){var e=f.getExtensionSettings(),t=e.dataLayerName||"dataLayer",a=e.functionName||"gtag",n=p("@adobe/reactor-window"),i=p("@adobe/reactor-load-script"),r=p("../helpers/getAccountId"),o=p("../helpers/castOptionTypes"),s="";if(n[a]||(n[t]=n[t]||[],n[a]=function(){n[t].push(arguments)},n[a]("js",new Date)),!_satellite.getVar("__acronym_gtag_loaded")){if(_satellite.setVar("__acronym_gtag_loaded",!0),e.displayFeatures||(n[a]("set",{allow_ad_personalization_signals:!1}),f.logger.log("Display features are disabled")),"object"==typeof e.accounts&&null!==e.accounts&&0<Object.keys(e.accounts).length){for(var l in e.accounts)if(e.accounts.hasOwnProperty(l)){var c=e.accounts[l],u=c.settings||{};s=r(c),"object"==typeof c.custom_map&&c.custom_map.length&&(u.custom_map=u.custom_map||{},c.custom_map.forEach(function(e){u.custom_map[e[0]]=e[1]})),(c.options||[]).forEach(function(e){u[e[0]]=e[1]}),u.send_page_view=!1,u=o(u),n[a]("config",s,u),f.logger.log("account "+s+" was loaded with the options:",JSON.stringify(u))}if("function"==typeof e.configCode)try{e.configCode(n[a],n[t])}catch(g){f.logger.error("Custom config code error:",g)}}else f.logger.warn("There are no accounts setup");var d="gtag.js library";f.logger.log("loading "+d),i("https://www.googletagmanager.com/gtag/js?id="+s+"&l="+t).then(function(){f.logger.log(d+" successfully loaded")},function(){f.logger.error(d+" could not be loaded")})}return n[a]}},name:"get-gtag",shared:!0},"acronym-gtag.js/src/lib/helpers/castOptionTypes.js":{script:function(e){"use strict";e.exports=function(a){var e={bool:function(e){return"string"==typeof e?"true"===e:Boolean(e)},"int":function(e){var t=parseInt(e);return isNaN(t)?0:t},"float":function(e){var t=parseFloat(e);return isNaN(t)?0:t},csv:function(e){return"string"==typeof e?e.split(","):e},custom_map:function(e){var a={};return"string"==typeof e?e.split(",").forEach(function(e){var t=e.split(":");2===t.length&&(a[t[0]]=t[1])}):"object"==typeof e&&(a=e),a}},n={accept_incoming:e.bool,allow_ad_personalization_signals:e.bool,anonymize_ip:e.bool,checkout_step:e["int"],cookie_expires:e["int"],custom_map:e.custom_map,event_timeout:e["int"],fatal:e.bool,levels:e["int"],link_attribution:e.bool,linker:{domains:e.csv,accept_incoming:e.bool,decorate_forms:e.bool},non_interaction:e.bool,value:e["float"]};return Object.keys(a).forEach(function(t){"function"==typeof n[t]?a[t]=n[t](a[t]):"object"==typeof n[t]&&"object"==typeof a[t]&&null!==a[t]&&Object.keys(a[t]).forEach(function(e){"function"==typeof n[t][e]&&(a[t][e]=n[t][e](a[t][e]))})}),a}}},"acronym-gtag.js/src/lib/helpers/getAccountId.js":{script:function(e,t,a,n){"use strict";e.exports=function(e,t){return t||(t=n.buildInfo.environment),"string"==typeof e.accounts[t]&&""!==e.accounts[t]?e.accounts[t]:e.accounts.production}}}},settings:{accounts:{1562064529359:{id:"1562064529359",name:"01 | Allianz.ch (GA)",type:"ga",options:[],accounts:{staging:"UA-1603655-7",production:"UA-1603655-7",development:"UA-1603655-7"},settings:{linker:{accept_incoming:!0},anonymize_ip:!0},custom_map:[]},1562569218447:{id:"1562569218447",name:"01 |  Allianz.ch (DCM)",type:"dc",options:[],accounts:{staging:"DC-6772588",production:"DC-6772588",development:"DC-6772588"},settings:{}}},configCode:function(){},functionName:"",dataLayerName:"",displayFeatures:!0},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP090bc22d20494565bf1ef71809524212/"},"adobe-target-v2":{displayName:"Adobe Target v2",modules:{"adobe-target-v2/lib/loadTarget.js":{name:"load-target",displayName:"Load Target",script:function(e,t,a,n){"use strict";function i(a,e){return new l(function(t){a?e.then(function(e){e&&(a.abort=!0),t()}):t()})}function r(e){if(e){var t=new l(function(t){var a=setTimeout(function(){t(!1)},b.targetSettings.timeout),n=function n(e){e.detail&&!0===e.detail.redirect?t(!0):t(!1),clearTimeout(a),f(s,e,n)},i=function i(e){t(!1),clearTimeout(a),f(s,e,i)};p(s,w,n),p(s,D,i)});e(function(e){return i(e,t)})}}var o=a("@adobe/reactor-window"),s=a("@adobe/reactor-document"),l=a("@adobe/reactor-promise"),c=a("./modules/load-target"),u=c.initLibrarySettings,d=c.overridePublicApi,g=a("./modules/event-util"),p=g.addEventListener,f=g.removeEventListener,m=a("./modules/optin"),v=m.shouldUseOptIn,h=m.isTargetApproved,b=a("./targetSettings").extensionSettings,y=n.getSharedModule("adobe-analytics","augment-tracker"),w="at-request-succeeded",D="at-request-failed";e.exports=function(){var e=u();e&&e.enabled?((0,a("./modules/libs/at-launch").init)(o,s,e),v()&&!h()||r(y)):d(o)}}},"adobe-target-v2/lib/addParams.js":{name:"add-params",displayName:"Add Params to All Requests",script:function(e,t,a){"use strict";var n=a("./modules/params-store").mergeParams;e.exports=function(e){n(e.params)}}},"adobe-target-v2/lib/firePageLoad.js":{name:"fire-page-load",displayName:"Fire Page Load Request",script:function(e,t,a,n){"use strict";function i(){return r.adobe&&r.adobe.target&&r.adobe.target.VERSION}var r=a("@adobe/reactor-window"),o=a("./modules/libs/at-launch"),s=o.initConfig,l=o.initDelivery,c=a("./modules/page-load"),u=a("./messages");e.exports=function(e){var t=c(e);i()?(s(t),l()):r.console&&n.logger.warn(u.NO_REQUEST)}}},"adobe-target-v2/lib/modules/load-target.js":{script:function(e,t,a,n){"use strict";function i(e){var t=e.compatMode,a=e.documentMode;return t&&"CSS1Compat"===t&&(!a||9<=a)}function r(e){var t=function t(){},a=function a(){return u.resolve()};e.adobe=e.adobe||{},e.adobe.target={VERSION:"",event:{},getOffer:t,getOffers:a,applyOffer:t,applyOffers:a,sendNotifications:t,trackEvent:t,triggerView:t,registerExtension:t,init:t},e.mboxCreate=t,e.mboxDefine=t,e.mboxUpdate=t}function o(){return l.adobe&&l.adobe.target&&"undefined"!=typeof l.adobe.target.getOffer}function s(){return o()?(n.logger.warn(d.ALREADY_INITIALIZED),null):(m.mboxParams=p(),m.globalMboxParams=f(),v(m,l.targetGlobalSettings||{},b),v(m,h||{},["version"]),i(c)||(m.enabled=!1,n.logger.warn(d.DELIVERY_DISABLED)),m)}var l=a("@adobe/reactor-window"),c=a("@adobe/reactor-document"),u=a("@adobe/reactor-promise"),d=a("../messages"),g=a("./params-store"),p=g.getParams,f=g.getPageLoadParams,m=a("../targetSettings").targetSettings,v=a("./object-override"),h=a("../librarySettings").TARGET_DEFAULT_SETTINGS,b=["enabled","clientCode","imsOrgId","serverDomain","cookieDomain","timeout","defaultContentHiddenStyle","defaultContentVisibleStyle","bodyHiddenStyle","bodyHidingEnabled","selectorsPollingTimeout","visitorApiTimeout","overrideMboxEdgeServer","overrideMboxEdgeServerTimeout","optoutEnabled","optinEnabled","secureOnly","supplementalDataIdParamTimeout","authoringScriptUrl","urlSizeLimit","endpoint","pageLoadEnabled","viewsEnabled","analyticsLogging","serverState","globalMboxName"];e.exports={initLibrarySettings:s,overridePublicApi:r}}},"adobe-target-v2/lib/modules/event-util.js":{script:function(e){"use strict";function t(e,t,a){e.addEventListener(t,a)}function a(e,t,a){e.removeEventListener(t,a)}e.exports={addEventListener:t,removeEventListener:a}}},"adobe-target-v2/lib/modules/optin.js":{script:function(e,t,a){"use strict";function n(e){return"undefined"===(void 0===e?"undefined":u(e))||null===e}function i(e){var t=void 0===e?"undefined":u(e);return null!==e&&("object"===t||"function"===t)}function r(e){return i(e[m])&&i(e[g])}function o(e,t){return!!t&&!n(e)&&!n(e[f])&&r(e[f])}function s(e,t){return e[g](t)}function l(){var e=d[f];return s(e,e[v][h])}function c(){var e=b[p];return o(d,e)}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},d=a("@adobe/reactor-window").adobe,g="isApproved",p="optinEnabled",f="optIn",m="fetchPermissions",v="Categories",h="TARGET",b=a("../targetSettings").targetSettings;e.exports={shouldUseOptIn:c,isTargetApproved:l}}},"adobe-target-v2/lib/targetSettings.js":{script:function(e,t,a,n){"use strict";var i=n.getExtensionSettings(),r=i.targetSettings||{};e.exports={extensionSettings:i,targetSettings:r}}},"adobe-target-v2/lib/modules/libs/at-launch.js":{script:function(e,t,a){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}function o(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:0;return setTimeout(e,Number(a)||0)}function r(e){clearTimeout(e)}function f(e){return null==e}function i(e){return vu.call(e)}function s(e){return i(e)}function tt(e){return(tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function d(e){var t=tt(e);return null!=e&&("object"===t||"function"===t)}function c(e){return!!d(e)&&s(e)===hu}function u(e){return e}function g(e){return c(e)?e:u}function p(e){return f(e)?[]:Object.keys(e)}function m(e,t){return f(t)?[]:(mu(t)?wu:Du)(g(e),t)}function v(e){return e&&e.length?e[0]:undefined}function h(e){return f(e)?[]:[].concat.apply([],e)}function b(r){for(var o=this,s=r?r.length:0,e=s;e-=1;)if(!c(r[e]))throw new TypeError("Expected a function");return function(){for(var e=0,t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];for(var i=s?r[e].apply(o,a):a[0];(e+=1)<s;)i=r[e].call(o,i);return i}}function y(e,t){f(t)||(mu(t)?bu:yu)(g(e),t)}function w(e){return null!=e&&"object"===tt(e)}function D(e){return"string"==typeof e||!mu(e)&&w(e)&&s(e)===Iu}function I(e){if(!D(e))return-1;for(var t=0,a=e.length,n=0;n<a;n+=1)t=(t<<5)-t+e.charCodeAt(n)&4294967295;return t}function P(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=Pu}function k(e){return null!=e&&P(e.length)&&!c(e)}function j(e,t){return ku(function(e){return t[e]},e)}function C(e){for(var t=0,a=e.length,n=Array(a);t<a;)n[t]=e[t],t+=1;return n}function _(e){return e.split("")}function V(e){return f(e)?[]:k(e)?D(e)?_(e):C(e):j(p(e),e)}function S(e){if(null==e)return!0;if(k(e)&&(mu(e)||D(e)||c(e.splice)))return!e.length;for(var t in e)if(ju.call(e,t))return!1;return!0}function A(e){return f(e)?"":Cu.call(e)}function E(e){return D(e)?!A(e):S(e)}function L(e){return Object.getPrototypeOf(Object(e))}function x(e){if(!w(e)||s(e)!==_u)return!1;var t=L(e);if(null===t)return!0;var a=Eu.call(t,"constructor")&&t.constructor;return"function"==typeof a&&a instanceof a&&Au.call(a)===Lu}function O(e){return w(e)&&1===e.nodeType&&!x(e)}function T(e){return"number"==typeof e||w(e)&&s(e)===Ou}function N(e,t){return mu(t)?t.join(e||""):""}function R(e,t){return f(t)?[]:(mu(t)?ku:Tu)(g(e),t)}function M(){}function F(){return(new Date).getTime()}function q(e,t,a){return f(a)?t:(mu(a)?Nu:Ru)(g(e),t,a)}function H(e){return null==e?e:Mu.call(e)}function U(e,t){return E(t)?[]:t.split(e||"")}function z(e,t){return e+Math.floor(Math.random()*(t-e+1))}function B(){var a=F();return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(a+z(0,16))%16|0;return a=Math.floor(a/16),("x"===e?t:3&t|8).toString(16)})}function G(t,a){t[Hg]&&(f(a[Qg])||(t[Cp]=a[Qg]),y(function(e){f(a[e])||(t[e]=a[e])},df))}function Z(e){var t=e.documentMode;return!t||10<=t}function Q(e){var t=e.compatMode;return t&&"CSS1Compat"===t}function W(e){return lf.test(e)}function Y(e){if(W(e))return e;var t=H(U(".",e)),a=t.length;return 3<=a&&cf.test(t[1])?t[2]+"."+t[1]+"."+t[0]:1===a?t[0]:t[1]+"."+t[0]}function K(e,t,a){var n="";e.location.protocol===sf||(n=Y(e.location.hostname)),a[cp]=n,a[Hg]=Q(t)&&Z(t),G(a,e[Dp]||{})}function $(e){K(lu,cu,e);var t=lu.location.protocol===sf;(uf=uu({},e))[Jg]=e[Jg]/1e3,uf[Xg]=e[Xg]/1e3,uf[lp]=uf[rp]||t?"https:":""}function at(){return uf}function J(e){try{return pf(e)}catch(t){return{}}}function X(e){try{return ff(e)}catch(t){return""}}function ee(e){try{return decodeURIComponent(e)}catch(t){return e}}function te(e){try{return encodeURIComponent(e)}catch(t){return e}}function ae(e){if(vf[e])return vf[e];mf.href=e;var t=gf(mf.href);return t.queryKey=J(t.query),vf[e]=t,vf[e]}function ne(e,t,a){return{name:e,value:t,expires:a}}function ie(e){var t=U("#",e);return S(t)||t.length<3?null:isNaN(parseInt(t[2],10))?null:ne(ee(t[0]),ee(t[1]),Number(t[2]))}function re(e){return E(e)?[]:U("|",e)}function oe(){var e=R(ie,re(hf(wf))),t=Math.ceil(F()/1e3),a=function a(e){return d(e)&&t<=e.expires};return q(function(e,t){return e[t.name]=t,e},{},m(a,e))}function se(e){var t=oe()[e];return d(t)?t.value:""}function le(e){return N("#",[te(e.name),te(e.value),e.expires])}function ce(e){return e.expires}function ue(e){var t=R(ce,e);return Math.max.apply(null,t)}function de(e,t){var a=V(e),n=Math.abs(1e3*ue(a)-F()),i=N("|",R(le,a)),r=new Date(F()+n);bf(wf,i,{domain:t,expires:r})}function ge(e){var t=e.name,a=e.value,n=e.expires,i=e.domain,r=oe();r[t]=ne(t,a,Math.ceil(n+F()/1e3)),de(r,i)}function pe(e){return xu(hf(e))}function fe(e,t){var a=J(e.location.search);return xu(a[t])}function me(e,t){var a=ae(e.referrer).queryKey;return!f(a)&&xu(a[t])}function ve(e,t,a){return pe(a)||fe(e,a)||me(t,a)}function he(){var e=at()[cp];bf(Id,Pd,{domain:e});var t=hf(Id)===Pd;return yf(Id),t}function be(){return ve(lu,cu,wd)}function ye(){return at()[Hg]&&he()&&!be()}function we(){return ve(lu,cu,yd)}function De(){return ve(lu,cu,Dd)}function Ie(e,t){var a=e.console;return!f(a)&&c(a[t])}function Pe(e,t){var a=e.console;Ie(e,"warn")&&a.warn.apply(a,[Df].concat(t))}function ke(e,t){var a=e.console;Ie(e,"debug")&&we()&&a.debug.apply(a,[Df].concat(t))}function je(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];Pe(lu,t)}function Ce(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];ke(lu,t)}function _e(a){return q(function(e,t){return e[t]=a[t],e},{},df)}function Ve(e,t,a){var n=e[wp]||[];if(e[wp]=n,a){var i=n.push;n[Wg]=If,n[hp]=_e(t),n[bp]=[],n[yp]=[],n.push=function r(e){n[yp].push(uu({timestamp:F()},e)),i.call(this,e)}}}function Se(e,t,a,n){t===yp&&e[wp].push(a),n&&t!==yp&&e[wp][t].push(uu({timestamp:F()},a))}function Ae(){Ve(lu,at(),we())}function Ee(e){Se(lu,yp,e,we())}function Le(e){Se(lu,bp,e,we())}function xe(){return c(kf)}function Oe(e){return new kf(e)}function Te(){var e=cu.createTextNode(""),t=function t(){e.textContent=0<e.textContent.length?"":"a"},a=[];return Oe(function(){for(var e=a.length,t=0;t<e;t+=1)a[t]();a.splice(0,e)}).observe(e,{characterData:!0}),function(e){a.push(e),t()}}function Ne(){return function(e){var t=Pf("<script>");t.on("readystatechange",function(){t.on("readystatechange",null),t.remove(),t=null,e()}),Pf(cu.documentElement).append(t)}}function Re(){xe()?pu._setImmediateFn(Te()):-1!==lu.navigator.userAgent.indexOf("MSIE 10")&&pu._setImmediateFn(Ne())}function Me(e){return new pu(e)}function Fe(e){return pu.resolve(e)}function qe(e){return pu.reject(e)}function He(e){return mu(e)?pu.race(e):qe(new TypeError(jf))}function Ue(e){return mu(e)?pu.all(e):qe(new TypeError(jf))}function ze(e,a,n){var i=-1;return He([e,Me(function(e,t){i=o(function(){return t(new Error(n))},a)})]).then(function(e){return r(i),e},function(e){throw r(i),e})}function Be(e){if(f(e[Bp]))return!1;var t=e[Bp];if(f(t[Gp]))return!1;var a=t[Gp];return c(a[Qp])&&c(a[Zp])}function Ge(e,t){return!!t&&Be(e)}function Ze(e,t){if(!Be(e))return!0;var a=e[Bp][Gp],n=(e[Bp][Gp][Wp]||{})[t];return a[Zp](n)}function Qe(e,t){if(!Be(e))return Fe(!0);var a=e[Bp][Gp],n=(e[Bp][Gp][Wp]||{})[t];return Me(function(e,t){a[Qp](function(){a[Zp](n)?e(!0):t(Jp)},!0)})}function We(){var e=at()[$p];return Ge(lu,e)}function Ye(){return Ze(lu,Yp)}function Ke(){return Ze(lu,Kp)}function $e(){return Qe(lu,Yp)}function Je(){return J(lu.location.search)[gp]}function Xe(e,t){ge({name:mp,value:e,expires:t[Xg],domain:t[cp]})}function et(){if(We()&&!Ye())return Cf;var e=at(),t=Je();return xu(t)?Xe(t,e):E(se(mp))&&Xe(Cf,e),se(mp)}function nt(e){var t=at();ge({name:pp,value:e,expires:t[Jg],domain:t[cp]})}function it(){return se(pp)}function rt(e){if(E(e))return"";var t=_f.exec(e);return S(t)||2!==t.length?"":t[1]}function ot(){if(!at()[ap])return"";var e=hf(fp);return E(e)?"":e}function st(e){var t=at();if(t[ap]){var a=t[cp],n=new Date(F()+t[np]),i=hf(fp),r={domain:a,expires:n};if(xu(i))bf(fp,i,r);else{var o=rt(e);E(o)||bf(fp,o,r)}}}function lt(e,n){function t(e,t){var a=n.createEvent("CustomEvent");return t=t||{bubbles:!1,cancelable:!1,detail:undefined},a.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),a}c(e.CustomEvent)||(t.prototype=e.Event.prototype,e.CustomEvent=t)}function ct(e,t){var a=e(),n=t(),i={};return i.sessionId=a,xu(n)&&(i.deviceId=n),i}function ut(e,t,a,n){var i=new e.CustomEvent(a,{detail:n});t.dispatchEvent(i)}function dt(e,t){var a=t.mbox,n=t.error,i=t.url,r=t.analyticsDetails,o=t.responseTokens,s=t.execution,l={type:e,tracking:ct(et,it)};return f(a)||(l.mbox=a),f(n)||(l.error=n),f(i)||(l.url=i),S(r)||(l.analyticsDetails=r),S(o)||(l.responseTokens=o),S(s)||(l.execution=s),l}function gt(){var e=dt(Vf,{});ut(lu,cu,Vf,e)}function pt(e){var t=dt(Sf,e);ut(lu,cu,Sf,t)}function ft(e,t){var a=dt(Af,e);a.redirect=t,ut(lu,cu,Af,a)}function mt(e){var t=dt(Ef,e);ut(lu,cu,Ef,t)}function vt(e){var t=dt(Lf,e);ut(lu,cu,Lf,t)}function ht(e){var t=dt(xf,e);ut(lu,cu,xf,t)}function bt(e){var t=dt(Of,e);ut(lu,cu,Of,t)}function yt(e){var t=dt(Tf,e);ut(lu,cu,Tf,t)}function wt(e){var t=dt(Nf,e);ut(lu,cu,Nf,t)}function Dt(e){var t=e.charAt(0),a=e.charAt(1),n=e.charAt(2),i={key:e};return i.val="-"===a?""+t+a+"\\3"+n+" ":t+"\\3"+a+" ",i}function It(e){var t=e.match(qf);return S(t)?e:q(function(e,t){return e.replace(t.key,t.val)},e,R(Dt,t))}function Pt(e){for(var t,a,n,i,r=[],o=A(e),s=o.indexOf(Rf);-1!==s;)t=A(o.substring(0,s)),i=(a=A(o.substring(s))).indexOf(Mf),n=A(a.substring(Ff,i)),s=(o=A(a.substring(i+1))).indexOf(Rf),t&&n&&r.push({sel:t,eq:Number(n)});return o&&r.push({sel:o}),r}function kt(e){if(O(e))return Pf(e);if(!D(e))return Pf(e);var t=It(e);if(-1===t.indexOf(Rf))return Pf(t);var a=Pt(t);return q(function(e,t){var a=t.sel,n=t.eq;return e=e.find(a),T(n)&&(e=e.eq(n)),e},Pf(cu),a)}function jt(e){return 0<kt(e).length}function Ct(e){return Pf("<"+Fd+"/>").append(e)}function _t(e){return Pf(e)}function Vt(e){return kt(e).prev()}function St(e){return kt(e).next()}function At(e){return kt(e).parent()}function Et(e,t){return kt(t).is(e)}function Lt(e,t){return kt(t).find(e)}function xt(e){return kt(e).children()}function Ot(){lu[zf]=lu[zf]||{},lu[zf].querySelectorAll=kt}function Tt(e){if(De()){var t=e[Tp];lu[zf][Gf]=t}}function Nt(){cu.addEventListener(xd,function(e){c(lu[zf][Bf])&&lu[zf][Bf](e)},!0)}function Rt(){if(De()){Ot();var e=at()[sp],t=function t(){return Nt()},a=function a(){return je(Hf)};Ce(Uf),fu(e).then(t)["catch"](a)}}function Mt(e){return parseInt(e,10)}function Ft(e){var t=Mt(e);return isNaN(t)?null:t}function qt(e){return U(Jf,e)}function Ht(e){var t=U(Jf,e),a=Ft(t[0]);if(f(a))return null;var n={};n.activityIndex=a;var i=Ft(t[1]);return f(i)||(n.experienceIndex=i),n}function Ut(e){return m(Xf,R(Ht,e))}function zt(e){return mu(e)?Ut(e):Ut([e])}function Bt(e){var t=J(e),a=t[Qf];if(E(a))return null;var n={};n.token=a;var i=t[Yf];xu(i)&&i===Pd&&(n.listedActivitiesOnly=!0);var r=t[Kf];xu(r)&&(n.evaluateAsTrueAudienceIds=qt(r));var o=t[$f];xu(o)&&(n.evaluateAsFalseAudienceIds=qt(o));var s=t[Wf];return S(s)||(n.previewIndexes=zt(s)),n}function Gt(e){var t=Bt(e.location.search);if(!f(t)){var a=new Date(F()+186e4);bf(Zf,JSON.stringify(t),{expires:a})}}function Zt(){var e=hf(Zf);if(E(e))return{};try{return JSON.parse(e)}catch(t){return{}}}function Qt(e){return kt(e).empty().remove()}function Wt(e,t){return kt(t).after(e)}function Yt(e,t){return kt(t).before(e)}function Kt(e,t){return kt(t).append(e)}function $t(e,t){return kt(t).prepend(e)}function Jt(e,t){return kt(t).html(e)}function Xt(e){return kt(e).html()}function ea(e,t){return kt(t).text(e)}function ta(e,t){return"<"+Nd+" "+Ed+'="'+e+'" '+Ld+'="'+Mg+'">'+t+"</"+Nd+">"}function aa(e,t){return ta(em+I(t),t+" {"+e+"}")}function na(e,t){return ta(nm,t+" {"+e+"}")}function ia(e){if(!0===e[$g]&&!jt(am)){var t=e[Kg];Kt(ta(tm,t),Od)}}function ra(e){!0===e[$g]&&jt(am)&&Qt(am)}function oa(e,t){if(!S(t)){var a=function a(e){return!jt("#"+(em+I(e)))},n=m(a,t);if(!S(n)){var i=e[Yg],r=function r(e){return aa(i,e)};Kt(N("\n",R(r,n)),Od)}}}function sa(e,t){S(t)||jt("#"+nm)||Kt(na(e[Yg],N(", ",t)),Od)}function la(){ia(at())}function ca(){ra(at())}function ua(e){oa(at(),e)}function da(e){sa(at(),e)}function ga(e){Qt("#"+(em+I(e)))}function pa(){var e="#"+nm;jt(e)&&Qt(e)}function fa(e){return!f(e[Ed])}function ma(e){return!f(e[_p])}function va(e){switch(e){case 0:return"unknown";case 1:return"authenticated";case 2:return"logged_out";default:return"unknown"}}function ha(e){return fa(e)||ma(e)}function ba(e){if(f(e))return[];if(!c(e[um]))return[];var t=e[um]();return d(t)?q(function(e,t,a){var n={};return n[Sp]=a,fa(t)&&(n[Ed]=t[Ed]),ma(t)&&(n[Vp]=va(t[_p])),e.push(n),e},[],m(ha,t)):[]}function ya(e,t){return f(e)?null:c(e[cm])?e[cm](t):null}function wa(e,t){if(f(e))return null;var a=e[t];return f(a)?null:a}function Da(e,t,a){if(E(t))return null;if(f(e[pm]))return null;if(!c(e[pm][fm]))return null;var n=e[pm][fm](t,{sdidParamExpiry:a});return d(n)&&c(n[mm])&&n[mm]()?n:null}function Ia(e,t){if(!c(e.getVisitorValues))return Fe({});var a=[sm,rm,om];return t&&a.push(lm),Me(function(t){e.getVisitorValues(function(e){return t(e)},a)})}function Pa(e){return Ce(hm,e),{}}function ka(e,t,a){return f(e)?Fe({}):ze(Ia(e,a),t,vm)["catch"](Pa)}function ja(e,t){if(!c(e.getVisitorValues))return{};var a=[sm,rm,om];t&&a.push(lm);var n={};return e.getVisitorValues(function(e){return uu(n,e)},a),n}function Ca(e,t){return f(e)?{}:ja(e,t)}function _a(){var e=at(),t=e[zg],a=e[op];return Da(lu,t,a)}function Va(){var e=_a(),t=at();return ka(e,t[tp],t[ip])}function Sa(){return Ca(_a(),at()[ip])}function Aa(){return ba(_a())}function Ea(e){return ya(_a(),e)}function La(e){return wa(_a(),e)}function xa(e,t){bm[e]=t}function Oa(e){return bm[e]}function Ta(e){var t=e[Dp];if(f(t))return!1;var a=t[Pp];return!(!mu(a)||S(a))}function Na(e){var t=e[Vg];if(!D(t)||S(t))return!1;var a=e[Wg];if(!D(a)||S(a))return!1;var n=e[Gg];return!(!f(n)&&!T(n)||!c(e[Ng]))}function Ra(e){return Me(function(a,n){e(function(e,t){f(e)?a(t):n(e)})})}function Ma(e,t,a,n,i,r){var o={};o[e]=t,o[a]=n,o[i]=r;var s={};return s[Ip]=o,s}function Fa(e){var a=e[Vg],n=e[Wg],t=e[Gg]||Dm;return ze(Ra(e[Ng]),t,wm).then(function(e){var t=Ma(Vg,a,Wg,n,Ag,e);return Ce(ym,Pg,t),Le(t),e})["catch"](function(e){var t=Ma(Vg,a,Wg,n,yg,e);return Ce(ym,yg,t),Le(t),{}})}function qa(e){var t=q(function(e,t){return uu(e,t)},{},e);return xa(Pp,t),t}function Ha(e){return Ta(e)?Ue(R(Fa,m(Na,e[Dp][Pp]))).then(qa):Fe({})}function Ua(){var e=Oa(Pp);return f(e)?{}:e}function za(){return Ha(lu)}function Ba(){return Ua()}function Ga(e){var t=J(e.location.search)[Im];return E(t)?null:t}function Za(){var e=hf(Pm);return E(e)?null:e}function Qa(){var e=Ga(lu),t=Za();return e||t}function Wa(e){return!S(e)&&2===e.length&&xu(e[0])}function Ya(e){var t=e.indexOf("=");return-1===t?[]:[e.substr(0,t),e.substr(t+1)]}function Ka(e,a,n,i){y(function(e,t){d(e)?(a.push(t),Ka(e,a,n,i),a.pop()):S(a)?n[i(t)]=e:n[i(N(".",a.concat(t)))]=e},e)}function $a(e){return m(function(e,t){return xu(t)},J(e))}function Ja(e){return q(function(e,t){return e[ee(A(t[0]))]=ee(A(t[1])),e},{},m(Wa,q(function(e,t){return e.push(Ya(t)),e},[],m(xu,e))))}function Xa(e,t){var a={};return f(t)?Ka(e,[],a,u):Ka(e,[],a,t),a}function en(e){if(!c(e))return{};var t=null;try{t=e()}catch(a){return{}}return f(t)?{}:mu(t)?Ja(t):D(t)&&xu(t)?$a(t):d(t)?Xa(t):{}}function tn(e){return uu({},e,en(lu.targetPageParamsAll))}function an(e){return uu({},e,en(lu.targetPageParams))}function nn(e){var t=at(),a=t[Zg],n=t[up],i=t[dp];return a!==e?tn(n||{}):uu(tn(n||{}),an(i||{}))}function rn(){var e=cu.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");if(f(t)
)return null;var a=t.getExtension("WEBGL_debug_renderer_info");if(f(a))return null;var n=t.getParameter(a.UNMASKED_RENDERER_WEBGL);return f(n)?null:n}function on(){var e=lu.devicePixelRatio;if(!f(e))return e;e=1;var t=lu.screen,a=t.systemXDPI,n=t.logicalXDPI;return!f(a)&&!f(n)&&n<a&&(e=a/n),e}function sn(){var e=lu.screen,t=e.orientation,a=e.width,n=e.height;if(f(t))return n<a?"landscape":"portrait";if(f(t.type))return null;var i=U("-",t.type);if(S(i))return null;var r=i[0];return f(r)?null:r}function ln(){return km}function cn(e){return e===Cm}function un(e){return-1!==e.indexOf(jm)}function dn(e){return e===_m}function gn(e){return e===Vm}function pn(e){return e===Sm}function fn(e){return e===Am}function mn(e){return e===Em}function vn(e){return e===Lm}function hn(e){return un(e)||cn(e)||dn(e)||gn(e)||pn(e)||fn(e)||mn(e)||vn(e)}function bn(e){return e.substring(jm.length)}function yn(e){return e[Cm]}function wn(e){return e[_m]}function Dn(e){return e[Vm]}function In(e){return e[Sm]}function Pn(e){var t=R(A,U(",",e[Am]));return m(xu,t)}function kn(e){return e[Em]}function jn(e){return e[Lm]}function Cn(e){return q(function(e,t,a){return hn(a)||(e[a]=f(t)?"":t),e},{},e)}function _n(e){return q(function(e,t,a){if(!un(a))return e;var n=bn(a);return E(n)||(e[n]=f(t)?"":t),e},{},e)}function Vn(i,r,o){return i.onload=function(){var e=1223===i.status?204:i.status;if(e<100||599<e)o(new Error(Om));else{var t;try{t=JSON.parse(i.responseText)}catch(n){return void o(new Error(Nm))}var a=i.getAllResponseHeaders();r({status:e,headers:a,response:t})}},i}function Sn(e,t){return e.onerror=function(){t(new Error(Om))},e}function An(e,t,a){return e.timeout=t,e.ontimeout=function(){a(new Error(Tm))},e}function En(a,e){return y(function(e,t){mu(e)&&y(function(e){a.setRequestHeader(t,e)},e)},1<arguments.length&&e!==undefined?arguments[1]:{}),a}function Ln(e){var n=e.url,i=e.headers,r=e.body,o=e.timeout,s=e.async;return Me(function(e,t){var a=new window.XMLHttpRequest;(a=Sn(a=Vn(a,e,t),t)).open(xm,n,s),a.withCredentials=!0,a=En(a,i),s&&(a=An(a,o,t)),a.send(JSON.stringify(r))}).then(function(e){var t=e.response,a=t.status,n=t.message;if(!f(a)&&!f(n))throw new Error(n);return t})}function xn(e){if(e[lm])throw new Error(im);return e}function On(){var e=Va(),t=za();return Ue([e.then(xn),t])}function Tn(){return[Sa(),Ba()]}function Nn(e){var t=at()[Zg];return uu({},e,nn(t))}function Rn(){return-(new Date).getTimezoneOffset()}function Mn(){var e=lu.screen;return{width:e.width,height:e.height,orientation:sn(),colorDepth:e.colorDepth,pixelRatio:on()}}function Fn(){var e=cu.documentElement;return{width:e.clientWidth,height:e.clientHeight}}function qn(){return{host:lu.location.hostname,webGLRenderer:ln()}}function Hn(){return{url:lu.location.href,referringUrl:cu.referrer}}function Un(e){if(!f(e)&&e.channel===Rm)return e;var t=(e||{}).beacon;return{userAgent:lu.navigator.userAgent,timeOffsetInMinutes:Rn(),channel:Rm,screen:Mn(),window:Fn(),browser:qn(),address:Hn(),beacon:t}}function zn(e,t){if(!f(e))return e;var a={};if(S(t))return a;var n=t[om],i=parseInt(n,10);isNaN(i)||(a.locationHint=i);var r=t[rm];return xu(r)&&(a.blob=r),a}function Bn(e){var t=e.id,a=e.integrationCode,n=e.authenticatedState,i={};return xu(t)&&(i.id=t),xu(a)&&(i.integrationCode=a),xu(n)&&(i.authenticatedState=n),i}function Gn(e){return R(Bn,e)}function Zn(e,t,a,n,i){var r={};xu(t)&&(r.tntId=t),xu(a)&&(r.thirdPartyId=a),xu(e.thirdPartyId)&&(r.thirdPartyId=e.thirdPartyId);var o=n[sm];return xu(o)&&(r.marketingCloudVisitorId=o),xu(e.marketingCloudVisitorId)&&(r.marketingCloudVisitorId=e.marketingCloudVisitorId),S(e.customerIds)?S(i)||(r.customerIds=Gn(i)):r.customerIds=e.customerIds,r}function Qn(e,t){var a={},n=zn(e.audienceManager,t);return S(n)||(a.audienceManager=n),S(e.analytics)||(a.analytics=e.analytics),a}function Wn(e,t){if(!f(e)&&xu(e.token))return e;var a={},n=wn(t);return xu(n)&&(a.token=n),a}function Yn(e){if(!f(e)&&xu(e.authorizationToken))return e;var t={},a=Qa();return xu(a)&&(t.authorizationToken=a),t}function Kn(e){return f(e)?Zt():e}function $n(e){var t={},a=Dn(e);f(a)||(t.id=a);var n=In(e),i=parseFloat(n);isNaN(i)||(t.total=i);var r=Pn(e);return S(r)||(t.purchasedProductIds=r),t}function Jn(e){var t={},a=kn(e);f(a)||(t.id=a);var n=jn(e);return f(n)||(t.categoryId=n),t}function Xn(e,t){var a={},n=uu({},Cn(t),e.parameters||{}),i=uu({},_n(t),e.profileParameters||{}),r=uu({},$n(t),e.order||{}),o=uu({},Jn(t),e.product||{});return S(n)||(a.parameters=n),S(i)||(a.profileParameters=i),S(r)||(a.order=r),S(o)||(a.product=o),a}function ei(e,t){var a=e.index,n=e.name,i=e.address,r=Xn(e,uu({},t,nn(n)));return f(a)||(r.index=a),xu(n)&&(r.name=n),S(i)||(r.address=i),r}function ti(e,t){var a=e.name,n=e.address,i=Xn(e,t);return xu(a)&&(i.name=a),S(n)||(i.address=n),i}function ai(e,t){var a=e.execute,n=void 0===a?{}:a,i={};if(S(n))return i;var r=n.pageLoad;f(r)||(i.pageLoad=Xn(r,t));var o=n.mboxes;if(!f(o)&&mu(o)&&!S(o)){var s=m(qm,R(function(e){return ei(e,t)},o));S(s)||(i.mboxes=s)}return i}function ni(e,t){var a=e.prefetch,n=void 0===a?{}:a,i={};if(S(n))return i;var r=n.mboxes;f(r)||!mu(r)||S(r)||(i.mboxes=R(function(e){return ei(e,t)},r));var o=n.views;return f(o)||!mu(o)||S(o)||(i.views=R(function(e){return ti(e,t)},o)),i}function ii(e,t){if(We()&&!Ke())return null;var a=at(),n=Ea(e),i=La(dm),r=La(gm),o=t.experienceCloud,s=(void 0===o?{}:o).analytics,l=void 0===s?{}:s,c=l.logging,u=l.supplementalDataId,d=l.trackingServer,g=l.trackingServerSecure,p={};return f(c)?p.logging=a[Xp]:p.logging=c,f(u)||(p.supplementalDataId=u),xu(n)&&(p.supplementalDataId=n),f(d)||(p.trackingServer=d),xu(i)&&(p.trackingServer=i),f(g)||(p.trackingServerSecure=g),xu(r)&&(p.trackingServerSecure=r),S(p)?null:p}function ri(e,t,a){var n=Nn(a),i=it(),r=yn(n),o=Aa(),s=Zn(e.id||{},i,r,t,o),l=Wn(e.property,n),c=Qn(e.experienceCloud||{},t),u=Yn(e.trace),d=Kn(e.qaMode),g=ai(e,n),p=ni(e,n),f=e.notifications,m={};return m.requestId=B(),m.context=Un(e.context),S(s)||(m.id=s),S(l)||(m.property=l),S(u)||(m.trace=u),S(c)||(m.experienceCloud=c),S(d)||(m.qaMode=d),S(g)||(m.execute=g),S(p)||(m.prefetch=p),S(f)||(m.notifications=f),m}function oi(e,t,a){var n=a[0],i=a[1];return ri(e,n,uu({},i,t))}function si(t,a){return On().then(function(e){return oi(t,a,e)})}function li(e,t){return oi(e,t,Tn())}function ci(e,t){return T(t)?t<0?e[Gg]:t:e[Gg]}function ui(e){var t=e[Bg];if(!e[ap])return t;var a=ot();return E(a)?t:""+Mm+a+Fm}function di(e){return e[lp]+"//"+ui(e)+e[kp]+"?"+X({client:e[Ug],sessionId:et(),version:e[Wg]})}function gi(t,e){var a=at(),n=di(a),i=l({},Rp,[Mp]),r=ci(a,e),o={url:n,headers:i,body:t,timeout:r,async:!0};return Ce(Tg,t),Le({request:t}),Ln(o).then(function(e){return Ce(Og,e),Le({response:e}),{request:t,response:e}})}function pi(e,t){return{status:Pg,type:e,data:t}}function fi(e,t){return{status:yg,type:e,data:t}}function mi(e){return d(e)}function vi(e){return!!mi(e)&&xu(e.eventToken)}function hi(e){return!S(e)&&!E(e.type)&&xu(e.eventToken)}function bi(e){return!!hi(e)&&xu(e.selector)}function yi(e){var t=e.id;return d(t)&&xu(t.tntId)}function wi(e){var t=e.response;return yi(t)&&nt(t.id.tntId),e}function Di(e){var t=e.response;return yi(t)&&st(t.id.tntId),st(null),e}function Ii(e){var t=(0<arguments.length&&e!==undefined?arguments[0]:{}).trace;S(t)||Ee(t)}function Pi(e){var t=e.response,a=t.execute,n=void 0===a?{}:a,i=t.prefetch,r=void 0===i?{}:i,o=n.pageLoad,s=void 0===o?{}:o,l=n.mboxes,c=void 0===l?[]:l,u=r.mboxes,d=void 0===u?[]:u,g=r.views,p=void 0===g?[]:g;return Ii(s),y(Ii,c),y(Ii,d),y(Ii,p),e}function ki(e){var t=e.queryKey,a=t[ov];if(!D(a))return t;if(E(a))return t;var n=Math.round(F()/1e3);return t[ov]=a.replace(/\|TS=\d+/,"|TS="+n),t}function ji(e){return e.queryKey}function Ci(e,t,a){var n=ae(e),i=n.protocol,r=n.host,o=n.path,s=""===n.port?"":":"+n.port,l=E(n.anchor)?"":"#"+n.anchor,c=a(n),u=X(uu({},c,t));return i+"://"+r+s+o+(E(u)?"":"?"+u)+l}function _i(e,t){return Ci(e,t,ki)}function Vi(e,t){return Ci(e,t,ji)}function Si(e){var t=e.content;if(E(t))return Ce(ug,e),null;var a=uu({},e);return a.content=_i(t,{}),a}function Ai(e){throw new Error(e)}function Ei(e){var t=e[gv]||uv,a=e[pv]||Ai(cv),n=e[fv]||{},i=e[mv]||null,r=e[vv]||!1,o=e[hv]||3e3,s=!!f(e[bv])||!0===e[bv],l={};return l[gv]=t,l[pv]=a,l[fv]=n,l[mv]=i,l[vv]=r,l[hv]=o,l[bv]=s,l}function Li(n,i,r){return n.onload=function(){var e=1223===n.status?204:n.status;if(e<100||599<e)r(new Error(sv));else{var t=n.responseText,a=n.getAllResponseHeaders();i({status:e,headers:a,response:t})}},n}function xi(e,t){return e.onerror=function(){t(new Error(sv))},e}function Oi(e,t,a){return e.timeout=t,e.ontimeout=function(){a(new Error(lv))},e}function Ti(e,t){return!0===t&&(e.withCredentials=t),e}function Ni(a,e){return y(function(e,t){y(function(e){return a.setRequestHeader(t,e)},e)},e),a}function Ri(n,e){var t=Ei(e),i=t[gv],r=t[pv],o=t[fv],s=t[mv],l=t[vv],c=t[hv],u=t[bv];return Me(function(e,t){var a=new n.XMLHttpRequest;(a=xi(a=Li(a,e,t),t)).open(i,r,u),a=Ni(a=Ti(a,l),o),u&&(a=Oi(a,c,t)),a.send(s)})}function Mi(e){return Ri(lu,e)}function Fi(e,t,a){var n={};return n[gv]=uv,n[pv]=Vi(e,t),n[hv]=a,n}function qi(e){return 200<=e&&e<300||304===e}function Hi(e){if(!qi(e.status))return null;var t=e.response;if(E(t))return null;var a={};return a.type=_d,a.content=t,a}function Ui(e){return Mi(Fi(e.content,{},at()[hv])).then(Hi)["catch"](function(){return null})}function zi(e){var t=e[Wu];if(E(t))return"";var a=yv.exec(t);return S(a)||2!==a.length?"":a[1]}function Bi(e,t){var a=document.createElement(Fd);a.innerHTML=t;var n=a.firstElementChild;return f(n)?t:(n.id=e,n.outerHTML)}function Gi(e){var t=e[qu],a=zi(e);if(E(a)||E(t))return e;var n=e[Wu];return e[Wu]=n.replace(wv,""),e[qu]=Bi(a,t),e}function Zi(e){return!f(e.selector)}function Qi(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function Wi(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function Yi(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function Ki(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function $i(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function Ji(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function Xi(e){if(!Zi(e))return null;var t=Gi(e);return D(t[qu])?t:(Ce(ig,t),null)}function er(e){return Zi(e)?D(e[qu])?e:(Ce(ig,e),null):null}function tr(e){return Zi(e)?d(e[qu])?e:(Ce(rg,e),null):null}function ar(e){return Zi(e)?D(e[qu])?e:(Ce(dg,e),null):null}function nr(e){return Zi(e)?d(e[qu])?e:(Ce(og,e),null):null}function ir(e){return Zi(e)?d(e[qu])?e:(Ce(sg,e),null):null}function rr(e){return Zi(e)?d(e[qu])?e:(Ce(lg,e),null):null}function or(e){return Zi(e)?e:null}function sr(e){return Zi(e)?d(e[qu])?e:(Ce(cg,e),null):null}function lr(e){var t=e.content;return E(t)?(Ce(ug,e),null):(e.content=_i(t,{}),e)}function cr(e){var t=e[Fu];if(E(t))return null;switch(t){case Ku:return Qi(e);case Ju:return Wi(e);case pd:return Yi(e);case md:return Ki(e);case hd:return $i(e);case dd:return Ji(e);case gd:return Xi(e);case sd:return er(e);case ed:return tr(e);case td:return ar(e);case ad:return nr(e);case id:return ir(e);case rd:return rr(e);case od:return or(e);case nd:return sr(e);case ld:return lr(e);default:return null}}function ur(e){var t=e[qu];if(!mu(t))return null;if(S(t))return null;var a=m(Dv,R(cr,t));if(S(a))return null;var n=uu({},e);return n.content=a,n}function dr(e){var t=(0<arguments.length&&e!==undefined?arguments[0]:{}).options;return mu(t)?S(t)?[]:Wm(R($m,t)):[]}function gr(e){var t=0<arguments.length&&e!==undefined?arguments[0]:{},a=t.execute,n=void 0===a?{}:a,i=t.prefetch,r=void 0===i?{}:i,o=n.pageLoad,s=void 0===o?{}:o,l=n.mboxes,c=void 0===l?[]:l,u=r.mboxes,d=void 0===u?[]:u,g=r.views,p=void 0===g?[]:g;return h([dr(s),h(R(dr,c)),h(R(dr,d)),h(R(dr,p))])}function pr(e){var t=(0<arguments.length&&e!==undefined?arguments[0]:{}).execute,a=void 0===t?{}:t,n=a.pageLoad,i=void 0===n?{}:n,r=a.mboxes,o=void 0===r?[]:r,s=h([Ym(i)||[],h(Wm(R(Ym,o)))]),l=h(R(Km,m(Zm,s))),c=m(Qm,s),u=m(Qm,l),d=c.concat(u),g={};if(S(d))return g;var p=d[0].content;return E(p)||(g.url=p),g}function fr(e){var t=(0<arguments.length&&e!==undefined?arguments[0]:{}).analytics;return S(t)?[]:[t]}function mr(e){var t=0<arguments.length&&e!==undefined?arguments[0]:{},a=t.execute,n=void 0===a?{}:a,i=t.prefetch,r=void 0===i?{}:i,o=n.pageLoad,s=void 0===o?{}:o,l=n.mboxes,c=void 0===l?[]:l,u=r.mboxes,d=void 0===u?[]:u,g=r.views,p=void 0===g?[]:g;return h([fr(s),h(R(fr,c)),h(R(fr,d)),h(R(fr,p))])}function vr(e,t){e.parameters=t.parameters,e.profileParameters=t.profileParameters,e.order=t.order,e.product=t.product}function hr(e,t){var a=t[0],n=t[1],i=!S(a),r=!S(n);return(i||r)&&(i&&(e.options=a),r&&(e.metrics=n)),e}function br(e){switch(e.type){case ld:return Fe(Si(e));case Vd:return Ui(e);case Eg:return Fe(ur(e));default:return Fe(e)}}function yr(e,t){if(!mu(e))return Fe([]);if(S(e))return Fe([]);var a=m(t,e);return S(a)?Fe([]):Ue(R(function(e){return br(e)},a)).then(Wm)}function wr(e,t){return mu(e)?S(e)?Fe([]):Fe(m(t,e)):Fe([])}function Dr(e){var t=e.response.execute;if(!d(t))return Fe(null);var a=t.pageLoad;if(!d(a))return Fe(null);var n=a.analytics,i=a.options,r=a.metrics,o={analytics:n};return Ue([yr(i,mi),wr(r,bi)]).then(function(e){return hr(o,e)})}function Ir(e){var t=e.name,a=e.analytics,n=e.options,i=e.metrics,r={name:t,analytics:a};return Ue([yr(n,mi),wr(i,hi)]).then(function(e){return hr(r,e)})}function Pr(e){var t=e.response.execute;if(!d(t))return Fe([]);var a=t.mboxes;return!mu(a)||S(a)?Fe([]):Ue(R(Ir,m(ev,a))).then(Wm)}function kr(e,t,a){return e.index===t&&e.name===a}function jr(e,t,a){var n=e.prefetch,i=(void 0===n?{}:n).mboxes,r=void 0===i?[]:i;return S(r)?null:v(m(function(e){return kr(e,t,a)},r))}function Cr(e,t){var a=t.index,n=t.name,i=t.state,r=t.analytics,o=t.options,s=t.metrics,l=jr(e,a,n),c={name:n,state:i,analytics:r};return f(l)||vr(c,l),Ue([yr(o,vi),wr(s,hi)]).then(function(e){return hr(c,e)})}function _r(e){var t=e.request,a=e.response.prefetch;if(!d(a))return Fe([]);var n=a.mboxes;if(!mu(n)||S(n))return Fe([]);var i=m(tv,n),r=function r(e){return Cr(t,e)};return Ue(R(r,i)).then(Wm)}function Vr(e){var t=e.prefetch,a=(void 0===t?{}:t).views,n=void 0===a?[]:a;return S(n)?null:n[0]}function Sr(e,t){var a=t.name,n=t.state,i=t.analytics,r=t.options,o=t.metrics,s=Vr(e),l={name:a.toLowerCase(),state:n,analytics:i};return f(s)||vr(l,s),Ue([yr(r,vi),wr(o,bi)]).then(function(e){return hr(l,e)})}function Ar(e){var t=e.request,a=e.response.prefetch;if(!d(a))return Fe([]);var n=a.views;if(!mu(n)||S(n))return Fe([]);var i=m(av,n),r=function r(e){return Sr(t,e)};return Ue(R(r,i)).then(Wm)}function Er(e){var t=e.response.prefetch;return d(t)?wr(t.metrics,bi):Fe([])}function Lr(e){var t=e[0],a=e[1],n=e[2],i=e[3],r=e[4],o={},s={};d(t)&&(s.pageLoad=t),S(a)||(s.mboxes=a);var l={};return S(n)||(l.mboxes=n),S(i)||(l.views=i),S(r)||(l.metrics=r),S(s)||(o.execute=s),S(l)||(o.prefetch=l),o}function xr(e){var t=b([Pi,wi,Di])(e);return Ue([Dr(t),Pr(t),_r(t),Ar(t),Er(t)]).then(Lr)}function Or(e){return!S(pr(e))}function Tr(e){var t=gr(e),a={};return S(t)||(a.responseTokens=t),a}function Nr(e){var t=Tr(e),a=mr(e);return S(a)||(t.analyticsDetails=a),Ce(tg,e),ft(t,Or(e)),Fe(e)}function Rr(e,t){var a=Tr(t);return a.mbox=e,Ce(tg,t),ft(a,Or(t)),Fe(t)}function Mr(e){return je(eg,e),mt({error:e}),qe(e)}function Fr(e,t){return je(eg,t),mt({mbox:e,error:t}),qe(t)}function qr(e){var t=at()[Zg],a=e.mbox,n=e.timeout,i=d(e.params)?e.params:{},r=function r(e){return Rr(a,e)},o=function o(e){return Fr(a,e)},s={},l={};a===t?l.pageLoad={}:l.mboxes=[{index:0,name:a}],s.execute=l;var c=ii(a,s);if(!S(c)){var u={};u.analytics=c,s.experienceCloud=u}return pt({mbox:a}),si(s,i).then(function(e){return gi(e,n)}).then(xr).then(r)["catch"](o)}function Hr(e){var t=at()[Zg],a=e.consumerId,n=void 0===a?t:a,i=e.request,r=e.timeout,o=ii(n,i),s=function s(e){return Nr(e)},l=function l(e){return Mr(e)};if(!S(o)){var c=i.experienceCloud||{};c.analytics=o,i.experienceCloud=c}return pt({}),si(i,{}).then(function(e){return gi(e,r)}).then(xr).then(s)["catch"](l)}function Ur(e,t){return kt(t).addClass(e)}function zr(e,t){return kt(t).css(e)}function Br(e,t){return kt(t).attr(e)}function Gr(e,t,a){return kt(a).attr(e,t)}function Zr(e,t){return kt(t).removeAttr(e)}function Qr(e,t,a){var n=Br(e,a);xu(n)&&(Zr(e,a),Gr(t,n,a))}function Wr(e,t){return xu(Br(e,t))}function Yr(e){return new Error("Could not find: "+e)}function Kr(n,i,r){return Me(function(t,e){var a=Oe(function(){var e=r(n);S(e)||(a.disconnect(),t(e))});o(function(){a.disconnect(),e(Yr(n))},i),a.observe(cu,{childList:!0,subtree:!0})})}function $r(){return cu[Iv]===Pv}function Jr(n,i,r){return Me(function(t,e){function a(){var e=r(n);S(e)?lu.requestAnimationFrame(a):t(e)}a(),o(function(){e(Yr(n))},i)})}function Xr(n,i,r){return Me(function(t,e){function a(){var e=r(n);S(e)?o(a,kv):t(e)}a(),o(function(){e(Yr(n))},i)})}function eo(e,t,a){var n=1<arguments.length&&t!==undefined?arguments[1]:at()[ep],i=2<arguments.length&&a!==undefined?arguments[2]:kt,r=i(e);return S(r)?xe()?Kr(e,n,i):$r()?Jr(e,n,i):Xr(e,n,i):Fe(r)}function to(e){return Br(jd,e)}function ao(e){return Wr(jd,e)}function no(e){return y(function(e){return Qr(Ad,jd,e)},V(Lt(Md,e))),e}function io(e){return y(function(e){return Qr(jd,Ad,e)},V(Lt(Md,e))),e}function ro(e){return Ce(pg,e),Br(Ad,Gr(Ad,e,_t("<"+Md+"/>")))}function oo(e){var t=m(ao,V(Lt(Md,e)));return S(t)||y(ro,R(to,t)),e}function so(e){return b([no,oo,io])(e)}function lo(e){var t=Br(Ad,e);return xu(t)?t:null}function co(e){return m(xu,R(lo,V(Lt(Sd,e))))}function uo(e){return q(function(e,t){return e.then(function(){return Ce(bg,t),Le({remoteScript:t}),fu(t)})},Fe(),e)}function go(e){return e}function po(e,t){return je(Xd,t),Le({action:e,error:t}),e}function fo(e,t){var a,n=kt(t[Wu]),i=so(Ct(t[qu])),r=co(i);try{a=Fe(e(n,i))}catch(o){return qe(po(t,o))}return S(r)?a.then(function(){return go(t)})["catch"](function(e){return po(t,e)}):a.then(function(){return uo(r)}).then(function(){return go(t)})["catch"](function(e){return po(t,e)})}function mo(e){var t=Ct(e);return N("",q(function(e,t){return e.push(Xt(Ct(t))),e},[],V(Lt(jv,t))))}function vo(e){var t=uu({},e),a=t[qu];if(E(a))return t;var n=kt(t[Wu]);return Et(Od,n)&&(t[Fu]=pd,t[qu]=mo(a)),t}function ho(e){return e.indexOf("px")===e.length-2?e:e+"px"}function bo(e,t){return Jt(Xt(t),e)}function yo(e){return Ce(ng,e),fo(bo,e)}function wo(e){var t=kt(e[Wu]),a=e[qu];return Ce(ng,e),Le({action:e}),ea(a,t),Fe(e)}function Do(e,t){return Kt(Xt(t),e)}function Io(e){return Ce(ng,e),fo(Do,e)}function Po(e,t){return $t(Xt(t),e)}function ko(e){return Ce(ng,e),fo(Po,e)}function jo(e,t){var a=At(e);return Qt(Yt(Xt(t),e)),a}function Co(e){return Ce(ng,e),fo(jo,e)}function _o(e,t){return Vt(Yt(Xt(t),e))}function Vo(e){return Ce(ng,e),fo(_o,e)}function So(e,t){return St(Wt(Xt(t),e))}function Ao(e){return Ce(ng,e),fo(So,e)}function Eo(e,t){return At(Yt(Xt(t),e))}function Lo(e){return Ce(ng,e),fo(Eo,e)}function xo(e){var t=e[qu],a=kt(e[Wu]);return Ce(ng,e),Le({action:e}),Zr(Ad,a),Gr(Ad,ro(t),a),Fe(e)}function Oo(e){var t=e[qu],a=kt(e[Wu]);return Ce(ng,e),Le({action:e}),y(function(e,t){return Gr(t,e,a)},t),Fe(e)}function To(e,t,n){y(function(a){y(function(e,t){return a.style.setProperty(t,e,n)},t)},V(e))}function No(e){var t=kt(e[Wu]),a=e[qu],n=a[Qu];return Ce(ng,e),Le({action:e}),E(n)?zr(a,t):To(t,a,n),Fe(e)}function Ro(e){var t=kt(e[Wu]),a=e[qu];return a[Uu]=ho(a[Uu]),a[Hu]=ho(a[Hu]),Ce(ng,e),Le({action:e}),zr(a,t),Fe(e)}function Mo(e){var t=kt(e[Wu]),a=e[qu];return a[zu]=ho(a[zu]),a[Bu]=ho(a[Bu]),Ce(ng,e),Le({action:e}),zr(a,t),Fe(e)}function Fo(e){var t=kt(e[Wu]);return Ce(ng,e),Le({action:e}),Qt(t),Fe(e)}function qo(e){var t=kt(e[Wu]),a=e[qu],n=a[Gu],i=a[Zu],r=V(xt(t)),o=r[n],s=r[i];return jt(o)&&jt(s)?(Ce(ng,e),Le({action:e}),n<i?Wt(o,s):Yt(o,s),Fe(e)):(Ce(gg,e),qe(e))}function Ho(e){var t=vo(e);switch(t[Fu]){case Ku:return yo(t);case Ju:return wo(t);case pd:return Io(t);case md:return ko(t);case hd:return Co(t);case dd:return Vo(t);case gd:return Ao(t);case sd:return Lo(t);case ed:return Oo(t);case td:return xo(t);case ad:return No(t);case id:return Ro(t);case rd:return Mo(t);case od:return Fo(t);case nd:return qo(t);default:return Fe(t)}}function Uo(e){return e[Fu]===cd||e[Fu]===ud}function zo(e){var t=e[Wu];return xu(t)||O(t)}function Bo(e){var t=e.key;if(!E(t)&&zo(e)){var a=e[Wu];Gr(Cv,t,a)}}function Go(e){var t=e[Yu];E(t)||ga(t)}function Zo(e){if(zo(e)){var t=e[Wu];Uo(e)?Ur(qg,t):(Ur(Fg,t),Go(e))}else Go(e)}function Qo(e){y(Zo,e)}function Wo(e){var t=e.key;if(E(t))return!0;if(e[Fu]===sd)return e[Ap];var a=e[Wu],n=Br(Cv,a);return n!==t||n===t&&!e[Ap]}function Yo(a){return Wo(a)?Ho(a).then(function(){return Ce(ag,a),Le({action:a}),Bo(a),Zo(a),a})["catch"](function(e){je(Xd,e),Le({action:a,error:e}),Zo(a);var t=uu({},a);return t[yg]=!0,t}):(Zo(a),a)}function Ko(e){var t=m(function(e){return!0===e[yg]},e);return S(t)?Fe():(Qo(t),qe(e))}function $o(t){return eo(t[Wu]).then(function(){return t})["catch"](function(){var e=uu({},t);return e[yg]=!0,e})}function Jo(e){return $o(e).then(Yo)}function Xo(e){return Ue(R(Jo,e)).then(Ko)}function es(e,t,a){return kt(a).on(e,t)}function ts(e,t,a){return kt(a).off(e,t)}function as(e){return eo(e[Wu]).then(function(){return Le({metric:e}),uu({found:!0},e)})["catch"](function(){return je(_v,e),Le({metric:e,message:_v}),e})}function ns(e,t,a){return e[Vv][Sv](t,a)}function is(e,t,a){var n={};n[Rp]=[Mp];var i={};i[gv]=dv,i[pv]=t,i[mv]=a,i[vv]=!0,i[bv]=!1,i[fv]=n;try{e(i)}catch(r){return!1}return!0}function rs(e){return Vv in e&&Sv in e[Vv]}function os(e,t){return rs(lu)?ns(lu,e,t):is(Mi,e,t)}function ss(e){var t=e.name,a=Oa(Lp)||{};a[t]=e,xa(Lp,a)}function ls(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:{},n=a.page,i=void 0===n||n,r=(Oa(Lp)||{})[e];if(f(r))return r;var o=a.impressionId;return f(o)?r:uu({page:i,impressionId:o},r)}function cs(e){y(ss,e)}function us(e){var t=ii(e,{}),a={context:{beacon:!0}};if(!S(t)){var n={};n.analytics=t,a.experienceCloud=n}return a}function ds(e,t,a){var n=li(us(e),t);return n.notifications=a,n}function gs(e,t,a){return si(us(e),t).then(function(e){return e.notifications=a,e})}function ps(e,t,a){var n={id:B(),type:t,timestamp:F(),parameters:e.parameters,profileParameters:e.profileParameters,order:e.order,product:e.product};return S(a)||(n.tokens=a),n}function fs(e,t,a){var n=e.name,i=e.state,r=ps(e,t,a);return r.mbox={name:n,state:i},r}function ms(e,t,a){var n=e.name,i=e.state,r=ps(e,t,a);return r.view={name:n,state:i},r}function vs(e){var t=di(at());return os(t,JSON.stringify(e))?(Ce(Av,t,e),!0):(je(Ev,t,e),!1)}function hs(e,t,a){var n=nn(at()[Zg]),i=ps(Xn({},n),t,[a]),r=ds(B(),n,[i]);Ce(Tv,e,i),Le({source:e,event:t,request:r}),vs(r)}function bs(e,t,a){var n=nn(e),i=ps(Xn({},n),t,[a]);i.mbox={name:e};var r=ds(B(),n,[i]);Ce(Nv,e,i),Le({mbox:e,event:t,request:r}),vs(r)}function ys(e){var t=at()[Zg],r=[],o=Np;if(y(function(e){var t=e.mbox,a=e.data;if(!f(a)){var n=a.eventTokens,i=void 0===n?[]:n;S(i)||r.push(fs(t,o,i))}},e),!S(r)){var a=ds(t,{},r);Ce(Ov,r),Le({source:Mv,event:Fv,request:a}),vs(a)}}function ws(e,t,a){var n=nn(at()[Zg]),i=ps(Xn({},n),t,[a]);i.view={name:e};var r=ds(B(),n,[i]);Ce(Rv,e,i),Le({view:e,event:t,request:r}),vs(r)}function Ds(e){var t=e.viewName,a=e.impressionId,n=nn(at()[Zg]),i=ps(Xn({},n),Np,[]);i.view={name:t},Ce(Lv,t),gs(t,n,[i]).then(function(e){e.impressionId=a,Le({view:t,event:qv,request:e}),vs(e)})}function Is(e){if(!f(e)){var t=e.view,a=e.data,n=(void 0===a?{}:a).eventTokens,i=void 0===n?[]:n;if(!S(i)){var r=t.name,o=t.impressionId,s=ls(r);if(!f(s)){var l=ds(r,{},[ms(s,Np,i)]);l.impressionId=o,Ce(xv,r,i),Le({view:r,event:Fv,request:l}),vs(l)}}}}function Ps(e,t){e===xd&&Ur(qg,t)}function ks(e,t){return!f(Hv[e])&&!f(Hv[e][t])}function js(e,n,i){if(f(Hv[e])){var t=p(Hv);S(t)||y(function(a){y(function(e){var t=Hv[a][e];ts(n,t,i)},p(Hv[a])),delete Hv[a]},t)}}function Cs(e,t,a){Hv[e]=Hv[e]||{},Hv[e][t]=a}function _s(e,t,a,n){var i=a.type,r=a.selector,o=a.eventToken,s=I(i+":"+r+":"+o),l=function l(){return n(e,i,o)};Ps(i,r),t?ks(e,s)||(js(e,i,r),Cs(e,s,l),es(i,l,r)):es(i,l,r)}function Vs(t,a,e,n){return Ue(R(as,e)).then(function(e){return y(function(e){return _s(t,a,e,n)},m(function(e){return e.found},e)),Gv()})["catch"](Zv)}function Ss(e){return Vs(e.name,!1,Bv(e),bs)}function As(e){return Vs(e.name,!0,Bv(e),ws)}function Es(e){return Vs(Uv,!1,Bv(e),hs)}function Ls(e){return Vs(zv,!1,Bv(e),hs)}function xs(e){var t=R(Wv,e);ua(Wm(t))}function Os(e){var t=R(Wv,e);da(Wm(t))}function Ts(e){var t=m(Zm,Ym(e));return h(R(Qv,t))}function Ns(e){return d(e)&&e.type!==Xu}function Rs(e,t,a){return R(function(e){return uu({key:t,page:a},e)},m(Ns,e))}function Ms(e,t,a){var n=e.eventToken;return Xo(Rs(e.content,t,a)).then(function(){return Yv(n)})["catch"](Kv)}function Fs(e){return d(e)&&e.type!==Cd}function qs(e,t){return R(e,m(Fs,Ym(t)))}function Hs(e,t,a){var n=l({status:Pg},e,t),i=R(iv,m(Gm,a)),r={};return S(i)||(n.status=yg,r.errors=i),S(r)||(n.data=r),n}function Us(e,t,a){var n=l({status:Pg},e,t),i=R(iv,m(Gm,a)),r=R(iv,m($v,a)),o={};return S(i)||(n.status=yg,o.errors=i),S(r)||(o.eventTokens=r),S(o)||(n.data=o),n}function zs(t,e,a){var n=function n(e){return Ms(e,!0)};return Ue(qs(n,t)).then(e).then(function(e){return a(t),e})}function Bs(t,a,n,i){var r=a.name,o=function o(e){return Ms(e,r,n)};return Ue(qs(o,a)).then(function(e){return Us(t,a,e)}).then(function(e){return i(a),e})}function Gs(t){var a=function a(e){return Hs(Cg,t,e)};return zs(t,a,Ss)}function Zs(e){return Bs(Cg,e,!0,Ss)}function Qs(e){xs(Ts(e))}function Ws(e,t){if(!(1<arguments.length&&t!==undefined&&arguments[1])){var a=e.execute,n=(void 0===a?{}:a).pageLoad,i=void 0===n?{}:n;S(i)||Qs(i)}}function Ys(e){var t=e.prefetch,a=(void 0===t?{}:t).views,n=void 0===a?[]:a;S(n)||Os(h(R(Ts,n)))}function Ks(e){xs(Ts(e)),pa()}function $s(t){var a=function a(e){return Hs(Rg,t,e)};return zs(t,a,Es)}function Js(e){return Ue(R(Gs,e))}function Xs(e){return Ue(R(Zs,e))}function el(e){return Ue([Ls(e)]).then(Hs)}function tl(e){var t=e.page;return Bs(Ep,e,t,As)}function al(){}function nl(){return new Jv}function il(e,t,a){e.emit(t,a)}function rl(e,t,a){e.on(t,a)}function ol(e,t){il(eh,e,t)}function sl(e,t){rl(eh,e,t)}function ll(e){return{type:ld,content:e.url}}function cl(e){var t={};return t.type=Ku,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function ul(e){var t={};return t.type=Ju,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function dl(e){var t={};return t.type=pd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function gl(e){var t={};return t.type=md,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function pl(e){var t={};return t.type=hd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function fl(e){var t={};return t.type=dd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function ml(e){var t={};return t.type=gd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function vl(e){var t={};return t.type=sd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function hl(e){var t={};if(t.selector=e.selector,t.cssSelector=e.cssSelector,e.attribute===Ad)return t.type=td,t.content=e.value,t;t.type=ed;var a={};return a[e.attribute]=e.value,t.content=a,t}function bl(e){var t=e.style,a=void 0===t?{}:t,n={};return n.selector=e.selector,n.cssSelector=e.cssSelector,f(a.left)||f(a.top)?f(a.width)||f(a.height)?n.type=ad:n.type=id:n.type=rd,n.content=a,n}function yl(e){var t={};return t.type=od,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function wl(e){var t={};t.from=e.from,t.to=e.to;var a={};return a.type=nd,a.selector=e.selector,a.cssSelector=e.cssSelector,a.content=t,a}function Dl(e){return xu(e.selector)&&xu(e.cssSelector)}function Il(e){var t={};if(S(e))return t;var a=[],n=[],i=[];y(function(e){switch(e.action){case $u:Dl(e)?i.push(cl(e)):a.push({type:_d,content:e.content});break;case Xu:S(e.content)||y(function(e){return a.push({type:Cd,content:e})},e.content);break;case Ju:i.push(ul(e));break;case fd:i.push(dl(e));break;case vd:i.push(gl(e));break;case bd:i.push(pl(e));break;case dd:i.push(fl(e));break;case gd:i.push(ml(e));break;case sd:i.push(vl(e));break;case ed:i.push(hl(e));break;case ad:i.push(bl(e));break;case od:i.push(yl(e));break;case nd:i.push(wl(e));break;case ld:a.push(ll(e));break;case cd:n.push({type:xd,selector:e.selector,eventToken:e.clickTrackId})}},e);var r={};if(!S(i)&&a.push({type:Eg,content:i}),!S(a)&&(r.options=a),!S(n)&&(r.metrics=n),S(r))return t;var o={};return o.pageLoad=r,t.execute=o,t}function Pl(e,t){var a={};if(S(t))return a;var n=[],i=[];y(function(e){switch(e.action){case $u:n.push({type:_d,content:e.content});break;case Xu:S(e.content)||y(function(e){return n.push({type:Cd,content:e})},e.content);break;case ld:n.push(ll(e));break;case ud:i.push({type:xd,eventToken:e.clickTrackId})}},t);var r={name:e};if(!S(n)&&(r.options=n),!S(i)&&(r.metrics=i),S(r))return a;var o={},s=[r];return o.mboxes=s,a.execute=o,a}function kl(e,t,a){return a?Il(t):Pl(e,t)}function jl(e){var t=e.status,a=e.data,n={status:t,pageLoad:!0};return f(a)||(n.data=a),n}function Cl(e){var t=e.status,a=e.mbox,n=e.data,i={status:t,mbox:a.name};return f(n)||(i.data=n),i}function _l(e){var t=e.status,a=e.view,n=e.data,i={status:t,view:a.name};return f(n)||(i.data=n),i}function Vl(e){var t=e.status,a=e.data,n={status:t,prefetchMetrics:!0};return f(a)||(n.data=a),n}function Sl(e){if(f(e))return[null];var t=R(jl,[e]);return rh(t)&&je(th,e),t}function Al(e){if(f(e))return[null];var t=R(Cl,e);return rh(t)&&je(ah,e),t}function El(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:ys;if(f(e))return[null];var n=R(Cl,e);return rh(n)&&je(ah,e),a(e),n}function Ll(e,t){var a=1<arguments.length&&t!==undefined?arguments[1]:Is;if(f(e))return[null];var n=R(_l,[e]);return rh(n)&&je(nh,e),e.view.page&&a(e),n}function xl(e){if(f(e))return[null];var t=R(Vl,[e]);return rh(t)&&je(ih,e),t}function Ol(e){var t=h([Sl(e[0]),Al(e[1]),El(e[2]),xl(e[3])]),a=m(zm,t),n=m(Gm,a);return S(n)?Fe(a):qe(n)}function Tl(e){return qe(e)}function Nl(n,e){if(!S(e)){var t=e.options;S(t)||y(function(e){if(e.type===_d){var t=Ku,a=e.content;e.type=Eg,e.content=[{type:t,selector:n,content:a}]}},t)}}function Rl(t,e){var a=e.metrics;if(!S(a)){var n=e.name;y(function(e){e.name=n,e.selector=e.selector||t},a)}}function Ml(t,e){var a=uu({},e),n=a.execute,i=void 0===n?{}:n,r=a.prefetch,o=void 0===r?{}:r,s=i.pageLoad,l=void 0===s?{}:s,c=i.mboxes,u=void 0===c?[]:c,d=o.mboxes,g=void 0===d?[]:d;return Nl(t,l),y(function(e){return Nl(t,e)},u),y(function(e){return Rl(t,e)},u),y(function(e){return Nl(t,e)},g),y(function(e){return Rl(t,e)},g),a}function Fl(e){var t=e.prefetch,a=(void 0===t?{}:t).views,n=void 0===a?[]:a;S(n)||cs(n)}function ql(e){var t=[],a=e.execute,n=void 0===a?{}:a,i=n.pageLoad,r=void 0===i?{}:i,o=n.mboxes,s=void 0===o?[]:o;S(r)?t.push(Fe(null)):t.push($s(r)),S(s)?t.push(Fe(null)):t.push(Js(s));var l=e.prefetch,c=void 0===l?{}:l,u=c.mboxes,d=void 0===u?[]:u,g=c.metrics,p=void 0===g?[]:g;return S(d)?t.push(Fe(null)):t.push(Xs(d)),mu(p)&&!S(p)?t.push(el(c)):t.push(Fe(null)),ca(),Ue(t).then(Ol)["catch"](Tl)}function Hl(e,t){o(function(){return e.location.replace(t)})}function Ul(e){return xu(e)?e:O(e)?e:Od}function zl(e){Ur(Fg,e)}function Bl(e){var t=e.mbox,a=e.selector,n=e.offer,i=at(),r=t===i[Zg];if(S(n))return Ce(vg),zl(a),ca(),void yt({mbox:t});var o=Ml(a,kl(t,n,r)),s=pr(o);if(!S(s)){var l=s.url;return Ce(hg,s),wt({url:l}),void Hl(lu,l)}vt({mbox:t}),Ws(o),ql(o).then(function(e){S(e)||ht({mbox:t,execution:e})})["catch"](function(e){return bt({error:e})})}function Gl(e,t){var a=1<arguments.length&&t!==undefined&&arguments[1],n=e.selector,i=e.response;if(S(i))return Ce(vg),zl(n),ca(),yt({}),ol(rf),Fe();var r=Ml(n,i),o=pr(r);if(S(o))return vt({}),Fl(r),ol(nf),Ws(r,a),ql(r).then(function(e){S(e)||ht({execution:e})})["catch"](function(e){return bt({error:e})});var s=o.url;return Ce(hg,o),wt({url:s}),ol(of),Hl(lu,s),Fe()}function Zl(e){var t=e[ef];if(S(t))return!1;var a=t.request,n=t.response;return!S(a)&&!S(n)}function Ql(e){return e[ef]}function Wl(e){je(oh,qp,e),Le({source:oh,error:e}),ca()}function Yl(e,t){var a=1<arguments.length&&t!==undefined&&arguments[1],n={selector:Od,response:e};Ce(oh,Og,e),Le({source:oh,response:e}),Gl(n,a)["catch"](Wl)}function Kl(e,t){var a=uu({},t),n=a.execute,i=a.prefetch,r=e[Cp],o=e[jp];return n&&(a.execute.mboxes=null),n&&!r&&(a.execute.pageLoad=null),i&&(a.prefetch.mboxes=null),i&&!o&&(
a.prefetch.views=null),a}function $l(e){var t=Ql(e),a=t.request,n=t.response,i=!0;Ce(oh,zp),Le({source:oh,serverState:t});var r=Kl(e,n);Ws(r),Ys(r),xr({request:a,response:r}).then(function(e){return Yl(e,i)})["catch"](Wl)}function Jl(){if(!ye())return je(oh,qd),void Le({source:oh,error:qd});var e=at();if(Zl(e))$l(e);else{var t=e[Cp],a=e[jp];if(!t&&!a)return Ce(oh,Up),void Le({source:oh,error:Up});la();var n={};if(t){var i={pageLoad:{}};n.execute=i}if(a){var r={views:[{}]};n.prefetch=r}var o=e[Gg];Ce(oh,Tg,n),Le({source:oh,request:n});var s={request:n,timeout:o};We()&&!Ye()?$e().then(function(){Hr(s).then(Yl)["catch"](Wl)})["catch"](Wl):Hr(s).then(Yl)["catch"](Wl)}}function Xl(){var e={};return e[Ig]=!0,e}function ec(e){var t={};return t[Ig]=!1,t[yg]=e,t}function tc(e){return E(e)?ec(Wd):e.length>kd?ec(Yd):Xl()}function ac(e){if(!d(e))return ec(Ud);var t=tc(e[Cg]);return t[Ig]?c(e[Pg])?c(e[yg])?Xl():ec($d):ec(Kd):t}function nc(e){if(!d(e))return ec(Ud);var t=e.request;if(!d(t))return ec(zd);var a=t.execute,n=t.prefetch;return d(a)||d(n)?Xl():ec(Gd)}function ic(e){if(!d(e))return ec(Ud);var t=e.request;if(!d(t))return ec(zd);var a=t.execute,n=t.prefetch,i=t.notifications;return d(a)||d(n)?ec(Zd):mu(i)?Xl():ec(Qd)}function rc(e){if(!d(e))return ec(Ud);var t=tc(e[Cg]);if(!t[Ig])return t;var a=e[_g];return mu(a)?Xl():ec(Jd)}function oc(e){return d(e)?d(e.response)?Xl():ec(Bd):ec(Ud)}function sc(e){if(!d(e))return ec(Ud);var t=tc(e[Cg]);return t[Ig]?Xl():t}function lc(e){return{action:ld,url:e.content}}function cc(e){var t={};return t.action=$u,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function uc(e){var t={};return t.action=Ju,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function dc(e){var t={};return t.action=fd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function gc(e){var t={};return t.action=vd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function pc(e){var t={};return t.action=bd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function fc(e){var t={};return t.action=dd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function mc(e){var t={};return t.action=gd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function vc(e){var t={};return t.action=sd,t.content=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function hc(e){var t=p(e.content)[0],a={};return a.action=ed,a.attribute=t,a.value=e.content[t],a.selector=e.selector,a.cssSelector=e.cssSelector,a}function bc(e){var t={};return t.action=ed,t.attribute=Ad,t.value=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function yc(e){var t={};return t.action=ad,t.style=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function wc(e){var t={};return t.action=ad,t.style=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Dc(e){var t={};return t.action=ad,t.style=e.content,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Ic(e){var t={};return t.action=od,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function Pc(e){var t={};return t.action=nd,t.from=e.content.from,t.to=e.content.to,t.selector=e.selector,t.cssSelector=e.cssSelector,t}function kc(e){var t=[];return y(function(e){switch(e.type){case Ku:t.push(cc(e));break;case Ju:t.push(uc(e));break;case pd:t.push(dc(e));break;case md:t.push(gc(e));break;case hd:t.push(pc(e));break;case dd:t.push(fc(e));break;case gd:t.push(mc(e));break;case sd:t.push(vc(e));break;case ed:t.push(hc(e));break;case td:t.push(bc(e));break;case ad:t.push(yc(e));break;case id:t.push(wc(e));break;case rd:t.push(Dc(e));break;case od:t.push(Ic(e));break;case nd:t.push(Pc(e));break;case ld:t.push(lc(e))}},e),t}function jc(e){if(S(e))return[];var t=[];return y(function(e){e.type===xd&&(nv(e)?t.push({action:cd,selector:e.selector,clickTrackId:e.eventToken}):t.push({action:ud,clickTrackId:e.eventToken}))},e),t}function Cc(e){if(S(e))return[];var t=[],a=[],n=[],i=e.options,r=void 0===i?[]:i,o=e.metrics,s=void 0===o?[]:o;y(function(e){switch(e.type){case _d:t.push(e.content);break;case Cd:a.push(e.content);break;case ld:n.push(lc(e));break;case Eg:n.push.apply(n,kc(e.content))}},r),S(t)||n.push({action:$u,content:t.join("")}),S(a)||n.push({action:Xu,content:a});var l=jc(s);return S(l)||n.push.apply(n,l),n}function _c(e){var t=e.execute,a=void 0===t?{}:t,n=a.pageLoad,i=void 0===n?{}:n,r=a.mboxes,o=void 0===r?[]:r,s=[];return s.push.apply(s,Cc(i)),s.push.apply(s,h(R(Cc,o))),s}function Vc(e,t){var a=_c(t);e[Pg](a)}function Sc(e,t){var a=t[Sg]||Dg;e[yg](a,t)}function Ac(t){var e=ac(t),a=e[yg];if(!e[Ig])return je(sh,a),void Le({source:sh,options:t,error:a});if(!ye())return o(t[yg](wg,qd)),je(sh,qd),void Le({source:sh,options:t,error:qd});var n=function n(e){return Vc(t,e)},i=function i(e){return Sc(t,e)};Ce(sh,t),Le({source:sh,options:t}),We()&&!Ye()?$e().then(function(){qr(t).then(n)["catch"](i)}):qr(t).then(n)["catch"](i)}function Ec(e){var t=nc(e),a=t[yg];return t[Ig]?ye()?(Ce(lh,e),Le({source:lh,options:e}),!We()||Ye()?Hr(e):$e().then(function(){return Hr(e)})):(je(lh,qd),Le({source:lh,options:e,error:qd}),qe(new Error(qd))):(je(lh,a),Le({source:lh,options:e,error:a}),qe(t))}function Lc(e){var t=Ul(e.selector),a=rc(e),n=a[yg];return a[Ig]?ye()?(e.selector=t,Ce(ch,e),Le({source:ch,options:e}),void Bl(e)):(je(ch,qd),Le({source:ch,options:e,error:qd}),void zl(t)):(je(ch,e,n),Le({source:ch,options:e,error:n}),void zl(t))}function xc(e){var t=Ul(e.selector),a=oc(e),n=a[yg];return a[Ig]?ye()?(e.selector=t,Ce(uh,e),Le({source:uh,options:e}),Gl(e)):(je(uh,qd),Le({source:uh,options:e,error:qd}),zl(t),qe(new Error(qd))):(je(uh,e,n),Le({source:uh,options:e,error:n}),zl(t),qe(a))}function Oc(e){var t=at()[Zg],a=e.consumerId,n=void 0===a?t:a,i=e.request,r=ic(e),o=r[yg];if(!r[Ig])return je(dh,o),void Le({source:dh,options:e,error:o});if(!ye())return je(dh,qd),void Le({source:dh,options:e,error:qd});Ce(dh,e),Le({source:dh,options:e});var s=ds(n,{},i.notifications);!We()||Ye()?vs(s):je(dh,Jp)}function Tc(e,t){var a=t[Cg],n=uu({},t),i=d(t.params)?t.params:{};return n[Ag]=uu({},nn(a),i),n[Gg]=ci(e,t[Gg]),n[Pg]=c(t[Pg])?t[Pg]:M,n[yg]=c(t[yg])?t[yg]:M,n}function Nc(e){var t=e[Fu],a=e[Wu];return xu(t)&&(xu(a)||O(a))}function Rc(e){var t=e.mbox,a=d(e.params)?e.params:{},n=uu({},nn(t),a),i=Np,r=ps(Xn({},n),i,[]);if(r.mbox={name:t},vs(ds(t,n,[r])))return Ce(fg,e),void e[Pg]();je(mg,e),e[yg](Dg,mg)}function Mc(e){if(We()&&!Ye())return je(mg,Jp),void e[yg](yg,Jp);Rc(e)}function Fc(e){return Mc(e),!e.preventDefault}function qc(e){var t=e[Wu],a=e[Fu],n=V(kt(t)),i=function i(){return Fc(e)};y(function(e){return es(a,i,e)},n)}function Hc(e){var t=sc(e),a=t[yg];if(!t[Ig])return je(gh,a),void Le({source:gh,options:e,error:a});var n=Tc(at(),e);if(!ye())return je(gh,qd),o(n[yg](wg,qd)),void Le({source:gh,options:e,error:qd});Ce(gh,n),Le({source:gh,options:n}),Nc(n)?qc(n):Mc(n)}function Uc(e){return Ks(e),tl(e).then(Ll).then(function(e){S(e)||ht({execution:e})})["catch"](function(e){je(Fp,e),bt({error:e})})}function zc(){for(;0<fh.length;){var e=fh.pop(),t=ls(e.viewName,e);f(t)||Uc(t)}}function Bc(){vh=mh,zc()}function Gc(){sl(nf,Bc),sl(rf,Bc),sl(of,Bc)}function Zc(e,t){var a={};return a.viewName=e,a.impressionId=B(),a.page=!0,S(t)||(a.page=!!t.page),a}function Qc(e){Tt(e),f(ls(e.viewName,e))&&e.page&&Ds(e),fh.push(e),vh===mh&&zc()}function Wc(e,t){if(!D(e)||E(e))return je(ph,Hp,e),void Le({source:ph,view:e,error:Hp});var a=e.toLowerCase(),n=Zc(a,t);Ce(ph,a,n),Le({source:ph,view:a,options:n}),Qc(n)}function Yc(){je(bh,arguments)}function Kc(){je(yh,arguments)}function $c(){je(wh,arguments)}function Jc(){je(Dh,arguments)}function Xc(e){var t=function t(){},a=function a(){return Fe()};e.adobe=e.adobe||{},e.adobe.target={VERSION:"",event:{},getOffer:t,getOffers:a,applyOffer:t,applyOffers:a,sendNotifications:t,trackEvent:t,triggerView:t,registerExtension:t,init:t},e.mboxCreate=t,e.mboxDefine=t,e.mboxUpdate=t}function eu(e,t,a){if(e.adobe&&e.adobe.target&&"undefined"!=typeof e.adobe.target.getOffer)je(Hd);else{$(a);var n=at(),i=n[Wg];if(e.adobe=e.adobe||{},e.adobe.target=e.adobe.target||{},e.adobe.target.VERSION=i,e.adobe.target.event={LIBRARY_LOADED:Vf,REQUEST_START:Sf,REQUEST_SUCCEEDED:Af,REQUEST_FAILED:Ef,CONTENT_RENDERING_START:Lf,CONTENT_RENDERING_SUCCEEDED:xf,CONTENT_RENDERING_FAILED:Of,CONTENT_RENDERING_NO_OFFERS:Tf,CONTENT_RENDERING_REDIRECT:Nf},!n[Hg])return Xc(e),void je(qd);Ae(),Rt(),Gt(e),e.adobe.target.getOffer=Ac,e.adobe.target.getOffers=Ec,e.adobe.target.applyOffer=Lc,e.adobe.target.applyOffers=xc,e.adobe.target.sendNotifications=Oc,e.adobe.target.trackEvent=Hc,e.adobe.target.triggerView=Wc,e.adobe.target.registerExtension=Yc,e.mboxCreate=Kc,e.mboxDefine=$c,e.mboxUpdate=Jc,gt()}}var tu,au,nu,iu,ru,ou,su,lu=a("@adobe/reactor-window"),cu=a("@adobe/reactor-document"),uu=n(a("@adobe/reactor-object-assign")),du=n(a("@adobe/reactor-cookie")),gu=n(a("@adobe/reactor-query-string")),pu=n(a("@adobe/reactor-promise")),fu=n(a("@adobe/reactor-load-script")),mu=Array.isArray,vu=Object.prototype.toString,hu="[object Function]",bu=function bu(e,t){return t.forEach(e)},yu=function yu(t,a){bu(function(e){return t(a[e],e)},p(a))},wu=function wu(e,t){return t.filter(e)},Du=function Du(a,e){var n={};return yu(function(e,t){a(e,t)&&(n[t]=e)},e),n},Iu="[object String]",Pu=9007199254740991,ku=function ku(e,t){return t.map(e)},ju=Object.prototype.hasOwnProperty,Cu=String.prototype.trim,_u="[object Object]",Vu=Function.prototype,Su=Object.prototype,Au=Vu.toString,Eu=Su.hasOwnProperty,Lu=Au.call(Object),xu=function xu(e){return!E(e)},Ou="[object Number]",Tu=function Tu(a,e){var n={};return yu(function(e,t){n[t]=a(e,t)},e),n},Nu=function Nu(e,t,a){return a.reduce(e,t)},Ru=function Ru(a,e,t){var n=e;return yu(function(e,t){n=a(n,e,t)},t),n},Mu=Array.prototype.reverse,Fu="type",qu="content",Hu="height",Uu="width",zu="left",Bu="top",Gu="from",Zu="to",Qu="priority",Wu="selector",Yu="cssSelector",Ku="setHtml",$u="setContent",Ju="setText",Xu="setJson",ed="setAttribute",td="setImageSource",ad="setStyle",nd="rearrange",id="resize",rd="move",od="remove",sd="customCode",ld="redirect",cd="trackClick",ud="signalClick",dd="insertBefore",gd="insertAfter",pd="appendHtml",fd="appendContent",md="prependHtml",vd="prependContent",hd="replaceHtml",bd="replaceContent",yd="mboxDebug",wd="mboxDisable",Dd="mboxEdit",Id="at_check",Pd="true",kd=250,jd="data-at-src",Cd="json",_d="html",Vd="dynamic",Sd="script",Ad="src",Ed="id",Ld="class",xd="click",Od="head",Td="script",Nd="style",Rd="link",Md="img",Fd="div",qd='Adobe Target content delivery is disabled. Ensure that you can save cookies to your current domain, there is no "mboxDisable" cookie and there is no "mboxDisable" parameter in query string.',Hd="Adobe Target has already been initialized.",Ud="options argument is required",zd="request option is required",Bd="response option is required",Gd="execute or prefetch is required",Zd="execute or prefetch is not allowed",Qd="notifications are required",Wd="mbox option is required",Yd="mbox option is too long",Kd="success option is required",$d="error option is required",Jd="offer option is required",Xd="Unexpected error",eg="request failed",tg="request succeeded",ag="Action rendered successfully",ng="Rendering action",ig="Action has no content",rg="Action has no attributes",og="Action has no CSS properties",sg="Action has no height or width",lg="Action has no left, top or position",cg="Action has no from or to",ug="Action has no url",dg="Action has no image url",gg="Rearrange elements are missing",pg="Loading image",fg="Track event request succeeded",mg="Track event request failed",vg="No actions to be rendered",hg="Redirect action",bg="Script load",yg="error",wg="warning",Dg="unknown",Ig="valid",Pg="success",kg="render",jg="metric",Cg="mbox",_g="offer",Vg="name",Sg="status",Ag="params",Eg="actions",Lg="responseTokens",xg="data",Og="response",Tg="request",Ng="provider",Rg="pageLoad",Mg="at-flicker-control",Fg="at-element-marker",qg="at-element-click-tracking",Hg="enabled",Ug="clientCode",zg="imsOrgId",Bg="serverDomain",Gg="timeout",Zg="globalMboxName",Qg="globalMboxAutoCreate",Wg="version",Yg="defaultContentHiddenStyle",Kg="bodyHiddenStyle",$g="bodyHidingEnabled",Jg="deviceIdLifetime",Xg="sessionIdLifetime",ep="selectorsPollingTimeout",tp="visitorApiTimeout",ap="overrideMboxEdgeServer",np="overrideMboxEdgeServerTimeout",ip="optoutEnabled",rp="secureOnly",op="supplementalDataIdParamTimeout",sp="authoringScriptUrl",lp="scheme",cp="cookieDomain",up="mboxParams",dp="globalMboxParams",gp="mboxSession",pp="PC",fp="mboxEdgeCluster",mp="session",vp="Traces",hp="settings",bp="client"+vp,yp="server"+vp,wp="___target_traces",Dp="targetGlobalSettings",Ip="dataProvider",Pp=Ip+"s",kp="endpoint",jp="viewsEnabled",Cp="pageLoadEnabled",_p="authState",Vp="authenticatedState",Sp="integrationCode",Ap="page",Ep="view",Lp="views",xp="options",Op="metrics",Tp="viewName",Np="display",Rp="Content-Type",Mp="text/plain",Fp="View rendering failed",qp="View delivery error",Hp="View name should be a non-empty string",Up="Page load disabled",zp="Using server state",Bp="adobe",Gp="optIn",Zp="isApproved",Qp="fetchPermissions",Wp="Categories",Yp="TARGET",Kp="ANALYTICS",$p="optinEnabled",Jp="Adobe Target is not opted in",Xp="analyticsLogging",ef="serverState",tf="cspScriptNonce",af="cspStyleNonce",nf="cache-updated-event",rf="no-offers-event",of="redirect-offer-event",sf="file:",lf=/^(?!0)(?!.*\.$)((1?\d?\d|25[0-5]|2[0-4]\d)(\.|$)){4}$/,cf=/^(com|edu|gov|net|mil|org|nom|co|name|info|biz)$/i,uf={},df=[Hg,Ug,zg,Bg,cp,Gg,up,dp,Yg,"defaultContentVisibleStyle",Jg,Kg,$g,ep,tp,ap,np,ip,$p,rp,op,sp,"urlSizeLimit",kp,Cp,jp,Xp,ef,tf,af,Zg],gf=function Ph(e,t){t=t||{};for(var n={key:["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],q:{name:"queryKey",parser:/(?:^|&)([^&=]*)=?([^&]*)/g},parser:{strict:/^(?:([^:\/?#]+):)?(?:\/\/((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?))?((((?:[^?#\/]*\/)*)([^?#]*))(?:\?([^#]*))?(?:#(.*))?)/,loose:/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?([^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/}},a=n.parser[t.strictMode?"strict":"loose"].exec(e),i={},r=14;r--;)i[n.key[r]]=a[r]||"";return i[n.q.name]={},i[n.key[12]].replace(n.q.parser,function(e,t,a){t&&(i[n.q.name][t]=a)}),i},pf=gu.parse,ff=gu.stringify,mf=cu.createElement("a"),vf={},hf=du.get,bf=du.set,yf=du.remove,wf="mbox",Df="AT:",If="1",Pf=(tu=window,function(d){function g(e){return e._zid||(e._zid=t++)}function o(e,t,a,n){if((t=p(t)).ns)var i=r(t.ns);return(P[g(e)]||[]).filter(function(e){return e&&(!t.e||e.e==t.e)&&(!t.ns||i.test(e.ns))&&(!a||g(e.fn)===g(a))&&(!n||e.sel==n)})}function p(e){var t=(""+e).split(".");return{e:t[0],ns:t.slice(1).sort().join(" ")}}function r(e){return new RegExp("(?:^| )"+e.replace(" "," .* ?")+"(?: |$)")}function f(e,t){return e.del&&!a&&e.e in n||!!t}function m(e){return k[e]||a&&n[e]||e}function v(r,e,t,o,s,l,c){var a=g(r),u=P[a]||(P[a]=[]);e.split(/\s/).forEach(function(e){if("ready"==e)return d(document).ready(t);var a=p(e);a.fn=t,a.sel=s,a.e in k&&(t=function i(e){var t=e.relatedTarget;if(!t||t!==this&&!d.contains(this,t))return a.fn.apply(this,arguments)});var n=(a.del=l)||t;a.proxy=function(e){if(!(e=b(e)).isImmediatePropagationStopped()){e.data=o;var t=n.apply(r,e._args==w?[e]:[e].concat(e._args));return!1===t&&(e.preventDefault(),e.stopPropagation()),t}},a.i=u.length,u.push(a),"addEventListener"in r&&r.addEventListener(m(a.e),a.proxy,f(a,c))})}function h(t,e,a,n,i){var r=g(t);(e||"").split(/\s/).forEach(function(e){o(t,e,a,n).forEach(function(e){delete P[r][e.i],"removeEventListener"in t&&t.removeEventListener(m(e.e),e.proxy,f(e,i))})})}function b(n,i){if(i||!n.isDefaultPrevented){i||(i=n),d.each(u,function(e,t){var a=i[e];n[e]=function(){return this[t]=l,a&&a.apply(i,arguments)},n[t]=j});try{n.timeStamp||(n.timeStamp=(new Date).getTime())}catch(e){}(i.defaultPrevented!==w?i.defaultPrevented:"returnValue"in i?!1===i.returnValue:i.getPreventDefault&&i.getPreventDefault())&&(n.isDefaultPrevented=l)}return n}function y(e){var t,a={originalEvent:e};for(t in e)c.test(t)||e[t]===w||(a[t]=e[t]);return b(a,e)}var w,t=1,D=Array.prototype.slice,i=d.isFunction,I=function I(e){return"string"==typeof e},P={},s={},a="onfocusin"in tu,n={focus:"focusin",blur:"focusout"},k={mouseenter:"mouseover",mouseleave:"mouseout"};s.click=s.mousedown=s.mouseup=s.mousemove="MouseEvents",d.event={add:v,remove:h},d.proxy=function(e,t){var a=2 in arguments&&D.call(arguments,2);if(i(e)){var n=function n(){return e.apply(t,a?a.concat(D.call(arguments)):arguments)};return n._zid=g(e),n}if(I(t))return a?(a.unshift(e[t],e),d.proxy.apply(null,a)):d.proxy(e[t],e);throw new TypeError("expected function")},d.fn.bind=function(e,t,a){return this.on(e,t,a)},d.fn.unbind=function(e,t){return this.off(e,t)},d.fn.one=function(e,t,a,n){return this.on(e,t,a,n,1)};var l=function l(){return!0},j=function j(){return!1},c=/^([A-Z]|returnValue$|layer[XY]$|webkitMovement[XY]$)/,u={preventDefault:"isDefaultPrevented",stopImmediatePropagation:"isImmediatePropagationStopped",stopPropagation:"isPropagationStopped"};d.fn.delegate=function(e,t,a){return this.on(t,e,a)},d.fn.undelegate=function(e,t,a){return this.off(t,e,a)},d.fn.live=function(e,t){return d(document.body).delegate(this.selector,e,t),this},d.fn.die=function(e,t){return d(document.body).undelegate(this.selector,e,t),this},d.fn.on=function(a,r,o,s,l){var c,u,n=this;return a&&!I(a)?(d.each(a,function(e,t){n.on(e,r,o,t,l)}),n):(I(r)||i(s)||!1===s||(s=o,o=r,r=w),s!==w&&!1!==o||(s=o,o=w),!1===s&&(s=j),n.each(function(e,n){l&&(c=function t(e){return h(n,e.type,s),s.apply(this,arguments)}),r&&(u=function i(e){var t,a=d(e.target).closest(r,n).get(0);if(a&&a!==n)return t=d.extend(y(e),{currentTarget:a,liveFired:n}),(c||s).apply(a,[t].concat(D.call(arguments,1)))}),v(n,a,s,o,r,u||c)}))},d.fn.off=function(e,a,t){var n=this;return e&&!I(e)?(d.each(e,function(e,t){n.off(e,a,t)}),n):(I(a)||i(t)||!1===t||(t=a,a=w),!1===t&&(t=j),n.each(function(){h(this,e,t,a)}))},d.fn.trigger=function(e,t){return(e=I(e)||d.isPlainObject(e)?d.Event(e):b(e))._args=t,this.each(function(){e.type in n&&"function"==typeof this[e.type]?this[e.type]():"dispatchEvent"in this?this.dispatchEvent(e):d(this).triggerHandler(e,t)})},d.fn.triggerHandler=function(a,n){var i,r;return this.each(function(e,t){(i=y(I(a)?d.Event(a):a))._args=n,i.target=t,d.each(o(t,a.type||a),function(e,t){if(r=t.proxy(i),i.isImmediatePropagationStopped())return!1})}),r},"focusin focusout focus blur load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error".split(" ").forEach(function(t){d.fn[t]=function(e){return 0 in arguments?this.bind(t,e):this.trigger(t)}}),d.Event=function(e,t){I(e)||(e=(t=e).type);var a=document.createEvent(s[e]||"Events"),n=!0;if(t)for(var i in t)"bubbles"==i?n=!!t[i]:a[i]=t[i];return a.initEvent(e,n,!0),b(a)}}(su=function(){function o(e){return null==e?String(e):Y[K.call(e)]||"object"}function s(e){return"function"==o(e)}function r(e){return null!=e&&e==e.window}function l(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function n(e){return"object"==o(e)}function c(e){return n(e)&&!r(e)&&Object.getPrototypeOf(e)==Object.prototype}function u(e){var t=!!e&&"length"in e&&e.length,a=C.type(e);return"function"!=a&&!r(e)&&("array"==a||0===t||"number"==typeof t&&0<t&&t-1 in e)}function i(e){return L.call(e,function(e){return null!=e})}function d(e){return 0<e.length?C.fn.concat.apply([],e):e}function g(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function a(e){return e in t?t[e]:t[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function p(e,t){return"number"!=typeof t||N[g(e)]?t:t+"px"}function e(e){var t,a;return T[e]||(t=O.createElement(e),O.body.appendChild(t),a=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==a&&(a="block"),T[e]=a),T[e]}function f(e){return"children"in e?x.call(e.children):C.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function m(e,t){var a,n=e?e.length:0;for(a=0;a<n;a++)this[a]=e[a];this.length=n,this.selector=t||""}function v(e,t,a){for(j in t)a&&(c(t[j])||ee(t[j]))?(c(t[j])&&!c(e[j])&&(e[j]={}),ee(t[j])&&!ee(e[j])&&(e[j]=[]),v(e[j],t[j],a)):t[j]!==k&&(e[j]=t[j])}function h(e,t){return null==t?C(e):C(e).filter(t)}function b(e,t,a,n){return s(t)?t.call(e,a,n):t}function y(e,t,a){null==a?e.removeAttribute(t):e.setAttribute(t,a)}function w(e,t){var a=e.className||"",n=a&&a.baseVal!==k;if(t===k)return n?a.baseVal:a;n?a.baseVal=t:e.className=t}function D(e){try{return e?"true"==e||"false"!=e&&("null"==e?null:+e+""==e?+e:/^[\[\{]/.test(e)?C.parseJSON(e):e):e}catch(t){return e}}function I(e,t){t(e);for(var a=0,n=e.childNodes.length;a<n;a++)I(e.childNodes[a],t)}function P(e,t,a){var n=e.getElementsByTagName("script")[0];if(n){var i=n.parentNode;if(i){var r=e.createElement("script");r.innerHTML=t,xu(a)&&r.setAttribute("nonce",a),i.appendChild(r),i.removeChild(r)}}}var k,j,C,_,V,S,A=[],E=A.concat,L=A.filter,x=A.slice,O=tu.document,T={},t={},N={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},R=/^\s*<(\w+|!)[^>]*>/,M=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,q=/^(?:body|html)$/i,H=/([A-Z])/g,U=["val","css","html","text","data","width","height","offset"],z=["after","prepend","before","append"],B=O.createElement("table"),G=O.createElement("tr"),Z={tr:O.createElement("tbody"),tbody:B,thead:B,tfoot:B,td:G,th:G,"*":O.createElement("div")},Q=/complete|loaded|interactive/,W=/^[\w-]*$/,Y={},K=Y.toString,$={},J=O.createElement("div"),X={tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},ee=Array.isArray||function(e){return e instanceof Array};return $.matches=function(e,t){if(!t||!e||1!==e.nodeType)return!1;var a=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.matchesSelector;if(a)return a.call(e,t);var n,i=e.parentNode,r=!i;return r&&(i=J).appendChild(e),n=~$.qsa(i,t).indexOf(e),r&&J.removeChild(e),n},V=function V(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},S=function S(a){return L.call(a,function(e,t){return a.indexOf(e)==t})},$.fragment=function(e,t,a){var n,i,r;return M.test(e)&&(n=C(O.createElement(RegExp.$1))),n||(e.replace&&(e=e.replace(F,"<$1></$2>")),t===k&&(t=R.test(e)&&RegExp.$1),t in Z||(t="*"),(r=Z[t]).innerHTML=""+e,n=C.each(x.call(r.childNodes),function(){r.removeChild(this)})),c(a)&&(i=C(n),C.each(a,function(e,t){-1<U.indexOf(e)?i[e](t):i.attr(e,t)})),n},$.Z=function(e,t){return new m(e,t)},$.isZ=function(e){return e instanceof $.Z},$.init=function(e,t){var a;if(!e)return $.Z();if("string"==typeof e)if("<"==(e=e.trim())[0]&&R.test(e))a=$.fragment(e,RegExp.$1,t),e=null;else{if(t!==k)return C(t).find(e);a=$.qsa(O,e)}else{if(s(e))return C(O).ready(e);if($.isZ(e))return e;if(ee(e))a=i(e);else if(n(e))a=[e],e=null;else if(R.test(e))a=$.fragment(e.trim(),RegExp.$1,t),e=null;else{if(t!==k)return C(t).find(e);a=$.qsa(O,e)}}return $.Z(a,e)},(C=function C(e,t){return $.init(e,t)}).extend=function(t){var a,e=x.call(arguments,1);return"boolean"==typeof t&&(a=t,t=e.shift()),e.forEach(function(e){v(t,e,a)}),t},$.qsa=function(e,t){var a,n="#"==t[0],i=!n&&"."==t[0],r=n||i?t.slice(1):t,o=W.test(r);return e.getElementById&&o&&n?(a=e.getElementById(r))?[a]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:x.call(o&&!n&&e.getElementsByClassName?i?e.getElementsByClassName(r):e.getElementsByTagName(t):e.querySelectorAll(t))},C.contains=O.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},C.type=o,C.isFunction=s,C.isWindow=r,C.isArray=ee,C.isPlainObject=c,C.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},C.isNumeric=function(e){var t=Number(e),a=tt(e);return null!=e&&"boolean"!=a&&("string"!=a||e.length)&&!isNaN(t)&&isFinite(t)||!1},C.inArray=function(e,t,a){return A.indexOf.call(t,e,a)},C.camelCase=V,C.trim=function(e){return null==e?"":String.prototype.trim.call(e)},C.uuid=0,C.support={},C.expr={},C.noop=function(){},C.map=function(e,t){var a,n,i,r=[];if(u(e))for(n=0;n<e.length;n++)null!=(a=t(e[n],n))&&r.push(a);else for(i in e)null!=(a=t(e[i],i))&&r.push(a);return d(r)},C.each=function(e,t){var a,n;if(u(e)){for(a=0;a<e.length;a++)if(!1===t.call(e[a],a,e[a]))return e}else for(n in e)if(!1===t.call(e[n],n,e[n]))return e;return e},C.grep=function(e,t){return L.call(e,t)},tu.JSON&&(C.parseJSON=JSON.parse),C.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){Y["[object "+t+"]"]=t.toLowerCase()}),C.fn={constructor:$.Z,length:0,forEach:A.forEach,reduce:A.reduce,push:A.push,sort:A.sort,splice:A.splice,indexOf:A.indexOf,concat:function te(){var e,t,a=[];for(e=0;e<arguments.length;e++)t=arguments[e],a[e]=$.isZ(t)?t.toArray():t;return E.apply($.isZ(this)?this.toArray():this,a)},map:function ae(a){return C(C.map(this,function(e,t){return a.call(e,t,e)}))},slice:function ne(){return C(x.apply(this,arguments))},ready:function ie(e){return Q.test(O.readyState)&&O.body?e(C):O.addEventListener("DOMContentLoaded",function(){e(C)},!1),this},get:function re(e){return e===k?x.call(this):this[0<=e?e:e+this.length]},toArray:function oe(){return this.get()},size:function se(){return this.length},remove:function le(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function ce(e){for(var t,a=this.length,n=0;n<a&&(t=this[n],!1!==e.call(t,n,t));)n++;return this},filter:function ue(t){return s(t)?this.not(this.not(t)):C(L.call(this,function(e){return $.matches(e,t)}))},add:function de(e,t){return C(S(this.concat(C(e,t))))},is:function ge(e){return 0<this.length&&$.matches(this[0],e)},not:function pe(t){var a=[];if(s(t)&&t.call!==k)this.each(function(e){t.call(this,e)||a.push(this)});else{var n="string"==typeof t?this.filter(t):u(t)&&s(t.item)?x.call(t):C(t);this.forEach(function(e){n.indexOf(e)<0&&a.push(e)})}return C(a)},has:function fe(e){return this.filter(function(){return n(e)?C.contains(this,e):C(this).find(e).size()})},eq:function me(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function ve(){var e=this[0];return e&&!n(e)?e:C(e)},last:function he(){var e=this[this.length-1];return e&&!n(e)?e:C(e)},find:function be(e){var a=this;return e?"object"==tt(e)?C(e).filter(function(){var t=this;return A.some.call(a,function(e){return C.contains(e,t)})}):1==this.length?C($.qsa(this[0],e)):this.map(function(){return $.qsa(this,e)}):C()},closest:function ye(a,n){var i=[],r="object"==tt(a)&&C(a);return this.each(function(e,t){for(;t&&!(r?0<=r.indexOf(t):$.matches(t,a));)t=t!==n&&!l(t)&&t.parentNode;t&&i.indexOf(t)<0&&i.push(t)}),C(i)},parents:function we(e){for(var t=[],a=this;0<a.length;)a=C.map(a,function(e){if((e=e.parentNode)&&!l(e)&&t.indexOf(e)<0)return t.push(e),e});return h(t,e)},parent:function De(e){return h(S(this.pluck("parentNode")),e)},children:function Ie(e){return h(this.map(function(){return f(this)}),e)},contents:function Pe(){return this.map(function(){return this.contentDocument||x.call(this.childNodes)})},siblings:function ke(e){return h(this.map(function(e,t){return L.call(f(t.parentNode),function(e){return e!==t})}),e)},empty:function je(){return this.each(function(){this.innerHTML=""})},pluck:function Ce(t){return C.map(this,function(e){return e[t]})},show:function _e(){return this.each(function(){"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=e(this.nodeName))})},replaceWith:function Ve(e){return this.before(e).remove()},wrap:function Se(t){var a=s(t);if(this[0]&&!a)var n=C(t).get(0),i=n.parentNode||1<this.length;return this.each(function(e){C(this).wrapAll(a?t.call(this,e):i?n.cloneNode(!0):n)})},wrapAll:function Ae(e){if(this[0]){var t;for(C(this[0]).before(e=C(e));(t=e.children()).length;)e=t.first();C(e).append(this)}return this},wrapInner:function Ee(i){var r=s(i);return this.each(function(e){var t=C(this),a=t.contents(),n=r?i.call(this,e):i;a.length?a.wrapAll(n):t.append(n)})},unwrap:function Le(){return this.parent().each(function(){C(this).replaceWith(C(this).children())}),this},clone:function xe(){return this.map(function(){return this.cloneNode(!0)})},hide:function Oe(){return this.css("display","none")},toggle:function Te(t){return this.each(function(){var e=C(this);(t===k?"none"==e.css("display"):t)?e.show():e.hide()})},prev:function Ne(e){return C(this.pluck("previousElementSibling")).filter(e||"*")},next:function Re(e){return C(this.pluck("nextElementSibling")).filter(e||"*")},html:function Me(a){return 0 in arguments?this.each(function(e){var t=this.innerHTML;C(this).empty().append(b(this,a,e,t))}):0 in this?this[0].innerHTML:null},text:function Fe(a){return 0 in arguments?this.each(function(e){var t=b(this,a,e,this.textContent);this.textContent=null==t?"":""+t}):0 in this?this.pluck("textContent").join(""):null},attr:function qe(t,a){var e;return"string"!=typeof t||1 in arguments?this.each(function(e){if(1===this.nodeType)if(n(t))for(j in t)y(this,j,t[j]);else y(this,t,b(this,a,e,this.getAttribute(t)))}):0 in this&&1==this[0].nodeType&&null!=(e=this[0].getAttribute(t))?e:k},removeAttr:function He(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){y(this,e)},this)})},prop:function Ue(t,a){return t=X[t]||t,1 in arguments?this.each(function(e){this[t]=b(this,a,e,this[t])}):this[0]&&this[0][t]},removeProp:function ze(e){return e=X[e]||e,this.each(function(){delete this[e]})},data:function e(t,a){var n="data-"+t.replace(H,"-$1").toLowerCase(),e=1 in arguments?this.attr(n,a):this.attr(n);return null!==e?D(e):k},val:function Be(t){return 0 in arguments?(null==t&&(t=""),this.each(function(e){this.value=b(this,t,e,this.value)})):this[0]&&(this[0].multiple?C(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function Ge(r){if(r)return this.each(function(e){var t=C(this),a=b(this,r,e,t.offset()),n=t.offsetParent().offset(),i={top:a.top-n.top,left:a.left-n.left};"static"==t.css("position")&&(i.position="relative"),t.css(i)});if(!this.length)return null;if(O.documentElement!==this[0]&&!C.contains(O.documentElement,this[0]))return{top:0,left:0};var e=this[0].getBoundingClientRect();return{left:e.left+tu.pageXOffset,top:e.top+tu.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function e(t,a){if(arguments.length<2){var n=this[0];if("string"==typeof t){if(!n)return;return n.style[V(t)]||getComputedStyle(n,"").getPropertyValue(t)}if(ee(t)){if(!n)return;var i={},r=getComputedStyle(n,"");return C.each(t,function(e,t){i[t]=n.style[V(t)]||r.getPropertyValue(t)}),i}}var e="";if("string"==o(t))a||0===a?e=g(t)+":"+p(t,a):this.each(function(){this.style.removeProperty(g(t))});else for(j in t)t[j]||0===t[j]?e+=g(j)+":"+p(j,t[j])+";":this.each(function(){this.style.removeProperty(g(j))});return this.each(function(){this.style.cssText+=";"+e})},index:function Ze(e){return e?this.indexOf(C(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function Qe(e){return!!e&&A.some.call(this,function(e){return this.test(w(e))},a(e))},addClass:function We(a){return a?this.each(function(e){if("className"in this){_=[];var t=w(this);b(this,a,e,t).split(/\s+/g).forEach(function(e){C(this).hasClass(e)||_.push(e)},this),_.length&&w(this,t+(t?" ":"")+_.join(" "))}}):this},removeClass:function Ye(t){return this.each(function(e){if("className"in this){if(t===k)return w(this,"");_=w(this),b(this,t,e,_).split(/\s+/g).forEach(function(e){_=_.replace(a(e)," ")}),w(this,_.trim())}})},toggleClass:function Ke(a,n){return a?this.each(function(e){var t=C(this);b(this,a,e,w(this)).split(/\s+/g).forEach(function(e){(n===k?!t.hasClass(e):n)?t.addClass(e):t.removeClass(e)})}):this},scrollTop:function $e(e){if(this.length){var t="scrollTop"in this[0];return e===k?t?this[0].scrollTop:this[0].pageYOffset:this.each(t?function(){this.scrollTop=e}:function(){this.scrollTo(this.scrollX,e)})}},scrollLeft:function Je(e){if(this.length){
var t="scrollLeft"in this[0];return e===k?t?this[0].scrollLeft:this[0].pageXOffset:this.each(t?function(){this.scrollLeft=e}:function(){this.scrollTo(e,this.scrollY)})}},position:function Xe(){if(this.length){var e=this[0],t=this.offsetParent(),a=this.offset(),n=q.test(t[0].nodeName)?{top:0,left:0}:t.offset();return a.top-=parseFloat(C(e).css("margin-top"))||0,a.left-=parseFloat(C(e).css("margin-left"))||0,n.top+=parseFloat(C(t[0]).css("border-top-width"))||0,n.left+=parseFloat(C(t[0]).css("border-left-width"))||0,{top:a.top-n.top,left:a.left-n.left}}},offsetParent:function et(){return this.map(function(){for(var e=this.offsetParent||O.body;e&&!q.test(e.nodeName)&&"static"==C(e).css("position");)e=e.offsetParent;return e})}},C.fn.detach=C.fn.remove,["width","height"].forEach(function(n){var i=n.replace(/./,function(e){return e[0].toUpperCase()});C.fn[n]=function(t){var e,a=this[0];return t===k?r(a)?a["inner"+i]:l(a)?a.documentElement["scroll"+i]:(e=this.offset())&&e[n]:this.each(function(e){(a=C(this)).css(n,b(this,t,e,a[n]()))})}}),z.forEach(function(t,u){var d=u%2;C.fn[t]=function(){var a,s,l=C.map(arguments,function(e){var t=[];return"array"==(a=o(e))?(e.forEach(function(e){return e.nodeType!==k?t.push(e):C.zepto.isZ(e)?t=t.concat(e.get()):void(t=t.concat($.fragment(e)))}),t):"object"==a||null==e?e:$.fragment(e)}),c=1<this.length;return l.length<1?this:this.each(function(e,t){s=d?t:t.parentNode,t=0==u?t.nextSibling:1==u?t.firstChild:2==u?t:null;var a=C.contains(O.documentElement,s),n=/^(text|application)\/(javascript|ecmascript)$/,i=at(),r=i[tf],o=i[af];l.forEach(function(e){if(c)e=e.cloneNode(!0);else if(!s)return C(e).remove();xu(r)&&"SCRIPT"===e.tagName&&e.setAttribute("nonce",r),xu(o)&&"STYLE"===e.tagName&&e.setAttribute("nonce",o),s.insertBefore(e,t),a&&I(e,function(e){null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&!n.test(e.type.toLowerCase())||e.src||P(O,e.innerHTML,e.nonce)})})})},C.fn[d?t+"To":"insert"+(u?"Before":"After")]=function(e){return C(e)[t](this),this}}),$.Z.prototype=m.prototype=C.fn,$.uniq=S,$.deserializeValue=D,C.zepto=$,C}()),function(){try{getComputedStyle(undefined)}catch(e){var a=getComputedStyle;tu.getComputedStyle=function(e,t){try{return a(e,t)}catch(mwa){return null}}}}(),nu=(au=su).zepto,iu=nu.qsa,ru=/^\s*>/,ou="Zepto"+ +new Date,nu.qsa=function(e,t){var a,n,i=t;try{i?ru.test(i)&&(n=au(e).addClass(ou),i="."+ou+" "+i):i="*",a=iu(e,i)}catch(r){throw r}finally{n&&n.removeClass(ou)}return a},su),kf=lu.MutationObserver||lu.WebkitMutationObserver,jf="Expected an array of promises";pu._setImmediateFn&&Re();var Cf=B(),_f=/.*\.(\d+)_\d+/;lt(lu,cu);var Vf="at-library-loaded",Sf="at-request-start",Af="at-request-succeeded",Ef="at-request-failed",Lf="at-content-rendering-start",xf="at-content-rendering-succeeded",Of="at-content-rendering-failed",Tf="at-content-rendering-no-offers",Nf="at-content-rendering-redirect",Rf=":eq(",Mf=")",Ff=Rf.length,qf=/((\.|#)(-)?\d{1})/g,Hf="Unable to load target-vec.js",Uf="Loading target-vec.js",zf="_AT",Bf="clickHandlerForExperienceEditor",Gf="currentView",Zf="at_qa_mode",Qf="at_preview_token",Wf="at_preview_index",Yf="at_preview_listed_activities_only",Kf="at_preview_evaluate_as_true_audience_ids",$f="at_preview_evaluate_as_false_audience_ids",Jf="_",Xf=function Xf(e){return!f(e)},em="at-",tm="at-body-style",am="#"+tm,nm=em+"views",im="Disabled due to optout",rm="MCAAMB",om="MCAAMLH",sm="MCMID",lm="MCOPTOUT",cm="getSupplementalDataID",um="getCustomerIDs",dm="trackingServer",gm=dm+"Secure",pm="Visitor",fm="getInstance",mm="isAllowed",vm="Visitor API requests timed out",hm="Visitor API requests error",bm={},ym="Data provider",wm="timed out",Dm=2e3,Im="authorization",Pm="mboxDebugTools",km=rn(),jm="profile.",Cm="mbox3rdPartyId",_m="at_property",Vm="orderId",Sm="orderTotal",Am="productPurchasedId",Em="productId",Lm="categoryId",xm="POST",Om="Network request failed",Tm="Request timed out",Nm="Malformed response JSON",Rm="web",Mm="mboxedge",Fm=".tt.omtrdc.net",qm=function qm(e){return!S(e)},Hm=function Hm(t){return function(e){return e[t]}},Um=function Um(t){return function(e){return!t(e)}},zm=Um(f),Bm=function Bm(t){return function(e){return m(t,e)}},Gm=function Gm(e){return e.status===yg},Zm=function Zm(e){return e.type===Eg},Qm=function Qm(e){return e.type===ld},Wm=Bm(zm),Ym=Hm(xp),Km=Hm(qu),$m=Hm(Lg),Jm=function Jm(e){return xu(e.name)},Xm=function Xm(e){return!f(e.index)},ev=function ev(e){return d(e)&&Jm(e)},tv=function tv(e){return d(e)&&Jm(e)&&Xm(e)},av=function av(e){return d(e)&&Jm(e)},nv=function nv(e){return xu(e.selector)},iv=Hm(xg),rv=b([iv,zm]),ov="adobe_mc_sdid",sv="Network request failed",lv="Request timed out",cv="URL is required",uv="GET",dv="POST",gv="method",pv="url",fv="headers",mv="data",vv="credentials",hv="timeout",bv="async",yv=/CLKTRK#(\S+)/,wv=/CLKTRK#(\S+)\s/,Dv=function Xf(e){return!f(e)},Iv="visibilityState",Pv="visible",kv=100,jv=Td+","+Rd+","+Nd,Cv="at-action-key",_v="metric element not found",Vv="navigator",Sv="sendBeacon",Av="Beacon data sent",Ev="Beacon data sent failed",Lv="View triggered notification",xv="View rendered notification",Ov="Mboxes rendered notification",Tv="Event handler notification",Nv="Mbox event handler notification",Rv="View event handler notification",Mv="prefetchMboxes",Fv="rendered",qv="triggered",Hv={},Uv="pageLoadMetrics",zv="prefetchMetrics",Bv=Hm(Op),Gv=function Gv(){return pi(jg)},Zv=function Zv(e){return fi(jg,e)},Qv=Hm(qu),Wv=Hm(Yu),Yv=function Yv(e){return pi(kg,e)},Kv=function Kv(e){return fi(kg,e)},$v=function $v(e){return Um(Gm)(e)&&rv(e)};al.prototype={on:function(e,t,a){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:a}),this},once:function(e,t,a){function n(){i.off(e,n),t.apply(a,arguments)}var i=this;return n._=t,this.on(e,n,a)},emit:function(e){for(var t=[].slice.call(arguments,1),a=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=a.length;n<i;n++)a[n].fn.apply(a[n].ctx,t);return this},off:function(e,t){var a=this.e||(this.e={}),n=a[e],i=[];if(n&&t)for(var r=0,o=n.length;r<o;r++)n[r].fn!==t&&n[r].fn._!==t&&i.push(n[r]);return i.length?a[e]=i:delete a[e],this}};var Jv=al,Xv=al;Jv.TinyEmitter=Xv;var eh=nl(),th="Page load rendering failed",ah="Mboxes rendering failed",nh="View rendering failed",ih="Prefetch rendering failed",rh=function rh(e){return!S(m(Gm,e))},oh="[page-init]",sh="[getOffer()]",lh="[getOffers()]",ch="[applyOffer()]",uh="[applyOffers()]",dh="[sendNotifications()]",gh="[trackEvent()]",ph="[triggerView()]",fh=[],mh=1,vh=0;Gc();var hh="function has been deprecated. Please use getOffer() and applyOffer() functions instead.",bh="adobe.target.registerExtension() function has been deprecated. Please review the documentation for alternatives.",yh="mboxCreate() "+hh,wh="mboxDefine() "+hh,Dh="mboxUpdate() "+hh,Ih={init:eu,initConfig:$,initDelivery:Jl};e.exports=Ih}},"adobe-target-v2/lib/messages.js":{script:function(e){"use strict";e.exports={ALREADY_INITIALIZED:"AT: Adobe Target has already been initialized.",DELIVERY_DISABLED:"AT: Adobe Target content delivery is disabled. Update your DOCTYPE to support Standards mode.",NO_REQUEST:"AT: Target library is either not loaded or disabled, no request will be executed"}}},"adobe-target-v2/lib/modules/params-store.js":{script:function(e,t,a){"use strict";function o(e){return null!=e.value&&null!=e.checked}function n(i){var r={};return Object.keys(i).forEach(function(e){var t=i[e];if(o(t)){var a=t.checked,n=t.value;a&&""===n||(r[e]=n)}else r[e]=t}),r}function i(e){var t=n(e);c(u,t)}function r(e){var t=n(e);c(d,t)}function s(){return u}function l(){return d}var c=a("./object-override"),u={},d={};e.exports={mergeParams:i,mergePageLoadParams:r,getParams:s,getPageLoadParams:l}}},"adobe-target-v2/lib/modules/object-override.js":{script:function(e){"use strict";function n(e,t,a,n){t[a]!==n&&(e[a]=t[a])}function i(e){return!Array.isArray(this.subset)||-1!==this.subset.indexOf(e)}e.exports=function(t,a,e){Object.keys(a).filter(i,{subset:e}).forEach(function(e){n(t,a,e)})}}},"adobe-target-v2/lib/librarySettings.js":{script:function(e){"use strict";var t={version:"2.3.3"};e.exports={TARGET_DEFAULT_SETTINGS:t}}},"adobe-target-v2/lib/modules/page-load.js":{script:function(e,t,a){"use strict";var n=a("../librarySettings"),i=a("@adobe/reactor-window"),r=a("./object-override"),o=a("./params-store"),s=o.getParams,l=o.getPageLoadParams,c=a("../targetSettings").targetSettings;e.exports=function(e){return c.mboxParams=s(),c.globalMboxParams=l(),r(c,e,["bodyHidingEnabled","bodyHiddenStyle"]),r(c,i.targetGlobalSettings||{},["enabled","bodyHidingEnabled","bodyHiddenStyle"]),r(c,n.TARGET_DEFAULT_SETTINGS||{},["version"]),c}}}},settings:{targetSettings:{enabled:!0,timeout:3e3,version:"2.2.0",endpoint:"/rest/v1/delivery",imsOrgId:"CEE1F70B5936D5B30A495EA3@AdobeOrg",clientCode:"onemarketingazeu",secureOnly:!1,serverState:{},optinEnabled:!1,serverDomain:"onemarketingazeu.tt.omtrdc.net",urlSizeLimit:2048,viewsEnabled:!0,optoutEnabled:!1,bodyHiddenStyle:"body {opacity: 0}",pageLoadEnabled:!0,analyticsLogging:"server_side",deviceIdLifetime:632448e5,bodyHidingEnabled:!0,sessionIdLifetime:186e4,visitorApiTimeout:2e3,authoringScriptUrl:"//cdn.tt.omtrdc.net/cdn/target-vec.js",overrideMboxEdgeServer:!1,selectorsPollingTimeout:5e3,defaultContentHiddenStyle:"visibility: hidden;",defaultContentVisibleStyle:"visibility: visible;",overrideMboxEdgeServerTimeout:186e4,supplementalDataIdParamTimeout:30}},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP71d35eb3c08845a8b184c539ba8df0fa/"},"aa-product-string-search-discovery":{displayName:"AA Product String Builder",modules:{"aa-product-string-search-discovery/src/lib/actions/product_string_set_variables.js":{name:"aa-product-string-set-variables",displayName:"Set Variables",script:function(e,t,s,a){"use strict";var l={},n=function(e,t){this.settings=e,this.turbine=t,this.logger=t.logger,this.logger.table=i()},i=function(){var e=s("@adobe/reactor-window");if(e.console.table&&e.localStorage&&"true"===e.localStorage.getItem("com.adobe.reactor.debug"))return e.console.table};n.prototype={run:function(){var e,t=s("@adobe/reactor-promise");return this.isValid()&&(e=this.turbine.getSharedModule("adobe-analytics","get-tracker")().then(this.trackerCallback())),e||t.resolve},trackerCallback:function(){var o=this;return function(e){o.logger.log("Settings : ",o.settings);var t=s("../packages/adobe_analytics"),a=s("../packages/util"),n=o.settings.dataLayerRoot;l.logger=o.logger,l.products=o.buildProductMapping(l.products||{}),l.events=o.buildEventMapping(e.events||""),o.logger.log('tracker.events was "'+(e.events||"<not set>")+'"'),o.logger.log('tracker.products was "'+(e.products||"<not set>")+'"');var i=new t(l);if(e.products=i.buildProductStringPure(l.products,n),e.events=i.buildEventStringPure(l,n),e.linkTrackVars=o.appendString(e.linkTrackVars,"products"),e.linkTrackEvents=o.buildLinkTrackEvents(e.events),o.logger.log("Events Map",a.copy(l.events)),o.logger.log("tracker.events set to "+e.events),o.logger.log("Products Map",a.copy(l.products)),o.logger.table){var r=o.productStringTableLoggerLog(e.products,i);o.logger.table(r)}else o.logger.log("tracker.products set to "+e.products)}},appendString:function(e,t){var a=e.split(",");return a.push(t),a.join(",")},buildLinkTrackEvents:function(e){var t=[];return e.split(",").forEach(function(e){t.push(e.split("=")[0])}),t.join(",")},buildProductMapping:function(e){var t=this.getCategory();return e=this.setProductBase(e,t),e=this.setQuantity(e,t),e=this.setUnitPrice(e,t),e=this.setProductStringEvents(e,t),e=this.setProductStringEvars(e,t)},buildEventMapping:function(e){var n={};return e.split(",").forEach(function(e){if(e){var t=e.split("=")[0].trim(),a=e.split("=")[1];n[t]={},a&&(n[t]["static"]=a.trim())}}),n},setProductBase:function(e,t){return e[t]=e[t]||{attributes:{category:this.getCategoryAttributes(),product:{type:"string",position:"product",$id:this.getProductPath()}},collection:this.getProductCollectionPath()},e},setQuantity:function(e,t){return this.hasQuantity()&&(e[t].attributes.quantity=this.getQuantityAttributes()),e},setUnitPrice:function(e,t){return this.hasUnitPrice()&&(e[t].attributes.price=this.getUnitPriceAttributes()),e},setProductStringEvents:function(n,i){return this.settings.productStringEvents&&this.settings.productStringEvents.forEach(function(e){var t="/properties/"+e.eventPath.replace(/\./g,"/properties/"),a="string";e.isBooleanFlag&&(a="boolean"),n[i].attributes[e.eventId]={type:a,position:"events",$id:t}}),n},setProductStringEvars:function(a,n){return this.settings.productStringEvars&&this.settings.productStringEvars.forEach(function(e){var t="/properties/"+e.eVarPath.replace(/\./g,"/properties/");a[n].attributes[e.eVarId]={type:"string",position:"evars",$id:t}}),a},isValid:function(){return this.settings.productCollectionPath&&this.settings.productStringProductIdPath},getProductCollectionPath:function(){var e="";return""!=this.settings.productCollectionPath&&(e="/properties/"+this.settings.productCollectionPath.replace(/\./g,"/properties/")+"/items"),e},getProductPath:function(){var e="";return""!=this.settings.productStringProductIdPath&&this.settings.productStringProductIdSelected&&(e="/properties/"+this.settings.productStringProductIdPath.replace(/\./g,"/properties/")),e},hasCategory:function(){return this.settings.productStringCategorySelected&&""!=this.settings.productStringCategory},getCategory:function(){var e="__noCategory";return this.hasCategory()&&(e=this.settings.productStringCategory),e},getCategoryAttributes:function(){var e={position:"category"},t=this.hasCategory()&&"collection-item-static-text"===this.settings.productStringCategoryVariableType,a=this.hasCategory()&&"collection-item-path"===this.settings.productStringCategoryVariableType;return this.hasCategory()||(e["static"]=""),t&&(e["static"]=this.settings.productStringCategory),a&&(e.$id="/properties/"+this.settings.productStringCategory.replace(/\./g,"/properties/")),e},hasQuantity:function(){return this.settings.productStringQuantitySelected&&""!=this.settings.productStringQuantity},getQuantityAttributes:function(){var e={position:"quantity"},t=this.hasQuantity()&&"collection-item-static-text"===this.settings.productStringQuantityVariableType,a=this.hasQuantity()&&"collection-item-path"===this.settings.productStringQuantityVariableType;return t&&(e["static"]=this.settings.productStringQuantity),a&&(e.$id="/properties/"+this.settings.productStringQuantity.replace(/\./g,"/properties/")),e},hasUnitPrice:function(){return this.settings.productStringUnitPriceSelected&&""!=this.settings.productStringUnitPrice},getUnitPriceAttributes:function(){var e={position:"price"},t=this.hasUnitPrice()&&"collection-item-static-text"===this.settings.productStringUnitPriceVariableType,a=this.hasUnitPrice()&&"collection-item-path"===this.settings.productStringUnitPriceVariableType;return t&&(e["static"]=this.settings.productStringUnitPrice),a&&(e.$id="/properties/"+this.settings.productStringUnitPrice.replace(/\./g,"/properties/")),e},productStringTableLoggerLog:function(e,t){var a=[],n=this.productStringTableLoggerGetTableColumns(e,t),i=this;return e.split(",").forEach(function(e){var t=e.split(";");a.push(i.productStringTableLoggerBuildStanza(n,t[0],t[1],t[2],t[3],t[4],t[5]))}),a},productStringTableLoggerGetTableColumns:function(e,a){var n=["Category","Product","Qty","Price"],i={},r={};return e.split(",").forEach(function(e){var t=e.split(";");t[4]&&t[4].split("|").forEach(function(e){var t=e.split("=")[0];i[t]=!0}),Object.keys(i).sort(a._eventSortFn()).forEach(function(e){n.push(e)}),t[5]&&t[5].split("|").forEach(function(e){var t=e.split("=")[0];r[t]=!0})}),Object.keys(r).sort(a._evarSortFn()).forEach(function(e){n.push(e)}),n},productStringTableLoggerBuildStanza:function(e,t,a,n,i,r,o){var s={};return e.forEach(function(e){s[e]=null}),""!=t&&(s.Category=t),""!=a&&(s.Product=a),""!=n&&(s.Qty=n),""!=i&&(s.Price=i),r&&r.split("|").forEach(function(e){var t=e.split("="),a=t[0];s[a]=t[1]}),o&&o.split("|").forEach(function(e){var t=e.split("="),a=t[0];s[a]=t[1]}),s}},e.exports=function(e,t){return l=t||l,new n(e,a).run()}}},"aa-product-string-search-discovery/src/lib/packages/adobe_analytics.js":{script:function(e,t,a){var u=a("./util"),n=function(e){this.core=e,this.logger=e.logger};u.assign(n.prototype,{eventMapping:function(e){return(this.core.getDestinationMapping(e)||{}).launch_aa||{}},dataLayer:function(){return this.core.dataLayer.get().computedState},buildProductString:function(e){var t=this.eventMapping(e).products;return this.buildProductStringPure(t,this.dataLayer())},buildListString:function(e,t){var a=this.eventMapping(e),n=u.deepGetArray(a,["lists",t]),i="";return n&&n.collection?i=this.buildListStringPure(n,this.dataLayer()):this.logger.error("List not found for event/list:",e,"/",t),i},buildEventString:function(e){var t=this.eventMapping(e);return this.buildEventStringPure(t,this.dataLayer())},buildProductStringPure:function(e,t){var a=this._parseProducts(e,t);return this._generateProductString(a)},buildListStringPure:function(e,t){return u.deepGet(t,e.collection).join(e.list_delimiter)},buildEventStringPure:function(e,t){var a=this._findBaseEvents({},e.events,t);return a=this._findCoreEvents(a,e.core,t),a=this._findProductEvents(a,e.products,t),this._generateEventString(a)},_parseProducts:function(e,t){var a={};for(var n in e)for(var i=u.deepGet(t,e[n].collection),r=e[n].attributes,o=0;o<i.length;o++)for(var s in r){var l=r[s],c=u.dataLayerGet(i[o],l);switch(l.position){case"evars":a=this._setProductEvar(a,n,o,s,c);break;case"events":a=this._setProductEvent(a,n,o,s,c);break;default:"__noCategory"===n&&"category"===s&&(n=c=""),a=this._setProductStringCore(a,n,o,s,c)}}return a},_cleanse4ProductString:function(e){var t="";return"number"==typeof e&&(e+=""),"string"==typeof e?t=e.replace(/\|/g,"~").replace(/;/g,":").replace(/,/g,".").replace(/^\s+|\s+$/gm,""):this.logger.error("type error : cleanse4ProductString(inputString) called with :"+e),t},_evarSortFn:function(){var a=this;return function(e,t){return a._evarNum4sort(e)-a._evarNum4sort(t)}},_evarNum4sort:function(e){return parseInt(e.replace(/evar/i,""))},_eventSortFn:function(){var a=this;return function(e,t){return a._eventNum4sort(e)-a._eventNum4sort(t)}},_eventNum4sort:function(e){var t=0;return e.match(/event/)&&(t=10*parseInt(e.replace(/event/i,""))),{prodView:1,scAdd:2,scRemove:3,scOpen:4,scView:5,scCheckout:6,purchase:7}[e]||t},_setEvent:function(e,t,a){return e=u.copy(e),"boolean"==typeof a?e[t]=a?1:0:(a=this._toFloat(a),e[t]=null,"number"!=typeof a||isNaN(a)||(e[t]=a)),e},_toFloat:function(e){try{e=parseFloat(e)}catch(t){this.logger.error("Cannot parse non-numerical value: "+e)}return e},_setProductStringCore:function(e,t,a,n,i){return e=u.copy(e),0<=["category","product","quantity","price"].indexOf(n)?(i=this._cleanse4ProductString(i),e=u.deepSetArray(e,[t,a,n],i)):this.logger.error("AA_setProductStringCore : Invalid name, ",n),e},_setProductEvar:function(e,t,a,n,i){return e=u.copy(e),n.match(/e[Vv]ar[1-9][0-9]{0,2}/)?(n=n.replace(/v/,"V"),i=this._cleanse4ProductString(i),e=u.deepSetArray(e,[t,a,"eVars",n],i)):this.logger.error("AA_setProductEvar : Invalid eVar, "+n),e},_setProductEvent:function(e,t,a,n,i){return e=u.copy(e),i&&!isNaN(Number(i))&&0!=Number(i)?e=u.deepSetArray(e,[t,a,"events",n],Number(i)):("boolean"==typeof i||i&&!isNaN(Number(i)))&&(e=u.deepSetArray(e,[t,a,"events",n],i)),e},_generateEventString:function(e){var t=[];for(var a in e){var n=a+"";"undefined"!=typeof e[a]&&null!==e[a]&&(n=a+"="+e[a]),t.push(n)}return t.sort(this._eventSortFn()).join(",")},_generateProductString:function(e){var t=[];for(var a in e){var n=e[a];for(var i in n){var r=this._generateSingleProductString(n[i],i,a);t.push(r)}}return t.join(",")},_generateSingleProductString:function(e,t,a){var n=this._generateProductStringEvents(e.events),i=this._generateProductStringEVars(e.eVars);return[e.category||a,this._productPID(e.product,a,t),e.quantity||"",this._productCost(e.price,e.quantity),n.sort(this._eventSortFn()).join("|"),i.sort(this._evarSortFn()).join("|")].join(";")},_productCost:function(e,t){return(e||0)*(t||0)||""},_productPID:function(e,t,a){return e||t+"_"+a},_generateProductStringEvents:function(e){var t=[];for(var a in e)"boolean"==typeof e[a]?t.push(a+"="+(e[a]?1:0)):e[a]?t.push(a+"="+e[a]):t.push(a+"");return t},_generateProductStringEVars:function(e){var t=[];for(var a in e)"undefined"!=typeof e[a]&&t.push(a+"="+e[a]);return t},_findBaseEvents:function(e,t,a){for(var n in e=u.copy(e),t=t||{}){var i=u.dataLayerGet(a,t[n]);e=this._setEvent(e,n,i)}return e},_findCoreEvents:function(e,t,a){if(e=u.copy(e),t)for(var n in t)if(0==n.indexOf("event")){var i=u.dataLayerGet(a,t[n]);e=this._setEvent(e,n,i)}return e},_findProductEvents:function(e,t,a){for(var n in e=u.copy(e),t)for(var i=u.deepGet(a,t[n].collection),r=t[n].attributes,o=0;o<i.length;o++)for(var s in r)"events"===r[s].position&&(e=this._setEvent(e,s));return e}}),e.exports=n}},"aa-product-string-search-discovery/src/lib/packages/util.js":{script:function(e){var t=function(){};t.prototype.argumentsToArray=function(e){return 1===e.length?[e[0]]:Array.apply(null,e)},t.prototype.dataLayerGet=function(e,t,a){void 0===a&&(a=null);var n=a;return"undefined"!=typeof(t=t||{})["static"]?n=t["static"]:t.$id&&(n=this.deepGet(e,t.$id)),null===n&&(n=a),n},t.prototype.deepGet=function(e,t){return t=t.replace(/^\/properties\//,"").replace(/\/items$/,"").replace("/items/","/properties/0/"),this.deepGetArray(e,t.split("/properties/"))},t.prototype.deepGetArray=function(e,t){var a=e;if(0<t.length){var n=t[0];t=t.slice(1);var i=e[n];a=void 0===i?null:this.deepGetArray(i,t)}return a},t.prototype.deepSetArray=function(e,t,a){return this.deepSetArrayMutable(this.copy(e),t,a)},t.prototype.copy=function(e){return JSON.parse(JSON.stringify(e))},t.prototype.assign=function(){if(Object.assign)return Object.assign.apply(this,arguments);var e=this.argumentsToArray(arguments),a=e.shift();return a&&e.forEach(function(e){for(var t in e)e.hasOwnProperty(t)&&(a[t]=e[t])}),a},t.prototype.deepSetArrayMutable=function(e,t,a){if(1<t.length){var n=t[0];t=t.slice(1),e[n]=e[n]||{},e[n]=this.deepSetArray(e[n],t,a)}else 1===t.length&&(e[t[0]]=a);return e},e.exports=new t}}},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP7393def1e5144ffa80d6b4f7eb1d03fb/"},"medallia-for-adobe-launch":{displayName:"Medallia for Adobe Launch",modules:{},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EPe37063dc571c4c4fa3eca39d77569d3a/"},contentsquare:{displayName:"ContentSquare",modules:{"contentsquare/src/lib/actions/uxaInstallation.js":{name:"uxa-installation",displayName:"Main Tracking Tag installation",script:function(e,t,a,o){"use strict";e.exports=function(e){var n,i,r=o.getExtensionSettings();""!==e.setPathInput?(n=e.setPathInput,n+=window.location.hash.replace("#","?__")):n=window.location.pathname+window.location.hash.replace("#","?__"),i=""!==e.setQueryInput?e.setQueryInput:window.location.search,function(){window._uxa=window._uxa||[],window._uxa.push(["setPath",n]),window._uxa.push(["setQuery",i]);try{if(1<r.cvars.length)for(var e=1;e<r.cvars.length;e++)window._uxa.push(["setCustomVariable",e,r.cvars[e].key,r.cvars[e].value,3])}catch(a){}if("undefined"==typeof CS_CONF){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="//t.contentsquare.net/uxa/"+r.project_id+".js",document.getElementsByTagName("head")[0].appendChild(t)}else window._uxa.push(["trackPageview"])}()}}}},settings:{cvars:[null,{key:"VirtualPageName",value:"%digitalData.application.virtualPageName%"},{key:"PageName",value:"%digitalData.page.pageInfo.pageName%"}],project_id:"42016cc3d1e9b"},hostedLibFilesBaseUrl:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/hostedLibFiles/EP422b3954957342aea5487fba17135ea0/"}},company:{orgId:"CEE1F70B5936D5B30A495EA3@AdobeOrg"},property:{name:"AZCH",settings:{domains:["allianz.ch","elvia.ch","tarif.allianz.ch","service.allianz.ch","partner.allianz.ch","digitallab.allianz.ch","cap.ch","tarif.cap.ch","dev.aem.allianz.allianz-suisse.ch","abn-my.allianz.ch","waitforit.allianz.ch","www.allianz.ch","tarif.elvia.ch","bippesbrandao.de","allianzglobalinvestors-service.ch","allianzdriveincinema.ch","allianzcinema.ch","survey.allianz.ch","survey.elvia.ch"],undefinedVarsReturnEmpty:!0,ruleComponentSequencingEnabled:!1}},rules:[{id:"RL3acb7096136449bba684fcf2065e9476",name:"DCR: reise_pageView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"reise_pageView"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC0bee843cb2bf461db0fa175a3978b05f-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLb3ec416ae4c141239ef85a7bf946c73d",name:"2019 Campaign - FlexSaving - LP - Student",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/de/privatkunden/angebote/vorsorge-lebensversicherungen/sparen-anlegen/flex-saving.html",valueIsRegex:!1},{value:"https://www.allianz.ch/fr/clients-prives/offres/prevoyance-assurance-vie/epargne-placements/flex-saving.html"},{value:"https://www.allianz.ch/it/clienti-privati/offerte/previdenza-assicurazioni-vita/risparmio-investimento/flex-saving.html"}]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:".*student.*",valueIsRegex:!0}]}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"screen_view",options:[],accounts:{1562569218447:{label:"allia00d/allia006+standard",enabled:!0}},callback:null}}]},{id:"RL2afd4d6512464a34ac3423bd1f8358b5",name:"AA: ELVIA HR Offer",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/hausratversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-inventaire-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-casa",valueIsRegex:!0},{value:"/calculate-home-contents-insurance",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"offer"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event101;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="offer,event101",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event101"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hr_offer",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL5055de203254427ab4c8292eaca8557b",name:"[10] - Onetrust (frame & load bugfix)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:10}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!0,source:'var prefix = \'rules:onetrust fix::\';\nfunction launchLog(msg) {\n    if( typeof window.AZCH_library === \'object\' && typeof window.AZCH_library.log === \'object\' && typeof window.AZCH_library.log.launchLog === \'function\')\n        window.AZCH_library.log.launchLog(prefix,msg);\n}\n\n//NEW Hotfix for OneTrust V2 DataLayer Delayer\nif (typeof window.validateCookieConsent === "function" && \n    typeof window.getGDPRValues === "function") { \n    // safe to use the function\n    window.getGDPRValues();\n    if ( typeof window.gdprSetGlobalValues === "function") {\n      window.gdprSetGlobalValues();\n    }\n    window.validateCookieConsent();\n    window.validateCookieConsent = function(){launchLog("**make function bogus***");};\n    launchLog("Onetrust load fixed");\n    //console.log("============= Houston: We landed - one STEP for a Man !!!! ======");\n}else{\n    launchLog("**** Onetrust issue ****");\n    //console.log("============= Houston PROBLEM!!!! ======");\n}\n\n\nwindow.OptanonActiveGroups =  window.OptanonActiveGroups || ",1,"; //Fallback only strictly nessary\nwindow.OnetrustActiveGroups  = window.OptanonActiveGroups;\n\nif (typeof window.top !== "undefined"){\n    if (typeof window.top.OnetrustActiveGroups !== "undefined"){\n        window.OnetrustActiveGroups  = window.top.OnetrustActiveGroups; \n    }//---------------------------------------------------------\n}//-------------------------------------------------------------\n ',language:"javascript"}}]},{id:"RL8b7af0c3f0d742d98386186c39be61c6",name:"20190718 OutBrain Pixel",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:100}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"/de/geschaeftskunden/ratgeber.*",valueIsRegex:!0},{value:"/fr/clients-entreprises/guide-business.*",valueIsRegex:!0},{value:"/it/clienti-commerciali/guida-business.*",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"/** DO NOT MODIFY THIS CODE**/\n!function(_window, _document) {\nvar OB_ADV_ID='00bfb40b8188353359423c0bed9c8f555f';\nif (_window.obApi) { return; }\nvar api = _window.obApi = function() {api.dispatch ? api.dispatch.apply(api, arguments) : api.queue.push(arguments);};api.version = '1.0';api.loaded = true;api.marketerId = OB_ADV_ID;api.queue = [];var tag = _document.createElement('script');tag.async = true;tag.src = '//amplify.outbrain.com/cp/obtp.js';tag.type = 'text/javascript';var script = _document.getElementsByTagName('script')[0];script.parentNode.insertBefore(tag, script);}(window, document);\nobApi('track', 'PAGE_VIEW');",language:"javascript"}}]},{id:"RLa98a07d538ae4c50ba3b4e1d90e17f1a",name:"MedalliaDigital",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch","abn-my.allianz.ch","tarif.elvia.ch"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script type="text/javascript" src="https://nebula-cdn.kampyle.com/we/260536/onsite/embed.js" async></script>',language:"html"}}]},{id:"RLfc5c72fde9d544a4909d07b6803424ca",name:"AA: ELVIA MR Offer",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen",valueIsRegex:!0}},{
modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"offer",valueIsRegex:!0}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/motorradversicherung-berechnen/",valueIsRegex:!0},{value:"/calculer-assurance-moto/",valueIsRegex:!0},{value:"/calcolo-assicurazione-moto/",valueIsRegex:!0},{value:"/motorcycle-insurance-calculator/",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event101;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="offer,event101",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event101"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mr_offer",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL3d977a089f0046fea769d125d8aa3653",name:"DFA: AZCH_ELVIA_SV-Scout",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"elvia.ch/de_CH/ldp/schnauze-voll"}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"elvia006"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6774922"},type:{key:"type",value:"elvia0"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL640a0c8c767d42d4b68b0d3ee9f9cdea",name:"2019 - Campaign - Mut-Postcard - Form Start",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.formStart"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(e){return window.digitalData=window.digitalData||{},window.digitalData.form=window.digitalData.form||{},window.digitalData.form.stepName="0 - "+e.identifier,!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar57",type:"value",value:"allianz.ch/checks/mut/pc#PostCardCreator"},{name:"eVar58",type:"value",value:"%digitalData.form.stepName%"}],props:[{name:"prop1",type:"alias",value:"eVar1"},{name:"prop2",type:"alias",value:"eVar2"},{name:"prop13",type:"alias",value:"eVar13"},{name:"prop14",type:"alias",value:"eVar14"},{name:"prop35",type:"alias",value:"eVar35"},{name:"prop48",type:"alias",value:"eVar48"},{name:"prop36",type:"value",value:"%digitalData.user.tntId%%digitalData.user.tntId%"},{name:"prop37",type:"value",value:"%digitalData.user.4_factor_id%%digitalData.user.4_factor_id%"}],events:[{name:"event41"}],pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:","},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:","},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:","}],transactionID:"%digitalData.transaction.uniqueTransactionId%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form_event",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLa672883023934311b065484c9ba16282",name:"AA: ELVIA PH StartQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Angaben"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haftpflichtversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-responsabilite-civile",valueIsRegex:!0},{value:"/calcolo-assicurazione-responsibilita-civile",valueIsRegex:!0},{value:"/calculate-liability-insurance",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event103"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_ph_startquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLee73d1bc53c340fe8b4d41fef4c4e2cc",name:"AA: ELVIA PH Offer",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haftpflichtversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-responsabilite-civile",valueIsRegex:!0},{value:"/calcolo-assicurazione-responsibilita-civile",valueIsRegex:!0},{value:"/calculate-liability-insurance",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"offer"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event101;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="offer,event101",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event101"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_ph_offer",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL071b9ac5ff9d45b78fb13d1b28517748",name:"AA: auto_startQuote",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_startQuote"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"}],events:[{name:"event103"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"auto_startQuote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia002"},src:{key:"src",value:"6772588"},type:{key:"type",value:"mfsq-0"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL9b554cb902064c34a1c806d19da932a2",name:"AA + Gtag: ELVIA HR Sale",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"sale"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/hausratversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-inventaire-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-casa",valueIsRegex:!0},{value:"/calculate-home-contents-insurance",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event102;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="sale,event102",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event102"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hr_sale",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step4-ihrepraemie|offer",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia002+standard",enabled:!0}},callback:null}}]},{id:"RL5950bf45a6eb4efba04437242aec319e",name:"AA: reise_antrag",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"reise_antrag"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"},{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"},{name:"eVar44",type:"value",value:"%digitalData.user.age%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"reise_antrag",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLaffff864e5944841bda45f95e4da03fc",name:"AA + Gtag: ELVIA MR Sale",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"sale"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/motorradversicherung-berechnen/",valueIsRegex:!0},{value:"/calculer-assurance-moto/",valueIsRegex:!0},{value:"/calcolo-assicurazione-moto/",valueIsRegex:!0},{value:"/motorcycle-insurance-calculator/",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event102;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="sale,event102",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event102"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mr_sale",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step4-ihrepraemie|offer",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia002+standard",enabled:!0}},callback:null}}]},{id:"RL8005275d125e4349b612e6be104b67f3",name:"AA: page_interactionSocial",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"page_interactionSocial"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar214",type:"value",value:"%digitalData.engagement.shareNetwork%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"page_interactionSocial",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL3deb5a64b6964d0f94e8ee2868993615",name:"AA: ecommerce-cartRemove",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"cart-remove"},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"cart-remove",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=[];if(window.digitalData.product){for(window.digitalData.product instanceof Object?e.push(window.digitalData.product):window.digitalData.product instanceof Array&&(e=window.digitalData.product),i=0;i<e.length;i++)e[i].allCategory="",e[i].primaryCategory&&(e[i].allCategory+="primaryCategory:"+e[i].primaryCategory+"~"),e[i].subCategory&&(e[i].allCategory+="subCategory:"+e[i].subCategory);window.digitalData.product=e}return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar31",type:"value",value:"%digitalData.page.attributes.context%"},{name:"eVar32",type:"value",value:"%digitalData.page.attributes.version%"},{name:"eVar33",type:"value",value:"%digitalData.page.attributes.contentDeliveryNetwork%"},{name:"eVar34",type:"value",value:"%digitalData.page.attributes.lastModifiedDate%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar140",type:"value",value:"%digitalData.marketingCampaign.external.amoid%"},{name:"eVar194",type:"value",value:"%digitalData.intermediary.name%"},{name:"eVar197",type:"value",value:"%digitalData.intermediary.type%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event71",value:"%digitalData.page.pageInfo.performance.total%"},{name:"event72",value:"%digitalData.page.pageInfo.performance.network%"},{name:"event73",value:"%digitalData.page.pageInfo.performance.render%"},{name:"scRemove"}],server:"%digitalData.page.pageInfo.server%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"aa-product-string-search-discovery/src/lib/actions/product_string_set_variables.js",settings:{dataLayerRoot:"%digitalData%",productStringEvars:[{eVarId:"eVar91",eVarPath:"allCategory"},{eVarId:"eVar90",eVarPath:"name"}],productStringEvents:[],productCollectionPath:"product",productStringCategory:"",productStringQuantity:"",productStringUnitPrice:"",productStringProductIdPath:"id",productStringCategorySelected:!1,productStringQuantitySelected:!1,productStringProductIdSelected:!0,productStringUnitPriceSelected:!1,productStringCategoryVariableType:"collection-item-path",productStringQuantityVariableType:"collection-item-path",productStringUnitPriceVariableType:"collection-item-path"}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"ecommerce_cartRemove",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL6cac3efbf67f49e49c0c14ab39e40ef9",name:"DCR: moto_pageView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"moto_pageView"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC57d6d3300f5b4afaa7b20c0e6831d94e-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLbe4cd9b21f2e44549dc7c2e7de86ab89",name:"[9] - oneTrust inclusion",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:9}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=!1;return"undefined"!=typeof window.top.OnetrustActiveGroups?e=!0:"undefined"!=typeof window.OnetrustActiveGroups&&(e=!0),!e}}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianzdriveincinema.ch","allianzcinema.ch","survey.allianz.ch","survey.elvia.ch"]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'//----------------------------------------------------------------------------------------\n// FNOL enable debugging\n// window.console.log=window.console.error;  \n//----------------------------------------------------------------------------------------\n\n\n//----------------------------------------------------------------------------------------\n// Include Jquery (for Onetrust)\n/*var jquery_include;\njquery_include = document.createElement("script");\njquery_include.setAttribute("charset", "utf-8");\njquery_include.setAttribute("src", "https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js")\njquery_include.async = !0;\ndocument.head.appendChild(jquery_include)*/\n\n//----------------------------------------------------------------------------------------  \n// GDPR-Compliance script for OneTrust\n\n//Potentially force Banner again\nfunction loadedOneTrust()\n{\n    if(!window.Optanon.IsAlertBoxClosedAndValid()) {window.Optanon.LoadBanner();}\n}\n  \n//Wait 1s before loadOneTrust  \nfunction showOneTrust(){\n  setTimeout(loadedOneTrust, 1000);\n}\n\n\n//Todo: function getlanguage more generic\nfunction getLanguage(){\n  var lang = "de"; //default fallback language\n  var url = window.location.href;\n  \n  //check for multioffer\n  //TODO: fix bad assumtion #/de/ can be #dark-->ar\n  if ( url.indexOf(\'/asu_cdn/\') > -1) {\n    if ( url.indexOf(\'#\') > -1 ) {\n      lang = url.substring(window.location.href.indexOf(\'#\') + 2, (window.location.href.indexOf(\'#\') + 4));\n    }\n  }\n  \n  //check for language Parameter lang=\n  if ( url.indexOf(\'lang=\') > -1 ) {\n     lang = url.substring( url.indexOf(\'lang=\') + 5, ( url.indexOf(\'lang=\') + 7));\n  }\n  \n  return lang;\n}\n\n\n\n//Get the hostname/Domain\nvar hostname = window.AZCH_library.url.parseURL(window.location).hostname;\nvar domain = window.AZCH_library.url.extractRootDomain(hostname);\nvar lang = getLanguage();\n\n\n//Include Onetrust\nvar onetrust_include;\nonetrust_include = document.createElement("script");\nonetrust_include.setAttribute("charset", "utf-8");\n\n//Get Configuration\nvar ontrustserver = window.AZCH_Config.brands.other.onetrustserver[lang]; //default\nif (typeof window.AZCH_Config.brands[domain] != "undefined") {\n    ontrustserver = window.AZCH_Config.brands[domain].onetrustserver[lang];\n}\nonetrust_include.setAttribute("src", ontrustserver);\n\nonetrust_include.async = false;//!0;\nonetrust_include.onload = showOneTrust;\ndocument.head.appendChild(onetrust_include)\n\nfunction OptanonWrapper() {}  \n\n//---------------------------------------------------------------------------------------- ',language:"javascript"}}]},{id:"RL8a9e5e33d7ce4224a1db186d5de32dbf",name:'AZCH MF Product "Budget" Selected',events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"digitalData.quote.product.bundleVariation"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.quote.product.bundleVariation",value:"Budget",valueIsRegex:!0}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"}],events:[{name:"event942"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"product_budget_selected",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL396d92ecb1704a5c83d44a7bc3a6e351",name:"pageLoad processing",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"pageProcessing"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{
source:"/*\nwrapper for _satellite.logger.log\n@param msg - message to be printed \n*/ \nvar prefix = 'rules::pageload_processing::';\nfunction launchLog(msg) {\n    if( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.log === 'object' && typeof window.AZCH_library.log.launchLog === 'function')\n        window.AZCH_library.log.launchLog(prefix,msg);\n}\n\n//exit link tacking enabled only if consent is given\n//trigger direct call rule in here with consent check\n//in that rule fill s.internalLink tracking variables correctly based on the documentation\n\n//load functions for shorter reference\nwindow.getParameterByName = function(param) { launchLog('AZCH_library.url.getParameterByName('+param+') missing'); return ''; };\nif( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.url === 'object' && typeof window.AZCH_library.url.getParameterByName === 'function') {\n    window.getParameterByName = window.AZCH_library.url.getParameterByName;\n}\n\n// scrolling\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.engagement = window.digitalData.engagement || {};\nwindow.digitalData.engagement.scroll = {};\nwindow.digitalData.engagement.scroll.tresholds = [0.25,0.5,0.75,1];\nwindow.digitalData.engagement.scroll.reached = [];\nwindow.digitalData.engagement.scroll.semaphore = 0;\n\n//attach listener for scrolling\nif( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.scroll === 'object' && typeof window.AZCH_library.scroll.aaScroll === 'function') {\n    window.removeEventListener('scroll',window.AZCH_library.scroll.aaScroll);\n    window.addEventListener('scroll',window.AZCH_library.scroll.aaScroll);\n}\nelse launchLog('window.AZCH_library.scroll.aaScroll is not a function');\n\nlaunchLog('pageLoad 2019-06-25');\n\n//make sure our necessary subnodes are available\n//page\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.page = window.digitalData.page || {};\n\nwindow.digitalData.page.pageInfo = window.digitalData.page.pageInfo || {};\nwindow.digitalData.page.pageInfo.hostname = window.digitalData.page.pageInfo.hostname || {};\nwindow.digitalData.page.pageInfo.breadCrumbs = window.digitalData.page.pageInfo.breadCrumbs || {};\n\nwindow.digitalData.page.attributes = window.digitalData.page.attributes || {};\nwindow.digitalData.page.attributes.authoring = window.digitalData.page.attributes.authoring || {};\nwindow.digitalData.page.attributes.context = window.digitalData.page.attributes.context || {};\nwindow.digitalData.page.attributes.lastModifiedDate = window.digitalData.page.attributes.lastModifiedDate || {};\nwindow.digitalData.page.attributes.version = window.digitalData.page.attributes.version || {};\n  \nwindow.digitalData.page.previousPage = window.digitalData.page.previousPage || {};\n//window.digitalData.page.previousPage.pageInfo = window.digitalData.page.previousPage.pageInfo || {};\n//window.digitalData.page.previousPage.pageInfo.pageName = window.digitalData.page.previousPage.pageInfo.pageName || {};\n\n//AEP POC \nwindow.digitalData.product = window.digitalData.product || {};\nwindow.digitalData.product.price = window.digitalData.product.price || {};\nwindow.digitalData.product.price.value = window.digitalData.product.price.value || {};\n\nwindow.digitalData.quote = window.digitalData.quote || {};\nwindow.digitalData.quote.coverage = window.digitalData.quote.coverage || {};\nwindow.digitalData.quote.coverage.objects = window.digitalData.quote.coverage.objects || {};\nwindow.digitalData.quote.coverage.objects.vehicle = window.digitalData.quote.coverage.objects.vehicle || {};\nwindow.digitalData.quote.coverage.objects.vehicle.make = window.digitalData.quote.coverage.objects.vehicle.make || {};\n\n// application id\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.application = window.digitalData.application || {};\nwindow.digitalData.application.applicationId = window.digitalData.application.applicationId || {};\nwindow.digitalData.application.applicationName = window.digitalData.application.applicationName || {};\nwindow.digitalData.application.virtualPageName = window.digitalData.application.virtualPageName || {};\n\n//campaign stuff\nwindow.digitalData.marketingCampaign = window.digitalData.marketingCampaign || {};\nwindow.digitalData.marketingCampaign.external = window.digitalData.marketingCampaign.external || {};\n\n// userlike chat tracking\n//_satellite.track('page_userlike');\n\n//\n// tag staff traffic\n//\nif(window.location.href.indexOf('staff=1')>=0) {\n    var cookieName = \"_staff\";\n    var cookieValue = \"true\";\n    var expirationTime = 31556952; // One year expiration\n    expirationTime = expirationTime * 1000; // Converts expirationtime to milliseconds\n    var date = new Date();\n    var dateTimeNow = date.getTime();\n    date.setTime(dateTimeNow + expirationTime); // Sets expiration time (Time now + one month)\n    var date = date.toUTCString(); // Converts milliseconds to UTC time string\n    \n    //FIXME might create very unexpected results since it might create TWO cookies with possibly different values\n    //domain should be handled properly - assumption that a domain always has \"www\" as the hostname is wrong\n    document.cookie = cookieName + \"=\" + cookieValue + \"; expires=\" + date + \"; path=/; domain=.\" + location.hostname.replace(/^www\\./i, \"\");\n    //Sets cookie for all subdomains\n\n    // delete/rewrite this for Launch\n    /*\n    dataLayer.push({\n        'event': 'staffCookie',\n    });\n    */\n    // do or don't what's necessary\n}\n\nlaunchLog('prepare user object');\nwindow.digitalData.user = window.digitalData.user || {};\nwindow.digitalData.user.profileId = window.digitalData.user.profileId || \"\";\nwindow.digitalData.user.emailId = window.digitalData.user.emailId || \"\";\nwindow.digitalData.user.userId = window.digitalData.user.userId || \"\";\nif (typeof window.digitalData.user.profileId === 'string') {\n    var strPid = \"\";\n  \n    if (window.digitalData.user.profileId.length > 0) {      \n      strPid = window.digitalData.user.profileId;\n      launchLog('found user pid - value: ->'+strPid+'<-');\n      \n      //hash pid\n      var key = window.AZCH_library.crypto.codec.utf8String.toBits(\"AFyrhTvvw7\");\n\t  var out = (new window.AZCH_library.crypto.misc.hmac(key, window.AZCH_library.crypto.hash.sha256)).mac(strPid);\n      var hmac = window.AZCH_library.crypto.codec.hex.fromBits(out);\n      launchLog('hash user pid - value: ->'+hmac+'<-');\n      \n      if (strPid.indexOf(\"@\") > -1) {   \n        window.digitalData.user.emailId = hmac;\n        // reset profileId\n        window.digitalData.user.profileId = \"\";\n      }\n      else{\n        window.digitalData.user.userId = hmac;\n      }\n    }\n}\nif (typeof window.digitalData.user.userId === 'string' && window.digitalData.user.userId.length < 14 ) {\n    var strPid = \"\";\n  \n    if (window.digitalData.user.userId.length > 0) {      \n      strPid = window.digitalData.user.userId;\n      launchLog('found user pid - value: ->'+strPid+'<-');\n      \n      //hash pid\n      var key = window.AZCH_library.crypto.codec.utf8String.toBits(\"AFyrhTvvw7\");\n\t  var out = (new window.AZCH_library.crypto.misc.hmac(key, window.AZCH_library.crypto.hash.sha256)).mac(strPid);\n      var hmac = window.AZCH_library.crypto.codec.hex.fromBits(out);\n      launchLog('hash user pid - value: ->'+hmac+'<-');\n      window.digitalData.user.userId = hmac;\n    }\n}\n\n\n\nwindow.digitalData.user.login = window.digitalData.user.login || {};\nwindow.digitalData.user.login.lastLoginDate = window.digitalData.user.login.lastLoginDate || {};\n\nwindow.digitalData.user.consent = window.digitalData.user.consent || {};\nwindow.digitalData.user.consent.isSocialAllowed = window.digitalData.user.consent.isSocialAllowed || {};\n\n\nwindow.digitalData.user.type = window.digitalData.user.type || {};\nwindow.digitalData.user.targetActivityName = window.digitalData.user.targetActivityName || {};\n\n\nwindow.digitalData.user.staff = window.digitalData.user.staff || 'false';\nif(window.location.href.indexOf('staff=1')>=0 || document.cookie.indexOf('_staff=true')>=0 || document.cookie.indexOf('_staff=1')>=0) {\n    window.digitalData.user.staff = 'true';\n}\n\n//AEP POC\nwindow.digitalData.user.geo = window.digitalData.user.geo || {};\nwindow.digitalData.user.geo.city = window.digitalData.user.geo.city || {};\nwindow.digitalData.user.geo.state = window.digitalData.user.geo.state || {};\nwindow.digitalData.user.geo.country = window.digitalData.user.geo.country || {};\n\n\n//URL based attributes\nlaunchLog('PageName pre: '+window.digitalData.page.pageInfo.pageName);\nvar wlh = window.location.href;\n//FIXME handle broken URLs like this: www.allianz.ch/index&a=b?c=d\nvar wlhwp = wlh.indexOf('?')>=0?wlh.split('?')[0]:wlh;\n\nlaunchLog('create new pagename');\n//init this to a value we can be sure will never be a pagename\nvar strBasenamePageID = 'no pageid found';\n\n//break url into its pieces\nvar oUrl = window.AZCH_library.url.parseURL(wlh);\n\n//we will need the hostname later on\nvar strHostname = oUrl.hostname;\n//only remove the subdomain/host if it is \"www.\", keep it otherwhise\nif (strHostname.substr(0, 4) == 'www.') strHostname = strHostname.substr(4);\n\n//url is always available, so take that as default\n//FIXME double slash \" test.allianz.ch//asu_cdn/apps/asu_momf-gui/\"\nvar strPathname = oUrl.pathname;\n//Fix IE Bug pathnahme missing slash\nif (strPathname.charAt(0) != \"/\") {strPathname = \"/\"+strPathname}\nvar strNewPagename = strHostname+strPathname; \n\n//directly store hash into digitalData - we want to be able to use that in every possible situation\nlaunchLog('Type of hash: ' + typeof oUrl.hash);\nif (typeof oUrl.hash === 'string') {\n    launchLog('found url hash - value: ->'+oUrl.hash+'<-');\n    if (oUrl.hash.length > 0) {     \n        window.digitalData.page.pageInfo.pageHash = oUrl.hash;\n        launchLog('pushed url hash to digitalData: ->'+window.digitalData.page.pageInfo.pageHash+'<-');\n    }\n}\nelse launchLog('url hash is not a string - type is: ' + typeof oUrl.hash);\n  \n//we need a language-independent version of the pageid to identify buggy single page applications\nvar strPageKey = '';\n\n//if we have a pageid we use that as base for our new pagename, also we need the basename of the\n//pageid to check whether we really want to replace the pagename\nif (typeof window.digitalData.page.pageInfo.pageID !== 'undefined') {\n    launchLog('pageid found');\n    var strPageID = window.digitalData.page.pageInfo.pageID; \n    var arPageID = strPageID.split('/');\n\n    //pageid looks like /content/onemarketing/azch/allianz/<what>/<we>/<really>/<want>\n    //first four elements might differ between brands, but will always be there, so we remove them\n    var nCurrShift = 0;\n    var dummy;\n    for (nCurrShift=0; nCurrShift<5; nCurrShift++) dummy = arPageID.shift();\n\n    launchLog('pageid prefix removed');\n    //now build short version of pageid\n    strPageID = arPageID.join('/');\n    launchLog('short version of pageid: '+strPageID);\n\n    //create page-key - (pageid without language)\n    dummy = arPageID.shift();\n    strPageKey = arPageID.join('/');\n\n    //finally add domain to distinguish between brands etc. \n    _satellite.logger.log('add hostname to new pagename');\n    strNewPagename = strHostname + '/' + strPageID; \n\n    //get basename - we need it later to decide whether we really want to replace\n    //the existing pagename\n    launchLog('get basename of pageid');\n    strBasenamePageID = arPageID.pop();\n}\n\n//if our current context is some type of single page application we need to have the\n//virtual pagename in digitalData\n//to determine if our current context is a spa we check on the digitalData.application and\n//on the app-root tag within the page\nlaunchLog('check for single page app - we might need to add a virtual pagename');\n\n//first get possible app-root-nodes\nvar arAppRootTags = window.document.getElementsByTagName('app-root');\nlaunchLog('checking on app-root - length of arAppRootTags is: '+arAppRootTags.length);\n\n//now check on special case pagenames (or actually page keys - see above for creation)\nvar oSPAUrls = {'privatkunden/services/meine-versicherung/meine-daten': true,\n                'privatkunden/services/meine-versicherung/meine-vertraege': true};\nlaunchLog('checking on strPageKey (' + strPageKey + ') type is: '+typeof oSPAUrls[strPageKey]);\n\n//now determine whether we want to use a virtual pagename as described above\nvar strVirtualPagename = '';\nif ( ( arAppRootTags.length > 0 ) || ( typeof window.digitalData.application !== 'undefined') || ( typeof oSPAUrls[strPageKey] !== 'undefined' ) ) {\n    launchLog('we are within a single page application - length of arAppRootTags is: '+arAppRootTags.length);\n    //ok we need to add a virtual pagename, either by getting it out of digitalData or\n    //by using the hash from the url\n    //default is empty\n    \n    //use hash from url first\n    if (typeof oUrl.hash === 'string') {\n        strVirtualPagename = oUrl.hash;\n        launchLog('found hash in url: '+strVirtualPagename);\n    }\n    \n    //now check on virtual pagename in digitalData\n    if ( typeof window.digitalData.application !== 'undefined' ) {\n        if ( typeof window.digitalData.application.virtualPageName === 'string' ) {\n            strVirtualPagename = window.digitalData.application.virtualPageName;\n            launchLog('found virtual pagename in application node: '+strVirtualPagename);\n        }\n    }\n    \n    //only continue if it is non-empty\n    if ( strVirtualPagename.length > 0 ) {\n        launchLog('virtual pagename is available and not empty: '+strVirtualPagename);\n        //make sure we have a '#' at the beginning\n        if ( strVirtualPagename.charAt(0) == '#' ) {\n            strVirtualPagename = strVirtualPagename.substr(1);\n            launchLog('removed hash from virtual pagename: '+strVirtualPagename);\n        }\n        \n        //now push the final virtual pagename to digitalData\n        //first make sure that application subnode exists - we can't do that globally since this has to be bound to the spa context\n        window.digitalData.application = window.digitalData.application || {};\n        window.digitalData.application.virtualPageName = strVirtualPagename;\n        launchLog('added virtual pagename to digitalData: ' + window.digitalData.application.virtualPageName);\n        strNewPagename = strNewPagename + '#' + strVirtualPagename;\n    }\n}\n\nlaunchLog('new pagename is: '+strNewPagename);\n\n// apply replacement to pagename\nlaunchLog('decide on replacement');\nif (typeof window.digitalData.page.pageInfo.pageName === 'undefined') {\n    window.digitalData.page.pageInfo.pageName = strNewPagename;  \n    launchLog('pagename not yet set - set it: '+window.digitalData.page.pageInfo.pageName);\n}\nelse {\n    if (strBasenamePageID == window.digitalData.page.pageInfo.pageName) {\n        window.digitalData.page.pageInfo.pageName = strNewPagename;  \n        launchLog('pagename is basename of pageid - overwrite it: '+window.digitalData.page.pageInfo.pageName);\n    }\n\telse if (strBasenamePageID == 'homepage'){\n\t\twindow.digitalData.page.pageInfo.pageName = strNewPagename;\n\t\t//note: the 'homepage' value has to be set in the AEM page properties -> advanced settings\n\t\tlaunchLog('pageName is a locale e.g de_CH, it_CH, fr_CH etc.(elvia.ch aem root page), overwrite with strNewPagename: '+ strNewPagename);\n\t}\n    else {\n        launchLog('pagename is present - it is not the basename of the pageid - length of virtual pagename is: '+strVirtualPagename.length);    \n        if ( strVirtualPagename.length > 0 ) {\n            window.digitalData.page.pageInfo.pageName = strNewPagename;  \n            launchLog('we have a new virtual pagename, so overwrite pagename: '+window.digitalData.page.pageInfo.pageName);\n        }\n        else launchLog('pagename is present - it is not the basename of the pageid and virtual pagename is empty: '+window.digitalData.page.pageInfo.pageName);\n    }\n}\n\n//window.digitalData.page.pageInfo.pageName = window.digitalData.page.pageInfo.pageName || strPagenameURL;\nwindow.digitalData.page.pageInfo.destinationURL =  window.digitalData.page.pageInfo.destinationURL || wlh;\nlaunchLog('PageName post: '+window.digitalData.page.pageInfo.pageName);\n\nvar wtlh = window.top.location.href;\n//FIXME handle broken URLs like above\nvar wtlhwp = wtlh.indexOf('?')>=0?wtlh.split('?')[0]:wtlh;\nvar wtls = window.top.location.search;\nvar wls = window.location.search;\nvar wdr = window.document.referrer;\nvar wtdr = window.top.document.referrer;\n\nwindow.digitalData.page.pageInfo.URLqueryParams = window.digitalData.page.pageInfo.URLqueryParams || oUrl.search;\n\n//FIXME proper variable names used - the following line seems weired due to path of frame connected to search of parent\nwindow.digitalData.page.pageInfo.fullURL =  digitalData.page.pageInfo.fullURL || wlhwp+wtls;\nwindow.digitalData.page.pageInfo.title\t= digitalData.page.pageInfo.title || window.document.title;\n\n//Framefix (only replace first frame referrer)\n//FIXME make sure window.digitalData.page.pageInfo.referringURL has a proper init\nif (wdr === wtlh) window.digitalData.page.pageInfo.referringURL = window.digitalData.page.pageInfo.referringURL || window.top.document.referrer;\nelse window.digitalData.page.pageInfo.referringURL = window.digitalData.page.pageInfo.referringURL || window.document.referrer;\n\n//FIXME configuration should be done in one central location\n// brand setting\nif( typeof window.digitalData.page.attributes.brand === 'undefined' ) {\n    var brands = {\n        'www.allianz.ch': 'Allianz',\n        'tarif.allianz.ch': 'Allianz',\n        'partner.allianz.ch': 'Allianz',\n        'service.allianz.ch': 'Allianz',\n        'my.allianz.ch': 'Allianz',\n        'www.allianz-immobilien.ch': 'Allianz Immobilien',\n        'www.allianz-technology.ch': 'Allianz Technology',\n        'www.vorsorgeberatung.biz': 'Allianz Vorsorgeberatung',\n        'www.cap.ch': 'Cap',\n        'www.elvia.ch': 'ELVIA',\n        'tarif.elvia.ch': 'ELVIA',\n        'invest.elvia.ch': 'ELVIA',\n        'e-invest.ch': 'ELVIA',\n        'jobs.allianz.com': 'Allianz',\n        'forum.allianz.ch': 'Allianz',\n        'www.allianz-assistance.ch': 'Allianz',\n        'digitallab.allianz.ch': 'Allianz',\n        'splitsurance.ch': 'Allianz',\n        'das.ch': 'DAS',\n        'justis.ch': 'JUSTIS',\n        'quality1.ch': 'Quality 1',\n    };\n    // check the mapping\n    Object.keys(brands).forEach(function(k){\n        if(wlh.indexOf(k)>=0) window.digitalData.page.attributes.brand = brands[k];\n    });\n}\n\n//FIXME create helper-function to get language - should be able to deal with different ways like:\n//<some-url>/de_DE/<some-more-url>, <some-url>/de/<some-more-url>, <some-url>?lang=de, ....\n//use sessionStorage to persist, this way we get language-info even if the current page does not carry it\n//language\nvar lang = null;\nif(wlh.indexOf('/de/')>=0  || wlh.indexOf('lang=de')>=0   ) lang = 'de';\nelse if(wlh.indexOf('/fr/' )>=0 || wlh.indexOf('lang=fr')>=0 ) lang = 'fr';\nelse if(wlh.indexOf('/it/')>=0 || wlh.indexOf('lang=it')>=0) lang = 'it';\nelse if(wlh.indexOf('/en/')>=0 || wlh.indexOf('lang=en')>=0) lang = 'en';\nwindow.digitalData.page.pageInfo.language = window.digitalData.page.pageInfo.language || lang;\n\n//sections, check only if siteSection exists\n//assumes if siteSection exists, also siteSection1 and siteSection2 exist\n//FIXME we should create it out of the new pagename - more reliable and there is a direct connection between sections and name then\nif( typeof window.digitalData.page.pageInfo.siteSection === 'undefined' ) {\n    var parts = wlh.split('/');\n    if(typeof parts[3] !== 'undefined' && parts[3]==lang) {\n        if(typeof parts[4] !== 'undefined' && parts[4].length > 0) window.digitalData.page.pageInfo.siteSection = window.digitalData.page.pageInfo.siteSection || parts[4];\n        if(typeof parts[5] !== 'undefined' && parts[5].length > 0) window.digitalData.page.pageInfo.siteSection1 = window.digitalData.page.pageInfo.siteSection1 || parts[5];\n        if(typeof parts[6] !== 'undefined' && parts[6].length > 0) window.digitalData.page.pageInfo.siteSection2 = window.digitalData.page.pageInfo.siteSection2 || parts[6];\n    }\n    else {\n        if(typeof parts[3] !== 'undefined' && parts[3].length > 0) window.digitalData.page.pageInfo.siteSection = window.digitalData.page.pageInfo.siteSection || parts[3];\n        if(typeof parts[4] !== 'undefined' && parts[4].length > 0) window.digitalData.page.pageInfo.siteSection1 = window.digitalData.page.pageInfo.siteSection1 || parts[4];\n        if(typeof parts[5] !== 'undefined' && parts[5].length > 0) window.digitalData.page.pageInfo.siteSection2 = window.digitalData.page.pageInfo.siteSection2 || parts[5];\n    }\n}\n\n\nlaunchLog('Start creating trackingCode');\n//FIXME check the bugged paramter glcid? gclid? ???\nvar bCreateCampaign = false;\nif( typeof window.digitalData.page.attributes.trackingCode === 'string' ) {\n    launchLog('there is a trackingCode available');\n    if ( window.digitalData.page.attributes.trackingCode.length <= 0 ) {\n        launchLog('trackingCode is not empty');\n        bCreateCampaign = true;\n    } \n}\nelse {\n    launchLog('no trackingCode available');\n    bCreateCampaign = true;\n}\n\nif( bCreateCampaign ) {\n    launchLog('trying to create a campaign out of utm attributes');\n    var utm_source = getParameterByName('utm_source');\n    var utm_medium = getParameterByName('utm_medium');\n    var utm_campaign = getParameterByName('utm_campaign')\n    var utm_term = getParameterByName('utm_term');\n    var utm_content = getParameterByName('utm_content');\n    var gclid = getParameterByName('gclid');\n    var dclid = getParameterByName('dclid');\n    var icid = getParameterByName('icid');\n        \n    //if we have at least one Campaign-Information intended for Google Analytics we can use that to create our own campaign information\n    if( utm_source.length>0 || utm_medium.length>0 || utm_campaign.length>0 || utm_term.length>0 ||\n        utm_content.length>0 || gclid.length>0 || dclid.length>0 || icid.length>0\n    ) {\n        launchLog('at least one utm is not empty, so set new value to trackingCode');\n        //we already made sure that page and attributes subnodes are available on top of this launch-rule\n        window.digitalData.page.attributes.trackingCode = 'utm_source:'+utm_source+'|utm_medium:'+utm_medium+'|utm_campaign:'+utm_campaign+'|utm_term:'+utm_term+'|utm_content:'+utm_content+'|gclid:'+gclid+'|dclid:'+dclid+'|icid:'+icid;\n    }\n}\n\n// evar52\nvar internCampaign = getParameterByName('intern-campaign');\nwindow.digitalData.marketingCampaign.internal = internCampaign;\n\n// evar53\nvar mailID = getParameterByName('id');\nvar allianzID = getParameterByName('aid');\n//TODO: check for aid presence overwrite\nif (allianzID) { \n  mailID = allianzID;\n}\nwindow.digitalData.marketingCampaign.external.mailID = mailID;\n\n// evar140 // AMO ID - AL!9905!3!{creative}!{matchtype}!{placement}!{network}!!{keyword}\nvar amoid = getParameterByName('s_kwcid');\nwindow.digitalData.marketingCampaign.external.amoid = amoid;\n\n\n\nif(typeof window.cbFunction === 'function') window.cbFunction();\n",language:"javascript"}}]},{id:"RL0bc99d9d2a2c4f8193e18f57c2d6467d",name:"2019 Campaign - FlexSaving - Video Landing StandartPixel",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/content/dam/onemarketing/azch/allianz/sumo/index.html",valueIsRegex:!1}]}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"screen_view",options:[["u9","%digitalData.page.pageInfo.pageId%"]],accounts:{1562569218447:{label:"allia00d/allia0+standard",enabled:!0}},callback:null}},{modulePath:"facebook-pixel/src/lib/actions/sendPageView.js",settings:{}}]},{id:"RL658c04f5ce6142b09cc0632d3dc27ecb",name:"AA: Search tracking empty",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"searchTrackingEmpty"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar19",type:"value",value:"%digitalData.search.searchTerm%"},{name:"eVar20",type:"value",value:"%digitalData.search.searchResults%"}],events:[{name:"event7"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"searchTrackingEmpty",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLd4b430653992400d84786c8d5292f2d3",name:"AA + Gtag: ELVIA HH FirstQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"FirstQuote"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haushaltsversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-combinee-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-economia-domestica",valueIsRegex:!0},{value:"/calculate-household-insurance",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event104"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hh_firstquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step2-firstquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia000+standard",enabled:!0}},callback:null}}]},{id:"RLceadd29a5471417584bc1d87290be7ca",name:"AA: auto_personendaten",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_personendaten"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar104",type:"value",value:"||||%digitalData.quote.coverage.persons.gender%|"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"auto_personendaten",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLf102528448ed4e40bd34becd40038984",name:"AA: FNOL - KHH Form-Complete",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"switzerland_home.pageChanged"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"claim-notification",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.spaData.switzerland_home.pageChanged.newPage",value:"all-done",valueIsRegex:!0}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event45"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"fnol_formComplete",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL9ee267c88e344b3895ccaf5d9982a449",name:"AA: auto_fahrzeugdaten",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_fahrzeugdaten"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar100",type:"value",value:"|%digitalData.quote.coverage.objects.vehicle[n].modelType%|%digitalData.quote.coverage.objects.vehicle[n].make%|%digitalData.quote.coverage.objects.vehicle[n].model%|%digitalData.quote.coverage.objects.vehicle.category%||%digitalData.quote.coverage.objects.vehicle.value%"},{name:"eVar101",type:"value",value:"||||||%digitalData.quote.coverage.objects.vehicle.isLeasing%|"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"auto_fahrzeugdaten",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL3c313e9825bb409a874c7cdf6d0e677c",name:"AA: ecommerce-cartAdd",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"cart-add"},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"cart-add",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=[];if(window.digitalData.product){for(window.digitalData.product instanceof Object?e.push(window.digitalData.product):window.digitalData.product instanceof Array&&(e=window.digitalData.product),i=0;i<e.length;i++)e[i].allCategory="",e[i].primaryCategory&&(e[i].allCategory+="primaryCategory:"+e[i].primaryCategory+"~"),e[i].subCategory&&(e[i].allCategory+="subCategory:"+e[i].subCategory);window.digitalData.product=e}return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar31",type:"value",value:"%digitalData.page.attributes.context%"},{name:"eVar32",type:"value",value:"%digitalData.page.attributes.version%"},{name:"eVar33",type:"value",value:"%digitalData.page.attributes.contentDeliveryNetwork%"},{name:"eVar34",type:"value",
value:"%digitalData.page.attributes.lastModifiedDate%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar140",type:"value",value:"%digitalData.marketingCampaign.external.amoid%"},{name:"eVar194",type:"value",value:"%digitalData.intermediary.name%"},{name:"eVar197",type:"value",value:"%digitalData.intermediary.type%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event71",value:"%digitalData.page.pageInfo.performance.total%"},{name:"event72",value:"%digitalData.page.pageInfo.performance.network%"},{name:"event73",value:"%digitalData.page.pageInfo.performance.render%"},{name:"scAdd"}],server:"%digitalData.page.pageInfo.server%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"aa-product-string-search-discovery/src/lib/actions/product_string_set_variables.js",settings:{dataLayerRoot:"%digitalData%",productStringEvars:[{eVarId:"eVar91",eVarPath:"allCategory"},{eVarId:"eVar90",eVarPath:"name"}],productStringEvents:[],productCollectionPath:"product",productStringCategory:"",productStringQuantity:"",productStringUnitPrice:"",productStringProductIdPath:"id",productStringCategorySelected:!1,productStringQuantitySelected:!1,productStringProductIdSelected:!0,productStringUnitPriceSelected:!1,productStringCategoryVariableType:"collection-item-path",productStringQuantityVariableType:"collection-item-path",productStringUnitPriceVariableType:"collection-item-path"}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"ecommerce_cartAdd",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL55c64cf57ed14c5fbc8895013ac26573",name:"2019 Campaign - FlexSaving - VideoLandingPage - Directcall",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"sumo2019.persona.kreativer"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"sumo2019.persona.student"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"sumo2019.persona.traeumer"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"sumo2019.video.play"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"sumo2019.cta.productpage"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(e){switch(_satellite.setVar("sumo2019-floodlight","allia00d/allia002+standard"),_satellite.setVar("sumo2019-facebook","PageView"),e.identifier){case"sumo2019.persona.kreativer":_satellite.setVar("sumo2019-floodlight","allia00d/allia004+standard"),_satellite.setVar("sumo2019-facebook","ViewContent_Kreativer"),window.digitalData.page.pageInfo.pageName=window.digitalData.page.pageInfo.pageName.split("#")[0]+"#kreativer";break;case"sumo2019.persona.traeumer":_satellite.setVar("sumo2019-floodlight","allia00d/allia003+standard"),_satellite.setVar("sumo2019-facebook","ViewContent_Tr\xe4umer"),window.digitalData.page.pageInfo.pageName=window.digitalData.page.pageInfo.pageName.split("#")[0]+"#traeumer";break;case"sumo2019.persona.student":_satellite.setVar("sumo2019-floodlight","allia00d/allia005+standard"),_satellite.setVar("sumo2019-facebook","ViewContent_Student"),window.digitalData.page.pageInfo.pageName=window.digitalData.page.pageInfo.pageName.split("#")[0]+"#student";break;case"sumo2019.cta.productpage":break;case"sumo2019.video.play":_satellite.setVar("sumo2019-pageview",_satellite.getVar("digitalData.page.pageInfo.pageName")+"#video")}return!0}}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"screen_view",options:[],accounts:{1562569218447:{label:"%sumo2019-floodlight%",enabled:!0}},callback:null}},{modulePath:"facebook-pixel/src/lib/actions/sendCustomEvent.js",settings:{name:"%sumo2019-facebook%"}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC7b45612f03314ab6b15aa50117358bf8-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLeeb9738dbb11463d824e7875b398f99f",name:"DFA: AZCH_ALLIANZ_AEM_MF_LP",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"privatkunden/angebote/fahrzeuge-reisen/autoversicherung",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"mfsq-0"}},elementTagName:"iframe",floodlightType:"counter"}}]},{id:"RL5f26cabcce484ca688c2ceea8e3514b8",name:"AA: FNOL _Global Functions",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!0,source:"function _storeAnalyticsValue(_name,_value) {\n\tvar _ls=0;\n\ttry {\n\t\tvar storage=window['localStorage'];\n\t\tstorage.setItem(_name,_value);\n\t\tstorage.removeItem(_name);\n\t\t_ls=1\n\t}\n\tcatch(e) {\n\t\te instanceof DOMException && (e.code===22||e.code===1014||e.name==='QuotaExceededError'||e.name==='NS_ERROR_DOM_QUOTA_REACHED')&&storage.length!==0;\n\t}\n\tif (_ls) storage.setItem(_name,_value);\n\telse _satellite.setCookie(_name,_value);\n}\nfunction _retrieveAnalyticsValue(_name) {\n\tvar _value=window['localStorage'].getItem(_name);\n\tif (typeof(_value)==null) _satellite.readCookie(_name);\n\t_value=_value?_value:'n/a';\n\treturn _value;\n}\nfunction _checkIfExist(v) {\n\treturn typeof(v)==\"undefined\"||v==null?'':v;\n}\n\nwindow.trackingProduction = false;",language:"javascript"}}]},{id:"RL4ae6ed820e604532b2d01fa1afb1ecde",name:"2019 Campaign - FlexSaving - StandartPixel",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/de/privatkunden/angebote/vorsorge-lebensversicherungen/sparen-anlegen/flex-saving.html",valueIsRegex:!1},{value:"https://www.allianz.ch/fr/clients-prives/offres/prevoyance-assurance-vie/epargne-placements/flex-saving.html"},{value:"https://www.allianz.ch/it/clienti-privati/offerte/previdenza-assicurazioni-vita/risparmio-investimento/flex-saving.html"}]}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"screen_view",options:[["u9","%digitalData.page.pageInfo.pageId%"]],accounts:{1562569218447:{label:"allia00d/allia0+standard",enabled:!0}},callback:null}}]},{id:"RL6b59f0ad37ca4d0b99a93faafd66f3fc",name:"AA: health_angaben",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"health_angaben"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"},{name:"eVar44",type:"value",value:"%digitalData.user.age%"},{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"},{name:"eVar123",type:"value",value:"%digitalData.quote.precaution.type%|%digitalData.quote.precaution.ageAtPayout%|%digitalData.quote.precaution.deathSumInsured%|%digitalData.quote.precaution.dateOfInceptionOfInsuranceCoverage%|%digitalData.quote.precaution.premiumWaitingPeriod%"},{name:"eVar117",type:"value",value:"|%digitalData.quote.product.subCategory%"}],events:[{name:"event104"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"health_angaben",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL6904077b6e6042f0a7b32ca3c4866615",name:"DFA: AZCH_ELVIA_Kasko",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"/unterwegs/kaskoversicherung",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"elvia0"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6774922"},type:{key:"type",value:"rtgb"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL5258556ce5204c45a5f93f38a802a88a",name:"DFA: AZCH_ALLIANZ_vorsorge-landingpage-interest_b_AllLang",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"privatkunden/services/rechner-performance/individuelle-vorsorge-tipps",valueIsRegex:!0}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00h"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL6f50e1aad5b943ad830b6db0c0af4c16",name:"AA: ELVIA MF StartQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:12},{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Fahrzeugdaten",valueIsRegex:!1}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/autoversicherung-berechnen/",valueIsRegex:!0},{value:"/car-insurance-calculator/",valueIsRegex:!0},{value:"/calcolo-assicurazione-auto/",valueIsRegex:!0},{value:"/calculer-assurance-voiture/",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event103"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mf_startquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL51b598756a614dc4801a4536564aaa29",name:"AA: haushalt_zusatzfragen",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"haushalt_zusatzfragen"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"},{name:"eVar102",type:"value",value:"%digitalData.quote.coverage.objects.building.houseType%|%digitalData.quote.coverage.objects.building.numberOfRooms%||||||||"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLd06e9e896c96497abda603697ee7856f",name:"2019 - Campaign - Mut-Postcard - Form Complete",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.formSubmit"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(e){return window.digitalData=window.digitalData||{},window.digitalData.form=window.digitalData.form||{},window.digitalData.form.stepName="6 - "+e.identifier,!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar57",type:"value",value:"allianz.ch/checks/mut/pc#PostCardCreator"},{name:"eVar58",type:"value",value:"%digitalData.form.stepName%"},{name:"eVar238",type:"value",value:"%digitalData.event.value%"}],props:[{name:"prop1",type:"alias",value:"eVar1"},{name:"prop2",type:"alias",value:"eVar2"},{name:"prop13",type:"alias",value:"eVar13"},{name:"prop14",type:"alias",value:"eVar14"},{name:"prop35",type:"alias",value:"eVar35"},{name:"prop48",type:"alias",value:"eVar48"},{name:"prop36",type:"value",value:"%digitalData.user.tntId%%digitalData.user.tntId%"},{name:"prop37",type:"value",value:"%digitalData.user.4_factor_id%%digitalData.user.4_factor_id%"}],events:[{name:"event45"}],pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:","},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:","},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:","}],transactionID:"%digitalData.transaction.uniqueTransactionId%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form_event",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL037c6c0222594e51aebf108719b85c74",name:"AA: ELVIA HR StartQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Angaben"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/hausratversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-inventaire-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-casa",valueIsRegex:!0},{value:"/calculate-home-contents-insurance",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event103"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hr_startquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL7e9e3a1d560f43e6940d23447d2cc630",name:"DCR: auto_performance",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_performance"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC59f831abe9f144738daf884f18778896-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL26cd85d919914cc28b156d6a506e959c",name:"pageLoad trigger",events:[{modulePath:"core/src/lib/events/pageBottom.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"window.location.href",value:"tarif.allianz.ch.*",valueIsRegex:!0},negate:!0},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/.*/search/",valueIsRegex:!0}]},negate:!0},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"window.location.href",value:"tarif.cap.ch.*",valueIsRegex:!0},negate:!0},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianzglobalinvestors-service.ch"]},negate:!0},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["tarif.elvia.ch"]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"// Page Performance Times\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.page = window.digitalData.page || {};\nwindow.digitalData.page.pageInfo = window.digitalData.page.pageInfo || {};\nwindow.digitalData.page.pageInfo.performance = window.digitalData.page.pageInfo.performance || {};\n\n//window.console.log(\"****************** PAGE BOTTOM *******************\");\n\n_satellite.track('page_uiListeners');\n_satellite.track('page_uiEvent');\n\nvar ixcap = 20;\nvar ixval = setInterval(function(){\n    // loop to wait for times to be bigger than 0\n    if( window.performance.timing.loadEventEnd > 0 &&\n        window.performance.timing.navigationStart > 0 &&\n        window.performance.timing.responseEnd > 0 &&\n        window.performance.timing.requestStart > 0 &&\n        window.performance.timing.domComplete > 0 &&\n        window.performance.timing.domLoading > 0\n    ) {\n        clearInterval(ixval);\n\n        window.digitalData.page.pageInfo.performance.loadEventEnd = window.digitalData.page.pageInfo.performance.loadEventEnd || window.performance.timing.loadEventEnd;\n        window.digitalData.page.pageInfo.performance.navigationStart = window.digitalData.page.pageInfo.performance.navigationStart || window.performance.timing.navigationStart;\n        window.digitalData.page.pageInfo.performance.responseEnd = window.digitalData.page.pageInfo.performance.responseEnd || window.performance.timing.responseEnd;\n        window.digitalData.page.pageInfo.performance.requestStart = window.digitalData.page.pageInfo.performance.requestStart || window.performance.timing.requestStart;\n        window.digitalData.page.pageInfo.performance.domComplete = window.digitalData.page.pageInfo.performance.domComplete || window.performance.timing.domComplete;\n        window.digitalData.page.pageInfo.performance.domLoading = window.digitalData.page.pageInfo.performance.domLoading || window.performance.timing.domLoading;\n\n        window.digitalData.page.pageInfo.performance.aggregated = window.digitalData.page.pageInfo.performance.aggregated || 'loadEventEnd:'+window.digitalData.page.pageInfo.performance.loadEventEnd+\n        '|navigationStart:'+window.digitalData.page.pageInfo.performance.navigationStart+\n        '|responseEnd:'+window.digitalData.page.pageInfo.performance.responseEnd+\n        '|requestStart:'+window.digitalData.page.pageInfo.performance.requestStart+\n        '|domComplete:'+window.digitalData.page.pageInfo.performance.domComplete+\n        '|domLoading:'+window.digitalData.page.pageInfo.performance.domLoading;\n      \n        window.digitalData.page.pageInfo.performance.total = window.digitalData.page.pageInfo.performance.loadEventEnd - window.digitalData.page.pageInfo.performance.navigationStart;\n        window.digitalData.page.pageInfo.performance.network = window.digitalData.page.pageInfo.performance.responseEnd - window.digitalData.page.pageInfo.performance.navigationStart;\n        window.digitalData.page.pageInfo.performance.render = window.digitalData.page.pageInfo.performance.loadEventEnd - window.digitalData.page.pageInfo.performance.responseEnd;\n\n        _satellite.track('pageTracking');\n    }\n\n    ixcap--;\n    if(ixcap < 0) {\n        clearInterval(ixval);\n        _satellite.track('pageTracking');\n    }\n},500);",language:"javascript"}}]},{id:"RL4b0431bc4f1e4a69b546039d76f47728",name:"Search processing",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:100}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"/de/suche.html.*",valueIsRegex:!0},{value:"/fr/chercher.html.*",valueIsRegex:!0},{value:"/it/cerca.html.*",valueIsRegex:!0},{value:"/en/search.html.*",valueIsRegex:!0}]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"window.digitalData.search = window.digitalData.search || {};\n\nfunction emptyResult() {\n    window.digitalData.search.searchResults = 0;\n    _satellite.track('searchTrackingEmpty');\n}\n\nfunction getSearchTerm() {\n    // parse URL\n    var oUrl = window.AZCH_library.url.parseURL(window.location.href);\n    // break down the hash\n    var aHashParts = oUrl.hash.split('&');\n    // loop through hash parameters if any\n    for(var i=0;i<aHashParts.length;i++) {\n        var iSearchTermPosition = aHashParts[i].indexOf('searchTerm');\n        var iEqualPosition = aHashParts[i].indexOf('=');\n        // if there is searchTerm and =\n        if(iSearchTermPosition>=0 && iEqualPosition>=0 && iSearchTermPosition<iEqualPosition) {\n            launchLog('searchTerm: '+aHashParts[i].split('=')[1]);\n            // store the value\n            window.digitalData.search.searchTerm = decodeURIComponent(aHashParts[i].split('=')[1]);\n        }\n    }\n}\n\n// check if undefined, not string or empty string\nfunction initSearch() {\n    // check if function library is there\n    if( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.url === 'object' && typeof window.AZCH_library.url.parseURL === 'function') {\n        // wait for result\n        var icap = 6;\n        var ival = setInterval(function(){\n            // check if page search result is there\n            var dResultsExist = document.querySelector('.js-searchresult-header');\n            launchLog('dResultsExist: '+(dResultsExist!==null));\n            if(dResultsExist !== null) {\n                var bIsShown = (dResultsExist.style.display !== 'none');\n                launchLog('dResultsExist.style.display: \"'+dResultsExist.style.display+'\"');\n                if(bIsShown) {\n                    clearInterval(ival);\n                    // check for number of results\n                    var dResultHolder = document.querySelector('.c-search-result-header');\n                    launchLog('dResultHolder: '+(dResultHolder!==null));\n                    if(dResultHolder !== null) {\n                        var sResultHolder = dResultHolder.innerHTML;\n                        var iResultHolder = parseInt(sResultHolder);\n                        if(!isNaN(iResultHolder)) {\n                            window.digitalData.search.searchResults = iResultHolder;\n                            getSearchTerm();\n                            _satellite.track('searchTracking');\n                        }\n                    }\n                }\n                else launchLog('dResultsExist.style.display === \\'none\\'');\n            }\n            icap--;\n            if(icap<=0) {\n                clearInterval(ival);\n                launchLog('dResultsExist capped');\n                getSearchTerm();\n                emptyResult();\n            }\n        },500);\n    }\n    else {\n        _satellite.logger.log('window.AZCH_library.url.parseURL is not a function');\n        emptyResult();\n    }\n}\n\n// do initial search check\ninitSearch();\n\n// hook to search buttons, to re-init search\nvar jcap = 10;\nvar jval = setInterval(function(){\n    var aSearchButtons = document.querySelectorAll('.js-searchbar__search-button');\n    if(aSearchButtons.length > 0) {\n        clearInterval(jval);\n        for(var i=0;i<aSearchButtons.length;i++) {\n            aSearchButtons[i].removeEventListener('click',initSearch);\n            aSearchButtons[i].addEventListener('click',initSearch);\n        }\n    }\n    jcap--;\n    if(jcap<=0) {\n        clearInterval(jval);\n    }\n},500);",language:"javascript"}}]},{id:"RL6a9885bb2a2c4770aeb3efb10ef10e18",name:"AA + Gtag: ELVIA HR FirstQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"FirstQuote"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/hausratversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-inventaire-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-casa",valueIsRegex:!0},{value:"/calculate-home-contents-insurance",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event104"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hr_firstquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step2-firstquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia000+standard",enabled:!0}},callback:null}}]},{id:"RLb598a423cef54bbb96bd7f15ecceec8a",name:"DFA: AZCH_ELVIA_Online-Versicherung",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"online-versicherung",valueIsRegex:!0}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.siteSection",value:"Online-Versicherung",valueIsRegex:!0}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"elvia00"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6774922"},type:{key:"type",value:"rtgb"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RLa5ba5d0d9c5d4e81aa0445ea8e5b13bb",name:"AA: auto_firstQuote",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_firstQuote"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar118",type:"value",value:"%digitalData.quote.product.bundleVariation%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"auto_firstQuote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia000"},src:{key:"src",value:"6772588"},type:{key:"type",value:"mfsq-0"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL4950dd97c1914a28a68ee3f7fd1a3a2a",name:"AA: auto_purchase",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_purchase"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RCc74fa5b657214dddaf990623b759efc1-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.products=";"+_satellite.getVar("digitalData.quote.product.bundleVariation")+";1;"+_satellite.getVar("digitalData.product.price")+";event102;eVar118="+_satellite.getVar("digitalData.quote.product.bundleVariation")}},trackerProperties:{eVars:[{name:"eVar69",type:"value",value:"%digitalData.transaction.uniqueTransactionId%"}],events:[{name:"purchase"},{name:"event102"}],pageName:"%digitalData.page.pageInfo.pageName%",transactionID:"%digitalData.transaction.uniqueTransactionId%"}}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL5ac43571123548de9c7da11ee2d5653c",name:"DFA: AZCH_ALLIANZ_allianz-vorsorge-landingpage-action_FR",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.fullURL",value:"https://www.allianz.ch/fr/clients-prives/ldp/conseil-solution-prevoyance",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00-"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},
type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RLc3f5772ff87d42bda7c563b32d42cd50",name:"AA: page_interactionTracking",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"page_interactionTracking"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-mcid/src/lib/actions/setCustomerIds.js",settings:{customerIds:[{value:"%digitalData.user.userId%",hashType:"",authState:0,integrationCode:"azch_digitalID"}]}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar30",type:"value",value:"%digitalData.user.userId%"},{name:"eVar31",type:"value",value:"%digitalData.page.attributes.context%"},{name:"eVar32",type:"value",value:"%digitalData.page.attributes.version%"},{name:"eVar33",type:"value",value:"%digitalData.page.attributes.contentDeliveryNetwork%"},{name:"eVar34",type:"value",value:"%digitalData.page.attributes.lastModifiedDate%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar38",type:"value",value:"%digitalData.user.company%|"},{name:"eVar39",type:"value",value:"%digitalData.user.emailId %"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar41",type:"value",value:"%digitalData.user.city%|%digitalData.user.geo.state%|%digitalData.user.zip%|%digitalData.user.geo.country%|"},{name:"eVar45",type:"value",value:"%digitalData.user.gender%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar54",type:"value",value:"|%digitalData.user.consent.preferedCommunication%"},{name:"eVar57",type:"value",value:"%digitalData.forms.name%"},{name:"eVar58",type:"value",value:"%digitalData.forms.stepName%|%digitalData.forms.stepNumber%"},{name:"eVar59",type:"value",value:"%digitalData.forms.error%"},{name:"eVar140",type:"value",value:"%digitalData.marketingCampaign.external.amoid%"},{name:"eVar194",type:"value",value:"%digitalData.intermediary.name%"},{name:"eVar197",type:"value",value:"%digitalData.intermediary.type%"},{name:"eVar209",type:"value",value:"%digitalData.process.legalAcceptance.isTermsAndConditionsChecked%||"},{name:"eVar231",type:"value",value:"%digitalData.error.type%"},{name:"eVar232",type:"value",value:"%digitalData.error.code%"},{name:"eVar233",type:"value",value:"%digitalData.error.message%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event71",value:"%digitalData.page.pageInfo.performance.total%"},{name:"event72",value:"%digitalData.page.pageInfo.performance.network%"},{name:"event73",value:"%digitalData.page.pageInfo.performance.render%"}],server:"%digitalData.page.pageInfo.server%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"page_interaction",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL4d8d44a7fb814449b2b0c2387b38d52a",name:"2019 - Campaign - Mut-Postcard - Form Events",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.cardSelection"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.cardSelected"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.greetingcard"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.receiver"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.sender"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"mut2019.postcard.share"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(e){window.digitalData=window.digitalData||{},window.digitalData.form=window.digitalData.form||{};var t="";switch(e.identifier){case"mut2019.postcard.cardSelection":t="1 - "+e.identifier;break;case"mut2019.postcard.cardSelected":t="2 - "+e.identifier;break;case"mut2019.postcard.greetingcard":t="3 - "+e.identifier;break;case"mut2019.postcard.receiver":t="4 - "+e.identifier;break;case"mut2019.postcard.sender":t="5 - "+e.identifier;break;case"mut2019.postcard.share":t="7 - "+e.identifier}return window.digitalData.form.stepName=t,!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar57",type:"value",value:"allianz.ch/checks/mut/pc#PostCardCreator"},{name:"eVar58",type:"value",value:"%digitalData.form.stepName%"},{name:"eVar238",type:"value",value:"%digitalData.event.value%"}],props:[{name:"prop1",type:"alias",value:"eVar1"},{name:"prop2",type:"alias",value:"eVar2"},{name:"prop13",type:"alias",value:"eVar13"},{name:"prop14",type:"alias",value:"eVar14"},{name:"prop35",type:"alias",value:"eVar35"},{name:"prop48",type:"alias",value:"eVar48"},{name:"prop36",type:"value",value:"%digitalData.user.tntId%%digitalData.user.tntId%"},{name:"prop37",type:"value",value:"%digitalData.user.4_factor_id%%digitalData.user.4_factor_id%"}],events:[{name:"event43"}],pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:","},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:","},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:","}],transactionID:"%digitalData.transaction.uniqueTransactionId%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"form_event",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL8749c3f7879d4574a287a6aa3c3bbe79",name:"AA: Search tracking",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"searchTracking"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar19",type:"value",value:"%digitalData.search.searchTerm%"},{name:"eVar20",type:"value",value:"%digitalData.search.searchResults%"}],events:[{name:"event5"},{name:"event6",value:"%digitalData.search.searchResults%"}],channel:"%digitalData.page.pageInfo.siteSection%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"searchTracking",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL40eb7dc8e07c44219d1bed82dd443865",name:"[4] - AZCH Library",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:4}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{
source:'// Helper functions library\nwindow.AZCH_library = window.AZCH_library || {};\n\n// URL\nvar url = window.AZCH_library.url || {};\n\n// ref. https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values-in-javascript\nurl.getParameterByName = function(name, url) {\n    if (!url) url = window.top.location.href;\n    name = name.replace(/[\\[\\]]/g, \'\\\\$&\');\n    var regex = new RegExp(\'[?&]\' + name + \'(=([^&#]*)|&|#|$)\'), results = regex.exec(url);\n    if (!results) return \'\';\n    if (!results[2]) return \'\';\n    return decodeURIComponent(results[2].replace(/\\+/g, \' \'));\n};\n\n// ref. https://www.abeautifulsite.net/parsing-urls-in-javascript\nurl.parseURL = function(url) {\n    var oUrlParser = document.createElement(\'a\'), oSearch = {}, queries, split, i;\n    // Let the browser do the work\n    oUrlParser.href = url;\n    // Convert query string to object\n    queries = oUrlParser.search.replace(/^\\?/, \'\').split(\'&\');\n    for( i = 0; i < queries.length; i++ ) {\n        split = queries[i].split(\'=\');\n        oSearch[split[0]] = split[1];\n    }\n    return {\n        protocol: oUrlParser.protocol,\n        host: oUrlParser.host,\n        hostname: oUrlParser.hostname,\n        port: oUrlParser.port,\n        pathname: oUrlParser.pathname,\n        search: oUrlParser.search,\n        oSearch: oSearch,\n        hash: oUrlParser.hash\n    };\n}\n\nurl.extractHostname = function (url) {\n    var hostname;\n    //find & remove protocol (http, ftp, etc.) and get hostname\n\n    if (url.indexOf(\'://\') > -1) hostname = url.split(\'/\')[2];\n    else hostname = url.split(\'/\')[0];\n\n    //find & remove port number\n    hostname = hostname.split(\':\')[0];\n    //find & remove "?"\n    hostname = hostname.split(\'?\')[0];\n\n    return hostname;\n}\n\nurl.extractRootDomain = function (url) {\n    var domain = window.AZCH_library.url.extractHostname(url), splitArr = domain.split(\'.\'), arrLen = splitArr.length;\n\n    //extracting the root domain here\n    //if there is a subdomain \n    if (arrLen > 2) {\n        domain = splitArr[arrLen - 2] + \'.\' + splitArr[arrLen - 1];\n        //check to see if it\'s using a Country Code Top Level Domain (ccTLD) (i.e. ".me.uk")\n        if (splitArr[arrLen - 2].length == 2 && splitArr[arrLen - 1].length == 2) domain = splitArr[arrLen - 3] + \'.\' + domain;\n    }\n    return domain;\n}\n\nurl.extractRootDomainFromHost = function (host) {\n    var domain = host, splitArr = domain.split(\'.\'), arrLen = splitArr.length;\n\n    //extracting the root domain here\n    //if there is a subdomain \n    if (arrLen > 2) {\n        domain = splitArr[arrLen - 2] + \'.\' + splitArr[arrLen - 1];\n        //check to see if it\'s using a Country Code Top Level Domain (ccTLD) (i.e. ".me.uk")\n        if (splitArr[arrLen - 2].length == 2 && splitArr[arrLen - 1].length == 2) domain = splitArr[arrLen - 3] + \'.\' + domain;\n    }\n    return domain;\n}\n\n/**\n * function to skip page tracking for selected pageNames\n * the list of pages to skip is taken from AZCH_Config.skipPages array\n *\n * @param  pageName string  should contain valid name of the page\n * @return          boolean represents if the page tracking for this URL should be skipped or not\n */\nurl.skipThisPage = function(pageName) {\n    // check if pageName is really a string and is not empty\n    if( typeof pageName === \'string\') {\n        // check the AZCH_Config.skipPages exists and is array\n        if( typeof window.AZCH_Config === \'object\' &&\n            typeof window.AZCH_Config.skipPages === \'object\' &&\n            Array.isArray(window.AZCH_Config.skipPages)\n        ) {\n            for(var i=0;i<window.AZCH_Config.skipPages.length;i++) {\n                if( typeof window.AZCH_Config.skipPages[i] === \'string\' ) {\n                    if( pageName === window.AZCH_Config.skipPages[i] ) return true;\n                }\n            }\n        }\n        else launchLog(\'there is issue with window.AZCH_Config.skipPages\');\n    }\n    else launchLog(\'pageName is typeof \'+ (typeof pageName) + \', expected string\');\n    \n    return false;\n}\nwindow.AZCH_library.url = url;\n\n// Scroll\nvar scroll = window.AZCH_library.scroll || {};\n\n/*\n * function triggered after reaching scroll treshold\n * triggers page_scroll rule/tracking\n * @param value float one of the tresholds\n */\nscroll.reaching = function(value) {\n    launchLog(\'scroll reached \'+value);\n    window.digitalData.engagement.scroll.semaphore++;\n    window.digitalData.engagement.scroll.reached.push(value);\n    setTimeout(function(){\n        window.digitalData.engagement.pageScrollDepth = value;\n        _satellite.track(\'page_scroll\');\n        window.digitalData.engagement.scroll.semaphore--;\n    },(750*window.digitalData.engagement.scroll.semaphore));\n}\n\n/**\n * event handler function for scrolling\n * calls window.AZCH_library.scroll.reaching whenever treshold is reached\n */\nscroll.aaScroll = function() {\n    launchLog(\'scroll::\',\'scroll\');\n    var currentBot = document.documentElement.clientHeight + window.pageYOffset;\n    var maxBot = Math.max(document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.offsetHeight, document.body.clientHeight, document.documentElement.clientHeight );\n\n    var percentages = currentBot / maxBot;\n\n    for(var i=0;i<window.digitalData.engagement.scroll.tresholds.length;i++) {\n        if(percentages >= window.digitalData.engagement.scroll.tresholds[i]) {\n            if(window.digitalData.engagement.scroll.reached.length > 0) {\n                var found = false;\n                for(var j=0;j<window.digitalData.engagement.scroll.reached.length;j++) {\n                    if(window.digitalData.engagement.scroll.tresholds[i]==window.digitalData.engagement.scroll.reached[j]) found=true;\n                }\n                if(!found) window.AZCH_library.scroll.reaching( window.digitalData.engagement.scroll.tresholds[i] );\n            }\n            else window.AZCH_library.scroll.reaching( window.digitalData.engagement.scroll.tresholds[i] );\n        }\n    }\n};\nwindow.AZCH_library.scroll = scroll;\n\n// Log\nvar log = window.AZCH_library.log || {};\n/**\n * wrapper for _satellite.logger.log to prefix console messages\n */\nlog.launchLog = function(prefix,msg) {\n    if(typeof prefix === \'string\') {\n        if(prefix.length > 0) {\n            if(typeof msg === \'string\') _satellite.logger.log(prefix+msg);\n            else {\n                _satellite.logger.log(prefix);\n                console.log(msg);\n            }\n        }\n        else _satellite.logger.error(\'Prefix in this rule is empty string.\');\n    }\n    else _satellite.logger.error(\'Prefix in this rule is not a string.\');\n};\nwindow.AZCH_library.log = log;\nwindow.launchLog = window.launchLog || window.AZCH_library.log.launchLog;\n\n\n\n//prepare namespace for cryptolib -- assign later\nvar cryptolib = window.AZCH_library.crypto || {};\n\n// Reference Implementation from Stanfort\n// ref. https://bitwiseshiftleft.github.io/sjcl/\n"use strict";var sjcl={cipher:{},hash:{},keyexchange:{},mode:{},misc:{},codec:{},exception:{corrupt:function(a){this.toString=function(){return"CORRUPT: "+this.message};this.message=a},invalid:function(a){this.toString=function(){return"INVALID: "+this.message};this.message=a},bug:function(a){this.toString=function(){return"BUG: "+this.message};this.message=a},notReady:function(a){this.toString=function(){return"NOT READY: "+this.message};this.message=a}}};\nsjcl.cipher.aes=function(a){this.s[0][0][0]||this.O();var b,c,d,e,f=this.s[0][4],g=this.s[1];b=a.length;var h=1;if(4!==b&&6!==b&&8!==b)throw new sjcl.exception.invalid("invalid aes key size");this.b=[d=a.slice(0),e=[]];for(a=b;a<4*b+28;a++){c=d[a-1];if(0===a%b||8===b&&4===a%b)c=f[c>>>24]<<24^f[c>>16&255]<<16^f[c>>8&255]<<8^f[c&255],0===a%b&&(c=c<<8^c>>>24^h<<24,h=h<<1^283*(h>>7));d[a]=d[a-b]^c}for(b=0;a;b++,a--)c=d[b&3?a:a-4],e[b]=4>=a||4>b?c:g[0][f[c>>>24]]^g[1][f[c>>16&255]]^g[2][f[c>>8&255]]^g[3][f[c&\n255]]};\nsjcl.cipher.aes.prototype={encrypt:function(a){return t(this,a,0)},decrypt:function(a){return t(this,a,1)},s:[[[],[],[],[],[]],[[],[],[],[],[]]],O:function(){var a=this.s[0],b=this.s[1],c=a[4],d=b[4],e,f,g,h=[],k=[],l,n,m,p;for(e=0;0x100>e;e++)k[(h[e]=e<<1^283*(e>>7))^e]=e;for(f=g=0;!c[f];f^=l||1,g=k[g]||1)for(m=g^g<<1^g<<2^g<<3^g<<4,m=m>>8^m&255^99,c[f]=m,d[m]=f,n=h[e=h[l=h[f]]],p=0x1010101*n^0x10001*e^0x101*l^0x1010100*f,n=0x101*h[m]^0x1010100*m,e=0;4>e;e++)a[e][f]=n=n<<24^n>>>8,b[e][m]=p=p<<24^p>>>8;for(e=\n0;5>e;e++)a[e]=a[e].slice(0),b[e]=b[e].slice(0)}};\nfunction t(a,b,c){if(4!==b.length)throw new sjcl.exception.invalid("invalid aes block size");var d=a.b[c],e=b[0]^d[0],f=b[c?3:1]^d[1],g=b[2]^d[2];b=b[c?1:3]^d[3];var h,k,l,n=d.length/4-2,m,p=4,r=[0,0,0,0];h=a.s[c];a=h[0];var q=h[1],v=h[2],w=h[3],x=h[4];for(m=0;m<n;m++)h=a[e>>>24]^q[f>>16&255]^v[g>>8&255]^w[b&255]^d[p],k=a[f>>>24]^q[g>>16&255]^v[b>>8&255]^w[e&255]^d[p+1],l=a[g>>>24]^q[b>>16&255]^v[e>>8&255]^w[f&255]^d[p+2],b=a[b>>>24]^q[e>>16&255]^v[f>>8&255]^w[g&255]^d[p+3],p+=4,e=h,f=k,g=l;for(m=\n0;4>m;m++)r[c?3&-m:m]=x[e>>>24]<<24^x[f>>16&255]<<16^x[g>>8&255]<<8^x[b&255]^d[p++],h=e,e=f,f=g,g=b,b=h;return r}\nsjcl.bitArray={bitSlice:function(a,b,c){a=sjcl.bitArray.$(a.slice(b/32),32-(b&31)).slice(1);return void 0===c?a:sjcl.bitArray.clamp(a,c-b)},extract:function(a,b,c){var d=Math.floor(-b-c&31);return((b+c-1^b)&-32?a[b/32|0]<<32-d^a[b/32+1|0]>>>d:a[b/32|0]>>>d)&(1<<c)-1},concat:function(a,b){if(0===a.length||0===b.length)return a.concat(b);var c=a[a.length-1],d=sjcl.bitArray.getPartial(c);return 32===d?a.concat(b):sjcl.bitArray.$(b,d,c|0,a.slice(0,a.length-1))},bitLength:function(a){var b=a.length;return 0===\nb?0:32*(b-1)+sjcl.bitArray.getPartial(a[b-1])},clamp:function(a,b){if(32*a.length<b)return a;a=a.slice(0,Math.ceil(b/32));var c=a.length;b=b&31;0<c&&b&&(a[c-1]=sjcl.bitArray.partial(b,a[c-1]&2147483648>>b-1,1));return a},partial:function(a,b,c){return 32===a?b:(c?b|0:b<<32-a)+0x10000000000*a},getPartial:function(a){return Math.round(a/0x10000000000)||32},equal:function(a,b){if(sjcl.bitArray.bitLength(a)!==sjcl.bitArray.bitLength(b))return!1;var c=0,d;for(d=0;d<a.length;d++)c|=a[d]^b[d];return 0===\nc},$:function(a,b,c,d){var e;e=0;for(void 0===d&&(d=[]);32<=b;b-=32)d.push(c),c=0;if(0===b)return d.concat(a);for(e=0;e<a.length;e++)d.push(c|a[e]>>>b),c=a[e]<<32-b;e=a.length?a[a.length-1]:0;a=sjcl.bitArray.getPartial(e);d.push(sjcl.bitArray.partial(b+a&31,32<b+a?c:d.pop(),1));return d},i:function(a,b){return[a[0]^b[0],a[1]^b[1],a[2]^b[2],a[3]^b[3]]},byteswapM:function(a){var b,c;for(b=0;b<a.length;++b)c=a[b],a[b]=c>>>24|c>>>8&0xff00|(c&0xff00)<<8|c<<24;return a}};\nsjcl.codec.utf8String={fromBits:function(a){var b="",c=sjcl.bitArray.bitLength(a),d,e;for(d=0;d<c/8;d++)0===(d&3)&&(e=a[d/4]),b+=String.fromCharCode(e>>>8>>>8>>>8),e<<=8;return decodeURIComponent(escape(b))},toBits:function(a){a=unescape(encodeURIComponent(a));var b=[],c,d=0;for(c=0;c<a.length;c++)d=d<<8|a.charCodeAt(c),3===(c&3)&&(b.push(d),d=0);c&3&&b.push(sjcl.bitArray.partial(8*(c&3),d));return b}};\nsjcl.codec.hex={fromBits:function(a){var b="",c;for(c=0;c<a.length;c++)b+=((a[c]|0)+0xf00000000000).toString(16).substr(4);return b.substr(0,sjcl.bitArray.bitLength(a)/4)},toBits:function(a){var b,c=[],d;a=a.replace(/\\s|0x/g,"");d=a.length;a=a+"00000000";for(b=0;b<a.length;b+=8)c.push(parseInt(a.substr(b,8),16)^0);return sjcl.bitArray.clamp(c,4*d)}};\nsjcl.codec.base32={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",X:"0123456789ABCDEFGHIJKLMNOPQRSTUV",BITS:32,BASE:5,REMAINING:27,fromBits:function(a,b,c){var d=sjcl.codec.base32.BASE,e=sjcl.codec.base32.REMAINING,f="",g=0,h=sjcl.codec.base32.B,k=0,l=sjcl.bitArray.bitLength(a);c&&(h=sjcl.codec.base32.X);for(c=0;f.length*d<l;)f+=h.charAt((k^a[c]>>>g)>>>e),g<d?(k=a[c]<<d-g,g+=e,c++):(k<<=d,g-=d);for(;f.length&7&&!b;)f+="=";return f},toBits:function(a,b){a=a.replace(/\\s|=/g,"").toUpperCase();var c=sjcl.codec.base32.BITS,\nd=sjcl.codec.base32.BASE,e=sjcl.codec.base32.REMAINING,f=[],g,h=0,k=sjcl.codec.base32.B,l=0,n,m="base32";b&&(k=sjcl.codec.base32.X,m="base32hex");for(g=0;g<a.length;g++){n=k.indexOf(a.charAt(g));if(0>n){if(!b)try{return sjcl.codec.base32hex.toBits(a)}catch(p){}throw new sjcl.exception.invalid("this isn\'t "+m+"!");}h>e?(h-=e,f.push(l^n>>>h),l=n<<c-h):(h+=d,l^=n<<c-h)}h&56&&f.push(sjcl.bitArray.partial(h&56,l,1));return f}};\nsjcl.codec.base32hex={fromBits:function(a,b){return sjcl.codec.base32.fromBits(a,b,1)},toBits:function(a){return sjcl.codec.base32.toBits(a,1)}};\nsjcl.codec.base64={B:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fromBits:function(a,b,c){var d="",e=0,f=sjcl.codec.base64.B,g=0,h=sjcl.bitArray.bitLength(a);c&&(f=f.substr(0,62)+"-_");for(c=0;6*d.length<h;)d+=f.charAt((g^a[c]>>>e)>>>26),6>e?(g=a[c]<<6-e,e+=26,c++):(g<<=6,e-=6);for(;d.length&3&&!b;)d+="=";return d},toBits:function(a,b){a=a.replace(/\\s|=/g,"");var c=[],d,e=0,f=sjcl.codec.base64.B,g=0,h;b&&(f=f.substr(0,62)+"-_");for(d=0;d<a.length;d++){h=f.indexOf(a.charAt(d));\nif(0>h)throw new sjcl.exception.invalid("this isn\'t base64!");26<e?(e-=26,c.push(g^h>>>e),g=h<<32-e):(e+=6,g^=h<<32-e)}e&56&&c.push(sjcl.bitArray.partial(e&56,g,1));return c}};sjcl.codec.base64url={fromBits:function(a){return sjcl.codec.base64.fromBits(a,1,1)},toBits:function(a){return sjcl.codec.base64.toBits(a,1)}};sjcl.hash.sha256=function(a){this.b[0]||this.O();a?(this.F=a.F.slice(0),this.A=a.A.slice(0),this.l=a.l):this.reset()};sjcl.hash.sha256.hash=function(a){return(new sjcl.hash.sha256).update(a).finalize()};\nsjcl.hash.sha256.prototype={blockSize:512,reset:function(){this.F=this.Y.slice(0);this.A=[];this.l=0;return this},update:function(a){"string"===typeof a&&(a=sjcl.codec.utf8String.toBits(a));var b,c=this.A=sjcl.bitArray.concat(this.A,a);b=this.l;a=this.l=b+sjcl.bitArray.bitLength(a);if(0x1fffffffffffff<a)throw new sjcl.exception.invalid("Cannot hash more than 2^53 - 1 bits");if("undefined"!==typeof Uint32Array){var d=new Uint32Array(c),e=0;for(b=512+b-(512+b&0x1ff);b<=a;b+=512)u(this,d.subarray(16*e,\n16*(e+1))),e+=1;c.splice(0,16*e)}else for(b=512+b-(512+b&0x1ff);b<=a;b+=512)u(this,c.splice(0,16));return this},finalize:function(){var a,b=this.A,c=this.F,b=sjcl.bitArray.concat(b,[sjcl.bitArray.partial(1,1)]);for(a=b.length+2;a&15;a++)b.push(0);b.push(Math.floor(this.l/0x100000000));for(b.push(this.l|0);b.length;)u(this,b.splice(0,16));this.reset();return c},Y:[],b:[],O:function(){function a(a){return 0x100000000*(a-Math.floor(a))|0}for(var b=0,c=2,d,e;64>b;c++){e=!0;for(d=2;d*d<=c;d++)if(0===c%d){e=\n!1;break}e&&(8>b&&(this.Y[b]=a(Math.pow(c,.5))),this.b[b]=a(Math.pow(c,1/3)),b++)}}};\nfunction u(a,b){var c,d,e,f=a.F,g=a.b,h=f[0],k=f[1],l=f[2],n=f[3],m=f[4],p=f[5],r=f[6],q=f[7];for(c=0;64>c;c++)16>c?d=b[c]:(d=b[c+1&15],e=b[c+14&15],d=b[c&15]=(d>>>7^d>>>18^d>>>3^d<<25^d<<14)+(e>>>17^e>>>19^e>>>10^e<<15^e<<13)+b[c&15]+b[c+9&15]|0),d=d+q+(m>>>6^m>>>11^m>>>25^m<<26^m<<21^m<<7)+(r^m&(p^r))+g[c],q=r,r=p,p=m,m=n+d|0,n=l,l=k,k=h,h=d+(k&l^n&(k^l))+(k>>>2^k>>>13^k>>>22^k<<30^k<<19^k<<10)|0;f[0]=f[0]+h|0;f[1]=f[1]+k|0;f[2]=f[2]+l|0;f[3]=f[3]+n|0;f[4]=f[4]+m|0;f[5]=f[5]+p|0;f[6]=f[6]+r|0;f[7]=\nf[7]+q|0}\nsjcl.mode.ccm={name:"ccm",G:[],listenProgress:function(a){sjcl.mode.ccm.G.push(a)},unListenProgress:function(a){a=sjcl.mode.ccm.G.indexOf(a);-1<a&&sjcl.mode.ccm.G.splice(a,1)},fa:function(a){var b=sjcl.mode.ccm.G.slice(),c;for(c=0;c<b.length;c+=1)b[c](a)},encrypt:function(a,b,c,d,e){var f,g=b.slice(0),h=sjcl.bitArray,k=h.bitLength(c)/8,l=h.bitLength(g)/8;e=e||64;d=d||[];if(7>k)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(f=2;4>f&&l>>>8*f;f++);f<15-k&&(f=15-k);c=h.clamp(c,\n8*(15-f));b=sjcl.mode.ccm.V(a,b,c,d,e,f);g=sjcl.mode.ccm.C(a,g,c,b,e,f);return h.concat(g.data,g.tag)},decrypt:function(a,b,c,d,e){e=e||64;d=d||[];var f=sjcl.bitArray,g=f.bitLength(c)/8,h=f.bitLength(b),k=f.clamp(b,h-e),l=f.bitSlice(b,h-e),h=(h-e)/8;if(7>g)throw new sjcl.exception.invalid("ccm: iv must be at least 7 bytes");for(b=2;4>b&&h>>>8*b;b++);b<15-g&&(b=15-g);c=f.clamp(c,8*(15-b));k=sjcl.mode.ccm.C(a,k,c,l,e,b);a=sjcl.mode.ccm.V(a,k.data,c,d,e,b);if(!f.equal(k.tag,a))throw new sjcl.exception.corrupt("ccm: tag doesn\'t match");\nreturn k.data},na:function(a,b,c,d,e,f){var g=[],h=sjcl.bitArray,k=h.i;d=[h.partial(8,(b.length?64:0)|d-2<<2|f-1)];d=h.concat(d,c);d[3]|=e;d=a.encrypt(d);if(b.length)for(c=h.bitLength(b)/8,65279>=c?g=[h.partial(16,c)]:0xffffffff>=c&&(g=h.concat([h.partial(16,65534)],[c])),g=h.concat(g,b),b=0;b<g.length;b+=4)d=a.encrypt(k(d,g.slice(b,b+4).concat([0,0,0])));return d},V:function(a,b,c,d,e,f){var g=sjcl.bitArray,h=g.i;e/=8;if(e%2||4>e||16<e)throw new sjcl.exception.invalid("ccm: invalid tag length");\nif(0xffffffff<d.length||0xffffffff<b.length)throw new sjcl.exception.bug("ccm: can\'t deal with 4GiB or more data");c=sjcl.mode.ccm.na(a,d,c,e,g.bitLength(b)/8,f);for(d=0;d<b.length;d+=4)c=a.encrypt(h(c,b.slice(d,d+4).concat([0,0,0])));return g.clamp(c,8*e)},C:function(a,b,c,d,e,f){var g,h=sjcl.bitArray;g=h.i;var k=b.length,l=h.bitLength(b),n=k/50,m=n;c=h.concat([h.partial(8,f-1)],c).concat([0,0,0]).slice(0,4);d=h.bitSlice(g(d,a.encrypt(c)),0,e);if(!k)return{tag:d,data:[]};for(g=0;g<k;g+=4)g>n&&(sjcl.mode.ccm.fa(g/\nk),n+=m),c[3]++,e=a.encrypt(c),b[g]^=e[0],b[g+1]^=e[1],b[g+2]^=e[2],b[g+3]^=e[3];return{tag:d,data:h.clamp(b,l)}}};\nsjcl.mode.ocb2={name:"ocb2",encrypt:function(a,b,c,d,e,f){if(128!==sjcl.bitArray.bitLength(c))throw new sjcl.exception.invalid("ocb iv must be 128 bits");var g,h=sjcl.mode.ocb2.S,k=sjcl.bitArray,l=k.i,n=[0,0,0,0];c=h(a.encrypt(c));var m,p=[];d=d||[];e=e||64;for(g=0;g+4<b.length;g+=4)m=b.slice(g,g+4),n=l(n,m),p=p.concat(l(c,a.encrypt(l(c,m)))),c=h(c);m=b.slice(g);b=k.bitLength(m);g=a.encrypt(l(c,[0,0,0,b]));m=k.clamp(l(m.concat([0,0,0]),g),b);n=l(n,l(m.concat([0,0,0]),g));n=a.encrypt(l(n,l(c,h(c))));\nd.length&&(n=l(n,f?d:sjcl.mode.ocb2.pmac(a,d)));return p.concat(k.concat(m,k.clamp(n,e)))},decrypt:function(a,b,c,d,e,f){if(128!==sjcl.bitArray.bitLength(c))throw new sjcl.exception.invalid("ocb iv must be 128 bits");e=e||64;var g=sjcl.mode.ocb2.S,h=sjcl.bitArray,k=h.i,l=[0,0,0,0],n=g(a.encrypt(c)),m,p,r=sjcl.bitArray.bitLength(b)-e,q=[];d=d||[];for(c=0;c+4<r/32;c+=4)m=k(n,a.decrypt(k(n,b.slice(c,c+4)))),l=k(l,m),q=q.concat(m),n=g(n);p=r-32*c;m=a.encrypt(k(n,[0,0,0,p]));m=k(m,h.clamp(b.slice(c),p).concat([0,\n0,0]));l=k(l,m);l=a.encrypt(k(l,k(n,g(n))));d.length&&(l=k(l,f?d:sjcl.mode.ocb2.pmac(a,d)));if(!h.equal(h.clamp(l,e),h.bitSlice(b,r)))throw new sjcl.exception.corrupt("ocb: tag doesn\'t match");return q.concat(h.clamp(m,p))},pmac:function(a,b){var c,d=sjcl.mode.ocb2.S,e=sjcl.bitArray,f=e.i,g=[0,0,0,0],h=a.encrypt([0,0,0,0]),h=f(h,d(d(h)));for(c=0;c+4<b.length;c+=4)h=d(h),g=f(g,a.encrypt(f(h,b.slice(c,c+4))));c=b.slice(c);128>e.bitLength(c)&&(h=f(h,d(h)),c=e.concat(c,[-2147483648,0,0,0]));g=f(g,c);\nreturn a.encrypt(f(d(f(h,d(h))),g))},S:function(a){return[a[0]<<1^a[1]>>>31,a[1]<<1^a[2]>>>31,a[2]<<1^a[3]>>>31,a[3]<<1^135*(a[0]>>>31)]}};\nsjcl.mode.gcm={name:"gcm",encrypt:function(a,b,c,d,e){var f=b.slice(0);b=sjcl.bitArray;d=d||[];a=sjcl.mode.gcm.C(!0,a,f,d,c,e||128);return b.concat(a.data,a.tag)},decrypt:function(a,b,c,d,e){var f=b.slice(0),g=sjcl.bitArray,h=g.bitLength(f);e=e||128;d=d||[];e<=h?(b=g.bitSlice(f,h-e),f=g.bitSlice(f,0,h-e)):(b=f,f=[]);a=sjcl.mode.gcm.C(!1,a,f,d,c,e);if(!g.equal(a.tag,b))throw new sjcl.exception.corrupt("gcm: tag doesn\'t match");return a.data},ka:function(a,b){var c,d,e,f,g,h=sjcl.bitArray.i;e=[0,0,\n0,0];f=b.slice(0);for(c=0;128>c;c++){(d=0!==(a[Math.floor(c/32)]&1<<31-c%32))&&(e=h(e,f));g=0!==(f[3]&1);for(d=3;0<d;d--)f[d]=f[d]>>>1|(f[d-1]&1)<<31;f[0]>>>=1;g&&(f[0]^=-0x1f000000)}return e},j:function(a,b,c){var d,e=c.length;b=b.slice(0);for(d=0;d<e;d+=4)b[0]^=0xffffffff&c[d],b[1]^=0xffffffff&c[d+1],b[2]^=0xffffffff&c[d+2],b[3]^=0xffffffff&c[d+3],b=sjcl.mode.gcm.ka(b,a);return b},C:function(a,b,c,d,e,f){var g,h,k,l,n,m,p,r,q=sjcl.bitArray;m=c.length;p=q.bitLength(c);r=q.bitLength(d);h=q.bitLength(e);\ng=b.encrypt([0,0,0,0]);96===h?(e=e.slice(0),e=q.concat(e,[1])):(e=sjcl.mode.gcm.j(g,[0,0,0,0],e),e=sjcl.mode.gcm.j(g,e,[0,0,Math.floor(h/0x100000000),h&0xffffffff]));h=sjcl.mode.gcm.j(g,[0,0,0,0],d);n=e.slice(0);d=h.slice(0);a||(d=sjcl.mode.gcm.j(g,h,c));for(l=0;l<m;l+=4)n[3]++,k=b.encrypt(n),c[l]^=k[0],c[l+1]^=k[1],c[l+2]^=k[2],c[l+3]^=k[3];c=q.clamp(c,p);a&&(d=sjcl.mode.gcm.j(g,h,c));a=[Math.floor(r/0x100000000),r&0xffffffff,Math.floor(p/0x100000000),p&0xffffffff];d=sjcl.mode.gcm.j(g,d,a);k=b.encrypt(e);\nd[0]^=k[0];d[1]^=k[1];d[2]^=k[2];d[3]^=k[3];return{tag:q.bitSlice(d,0,f),data:c}}};sjcl.misc.hmac=function(a,b){this.W=b=b||sjcl.hash.sha256;var c=[[],[]],d,e=b.prototype.blockSize/32;this.w=[new b,new b];a.length>e&&(a=b.hash(a));for(d=0;d<e;d++)c[0][d]=a[d]^909522486,c[1][d]=a[d]^1549556828;this.w[0].update(c[0]);this.w[1].update(c[1]);this.R=new b(this.w[0])};\nsjcl.misc.hmac.prototype.encrypt=sjcl.misc.hmac.prototype.mac=function(a){if(this.aa)throw new sjcl.exception.invalid("encrypt on already updated hmac called!");this.update(a);return this.digest(a)};sjcl.misc.hmac.prototype.reset=function(){this.R=new this.W(this.w[0]);this.aa=!1};sjcl.misc.hmac.prototype.update=function(a){this.aa=!0;this.R.update(a)};sjcl.misc.hmac.prototype.digest=function(){var a=this.R.finalize(),a=(new this.W(this.w[1])).update(a).finalize();this.reset();return a};\nsjcl.misc.pbkdf2=function(a,b,c,d,e){c=c||1E4;if(0>d||0>c)throw new sjcl.exception.invalid("invalid params to pbkdf2");"string"===typeof a&&(a=sjcl.codec.utf8String.toBits(a));"string"===typeof b&&(b=sjcl.codec.utf8String.toBits(b));e=e||sjcl.misc.hmac;a=new e(a);var f,g,h,k,l=[],n=sjcl.bitArray;for(k=1;32*l.length<(d||1);k++){e=f=a.encrypt(n.concat(b,[k]));for(g=1;g<c;g++)for(f=a.encrypt(f),h=0;h<f.length;h++)e[h]^=f[h];l=l.concat(e)}d&&(l=n.clamp(l,d));return l};\nsjcl.prng=function(a){this.c=[new sjcl.hash.sha256];this.m=[0];this.P=0;this.H={};this.N=0;this.U={};this.Z=this.f=this.o=this.ha=0;this.b=[0,0,0,0,0,0,0,0];this.h=[0,0,0,0];this.L=void 0;this.M=a;this.D=!1;this.K={progress:{},seeded:{}};this.u=this.ga=0;this.I=1;this.J=2;this.ca=0x10000;this.T=[0,48,64,96,128,192,0x100,384,512,768,1024];this.da=3E4;this.ba=80};\nsjcl.prng.prototype={randomWords:function(a,b){var c=[],d;d=this.isReady(b);var e;if(d===this.u)throw new sjcl.exception.notReady("generator isn\'t seeded");if(d&this.J){d=!(d&this.I);e=[];var f=0,g;this.Z=e[0]=(new Date).valueOf()+this.da;for(g=0;16>g;g++)e.push(0x100000000*Math.random()|0);for(g=0;g<this.c.length&&(e=e.concat(this.c[g].finalize()),f+=this.m[g],this.m[g]=0,d||!(this.P&1<<g));g++);this.P>=1<<this.c.length&&(this.c.push(new sjcl.hash.sha256),this.m.push(0));this.f-=f;f>this.o&&(this.o=\nf);this.P++;this.b=sjcl.hash.sha256.hash(this.b.concat(e));this.L=new sjcl.cipher.aes(this.b);for(d=0;4>d&&(this.h[d]=this.h[d]+1|0,!this.h[d]);d++);}for(d=0;d<a;d+=4)0===(d+1)%this.ca&&y(this),e=z(this),c.push(e[0],e[1],e[2],e[3]);y(this);return c.slice(0,a)},setDefaultParanoia:function(a,b){if(0===a&&"Setting paranoia=0 will ruin your security; use it only for testing"!==b)throw new sjcl.exception.invalid("Setting paranoia=0 will ruin your security; use it only for testing");this.M=a},addEntropy:function(a,\nb,c){c=c||"user";var d,e,f=(new Date).valueOf(),g=this.H[c],h=this.isReady(),k=0;d=this.U[c];void 0===d&&(d=this.U[c]=this.ha++);void 0===g&&(g=this.H[c]=0);this.H[c]=(this.H[c]+1)%this.c.length;switch(typeof a){case "number":void 0===b&&(b=1);this.c[g].update([d,this.N++,1,b,f,1,a|0]);break;case "object":c=Object.prototype.toString.call(a);if("[object Uint32Array]"===c){e=[];for(c=0;c<a.length;c++)e.push(a[c]);a=e}else for("[object Array]"!==c&&(k=1),c=0;c<a.length&&!k;c++)"number"!==typeof a[c]&&\n(k=1);if(!k){if(void 0===b)for(c=b=0;c<a.length;c++)for(e=a[c];0<e;)b++,e=e>>>1;this.c[g].update([d,this.N++,2,b,f,a.length].concat(a))}break;case "string":void 0===b&&(b=a.length);this.c[g].update([d,this.N++,3,b,f,a.length]);this.c[g].update(a);break;default:k=1}if(k)throw new sjcl.exception.bug("random: addEntropy only supports number, array of numbers or string");this.m[g]+=b;this.f+=b;h===this.u&&(this.isReady()!==this.u&&A("seeded",Math.max(this.o,this.f)),A("progress",this.getProgress()))},\nisReady:function(a){a=this.T[void 0!==a?a:this.M];return this.o&&this.o>=a?this.m[0]>this.ba&&(new Date).valueOf()>this.Z?this.J|this.I:this.I:this.f>=a?this.J|this.u:this.u},getProgress:function(a){a=this.T[a?a:this.M];return this.o>=a?1:this.f>a?1:this.f/a},startCollectors:function(){if(!this.D){this.a={loadTimeCollector:B(this,this.ma),mouseCollector:B(this,this.oa),keyboardCollector:B(this,this.la),accelerometerCollector:B(this,this.ea),touchCollector:B(this,this.qa)};if(window.addEventListener)window.addEventListener("load",\nthis.a.loadTimeCollector,!1),window.addEventListener("mousemove",this.a.mouseCollector,!1),window.addEventListener("keypress",this.a.keyboardCollector,!1),window.addEventListener("devicemotion",this.a.accelerometerCollector,!1),window.addEventListener("touchmove",this.a.touchCollector,!1);else if(document.attachEvent)document.attachEvent("onload",this.a.loadTimeCollector),document.attachEvent("onmousemove",this.a.mouseCollector),document.attachEvent("keypress",this.a.keyboardCollector);else throw new sjcl.exception.bug("can\'t attach event");\nthis.D=!0}},stopCollectors:function(){this.D&&(window.removeEventListener?(window.removeEventListener("load",this.a.loadTimeCollector,!1),window.removeEventListener("mousemove",this.a.mouseCollector,!1),window.removeEventListener("keypress",this.a.keyboardCollector,!1),window.removeEventListener("devicemotion",this.a.accelerometerCollector,!1),window.removeEventListener("touchmove",this.a.touchCollector,!1)):document.detachEvent&&(document.detachEvent("onload",this.a.loadTimeCollector),document.detachEvent("onmousemove",\nthis.a.mouseCollector),document.detachEvent("keypress",this.a.keyboardCollector)),this.D=!1)},addEventListener:function(a,b){this.K[a][this.ga++]=b},removeEventListener:function(a,b){var c,d,e=this.K[a],f=[];for(d in e)e.hasOwnProperty(d)&&e[d]===b&&f.push(d);for(c=0;c<f.length;c++)d=f[c],delete e[d]},la:function(){C(this,1)},oa:function(a){var b,c;try{b=a.x||a.clientX||a.offsetX||0,c=a.y||a.clientY||a.offsetY||0}catch(d){c=b=0}0!=b&&0!=c&&this.addEntropy([b,c],2,"mouse");C(this,0)},qa:function(a){a=\na.touches[0]||a.changedTouches[0];this.addEntropy([a.pageX||a.clientX,a.pageY||a.clientY],1,"touch");C(this,0)},ma:function(){C(this,2)},ea:function(a){a=a.accelerationIncludingGravity.x||a.accelerationIncludingGravity.y||a.accelerationIncludingGravity.z;if(window.orientation){var b=window.orientation;"number"===typeof b&&this.addEntropy(b,1,"accelerometer")}a&&this.addEntropy(a,2,"accelerometer");C(this,0)}};\nfunction A(a,b){var c,d=sjcl.random.K[a],e=[];for(c in d)d.hasOwnProperty(c)&&e.push(d[c]);for(c=0;c<e.length;c++)e[c](b)}function C(a,b){"undefined"!==typeof window&&window.performance&&"function"===typeof window.performance.now?a.addEntropy(window.performance.now(),b,"loadtime"):a.addEntropy((new Date).valueOf(),b,"loadtime")}function y(a){a.b=z(a).concat(z(a));a.L=new sjcl.cipher.aes(a.b)}function z(a){for(var b=0;4>b&&(a.h[b]=a.h[b]+1|0,!a.h[b]);b++);return a.L.encrypt(a.h)}\nfunction B(a,b){return function(){b.apply(a,arguments)}}sjcl.random=new sjcl.prng(6);\na:try{var D,E,F,G;if(G="undefined"!==typeof module&&module.exports){var H;try{H=require("crypto")}catch(a){H=null}G=E=H}if(G&&E.randomBytes)D=E.randomBytes(128),D=new Uint32Array((new Uint8Array(D)).buffer),sjcl.random.addEntropy(D,1024,"crypto[\'randomBytes\']");else if("undefined"!==typeof window&&"undefined"!==typeof Uint32Array){F=new Uint32Array(32);if(window.crypto&&window.crypto.getRandomValues)window.crypto.getRandomValues(F);else if(window.msCrypto&&window.msCrypto.getRandomValues)window.msCrypto.getRandomValues(F);\nelse break a;sjcl.random.addEntropy(F,1024,"crypto[\'getRandomValues\']")}}catch(a){"undefined"!==typeof window&&window.console&&(console.log("There was an error collecting entropy from the browser:"),console.log(a))}\nsjcl.json={defaults:{v:1,iter:1E4,ks:128,ts:64,mode:"ccm",adata:"",cipher:"aes"},ja:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json,f=e.g({iv:sjcl.random.randomWords(4,0)},e.defaults),g;e.g(f,c);c=f.adata;"string"===typeof f.salt&&(f.salt=sjcl.codec.base64.toBits(f.salt));"string"===typeof f.iv&&(f.iv=sjcl.codec.base64.toBits(f.iv));if(!sjcl.mode[f.mode]||!sjcl.cipher[f.cipher]||"string"===typeof a&&100>=f.iter||64!==f.ts&&96!==f.ts&&128!==f.ts||128!==f.ks&&192!==f.ks&&0x100!==f.ks||2>f.iv.length||\n4<f.iv.length)throw new sjcl.exception.invalid("json encrypt: invalid parameters");"string"===typeof a?(g=sjcl.misc.cachedPbkdf2(a,f),a=g.key.slice(0,f.ks/32),f.salt=g.salt):sjcl.ecc&&a instanceof sjcl.ecc.elGamal.publicKey&&(g=a.kem(),f.kemtag=g.tag,a=g.key.slice(0,f.ks/32));"string"===typeof b&&(b=sjcl.codec.utf8String.toBits(b));"string"===typeof c&&(f.adata=c=sjcl.codec.utf8String.toBits(c));g=new sjcl.cipher[f.cipher](a);e.g(d,f);d.key=a;f.ct="ccm"===f.mode&&sjcl.arrayBuffer&&sjcl.arrayBuffer.ccm&&\nb instanceof ArrayBuffer?sjcl.arrayBuffer.ccm.encrypt(g,b,f.iv,c,f.ts):sjcl.mode[f.mode].encrypt(g,b,f.iv,c,f.ts);return f},encrypt:function(a,b,c,d){var e=sjcl.json,f=e.ja.apply(e,arguments);return e.encode(f)},ia:function(a,b,c,d){c=c||{};d=d||{};var e=sjcl.json;b=e.g(e.g(e.g({},e.defaults),b),c,!0);var f,g;f=b.adata;"string"===typeof b.salt&&(b.salt=sjcl.codec.base64.toBits(b.salt));"string"===typeof b.iv&&(b.iv=sjcl.codec.base64.toBits(b.iv));if(!sjcl.mode[b.mode]||!sjcl.cipher[b.cipher]||"string"===\ntypeof a&&100>=b.iter||64!==b.ts&&96!==b.ts&&128!==b.ts||128!==b.ks&&192!==b.ks&&0x100!==b.ks||!b.iv||2>b.iv.length||4<b.iv.length)throw new sjcl.exception.invalid("json decrypt: invalid parameters");"string"===typeof a?(g=sjcl.misc.cachedPbkdf2(a,b),a=g.key.slice(0,b.ks/32),b.salt=g.salt):sjcl.ecc&&a instanceof sjcl.ecc.elGamal.secretKey&&(a=a.unkem(sjcl.codec.base64.toBits(b.kemtag)).slice(0,b.ks/32));"string"===typeof f&&(f=sjcl.codec.utf8String.toBits(f));g=new sjcl.cipher[b.cipher](a);f="ccm"===\nb.mode&&sjcl.arrayBuffer&&sjcl.arrayBuffer.ccm&&b.ct instanceof ArrayBuffer?sjcl.arrayBuffer.ccm.decrypt(g,b.ct,b.iv,b.tag,f,b.ts):sjcl.mode[b.mode].decrypt(g,b.ct,b.iv,f,b.ts);e.g(d,b);d.key=a;return 1===c.raw?f:sjcl.codec.utf8String.fromBits(f)},decrypt:function(a,b,c,d){var e=sjcl.json;return e.ia(a,e.decode(b),c,d)},encode:function(a){var b,c="{",d="";for(b in a)if(a.hasOwnProperty(b)){if(!b.match(/^[a-z0-9]+$/i))throw new sjcl.exception.invalid("json encode: invalid property name");c+=d+\'"\'+\nb+\'":\';d=",";switch(typeof a[b]){case "number":case "boolean":c+=a[b];break;case "string":c+=\'"\'+escape(a[b])+\'"\';break;case "object":c+=\'"\'+sjcl.codec.base64.fromBits(a[b],0)+\'"\';break;default:throw new sjcl.exception.bug("json encode: unsupported type");}}return c+"}"},decode:function(a){a=a.replace(/\\s/g,"");if(!a.match(/^\\{.*\\}$/))throw new sjcl.exception.invalid("json decode: this isn\'t json!");a=a.replace(/^\\{|\\}$/g,"").split(/,/);var b={},c,d;for(c=0;c<a.length;c++){if(!(d=a[c].match(/^\\s*(?:(["\']?)([a-z][a-z0-9]*)\\1)\\s*:\\s*(?:(-?\\d+)|"([a-z0-9+\\/%*_.@=\\-]*)"|(true|false))$/i)))throw new sjcl.exception.invalid("json decode: this isn\'t json!");\nnull!=d[3]?b[d[2]]=parseInt(d[3],10):null!=d[4]?b[d[2]]=d[2].match(/^(ct|adata|salt|iv)$/)?sjcl.codec.base64.toBits(d[4]):unescape(d[4]):null!=d[5]&&(b[d[2]]="true"===d[5])}return b},g:function(a,b,c){void 0===a&&(a={});if(void 0===b)return a;for(var d in b)if(b.hasOwnProperty(d)){if(c&&void 0!==a[d]&&a[d]!==b[d])throw new sjcl.exception.invalid("required parameter overridden");a[d]=b[d]}return a},sa:function(a,b){var c={},d;for(d in a)a.hasOwnProperty(d)&&a[d]!==b[d]&&(c[d]=a[d]);return c},ra:function(a,\nb){var c={},d;for(d=0;d<b.length;d++)void 0!==a[b[d]]&&(c[b[d]]=a[b[d]]);return c}};sjcl.encrypt=sjcl.json.encrypt;sjcl.decrypt=sjcl.json.decrypt;sjcl.misc.pa={};sjcl.misc.cachedPbkdf2=function(a,b){var c=sjcl.misc.pa,d;b=b||{};d=b.iter||1E3;c=c[a]=c[a]||{};d=c[d]=c[d]||{firstSalt:b.salt&&b.salt.length?b.salt.slice(0):sjcl.random.randomWords(2,0)};c=void 0===b.salt?d.firstSalt:b.salt;d[c]=d[c]||sjcl.misc.pbkdf2(a,c,b.iter);return{key:d[c].slice(0),salt:c.slice(0)}};\n"undefined"!==typeof module&&module.exports&&(module.exports=sjcl);"function"===typeof define&&define([],function(){return sjcl});\n\n//use Stanford Javascript Crypto Library as library\ncryptolib = sjcl;\nwindow.AZCH_library.crypto = cryptolib;',
language:"javascript"}}]},{id:"RL53574914dc364719a5357dbfe2bc3c58",name:"AA: health_firstQuote",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"health_firstQuote"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar123",type:"value",value:"%digitalData.quote.precaution.type%|%digitalData.quote.precaution.ageAtPayout%|%digitalData.quote.precaution.deathSumInsured%|%digitalData.quote.precaution.dateOfInceptionOfInsuranceCoverage%|%digitalData.quote.precaution.premiumWaitingPeriod%"},{name:"eVar124",type:"value",value:"%digitalData.quote.precaution.disabilityAccidentInsurance%|%digitalData.quote.precaution.disabilitySumInsured%|%digitalData.quote.precaution.paymentFrequency%||%digitalData.quote.precaution.residencePermit%"},{name:"eVar108",type:"value",value:"%digitalData.quote.policyHolderSmoker%|%digitalData.quote.policyHolderMedicalHistory%|%digitalData.quote.policyHolderOccupation%|%digitalData.quote.policyHolderHeight%|%digitalData.quote.policyHolderWeight%"},{name:"eVar118",type:"value",value:"%digitalData.quote.product.bundleVariation%"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"health_firstQuote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLd6ae1af071184681b30d953fae793c13",name:"SPA Content-View",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"content-view",bubbleFireIfParent:!1,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC6e9b771a44fb491f99b7690ce5a6b26b-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL04aad343c3764dc8a5b21442886fc871",name:"[16] - DataLayer Helper",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:16}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"// identify calculator\nvar calculator = '';\nif( window.location.href.indexOf('//tarif.allianz.ch/asu_cdn/apps/asu_momf-gui/')>=0 ) calculator = 'auto_pageView'; \nelse if(window.location.href.indexOf('//tarif.allianz.ch/asu_cdn/apps/asu_momr-gui/')>=0 ) calculator = 'moto_pageView';\nelse if(window.location.href.indexOf('//tarif.allianz.ch/asu_cdn/apps/asu_mokhh-gui/')>=0 ) calculator = 'haushalt_pageView';\nelse if(window.location.href.indexOf('//tarif.allianz.ch/asu_cdn/apps/asu_mors-gui/')>=0 ) calculator =  'reise_pageView';\nelse if(window.location.href.indexOf('//tarif.cap.ch/asu_cdn/apps/asu_mocap-gui/')>=0 ) calculator = 'legal_pageView';\nelse if(window.location.href.indexOf('//tarif.allianz.ch/asu_cdn/apps/asu_moel-gui/')>=0 ) calculator = 'health_pageView';\n\n// before anything happens, go through the dataLayer and fire old content-auto_pageView\nvar dataLayerCopy = [];\nif( typeof dataLayer === 'object' && Array.isArray(dataLayer)) dataLayerCopy = dataLayer;\nfor(var i=0;i<dataLayerCopy.length;i++) {\n    var entry = dataLayerCopy[i];\n    // check if the entry is content-view type\n    if( entry.event === 'content-view') {\n        if( typeof calculator === 'string' && calculator.length >=0 ) {\n            _satellite.track(calculator,{'pageName':entry['content-name']});\n        }\n    }\n}\n\n(function(){/*\n jQuery v1.9.1 (c) 2005, 2012\n jQuery Foundation, Inc. jquery.org/license.\n*/\nvar g=/\\[object (Boolean|Number|String|Function|Array|Date|RegExp)\\]/;function h(a){return null==a?String(a):(a=g.exec(Object.prototype.toString.call(Object(a))))?a[1].toLowerCase():\"object\"}function k(a,b){return Object.prototype.hasOwnProperty.call(Object(a),b)}function m(a){if(!a||\"object\"!=h(a)||a.nodeType||a==a.window)return!1;try{if(a.constructor&&!k(a,\"constructor\")&&!k(a.constructor.prototype,\"isPrototypeOf\"))return!1}catch(b){return!1}for(var c in a);return void 0===c||k(a,c)};/*\n Copyright 2012 Google Inc. All rights reserved. */\nfunction n(a,b,c){this.b=a;this.f=b||function(){};this.d=!1;this.a={};this.c=[];this.e=p(this);r(this,a,!c);var d=a.push,e=this;a.push=function(){var b=[].slice.call(arguments,0),c=d.apply(a,b);r(e,b);return c}}window.DataLayerHelper=n;n.prototype.get=function(a){var b=this.a;a=a.split(\".\");for(var c=0;c<a.length;c++){if(void 0===b[a[c]])return;b=b[a[c]]}return b};n.prototype.flatten=function(){this.b.splice(0,this.b.length);this.b[0]={};s(this.a,this.b[0])};\nfunction r(a,b,c){for(a.c.push.apply(a.c,b);!1===a.d&&0<a.c.length;){b=a.c.shift();if(\"array\"==h(b))a:{var d=b,e=a.a;if(\"string\"==h(d[0])){for(var f=d[0].split(\".\"),u=f.pop(),d=d.slice(1),l=0;l<f.length;l++){if(void 0===e[f[l]])break a;e=e[f[l]]}try{e[u].apply(e,d)}catch(v){}}}else if(\"function\"==typeof b)try{b.call(a.e)}catch(w){}else if(m(b))for(var q in b)s(t(q,b[q]),a.a);else continue;c||(a.d=!0,a.f(a.a,b),a.d=!1)}}\nfunction p(a){return{set:function(b,c){s(t(b,c),a.a)},get:function(b){return a.get(b)}}}function t(a,b){for(var c={},d=c,e=a.split(\".\"),f=0;f<e.length-1;f++)d=d[e[f]]={};d[e[e.length-1]]=b;return c}function s(a,b){for(var c in a)if(k(a,c)){var d=a[c];\"array\"==h(d)?(\"array\"==h(b[c])||(b[c]=[]),s(d,b[c])):m(d)?(m(b[c])||(b[c]={}),s(d,b[c])):b[c]=d}};})();\n\n/*polyfill*/\n(function () {\n    if( typeof window.CustomEvent === \"function\" ) return false;\n\n    function CustomEvent ( event, params ) {\n        params = params || { bubbles: false, cancelable: false, detail:  undefined };\n        var evt = document.createEvent( 'CustomEvent' );\n        evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail );\n        return evt;\n    }\n\n    CustomEvent.prototype = window.Event.prototype;\n    window.CustomEvent = CustomEvent;\n})();\n\nvar bFirstCall = true;\n\nfunction listener(model, message) {\n    //TODO add 2 if statements, if enginge is left or right bound\n    if (typeof message !== \"undefined\") {\n        if (typeof message.event !== \"undefined\") {\n            var svar = 'DataLayerHelper-'+message.event;\n            //var myEvent = new CustomEvent(svar, message);\n\n            //TODO not fire all events only specific ones and syntax check on event\n            var myEvent = new CustomEvent(message.event, message);\n\n            _satellite.setVar(svar,message);\n            if( message.event === 'content-view' ) {\n                // variables tracking in calculators\n                // TODO add to the datalayer.processid or datalayer.applicationid instead of the url\n                if( typeof calculator === 'string' && calculator.length >=0) {\n                    _satellite.track(calculator, {'pageName':message['content-name']});\n                }\n\n                // reset premiumData\n                bFirstCall = true;\n              \n                // monitor interaction elements\n                /* Disabled by Ralph - data Quality Issue\n                _satellite.track('page_uiListeners');\n                (function(){\n                    var icap = 10;\n                    var ival = setInterval(function(){\n                        _satellite.track('page_uiEvent');\n                        icap--;\n                        if(icap<0) clearInterval(ival);\n                    },1000);\n                })();\n                */\n            }\n            /* Disabled by Ralph - data Quality Issue\n              else if(message.event === 'interaction') {\n                _satellite.logger.log('DataLayer Helper: interaction in the dataLayer');\n                window.digitalData = window.digitalData || {};\n                window.digitalData.event = window.digitalData.event || {};\n                window.digitalData.event.action = null;\n                window.digitalData.event.label = null;\n                window.digitalData.event.type = null;\n                _satellite.track('page_dlInteraction');\n            } \n            */\n\n            //assuming productPremiumData1, productPremiumData2 is already fired\n            //Todo: check if this only true\n            else if(message.event === 'productPremiumData3') {\n                if(bFirstCall) {\n                    _satellite.logger.log('first premium call');\n                    _satellite.track('page_productPremiumData');\n                }    \n                else {\n                    _satellite.logger.log('later premium call');\n                    _satellite.track('page_modifyPremiumData');\n                }\n                bFirstCall = false;\n            }\n            // No Revited\n            /* ROMAN PLEASE DO NOT ENABLE THIS\n            /* THIS IS VERY BAD GOOGLE ANALYTICS CODE\n            else if(message.event === 'Riveted') {\n               _satellite.logger.log('DataLayer Helper: Revited in the dataLayer');\n               _satellite.track('page_riveted');\n            }*/\n            try {\n                if( myEvent != null ){\n                    window.dispatchEvent(myEvent);  \n                    // direct call from google events\n                    // this is triggering non existing code, so @rbronis disabled it\n                    // if necessary, re-enable it\n                    // _satellite.track(message.event, message)\n                }\n            }\n            catch (error){\n                _satellite.logger.log(error);\n            }\n        }\n    }\n}\n\nwindow.dataLayer = window.dataLayer || [];\nvar helper = new DataLayerHelper(window.dataLayer, listener);",language:"javascript"}}]},{id:"RL72a5a04a2db54b9ca7c177b15afd79a3",name:"DFA: AZCH_ELVIA_Versicherung-wechseln",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"versicherung-wechseln",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"elvia001"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6774922"},type:{key:"type",value:"rtgb"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL4d547d1562374b3f973814314f0edfd4",name:"DFA: AZCH_ALLIANZ_allianz-vorsorge-landingpage-action-form-finish_DE",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"digitalData.application.virtualPageName"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"azberatung_PKd/abschlussseite",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"window.digitalData.page.pageInfo.fullURL",value:"https://www.allianz.ch/de/privatkunden/ldp/vorsorge-loesung-beratung",valueIsRegex:!0}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00g"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RLcc2c675c96b8436cbc2e2251dbb7d2d2",name:"AA: auto_angaben",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_angaben"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar100",type:"value",value:"|%digitalData.quote.coverage.objects.vehicle[n].modelType%|%digitalData.quote.coverage.objects.vehicle[n].make%|%digitalData.quote.coverage.objects.vehicle[n].model%|%digitalData.quote.coverage.objects.vehicle.category%||%digitalData.quote.coverage.objects.vehicle.value%"},{name:"eVar115",type:"value",value:"%digitalData.quote.coverage.objects.vehicle.firstRegistrationDate%"},{name:"eVar44",type:"value",value:"%digitalData.user.age%"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"}],events:[{name:"event104"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"auto_angaben",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia000"},src:{key:"src",value:"6772588"},type:{key:"type",value:"mfsq-0"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL72323e2c238c445f8440b04f583b0ab4",name:"AA + Gtag: ELVIA PH Sale",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haftpflichtversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-responsabilite-civile",valueIsRegex:!0},{value:"/calcolo-assicurazione-responsibilita-civile",valueIsRegex:!0},{value:"/calculate-liability-insurance",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"sale"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event102;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="sale,event102",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event102"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_ph_sale",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step4-ihrepraemie|offer",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia002+standard",enabled:!0}},callback:null}}]},{id:"RL425df33cd2004a55bf1d0f74caa73e53",name:"Adobe Target v2",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(){switch(window.location.hostname.split(".").reverse()[1]){case"allianz":return"target.allianz.ch";case"elvia":return"target.elvia.ch";case"cap":return"target.cap.ch";default:return"onemarketingazeu.tt.omtrdc.net"}}var t={name:"mbox3rdpartyid-api",version:"1.0.1",timeout:500,provider:function(e){var t="assets.allianz.ch",a="";if("undefined"!=window.AZCH_library){var n=window.AZCH_library.url.parseURL(window.location).hostname,i=window.AZCH_library.url.extractRootDomain(n);"undefined"!=typeof window.AZCH_Config.brands[i]&&(t=window.AZCH_Config.brands[i].launchserver),0<(a=window.AZCH_library.url.getParameterByName("icd")).length&&(a="?icd="+a)}var r="https://"+t+"/mbox3rdpartyid"+a,o={},s=sessionStorage.getItem("mbox3rdpartyid");if(null==s){var l=new XMLHttpRequest;l.open("GET",r,!0),l.onreadystatechange=function(){4==l.readyState&&"200"==l.status&&(o=JSON.parse(l.responseText),e(null,{mbox3rdPartyId:o.mbox3rdpartyid}),sessionStorage.setItem("mbox3rdpartyid",o.mbox3rdpartyid),s=o.mbox3rdpartyid)},l.send(null)}else e(null,{mbox3rdPartyId:sessionStorage.getItem("mbox3rdpartyid")});window.digitalData=window.digitalData||{},window.digitalData.user=window.digitalData.user||{},window.digitalData.user.thirdPartyId=s}},a={name:"targetgeoprovider",version:"1.0.0",timeout:500,provider:function(){function o(e){return e===undefined||null==e||e.length<=0}document.addEventListener(adobe.target.event.REQUEST_SUCCEEDED,function(e){var t=e.detail.responseTokens;if(!o(t)){token=t[0];var a=token["geo.city"],n=token["geo.country"],i=token["geo.state"],r=token["profile.tntId"];window.digitalData=window.digitalData||{},window.digitalData.user=window.digitalData.user||{},window.digitalData.user.tntId=r,window.geo={},window.geo.city=a,window.geo.country=n,window.digitalData.user.geo=window.digitalData.user.geo||{},window.digitalData.user.geo.city=a,window.digitalData.user.geo.state=i,window.digitalData.user.geo.country=n}})}};return window.targetGlobalSettings={serverDomain:e(),dataProviders:[t,a]},!0}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'//_satellite.logger.log(\'target loaded\');\n//console.log("Target loaded");\n//_satellite.logger.log(\'Target Loading\');\n/*\n\n// Assign the correct First Party Domain\nfunction getTargetDomain() {\n    var brand = window.location.hostname.split(\'.\').reverse()[1];\n    \n    //mapping table \n    //json {"allianz":"target.allianz.ch","elvia":"target.elvia.ch", "cap": { "targetserver":"target.cap.ch","analyticsserver": "collect.cap.ch", "launchserver":"assets.cap.ch"}}\n    //if (mappingtable !== undefined) get mapping table return key \n    switch (brand) {\n        case "allianz":\n            return "target.allianz.ch"\n            break;\n        case "elvia":\n            return "target.elvia.ch"\n            break;\n        case "cap":\n            return "target.cap.ch"\n            break;\n        default:\n            return "onemarketingazeu.tt.omtrdc.net"\n    }\n}\n\n\n//Mbox Third Party ID Provider\nvar mbox3rdpartyidProvider = {\n    name: "mbox3rdpartyid-api",\n    version: "1.0.1",\n    timeout: 500,\n    provider: function(callback) {\n      \n        var launchserver = "assets.allianz.ch" //default\n        var icd=""\n        if (window.AZCH_library != "undefined")\n        {\n          \n            var hostname = window.AZCH_library.url.parseURL(window.location).hostname;\n            var domain = window.AZCH_library.url.extractRootDomain(hostname);\n            \n            if (typeof window.AZCH_Config.brands[domain] != "undefined") {\n              launchserver = window.AZCH_Config.brands[domain].launchserver;\n            }\n          \n            icd = window.AZCH_library.url.getParameterByName("icd");\n            if (icd.length > 0){\n              icd = "?icd="+icd;\n            }\n        }\n\n        //http://assets.allianz.ch/mbox3rdpartyid\n\n        var url = \'https://\'+launchserver+\'/mbox3rdpartyid\'+icd;\n        var data = {};\n\n        //if there is no sessionStorage object, make the API call\n        var mbox3rdpartyid = sessionStorage.getItem("mbox3rdpartyid");\n        if (typeof mbox3rdpartyid === "undefined" || mbox3rdpartyid === null) {\n\n            //TODO: Add error handing\n            var xobj = new XMLHttpRequest(); // true parameter denotes asynchronous\n            xobj.open(\'GET\', url, true);\n            xobj.onreadystatechange = function() {\n                if (xobj.readyState == 4 && xobj.status == "200") {\n                    // This marks that the response has been successfully retrieved from the server\n                    \n                    //TODO: Add error handing\n                    data = JSON.parse(xobj.responseText);\n                    //console.log(data.mbox3rdpartyid);\n                    //data.mbox3rdpartyid\n                    callback(null, {\n                        mbox3rdPartyId: data.mbox3rdpartyid\n                        //thirdPartyId: data.mbox3rdpartyid\n                    });\n                    sessionStorage.setItem("mbox3rdpartyid", data.mbox3rdpartyid);\n                    mbox3rdpartyid=data.mbox3rdpartyid;\n                }\n            };\n            xobj.send(null);\n          \n        }\n        //otherwise, if the sessionStorage object exists, populate the dataProvider with the sessionStorage data and skip the API call\n        else {\n            callback(null, {\n                //thirdPartyId: sessionStorage.getItem("mbox3rdpartyid")\n                 mbox3rdPartyId: sessionStorage.getItem("mbox3rdpartyid")\n            });\n        }\n        window.digitalData = window.digitalData || {};\n        window.digitalData.user = window.digitalData.user || {};\n        window.digitalData.user.thirdPartyId = mbox3rdpartyid;\n    }\n};\n\n\n\n\n//Target Global Settings \nwindow.targetGlobalSettings = {  \n   serverDomain:getTargetDomain(), \n   dataProviders: [ \n    mbox3rdpartyidProvider \n  ] \n}; */',language:"javascript"}},{modulePath:"adobe-target-v2/lib/loadTarget.js",settings:{}},{modulePath:"adobe-target-v2/lib/addParams.js",settings:{params:{at_azch:{value:"isok",checked:!1},at_property:{value:"d6e8cd68-d7e7-8ac1-77d3-4bb3c7346057",checked:!1}}}},{modulePath:"adobe-target-v2/lib/firePageLoad.js",settings:{bodyHiddenStyle:"body {opacity: 0}",bodyHidingEnabled:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:'/*\ndocument.addEventListener(adobe.target.event.REQUEST_SUCCEEDED, function(e) {\n   //console.log("Request succeeded 2", e.details.response);\n   var tokens = e.detail.responseTokens;\n\n    if (isEmpty(tokens)) {\n      return;\n    }\n    // Trigger Weather API\n    token = tokens[0];\n    \n    var city=token["geo.city"];\n    var country=token["geo.country"];\n    var state=token["geo.state"];\n    var tntId = token["profile.tntId"];\n  \n    window.digitalData = window.digitalData || {};\n    window.digitalData.user = window.digitalData.user || {};\n    window.digitalData.user.tntId = tntId;\n    \n    window.geo = {}\n    window.geo.city = city;\n    window.geo.country = country;\n  \n    window.digitalData.user.geo = window.digitalData.user.geo || {};\n    window.digitalData.user.geo.city = city;\n    window.digitalData.user.geo.state = state;\n    window.digitalData.user.geo.country = country;\n \n    //dataLayer.push({\'event\':\'location\',\'city\':city,\'country\':country})\n});\n\n  function isEmpty(val) {\n    return (val === undefined || val == null || val.length <= 0) ? true : false;\n  }\n\n  function key(obj) {\n     return Object.keys(obj)\n    .map(function(k) { return k + "" + obj[k]; })\n    .join("");\n  }\n\n  function distinct(arr) {\n    var result = arr.reduce(function(acc, e) {\n      acc[key(e)] = e;\n      return acc;\n    }, {});\n  \n    return Object.keys(result)\n    .map(function(k) { return result[k]; });\n  }\n */',language:"javascript"}}]},{id:"RLe51b036b7d15455095b3df1fc09ef239",name:"Contentsquare - ALL PAGES",events:[{modulePath:"core/src/lib/events/domReady.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch","elvia.ch","tarif.allianz.ch","cap.ch","tarif.cap.ch","www.allianz.ch","tarif.elvia.ch"]}}],actions:[{modulePath:"contentsquare/src/lib/actions/uxaInstallation.js",settings:{setPathInput:"",setQueryInput:"",setPathCheckbox:!1,setQueryCheckbox:!1}}]},{id:"RLe8e0ea3088e34321853dbb7c4e2e58fc",name:"DCR: page-interaction (ICSP Login)",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-interaction",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains"},leftOperand:"%digitalData.page.pageInfo.pageName%",rightOperand:"allianz.ch/de_CH/privatkunden/login#login/otp"}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RCf11936c8d79841168e085cbe53f769b4-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLa4d8124a7a714933b482af7f668e8448",name:"AA: haushalt_ihrePraemie",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"haushalt_ihrePraemie"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLe5b6648888f94f81a1f72d15e71af254",name:"2019 - Campaign - Mut-Story-Einreichen",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/checks/mut/story-einreichen/"},{value:"/checks/mut/fr/soumettre-recit/"},{value:"/checks/mut/it/invia-cronologia/"}]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia000"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia00c"}},elementTagName:"img",floodlightType:"counter"}},{modulePath:"facebook-pixel/src/lib/actions/sendPageView.js",settings:{}},{modulePath:"google-universal-analytics/src/lib/actions/sendPageView.js",settings:{fields:{title:"%digitalData.page.pageInfo.title%",location:"%digitalData.page.pageInfo.fullURL%"}}}]},{id:"RL188f0af007c14d7b8253e10df088e2bc",name:"[5] - AZCH Configuration",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:5}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!0,
source:"window.AZCH_Config = {};\nvar blob = 'https://optanon.blob.core.windows.net/consent/3cf92626-ca9d-42a0-8da9-58a83e3dde09-test.js';\nvar cookielaw = 'https://cdn.cookielaw.org/consent/';\nvar oneMarketingTt = 'onemarketingazeu.tt.omtrdc.net';\nvar azSwitzerlandD3Sc = 'azswitzerland.d3.sc.omtrdc.net';\nvar assetsAllianz = 'assets.allianz.ch';\nwindow.AZCH_Config.brands = {\n    \"allianz.ch\":{ \n        \"targetserver\": \"target.allianz.ch\",\n        \"analyticsserver\": \"collect.allianz.ch\", \n        \"launchserver\": assetsAllianz,\n        \"onetrustserver\":{\n            \"de\": cookielaw+'27785d0e-2e54-4a7a-8578-100ba73debb1.js',\n            \"fr\": cookielaw+'1bc240c4-ab51-4b38-9a64-dafb9b2a2ab0.js',\n            \"it\": cookielaw+'57dbacdd-291d-4e4a-8df5-1746c10f3806.js',\n            \"en\": cookielaw+'3cf92626-ca9d-42a0-8da9-58a83e3dde09.js'\n        }\n    },\n    \"elvia.ch\":{ \n        \"targetserver\": \"target.elvia.ch\",\n        \"analyticsserver\": \"collect.elvia.ch\", \n        \"launchserver\": \"assets.elvia.ch\",\n        \"onetrustserver\":{\n            \"de\": cookielaw+'c0f01d39-8619-4a2d-8e16-8ba14f44dc9f.js',\n            \"fr\": cookielaw+'acc0ae85-91f6-4482-8566-2828209161aa.js',\n            \"it\": cookielaw+'a4566c64-9d30-4819-9594-878a426c931f.js',\n            \"en\": cookielaw+'ad4ad78b-5264-4375-84d1-7097e8d6fe14.js'\n        }\n    },\n    \"cap.ch\": { \n        \"targetserver\": \"target.cap.ch\",\n        \"analyticsserver\": \"collect.cap.ch\", \n        \"launchserver\": \"assets.cap.ch\",\n        \"onetrustserver\":{\n            \"de\": cookielaw+'d9a815ef-6a5c-40a6-8e83-eb351d72416e.js',\n            \"fr\": cookielaw+'40b03df2-890b-482b-8793-1fcd084f53f5.js',\n            \"it\": cookielaw+'650f8499-eeff-4d42-95f6-786ef5696ee9.js',\n            \"en\": cookielaw+'0af4d787-0b91-42f5-8451-1934ca77344b.js'\n        }\n    },\n    \"allianzglobalinvestors-service.ch\": { \n        \"targetserver\": \"target.allianzglobalinvestors-service.ch\",\n        \"analyticsserver\": \"collect.allianzglobalinvestors-service.ch\", \n        \"launchserver\": \"assets.allianzglobalinvestors-service.ch\",\n        \"onetrustserver\":{\n            \"de\": cookielaw+'42c7700f-a81c-4b34-9cd8-7b284aa2cd79.js',  \n            \"fr\": cookielaw+'91f5f364-e2f4-4ec7-b833-5affb9001428.js',\n            \"it\": cookielaw+'97150b8f-e15c-4dd9-bb1a-3099627e3824.js'\n        }\n    },\n      \"allianzcinema.ch\": { \n        \"targetserver\": oneMarketingTt,\n        \"analyticsserver\": \"collect.allianzcinema.ch\", \n        \"launchserver\": \"assets.allianzcinema.ch\",\n         \"onetrustserver\":{\n            \"de\": cookielaw+'fb82735b-5914-491d-8c30-15bbb016a046.js',\n            \"fr\": cookielaw+'5a7e5a3c-9250-47a4-9675-c5b1c1a6ca41.js',\n            \"it\": cookielaw+'4da13d91-8f5d-4c59-8f3a-ac757c392fc5.js',\n            \"en\": cookielaw+'f27f066d-d733-45a3-a412-90d22622afc0.js'\n        }\n    },\n    \"allianzdriveincinema\": { \n        \"targetserver\": oneMarketingTt,\n        \"analyticsserver\": \"collect.allianzdriveincinema.ch\", \n        \"launchserver\": \"assets.allianzdriveincinema.ch\",\n         \"onetrustserver\":{\n            \"de\": cookielaw+'ffb5786a-0793-4998-8397-12f264325273.js',\n            \"fr\": cookielaw+'01b2c768-2e54-44c9-98d2-a4e67e7aa1b6.js',\n            \"it\": cookielaw+'4ff2b9a4-399d-4829-8e87-321e7d300d8c.js'\n        }\n    },\n    //Todo: Cname\n    \"allianz-technology.ch\": { \n        \"targetserver\": oneMarketingTt,\n        \"analyticsserver\": azSwitzerlandD3Sc,\n        \"launchserver\": assetsAllianz,\n        \"onetrustserver\":{\n            \"de\": cookielaw+'1eeefff0-c7f8-432e-a6de-2010c8414666.js',\n            \"fr\": cookielaw+'87eaf658-5153-496a-a22f-3678eea85b17.js',\n            \"it\": cookielaw+'38cc51a2-abf0-4ac2-93f4-73192908d43f.js',\n            \"en\": cookielaw+'e4993127-4e25-417b-b679-09f2a8d53979.js'\n        }\n    },\n    //Todo: Cname\n    \"vorsorgeberatung.ch\": { \n        \"targetserver\": oneMarketingTt,\n        \"analyticsserver\": azSwitzerlandD3Sc,\n        \"launchserver\": assetsAllianz,\n        \"onetrustserver\":{\n            \"de\": cookielaw+'b455a80e-ca13-4a7f-ab77-c0f187a63bab.js',\n            \"fr\": cookielaw+'7f005c79-c1b5-446c-a182-9bf4fc4c4351.js',\n            \"it\": cookielaw+'e295bfe0-1ff0-4de1-be8f-cfaf55681d69.js'\n        }\n    },\n    //All other brands\n    \"other\": { \n        \"targetserver\": oneMarketingTt,\n        \"analyticsserver\": azSwitzerlandD3Sc, \n        \"launchserver\": assetsAllianz,\n        \"onetrustserver\":{\n            \"de\": blob,\n            \"fr\": blob,\n            \"it\": blob,\n            \"en\": blob\n        }\n    },\n};\n\n// skip pages\nvar skipPages = [];\nvar base = '/asu_cdn/apps';\nvar langs = ['de','fr','it'];\nvar houses = ['hh','hr','ph'];\nlangs.forEach(function(l){\n    // auto first page\n    skipPages.push(base+'/asu_momf-gui/#/'+l+'/');\n    // moto\n    skipPages.push(base+'/asu_momr-gui/#/'+l+'/');\n    // haushalt\n    houses.forEach(function(h){\n        skipPages.push(base+'/asu_mokhh-gui/#/'+l+'/'+h+'/');\n    });\n    // reise\n    skipPages.push(base+'/asu_mors-gui/#/'+l+'/');\n    // legal\n    skipPages.push(base+'/asu_mocap-gui/#/'+l+'/CAP');\n});\nwindow.AZCH_Config.skipPages = skipPages;\n\nwindow.AZCH_Config.vehicles = {\n    \"carList\": ['AIXAM','ALFA ROMEO','AMERICAN MOTORS','ARTEGA','ASTON MARTIN','AUDI','AUSTIN','BENTLEY','BERTONE','BMW','BMW-ALPINA','BUGATTI','BUICK','CADILLAC','CATERHAM','CHEVROLET','CHRYSLER','CITROEN','CUPRA','DACIA','DAEWOO','DAIHATSU','DAIMLER','DE TOMASO','DODGE','DONKERVOORT','DS AUTOMOBILES','FERRARI','FIAT','FISKER','FORD','FORD (USA)','HONDA','HS','HUMMER','HYUNDAI','INFINITI','INNOCENTI','ISUZU (GM)','ISUZU (J)','IVECO','JAGUAR','JEEP','KIA','KTM','LADA','LAMBORGHINI','LANCIA','LAND ROVER','LEXUS','LIGIER','LOTUS','MASERATI','MAZDA','MERCEDES-BENZ','MG','MINELLI','MINI','MITSUBISHI','MORGAN','MCLAREN','NISSAN','OLDSMOBILE','OPEL','PEUGEOT','PONTIAC','PORSCHE','PUCH','QVALE','RELIANT','RENAULT','ROLLS-ROYCE','ROVER','SAAB','SEAT','SECMA','SKODA','SMART','SSANG YONG','SUBARU','SUZUKI','TALBOT','TATA','TAZZARI','TESLA','THINK','TOYOTA','TVR','VENTURI','VOLVO','VW','WIESMANN','ZAGATO'],\n    \"motoList\": ['A&M','ADIVA','AEON','APRILIA','ARMEC','BENELLI','BERINGER','BETA','BIMOTA','BMW','BOOM-TRIKES','BRAMMO','BRIXTON','BUELL','CAGIVA','CAN-AM','CCM','CEMOTO','CF MOTO','CHANG JIANG','CLEVELAND','CPI','DAELIM','DERBI','DNEPR','DUCATI','E-MAX','EASY TRIKE','ECOBIT','EGLI','EML','ENERGICA','ENFIELD/ROYAL-ENFIELD','ETRIX','EZS','FADA','FAMEL','FANTIC','FIVE STAR-SENN','FURRER-TRIKES','GAS GAS','GENERIC / KSR MOTO','GHEZZI BRIAN','GILERA','GRINNALL','HARLEY-DAVIDSON','HER CHEE','HM-MOSER','HMO','HONDA','HOREX','HRD','HUSABERG','HUSQVARNA','HYOSUNG','INDIAN','IO','ITALJET','JIALING','JINCHENG','KAWASAKI','KEEWAY','KINGTEX','KODLIN','KTM','KUMPAN','KYMCO','LAMBRETTA','LAVERDA','LINHAI','LML','LUYUAN','MAICO','MALAGUTI','MASH','MBK','MOBEC','MONDIAL','MONNIER-HONDA','MOTO GUZZI','MOTO MORINI','MOTOBI','MOTOR MANIA','MV AGUSTA','MZ','MZ (MUZ)','NIU','NORTON','ODERMATT-KTM','PEUGEOT','PGO','PIAGGIO','QUADRO','QUANTYA','REGAL-RAPTOR','REWACO','RIEJU','RIYA','RUEEGG','SACHS','SERVETTA','SHERCO','SIDE-BIKE','SIMSON','SLINGSHOT','SUZUKI','SWM','SYM','TELL','TGB','TM','TRIUMPH','TROIKA-BMW','TWIKE','URAL','VALENTI RACING','VECTRIX','VENGO','VICTORY','VOR','VOXAN','VRO-KTM','WINKING','WOLF TRIKES','YAMAHA','Z-SUZUKI','ZONGSHEN','ZONTES']\n};\n\nwindow.AZCH_Config.productNames = {\n   \"mo-rs\":\"Reiseversicherung\",\n   \"mo-mf\":\"Autoversicherung\",\n   \"mo-mr\":\"Motorradversicherung\",\n   \"mo-cap\":\"Rechtsschutzversicherung\"\n}",language:"javascript"}}]},{id:"RL30c8796219494f22b2a8158a7c38e818",name:"DCR: page-interaction (Form Kiosk)",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-interaction",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/valueComparison.js",settings:{comparison:{operator:"contains"},leftOperand:"%digitalData.application.name%",rightOperand:"formkiosk-runner"}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC97f007eb6fcf4aca805626849cd123d1-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL969b87f1bc224408a4c5489fc76e1296",name:"AA: auto_offer",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_offer"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event101"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"auto_offer",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLd78cd8c706ca4df6b742c4a63294fd79",name:"AA + Gtag: ELVIA PH FirstQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haftpflichtversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-responsabilite-civile",valueIsRegex:!0},{value:"/calcolo-assicurazione-responsibilita-civile",valueIsRegex:!0},{value:"/calculate-liability-insurance",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"FirstQuote"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event104"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_ph_firstquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step2-firstquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia000+standard",enabled:!0}},callback:null}}]},{id:"RLafb15e8950824f5eb3a2e9d77861a230",name:"2020_poc_lead_pilot_button_submit",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"formSubmitLeadPilot2019"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar41",type:"value",value:"||%digitalData.user.zip%|||"},{name:"eVar43",type:"value",value:"%digitalData.user.type%"}],events:[{name:"event1"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"2020_poc_lead_pilot_button_submit",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLc7b74536f06f4a62beff877d63f057f9",name:"AA: page_scroll",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"page_scroll"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/allianz/life-type",valueIsRegex:!0}]},negate:!0}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar215",type:"value",value:"%digitalData.engagement.pageScrollDepth%"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"page_scroll",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL14f4be864df5476d8da914af0b73c0e5",name:"AA: Form-Start (Forms)",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"form-start",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"form-start"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-mcid/src/lib/actions/setCustomerIds.js",settings:{customerIds:[{value:"%digitalData.user.userId%",hashType:"",authState:0,integrationCode:"azch_digitalID"}]}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar57",type:"value",value:"%digitalData.forms.name%"},{name:"eVar58",type:"value",value:"%digitalData.forms.stepName%|%digitalData.forms.stepNumber%"}],props:[{name:"prop1",type:"alias",value:"eVar1"},{name:"prop2",type:"alias",value:"eVar2"},{name:"prop13",type:"alias",value:"eVar13"},{name:"prop14",type:"alias",value:"eVar14"},{name:"prop35",type:"alias",value:"eVar35"},{name:"prop36",type:"value",value:"%digitalData.user.tntId%"},{name:"prop37",type:"value",value:"%digitalData.user.4_factor_id%"},{name:"prop48",type:"alias",value:"eVar48"}],events:[{name:"event41"}],hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:","},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:","},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:","}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"generic_formStart",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLbc5c999a0b99459ba3c23145e187d5ac",name:"DCR: page-view",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:10}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/asu_cdn*",valueIsRegex:!0}]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RCa1b99da36fd74017aa1905296eced2fd-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL30167dfc4fcb4f24a08fbfaf2e7d1c3d",name:"DFA: AZCH_ALLIANZ_allianz-vorsorge-landingpage-action-form-finish_FR",events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"digitalData.application.virtualPageName"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"azberatung_PKd/abschlussseite",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"window.digitalData.page.pageInfo.fullURL",value:"https://www.allianz.ch/fr/clients-prives/ldp/conseil-solution-prevoyance",valueIsRegex:!0}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00g"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RLb1ce32aee2a0412bafb7b0c17834cc43",name:"AA: FNOL - Page Load - Virtual Page Load v2",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"fnolch.pageChanged"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"switzerland_home.pageChanged"},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"switzerland_liab.pageChanged"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC296a3590eea64cf4b9d3b092dfad76b6-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLcb11090397df45609634cda14c8a594a",name:"DFA: AZCH_ALLIANZ_MASTER",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch","tarif.allianz.ch","www.allianz.ch"]}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"allianz-master-pageview",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"gst/allia0+standard",enabled:!0}},callback:null}}]},{id:"RL8456918a6acf4b5bb472acc1cd247adb",name:"DCR: page-interaction (AGI)",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-interaction",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:1}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianzglobalinvestors-service.ch","bippesbrandao.de"]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC0b1dee867eca4abb89720134146a820d-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLedea0f0f6117473f872426ca9a0ea90e",name:"AA: legal_antrag",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"legal_antrag"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar44",type:"value",value:"%digitalData.user.age%"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"},{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL37bcc75e4410418eae4b541f6877c54b",name:"Gtag - DFA: AZCH_ELVIA_Startquote (Fahrzeugdaten)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Fahrzeugdaten"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["tarif.elvia.ch"]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step1-startquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia00+standard",enabled:!0}},callback:null}}]},{id:"RLfb23bd9d1d144ac99ae71d0d0e0cb1df",name:"DFA: AZCH_ALLIANZ_vorsorge-landingpage-interest-finish",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"lifetypeapp-end",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00f"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RLf481e6f7b8c84903b370dc6b65d81aa6",name:"Gtag - DFA: AZCH_ELVIA_Product",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.breadCrumbs",value:"versicherung",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-product",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia008+standard",enabled:!0}},callback:null}}]},{id:"RL933db447dc214801aa4acd4e05c1b22c",name:"DFA: AZCH_ALLIANZ_vorsorge-landingpage-consideration",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"privatkunden/ldp/vorsorge-loesungen-entdecken",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia009"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL88ee105ebce246708f21102ba15a0b74",name:"Gtag - DFA: AZCH_ELVIA_Master",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch","tarif.elvia.ch"]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-pageview",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562064529359:{enabled:!0},1562569218447:{label:"gener0/elvia0+standard",enabled:!0}},callback:null}}]},{id:"RL98e6e44733e54bfdb09ead75915485ad",name:"DFA: AZCH_ALLIANZ_allianz-vorsorge-landingpage-action_DE",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"window.digitalData.page.pageInfo.fullURL",value:"https://www.allianz.ch/de/privatkunden/ldp/vorsorge-loesung-beratung",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00-"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL964ffa98aa9245b8a992a4788e31bf1c",name:"Gtag - DFA: AZCH_ELVIA_Startquote (Angaben)",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["tarif.elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Angaben"}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step1-startquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia00+standard",enabled:!0}},callback:null}}]},{id:"RLd75a04151f85401d892f730bf6abd077",name:"Chat Userlike",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:45}],conditions:[{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.attributes.authoring",value:"publish"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch","www.allianz.ch","waitforit.allianz.ch"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/de/geschaeftskunden/services/meine-versicherung/kautionsportal/downloads.html",valueIsRegex:!1},{value:"/fr/clients-entreprises/services/mon-assurance/portail-de-cautionnement/telechargements.html",valueIsRegex:!1},{value:"/it/clienti-commerciali/servizi/la-mia-assicurazione/portale-cauzioni/downloads.html",valueIsRegex:!1}]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{global:!1,source:"  \n  _satellite.logger.log(\"Pre Userlike\");//pre\n\n  var url = window.location.href;\n\t\n  // default\n  var userlike = \"https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/5c23202bd4595215219dc36b89515aaf2ade654e45797e2210c15d15db0760be.js\";\n  if ( url.indexOf('/de/') > -1) {\n\t\tuserlike= 'https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/5c23202bd4595215219dc36b89515aaf2ade654e45797e2210c15d15db0760be.js';\n  }\n  if ( url.indexOf('/fr/') > -1) {\n\t\tuserlike= 'https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/2d94d51758e485ad90cb277e6946554384b53d0773f58e1ad95ad122eeabdee9.js';\n  }\n  if ( url.indexOf('/it/') > -1) {\n\t\tuserlike= 'https://userlike-cdn-widgets.s3-eu-west-1.amazonaws.com/86880cf59d1e2c7f05a266443089a399a6b4eae4bb7c3b7ab7039fdf0c936996.js';\n  }\n\n  var firstScriptTag = document.getElementsByTagName('script')[0];\n  var newScript = document.createElement('script');\n  newScript.async = true;\n  newScript.src = userlike;\n\n  firstScriptTag.parentNode.insertBefore(newScript,firstScriptTag);\n  _satellite.logger.log(\"Post Userlike\");//post",language:"javascript"}}]},{id:"RL67cc780e71c2468ca8616ac9e5a32437",name:"2019 - Campaign - Mut-Story-Einreichen-Complete",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/checks/mut/story-einreichen-danke/"},{value:"/checks/mut/fr/merci/"},{value:"/checks/mut/it/gracie/"}]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia001"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia00c"}},elementTagName:"img",floodlightType:"counter"}},{modulePath:"facebook-pixel/src/lib/actions/sendPageView.js",settings:{}},{modulePath:"google-universal-analytics/src/lib/actions/sendPageView.js",settings:{fields:{title:"%digitalData.page.pageInfo.title%",location:"%digitalData.page.pageInfo.fullURL%"}}}]},{id:"RL0da72815b76f4bf6915db53375d4de94",name:"DFA: AZCH_ALLIANZ_vorsorge-landingpage-interest_a_AllLang",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"lifetypeapp-start",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia008"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia009"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL5d0d6a981f23408dbcfe56dd56a7241c",name:"DCR: haushalt_pageView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"haushalt_pageView"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC23a6eae625f1494ea822b61c7baa534c-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLb2a30819bb7a435999740cb2b38dee1a",name:"2019 Campaign - FlexSaving - LP - Kreativer",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/de/privatkunden/angebote/vorsorge-lebensversicherungen/sparen-anlegen/flex-saving.html",valueIsRegex:!1},{value:"https://www.allianz.ch/fr/clients-prives/offres/prevoyance-assurance-vie/epargne-placements/flex-saving.html"},{value:"https://www.allianz.ch/it/clienti-privati/offerte/previdenza-assicurazioni-vita/risparmio-investimento/flex-saving.html"}]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:".*kreativer.*",valueIsRegex:!0}]}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"screen_view",options:[],accounts:{1562569218447:{label:"allia00d/allia008+standard",enabled:!0}},callback:null}}]},{id:"RL338a7007ac01487a9850d0f2f7639aa8",name:"AA: FNOL - LP Page-Views / Form Start",events:[{modulePath:"core/src/lib/events/domReady.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/hash.js",settings:{hashes:[{value:"#/welcome",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"claim-notification",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RCb2cc89f2c3444ab4b4ececf2c570d8cc-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC1942d28cf3754a59a5e0e213ad065cfa-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event41"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"fnol_formStart",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLccb3dd9fcd5f408bafc83ea7a1364ab8",name:"DCR: engagement rating",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"engagement-rating",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{
identifier:"engagement-rating"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch"]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-mcid/src/lib/actions/setCustomerIds.js",settings:{customerIds:[{value:"%digitalData.user.userId%",hashType:"",authState:0,integrationCode:"azch_digitalID"}]}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar30",type:"value",value:"%digitalData.user.userId%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar39",type:"value",value:"%digitalData.user.emailId %"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"},{name:"eVar213",type:"value",value:"%digitalData.engagement.rating%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event961"}],hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%%digitalData.page.pageInfo.siteSection1%%digitalData.page.pageInfo.siteSection%"],delimiter:","},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:","},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:","}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"engagement_rating",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL207ef3c36dee42129a826ea4a18537b3",name:"AA + Gtag: ELVIA MF FirstQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"FirstQuote"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/calculer-assurance-voiture/",valueIsRegex:!0},{value:"/calcolo-assicurazione-auto/",valueIsRegex:!0},{value:"/car-insurance-calculator/",valueIsRegex:!0},{value:"/autoversicherung-berechnen/",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event104"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mf_firstquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step2-firstquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia000+standard",enabled:!0}},callback:null}}]},{id:"RLff6242683010497692cd759bc24c58bd",name:"AA: legal_angaben",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"legal_angaben"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar127",type:"value",value:"|%digitalData.quote.coverage.objects.coverageType%||"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"}],events:[{name:"event104"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL55dca972a4824da09281b992c740a715",name:"AA: reise_angaben",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"reise_angaben"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar127",type:"value",value:"|%digitalData.quote.coverage.objects.coverageType%||"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"}],events:[{name:"event104"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"reise_angaben",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLca950217baf840839d564e7cfde9c379",name:"AA + Gtag: ELVIA HH Sale",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haushaltsversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-combinee-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-economia-domestica",valueIsRegex:!0},{value:"/calculate-household-insurance",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"sale"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event102;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="sale,event102",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event102"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hh_sale",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step4-ihrepraemie|offer",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia002+standard",enabled:!0}},callback:null}}]},{id:"RLe0a2d055188941a49cc7affcc0724d52",name:"AA: page_standardTracking (allianzcinema)",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"pageTracking-cinema"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianzdriveincinema.ch","allianzcinema.ch"]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar30",type:"value",value:"%digitalData.user.userId%"},{name:"eVar31",type:"value",value:"%digitalData.page.attributes.context%"},{name:"eVar32",type:"value",value:"%digitalData.page.attributes.version%"},{name:"eVar33",type:"value",value:"%digitalData.page.attributes.contentDeliveryNetwork%"},{name:"eVar34",type:"value",value:"%digitalData.page.attributes.lastModifiedDate%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar39",type:"value",value:"%digitalData.user.emailId %"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar140",type:"value",value:"%digitalData.marketingCampaign.external.amoid%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"},{name:"eVar194",type:"value",value:"%digitalData.intermediary.name%"},{name:"eVar197",type:"value",value:"%digitalData.intermediary.type%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event71",value:"%digitalData.page.pageInfo.performance.total%"},{name:"event72",value:"%digitalData.page.pageInfo.performance.network%"},{name:"event73",value:"%digitalData.page.pageInfo.performance.render%"}],server:"%digitalData.page.pageInfo.server%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLcb21c45100b04ca2818a1f30294d0816",name:"AA: ecommerce-prodView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"cart-remove"},ruleOrder:50},{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"product-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){var e=[];if(window.digitalData.product){for(window.digitalData.product instanceof Object?e.push(window.digitalData.product):window.digitalData.product instanceof Array&&(e=window.digitalData.product),i=0;i<e.length;i++)e[i].allCategory="",e[i].primaryCategory&&(e[i].allCategory+="primaryCategory:"+e[i].primaryCategory+"~"),e[i].subCategory&&(e[i].allCategory+="subCategory:"+e[i].subCategory);window.digitalData.product=e}return!0}}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar31",type:"value",value:"%digitalData.page.attributes.context%"},{name:"eVar32",type:"value",value:"%digitalData.page.attributes.version%"},{name:"eVar33",type:"value",value:"%digitalData.page.attributes.contentDeliveryNetwork%"},{name:"eVar34",type:"value",value:"%digitalData.page.attributes.lastModifiedDate%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar140",type:"value",value:"%digitalData.marketingCampaign.external.amoid%"},{name:"eVar194",type:"value",value:"%digitalData.intermediary.name%"},{name:"eVar197",type:"value",value:"%digitalData.intermediary.type%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event71",value:"%digitalData.page.pageInfo.performance.total%"},{name:"event72",value:"%digitalData.page.pageInfo.performance.network%"},{name:"event73",value:"%digitalData.page.pageInfo.performance.render%"},{name:"prodView"}],server:"%digitalData.page.pageInfo.server%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"aa-product-string-search-discovery/src/lib/actions/product_string_set_variables.js",settings:{dataLayerRoot:"%digitalData%",productStringEvars:[{eVarId:"eVar91",eVarPath:"allCategory"},{eVarId:"eVar90",eVarPath:"name"}],productStringEvents:[],productCollectionPath:"product",productStringCategory:"",productStringQuantity:"",productStringUnitPrice:"",productStringProductIdPath:"id",productStringCategorySelected:!1,productStringQuantitySelected:!1,productStringProductIdSelected:!0,productStringUnitPriceSelected:!1,productStringCategoryVariableType:"collection-item-path",productStringQuantityVariableType:"collection-item-path",productStringUnitPriceVariableType:"collection-item-path"}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"ecommerce_prodView",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLadb18e4bf82b4bf6a591b0199093e267",name:'AZCH MF Product "Top" Selected',events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"digitalData.quote.product.bundleVariation"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.quote.product.bundleVariation",value:"Top",valueIsRegex:!0}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"}],events:[{name:"event940"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"product_top_selected",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL7ae98b62038b4677a2ef82f7173485a8",name:"AA: health_personendaten",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"health_personendaten"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar124",type:"value",value:"%digitalData.quote.precaution.disabilityAccidentInsurance%|%digitalData.quote.precaution.disabilitySumInsured%|%digitalData.quote.precaution.paymentFrequency%||%digitalData.quote.precaution.residencePermit%"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"},{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"health_personendaten",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLdfaa40eb17b746af981494c1bd53cd97",name:"AppMeasurement_Module_Integrate.js",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:5}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'<script type="text/javascript">\n//<![CDATA[\nfunction AppMeasurement_Module_Integrate(l){var c=this;c.s=l;var e=window;e.s_c_in||(e.s_c_il=[],e.s_c_in=0);c._il=e.s_c_il;c._in=e.s_c_in;c._il[c._in]=c;e.s_c_in++;c._c="s_m";c.list=[];c.add=function(d,b){var a;b||(b="s_Integrate_"+d);e[b]||(e[b]={});a=c[d]=e[b];a.a=d;a.e=c;a._c=0;a._d=0;void 0==a.disable&&(a.disable=0);a.get=function(b,d){var f=document,h=f.getElementsByTagName("HEAD"),k;if(!a.disable&&(d||(v="s_"+c._in+"_Integrate_"+a.a+"_get_"+a._c),a._c++,a.VAR=v,a.CALLBACK="s_c_il["+c._in+"]."+\na.a+".callback",a.delay(),h=h&&0<h.length?h[0]:f.body))try{k=f.createElement("SCRIPT"),k.type="text/javascript",k.setAttribute("async","async"),k.src=c.c(a,b),0>b.indexOf("[CALLBACK]")&&(k.onload=k.onreadystatechange=function(){a.callback(e[v])}),h.firstChild?h.insertBefore(k,h.firstChild):h.appendChild(k)}catch(l){}};a.callback=function(b){var c;if(b)for(c in b)Object.prototype[c]||(a[c]=b[c]);a.ready()};a.beacon=function(b){var d="s_i_"+c._in+"_Integrate_"+a.a+"_"+a._c;a.disable||(a._c++,d=e[d]=\nnew Image,d.src=c.c(a,b))};a.script=function(b){a.get(b,1)};a.delay=function(){a._d++};a.ready=function(){a._d--;a.disable||l.delayReady()};c.list.push(d)};c._g=function(d){var b,a=(d?"use":"set")+"Vars";for(d=0;d<c.list.length;d++)if((b=c[c.list[d]])&&!b.disable&&b[a])try{b[a](l,b)}catch(e){}};c._t=function(){c._g(1)};c._d=function(){var d,b;for(d=0;d<c.list.length;d++)if((b=c[c.list[d]])&&!b.disable&&0<b._d)return 1;return 0};c.c=function(c,b){var a,e,g,f;"http"!=b.toLowerCase().substring(0,4)&&\n(b="http://"+b);l.ssl&&(b=l.replace(b,"http:","https:"));c.RAND=Math.floor(1E13*Math.random());for(a=0;0<=a;)a=b.indexOf("[",a),0<=a&&(e=b.indexOf("]",a),e>a&&(g=b.substring(a+1,e),2<g.length&&"s."==g.substring(0,2)?(f=l[g.substring(2)])||(f=""):(f=""+c[g],f!=c[g]&&parseFloat(f)!=c[g]&&(g=0)),g&&(b=b.substring(0,a)+encodeURIComponent(f)+b.substring(e+1)),a=e));return b}}\n//]]> \n</script>\n',language:"html"}}]},{id:"RLa1d471b3f63c47c5a07da6a6620cdefd",name:"AA: ELVIA MR StartQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:11}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Fahrzeugdaten"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/motorradversicherung-berechnen/",valueIsRegex:!0},{value:"/calculer-assurance-moto/",valueIsRegex:!0},{value:"/calcolo-assicurazione-moto/",valueIsRegex:!0},{value:"/motorcycle-insurance-calculator/",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event103"}],pageURL:"%digitalData.page.pageInfo.destinationURL%",pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mr_startquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLa8304b5c1baa4623932c88e12bc30147",name:"2019 Campaign - Mut-Story",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/checks/mut/story/.*",valueIsRegex:!0},{value:"/checks/mut/fr/story/.*",valueIsRegex:!0},{value:"/checks/mut/it/story/.*",valueIsRegex:!0}]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia00"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia00c"}},elementTagName:"img",floodlightType:"counter"}},{modulePath:"facebook-pixel/src/lib/actions/sendPageView.js",settings:{}},{modulePath:"google-universal-analytics/src/lib/actions/sendPageView.js",settings:{fields:{title:"%digitalData.page.pageInfo.title%",location:"%digitalData.page.pageInfo.fullURL%"}}}]},{id:"RL861643fe2ceb4e8481058c9716705124",name:"DCR: health_pageView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"health_pageView"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC3e6c800aac114b9cbd7c9c9c4208d0af-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RL53aa41b0c59d46c5b3021e0cb39e7f5b",name:"AA + Gtag: ELVIA MR FirstQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/motorradversicherung-berechnen/",valueIsRegex:!0},{value:"/calculer-assurance-moto/",valueIsRegex:!0},{value:"/calcolo-assicurazione-moto/",valueIsRegex:!0},{value:"/motorcycle-insurance-calculator/",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"FirstQuote"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event104"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mr_firstquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step2-firstquote",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia000+standard",enabled:!0}},callback:null}}]},{id:"RL77e9d13b421245678b2464766aa93fce",name:"DCR: legal_pageView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"legal_pageView"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC163b583c80f0476fb465c6ca29ed20ee-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLb0580156394a4144922e62eb7cd9f2f1",name:"2019 Campaign - Mut -  LandingPage",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/checks/mut/.*",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/checks/mut/story-einreichen/",valueIsRegex:!1},{value:"/checks/mut/fr/soumettre-recit/",valueIsRegex:!1},{value:"/checks/mut/it/invia-cronologia/",valueIsRegex:!1},{value:"/checks/mut/story-einreichen-danke/"},{value:"/checks/mut/fr/merci/"},{value:"/checks/mut/it/gracie/"},{value:"/checks/mut/story/.*",valueIsRegex:!0},{value:"/checks/mut/fr/story/-*",valueIsRegex:!0},{value:"/checks/mut/it/story/.*",valueIsRegex:!0}]},negate:!0},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}}],actions:[{modulePath:"facebook-pixel/src/lib/actions/sendPageView.js",settings:{}},{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia0"},src:{key:"src",value:"6772588"},type:{key:"type",value:"allia00c"}},elementTagName:"img",floodlightType:"counter"}},{modulePath:"google-universal-analytics/src/lib/actions/sendPageView.js",settings:{fields:{title:"%digitalData.page.pageInfo.title%",location:"%digitalData.page.pageInfo.fullURL%"}}}]},{id:"RLd965db59b4b14acc9ac3e305bb3313cc",name:"Google Tag Manager Elvia.ch",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(){for(var e in gtm=!1,window.dataLayer)window.dataLayer[e]["gtm.start"]&&(gtm=!0);return gtm}if((!e()||!window.google_tag_manager)&&-1<window.location.hostname.indexOf("www.elvia.ch"))return!0}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"<!-- Google Tag Manager -->\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-NRPCJ4');</script>\n<!-- End Google Tag Manager -->",language:"html"}}]},{id:"RL10865c8acd764523a1df716b091b5cae",name:"AA: ELVIA MF Offer",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"offer"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/calculer-assurance-voiture/",valueIsRegex:!0},{value:"/calcolo-assicurazione-auto/",valueIsRegex:!0},{value:"/car-insurance-calculator/",valueIsRegex:!0},{value:"/autoversicherung-berechnen/",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event101;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="offer,event101",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event101"
}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mf_offer",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL8ff390ebe14843d7844944fa1248f17f",name:"AA: haushalt_angaben",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"haushalt_angaben"},ruleOrder:50}],conditions:[],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar117",type:"value",value:"|%digitalData.quote.product.subCategory%"},{name:"eVar44",type:"value",value:"%digitalData.user.age%"},{name:"eVar41",type:"value",value:"%digitalData.user.city%||%digitalData.user.zip%||%digitalData.user.nationality%|"},{name:"eVar102",type:"value",value:"%digitalData.quote.coverage.objects.building.houseType%|%digitalData.quote.coverage.objects.building.numberOfRooms%||||||||"},{name:"eVar104",type:"value",value:"%digitalData.quote.coverage.persons.numberOfPersons%|%digitalData.quote.coverage.persons.numberOfPersonsUnder15%|||%digitalData.quote.coverage.persons.gender%|"}],events:[{name:"event104"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLa7f0b707af364fae953331aa0c2f425b",name:"Rating Feedback Modal",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch","tarif.allianz.ch"]}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["service.allianz.ch","partner.allianz.ch","digitallab.allianz.ch","waitforit.allianz.ch","survey.allianz.ch","allianzdriveincinema.ch","allianzcinema.ch","tarif.elvia.ch","bippesbrandao.de","allianzglobalinvestors-service.ch","abn-my.allianz.ch","dev.aem.allianz.allianz-suisse.ch","tarif.cap.ch","elvia.ch"]},negate:!0}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"\nvar script = document.createElement('script');\nscript.src = \"https://al-cdn.s3.eu-central-1.amazonaws.com/5star/main.js\";\ndocument.getElementsByTagName('head')[0].appendChild(script);\n\n_satellite.logger.log(\"Post Rating\");//post\n\n",language:"javascript"}}]},{id:"RL17c7d88ae1fa4709ac5724c4c9442b08",name:"AA: page_standardTracking",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"pageTracking"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar3",type:"value",value:"%digitalData.page.pageInfo.pageId%"},{name:"eVar4",type:"value",value:"%digitalData.page.attributes.pageTemplate%"},{name:"eVar5",type:"value",value:"%digitalData.page.previousPage%"},{name:"eVar10",type:"value",value:"%digitalData.page.attributes.runmode%"},{name:"eVar11",type:"value",value:"%digitalData.page.previousPage.pageInfo.pageName%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar15",type:"value",value:"%digitalData.page.pageInfo.URLqueryParams%"},{name:"eVar16",type:"value",value:"%digitalData.page.attributes.organisationalEntity%"},{name:"eVar17",type:"value",value:"%digitalData.page.pageInfo.hostname%"},{name:"eVar18",type:"value",value:"%digitalData.page.pageInfo.title%"},{name:"eVar30",type:"value",value:"%digitalData.user.userId%"},{name:"eVar31",type:"value",value:"%digitalData.page.attributes.context%"},{name:"eVar32",type:"value",value:"%digitalData.page.attributes.version%"},{name:"eVar33",type:"value",value:"%digitalData.page.attributes.contentDeliveryNetwork%"},{name:"eVar34",type:"value",value:"%digitalData.page.attributes.lastModifiedDate%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar36",type:"value",value:"%digitalData.marketingCampaign.external.mailID%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar39",type:"value",value:"%digitalData.user.emailId %"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar140",type:"value",value:"%digitalData.marketingCampaign.external.amoid%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"},{name:"eVar194",type:"value",value:"%digitalData.intermediary.name%"},{name:"eVar197",type:"value",value:"%digitalData.intermediary.type%"}],props:[{name:"prop36",type:"value",value:"%digitalData.user.tntId%"}],events:[{name:"event71",value:"%digitalData.page.pageInfo.performance.total%"},{name:"event72",value:"%digitalData.page.pageInfo.performance.network%"},{name:"event73",value:"%digitalData.page.pageInfo.performance.render%"}],server:"%digitalData.page.pageInfo.server%",pageURL:"%digitalData.page.pageInfo.destinationURL%",campaign:{type:"value",value:"%digitalData.page.attributes.trackingCode%"},pageName:"%digitalData.page.pageInfo.pageName%",referrer:"%digitalData.page.pageInfo.referringURL%",hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:"/"},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:"/"},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:"/"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"page"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL43bb11e762ea4ed0b4a0bf4fdc92a96a",name:'AZCH MF Product "Comfort" Selected',events:[{modulePath:"core/src/lib/events/dataElementChange.js",settings:{name:"digitalData.quote.product.bundleVariation"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.quote.product.bundleVariation",value:"Comfort",valueIsRegex:!0}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"}],events:[{name:"event941"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"product_comfort_selected",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL076f929a0c724d12b66b63417daab838",name:"AA: Form-Complete (Forms) ",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"form-complete",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50},{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"form-complete"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-mcid/src/lib/actions/setCustomerIds.js",settings:{customerIds:[{value:"%digitalData.user.userId%",hashType:"",authState:0,integrationCode:"azch_digitalID"}]}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar13",type:"value",value:"%digitalData.page.pageInfo.language%"},{name:"eVar14",type:"value",value:"%digitalData.page.pageInfo.siteSection%"},{name:"eVar35",type:"value",value:"%digitalData.page.pageInfo.performance.aggregated%"},{name:"eVar37",type:"value",value:"%digitalData.user.thirdPartyId%"},{name:"eVar40",type:"value",value:"%digitalData.user.visitorId%"},{name:"eVar48",type:"value",value:"%digitalData.user.staff%"},{name:"eVar57",type:"value",value:"%digitalData.forms.name%"},{name:"eVar58",type:"value",value:"%digitalData.forms.stepName%|%digitalData.forms.stepNumber%"}],props:[{name:"prop1",type:"alias",value:"eVar1"},{name:"prop2",type:"alias",value:"eVar2"},{name:"prop13",type:"alias",value:"eVar13"},{name:"prop14",type:"alias",value:"eVar14"},{name:"prop35",type:"alias",value:"eVar35"},{name:"prop36",type:"value",value:"%digitalData.user.tntId%"},{name:"prop37",type:"value",value:"%digitalData.user.4_factor_id%"},{name:"prop48",type:"alias",value:"eVar48"}],events:[{name:"event45"}],hierarchies:[{name:"hier1",sections:["%digitalData.page.pageInfo.siteSection%"],delimiter:","},{name:"hier2",sections:["%digitalData.page.pageInfo.siteSection1%"],delimiter:","},{name:"hier3",sections:["%digitalData.page.pageInfo.siteSection2%"],delimiter:","}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"generic_formComplete",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL34b79867a4404565a18c12db8cfe38be",name:"AA: FNOL - MF Form-Complete",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"fnolch.pageChanged"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"claim-notification",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.spaData.fnolch.pageChanged.newPage",value:"all-done",valueIsRegex:!0}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event45"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"fnol_formComplete",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL8290ee0311724bdb92fc16a3337cd347",name:"AA: ELVIA HH StartQuote",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Angaben"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haushaltsversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-combinee-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-economia-domestica",valueIsRegex:!0},{value:"/calculate-household-insurance",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event103"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hh_startquote",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL2eb88b679dbe43b598c063e434aab842",name:"DCR: auto_pageView",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"auto_pageView"},ruleOrder:50}],conditions:[],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RCf948c763a7804f3a9f55c9c7dc130d07-source.min.js",language:"javascript",isExternal:!0}}]},{id:"RLff9af34d425a4d32844d33b1493c12a5",name:"2019 Campaign - FlexSaving - LP - Traeumer",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/de/privatkunden/angebote/vorsorge-lebensversicherungen/sparen-anlegen/flex-saving.html",valueIsRegex:!1},{value:"https://www.allianz.ch/fr/clients-prives/offres/prevoyance-assurance-vie/epargne-placements/flex-saving.html"},{value:"https://www.allianz.ch/it/clienti-privati/offerte/previdenza-assicurazioni-vita/risparmio-investimento/flex-saving.html"}]}},{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:".*traeumer.*",valueIsRegex:!0}]}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"screen_view",options:[],accounts:{1562569218447:{label:"allia00d/allia007+standard",enabled:!0}},callback:null}}]},{id:"RL53936ed2a2c4411f8ade6dbf5c7cd83d",name:"AA: ELVIA HH Offer",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/haushaltsversicherung-berechnen",valueIsRegex:!0},{value:"/calculer-assurance-combinee-menage",valueIsRegex:!0},{value:"/calcolo-assicurazione-economia-domestica",valueIsRegex:!0},{value:"/calculate-household-insurance",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"offer"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){console.log("ELVIA HH Transaction ID: "+_satellite.getVar("digitalData.transaction.policyhash")),console.log("ELVIA HH transaction.type: "+_satellite.getVar("digitalData.transaction.type")),console.log("ELVIA HH transaction.totalPrice: "+_satellite.getVar("digitalData.transaction.totalPrice")),console.log("ELVIA HH product.name: "+_satellite.getVar("digitalData.product.name")),t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event101;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="offer,event101",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event101"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_hh_offer",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL67145ae9b34a4037b771f99662eadc13",name:"AA + Gtag: ELVIA MF Sale",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Willkommen"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.transaction.type",value:"sale"}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"/calculer-assurance-voiture/",valueIsRegex:!0},{value:"/calcolo-assicurazione-auto/",valueIsRegex:!0},{value:"/car-insurance-calculator/",valueIsRegex:!0},{value:"/autoversicherung-berechnen/",valueIsRegex:!0}]}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){t.transactionID=_satellite.getVar("digitalData.transaction.policyhash"),t.eVar69=_satellite.getVar("digitalData.transaction.policyhash"),t.products=";"+_satellite.getVar("digitalData.product.name")+";1;"+_satellite.getVar("digitalData.product.price")+";event102;eVar119="+_satellite.getVar("digitalData.quote.product.bundleVariation"),t.events="sale,event102",t.t()}},trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar69",type:"value",value:"%digitalData.transaction.policyhash%"},{name:"eVar71",type:"value",value:"%digitalData.transaction.totalPrice%||1|"},{name:"eVar79",type:"value",value:"%digitalData.transaction.type%"},{name:"eVar117",type:"value",value:"%digitalData.product.primaryCategory%|"},{name:"eVar118",type:"value",value:"%digitalData.product.name%"},{name:"eVar174",type:"value",value:"%digitalData.application.applicationId%|%digitalData.application.applicationName%|%digitalData.application.applicationVersion%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event102"}],pageName:"%digitalData.page.pageInfo.pageName%"}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"elvia_mf_sale",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step4-ihrepraemie|offer",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia002+standard",enabled:!0}},callback:null}}]},{id:"RLf6e39e9e21ba448fa657103a7d23ac30",name:"Gtag - DFA: AZCH_ELVIA_Personendaten",events:[{modulePath:"core/src/lib/events/customEvent.js",settings:{type:"page-view",bubbleFireIfParent:!0,bubbleFireIfChildFired:!0},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["tarif.elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.application.virtualPageName",value:"Personalisieren"}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"acronym-gtag.js/src/lib/actions/event.js",settings:{name:"elvia-step3-personendaten",options:[["u1","%digitalData.page.pageInfo.pageName%"],["u2","%digitalData.page.pageInfo.destinationURL%"]],accounts:{1562569218447:{label:"elvia0/elvia001+standard",enabled:!0}},callback:null}}]},{id:"RL9bbf2bbfbb014311bb6af28d85ed0b86",name:"AA: page_productPremiumData",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"page_productPremiumData"},ruleOrder:50}],conditions:[{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{customSetup:{source:function(e,t){var a="";0<=window.location.href.indexOf("/asu_momf-gui/")&&(a="auto"),0<=window.location.href.indexOf("/asu_momr-gui/")&&(a="moto"),"object"==typeof window.digitalData&&"string"==typeof window.digitalData.applicationName&&(a=window.digitalData.applicationName);var n=_satellite.getVar("DataLayerHelper-productPremiumData1").transactionRevenue,i=_satellite.getVar("DataLayerHelper-productPremiumData2").transactionRevenue,r=_satellite.getVar("DataLayerHelper-productPremiumData3").transactionRevenue;t.events="event251";var o=new RegExp("^(eVar[0-9]+)|(prop[0-9]+)|(hier[0-9]+)|campaign|purchaseID|channel|server|state|zip|pageType$"),s=function(e,t,a){return a.indexOf(e)===t},l=function(e,t,a){var n=Object.keys(t).filter(o.test.bind(o));return a&&n.push("events"),(n=n.concat((e.linkTrackVars||"").split(","))).filter(function(e,t){return"None"!==e&&e&&s(e,t,n)}).join(",")},c=function(e,t){var a=t.map(function(e){return e.name});return(a=a.concat((e.linkTrackEvents||"").split(","))).filter(function(e,t){return"None"!==e&&s(e,t,a)}).join(",")};t.linkTrackVars=l(t,{eVar118:""},!0)+",products",t.linkTrackEvents=c(t,[{name:"event251"}]),t.events="event251",t.products=";"+a+";1;"+n+";event251="+n+";eVar118=Budget,;"+a+";1;"+i+";event251="+i+";eVar118=Comfort,;"+a+";1;"+r+";event251="+r+";eVar118=Top",window.previousDigitalData=window.digitalData}},trackerProperties:{}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"page_productPremiumData",linkType:"o"}},{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"https://assets.allianz.ch/dd4adce84cad/99628eadc69f/02bc813a9af7/RC2a77312f326445649a208cc19ad667ec-source.min.js",language:"javascript",isExternal:!0}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RLe2b59e3748844984bedaa3b9f99f08e7",name:"pageLoad processing (allianzcinema)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianzdriveincinema.ch","allianzcinema.ch"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{
source:"/*\nwrapper for _satellite.logger.log\n@param msg - message to be printed \n*/ \nvar prefix = 'rules::pageload_processing::';\nfunction launchLog(msg) {\n    if( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.log === 'object' && typeof window.AZCH_library.log.launchLog === 'function')\n        window.AZCH_library.log.launchLog(prefix,msg);\n}\n\n//exit link tacking enabled only if consent is given\n//trigger direct call rule in here with consent check\n//in that rule fill s.internalLink tracking variables correctly based on the documentation\n\n//load functions for shorter reference\nwindow.getParameterByName = function(param) { launchLog('AZCH_library.url.getParameterByName('+param+') missing'); return ''; };\nif( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.url === 'object' && typeof window.AZCH_library.url.getParameterByName === 'function') {\n    window.getParameterByName = window.AZCH_library.url.getParameterByName;\n}\n\n//remove Privacy EMAIL Adress\nif (window.location.href.indexOf(\"EMAIL=\") > 0){\n window.history.replaceState({}, document.title, window.location.href.split('?')[0]);\n}\n\n\n// scrolling\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.engagement = window.digitalData.engagement || {};\nwindow.digitalData.engagement.scroll = {};\nwindow.digitalData.engagement.scroll.tresholds = [0.25,0.5,0.75,1];\nwindow.digitalData.engagement.scroll.reached = [];\nwindow.digitalData.engagement.scroll.semaphore = 0;\n\n//attach listener for scrolling\nif( typeof window.AZCH_library === 'object' && typeof window.AZCH_library.scroll === 'object' && typeof window.AZCH_library.scroll.aaScroll === 'function') {\n    window.removeEventListener('scroll',window.AZCH_library.scroll.aaScroll);\n    window.addEventListener('scroll',window.AZCH_library.scroll.aaScroll);\n}\nelse launchLog('window.AZCH_library.scroll.aaScroll is not a function');\n\nlaunchLog('pageLoad 2019-06-25');\n\n//make sure our necessary subnodes are available\n//page\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.page = window.digitalData.page || {};\n\nwindow.digitalData.page.pageInfo = window.digitalData.page.pageInfo || {};\nwindow.digitalData.page.pageInfo.hostname = window.digitalData.page.pageInfo.hostname || {};\nwindow.digitalData.page.pageInfo.breadCrumbs = window.digitalData.page.pageInfo.breadCrumbs || {};\n\nwindow.digitalData.page.attributes = window.digitalData.page.attributes || {};\nwindow.digitalData.page.attributes.authoring = window.digitalData.page.attributes.authoring || {};\nwindow.digitalData.page.attributes.context = window.digitalData.page.attributes.context || {};\nwindow.digitalData.page.attributes.lastModifiedDate = window.digitalData.page.attributes.lastModifiedDate || {};\nwindow.digitalData.page.attributes.version = window.digitalData.page.attributes.version || {};\n  \nwindow.digitalData.page.previousPage = window.digitalData.page.previousPage || {};\n//window.digitalData.page.previousPage.pageInfo = window.digitalData.page.previousPage.pageInfo || {};\n//window.digitalData.page.previousPage.pageInfo.pageName = window.digitalData.page.previousPage.pageInfo.pageName || {};\n\n//AEP POC \nwindow.digitalData.product = window.digitalData.product || {};\nwindow.digitalData.product.price = window.digitalData.product.price || {};\nwindow.digitalData.product.price.value = window.digitalData.product.price.value || {};\n\nwindow.digitalData.quote = window.digitalData.quote || {};\nwindow.digitalData.quote.coverage = window.digitalData.quote.coverage || {};\nwindow.digitalData.quote.coverage.objects = window.digitalData.quote.coverage.objects || {};\nwindow.digitalData.quote.coverage.objects.vehicle = window.digitalData.quote.coverage.objects.vehicle || {};\nwindow.digitalData.quote.coverage.objects.vehicle.make = window.digitalData.quote.coverage.objects.vehicle.make || {};\n\n// application id\nwindow.digitalData = window.digitalData || {};\nwindow.digitalData.application = window.digitalData.application || {};\nwindow.digitalData.application.applicationId = window.digitalData.application.applicationId || {};\nwindow.digitalData.application.applicationName = window.digitalData.application.applicationName || {};\nwindow.digitalData.application.virtualPageName = window.digitalData.application.virtualPageName || {};\n\n//campaign stuff\nwindow.digitalData.marketingCampaign = window.digitalData.marketingCampaign || {};\nwindow.digitalData.marketingCampaign.external = window.digitalData.marketingCampaign.external || {};\n\n// userlike chat tracking\n//_satellite.track('page_userlike');\n\n//\n// tag staff traffic\n//\nif(window.location.href.indexOf('staff=1')>=0) {\n    var cookieName = \"_staff\";\n    var cookieValue = \"true\";\n    var expirationTime = 31556952; // One year expiration\n    expirationTime = expirationTime * 1000; // Converts expirationtime to milliseconds\n    var date = new Date();\n    var dateTimeNow = date.getTime();\n    date.setTime(dateTimeNow + expirationTime); // Sets expiration time (Time now + one month)\n    var date = date.toUTCString(); // Converts milliseconds to UTC time string\n    \n    //FIXME might create very unexpected results since it might create TWO cookies with possibly different values\n    //domain should be handled properly - assumption that a domain always has \"www\" as the hostname is wrong\n    document.cookie = cookieName + \"=\" + cookieValue + \"; expires=\" + date + \"; path=/; domain=.\" + location.hostname.replace(/^www\\./i, \"\");\n    //Sets cookie for all subdomains\n\n    // delete/rewrite this for Launch\n    /*\n    dataLayer.push({\n        'event': 'staffCookie',\n    });\n    */\n    // do or don't what's necessary\n}\n\nlaunchLog('prepare user object');\nwindow.digitalData.user = window.digitalData.user || {};\nwindow.digitalData.user.profileId = window.digitalData.user.profileId || \"\";\nwindow.digitalData.user.emailId = window.digitalData.user.emailId || \"\";\nwindow.digitalData.user.userId = window.digitalData.user.userId || \"\";\nif (typeof window.digitalData.user.profileId === 'string') {\n    var strPid = \"\";\n  \n    if (window.digitalData.user.profileId.length > 0) {      \n      strPid = window.digitalData.user.profileId;\n      launchLog('found user pid - value: ->'+strPid+'<-');\n      \n      //hash pid\n      var key = window.AZCH_library.crypto.codec.utf8String.toBits(\"AFyrhTvvw7\");\n\t  var out = (new window.AZCH_library.crypto.misc.hmac(key, window.AZCH_library.crypto.hash.sha256)).mac(strPid);\n      var hmac = window.AZCH_library.crypto.codec.hex.fromBits(out);\n      launchLog('hash user pid - value: ->'+hmac+'<-');\n      \n      if (strPid.indexOf(\"@\") > -1) {   \n        window.digitalData.user.emailId = hmac;\n        // reset profileId\n        window.digitalData.user.profileId = \"\";\n      }\n      else{\n        window.digitalData.user.userId = hmac;\n      }\n    }\n}\nif (typeof window.digitalData.user.userId === 'string' && window.digitalData.user.userId.length < 14 ) {\n    var strPid = \"\";\n  \n    if (window.digitalData.user.userId.length > 0) {      \n      strPid = window.digitalData.user.userId;\n      launchLog('found user pid - value: ->'+strPid+'<-');\n      \n      //hash pid\n      var key = window.AZCH_library.crypto.codec.utf8String.toBits(\"AFyrhTvvw7\");\n\t  var out = (new window.AZCH_library.crypto.misc.hmac(key, window.AZCH_library.crypto.hash.sha256)).mac(strPid);\n      var hmac = window.AZCH_library.crypto.codec.hex.fromBits(out);\n      launchLog('hash user pid - value: ->'+hmac+'<-');\n      window.digitalData.user.userId = hmac;\n    }\n}\n\n\n\nwindow.digitalData.user.login = window.digitalData.user.login || {};\nwindow.digitalData.user.login.lastLoginDate = window.digitalData.user.login.lastLoginDate || {};\n\nwindow.digitalData.user.consent = window.digitalData.user.consent || {};\nwindow.digitalData.user.consent.isSocialAllowed = window.digitalData.user.consent.isSocialAllowed || {};\n\n\nwindow.digitalData.user.type = window.digitalData.user.type || {};\nwindow.digitalData.user.targetActivityName = window.digitalData.user.targetActivityName || {};\n\n\nwindow.digitalData.user.staff = window.digitalData.user.staff || 'false';\nif(window.location.href.indexOf('staff=1')>=0 || document.cookie.indexOf('_staff=true')>=0 || document.cookie.indexOf('_staff=1')>=0) {\n    window.digitalData.user.staff = 'true';\n}\n\n//AEP POC\nwindow.digitalData.user.geo = window.digitalData.user.geo || {};\nwindow.digitalData.user.geo.city = window.digitalData.user.geo.city || {};\nwindow.digitalData.user.geo.state = window.digitalData.user.geo.state || {};\nwindow.digitalData.user.geo.country = window.digitalData.user.geo.country || {};\n\n\n//URL based attributes\nlaunchLog('PageName pre: '+window.digitalData.page.pageInfo.pageName);\nvar wlh = window.location.href;\n//FIXME handle broken URLs like this: www.allianz.ch/index&a=b?c=d\nvar wlhwp = wlh.indexOf('?')>=0?wlh.split('?')[0]:wlh;\n\nlaunchLog('create new pagename');\n//init this to a value we can be sure will never be a pagename\nvar strBasenamePageID = 'no pageid found';\n\n//break url into its pieces\nvar oUrl = window.AZCH_library.url.parseURL(wlh);\n\n//we will need the hostname later on\nvar strHostname = oUrl.hostname;\n//only remove the subdomain/host if it is \"www.\", keep it otherwhise\nif (strHostname.substr(0, 4) == 'www.') strHostname = strHostname.substr(4);\n\n//url is always available, so take that as default\n//FIXME double slash \" test.allianz.ch//asu_cdn/apps/asu_momf-gui/\"\nvar strPathname = oUrl.pathname;\n//Fix IE Bug pathnahme missing slash\nif (strPathname.charAt(0) != \"/\") {strPathname = \"/\"+strPathname}\nvar strNewPagename = strHostname+strPathname; \n\n//directly store hash into digitalData - we want to be able to use that in every possible situation\nlaunchLog('Type of hash: ' + typeof oUrl.hash);\nif (typeof oUrl.hash === 'string') {\n    launchLog('found url hash - value: ->'+oUrl.hash+'<-');\n    if (oUrl.hash.length > 0) {     \n        window.digitalData.page.pageInfo.pageHash = oUrl.hash;\n        launchLog('pushed url hash to digitalData: ->'+window.digitalData.page.pageInfo.pageHash+'<-');\n    }\n}\nelse launchLog('url hash is not a string - type is: ' + typeof oUrl.hash);\n  \n//we need a language-independent version of the pageid to identify buggy single page applications\nvar strPageKey = '';\n\n//if we have a pageid we use that as base for our new pagename, also we need the basename of the\n//pageid to check whether we really want to replace the pagename\nif (typeof window.digitalData.page.pageInfo.pageID !== 'undefined') {\n    launchLog('pageid found');\n    var strPageID = window.digitalData.page.pageInfo.pageID; \n    var arPageID = strPageID.split('/');\n\n    //pageid looks like /content/onemarketing/azch/allianz/<what>/<we>/<really>/<want>\n    //first four elements might differ between brands, but will always be there, so we remove them\n    var nCurrShift = 0;\n    var dummy;\n    for (nCurrShift=0; nCurrShift<5; nCurrShift++) dummy = arPageID.shift();\n\n    launchLog('pageid prefix removed');\n    //now build short version of pageid\n    strPageID = arPageID.join('/');\n    launchLog('short version of pageid: '+strPageID);\n\n    //create page-key - (pageid without language)\n    dummy = arPageID.shift();\n    strPageKey = arPageID.join('/');\n\n    //finally add domain to distinguish between brands etc. \n    _satellite.logger.log('add hostname to new pagename');\n    strNewPagename = strHostname + '/' + strPageID; \n\n    //get basename - we need it later to decide whether we really want to replace\n    //the existing pagename\n    launchLog('get basename of pageid');\n    strBasenamePageID = arPageID.pop();\n}\n\n//if our current context is some type of single page application we need to have the\n//virtual pagename in digitalData\n//to determine if our current context is a spa we check on the digitalData.application and\n//on the app-root tag within the page\nlaunchLog('check for single page app - we might need to add a virtual pagename');\n\n//first get possible app-root-nodes\nvar arAppRootTags = window.document.getElementsByTagName('app-root');\nlaunchLog('checking on app-root - length of arAppRootTags is: '+arAppRootTags.length);\n\n//now check on special case pagenames (or actually page keys - see above for creation)\nvar oSPAUrls = {'privatkunden/services/meine-versicherung/meine-daten': true,\n                'privatkunden/services/meine-versicherung/meine-vertraege': true};\nlaunchLog('checking on strPageKey (' + strPageKey + ') type is: '+typeof oSPAUrls[strPageKey]);\n\n//now determine whether we want to use a virtual pagename as described above\nvar strVirtualPagename = '';\nif ( ( arAppRootTags.length > 0 ) || ( typeof window.digitalData.application !== 'undefined') || ( typeof oSPAUrls[strPageKey] !== 'undefined' ) ) {\n    launchLog('we are within a single page application - length of arAppRootTags is: '+arAppRootTags.length);\n    //ok we need to add a virtual pagename, either by getting it out of digitalData or\n    //by using the hash from the url\n    //default is empty\n    \n    //use hash from url first\n    if (typeof oUrl.hash === 'string') {\n        strVirtualPagename = oUrl.hash;\n        launchLog('found hash in url: '+strVirtualPagename);\n    }\n    \n    //now check on virtual pagename in digitalData\n    if ( typeof window.digitalData.application !== 'undefined' ) {\n        if ( typeof window.digitalData.application.virtualPageName === 'string' ) {\n            strVirtualPagename = window.digitalData.application.virtualPageName;\n            launchLog('found virtual pagename in application node: '+strVirtualPagename);\n        }\n    }\n    \n    //only continue if it is non-empty\n    if ( strVirtualPagename.length > 0 ) {\n        launchLog('virtual pagename is available and not empty: '+strVirtualPagename);\n        //make sure we have a '#' at the beginning\n        if ( strVirtualPagename.charAt(0) == '#' ) {\n            strVirtualPagename = strVirtualPagename.substr(1);\n            launchLog('removed hash from virtual pagename: '+strVirtualPagename);\n        }\n        \n        //now push the final virtual pagename to digitalData\n        //first make sure that application subnode exists - we can't do that globally since this has to be bound to the spa context\n        window.digitalData.application = window.digitalData.application || {};\n        window.digitalData.application.virtualPageName = strVirtualPagename;\n        launchLog('added virtual pagename to digitalData: ' + window.digitalData.application.virtualPageName);\n        strNewPagename = strNewPagename + '#' + strVirtualPagename;\n    }\n}\n\nlaunchLog('new pagename is: '+strNewPagename);\n\n// apply replacement to pagename\nlaunchLog('decide on replacement');\nif (typeof window.digitalData.page.pageInfo.pageName === 'undefined') {\n    window.digitalData.page.pageInfo.pageName = strNewPagename;  \n    launchLog('pagename not yet set - set it: '+window.digitalData.page.pageInfo.pageName);\n}\nelse {\n    if (strBasenamePageID == window.digitalData.page.pageInfo.pageName) {\n        window.digitalData.page.pageInfo.pageName = strNewPagename;  \n        launchLog('pagename is basename of pageid - overwrite it: '+window.digitalData.page.pageInfo.pageName);\n    }\n\telse if (strBasenamePageID == 'homepage'){\n\t\twindow.digitalData.page.pageInfo.pageName = strNewPagename;\n\t\t//note: the 'homepage' value has to be set in the AEM page properties -> advanced settings\n\t\tlaunchLog('pageName is a locale e.g de_CH, it_CH, fr_CH etc.(elvia.ch aem root page), overwrite with strNewPagename: '+ strNewPagename);\n\t}\n    else {\n        launchLog('pagename is present - it is not the basename of the pageid - length of virtual pagename is: '+strVirtualPagename.length);    \n        if ( strVirtualPagename.length > 0 ) {\n            window.digitalData.page.pageInfo.pageName = strNewPagename;  \n            launchLog('we have a new virtual pagename, so overwrite pagename: '+window.digitalData.page.pageInfo.pageName);\n        }\n        else launchLog('pagename is present - it is not the basename of the pageid and virtual pagename is empty: '+window.digitalData.page.pageInfo.pageName);\n    }\n}\n\n//window.digitalData.page.pageInfo.pageName = window.digitalData.page.pageInfo.pageName || strPagenameURL;\nwindow.digitalData.page.pageInfo.destinationURL =  window.digitalData.page.pageInfo.destinationURL || wlh;\nlaunchLog('PageName post: '+window.digitalData.page.pageInfo.pageName);\n\nvar wtlh = window.top.location.href;\n//FIXME handle broken URLs like above\nvar wtlhwp = wtlh.indexOf('?')>=0?wtlh.split('?')[0]:wtlh;\nvar wtls = window.top.location.search;\nvar wls = window.location.search;\nvar wdr = window.document.referrer;\nvar wtdr = window.top.document.referrer;\n\nwindow.digitalData.page.pageInfo.URLqueryParams = window.digitalData.page.pageInfo.URLqueryParams || oUrl.search;\n\n//FIXME proper variable names used - the following line seems weired due to path of frame connected to search of parent\nwindow.digitalData.page.pageInfo.fullURL =  digitalData.page.pageInfo.fullURL || wlhwp+wtls;\nwindow.digitalData.page.pageInfo.title\t= digitalData.page.pageInfo.title || window.document.title;\n\n//Framefix (only replace first frame referrer)\n//FIXME make sure window.digitalData.page.pageInfo.referringURL has a proper init\nif (wdr === wtlh) window.digitalData.page.pageInfo.referringURL = window.digitalData.page.pageInfo.referringURL || window.top.document.referrer;\nelse window.digitalData.page.pageInfo.referringURL = window.digitalData.page.pageInfo.referringURL || window.document.referrer;\n\n//FIXME configuration should be done in one central location\n// brand setting\nif( typeof window.digitalData.page.attributes.brand === 'undefined' ) {\n    var brands = {\n        'www.allianz.ch': 'Allianz',\n        'tarif.allianz.ch': 'Allianz',\n        'partner.allianz.ch': 'Allianz',\n        'service.allianz.ch': 'Allianz',\n        'my.allianz.ch': 'Allianz',\n        'www.allianzdriveincinema.ch': 'Allianz Cinema',\n        'www.allianzcinema.ch': 'Allianz Cinema',\n        'www.allianz-immobilien.ch': 'Allianz Immobilien',\n        'www.allianz-technology.ch': 'Allianz Technology',\n        'www.vorsorgeberatung.biz': 'Allianz Vorsorgeberatung',\n        'www.cap.ch': 'Cap',\n        'www.elvia.ch': 'ELVIA',\n        'tarif.elvia.ch': 'ELVIA',\n        'invest.elvia.ch': 'ELVIA',\n        'e-invest.ch': 'ELVIA',\n        'jobs.allianz.com': 'Allianz',\n        'forum.allianz.ch': 'Allianz',\n        'www.allianz-assistance.ch': 'Allianz',\n        'digitallab.allianz.ch': 'Allianz',\n        'splitsurance.ch': 'Allianz',\n        'das.ch': 'DAS',\n        'justis.ch': 'JUSTIS',\n        'quality1.ch': 'Quality 1',\n    };\n    // check the mapping\n    Object.keys(brands).forEach(function(k){\n        if(wlh.indexOf(k)>=0) window.digitalData.page.attributes.brand = brands[k];\n    });\n}\n\n//FIXME create helper-function to get language - should be able to deal with different ways like:\n//<some-url>/de_DE/<some-more-url>, <some-url>/de/<some-more-url>, <some-url>?lang=de, ....\n//use sessionStorage to persist, this way we get language-info even if the current page does not carry it\n//language\nvar lang = null;\nif(wlh.indexOf('/de/')>=0  || wlh.indexOf('lang=de')>=0   ) lang = 'de';\nelse if(wlh.indexOf('/fr/' )>=0 || wlh.indexOf('lang=fr')>=0 ) lang = 'fr';\nelse if(wlh.indexOf('/it/')>=0 || wlh.indexOf('lang=it')>=0) lang = 'it';\nelse if(wlh.indexOf('/en/')>=0 || wlh.indexOf('lang=en')>=0) lang = 'en';\nwindow.digitalData.page.pageInfo.language = window.digitalData.page.pageInfo.language || lang;\n\n//sections, check only if siteSection exists\n//assumes if siteSection exists, also siteSection1 and siteSection2 exist\n//FIXME we should create it out of the new pagename - more reliable and there is a direct connection between sections and name then\nif( typeof window.digitalData.page.pageInfo.siteSection === 'undefined' ) {\n    var parts = wlh.split('/');\n    if(typeof parts[3] !== 'undefined' && parts[3]==lang) {\n        if(typeof parts[4] !== 'undefined' && parts[4].length > 0) window.digitalData.page.pageInfo.siteSection = window.digitalData.page.pageInfo.siteSection || parts[4];\n        if(typeof parts[5] !== 'undefined' && parts[5].length > 0) window.digitalData.page.pageInfo.siteSection1 = window.digitalData.page.pageInfo.siteSection1 || parts[5];\n        if(typeof parts[6] !== 'undefined' && parts[6].length > 0) window.digitalData.page.pageInfo.siteSection2 = window.digitalData.page.pageInfo.siteSection2 || parts[6];\n    }\n    else {\n        if(typeof parts[3] !== 'undefined' && parts[3].length > 0) window.digitalData.page.pageInfo.siteSection = window.digitalData.page.pageInfo.siteSection || parts[3];\n        if(typeof parts[4] !== 'undefined' && parts[4].length > 0) window.digitalData.page.pageInfo.siteSection1 = window.digitalData.page.pageInfo.siteSection1 || parts[4];\n        if(typeof parts[5] !== 'undefined' && parts[5].length > 0) window.digitalData.page.pageInfo.siteSection2 = window.digitalData.page.pageInfo.siteSection2 || parts[5];\n    }\n}\n\n\nlaunchLog('Start creating trackingCode');\n//FIXME check the bugged paramter glcid? gclid? ???\nvar bCreateCampaign = false;\nif( typeof window.digitalData.page.attributes.trackingCode === 'string' ) {\n    launchLog('there is a trackingCode available');\n    if ( window.digitalData.page.attributes.trackingCode.length <= 0 ) {\n        launchLog('trackingCode is not empty');\n        bCreateCampaign = true;\n    } \n}\nelse {\n    launchLog('no trackingCode available');\n    bCreateCampaign = true;\n}\n\nif( bCreateCampaign ) {\n    launchLog('trying to create a campaign out of utm attributes');\n    var utm_source = getParameterByName('utm_source');\n    var utm_medium = getParameterByName('utm_medium');\n    var utm_campaign = getParameterByName('utm_campaign');\n    var utm_term = getParameterByName('utm_term');\n    var utm_content = getParameterByName('utm_content');\n    var gclid = getParameterByName('gclid');\n    var dclid = getParameterByName('dclid');\n    var icid = getParameterByName('icid');\n    \n    //if we have at least one Campaign-Information intended for Google Analytics we can use that to create our own campaign information\n    if( utm_source.length>0 || utm_medium.length>0 || utm_campaign.length>0 || utm_term.length>0 ||\n        utm_content.length>0 || gclid.length>0 || dclid.length>0 || icid.length>0\n    ) {\n        launchLog('at least one utm is not empty, so set new value to trackingCode');\n        //we already made sure that page and attributes subnodes are available on top of this launch-rule\n        window.digitalData.page.attributes.trackingCode = 'utm_source:'+utm_source+'|utm_medium:'+utm_medium+'|utm_campaign:'+utm_campaign+'|utm_term:'+utm_term+'|utm_content:'+utm_content+'|gclid:'+gclid+'|dclid:'+dclid+'|icid:'+icid;\n    }\n}\n\n// evar52\nvar internCampaign = getParameterByName('intern-campaign');\nwindow.digitalData.marketingCampaign.internal = internCampaign;\n\n// evar53\nvar mailID = getParameterByName('id');\nvar allianzID = getParameterByName('aid');\n//TODO: check for aid presence overwrite\nif (allianzID) { \n  mailID = allianzID;\n}\nwindow.digitalData.marketingCampaign.external.mailID = mailID;\n\n// evar140 // AMO ID - AL!9905!3!{creative}!{matchtype}!{placement}!{network}!!{keyword}\nvar amoid = getParameterByName('s_kwcid');\nwindow.digitalData.marketingCampaign.external.amoid = amoid;\n\n\n// Call Cinema Page View\n_satellite.track('pageTracking-cinema');",language:"javascript"}}]},{id:"RL9f8623e917a84f70beb3088858cd843c",name:"AA: FNOL - PH Form-Complete",events:[{modulePath:"core/src/lib/events/directCall.js",settings:{identifier:"switzerland_liab.pageChanged"},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch"]}},{modulePath:"core/src/lib/conditions/path.js",settings:{paths:[{value:"claim-notification",valueIsRegex:!0}]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.spaData.switzerland_liab.pageChanged.newPage",value:"all-done",valueIsRegex:!0}}],actions:[{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{eVars:[{name:"eVar1",type:"value",value:"%digitalData.page.pageInfo.pageName%"},{name:"eVar2",type:"value",value:"%digitalData.page.pageInfo.destinationURL%"},{name:"eVar177",type:"value",value:"%digitalData.application.virtualPageName%"}],events:[{name:"event45"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"fnol_formComplete",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL6a7d47980add4c25bc563c8e456cb400",name:"Google Tag Manager",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/customCode.js",settings:{source:function(){function e(){for(var e in gtm=!1,window.dataLayer)window.dataLayer[e]["gtm.start"]&&(gtm=!0);return gtm}if((!e()||!window.google_tag_manager)&&-1<window.location.hostname.indexOf("tarif"))return!0}}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:"<!-- Google Tag Manager -->\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n})(window,document,'script','dataLayer','GTM-PVQNQD');</script>\n<!-- End Google Tag Manager -->",language:"html"}}]},{id:"RL7b24e0a8fe91455d88ccc4aeca7e4152",name:"DFA: AZCH_ELVIA_SV-Social",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"elvia.ch/de_CH/ldp/die-online-versicherung-mit-biss",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.siteSection",value:"Landingpages",valueIsRegex:!0}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"elvia007"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6774922"},type:{key:"type",value:"elvia0"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL8f2c1b15cd5346a9a1ceafc85d4ad4b4",name:"DFA: AZCH_ELVIA_Autoversicherung-vergleichen",events:[{modulePath:"core/src/lib/events/windowLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}},{modulePath:"core/src/lib/conditions/variable.js",settings:{name:"digitalData.page.pageInfo.pageName",value:"unterwegs/autoversicherungen-vergleichen",valueIsRegex:!0}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/performancecookiesactive.js",settings:{activeGroupFieldValue:",2,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"elvia000"},ord:{key:"ord",value:"1"},src:{key:"src",value:"6774922"},type:{key:"type",value:"rtgb"}},elementTagName:"img",floodlightType:"counter"}}]},{id:"RL516fca9d290249fdbcbba8fa9365824e",name:"2020 Lead4you Hack Pavoni",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/pathAndQuerystring.js",settings:{paths:[{value:"/content/dam/onemarketing/azch/allianz/kontaktformular/success.html?al=success"}]}},{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["allianz.ch"]}},{modulePath:"onetrust-consent-management-for-cookies/src/lib/conditions/targetingcookiesactive.js",settings:{activeGroupFieldValue:",4,"}}],actions:[{modulePath:"doubleclick-floodlight/dist/lib/actions/floodlightCounter.js",settings:{params:{cat:{key:"cat",value:"allia0"},src:{key:"src",value:"6772588"},type:{key:"type",value:"lead4u"}},elementTagName:"img",floodlightType:"counter"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}},{modulePath:"adobe-analytics/src/lib/actions/setVariables.js",settings:{trackerProperties:{events:[{name:"event950"}]}}},{modulePath:"adobe-analytics/src/lib/actions/sendBeacon.js",settings:{type:"link",linkName:"lead4you",linkType:"o"}},{modulePath:"adobe-analytics/src/lib/actions/clearVariables.js",settings:{}}]},{id:"RL90e294da53034e77862257da78bb1a96",name:"Facebook Verification (TMP) (VDA)",events:[{modulePath:"core/src/lib/events/libraryLoaded.js",settings:{},ruleOrder:50}],conditions:[{modulePath:"core/src/lib/conditions/domain.js",settings:{domains:["elvia.ch"]}}],actions:[{modulePath:"core/src/lib/actions/customCode.js",settings:{source:'var meta = document.createElement(\'meta\');\nmeta.name = "facebook-domain-verification"\nmeta.content = "hiodl8s60lqak9gzkdn6ql23vsoypp";\ndocument.getElementsByTagName(\'head\')[0].appendChild(meta);\n\n\n_satellite.logger.log("facebook-domain-verification");//post',language:"javascript"}}]}]};var _satellite=function(){"use strict";function e(a){if(a.__esModule)return a;var n=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(a).forEach(function(e){var t=Object.getOwnPropertyDescriptor(a,e);Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return a[e]}})}),n}function t(e){var t={exports:{}};return e(t,t.exports),t.exports}function a(t){var a=this.constructor;return this.then(function(e){return a.resolve(t()).then(function(){return e})},function(e){return a.resolve(t()).then(function(){return a.reject(e)})})}function c(e){return Boolean(e&&"undefined"!=typeof e.length)}function n(){}function i(e,t){return function(){e.apply(t,arguments)}}function r(e){if(!(this instanceof r))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=undefined,this._deferreds=[],g(e,this)}function o(n,i){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,r._immediateFn(function(){var e=1===n._state?i.onFulfilled:i.onRejected;if(null!==e){var t;try{t=e(n._value)}catch(a){return void l(i.promise,a)}s(i.promise,t)}else(1===n._state?s:l)(i.promise,n._value)})):n._deferreds.push(i)}function s(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var a=t.then;if(t instanceof r)return e._state=3,e._value=t,void u(e);if("function"==typeof a)return void g(i(a,t),e)}e._state=1,e._value=t,u(e)}catch(n){l(e,n)}}function l(e,t){e._state=2,e._value=t,u(e)}function u(e){2===e._state&&0===e._deferreds.length&&r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,a=e._deferreds.length;t<a;t++)o(e,e._deferreds[t]);e._deferreds=null}function d(e,t,a){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=a}function g(e,t){var a=!1;try{e(function(e){a||(a=!0,s(t,e))},function(e){a||(a=!0,l(t,e))})}catch(n){if(a)return;a=!0,l(t,n)}}function p(e){if(null===e||e===undefined)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function f(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},a=0;a<10;a++)t["_"+String.fromCharCode(a)]=a;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}function m(e,t){return Object.prototype.hasOwnProperty.call(e,t)}if(window.atob){var v=function(e){var a=[];return e.forEach(function(t){t.events&&t.events.forEach(function(e){a.push({rule:t,event:e})})}),a.sort(function(e,t){return e.event.ruleOrder-t.event.ruleOrder})},h="debug",b=function(t,e){var a=function(){return"true"===t.getItem(h)},n=function(e){t.setItem(h,e)},i=[],
r=function(e){i.push(e)};return e.outputEnabled=a(),{onDebugChanged:r,getDebugEnabled:a,setDebugEnabled:function(t){a()!==t&&(n(t),e.outputEnabled=t,i.forEach(function(e){e(t)}))}}},y="Module did not export a function.",w=function(r,o){return function(e,t,a){a=a||[];var n=r.getModuleExports(e.modulePath);if("function"!=typeof n)throw new Error(y);var i=o(e.settings||{},t);return n.bind(null,i).apply(null,a)}},D=function(e){return"string"==typeof e?e.replace(/\s+/g," ").trim():e},I={LOG:"log",INFO:"info",DEBUG:"debug",WARN:"warn",ERROR:"error"},P="\ud83d\ude80",k=10===parseInt((/msie (\d+)/.exec(navigator.userAgent.toLowerCase())||[])[1])?"[Launch]":P,j=!1,C=function(e){if(j&&window.console){var t=Array.prototype.slice.call(arguments,1);t.unshift(k),e!==I.DEBUG||window.console[e]||(e=I.INFO),window.console[e].apply(window.console,t)}},_=C.bind(null,I.LOG),V=C.bind(null,I.INFO),S=C.bind(null,I.DEBUG),A=C.bind(null,I.WARN),E=C.bind(null,I.ERROR),L={log:_,info:V,debug:S,warn:A,error:E,deprecation:function(){var e=j;j=!0,C.apply(null,Array.prototype.concat(I.WARN,Array.prototype.slice.call(arguments))),e||(j=!1)},get outputEnabled(){return j},set outputEnabled(e){j=e},createPrefixedLogger:function(e){var t="["+e+"]";return{log:_.bind(null,t),info:V.bind(null,t),debug:S.bind(null,t),warn:A.bind(null,t),error:E.bind(null,t)}}},x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},O=t(function(n){!function(e){if(n.exports=e(),!!0){var t=window.Cookies,a=window.Cookies=e();a.noConflict=function(){return window.Cookies=t,a}}}(function(){function l(){for(var e=0,t={};e<arguments.length;e++){var a=arguments[e];for(var n in a)t[n]=a[n]}return t}function u(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function e(c){function s(){}function a(e,t,a){if("undefined"!=typeof document){"number"==typeof(a=l({path:"/"},s.defaults,a)).expires&&(a.expires=new Date(1*new Date+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var n=JSON.stringify(t);/^[\{\[]/.test(n)&&(t=n)}catch(o){}t=c.write?c.write(t,e):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=encodeURIComponent(String(e)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var i="";for(var r in a)a[r]&&(i+="; "+r,!0!==a[r]&&(i+="="+a[r].split(";")[0]));return document.cookie=e+"="+t+i}}function t(e,t){if("undefined"!=typeof document){for(var a={},n=document.cookie?document.cookie.split("; "):[],i=0;i<n.length;i++){var r=n[i].split("="),o=r.slice(1).join("=");t||'"'!==o.charAt(0)||(o=o.slice(1,-1));try{var s=u(r[0]);if(o=(c.read||c)(o,s)||u(o),t)try{o=JSON.parse(o)}catch(l){}if(a[s]=o,e===s)break}catch(l){}}return e?a[e]:a}}return s.set=a,s.get=function(e){return t(e,!1)},s.getJSON=function(e){return t(e,!0)},s.remove=function(e,t){a(e,"",l(t,{expires:-1}))},s.defaults={},s.withConverter=e,s}return e(function(){})})}),T={get:O.get,set:O.set,remove:O.remove},N=window,R="com.adobe.reactor.",M=function(n,e){var i=R+(e||"");return{getItem:function(e){try{return N[n].getItem(i+e)}catch(t){return null}},setItem:function(e,t){try{return N[n].setItem(i+e,t),!0}catch(a){return!1}}}},F="_sdsat_",q="dataElements.",H="dataElementCookiesMigrated",U=M("localStorage"),z=M("sessionStorage",q),B=M("localStorage",q),G={PAGEVIEW:"pageview",SESSION:"session",VISITOR:"visitor"},Z={},Q=function(e){var t;try{t=JSON.stringify(e)}catch(a){}return t},W=function(e,t,a){var n;switch(t){case G.PAGEVIEW:return void(Z[e]=a);case G.SESSION:return void((n=Q(a))&&z.setItem(e,n));case G.VISITOR:return void((n=Q(a))&&B.setItem(e,n))}},Y=function(e,t){var a=T.get(F+e);a!==undefined&&W(e,t,a)},K={setValue:W,getValue:function(e,t){var a;switch(t){case G.PAGEVIEW:return Z.hasOwnProperty(e)?Z[e]:null;case G.SESSION:return null===(a=z.getItem(e))?a:JSON.parse(a);case G.VISITOR:return null===(a=B.getItem(e))?a:JSON.parse(a)}},migrateCookieData:function(t){U.getItem(H)||(Object.keys(t).forEach(function(e){Y(e,t[e].storageDuration)}),U.setItem(H,!0))}},$=function(e,t,a,n){return"Failed to execute data element module "+e.modulePath+" for data element "+t+". "+a+(n?"\n"+n:"")},J=function(s,l,c,u){return function(e,t){var a=l(e);if(!a)return u?"":undefined;var n,i=a.storageDuration;try{n=s.getModuleExports(a.modulePath)}catch(o){return void L.error($(a,e,o.message,o.stack))}if("function"==typeof n){var r;try{r=n(c(a.settings,t),t)}catch(o){return void L.error($(a,e,o.message,o.stack))}return i&&(null!=r?K.setValue(e,i,r):r=K.getValue(e,i)),null==r&&null!=a.defaultValue&&(r=a.defaultValue),"string"==typeof r&&(a.cleanText&&(r=D(r)),a.forceLowerCase&&(r=r.toLowerCase())),r}L.error($(a,e,"Module did not export a function."))}},X={text:function(e){return e.textContent},cleanText:function(e){return D(e.textContent)}},ee=function(e,t,a){for(var n,i=e,r=0,o=t.length;r<o;r++){if(null==i)return undefined;var s=t[r];if(a&&"@"===s.charAt(0)){var l=s.slice(1);i=X[l](i)}else if(i.getAttribute&&(n=s.match(/^getAttribute\((.+)\)$/))){var c=n[1];i=i.getAttribute(c)}else i=i[s]}return i},te=function(r,o,s){return function(e,t){var a;if(o(e))a=s(e,t);else{var n=e.split("."),i=n.shift();"this"===i?t&&(a=ee(t.element,n,!0)):"event"===i?t&&(a=ee(t,n)):"target"===i?t&&(a=ee(t.target,n)):a=ee(r[i],n)}return a}},ae=function(a,n){return function(e){var t=e.split(".")[0];return Boolean(n(e)||"this"===t||"event"===t||"target"===t||a.hasOwnProperty(t))}},ne=function(e,t,a){var n={exports:{}};return e.call(n.exports,n,n.exports,t,a),n.exports},ie=function(){var o={},a=function(e){var t=o[e];if(!t)throw new Error("Module "+e+" not found.");return t},e=function(){Object.keys(o).forEach(function(e){try{n(e)}catch(a){var t="Error initializing module "+e+". "+a.message+(a.stack?"\n"+a.stack:"");L.error(t)}})},n=function(e){var t=a(e);return t.hasOwnProperty("exports")||(t.exports=ne(t.definition.script,t.require,t.turbine)),t.exports};return{registerModule:function(e,t,a,n,i){var r={definition:t,extensionName:a,require:n,turbine:i};r.require=n,o[e]=r},hydrateCache:e,getModuleExports:n,getModuleDefinition:function(e){return a(e).definition},getModuleExtensionName:function(e){return a(e).extensionName}}},re=!1,oe=function(n){return function(t,a){var e=n._monitors;e&&(re||(L.warn("The _satellite._monitors API may change at any time and should only be used for debugging."),re=!0),e.forEach(function(e){e[t]&&e[t](a)}))}},se=function(i,r,o){var a,n,s,l,c=[],u=function(e,t,a){if(!i(t))return e;c.push(t);var n=r(t,a);return c.pop(),null==n&&o?"":n};return a=function(e,a){var t=/^%([^%]+)%$/.exec(e);return t?u(e,t[1],a):e.replace(/%(.+?)%/g,function(e,t){return u(e,t,a)})},n=function(e,t){for(var a={},n=Object.keys(e),i=0;i<n.length;i++){var r=n[i],o=e[r];a[r]=l(o,t)}return a},s=function(e,t){for(var a=[],n=0,i=e.length;n<i;n++)a.push(l(e[n],t));return a},l=function(e,t){return"string"==typeof e?a(e,t):Array.isArray(e)?s(e,t):"object"==typeof e&&null!==e?n(e,t):e},function(e,t){return 10<c.length?(L.error("Data element circular reference detected: "+c.join(" -> ")),e):l(e,t)}},le=function(i){return function(e,t){if("string"==typeof e)i[arguments[0]]=t;else if(arguments[0]){var a=arguments[0];for(var n in a)i[n]=a[n]}}},ce=setTimeout;r.prototype["catch"]=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var a=new this.constructor(n);return o(this,new d(e,t,a)),a},r.prototype["finally"]=a,r.all=function(t){return new r(function(i,r){function o(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var a=e.then;if("function"==typeof a)return void a.call(e,function(e){o(t,e)},r)}s[t]=e,0==--l&&i(s)}catch(n){r(n)}}if(!c(t))return r(new TypeError("Promise.all accepts an array"));var s=Array.prototype.slice.call(t);if(0===s.length)return i([]);for(var l=s.length,e=0;e<s.length;e++)o(e,s[e])})},r.resolve=function(t){return t&&"object"==typeof t&&t.constructor===r?t:new r(function(e){e(t)})},r.reject=function(a){return new r(function(e,t){t(a)})},r.race=function(i){return new r(function(e,t){if(!c(i))return t(new TypeError("Promise.race accepts an array"));for(var a=0,n=i.length;a<n;a++)r.resolve(i[a]).then(e,t)})},r._immediateFn="function"==typeof setImmediate&&function(e){setImmediate(e)}||function(e){ce(e,0)},r._unhandledRejectionFn=function _t(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};var ue=e(Object.freeze({__proto__:null,"default":r})),de="undefined"!=typeof window&&window.Promise||void 0!==x&&x.Promise||ue["default"]||ue,ge=function(c,a,n){return function(s,t,l,e){return e.then(function(){var r,o=s.delayNext;return new de(function(e,t){var a=c(s,l,[l]);if(!o)return e();var n=s.timeout,i=new de(function(e,t){r=setTimeout(function(){t(new Error("A timeout occurred because the action took longer than "+n/1e3+" seconds to complete. "))},n)});de.race([a,i]).then(e,t)})["catch"](function(e){return clearTimeout(r),e=a(e),n(s,t,e),de.reject(e)}).then(function(){clearTimeout(r)})})}},pe=function(l,a,n,i,c){return function(o,t,s,e){return e.then(function(){var r;return new de(function(e,t){var a=l(o,s,[s]),n=o.timeout,i=new de(function(e,t){r=setTimeout(function(){t(new Error("A timeout occurred because the condition took longer than "+n/1e3+" seconds to complete. "))},n)});de.race([a,i]).then(e,t)})["catch"](function(e){return clearTimeout(r),e=a(e),i(o,t,e),de.reject(e)}).then(function(e){if(clearTimeout(r),!n(o,e))return c(o,t),de.reject()})})}},fe=de.resolve(),me=function(n,i,e){return function(t,a){return t.conditions&&t.conditions.forEach(function(e){fe=n(e,t,a,fe)}),t.actions&&t.actions.forEach(function(e){fe=i(e,t,a,fe)}),fe=(fe=fe.then(function(){e(t)}))["catch"](function(){})}},ve=function(e){return Boolean(e&&"object"==typeof e&&"function"==typeof e.then)},he=function(o,s,l,c){return function(e,t){var a;if(e.conditions)for(var n=0;n<e.conditions.length;n++){a=e.conditions[n];try{var i=o(a,t,[t]);if(ve(i))throw new Error("Rule component sequencing must be enabled on the property for this condition to function properly.");if(!s(a,i))return l(a,e),!1}catch(r){return c(a,e,r),!1}}return!0}},be=function(a,n){return function(e,t){a(e,t)&&n(e,t)}},ye=function(a){return function(e){var t=a.getModuleDefinition(e.modulePath);return t&&t.displayName||e.modulePath}},we=function(i){return function(e){var t=e.rule,a=e.event,n=i.getModuleDefinition(a.modulePath).name;return{$type:i.getModuleExtensionName(a.modulePath)+"."+n,$rule:{id:t.id,name:t.name}}}},De=function(s,l,c,u,d,g){return function(a,e){var n=e.rule,t=e.event;t.settings=t.settings||{};try{var i=d(e);l(t,null,[function r(e){var t=c(i,e);a(function(){s(t,n)})}])}catch(o){g.error(u(t,n,o))}}},Ie=function(i,r,o,s){return function(e,t,a){var n=r(e);o.error(i(n,t.name,a)),s("ruleActionFailed",{rule:t,action:e})}},Pe=function(i,r,o,s){return function(e,t,a){var n=r(e);o.error(i(n,t.name,a)),s("ruleConditionFailed",{rule:t,condition:e})}},ke=function(n,i,r){return function(e,t){var a=n(e);i.log('Condition "'+a+'" for rule "'+t.name+'" was not met.'),r("ruleConditionFailed",{rule:t,condition:e})}},je=function(t,a){return function(e){t.log('Rule "'+e.name+'" fired.'),a("ruleCompleted",{rule:e})}},Ce=function(r,o,s){return function(e,t){var a;if(e.actions)for(var n=0;n<e.actions.length;n++){a=e.actions[n];try{r(a,t,[t])}catch(i){return void o(a,e,i)}}s(e)}},_e=function(a,n,i,r){return function(e,t){r("ruleTriggered",{rule:t}),a?i(t,e):n(t,e)}},Ve=function(e,t,a){return'Failed to execute "'+e+'" for "'+t+'" rule. '+a.message+(a.stack?"\n"+a.stack:"")},Se=function(e,t){return t&&!e.negate||!t&&e.negate},Ae=[],Ee=!1,Le=function(e){Ee?e():Ae.push(e)},xe=function(e,t,a){e(t).forEach(function(e){a(Le,e)}),Ee=!0,Ae.forEach(function(e){e()}),Ae=[]},Oe=function(e){if(e||(e=new Error("The extension triggered an error, but no error information was provided.")),!(e instanceof Error)){var t="object"==typeof e?JSON.stringify(e):String(e);e=new Error(t)}return e},Te=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Me=f()?Object.assign:function(e){for(var t,a,n=p(e),i=1;i<arguments.length;i++){for(var r in t=Object(arguments[i]))Ne.call(t,r)&&(n[r]=t[r]);if(Te){a=Te(t);for(var o=0;o<a.length;o++)Re.call(t,a[o])&&(n[a[o]]=t[a[o]])}}return n},Fe=function(e,t){return Me(t=t||{},e),t.hasOwnProperty("type")||Object.defineProperty(t,"type",{get:function(){return L.deprecation("Accessing event.type in Adobe Launch has been deprecated and will be removed soon. Please use event.$type instead."),t.$type}}),t},qe=function(l,c){return function(e,t){var a=l[e];if(a){var n=a.modules;if(n)for(var i=Object.keys(n),r=0;r<i.length;r++){var o=i[r],s=n[o];if(s.shared&&s.name===t)return c.getModuleExports(o)}}}},He=function(e,t){return function(){return t?e(t):{}}},Ue=function(a,n){return function(e){if(n){var t=e.split(".");t.splice(t.length-1||1,0,"min"),e=t.join(".")}return a+e}},ze=".js",Be=function(e){return e.substr(0,e.lastIndexOf("/"))},Ge=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},Ze=function(e,t){Ge(t,ze)||(t+=ze);var a=t.split("/"),n=Be(e).split("/");return a.forEach(function(e){e&&"."!==e&&(".."===e?n.length&&n.pop():n.push(e))}),n.join("/")},Qe=document,We=function(a,n){return new de(function(e,t){n.onload=function(){e(n)},n.onerror=function(){t(new Error("Failed to load script "+a))}})},Ye=function(e){var t=document.createElement("script");t.src=e,t.async=!0;var a=We(e,t);return document.getElementsByTagName("head")[0].appendChild(t),a},Ke=function(e,t,a,n){t=t||"&",a=a||"=";var i={};if("string"!=typeof e||0===e.length)return i;var r=/\+/g;e=e.split(t);var o=1e3;n&&"number"==typeof n.maxKeys&&(o=n.maxKeys);var s=e.length;0<o&&o<s&&(s=o);for(var l=0;l<s;++l){var c,u,d,g,p=e[l].replace(r,"%20"),f=p.indexOf(a);0<=f?(c=p.substr(0,f),u=p.substr(f+1)):(c=p,u=""),d=decodeURIComponent(c),g=decodeURIComponent(u),m(i,d)?Array.isArray(i[d])?i[d].push(g):i[d]=[i[d],g]:i[d]=g}return i},$e=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},Je=function(a,n,i,e){return n=n||"&",i=i||"=",null===a&&(a=undefined),"object"==typeof a?Object.keys(a).map(function(e){var t=encodeURIComponent($e(e))+i;return Array.isArray(a[e])?a[e].map(function(e){return t+encodeURIComponent($e(e))}).join(n):t+encodeURIComponent($e(a[e]))}).join(n):e?encodeURIComponent($e(e))+i+encodeURIComponent($e(a)):""},Xe=t(function(e,t){t.decode=t.parse=Ke,t.encode=t.stringify=Je}),et="@adobe/reactor-",tt={cookie:T,document:Qe,"load-script":Ye,"object-assign":Me,promise:de,"query-string":{parse:function(e){return"string"==typeof e&&(e=e.trim().replace(/^[?#&]/,"")),Xe.parse(e)},stringify:function(e){return Xe.stringify(e)}},window:N},at=function(n){return function(e){if(0===e.indexOf(et)){var t=e.substr(et.length),a=tt[t];if(a)return a}if(0===e.indexOf("./")||0===e.indexOf("../"))return n(e);throw new Error('Cannot resolve module "'+e+'".')}},nt=function(e,o,s,l,c){var u=e.extensions,d=e.buildInfo,g=e.property.settings;if(u){var p=qe(u,o);Object.keys(u).forEach(function(n){var i=u[n],e=He(l,i.settings);if(i.modules){var t=L.createPrefixedLogger(i.displayName),a=Ue(i.hostedLibFilesBaseUrl,d.minified),r={buildInfo:d,getDataElementValue:c,getExtensionSettings:e,getHostedLibFileUrl:a,getSharedModule:p,logger:t,propertySettings:g,replaceTokens:l,onDebugChanged:s.onDebugChanged,get debugEnabled(){return s.getDebugEnabled()}};Object.keys(i.modules).forEach(function(a){var e=i.modules[a],t=at(function(e){var t=Ze(a,e);return o.getModuleExports(t)});o.registerModule(a,e,n,t,r)})}}),o.hydrateCache()}return o},it=function(e,t,a,n,i){var r=L.createPrefixedLogger("Custom Script");e.track=function(e){L.log('"'+e+'" does not match any direct call identifiers.')},e.getVisitorId=function(){return null},e.property={name:t.property.name},e.company=t.company,e.buildInfo=t.buildInfo,e.logger=r,e.notify=function(e,t){switch(L.deprecation("_satellite.notify is deprecated. Please use the `_satellite.logger` API."),t){case 3:r.info(e);break;case 4:r.warn(e);break;case 5:r.error(e);break;default:r.log(e)}},e.getVar=n,e.setVar=i,e.setCookie=function(e,t,a){var n="",i={};a&&(n=", { expires: "+a+" }",i.expires=a);var r='_satellite.setCookie is deprecated. Please use _satellite.cookie.set("'+e+'", "'+t+'"'+n+").";L.deprecation(r),T.set(e,t,i)},e.readCookie=function(e){return L.deprecation('_satellite.readCookie is deprecated. Please use _satellite.cookie.get("'+e+'").'),T.get(e)},e.removeCookie=function(e){L.deprecation('_satellite.removeCookie is deprecated. Please use _satellite.cookie.remove("'+e+'").'),T.remove(e)},e.cookie=T,e.pageBottom=function(){},e.setDebug=a;var o=!1;Object.defineProperty(e,"_container",{get:function(){return o||(L.warn("_satellite._container may change at any time and should only be used for debugging."),o=!0),t}})},rt=window._satellite;if(rt&&!window.__satelliteLoaded){window.__satelliteLoaded=!0;var ot=rt.container;delete rt.container;var st=ot.property.settings.undefinedVarsReturnEmpty,lt=ot.property.settings.ruleComponentSequencingEnabled,ct=ot.dataElements||{};K.migrateCookieData(ct);var ut,dt=function(e){return ct[e]},gt=ie(),pt=J(gt,dt,function(){return ut.apply(null,arguments)},st),ft={},mt=le(ft),vt=ae(ft,dt),ht=te(ft,dt,pt);ut=se(vt,ht,st);var bt=b(M("localStorage"),L);it(rt,ot,bt.setDebugEnabled,ht,mt),nt(ot,gt,bt,ut,pt);var yt=oe(rt),wt=w(gt,ut),Dt=ye(gt),It=ke(Dt,L,yt),Pt=Pe(Ve,Dt,L,yt),kt=Ie(Ve,Dt,L,yt),jt=je(L,yt),Ct=De(_e(lt,be(he(wt,Se,It,Pt),Ce(wt,kt,jt)),me(pe(wt,Oe,Se,Pt,It),ge(wt,Oe,kt),jt),yt),wt,Fe,Ve,we(gt),L);xe(v,ot.rules||[],Ct)}return rt}console.warn("Adobe Launch is unsupported in IE 9 and below.")}();