cdn.iubenda.com Open in urlscan Pro
2400:52e0:1e01::1056:1  Public Scan

URL: https://cdn.iubenda.com/cs/tcf/versions/tcf-v2-0.25.0.js
Submission: On July 25 via manual from IT — Scanned from NL

Form analysis 0 forms found in the DOM

Text Content

!function(n){var r={};function o(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=n,o.c=r,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=392)}({1:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(42)),r(t(6)),r(t(7)),r(t(14)),r(t(74)),r(t(75)),r(t(76)),r(t(115))},101:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=(i=Error,o(a,i),a);function a(e){var t=i.call(this,e)||this;return t.name="DecodingError",t}t.DecodingError=s},102:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=(i=Error,o(a,i),a);function a(e){var t=i.call(this,e)||this;return t.name="EncodingError",t}t.EncodingError=s},103:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=(i=Error,o(a,i),a);function a(e){var t=i.call(this,e)||this;return t.name="GVLError",t}t.GVLError=s},104:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=(i=Error,o(a,i),a);function a(e,t,n){void 0===n&&(n="");var r=i.call(this,"invalid value "+t+" passed for "+e+" "+n)||this;return r.name="TCModelError",r}t.TCModelError=s},105:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.prototype.has=function(e){return o.langSet.has(e)},o.prototype.forEach=function(e){o.langSet.forEach(e)},Object.defineProperty(o.prototype,"size",{get:function(){return o.langSet.size},enumerable:!0,configurable:!0}),o.langSet=new Set(["BG","CA","CS","DA","DE","EL","EN","ES","ET","FI","FR","HR","HU","IT","JA","LT","LV","MT","NL","NO","PL","PT","RO","RU","SK","SL","SV","TR","ZH"]),o);function o(){}t.ConsentLanguages=r},106:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(65),c=n(63),u=n(44),l=(i=n(14).Cloneable,o(p,i),p.prototype.has=function(e){return this.map.has(e)},p.prototype.isOkToHave=function(e,t,n){var r,o=!0;if(null!==(r=this.gvl)&&void 0!==r&&r.vendors){var i=this.gvl.vendors[n];if(i)if(e===u.RestrictionType.NOT_ALLOWED)o=i.legIntPurposes.includes(t)||i.purposes.includes(t);else if(i.flexiblePurposes.length)switch(e){case u.RestrictionType.REQUIRE_CONSENT:o=i.flexiblePurposes.includes(t)&&i.legIntPurposes.includes(t);break;case u.RestrictionType.REQUIRE_LI:o=i.flexiblePurposes.includes(t)&&i.purposes.includes(t)}else o=!1;else o=!1}return o},p.prototype.add=function(e,t){var n;this.isOkToHave(t.restrictionType,t.purposeId,e)&&(n=t.hash,this.has(n)||(this.map.set(n,new c.BinarySearchTree),this.bitLength=0),this.map.get(n).add(e))},p.prototype.restrictPurposeToLegalBasis=function(e){for(var i=this.gvl.vendorIds,t=e.hash,n=function(){var t,e,n;try{for(var r=s(i),o=r.next();!o.done;o=r.next())n=o.value}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return n}(),r=1;r<=n;r++)this.has(t)||(this.map.set(t,new c.BinarySearchTree),this.bitLength=0),this.map.get(t).add(r)},p.prototype.getVendors=function(e){var t,n,r=[];return e?(t=e.hash,this.has(t)&&(r=this.map.get(t).get())):(n=new Set,this.map.forEach(function(e){e.get().forEach(function(e){n.add(e)})}),r=Array.from(n)),r},p.prototype.getRestrictionType=function(e,t){var n;return this.getRestrictions(e).forEach(function(e){e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)}),n},p.prototype.vendorHasRestriction=function(e,t){for(var n=!1,r=this.getRestrictions(e),o=0;o<r.length&&!n;o++)n=t.isSameAs(r[o]);return n},p.prototype.getMaxVendorId=function(){var t=0;return this.map.forEach(function(e){t=Math.max(e.max(),t)}),t},p.prototype.getRestrictions=function(n){var r=[];return this.map.forEach(function(e,t){n&&!e.contains(n)||r.push(a.PurposeRestriction.unHash(t))}),r},p.prototype.getPurposes=function(){var n=new Set;return this.map.forEach(function(e,t){n.add(a.PurposeRestriction.unHash(t).purposeId)}),Array.from(n)},p.prototype.remove=function(e,t){var n=t.hash,r=this.map.get(n);r&&(r.remove(e),r.isEmpty()&&(this.map.delete(n),this.bitLength=0))},Object.defineProperty(p.prototype,"gvl",{get:function(){return this.gvl_},set:function(e){var r=this;this.gvl_||(this.gvl_=e,this.map.forEach(function(t,e){var n=a.PurposeRestriction.unHash(e);t.get().forEach(function(e){r.isOkToHave(n.restrictionType,n.purposeId,e)||t.remove(e)})}))},enumerable:!0,configurable:!0}),p.prototype.isEmpty=function(){return 0===this.map.size},Object.defineProperty(p.prototype,"numRestrictions",{get:function(){return this.map.size},enumerable:!0,configurable:!0}),p);function p(){var e=null!==i&&i.apply(this,arguments)||this;return e.bitLength=0,e.map=new Map,e}t.PurposeRestrictionVector=l},107:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.DeviceDisclosureStorageAccessType||(t.DeviceDisclosureStorageAccessType={})).COOKIE="cookie",r.WEB="web",r.APP="app"},108:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(66),i=(s.ID_TO_KEY=[o.Segment.CORE,o.Segment.VENDORS_DISCLOSED,o.Segment.VENDORS_ALLOWED,o.Segment.PUBLISHER_TC],s.KEY_TO_ID=((r={})[o.Segment.CORE]=0,r[o.Segment.VENDORS_DISCLOSED]=1,r[o.Segment.VENDORS_ALLOWED]=2,r[o.Segment.PUBLISHER_TC]=3,r),s);function s(){}t.SegmentIDs=i},109:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__generator||function(n,r){var o,i,s,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(s=2&t[0]?i.return:t[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,t[1])).done)return s;switch(i=0,s&&(t=[2&t[0],s.value]),t[0]){case 0:case 1:s=t;break;case 4:return a.label++,{value:t[1],done:!1};case 5:a.label++,i=t[1],t=[0];continue;case 7:t=a.ops.pop(),a.trys.pop();continue;default:if(!(s=0<(s=a.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){a=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3])){a.label=t[1];break}if(6===t[0]&&a.label<s[1]){a.label=s[1],s=t;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(t);break}s[2]&&a.ops.pop(),a.trys.pop();continue}t=r.call(n,a)}catch(e){t=[6,e],i=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};Object.defineProperty(t,"__esModule",{value:!0});var s,a=n(14),c=n(6),u=(s=a.Cloneable,o(l,s),l.prototype[Symbol.iterator]=function(){var t;return i(this,function(e){switch(e.label){case 0:t=1,e.label=1;case 1:return t<=this.maxId?[4,[t,this.has(t)]]:[3,4];case 2:e.sent(),e.label=3;case 3:return t++,[3,1];case 4:return[2]}})},l.prototype.values=function(){return this.set_.values()},Object.defineProperty(l.prototype,"maxId",{get:function(){return this.maxId_},enumerable:!0,configurable:!0}),l.prototype.has=function(e){return this.set_.has(e)},l.prototype.unset=function(e){var t=this;Array.isArray(e)?e.forEach(function(e){return t.unset(e)}):"object"==typeof e?this.unset(Object.keys(e).map(function(e){return+e})):(this.set_.delete(e),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach(function(e){t.maxId_=Math.max(t.maxId,e)})))},l.prototype.isIntMap=function(t){var n=this;return"object"==typeof t&&Object.keys(t).every(function(e){return Number.isInteger(parseInt(e,10))&&n.isValidNumber(t[e].id)&&void 0!==t[e].name})},l.prototype.isValidNumber=function(e){return 0<parseInt(e,10)},l.prototype.isSet=function(e){var t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t},l.prototype.set=function(e){var t=this;if(Array.isArray(e))e.forEach(function(e){return t.set(e)});else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map(function(e){return+e}));else{if(!this.isValidNumber(e))throw new c.TCModelError("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}},l.prototype.empty=function(){this.set_=new Set},l.prototype.forEach=function(e){for(var t=1;t<=this.maxId;t++)e(this.has(t),t)},Object.defineProperty(l.prototype,"size",{get:function(){return this.set_.size},enumerable:!0,configurable:!0}),l.prototype.setAll=function(e){this.set(e)},l);function l(){var e=null!==s&&s.apply(this,arguments)||this;return e.bitLength=0,e.maxId_=0,e.set_=new Set,e}t.Vector=u},110:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(62),c=n(43),u=n(67),o=n(73),l=n(6),p=n(64),d=n(7),i=(s.encode=function(o,i){var e,s=this;try{e=this.fieldSequence[""+o.version][i]}catch(e){throw new l.EncodingError("Unable to encode version: "+o.version+", segment: "+i)}var a="";return i!==d.Segment.CORE&&(a=u.IntEncoder.encode(d.SegmentIDs.KEY_TO_ID[i],c.BitLength.segmentType)),e.forEach(function(t){var e=o[t],n=u.FieldEncoderMap[t],r=c.BitLength[t];void 0===r&&s.isPublisherCustom(t)&&(r=+o[p.Fields.numCustomPurposes]);try{a+=n.encode(e,r)}catch(e){throw new l.EncodingError("Error encoding "+i+"->"+t+": "+e.message)}}),r.Base64Url.encode(a)},s.decode=function(e,o,t){var i=this,s=r.Base64Url.decode(e),a=0;return t===d.Segment.CORE&&(o.version=u.IntEncoder.decode(s.substr(a,c.BitLength[p.Fields.version]),c.BitLength[p.Fields.version])),t!==d.Segment.CORE&&(a+=c.BitLength.segmentType),this.fieldSequence[""+o.version][t].forEach(function(e){var t=u.FieldEncoderMap[e],n=c.BitLength[e];if(void 0===n&&i.isPublisherCustom(e)&&(n=+o[p.Fields.numCustomPurposes]),0!==n){var r=s.substr(a,n);if(t===u.VendorVectorEncoder?o[e]=t.decode(r,o.version):o[e]=t.decode(r,n),Number.isInteger(n))a+=n;else{if(!Number.isInteger(o[e].bitLength))throw new l.DecodingError(e);a+=o[e].bitLength}}}),o},s.isPublisherCustom=function(e){return 0===e.indexOf("publisherCustom")},s.fieldSequence=new o.FieldSequence,s);function s(){}t.SegmentEncoder=i},111:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i,s,a,c,u,l,p,d,f,h,v,b,g,_,E,m,y,C,I,L,O,S,P,A,w=n(7),V=n(24),T=n(68),R=n(45),M=n(15),N=n(69),j=n(70),D=n(71),F=(r=w.Fields.version,o=w.Fields.created,i=w.Fields.lastUpdated,s=w.Fields.cmpId,a=w.Fields.cmpVersion,c=w.Fields.consentScreen,u=w.Fields.consentLanguage,l=w.Fields.vendorListVersion,p=w.Fields.policyVersion,d=w.Fields.isServiceSpecific,f=w.Fields.useNonStandardStacks,h=w.Fields.specialFeatureOptins,v=w.Fields.purposeConsents,b=w.Fields.purposeLegitimateInterests,g=w.Fields.purposeOneTreatment,_=w.Fields.publisherCountryCode,E=w.Fields.vendorConsents,m=w.Fields.vendorLegitimateInterests,y=w.Fields.publisherRestrictions,C=w.Fields.vendorsDisclosed,I=w.Fields.vendorsAllowed,L=w.Fields.publisherConsents,O=w.Fields.publisherLegitimateInterests,S=w.Fields.numCustomPurposes,P=w.Fields.publisherCustomConsents,A=w.Fields.publisherCustomLegitimateInterests,k[r]=M.IntEncoder,k[o]=T.DateEncoder,k[i]=T.DateEncoder,k[s]=M.IntEncoder,k[a]=M.IntEncoder,k[c]=M.IntEncoder,k[u]=N.LangEncoder,k[l]=M.IntEncoder,k[p]=M.IntEncoder,k[d]=V.BooleanEncoder,k[f]=V.BooleanEncoder,k[h]=R.FixedVectorEncoder,k[v]=R.FixedVectorEncoder,k[b]=R.FixedVectorEncoder,k[g]=V.BooleanEncoder,k[_]=N.LangEncoder,k[E]=D.VendorVectorEncoder,k[m]=D.VendorVectorEncoder,k[y]=j.PurposeRestrictionVectorEncoder,k.segmentType=M.IntEncoder,k[C]=D.VendorVectorEncoder,k[I]=D.VendorVectorEncoder,k[L]=R.FixedVectorEncoder,k[O]=R.FixedVectorEncoder,k[S]=M.IntEncoder,k[P]=R.FixedVectorEncoder,k[A]=R.FixedVectorEncoder,k);function k(){}t.FieldEncoderMap=F},112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.FieldSequence=function(){var e,t;this[1]=((e={})[r.Segment.CORE]=[r.Fields.version,r.Fields.created,r.Fields.lastUpdated,r.Fields.cmpId,r.Fields.cmpVersion,r.Fields.consentScreen,r.Fields.consentLanguage,r.Fields.vendorListVersion,r.Fields.purposeConsents,r.Fields.vendorConsents],e),this[2]=((t={})[r.Segment.CORE]=[r.Fields.version,r.Fields.created,r.Fields.lastUpdated,r.Fields.cmpId,r.Fields.cmpVersion,r.Fields.consentScreen,r.Fields.consentLanguage,r.Fields.vendorListVersion,r.Fields.policyVersion,r.Fields.isServiceSpecific,r.Fields.useNonStandardStacks,r.Fields.specialFeatureOptins,r.Fields.purposeConsents,r.Fields.purposeLegitimateInterests,r.Fields.purposeOneTreatment,r.Fields.publisherCountryCode,r.Fields.vendorConsents,r.Fields.vendorLegitimateInterests,r.Fields.publisherRestrictions],t[r.Segment.PUBLISHER_TC]=[r.Fields.publisherConsents,r.Fields.publisherLegitimateInterests,r.Fields.numCustomPurposes,r.Fields.publisherCustomConsents,r.Fields.publisherCustomLegitimateInterests],t[r.Segment.VENDORS_ALLOWED]=[r.Fields.vendorsAllowed],t[r.Segment.VENDORS_DISCLOSED]=[r.Fields.vendorsDisclosed],t)}},113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.SegmentSequence=function(e,t){var n;this[1]=[r.Segment.CORE],this[2]=[r.Segment.CORE],2===e.version&&(e.isServiceSpecific?this[2].push(r.Segment.PUBLISHER_TC):((n=!(!t||!t.isForVendors))&&!0!==e[r.Fields.supportOOB]||this[2].push(r.Segment.VENDORS_DISCLOSED),n&&(e[r.Fields.supportOOB]&&0<e[r.Fields.vendorsAllowed].size&&this[2].push(r.Segment.VENDORS_ALLOWED),this[2].push(r.Segment.PUBLISHER_TC))))}},114:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),p=n(7),r=(i.process=function(e,t){var n=e.gvl;if(!n)throw new o.EncodingError("Unable to encode TCModel without a GVL");if(!n.isReady)throw new o.EncodingError("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=n.language.toUpperCase(),0<(null===t||void 0===t?void 0:t.version)&&(null===t||void 0===t?void 0:t.version)<=this.processor.length?e.version=t.version:e.version=this.processor.length;var r=e.version-1;if(!this.processor[r])throw new o.EncodingError("Invalid version: "+e.version);return this.processor[r](e,n)},i.processor=[function(e){return e},function(u,l){u.publisherRestrictions.gvl=l,u.purposeLegitimateInterests.unset(1);var e=new Map;return e.set("legIntPurposes",u.vendorLegitimateInterests),e.set("purposes",u.vendorConsents),e.forEach(function(a,c){a.forEach(function(e,t){if(e){var n=l.vendors[t];if(!n||n.deletedDate)a.unset(t);else if(0===n[c].length&&!("legIntPurposes"===c&&0===n.purposes.length&&0===n.legIntPurposes.length&&0<n.specialPurposes.length))if(u.isServiceSpecific)if(0===n.flexiblePurposes.length)a.unset(t);else{for(var r=u.publisherRestrictions.getRestrictions(t),o=!1,i=0,s=r.length;i<s&&!o;i++)o=r[i].restrictionType===p.RestrictionType.REQUIRE_CONSENT&&"purposes"===c||r[i].restrictionType===p.RestrictionType.REQUIRE_LI&&"legIntPurposes"===c;o||a.unset(t)}else a.unset(t)}})}),u.vendorsDisclosed.set(l.vendors),u}],i);function i(){}t.SemanticPreEncoder=r},115:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=n(42),u=n(7),l=n(15),p=n(76),r=(o.encode=function(r,e){var o,i="";return r=c.SemanticPreEncoder.process(r,e),(o=Array.isArray(null===e||void 0===e?void 0:e.segments)?e.segments:new c.SegmentSequence(r,e)[""+r.version]).forEach(function(e,t){var n="";t<o.length-1&&(n="."),i+=c.SegmentEncoder.encode(r,e)+n}),i},o.decode=function(e,t){var n=e.split("."),r=n.length;t=t||new p.TCModel;for(var o=0;o<r;o++){var i=n[o],s=c.Base64Url.decode(i.charAt(0)).substr(0,c.BitLength.segmentType),a=u.SegmentIDs.ID_TO_KEY[l.IntEncoder.decode(s,c.BitLength.segmentType).toString()];c.SegmentEncoder.decode(i,t,a)}return t},o);function o(){}t.TCString=r},14:function(e,t,n){"use strict";var l=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var r=(o.prototype.clone=function(){var n=this,r=new this.constructor;return Object.keys(this).forEach(function(e){var t=n.deepClone(n[e]);void 0!==t&&(r[e]=t)}),r},o.prototype.deepClone=function(e){var t,n,r=typeof e;if("number"==r||"string"==r||"boolean"==r)return e;if(null!==e&&"object"==r){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var o=[];try{for(var i=l(e),s=i.next();!s.done;s=i.next()){var a=s.value;o.push(this.deepClone(a))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return e instanceof Array?o:new e.constructor(o)}var c={};for(var u in e)e.hasOwnProperty(u)&&(c[u]=this.deepClone(e[u]));return c}},o);function o(){}t.Cloneable=r},144:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var u=n(98);function l(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}function p(e){return(p="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 r(e,t,n){function r(e,t,n){var r,o=t;t&&"object"===p(t)&&(o=function(o){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?l(Object(i),!0).forEach(function(e){var t,n,r;t=o,r=i[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):l(Object(i)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(i,e))})}return o}({},t),i&&(o.addtlConsent=i),s&&(o.enableAdvertiserConsentMode=!0),delete o.outOfBand),"function"==typeof e?e(o,n):(r="".concat(Error().stack||"").replace("Error",""),function(){var e,t,n=(null===(e=window._iub)||void 0===e||null===(t=e.jlib)||void 0===t?void 0:t.logger)||window.console;n&&(n.warn||n.log).apply(void 0,arguments)}("next is not a function, probably a vendor invoked __tcfapi with parameter null. ".concat(r)))}var i=n,s=!1,o=new u.CmpApi(e,t,!0,{getTCData:r,getInAppTCData:r});o.setAcmString=function(e){i=e},o.setGoogleEnableAdvertiserConsentMode=function(e){s=e};var a=o.update,c={};return o.update=function(e,t){e===c.consentString&&t===c.uiVisible||(c.consentString=e,c.uiVisible=t,a.call(o,e,t))},o}},145:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.CmpStatus||(t.CmpStatus={})).STUB="stub",r.LOADING="loading",r.LOADED="loaded",r.ERROR="error"},146:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.DisplayStatus||(t.DisplayStatus={})).VISIBLE="visible",r.HIDDEN="hidden",r.DISABLED="disabled"},147:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.EventStatus||(t.EventStatus={})).TC_LOADED="tcloaded",r.CMP_UI_SHOWN="cmpuishown",r.USER_ACTION_COMPLETE="useractioncomplete"},148:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(40),o=(i.prototype.add=function(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++},i.prototype.remove=function(e){return this.eventQueue.delete(e)},i.prototype.exec=function(){this.eventQueue.forEach(function(e,t){new r.GetTCDataCommand(e.callback,e.param,t,e.next)})},i.prototype.clear=function(){this.queueNumber=0,this.eventQueue.clear()},Object.defineProperty(i.prototype,"size",{get:function(){return this.eventQueue.size},enumerable:!0,configurable:!0}),i);function i(){this.eventQueue=new Map,this.queueNumber=0}t.EventListenerQueue=o},149:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var a,c=(a=n(84).TCData,o(u,a),u.prototype.createVectorField=function(e){return s(e).reduce(function(e,t){return e+(t[1]?"1":"0")},"")},u.prototype.createRestrictions=function(t){var s={};if(0<t.numRestrictions){var n=t.getMaxVendorId();t.getRestrictions().forEach(function(e){s[e.purposeId.toString()]="_".repeat(n)});for(var e=0;e<n;e++)!function(i){var e=i+1;t.getRestrictions(e).forEach(function(e){var t=e.restrictionType.toString(),n=e.purposeId.toString(),r=s[n].substr(0,i),o=s[n].substr(i+1);s[n]=r+t+o})}(e)}return s},u);function u(e){var t=a.call(this,e)||this;return delete t.outOfBand,t}t.InAppTCData=c},15:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6),o=(i.encode=function(e,t){var n;if("string"==typeof e&&(e=parseInt(e,10)),(n=e.toString(2)).length>t||e<0)throw new r.EncodingError(e+" too large to encode into "+t);return n.length<t&&(n="0".repeat(t-n.length)+n),n},i.decode=function(e,t){if(t!==e.length)throw new r.DecodingError("invalid bit length");return parseInt(e,2)},i);function i(){}t.IntEncoder=o},150:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(17),a=(i=n(38).Response,o(c,i),c);function c(){var e=i.call(this)||this;return e.cmpLoaded=!0,e.cmpStatus=s.CmpApiModel.cmpStatus,e.displayStatus=s.CmpApiModel.displayStatus,e.apiVersion=""+s.CmpApiModel.apiVersion,s.CmpApiModel.tcModel&&s.CmpApiModel.tcModel.vendorListVersion&&(e.gvlVersion=+s.CmpApiModel.tcModel.vendorListVersion),e}t.Ping=a},151:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(17),r=n(39),i=n(85),s=n(1),a=(c.prototype.throwIfInvalidInt=function(e,t,n){if(!("number"==typeof e&&Number.isInteger(e)&&n<=e))throw new Error("Invalid "+t+": "+e)},c.prototype.update=function(e,t){if(void 0===t&&(t=!1),o.CmpApiModel.disabled)throw new Error("CmpApi Disabled");o.CmpApiModel.cmpStatus=r.CmpStatus.LOADED,t?(o.CmpApiModel.displayStatus=r.DisplayStatus.VISIBLE,o.CmpApiModel.eventStatus=r.EventStatus.CMP_UI_SHOWN):void 0===o.CmpApiModel.tcModel?(o.CmpApiModel.displayStatus=r.DisplayStatus.DISABLED,o.CmpApiModel.eventStatus=r.EventStatus.TC_LOADED):(o.CmpApiModel.displayStatus=r.DisplayStatus.HIDDEN,o.CmpApiModel.eventStatus=r.EventStatus.USER_ACTION_COMPLETE),o.CmpApiModel.gdprApplies=null!==e,o.CmpApiModel.gdprApplies?(""===e?(o.CmpApiModel.tcModel=new s.TCModel,o.CmpApiModel.tcModel.cmpId=o.CmpApiModel.cmpId,o.CmpApiModel.tcModel.cmpVersion=o.CmpApiModel.cmpVersion):o.CmpApiModel.tcModel=s.TCString.decode(e),o.CmpApiModel.tcModel.isServiceSpecific=this.isServiceSpecific,o.CmpApiModel.tcfPolicyVersion=+o.CmpApiModel.tcModel.policyVersion,o.CmpApiModel.tcString=e):o.CmpApiModel.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():o.CmpApiModel.eventQueue.exec(),this.numUpdates++},c.prototype.disable=function(){o.CmpApiModel.disabled=!0,o.CmpApiModel.cmpStatus=r.CmpStatus.ERROR},c);function c(e,t,n,r){void 0===n&&(n=!1),this.numUpdates=0,this.throwIfInvalidInt(e,"cmpId",2),this.throwIfInvalidInt(t,"cmpVersion",0),o.CmpApiModel.cmpId=e,o.CmpApiModel.cmpVersion=t,o.CmpApiModel.tcfPolicyVersion=2,this.isServiceSpecific=!!n,this.callResponder=new i.CallResponder(r)}t.CmpApi=a},152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i,s,a,c,u=n(153),l=n(40),p=n(154),d=n(155),f=n(156),h=n(157),v=n(82),b=(r=v.TCFCommand.PING,o=v.TCFCommand.GET_TC_DATA,i=v.TCFCommand.GET_IN_APP_TC_DATA,s=v.TCFCommand.GET_VENDOR_LIST,a=v.TCFCommand.ADD_EVENT_LISTENER,c=v.TCFCommand.REMOVE_EVENT_LISTENER,g[r]=u.PingCommand,g[o]=l.GetTCDataCommand,g[i]=p.GetInAppTCDataCommand,g[s]=d.GetVendorListCommand,g[a]=f.AddEventListenerCommand,g[c]=h.RemoveEventListenerCommand,g);function g(){}t.CommandMap=b},153:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(37),a=(i=n(41).Command,o(c,i),c.prototype.respond=function(){this.invokeCallback(new s.Ping)},c);function c(){return null!==i&&i.apply(this,arguments)||this}t.PingCommand=a},154:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(40),a=n(37),c=(i=s.GetTCDataCommand,o(u,i),u.prototype.respond=function(){this.throwIfParamInvalid(),this.invokeCallback(new a.InAppTCData(this.param))},u);function u(){return null!==i&&i.apply(this,arguments)||this}t.GetInAppTCDataCommand=c},155:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(17),a=n(41),c=n(1),u=(i=a.Command,o(l,i),l.prototype.respond=function(){var e,t=this,n=s.CmpApiModel.tcModel,r=n.vendorListVersion;void 0===this.param&&(this.param=r),(e=this.param===r&&n.gvl?n.gvl:new c.GVL(this.param)).readyPromise.then(function(){t.invokeCallback(e.getJson())})},l);function l(){return null!==i&&i.apply(this,arguments)||this}t.GetVendorListCommand=u},156:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(17),a=(i=n(40).GetTCDataCommand,o(c,i),c.prototype.respond=function(){this.listenerId=s.CmpApiModel.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),i.prototype.respond.call(this)},c);function c(){return null!==i&&i.apply(this,arguments)||this}t.AddEventListenerCommand=a},157:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(17),a=(i=n(41).Command,o(c,i),c.prototype.respond=function(){this.invokeCallback(s.CmpApiModel.eventQueue.remove(this.param))},c);function c(){return null!==i&&i.apply(this,arguments)||this}t.RemoveEventListenerCommand=a},158:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.has=function(e){return"string"==typeof e&&(e=+e),this.set_.has(e)},o.set_=new Set([0,2,void 0,null]),o);function o(){}t.SupportedVersions=r},17:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(39),o=n(148),i=(s.reset=function(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=r.CmpStatus.LOADING,this.disabled=!1,this.displayStatus=r.DisplayStatus.HIDDEN,this.eventQueue.clear()},s.apiVersion="2",s.eventQueue=new o.EventListenerQueue,s.cmpStatus=r.CmpStatus.LOADING,s.disabled=!1,s.displayStatus=r.DisplayStatus.HIDDEN,s);function s(){}t.CmpApiModel=i},20:function(e,t){e.exports=function(e,t){var n=e;return Object.keys(t).forEach(function(e){n=n.replace(new RegExp("\\{".concat(e,"\\}"),"gm"),t[e])}),n}},24:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.encode=function(e){return+e+""},o.decode=function(e){return"1"===e},o);function o(){}t.BooleanEncoder=r},37:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(83)),r(t(149)),r(t(150)),r(t(38)),r(t(84))},38:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17);t.Response=function(){this.cmpId=r.CmpApiModel.cmpId,this.cmpVersion=r.CmpApiModel.cmpVersion,this.gdprApplies=r.CmpApiModel.gdprApplies,this.tcfPolicyVersion=r.CmpApiModel.tcfPolicyVersion}},380:function(e,t){function n(t,e){var n,r=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),r.push.apply(r,n)),r}e.exports={validatePublisherState:function(e,i){var s=function(o){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?n(Object(i),!0).forEach(function(e){var t,n,r;t=o,r=i[n=e],n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):n(Object(i)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(i,e))})}return o}({},e);return Object.keys(i).forEach(function(e){var t,n,r,o;s[e]&&(n=(t=i[e]).allowedValues,r=t.fallbackValue,o=s[e],n.includes(o)||(s[e]=r))}),s}}},381:function(e,t,n){var r,o="true"===n(387)(window.location.search.substr(1)).debugIubCmp;e.exports=(r=function(){},o&&(r=console.log),r)},387:function(e,t){e.exports=function(e){for(var t=e.split("&"),n={},r=0;r<t.length;r++){var o=t[r].split("="),i=decodeURIComponent(o[0]),s=decodeURIComponent(o[1]);if(void 0===n[i])n[i]=s;else if("string"==typeof n[i])try{var a=[n[i],s];n[i]=a}catch(e){}else n[i].push(s)}return n}},39:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(145)),r(t(146)),r(t(147))},392:function(e,t,n){"use strict";n.r(t);var _=n(9),c=n.n(_),r=n(144),p=window._iub.cmpApi||Object(r.a)(_.IUBENDA_CMP_ID,_.CURRENT_CMP_VERSION,null);var o=p.setAcmString,d=n(1),f=null,i=n(9),s={getCmpVersion:function(){return i.CURRENT_CMP_VERSION},getCustomPreferences:function(){return{}},enableMissingCustomPreferences:function(){},getPreferenceString:function(){return this.getState()},enableAllPurposesAndAllVendors:function(){this.enableAllEntities()},disableAllPurposesAndAllVendors:function(){this.disableAllEntities()},enableAllCustomPurposes:function(){},disableAllCustomPurposes:function(){}},a=n(20),u=n.n(a),l=_iub.csTranslate;function h(e,t,n,r){Object.assign(this,{id:e,name:t,policyUrl:n,clickHandler:r,enabled:!1,checkboxEnabled:null,root:document.createElement("div")}),this.root.className="iub-cmp-vendor"}Object.assign(h.prototype,{isEnabled:function(){return this.enabled},setEnabled:function(e){var t=!!e;this.enabled!==t&&(this.enabled=t,this.checkboxEnabled&&(this.checkboxEnabled.checked=t))},render:function(){this.root.innerHTML='\n      <div class="iub-cmp-name" style="padding-bottom:0!important;">\n        <div>'.concat(this.name,'</div>\n        <div>\n          <div class="iub-toggle-checkbox">\n            <input class="style1" type="checkbox" ').concat(this.enabled?"checked":"",' title="Click to enable or disable"/>\n          </div>\n        </div>\n      </div>\n      <div class="iub-cmp-desc">\n        <p class="iub-cmp-privacy-policy-link"><a target="_blank" rel="noopener" href="').concat(this.policyUrl,'">').concat(l("tcf_v2.privacy_policy"),"</a></p>\n      </div>");var e=this.root.getElementsByTagName("input");return this.checkboxEnabled=e[0],this.assignEvents(),this.root},assignEvents:function(){var e=this;e.checkboxEnabled.addEventListener("click",function(){e.enabled=!e.enabled,e.clickHandler(e.enabled)})}});var v=h;function b(e,t,n){function r(e){return o.root.getElementsByClassName(e)[0]}var o=this,i=document.createElement("div");i.innerHTML=u()('\n  <div class="iub-cmp-collapse" id="{ID}">\n    <a href="javascript:void(0)" class="iub-cmp-collapse-header"><h4>{TITLE}</h4></a>\n    <div class="iub-cmp-collapse-body"></div>\n  </div>',{ID:e||"",TITLE:t}).trim(),o.root=i.children[0],o.collapsibleHeader=r("iub-cmp-collapse-header"),o.collapsibleBody=r("iub-cmp-collapse-body"),o.isCollapsed=!0,o.onCollapse=n||function(){},o.assignEvents()}Object.assign(b.prototype,{assignEvents:function(){var e=this;e.collapsibleHeader.addEventListener("click",function(){e.setCollapsed(!e.isCollapsed),e.onCollapse(e.isCollapsed)})},getBody:function(){return this.collapsibleBody},setCollapsed:function(e){this.isCollapsed!==e&&(this.isCollapsed=!!e,this.root.classList[e?"remove":"add"]("iub-cmp-collapsed"))}});var g=b;function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var m=_iub.csTranslate,y='\n  <div class="'.concat("iub-cmp-ac-view",'">\n    <div class="iub-cmp-header">\n      <h2>{TITLE}</h2>\n      <div class="widget-description">{DESCRIPTION}</div>\n    </div>\n    <div class="widget-container">\n      <div class="iub-consent-buttons iub-cmp-toggle-buttons">\n        <div>\n          <button class="iub-btn iub-btn-consent iub-btn-reject ').concat("iub-cmp-reject-btn",'">\n            {BUTTON_REJECT_CAPTION}\n          </button>\n        </div>\n        <div>\n          <button class="iub-btn iub-btn-consent iub-btn-accept ').concat("iub-cmp-enable-btn",'">\n            {BUTTON_ACCEPT_ALL_CAPTION}\n          </button>\n        </div>\n      </div>\n      <div class="').concat("iub-cmp-ac-vendors",'"></div>\n    </div>\n  </div>'),C={acSetElementDisplay:function(e,t){var n=e.style;t?n.setProperty("display",t,"important"):n.display=""},acSetWidgetContentVisibility:function(t){var n=this;Array.prototype.slice.call(this._root.children).forEach(function(e){n.acSetElementDisplay(e,t?null:"none")})},acCreateVendorsView:function(t){this.acVendorViews.forEach(function(e){return t.appendChild(e.render())})},acCallbackOnVendorsCollapse:function(e){e||this.isAcVendorsRendered||(this.acCreateVendorsView(this.acVendorsCollapsible.getBody()),this.isAcVendorsRendered=!0)},acUpdateCheckbox:function(){var e,t;this.acCheckbox&&(e=this.acAreAllAllowed(),t=this.acAreSomeAllowed(),this.acCheckbox.checked=e||t,this.acCheckbox.classList[!e&&t?"add":"remove"]("half"))},acOnCheckboxClick:function(){this.acEnableEntities(this.acCheckbox.checked)},acCreateVendorViews:function(){var s=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},a=[];return Object.entries(e).sort(function(e,t){return e[1].provider_name.localeCompare(t[1].provider_name)}).forEach(function(e){var t,n,r=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,n)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=r[0],i=r[1];a.push(new v(o,i.provider_name,i.policy_url,function(){return s.acUpdateCheckbox()}))}),a},acEnableEntities:function(t){this.acVendorViews&&(this.acVendorViews.forEach(function(e){return e.setEnabled(t)}),this.acUpdateCheckbox())},acRenderVendorsAsWholeWidget:function(){var e,t,n=this;n.acSetWidgetContentVisibility(!1),n.acViewContainer||(e=function(e,t){return(t||n.acViewContainer).getElementsByClassName(e)[0]},t=u()(y,{TITLE:m("google_additional_consent.gac_widget.title"),DESCRIPTION:m("google_additional_consent.gac_widget.description"),BUTTON_REJECT_CAPTION:m("tcf_v2.deactivate_all_purposes_button"),BUTTON_ACCEPT_ALL_CAPTION:m("tcf_v2.activate_all_purposes_button")}),n._root.insertAdjacentHTML("beforeend",t),n.acViewContainer=e("iub-cmp-ac-view",this._root),n.acVendorsContainer=e("iub-cmp-ac-vendors"),n.acCreateVendorsView(n.acVendorsContainer),e("iub-cmp-reject-btn").addEventListener("click",function(){return n.acEnableEntities(!1)}),e("iub-cmp-enable-btn").addEventListener("click",function(){return n.acEnableEntities(!0)})),n.acSetElementDisplay(n.acViewContainer,"block")},acRenderVendorsAsSeparateSection:function(){var e=this;this.acInitialized||(this.widgetContainer.insertAdjacentHTML("beforeend",u()('\n  <h3>{SECTION}</h3>\n  <h4 class="iub-cmp-switch-container">\n    <span>{NAME}</span>\n\n    <div class="iub-toggle-checkbox">\n      <input class="style1 iub-cmp-gac-checkbox" type="checkbox" title="Click to enable or disable" />\n    </div>\n\n  </h4>\n  <div class="iub-cmp-p-description">{DESCRIPTION}</div>',{SECTION:m("tcf_v2.widget_other_providers"),NAME:m("google_additional_consent.tcf_widget.title"),DESCRIPTION:m("google_additional_consent.tcf_widget.description")})),this.acCheckbox=this.widgetContainer.querySelector(".iub-cmp-gac-checkbox"),this.acCheckbox.addEventListener("click",function(){return e.acOnCheckboxClick()}),this.acUpdateCheckbox(),this.acVendorsCollapsible=new g("iub-cmp-ac-vendors",m("google_additional_consent.tcf_widget.manage_preferences"),this.acCallbackOnVendorsCollapse.bind(this)),this.widgetContainer.appendChild(this.acVendorsCollapsible.root),this.acInitialized=!0)},acSetState:function(e){var t,n=(e||"").trim().split("~");n[1]?(t={},n[1].split(".").forEach(function(e){t[e]=!0}),this.acVendorViews.forEach(function(e){return e.setEnabled(t[e.id])})):this.acEnableEntities(!1),this.acUpdateCheckbox()},acAreAllAllowed:function(){return this.acVendorViews&&this.acVendorViews.length===this.acVendorViews.filter(function(e){return e.isEnabled()}).length},acAreAllDisallowed:function(){return this.acVendorViews&&!this.acVendorViews.filter(function(e){return e.isEnabled()}).length},acAreSomeAllowed:function(){return this.acVendorViews&&!!this.acVendorViews.filter(function(e){return e.isEnabled()}).length},acInitialize:function(){this.acVendorViews=this.acVendorViews||this.acCreateVendorViews(_iub.acVendors)},acBuildUi:function(e){var t=this;e?this.acRenderVendorsAsWholeWidget():this.acRenderVendorsAsSeparateSection(),setTimeout(function(){t._root.scrollTop=0})},acHide:function(){this.acSetWidgetContentVisibility(!0),this.acSetElementDisplay(this.acViewContainer,"none")},acGetState:function(){var e=this.csOptions.gacVersion,t=[e],n={enabled:[],disabled:["dv"]};switch(this.acVendorViews&&this.acVendorViews.forEach(function(e){e.isEnabled()?n.enabled.push(e.id):n.disabled.push(e.id)}),e){case 1:t.push(n.enabled.join("."));break;case 2:t.push(n.enabled.join(".")),1<n.disabled.length&&t.push(n.disabled.join("."))}return t.join("~")},acSaveState:function(e){this.savedAcString=e},goBackToSavedAcState:function(){this.acSetState(this.savedAcString)},getCustomPreferences:function(){var e={};return this.isGACEnabled()&&(e.gac=this.acGetState()),e},isGACEnabled:function(){return this.customPurposes.filter(function(e){return"gac"===e.id}).length},enableMissingCustomPreferences:function(e){Object.prototype.hasOwnProperty.call(e,"gac")||this.isGACEnabled()&&this.acEnableEntities(!0)},enableAllCustomPurposes:function(){this.acEnableEntities(!0)},disableAllCustomPurposes:function(){this.acEnableEntities(!1)}},I=_iub.csTranslate;function L(e,t,n,r,o,i,s,a,c,u,l){var p=!(11<arguments.length&&void 0!==arguments[11])||arguments[11];Object.assign(this,{id:e,name:t,description:n,descriptionLegal:r,legIntLabel:o,callbackEnabled:s,count:a,countConsent:c,countLegitimateInterest:u,isIllustrationEnabled:l,hasConsent:!0===p||p===_.PURPOSE_CONSENT_ONLY,hasLegitimateInterest:i&&(!0===p||p===_.PURPOSE_LI_ONLY),consentEnabled:!1,legIntEnabled:!1,checkboxEnabled:null,checkboxLegIntEnabled:null,root:document.createElement("div")}),this.root.className="iub-cmp-purpose"}Object.assign(L.prototype,{setEnabled:function(e){this.hasConsent&&(this.consentEnabled=!!e,this.checkboxEnabled.checked=!!e)},setLegIntEnabled:function(e){this.hasLegitimateInterest&&(this.legIntEnabled=!!e,this.checkboxLegIntEnabled.checked=!!e)},isEnabled:function(){return this.consentEnabled},isLegIntEnabled:function(){return this.hasLegitimateInterest&&this.legIntEnabled},getVendorName:function(){return void 0===this.countConsent?u()("{NAME}",{NAME:this.name}):u()("{NAME} ({COUNT} {VENDORS})",{NAME:this.name,COUNT:this.countConsent,VENDORS:I("tcf_v2.vendors")})},getIllustration:function(){return this.isIllustrationEnabled?u()('\n  <a class="iub-popover-trigger"\n     href="javascript:void();"\n     data-iub-popover-title="{NAME}"\n     data-iub-popover-body="{DESCRIPTION_LEGAL}">\n     {LEARN_MORE}\n  </a>\n',{NAME:this.name,DESCRIPTION_LEGAL:this.descriptionLegal,LEARN_MORE:I("tcf_v2.learn_more")}):""},getLegitimateInterestAddon:function(){var e="";return this.hasLegitimateInterest&&(e=void 0===this.countLegitimateInterest?u()('\n<div class="iub-legitimate-interest-checkbox">\n    <label for="iub_legIntPurpose_{ID}">{LEGINT_LABEL}</label>\n    <input type="checkbox" id="iub_legIntPurpose_{ID}" {CHECKED}>\n</div>',{ID:this.id,LEGINT_LABEL:this.legIntLabel,CHECKED:this.legIntEnabled?"checked":""}):u()('\n<div class="iub-legitimate-interest-checkbox">\n    <label for="iub_legIntPurpose_{ID}">{LEGINT_LABEL} ({COUNT} {VENDORS})</label>\n    <input type="checkbox" id="iub_legIntPurpose_{ID}" {CHECKED}>\n</div>',{ID:this.id,LEGINT_LABEL:this.legIntLabel,CHECKED:this.legIntEnabled?"checked":"",COUNT:this.countLegitimateInterest,VENDORS:I("tcf_v2.vendors")})),e},render:function(){this.root.innerHTML=u()('\n  <div class=\'iub-cmp-name\'>\n  <div><h5>{VENDOR_NAME}</h5></div>\n    <div class="{DISABLED_CONSENT_CLASSNAME}">\n      <div class="iub-toggle-checkbox purposes-checkbox">\n        <input class="style1" type="checkbox" title="Click to enable or disable">\n      </div>\n    </div>\n  </div>\n  <div class=\'iub-cmp-description\'>\n    {DESCRIPTION}\n    {ILLUSTRATION}\n    {LEGINT_ADDON}\n  </div>',{ID:this.id,NAME:this.name,DESCRIPTION:this.description,DESCRIPTION_LEGAL:this.descriptionLegal,VENDOR_NAME:this.getVendorName(),DISABLED_CONSENT_CLASSNAME:this.hasConsent?"":"iub-cmp-disabled-control",ILLUSTRATION:this.getIllustration(),LEGINT_ADDON:this.getLegitimateInterestAddon()});var e=this.root.getElementsByTagName("input");return this.checkboxEnabled=e[0],this.hasLegitimateInterest&&(this.checkboxLegIntEnabled=e[1]),this.assignEvents(),this.root},assignEvents:function(){var e=this;this.checkboxEnabled.addEventListener("click",function(){e.consentEnabled=!e.consentEnabled,e.callbackEnabled(e.consentEnabled,e.id)}),this.hasLegitimateInterest&&this.checkboxLegIntEnabled.addEventListener("click",function(){e.legIntEnabled=!e.legIntEnabled})}});var O=L,S=n(380);function P(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e){if(e){if("string"==typeof e)return A(e,void 0);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?A(e,void 0):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w=_iub.csTranslate,V=["consent_only","li_only",!0,!1],T=["consent_only",!1],R={1:{allowedValues:[].concat(V,["consent_not_needed"]),fallbackValue:!0},2:{allowedValues:V,fallbackValue:!0},3:{allowedValues:T,fallbackValue:"consent_only"},4:{allowedValues:T,fallbackValue:"consent_only"},5:{allowedValues:T,fallbackValue:"consent_only"},6:{allowedValues:T,fallbackValue:"consent_only"},7:{allowedValues:V,fallbackValue:!0},8:{allowedValues:V,fallbackValue:!0},9:{allowedValues:V,fallbackValue:!0},10:{allowedValues:V,fallbackValue:!0},11:{allowedValues:V,fallbackValue:!0}};function M(e,t,n,r,o,i,s){var a=Object(S.validatePublisherState)(n,R);Object.assign(this,{i18nSection:i,purposeViews:[],purposeIds:Array.prototype.slice.call(e||[]),itemEnabledCallback:s,legIntPurposesMap:Object.assign({},t||{}),publisherPurposeStates:Object.assign({},a||{}),counts:r,isIllustrationEnabled:o,savedEnabledPurposeIds:[],savedEnabledLegIntPurposeIds:[],root:document.createElement("div")}),this.root.className="iub-cmp-purpose-list"}Object.assign(M.prototype,{render:function(){var s=this,a=this.legIntPurposesMap,c=this.i18nSection,u=this.itemEnabledCallback,l=this.publisherPurposeStates;return this.purposeIds.forEach(function(e){var t,n,r,o,i=l[e];!1===i||"consent_not_needed"===i&&1===e||(o=new O(e,w("tcf_v2.".concat(c,".").concat(e,".name")),w("tcf_v2.".concat(c,".").concat(e,".description")),w("tcf_v2.".concat(c,".").concat(e,".descriptionLegal")),w("tcf_v2.leg_int_purpose_label"),!!a[e],u,null===(t=s.counts)||void 0===t?void 0:t.all[e],null===(n=s.counts)||void 0===n?void 0:n.consent[e],null===(r=s.counts)||void 0===r?void 0:r.legitimateInterest[e],s.isIllustrationEnabled,i),s.purposeViews.push(o),s.root.appendChild(o.render()))}),this.root},areAllEnabled:function(){return this.purposeViews.every(function(e){return e.isEnabled()})},areAllLegIntEnabled:function(){return this.purposeViews.every(function(e){return e.isLegIntEnabled()||!e.hasLegitimateInterest})},areAllDisabled:function(){return this.purposeViews.every(function(e){return!e.isEnabled()})},areAllLegIntDisabled:function(){return this.purposeViews.every(function(e){return!e.isLegIntEnabled()})},setAllEnabled:function(t){return this.purposeViews.forEach(function(e){return e.setEnabled(t)}),this},setAllLegIntEnabled:function(t){return this.purposeViews.forEach(function(e){return e.setLegIntEnabled(t)}),this},getEnabledPurposeIds:function(){return this.purposeViews.filter(function(e){return e.isEnabled()}).map(function(e){return e.id})},getEnabledLegIntPurposeIds:function(){return this.purposeViews.filter(function(e){return e.isLegIntEnabled()}).map(function(e){return e.id})},setPurposesEnabled:function(e,n){var r=this;return e.forEach(function(t){var e=r.purposeViews.filter(function(e){return e.id===t})[0];e&&e.setEnabled(n)}),this},setLegIntPurposedEnabled:function(e,n){var r=this;return e.forEach(function(t){var e=r.purposeViews.filter(function(e){return e.id===t})[0];e&&e.setLegIntEnabled(n)}),this},goBackToSavedState:function(){this.setAllEnabled(!1).setPurposesEnabled(this.savedEnabledPurposeIds,!0).setAllLegIntEnabled(!1).setLegIntPurposedEnabled(this.savedEnabledLegIntPurposeIds,!0)},saveState:function(e){var t=e.enabledPurposeIds,n=e.enabledLegIntPurposeIds;this.savedEnabledPurposeIds=P(t),this.savedEnabledLegIntPurposeIds=P(n)}});function N(e,t){return e-t}var j=M;function D(e,t){var n=1<arguments.length&&void 0!==t&&t,r=document.createElement("div");return n&&(e=e.replace(/\n/g," ")),r.innerText=e,r.innerHTML.replace(/"/g,"&quot;")}var F=_iub.csTranslate;function k(e,t,n){if(e<=0)return F("tcf_v2.storage_info.intro.session");var r,o=t?F("tcf_v2.storage_info.intro.up_to"):"",i=86400<=e?(r=Math.ceil(e/86400),F(1===r?"tcf_v2.storage_info.intro.day":"tcf_v2.storage_info.intro.days")):(r=Math.ceil(e/3600),F(1===r?"tcf_v2.storage_info.intro.hour":"tcf_v2.storage_info.intro.hours"));return(o+=" ".concat(r," ").concat(i))+(n?" ".concat(F("tcf_v2.storage_info.intro.cookie_refresh")):"")}function x(e){var t=e.identifier,n=e.name,r=e.type,o=e.maxAgeSeconds,i=e.domain,s=e.purposes,a=e.cookieRefresh,c=s.map(function(e){return F("tcf_v2.purposes.".concat(e,".name"))}).join(", "),u="number"==typeof o?k(o,!1,a):F("tcf_v2.storage_info.intro.indefinite");return['<p class="storage-info-field">\n      <span class="storage-info-field-title">\n        '.concat(F("tcf_v2.storage_info.detailed.identifier"),"\n      </span>\n      ").concat(D(t||n),"\n    </p>"),'<p class="storage-info-field">\n      <span class="storage-info-field-title">\n        '.concat(F("tcf_v2.storage_info.detailed.method_title"),"\n      </span>\n      ").concat(F("tcf_v2.storage_info.detailed.type.".concat("string"==typeof r?r:"cookie")),"\n    </p>"),'<p class="storage-info-field">\n      <span class="storage-info-field-title">\n        '.concat(F("tcf_v2.storage_info.detailed.duration"),"\n      </span>\n      ").concat(u,"\n    </p>"),"string"==typeof i?'<p class="storage-info-field">\n          <span class="storage-info-field-title">\n            '.concat(F("tcf_v2.storage_info.detailed.domain"),"\n          </span>\n          ").concat(D(i),"\n        </p>"):"",'<p class="storage-info-field">\n      <span class="storage-info-field-title">\n        '.concat(F("tcf_v2.storage_info.detailed.purposes"),"\n      </span>\n      ").concat(c,"\n    </p>")].join("")}function U(e){var t='[data-iub-storage-info-id="'.concat(e,'"');return document.querySelector(t)}function B(e){var t=e.cookieMaxAgeSeconds,n=e.usesNonCookieAccess,r=e.deviceStorageDisclosureUrl,o=e.cookieRefresh;Object.assign(this,{cookieMaxAgeSeconds:t,usesNonCookieAccess:n,deviceStorageDisclosureUrl:r,cookieRefresh:o,root:document.createElement("div")})}Object.assign(B.prototype,{render:function(){var e,t,n=!1,r="",o="";return void 0!==this.cookieMaxAgeSeconds&&(n=!0,null!==this.cookieMaxAgeSeconds&&-100!==this.cookieMaxAgeSeconds?r=k(this.cookieMaxAgeSeconds,!0,this.cookieRefresh):this.usesNonCookieAccess?r=F("tcf_v2.storage_info.intro.indefinite"):n=!1,void 0!==this.deviceStorageDisclosureUrl?(e=F("tcf_v2.storage_info.learn_label"),t=D('\n          <div data-iub-storage-info-id="'.concat(this.id,'">\n            <div class="iubenda-iframe-spinner"></div>\n          </div>'),!0),o=' - <a class="iub-popover-trigger storage-info-popup"\n          href="javascript:void();"\n          data-iub-popover-title="'.concat(F("tcf_v2.storage_info.heading"),'"\n          data-iub-popover-body="').concat(t,'">').concat(e,"</a>.")):r+="."),this.root.innerHTML=n?'\n      <div class="iub-cmp-storage-info-heading">\n        <h6 class="iub-cmp-entity-label">'.concat(F("tcf_v2.storage_info.heading"),'</h6>\n      </div>\n      <p class="iub-cmp-storage-info">\n      <span class="iub-cmp-entity-label">').concat(F("tcf_v2.storage_info.label"),"</span>\n        ").concat(r,"\n        ").concat(o,"\n      </p>"):"",o&&(this.storageInfoPopupLink=this.root.querySelector(".storage-info-popup")),this.assignEvents(),this.root},assignEvents:function(){var n=this;this.storageInfoPopupLink&&this.storageInfoPopupLink.addEventListener("click",function(){var e,o=n.id,t=n.deviceStorageDisclosureUrl,i=function(){var e=U(o);e&&(e.innerHTML='Error while loading <a\n        href="'.concat(t,'">').concat(t,"</a>"))};(e=new XMLHttpRequest).onload=function(e){var t=U(o);if(t)try{var n=e.target,r=JSON.parse(n.responseText).disclosures;t.innerHTML=r.map(x).join("<br/>")}catch(e){i(),console.trace(e)}},e.onerror=i,e.open("GET",t),e.send()})}});var G=B;var H=_iub.csTranslate,Q={purposesListCache:null,specialPurposesListCache:null,featuresListCache:null,specialFeaturesListCache:null,dataCategoriesListCache:null};function W(n,r){return function(e){var t=n[e];return t===_.PURPOSE_ALLOWED||t===r}}function K(e,t){var n=e.id,r=e.name,o=e.policyUrl,i=e.purposes,s=e.legIntPurposes,a=e.flexiblePurposes,c=e.specialPurposes,u=e.features,l=e.specialFeatures,p=e.cookieMaxAgeSeconds,d=e.usesNonCookieAccess,f=e.deviceStorageDisclosureUrl,h=e.cookieRefresh,v=e.dataDeclaration,b=e.dataRetention,g=e.urls;Object.assign(this,{id:n,name:r,policyUrl:o,specialPurposes:c,features:u,specialFeatures:l,cookieMaxAgeSeconds:p,usesNonCookieAccess:d,deviceStorageDisclosureUrl:f,cookieRefresh:h,dataDeclaration:v||[],dataRetention:b||null,urls:g||[],hasInitialLegIntPurposes:!!s.length,purposes:i.filter(W(t,_.PURPOSE_CONSENT_ONLY)).concat(a.filter(function(e){return t[e]===_.PURPOSE_CONSENT_ONLY&&-1!==s.indexOf(e)})).sort(N),legIntPurposes:s.filter(W(t,_.PURPOSE_LI_ONLY)).concat(a.filter(function(e){return t[e]===_.PURPOSE_LI_ONLY&&-1!==i.indexOf(e)})).sort(N),enabled:!1,legIntEnabled:!1,checkboxEnabled:null,checkboxLegIntEnabled:null,root:document.createElement("div"),vendorStorageInfo:new G({cookieMaxAgeSeconds:p,usesNonCookieAccess:d,deviceStorageDisclosureUrl:f,cookieRefresh:h})}),this.root.className="iub-cmp-vendor",this.root.setAttribute("data-tcf-vendor-id",n)}K.setCache=function(e){var t=e.purposes,n=e.specialPurposes,r=e.features,o=e.specialFeatures,i=e.dataCategories;Q={purposes:t,specialPurposes:n,features:r,specialFeatures:o,dataCategories:i}},Object.assign(K.prototype,{isEnabled:function(){return this.enabled},isLegIntEnabled:function(){return this.legIntEnabled},hasPurposes:function(){return!!this.purposes.length},hasPurpose:function(e){return-1<this.purposes.indexOf(e)},hasLegIntPurposes:function(){return!!this.legIntPurposes.length},hasLegIntPurposesOnly:function(){return this.hasLegIntPurposes()&&!this.purposes.length},hasSpecialFeature:function(e){return-1<this.specialFeatures.indexOf(e)},setEnabled:function(e){var t=!!e&&this.hasPurposes();this.enabled!==t&&(this.enabled=t,this.checkboxEnabled&&(this.checkboxEnabled.checked=t))},setLegIntEnabled:function(e){var t;this.hasLegIntPurposes()?(t=!!e,this.legIntEnabled!==t&&(this.legIntEnabled=t,this.checkboxLegIntEnabled&&(this.checkboxLegIntEnabled.checked=t))):this.legIntEnabled=!1},getEntityList:function(e,t,n){var r=[];return e.forEach(function(e){return t[e-1]?r.push(n(t[e-1])):null}),r},getAllEntityLists:function(){var t=this,e=this.getEntityList,n=this.purposes,r=this.legIntPurposes,o=this.specialPurposes,i=this.features,s=this.specialFeatures,a=this.dataDeclaration,c=this.urls;return{purposesList:e(n,Q.purposes,function(e){return H("tcf_v2.purposes.".concat(e,".name"))+t.getPurposesRetentionText(e)}),legIntPurposesList:e(r,Q.purposes,function(e){return H("tcf_v2.purposes.".concat(e,".name"))+t.getPurposesRetentionText(e)}),specialPurposesList:e(o,Q.specialPurposes,function(e){return H("tcf_v2.specialPurposes.".concat(e,".name"))+t.getSpecialPurposesRetentionText(e)}),featuresList:e(i,Q.features,function(e){return H("tcf_v2.features.".concat(e,".name"))}),specialFeaturesList:e(s,Q.specialFeatures,function(e){return H("tcf_v2.specialFeatures.".concat(e,".name"))}),dataDeclarationList:e(a,Q.dataCategories,function(e){return H("tcf_v2.dataCategories.".concat(e,".name"))}),urls:c}},getPurposesRetentionText:function(e){if(!this.dataRetention)return"";var t=this.dataRetention.purposes[e]||this.dataRetention.stdRetention;if(!t)return" (".concat(H("tcf_v2.retention_label"),": ").concat(H("tcf_v2.storage_info.intro.less_than_day"),"/ ").concat(H("tcf_v2.storage_info.intro.session"),")");var n=H(1===t?"tcf_v2.storage_info.intro.day":"tcf_v2.storage_info.intro.days");return" (".concat(H("tcf_v2.retention_label"),": ").concat(t," ").concat(n,")")},getSpecialPurposesRetentionText:function(e){if(!this.dataRetention)return"";var t=this.dataRetention.specialPurposes[e]||this.dataRetention.stdRetention;if(!t)return" (".concat(H("tcf_v2.retention_label"),": ").concat(H("tcf_v2.storage_info.intro.less_than_day"),"/ ").concat(H("tcf_v2.storage_info.intro.session"),")");var n=H(1===t?"tcf_v2.storage_info.intro.day":"tcf_v2.storage_info.intro.days");return" (".concat(H("tcf_v2.retention_label"),": ").concat(t," ").concat(n,")")},generateHtmlLinks:function(e,o,i){var s=[];return e.forEach(function(e,t){var n=e.langId,r=function(e,t){if(null==e)return{};var n,r=function(e,t){if(null==e)return{};for(var n,r={},o=Object.keys(e),i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols)for(var o=Object.getOwnPropertySymbols(e),i=0;i<o.length;i++)n=o[i],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n]);return r}(e,["langId"])[o];r&&s.push('<a target="_blank" rel="noopener" href="'.concat(r,'">').concat(0===t?i:n,"</a>"))}),{mainLink:s.shift(),links:s}},getPrivacyPolicyLinks:function(e){var t='\n      <p class="iub-cmp-privacy-policy-link">\n        <a target="_blank" rel="noopener" href="'.concat(this.policyUrl,'">').concat(H("tcf_v2.privacy_policy"),"</a>\n      </p>\n    ");if(!e.length)return t;var n=this.generateHtmlLinks(e,"privacy",H("tcf_v2.privacy_policy"));if(!n.mainLink)return t;var r='<p class="iub-cmp-privacy-policy-link">';return r+=n.mainLink,n.links.length&&(r+=" (".concat(n.links.join(" - "),")")),r+"</p>"},getLegIntLinks:function(e){if(!e.length)return"";var t=this.generateHtmlLinks(e,"legIntClaim",H("tcf_v2.leg_int_information"));if(!t.mainLink)return"";var n='<p class="iub-cmp-legitimate-interest-link">';return n+=t.mainLink,t.links.length&&(n+=" (".concat(t.links.join(" - "),")")),n+"</p>"},render:function(){var e=this.getAllEntityLists(),t=e.purposesList,n=e.legIntPurposesList,r=e.specialPurposesList,o=e.featuresList,i=e.specialFeaturesList,s=e.dataDeclarationList,a=e.urls,c=['<div class="iub-cmp-name"><div><h5>'.concat(this.name,"</h5></div>"),t.length?'<div>\n            <div class="iub-toggle-checkbox">\n              <input class="style1 iub-vendor-toggle-consent" '.concat(this.enabled?"checked":"",' type="checkbox" title="Click to enable or disable" />\n            </div>\n          </div>'):"","</div>",'<div class="iub-cmp-desc">',t.length?'<p class="iub-cmp-purposes">\n            <span class="iub-cmp-entity-label">'.concat(H("tcf_v2.purposes_label"),"</span> ").concat(t.join(H("tcf_v2.purpose_list_separator")+" "),".\n          </p>"):"",n.length?'<p class="iub-cmp-legit-purposes">\n            <span class="iub-cmp-entity-label">'.concat(H("tcf_v2.legit_purposes_label"),"</span> ").concat(n.join(H("tcf_v2.purpose_list_separator")+" "),".\n          </p>"):"",r.length?'<p class="iub-cmp-special-purposes">\n            <span class="iub-cmp-entity-label">'.concat(H("tcf_v2.special_purposes_label"),"</span> ").concat(r.join(H("tcf_v2.purpose_list_separator")+" "),".\n          </p>"):"",o.length?'<p class="iub-cmp-features">\n            <span class="iub-cmp-entity-label">'.concat(H("tcf_v2.features_label"),"</span> ").concat(o.join(H("tcf_v2.purpose_list_separator")+" "),".\n          </p>"):"",i.length?'<p class="iub-cmp-special-features">\n            <span class="iub-cmp-entity-label">'.concat(H("tcf_v2.special_features_label"),"</span> ").concat(i.join(H("tcf_v2.purpose_list_separator")+" "),".\n          </p>"):"",s.length?'<p class="iub-cmp-data-declaration">\n            <span class="iub-cmp-entity-label">'.concat(H("tcf_v2.data_declaration_label"),":</span><br />").concat(s.join("<br/>"),".\n          </p>"):"",this.hasLegIntPurposes()?u()('\n<div class="iub-legitimate-interest-checkbox">\n  <label for="iub_legIntVendor_{ID}">{LEGINT_LABEL}</label>\n  <input type="checkbox" id="iub_legIntVendor_{ID}" class="iub-vendor-toggle-legint" {CHECKED}>\n</div>',{ID:this.id,LEGINT_LABEL:H("tcf_v2.leg_int_vendor_label"),CHECKED:this.legIntEnabled?"checked":""}):"",this.getPrivacyPolicyLinks(a),this.getLegIntLinks(a),"</div>"];return this.root.innerHTML=c.join(""),this.root.querySelector(".iub-cmp-desc").appendChild(this.vendorStorageInfo.render()),this.checkboxEnabled=this.hasPurposes()?this.root.querySelector(".iub-vendor-toggle-consent"):null,this.hasLegIntPurposes()&&(this.checkboxLegIntEnabled=this.root.querySelector(".iub-vendor-toggle-legint")),this.assignEvents(),this.root},assignEvents:function(){var e=this;this.hasPurposes()&&this.checkboxEnabled.addEventListener("click",function(){e.enabled=!e.enabled}),this.hasLegIntPurposes()&&this.checkboxLegIntEnabled.addEventListener("click",function(){e.legIntEnabled=!e.legIntEnabled})}});var Y=K,J=n(99),q=n(381),z=n.n(q);function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var X=_iub.csTranslate,Z='\n  <div class="iub-cmp-header">\n    <h2>{TITLE}</h2>\n    <div class="widget-description">{DESCRIPTION}</div>\n  </div>\n  <div class="'.concat("widget-container",'">\n    <div class="iub-consent-buttons iub-cmp-toggle-buttons">\n      <div>\n        <button class="iub-btn iub-btn-consent iub-btn-reject ').concat("iub-cmp-reject-btn",'">\n          {BUTTON_REJECT_CAPTION}\n        </button>\n      </div>\n      <div>\n        <button class="iub-btn iub-btn-consent iub-btn-accept ').concat("iub-cmp-enable-btn",'">\n          {BUTTON_ACCEPT_ALL_CAPTION}\n        </button>\n      </div>\n    </div>\n\n    <h3>{IAB_TITLE}</h3>\n    <h4>{PURPOSES_TITLE}</h4>\n    <div class="').concat("iub-cmp-purposes-container",'"></div>\n\n    <h4>{SPECIAL_PURPOSES_TITLE}</h4>\n    <div class="iub-cmp-special-purposes-container">{SPECIAL_PURPOSES}</div>\n\n    <h4>{FEATURES_TITLE}</h4>\n    <p class="iub-cmp-p-description">{FEATURES_INTRO}</p>\n    <div class="iub-cmp-features-list">{FEATURES_LIST}</div>\n\n    <h4>{SPECIAL_FEATURES_TITLE}</h4>\n    <p class="iub-cmp-p-description">{SPECIAL_FEATURES_INTRO}</p>\n    <div class="').concat("iub-cmp-special-features-container",'"></div>\n  </div>'),ee=new J.a;function te(e,t,n,r,o,i){var s=_iub.cs.options;this.gvlHelper=ee,Object.assign(this,{i18n:n,lang:t,csOptions:s,consentString:e,customPurposes:r,customPreferences:o,promiseCreate:i.promiseCreate,popover:i.popover,vendorsData:{},vendorViews:[],purposeCounts:null,specialPurposeCounts:null,legIntPurposes:{},tcModel:this.gvlHelper.getTcModel(e),purposesListView:null,specialFeaturesListView:null,isRendered:!1,isDisplayed:!1,isVendorListOpened:!1,savedEnabledVendorIds:[],savedEnabledLegIntVendorIds:[],narrowedVendorIds:Array.prototype.slice.call(s.tcfVendors||[]),publisherPurposeStates:s.tcfPurposes||null,_root:document.createElement("div")}),this._root.id="iub-cmp-widget"}window._iub.gvlHelper=ee,Object.assign(te.prototype,s,C,{getVendorList:function(e){var t=this,n=this.tcModel.gvl;n.readyPromise.then(function(){t.narrowedVendorIds.length&&n.narrowVendorsTo(t.narrowedVendorIds),e(n.vendors)})},saveVendorsState:function(e){var t=e.enabledVendorsIds,n=e.enabledLegIntVendorsIds;this.savedEnabledVendorIds=t,this.savedEnabledLegIntVendorIds=n},goBackToSavedVendorsState:function(){this.enableAllVendors(!1),this.enableVendors(this.savedEnabledVendorIds),this.enableVendorsLegInt(this.savedEnabledLegIntVendorIds)},getTranslationKeys:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).map(function(e){return+e})},prepareVendorsData:function(e){var t=this.i18n;return{vendors:Object.values(e).sort(function(e,t){return e.name.toLocaleLowerCase().localeCompare(t.name.toLocaleLowerCase())}),purposes:this.getTranslationKeys(t.purposes),features:this.getTranslationKeys(t.features),specialPurposes:this.getTranslationKeys(t.specialPurposes),specialFeatures:this.getTranslationKeys(t.specialFeatures),dataCategories:this.getTranslationKeys(t.dataCategories)}},getLegIntPurposesMap:function(e){var n={};return e.forEach(function(e,t){n[t+1]=!!t}),n},getISO639Lang:function(){return this.lang.substr(0,2)},setDisplayed:function(){var e=this;this.isDisplayed=!0,setTimeout(function(){e._root.scrollTop=0})},hasBeenDisplayed:function(){return this.isDisplayed},hasBeenRendered:function(){return this.isRendered},enableAllPurposesList:function(){return this.purposesListView.setAllEnabled(!0),this.purposesListView.setAllLegIntEnabled(!0),this},enableAllSpecialFeaturesList:function(){return this.specialFeaturesListView.setAllEnabled(!0),this},enableAllEntities:function(){this.enableAllPurposesList().enableAllVendors(!0).enableAllSpecialFeaturesList()},getSpecialFeaturesOptinsIds:function(e){var n=[],r=[];return e.specialFeatureOptins.forEach(function(e,t){e?n.push(t):r.push(t)}),{specialFeatureConsents:n,specialFeatureMissingConsents:r}},setSpecialFeaturesPurposes:function(e){var t=this,n=this.getSpecialFeaturesOptinsIds(e).specialFeatureConsents;this.specialFeaturesListView.setAllEnabled(!1),this.specialFeaturesListView.purposeIds.forEach(function(e){-1!==n.indexOf(e)?t.specialFeaturesListView.setPurposesEnabled([e],!0):t.specialFeaturesListView.setPurposesEnabled([e],!1)})},enableAllEntitiesBasedOnSpecialFeatures:function(){var e=this.gvlHelper.getTcModel();this.enableAllPurposesList().enableAllVendors(!0).setSpecialFeaturesPurposes(e)},disableAllEntities:function(){this.purposesListView.setAllEnabled(!1),this.purposesListView.setAllLegIntEnabled(!1),this.specialFeaturesListView.setAllEnabled(!1),this.enableAllVendors(!1)},enableAllVendors:function(t){return this.vendorViews.forEach(function(e){e.setEnabled(t),e.setLegIntEnabled(t)}),this},areAllAllowed:function(){var e=this.isRendered,t=this.purposesListView,n=this.specialFeaturesListView,r=this.vendorViews;return e&&t.areAllEnabled()&&t.areAllLegIntEnabled()&&n.areAllEnabled()&&r.every(function(e){return(e.isEnabled()||!e.hasPurposes())&&(e.isLegIntEnabled()||!e.hasLegIntPurposes())})},areAllDisallowed:function(){var e=this.isRendered,t=this.purposesListView,n=this.specialFeaturesListView,r=this.vendorViews;return e&&t.areAllDisabled()&&t.areAllLegIntDisabled()&&n.areAllDisabled()&&r.every(function(e){return!e.isEnabled()&&!e.isLegIntEnabled()})},getEnabledPurposeIds:function(){return this.purposesListView.getEnabledPurposeIds()},getEnabledVendorIds:function(){var t=[];return this.vendorViews.forEach(function(e){e.isEnabled()&&t.push(e.id)}),t},getEnabledLegIntVendorIds:function(){var t=[];return this.vendorViews.forEach(function(e){e.isLegIntEnabled()&&t.push(e.id)}),t},enableVendors:function(t){this.vendorViews.forEach(function(e){-1!==t.indexOf(e.id)&&e.setEnabled(!0)})},enableVendorsLegInt:function(t){this.vendorViews.forEach(function(e){-1!==t.indexOf(e.id)&&e.setLegIntEnabled(!0)})},getFeaturesListHtml:function(o){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null,s=!(3<arguments.length&&void 0!==arguments[3])||arguments[3],a=[];return(1<arguments.length&&void 0!==arguments[1]?arguments[1]:[]).forEach(function(e){var t=X("tcf_v2.".concat(o,".").concat(e,".name")),n=X("tcf_v2.".concat(o,".").concat(e,".description")),r=X("tcf_v2.".concat(o,".").concat(e,".descriptionLegal"));a.push(u()("\n  <div class=\"iub-cmp-purpose\">\n    <p class='iub-cmp-name'><label>{VENDOR_NAME}</label></p>\n    <p class='iub-cmp-description'>\n      {DESCRIPTION}\n      {ILLUSTRATION}\n    </p>\n  </div>",{NAME:t,DESCRIPTION:n,DESCRIPTION_LEGAL:r,VENDOR_NAME:i?u()("<label>{NAME} ({COUNT} {VENDORS})</label>",{NAME:t,COUNT:i[e],VENDORS:X("tcf_v2.vendors")}):u()("{NAME}",{NAME:t}),ILLUSTRATION:s?u()('\n  <a class="iub-popover-trigger"\n     href="javascript:void()"\n     data-iub-popover-title="{NAME}"\n     data-iub-popover-body="{DESCRIPTION_LEGAL}">\n     {LEARN_MORE}\n  </a>',{NAME:t,DESCRIPTION_LEGAL:r,LEARN_MORE:X("tcf_v2.learn_more")}):""}))}),a.join("")},createVendors:function(e){var t=this,n=this.vendorViews;Y.setCache(e),e.vendors.forEach(function(e){return n.push(new Y(e,t.publisherPurposeStates))}),2.2<=_iub.cs.options.tcfVersion&&(this.purposeCounts={all:{},consent:{},legitimateInterest:{}},this.specialPurposeCounts={},n.forEach(function(e){e.purposes.forEach(function(e){t.purposeCounts.all[e]=(t.purposeCounts.all[e]||0)+1,t.purposeCounts.consent[e]=(t.purposeCounts.consent[e]||0)+1}),e.legIntPurposes.forEach(function(e){t.purposeCounts.all[e]=(t.purposeCounts.all[e]||0)+1,t.purposeCounts.legitimateInterest[e]=(t.purposeCounts.legitimateInterest[e]||0)+1}),e.specialPurposes.forEach(function(e){t.specialPurposeCounts[e]=(t.specialPurposeCounts[e]||0)+1})}))},renderVendors:function(){var t;this.isVendorsRendered||(t=this.vendorsCollapsible.getBody(),this.vendorViews.forEach(function(e){return t.appendChild(e.render())}),this.isVendorsRendered=!0)},openVendorsList:function(){var e=this,t=this.promiseCreate();return this.renderPromise.then(function(){e.renderVendors(),e.vendorsCollapsible.setCollapsed(!1),t.resolve()}),t},closeVendorsList:function(){this.vendorsCollapsible.setCollapsed(!0)},buildUI:function(e){function t(e){return n._root.getElementsByClassName(e)[0]}var n=this;n.createVendors(e);var r=u()(Z,{TITLE:X("tcf_v2.widget_title"),DESCRIPTION:""+X("tcf_v2.widget_intro"),IAB_TITLE:X("tcf_v2.widget_iab_title"),PURPOSES_TITLE:X("tcf_v2.widget_purposes_title"),SPECIAL_PURPOSES_TITLE:X("tcf_v2.widget_special_purposes_title"),FEATURES_TITLE:X("tcf_v2.widget_features_title"),FEATURES_INTRO:X("tcf_v2.widget_features_intro"),SPECIAL_FEATURES_TITLE:X("tcf_v2.widget_special_features_title"),SPECIAL_FEATURES_INTRO:X("tcf_v2.widget_special_features_intro"),BUTTON_REJECT_CAPTION:X("tcf_v2.deactivate_all_purposes_button"),BUTTON_ACCEPT_ALL_CAPTION:X("tcf_v2.activate_all_purposes_button"),FEATURES_LIST:n.getFeaturesListHtml("features",n.vendorsData.features,null,"2.2"!==this.gvlHelper.tcfVersion),SPECIAL_PURPOSES:n.getFeaturesListHtml("specialPurposes",n.vendorsData.specialPurposes,this.specialPurposeCounts)});n._root.insertAdjacentHTML("beforeend",r),n.widgetContainer=t("widget-container"),n.purposesContainer=t("iub-cmp-purposes-container"),n.specialFeaturesContainer=t("iub-cmp-special-features-container"),n.activateAllPurposesButton=t("iub-cmp-enable-btn"),n.deactivateAllPurposesButton=t("iub-cmp-reject-btn"),n.purposesListView=new j(e.purposes,n.getLegIntPurposesMap(e.purposes),n.publisherPurposeStates,n.purposeCounts,!0,"purposes",function(e,t){return n.callbackPurposeEnabled(e,t)}),n.purposesContainer.appendChild(n.purposesListView.render()),n.specialFeaturesListView=new j(e.specialFeatures,null,null,null,"2.2"!==this.gvlHelper.tcfVersion,"specialFeatures",function(e,t){return n.callbackSpecialFeatureEnabled(e,t)}),n.specialFeaturesContainer.appendChild(n.specialFeaturesListView.render()),n.vendorsCollapsible=new g("iub-cmp-collapse",X("tcf_v2.vendors_section_title"),n.callbackOnVendorsCollapse.bind(n)),n.widgetContainer.appendChild(n.vendorsCollapsible.root)},callbackPurposeEnabled:function(e,t){e&&this.vendorViews.forEach(function(e){e.hasPurpose(t)&&e.setEnabled(!0)})},callbackSpecialFeatureEnabled:function(e,t){e&&this.vendorViews.forEach(function(e){e.hasSpecialFeature(t)&&e.setEnabled(!0)})},callbackOnVendorsCollapse:function(e){e||this.openVendorsList(),this.isVendorListOpened=!e},assignEvents:function(){var e=this,t=_iub.cs.options.perPurposeConsent;this.popover.listen(e._root),e._root.addEventListener("click",function(e){return e.stopPropagation()}),e.activateAllPurposesButton.addEventListener("click",function(){e.enableAllEntities(),t||e.enableAllCustomPurposes()}),e.deactivateAllPurposesButton.addEventListener("click",function(){e.disableAllEntities(),t||e.disableAllCustomPurposes()})},render:function(t){var n=this;n.renderPromise=this.promiseCreate(),n.getVendorList(function(e){n.vendorsData=n.prepareVendorsData(e),n.buildUI(n.vendorsData),_iub.cs.options.googleAdditionalConsentMode&&(n.acInitialize(),_iub.cs.options.perPurposeConsent||n.acBuildUi(!1)),""!==n.consentString&&(n.setState(n.consentString),n.purposesListView.saveState({enabledPurposeIds:n.purposesListView.getEnabledPurposeIds(),enabledLegIntPurposeIds:n.purposesListView.getEnabledLegIntPurposeIds()}),n.specialFeaturesListView.saveState({enabledPurposeIds:n.specialFeaturesListView.getEnabledPurposeIds(),enabledLegIntPurposeIds:n.specialFeaturesListView.getEnabledLegIntPurposeIds()}),n.saveVendorsState({enabledVendorsIds:n.getEnabledVendorIds(),enabledLegIntVendorsIds:n.getEnabledLegIntVendorIds()}),n.acSaveState(n.acGetState())),n.assignEvents(),n.isRendered=!0,t(n._root),n.renderPromise.resolve()},function(){z()("Something went wrong while retrieving the vendors list"),n.renderPromise.resolve()})},setState:function(e){if(e){var t=this.gvlHelper.getTcModel(e);if(t.purposeOneTreatment&&!t.isServiceSpecific)return;var n=[],r=[];t.purposeConsents.forEach(function(e,t){e&&n.push(t)}),t.purposeLegitimateInterests.forEach(function(e,t){e&&r.push(t)}),this.purposesListView.setAllEnabled(!1).setAllLegIntEnabled(!1).setPurposesEnabled(n,!0).setLegIntPurposedEnabled(r,!0),this.setSpecialFeaturesPurposes(t),this.vendorViews.forEach(function(e){e.setEnabled(t.vendorConsents.has(e.id)),e.setLegIntEnabled(t.vendorLegitimateInterests.has(e.id))})}this.acSetState(this.customPreferences?this.customPreferences.gac:"")},getRestrictionType:function(e){switch(e){case _.PURPOSE_DISALLOWED:return d.RestrictionType.NOT_ALLOWED;case _.PURPOSE_CONSENT_ONLY:return d.RestrictionType.REQUIRE_CONSENT;case _.PURPOSE_LI_ONLY:return d.RestrictionType.REQUIRE_LI;default:return null}},getState:function(){var u=this;if(!this.isRendered)return null;var e=this.tcModel,t=[],n=[],r=[];this.vendorViews.forEach(function(e){n.push(e.id),e.isEnabled()&&t.push(e.id),e.isLegIntEnabled()&&r.push(e.id)}),e.unsetAll(),e.publisherConsents.empty(),e.publisherLegitimateInterests.empty(),e.vendorConsents.set(t),e.vendorsDisclosed.set(n),e.vendorLegitimateInterests.set(r);var o=this.purposesListView.getEnabledPurposeIds(),i=this.purposesListView.getEnabledLegIntPurposeIds();e.purposeConsents.set(o),e.purposeLegitimateInterests.set(i),e.publisherConsents.set(o),e.publisherLegitimateInterests.set(i),e.specialFeatureOptins.set(this.specialFeaturesListView.getEnabledPurposeIds()),e.publisherRestrictions=new d.PurposeRestrictionVector;var s,l=e.publisherRestrictions;l.gvl=e.gvl,Object.entries(this.publisherPurposeStates).forEach(function(e){var t,n,r,o,i=(n=2,function(e){if(Array.isArray(e))return e}(t=e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var s,a=e[Symbol.iterator]();!(r=(s=a.next()).done)&&(n.push(s.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(o)throw i}}return n}}(t,n)||function(e,t){if(e){if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=i[0],a=i[1],c=u.getRestrictionType(a);null!==c&&(r=parseInt(s,10),o=new d.PurposeRestriction(r,c),u.vendorViews.forEach(function(e){var t=e.id;l.vendorHasRestriction(t,o)||l.add(t,o)}))}),e.consentScreen=this.isDisplayed?c.a.CONSENT_SCREEN_WIDGET:c.a.CONSENT_SCREEN_BANNER,e.consentLanguage=this.getISO639Lang(),e.gvl.changeLanguage(this.getISO639Lang()),e.isServiceSpecific=!0,"consent_not_needed"===this.publisherPurposeStates[1]&&(e.purposeOneTreatment=!0,(s=this.csOptions.tcfPublisherCC)&&"string"==typeof s&&2<=s.length&&(e.publisherCountryCode=s.substring(0,2).toUpperCase())),e.updated(),f=d.SemanticPreEncoder.process,d.SemanticPreEncoder.process=function(e,t){var n=f.call(this,e,t),r=n.gvl.vendors,o=Object.keys(r).filter(function(e){var t=r[e];return t.specialPurposes.length&&!t.purposes.length&&!t.legIntPurposes.length}).map(function(e){return+e});return n.vendorLegitimateInterests.set(o),n};var a=d.TCString.encode(e,{segments:["core"]});return d.SemanticPreEncoder.process=f,a}});var ne=te,re=window,oe=void 0===re._iub?re._iub={}:re._iub,ie=oe.cmp||(oe.cmp={}),se=ie.VERSION||(ie.VERSION={});ie.exposeCmpGlobalFunction=function(e){var t,n,r,o,i=2<arguments.length?arguments[2]:void 0,s=4<arguments.length&&void 0!==arguments[4]?arguments[4]:{},a=5<arguments.length&&void 0!==arguments[5]&&arguments[5];p.setAcmString(s.gac),null===(t=p.setGoogleEnableAdvertiserConsentMode)||void 0===t||t.call(p,null!==(n=null===(r=window._iub)||void 0===r||null===(o=r.csConfiguration)||void 0===o?void 0:o.googleEnableAdvertiserConsentMode)&&void 0!==n&&n);try{p.update(i?e||"":null,a)}catch(e){var c,u,l=(null===(c=window._iub)||void 0===c||null===(u=c.jlib)||void 0===u?void 0:u.logger)||window.console;l&&l.error&&l.error("Error while updating __tcfapi\n",e)}},ie.setAcmString=o,ie.Widget=ne,se.libV2="0.25.0"},40:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(41),a=n(37),c=(i=s.Command,o(u,i),u.prototype.respond=function(){this.throwIfParamInvalid(),this.invokeCallback(new a.TCData(this.param,this.listenerId))},u.prototype.throwIfParamInvalid=function(){if(!(void 0===this.param||Array.isArray(this.param)&&this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")},u);function u(){return null!==i&&i.apply(this,arguments)||this}t.GetTCDataCommand=c},41:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.prototype.invokeCallback=function(e){var t=null!==e;"function"==typeof this.next?this.callback(this.next,e,t):this.callback(e,t)},o);function o(e,t,n,r){this.success=!0,Object.assign(this,{callback:e,listenerId:n,param:t,next:r});try{this.respond()}catch(e){this.invokeCallback(null)}}t.Command=r},42:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(62)),r(t(43)),r(t(110)),r(t(114)),r(t(67)),r(t(73))},43:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o,i,s,a,c,u,l,p,d,f,h,v,b,g,_,E,m,y=n(7),C=(r=y.Fields.cmpId,o=y.Fields.cmpVersion,i=y.Fields.consentLanguage,s=y.Fields.consentScreen,a=y.Fields.created,c=y.Fields.isServiceSpecific,u=y.Fields.lastUpdated,l=y.Fields.policyVersion,p=y.Fields.publisherCountryCode,d=y.Fields.publisherLegitimateInterests,f=y.Fields.publisherConsents,h=y.Fields.purposeConsents,v=y.Fields.purposeLegitimateInterests,b=y.Fields.purposeOneTreatment,g=y.Fields.specialFeatureOptins,_=y.Fields.useNonStandardStacks,E=y.Fields.vendorListVersion,m=y.Fields.version,I[r]=12,I[o]=12,I[i]=12,I[s]=6,I[a]=36,I[c]=1,I[u]=36,I[l]=6,I[p]=12,I[d]=24,I[f]=24,I[h]=24,I[v]=24,I[b]=1,I[g]=12,I[_]=1,I[E]=12,I[m]=6,I.anyBoolean=1,I.encodingType=1,I.maxId=16,I.numCustomPurposes=6,I.numEntries=12,I.numRestrictions=12,I.purposeId=6,I.restrictionType=2,I.segmentType=3,I.singleOrRange=1,I.vendorId=16,I);function I(){}t.BitLength=C},44:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.RestrictionType||(t.RestrictionType={}))[r.NOT_ALLOWED=0]="NOT_ALLOWED",r[r.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",r[r.REQUIRE_LI=2]="REQUIRE_LI"},45:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(24),i=n(6),s=n(7),r=(a.encode=function(e,t){for(var n="",r=1;r<=t;r++)n+=o.BooleanEncoder.encode(e.has(r));return n},a.decode=function(e,t){if(e.length!==t)throw new i.DecodingError("bitfield encoding length mismatch");for(var n=new s.Vector,r=1;r<=t;r++)o.BooleanEncoder.decode(e[r-1])&&n.set(r);return n.bitLength=e.length,n},a);function a(){}t.FixedVectorEncoder=r},6:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(101)),r(t(102)),r(t(103)),r(t(104))},62:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6),r=(i.encode=function(e){if(!/^[0-1]+$/.test(e))throw new o.EncodingError("Invalid bitField");var t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";for(var n="",r=0;r<e.length;r+=this.BASIS)n+=this.DICT[parseInt(e.substr(r,this.BASIS),2)];return n},i.decode=function(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new o.DecodingError("Invalidly encoded Base64URL string");for(var t="",n=0;n<e.length;n++){var r=this.REVERSE_DICT.get(e[n]).toString(2);t+="0".repeat(this.BASIS-r.length)+r}return t},i.DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",i.REVERSE_DICT=new Map([["A",0],["B",1],["C",2],["D",3],["E",4],["F",5],["G",6],["H",7],["I",8],["J",9],["K",10],["L",11],["M",12],["N",13],["O",14],["P",15],["Q",16],["R",17],["S",18],["T",19],["U",20],["V",21],["W",22],["X",23],["Y",24],["Z",25],["a",26],["b",27],["c",28],["d",29],["e",30],["f",31],["g",32],["h",33],["i",34],["j",35],["k",36],["l",37],["m",38],["n",39],["o",40],["p",41],["q",42],["r",43],["s",44],["t",45],["u",46],["v",47],["w",48],["x",49],["y",50],["z",51],["0",52],["1",53],["2",54],["3",55],["4",56],["5",57],["6",58],["7",59],["8",60],["9",61],["-",62],["_",63]]),i.BASIS=6,i.LCM=24,i);function i(){}t.Base64Url=r},63:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=(i=n(14).Cloneable,o(a,i),a.prototype.isEmpty=function(){return!this.root},a.prototype.add=function(e){var t,n={value:e,left:null,right:null};if(this.isEmpty())this.root=n;else for(t=this.root;;)if(e<t.value){if(null===t.left){t.left=n;break}t=t.left}else{if(!(e>t.value))break;if(null===t.right){t.right=n;break}t=t.right}},a.prototype.get=function(){for(var e=[],t=this.root;t;)if(t.left){for(var n=t.left;n.right&&n.right!=t;)n=n.right;t=n.right==t?(n.right=null,e.push(t.value),t.right):(n.right=t).left}else e.push(t.value),t=t.right;return e},a.prototype.contains=function(e){for(var t=!1,n=this.root;n;){if(n.value===e){t=!0;break}e>n.value?n=n.right:e<n.value&&(n=n.left)}return t},a.prototype.min=function(e){var t;for(void 0===e&&(e=this.root);e;)e=e.left?e.left:(t=e.value,null);return t},a.prototype.max=function(e){var t;for(void 0===e&&(e=this.root);e;)e=e.right?e.right:(t=e.value,null);return t},a.prototype.remove=function(e,t){void 0===t&&(t=this.root);for(var n,r=null,o="left";t;){e<t.value?(t=(r=t).left,o="left"):e>t.value?(t=(r=t).right,o="right"):(t.left||t.right?t.left?t.right?(n=this.min(t.right),this.remove(n,t.right),t.value=n):r?r[o]=t.left:this.root=t.left:r?r[o]=t.right:this.root=t.right:r?r[o]=null:this.root=null,t=null)}},a);function a(){var e=null!==i&&i.apply(this,arguments)||this;return e.root=null,e}t.BinarySearchTree=s},64:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.cmpId="cmpId",o.cmpVersion="cmpVersion",o.consentLanguage="consentLanguage",o.consentScreen="consentScreen",o.created="created",o.supportOOB="supportOOB",o.isServiceSpecific="isServiceSpecific",o.lastUpdated="lastUpdated",o.numCustomPurposes="numCustomPurposes",o.policyVersion="policyVersion",o.publisherCountryCode="publisherCountryCode",o.publisherCustomConsents="publisherCustomConsents",o.publisherCustomLegitimateInterests="publisherCustomLegitimateInterests",o.publisherLegitimateInterests="publisherLegitimateInterests",o.publisherConsents="publisherConsents",o.publisherRestrictions="publisherRestrictions",o.purposeConsents="purposeConsents",o.purposeLegitimateInterests="purposeLegitimateInterests",o.purposeOneTreatment="purposeOneTreatment",o.specialFeatureOptins="specialFeatureOptins",o.useNonStandardStacks="useNonStandardStacks",o.vendorConsents="vendorConsents",o.vendorLegitimateInterests="vendorLegitimateInterests",o.vendorListVersion="vendorListVersion",o.vendorsAllowed="vendorsAllowed",o.vendorsDisclosed="vendorsDisclosed",o.version="version",o);function o(){}t.Fields=r},65:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(14),a=n(6),c=n(44),u=(i=s.Cloneable,o(l,i),l.unHash=function(e){var t=e.split(this.hashSeparator),n=new l;if(2!==t.length)throw new a.TCModelError("hash",e);return n.purposeId=parseInt(t[0],10),n.restrictionType=parseInt(t[1],10),n},Object.defineProperty(l.prototype,"hash",{get:function(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return""+this.purposeId+l.hashSeparator+this.restrictionType},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"purposeId",{get:function(){return this.purposeId_},set:function(e){this.purposeId_=e},enumerable:!0,configurable:!0}),l.prototype.isValid=function(){return Number.isInteger(this.purposeId)&&0<this.purposeId&&(this.restrictionType===c.RestrictionType.NOT_ALLOWED||this.restrictionType===c.RestrictionType.REQUIRE_CONSENT||this.restrictionType===c.RestrictionType.REQUIRE_LI)},l.prototype.isSameAs=function(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType},l.hashSeparator="-",l);function l(e,t){var n=i.call(this)||this;return void 0!==e&&(n.purposeId=e),void 0!==t&&(n.restrictionType=t),n}t.PurposeRestriction=u},66:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.Segment||(t.Segment={})).CORE="core",r.VENDORS_DISCLOSED="vendorsDisclosed",r.VENDORS_ALLOWED="vendorsAllowed",r.PUBLISHER_TC="publisherTC"},67:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(24)),r(t(68)),r(t(111)),r(t(45)),r(t(15)),r(t(69)),r(t(70)),r(t(72)),r(t(71))},68:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(15),o=n(6),i=(s.encode=function(e,t){return r.IntEncoder.encode(Math.round(e.getTime()/100),t)},s.decode=function(e,t){if(t!==e.length)throw new o.DecodingError("invalid bit length");var n=new Date;return n.setTime(100*r.IntEncoder.decode(e,t)),n},s);function s(){}t.DateEncoder=i},69:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(15),s=n(6),r=(o.encode=function(e,t){var n=(e=e.toUpperCase()).charCodeAt(0)-65,r=e.charCodeAt(1)-65;if(n<0||25<n||r<0||25<r)throw new s.EncodingError("invalid language code: "+e);if(t%2==1)throw new s.EncodingError("numBits must be even, "+t+" is not valid");return t/=2,i.IntEncoder.encode(n,t)+i.IntEncoder.encode(r,t)},o.decode=function(e,t){if(t!==e.length||e.length%2)throw new s.DecodingError("invalid bit length for language");var n=e.length/2,r=i.IntEncoder.decode(e.slice(0,n),n)+65,o=i.IntEncoder.decode(e.slice(n),n)+65;return String.fromCharCode(r)+String.fromCharCode(o)},o);function o(){}t.LangEncoder=r},7:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(63)),r(t(105)),r(t(64)),r(t(65)),r(t(106)),r(t(107)),r(t(44)),r(t(66)),r(t(108)),r(t(109))},70:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var h=n(43),v=n(24),b=n(6),g=n(15),_=n(7),r=(o.encode=function(l){var n=g.IntEncoder.encode(l.numRestrictions,h.BitLength.numRestrictions);return l.isEmpty()||l.getRestrictions().forEach(function(e){n+=g.IntEncoder.encode(e.purposeId,h.BitLength.purposeId),n+=g.IntEncoder.encode(e.restrictionType,h.BitLength.restrictionType);for(var i=l.getVendors(e),s=i.length,a=0,c=0,u="",t=0;t<s;t++)!function(e){var t=i[e];0===c&&(a++,c=t);var n,r=i[s-1],o=l.gvl.vendorIds;(e===s-1||i[e+1]>function(e){for(;++e<=r&&!o.has(e););return e}(t))&&(n=!(t===c),u+=v.BooleanEncoder.encode(n),u+=g.IntEncoder.encode(c,h.BitLength.vendorId),n&&(u+=g.IntEncoder.encode(t,h.BitLength.vendorId)),c=0)}(t);n+=g.IntEncoder.encode(a,h.BitLength.numEntries),n+=u}),n},o.decode=function(e){var t=0,n=new _.PurposeRestrictionVector,r=g.IntEncoder.decode(e.substr(t,h.BitLength.numRestrictions),h.BitLength.numRestrictions);t+=h.BitLength.numRestrictions;for(var o=0;o<r;o++){var i=g.IntEncoder.decode(e.substr(t,h.BitLength.purposeId),h.BitLength.purposeId);t+=h.BitLength.purposeId;var s=g.IntEncoder.decode(e.substr(t,h.BitLength.restrictionType),h.BitLength.restrictionType);t+=h.BitLength.restrictionType;var a=new _.PurposeRestriction(i,s),c=g.IntEncoder.decode(e.substr(t,h.BitLength.numEntries),h.BitLength.numEntries);t+=h.BitLength.numEntries;for(var u=0;u<c;u++){var l=v.BooleanEncoder.decode(e.substr(t,h.BitLength.anyBoolean));t+=h.BitLength.anyBoolean;var p=g.IntEncoder.decode(e.substr(t,h.BitLength.vendorId),h.BitLength.vendorId);if(t+=h.BitLength.vendorId,l){var d=g.IntEncoder.decode(e.substr(t,h.BitLength.vendorId),h.BitLength.vendorId);if(t+=h.BitLength.vendorId,d<p)throw new b.DecodingError("Invalid RangeEntry: endVendorId "+d+" is less than "+p);for(var f=p;f<=d;f++)n.add(f,a)}else n.add(p,a)}}return n.bitLength=t,n},o);function o(){}t.PurposeRestrictionVectorEncoder=r},71:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var f=n(7),h=n(42),v=n(15),b=n(24),g=n(45),_=n(72),E=n(6),r=(o.encode=function(n){var r,o=[],i=[],e=v.IntEncoder.encode(n.maxId,h.BitLength.maxId),s="",t=h.BitLength.maxId+h.BitLength.encodingType,a=t+n.maxId,c=2*h.BitLength.vendorId+h.BitLength.singleOrRange+h.BitLength.numEntries,u=t+h.BitLength.numEntries;return n.forEach(function(e,t){s+=b.BooleanEncoder.encode(e),(r=n.maxId>c&&u<a)&&e&&(n.has(t+1)?0===i.length&&(i.push(t),u+=h.BitLength.singleOrRange,u+=h.BitLength.vendorId):(i.push(t),u+=h.BitLength.vendorId,o.push(i),i=[]))}),r?(e+=_.VectorEncodingType.RANGE+"",e+=this.buildRangeEncoding(o)):(e+=_.VectorEncodingType.FIELD+"",e+=s),e},o.decode=function(e,t){var n,r=0,o=v.IntEncoder.decode(e.substr(r,h.BitLength.maxId),h.BitLength.maxId);r+=h.BitLength.maxId;var i=v.IntEncoder.decode(e.charAt(r),h.BitLength.encodingType);if(r+=h.BitLength.encodingType,i===_.VectorEncodingType.RANGE){if(n=new f.Vector,1===t){if("1"===e.substr(r,1))throw new E.DecodingError("Unable to decode default consent=1");r++}var s=v.IntEncoder.decode(e.substr(r,h.BitLength.numEntries),h.BitLength.numEntries);r+=h.BitLength.numEntries;for(var a=0;a<s;a++){var c=b.BooleanEncoder.decode(e.charAt(r));r+=h.BitLength.singleOrRange;var u=v.IntEncoder.decode(e.substr(r,h.BitLength.vendorId),h.BitLength.vendorId);if(r+=h.BitLength.vendorId,c){var l=v.IntEncoder.decode(e.substr(r,h.BitLength.vendorId),h.BitLength.vendorId);r+=h.BitLength.vendorId;for(var p=u;p<=l;p++)n.set(p)}else n.set(u)}}else{var d=e.substr(r,o);r+=o,n=g.FixedVectorEncoder.decode(d,o)}return n.bitLength=r,n},o.buildRangeEncoding=function(e){var t=e.length,n=v.IntEncoder.encode(t,h.BitLength.numEntries);return e.forEach(function(e){var t=1===e.length;n+=b.BooleanEncoder.encode(!t),n+=v.IntEncoder.encode(e[0],h.BitLength.vendorId),t||(n+=v.IntEncoder.encode(e[1],h.BitLength.vendorId))}),n},o);function o(){}t.VendorVectorEncoder=r},72:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.VectorEncodingType||(t.VectorEncodingType={}))[r.FIELD=0]="FIELD",r[r.RANGE=1]="RANGE"},73:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(112)),r(t(113))},74:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,s,a,c){return new(a=a||Promise)(function(n,t){function r(e){try{i(c.next(e))}catch(e){t(e)}}function o(e){try{i(c.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?n(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(r,o)}i((c=c.apply(e,s||[])).next())})},a=this&&this.__generator||function(n,r){var o,i,s,a={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(t){return function(e){return function(t){if(o)throw new TypeError("Generator is already executing.");for(;a;)try{if(o=1,i&&(s=2&t[0]?i.return:t[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,t[1])).done)return s;switch(i=0,s&&(t=[2&t[0],s.value]),t[0]){case 0:case 1:s=t;break;case 4:return a.label++,{value:t[1],done:!1};case 5:a.label++,i=t[1],t=[0];continue;case 7:t=a.ops.pop(),a.trys.pop();continue;default:if(!(s=0<(s=a.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){a=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3])){a.label=t[1];break}if(6===t[0]&&a.label<s[1]){a.label=s[1],s=t;break}if(s&&a.label<s[2]){a.label=s[2],a.ops.push(t);break}s[2]&&a.ops.pop(),a.trys.pop();continue}t=r.call(n,a)}catch(e){t=[6,e],i=0}finally{o=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}([t,e])}}};Object.defineProperty(t,"__esModule",{value:!0});var s,c=n(14),u=n(6),l=n(75),p=n(7),d=(s=c.Cloneable,o(f,s),Object.defineProperty(f,"baseUrl",{get:function(){return this.baseUrl_},set:function(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new u.GVLError("Invalid baseUrl!  You may not pull directly from vendorlist.consensu.org and must provide your own cache");0<e.length&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e},enumerable:!0,configurable:!0}),f.emptyLanguageCache=function(e){var t=!1;return void 0===e&&0<f.LANGUAGE_CACHE.size?(f.LANGUAGE_CACHE=new Map,t=!0):"string"==typeof e&&this.consentLanguages.has(e.toUpperCase())&&(f.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t},f.emptyCache=function(e){var t=!1;return Number.isInteger(e)&&0<=e?(f.CACHE.delete(e),t=!0):void 0===e&&(f.CACHE=new Map,t=!0),t},f.prototype.cacheLanguage=function(){f.LANGUAGE_CACHE.has(this.lang_)||f.LANGUAGE_CACHE.set(this.lang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks})},f.prototype.fetchJson=function(r){return i(this,void 0,void 0,function(){var t,n;return a(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),t=this.populate,[4,l.Json.fetch(r)];case 1:return t.apply(this,[e.sent()]),[3,3];case 2:throw n=e.sent(),new u.GVLError(n.message);case 3:return[2]}})})},f.prototype.getJson=function(){return JSON.parse(JSON.stringify({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,vendors:this.fullVendorList}))},f.prototype.changeLanguage=function(s){return i(this,void 0,void 0,function(){var t,n,r,o,i;return a(this,function(e){switch(e.label){case 0:if(t=s.toUpperCase(),!f.consentLanguages.has(t))return[3,6];if(t===this.lang_)return[3,5];if(this.lang_=t,!f.LANGUAGE_CACHE.has(t))return[3,1];for(r in n=f.LANGUAGE_CACHE.get(t))n.hasOwnProperty(r)&&(this[r]=n[r]);return[3,5];case 1:o=f.baseUrl+f.languageFilename.replace("[LANG]",s),e.label=2;case 2:return e.trys.push([2,4,,5]),[4,this.fetchJson(o)];case 3:return e.sent(),this.cacheLanguage(),[3,5];case 4:throw i=e.sent(),new u.GVLError("unable to load language: "+i.message);case 5:return[3,7];case 6:throw new u.GVLError("unsupported language "+s);case 7:return[2]}})})},Object.defineProperty(f.prototype,"language",{get:function(){return this.lang_},enumerable:!0,configurable:!0}),f.prototype.isVendorList=function(e){return void 0!==e&&void 0!==e.vendors},f.prototype.populate=function(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&f.CACHE.set(f.LATEST_CACHE_KEY,this.getJson()),f.CACHE.has(this.vendorListVersion)||f.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()},f.prototype.mapVendors=function(e){var r=this;this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach(function(e){r.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}}),Object.keys(this.specialPurposes).forEach(function(e){r.bySpecialPurposeVendorMap[e]=new Set}),Object.keys(this.features).forEach(function(e){r.byFeatureVendorMap[e]=new Set}),Object.keys(this.specialFeatures).forEach(function(e){r.bySpecialFeatureVendorMap[e]=new Set}),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map(function(e){return+e})),this.vendorIds=new Set(e),this.vendors_=e.reduce(function(e,t){var n=r.vendors_[""+t];return n&&void 0===n.deletedDate&&(n.purposes.forEach(function(e){r.byPurposeVendorMap[e+""].consent.add(t)}),n.specialPurposes.forEach(function(e){r.bySpecialPurposeVendorMap[e+""].add(t)}),n.legIntPurposes.forEach(function(e){r.byPurposeVendorMap[e+""].legInt.add(t)}),n.flexiblePurposes&&n.flexiblePurposes.forEach(function(e){r.byPurposeVendorMap[e+""].flexible.add(t)}),n.features.forEach(function(e){r.byFeatureVendorMap[e+""].add(t)}),n.specialFeatures.forEach(function(e){r.bySpecialFeatureVendorMap[e+""].add(t)}),e[t]=n),e},{})},f.prototype.getFilteredVendors=function(e,t,n,r){var o=this,i=e.charAt(0).toUpperCase()+e.slice(1),s={};return("purpose"===e&&n?this["by"+i+"VendorMap"][t+""][n]:this["by"+(r?"Special":"")+i+"VendorMap"][t+""]).forEach(function(e){s[e+""]=o.vendors[e+""]}),s},f.prototype.getVendorsWithConsentPurpose=function(e){return this.getFilteredVendors("purpose",e,"consent")},f.prototype.getVendorsWithLegIntPurpose=function(e){return this.getFilteredVendors("purpose",e,"legInt")},f.prototype.getVendorsWithFlexiblePurpose=function(e){return this.getFilteredVendors("purpose",e,"flexible")},f.prototype.getVendorsWithSpecialPurpose=function(e){return this.getFilteredVendors("purpose",e,void 0,!0)},f.prototype.getVendorsWithFeature=function(e){return this.getFilteredVendors("feature",e)},f.prototype.getVendorsWithSpecialFeature=function(e){return this.getFilteredVendors("feature",e,void 0,!0)},Object.defineProperty(f.prototype,"vendors",{get:function(){return this.vendors_},enumerable:!0,configurable:!0}),f.prototype.narrowVendorsTo=function(e){this.mapVendors(e)},Object.defineProperty(f.prototype,"isReady",{get:function(){return this.isReady_},enumerable:!0,configurable:!0}),f.prototype.clone=function(){var e=new f(this.getJson());return this.lang_!==f.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e},f.isInstanceOf=function(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo},f.LANGUAGE_CACHE=new Map,f.CACHE=new Map,f.LATEST_CACHE_KEY=0,f.DEFAULT_LANGUAGE="EN",f.consentLanguages=new p.ConsentLanguages,f.latestFilename="vendor-list.json",f.versionedFilename="archives/vendor-list-v[VERSION].json",f.languageFilename="purposes-[LANG].json",f);function f(e){var t=s.call(this)||this;t.isReady_=!1,t.isLatest=!1;var n,r=f.baseUrl;if(t.lang_=f.DEFAULT_LANGUAGE,t.isVendorList(e))t.populate(e),t.readyPromise=Promise.resolve();else{if(!r)throw new u.GVLError("must specify GVL.baseUrl before loading GVL json");0<e?(n=e,f.CACHE.has(n)?(t.populate(f.CACHE.get(n)),t.readyPromise=Promise.resolve()):(r+=f.versionedFilename.replace("[VERSION]",n+""),t.readyPromise=t.fetchJson(r))):f.CACHE.has(f.LATEST_CACHE_KEY)?(t.populate(f.CACHE.get(f.LATEST_CACHE_KEY)),t.readyPromise=Promise.resolve()):(t.isLatest=!0,t.readyPromise=t.fetchJson(r+f.latestFilename))}return t}t.GVL=d},75:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(o.absCall=function(e,o,i,s){return new Promise(function(t,n){var r=new XMLHttpRequest;r.withCredentials=i,r.addEventListener("load",function(){if(r.readyState==XMLHttpRequest.DONE)if(200<=r.status&&r.status<300){var e=r.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}t(e)}else n(new Error("HTTP Status: "+r.status+" response type: "+r.responseType))}),r.addEventListener("error",function(){n(new Error("error"))}),r.addEventListener("abort",function(){n(new Error("aborted"))}),null===o?r.open("GET",e,!0):r.open("POST",e,!0),r.responseType="json",r.timeout=s,r.ontimeout=function(){n(new Error("Timeout "+s+"ms "+e))},r.send(o)})},o.post=function(e,t,n,r){return void 0===n&&(n=!1),void 0===r&&(r=0),this.absCall(e,JSON.stringify(t),n,r)},o.fetch=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=0),this.absCall(e,null,t,n)},o);function o(){}t.Json=r},76:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(14),a=n(6),c=n(74),u=n(7),l=(i=s.Cloneable,o(p,i),Object.defineProperty(p.prototype,"gvl",{get:function(){return this.gvl_},set:function(e){c.GVL.isInstanceOf(e)||(e=new c.GVL(e)),this.gvl_=e,this.publisherRestrictions.gvl=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"cmpId",{get:function(){return this.cmpId_},set:function(e){if(!(Number.isInteger(+e)&&1<e))throw new a.TCModelError("cmpId",e);this.cmpId_=+e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"cmpVersion",{get:function(){return this.cmpVersion_},set:function(e){if(!(Number.isInteger(+e)&&-1<e))throw new a.TCModelError("cmpVersion",e);this.cmpVersion_=+e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"consentScreen",{get:function(){return this.consentScreen_},set:function(e){if(!(Number.isInteger(+e)&&-1<e))throw new a.TCModelError("consentScreen",e);this.consentScreen_=+e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"consentLanguage",{get:function(){return this.consentLanguage_},set:function(e){this.consentLanguage_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"publisherCountryCode",{get:function(){return this.publisherCountryCode_},set:function(e){if(!/^([A-z]){2}$/.test(e))throw new a.TCModelError("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"vendorListVersion",{get:function(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_},set:function(e){if((e=+e>>0)<0)throw new a.TCModelError("vendorListVersion",e);this.vendorListVersion_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"policyVersion",{get:function(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_},set:function(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new a.TCModelError("policyVersion",e)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"version",{get:function(){return this.version_},set:function(e){this.version_=parseInt(e,10)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"isServiceSpecific",{get:function(){return this.isServiceSpecific_},set:function(e){this.isServiceSpecific_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"useNonStandardStacks",{get:function(){return this.useNonStandardStacks_},set:function(e){this.useNonStandardStacks_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"supportOOB",{get:function(){return this.supportOOB_},set:function(e){this.supportOOB_=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"purposeOneTreatment",{get:function(){return this.purposeOneTreatment_},set:function(e){this.purposeOneTreatment_=e},enumerable:!0,configurable:!0}),p.prototype.setAllVendorConsents=function(){this.vendorConsents.set(this.gvl.vendors)},p.prototype.unsetAllVendorConsents=function(){this.vendorConsents.empty()},p.prototype.setAllVendorsDisclosed=function(){this.vendorsDisclosed.set(this.gvl.vendors)},p.prototype.unsetAllVendorsDisclosed=function(){this.vendorsDisclosed.empty()},p.prototype.setAllVendorsAllowed=function(){this.vendorsAllowed.set(this.gvl.vendors)},p.prototype.unsetAllVendorsAllowed=function(){this.vendorsAllowed.empty()},p.prototype.setAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.set(this.gvl.vendors)},p.prototype.unsetAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.empty()},p.prototype.setAllPurposeConsents=function(){this.purposeConsents.set(this.gvl.purposes)},p.prototype.unsetAllPurposeConsents=function(){this.purposeConsents.empty()},p.prototype.setAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.set(this.gvl.purposes)},p.prototype.unsetAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.empty()},p.prototype.setAllSpecialFeatureOptins=function(){this.specialFeatureOptins.set(this.gvl.specialFeatures)},p.prototype.unsetAllSpecialFeatureOptins=function(){this.specialFeatureOptins.empty()},p.prototype.setAll=function(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()},p.prototype.unsetAll=function(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()},Object.defineProperty(p.prototype,"numCustomPurposes",{get:function(){var e,t=this.numCustomPurposes_;return"object"==typeof this.customPurposes&&(e=Object.keys(this.customPurposes).sort(function(e,t){return e-t}),t=parseInt(e.pop(),10)),t},set:function(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new a.TCModelError("numCustomPurposes",e)},enumerable:!0,configurable:!0}),p.prototype.updated=function(){var e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t},p.consentLanguages=c.GVL.consentLanguages,p);function p(e){var t=i.call(this)||this;return t.isServiceSpecific_=!1,t.supportOOB_=!0,t.useNonStandardStacks_=!1,t.purposeOneTreatment_=!1,t.publisherCountryCode_="AA",t.version_=2,t.consentScreen_=0,t.policyVersion_=2,t.consentLanguage_="EN",t.cmpId_=0,t.cmpVersion_=0,t.vendorListVersion_=0,t.numCustomPurposes_=0,t.specialFeatureOptins=new u.Vector,t.purposeConsents=new u.Vector,t.purposeLegitimateInterests=new u.Vector,t.publisherConsents=new u.Vector,t.publisherLegitimateInterests=new u.Vector,t.publisherCustomConsents=new u.Vector,t.publisherCustomLegitimateInterests=new u.Vector,t.vendorConsents=new u.Vector,t.vendorLegitimateInterests=new u.Vector,t.vendorsDisclosed=new u.Vector,t.vendorsAllowed=new u.Vector,t.publisherRestrictions=new u.PurposeRestrictionVector,e&&(t.gvl=e),t.updated(),t}t.TCModel=l},81:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),function(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}(t(82))},82:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.TCFCommand||(t.TCFCommand={})).PING="ping",r.GET_TC_DATA="getTCData",r.GET_IN_APP_TC_DATA="getInAppTCData",r.GET_VENDOR_LIST="getVendorList",r.ADD_EVENT_LISTENER="addEventListener",r.REMOVE_EVENT_LISTENER="removeEventListener"},83:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i,s=n(38),a=n(39),c=(i=s.Response,o(u,i),u);function u(){var e=null!==i&&i.apply(this,arguments)||this;return e.cmpStatus=a.CmpStatus.ERROR,e}t.Disabled=c},84:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e};Object.defineProperty(t,"__esModule",{value:!0});var a,c=n(17),u=(a=n(38).Response,o(l,a),l.prototype.createRestrictions=function(t){var r={};if(0<t.numRestrictions)for(var e=t.getMaxVendorId(),n=1;n<=e;n++)!function(e){var n=e.toString();t.getRestrictions(e).forEach(function(e){var t=e.purposeId.toString();r[t]||(r[t]={}),r[t][n]=e.restrictionType})}(n);return r},l.prototype.createVectorField=function(n,e){return e?e.reduce(function(e,t){return e[t+""]=n.has(+t),e},{}):s(n).reduce(function(e,t){return e[t[0].toString(10)]=t[1],e},{})},l);function l(e,t){var n,r=a.call(this)||this;return r.eventStatus=c.CmpApiModel.eventStatus,r.cmpStatus=c.CmpApiModel.cmpStatus,r.listenerId=t,c.CmpApiModel.gdprApplies&&(n=c.CmpApiModel.tcModel,r.tcString=c.CmpApiModel.tcString,r.isServiceSpecific=n.isServiceSpecific,r.useNonStandardStacks=n.useNonStandardStacks,r.purposeOneTreatment=n.purposeOneTreatment,r.publisherCC=n.publisherCountryCode,r.outOfBand={allowedVendors:r.createVectorField(n.vendorsAllowed,e),disclosedVendors:r.createVectorField(n.vendorsDisclosed,e)},r.purpose={consents:r.createVectorField(n.purposeConsents),legitimateInterests:r.createVectorField(n.purposeLegitimateInterests)},r.vendor={consents:r.createVectorField(n.vendorConsents,e),legitimateInterests:r.createVectorField(n.vendorLegitimateInterests,e)},r.specialFeatureOptins=r.createVectorField(n.specialFeatureOptins),r.publisher={consents:r.createVectorField(n.publisherConsents),legitimateInterests:r.createVectorField(n.publisherLegitimateInterests),customPurpose:{consents:r.createVectorField(n.publisherCustomConsents),legitimateInterests:r.createVectorField(n.publisherCustomLegitimateInterests)},restrictions:r.createRestrictions(n.publisherRestrictions)}),r}t.TCData=u},85:function(e,n,t){"use strict";var r=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),s=[];try{for(;(void 0===t||0<t--)&&!(r=i.next()).done;)s.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return s},s=this&&this.__spread||function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e};Object.defineProperty(n,"__esModule",{value:!0});var a=t(81),c=t(152),u=t(17),l=t(83),p=t(158);n.API_KEY="__tcfapi";var o=(i.prototype.apiCall=function(e,t,n){for(var r,o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];if("string"!=typeof e)n(null,!1);else if(p.SupportedVersions.has(t)){if("function"!=typeof n)throw new Error("invalid callback function");u.CmpApiModel.disabled?n(new l.Disabled,!1):this.isCustomCommand(e)||this.isBuiltInCommand(e)?this.isCustomCommand(e)&&!this.isBuiltInCommand(e)?(r=this.customCommands)[e].apply(r,s([n],o)):e===a.TCFCommand.PING?this.isCustomCommand(e)?new c.CommandMap[e](this.customCommands[e],o[0],null,n):new c.CommandMap[e](n,o[0]):void 0===u.CmpApiModel.tcModel?this.callQueue.push(s([e,t,n],o)):this.isCustomCommand(e)&&this.isBuiltInCommand(e)?new c.CommandMap[e](this.customCommands[e],o[0],null,n):new c.CommandMap[e](n,o[0]):n(null,!1)}else n(null,!1)},i.prototype.purgeQueuedCalls=function(){var e=this.callQueue;this.callQueue=[],e.forEach(function(e){window[n.API_KEY].apply(window,s(e))})},i.prototype.isCustomCommand=function(e){return this.customCommands&&"function"==typeof this.customCommands[e]},i.prototype.isBuiltInCommand=function(e){return void 0!==c.CommandMap[e]},i);function i(e){if(e){var t=a.TCFCommand.ADD_EVENT_LISTENER;if(null!==e&&void 0!==e&&e[t])throw new Error("Built-In Custom Commmand for "+t+" not allowed: Use "+a.TCFCommand.GET_TC_DATA+" instead");if(t=a.TCFCommand.REMOVE_EVENT_LISTENER,null!==e&&void 0!==e&&e[t])throw new Error("Built-In Custom Commmand for "+t+" not allowed");null!==e&&void 0!==e&&e[a.TCFCommand.GET_TC_DATA]&&(e[a.TCFCommand.ADD_EVENT_LISTENER]=e[a.TCFCommand.GET_TC_DATA],e[a.TCFCommand.REMOVE_EVENT_LISTENER]=e[a.TCFCommand.GET_TC_DATA]),this.customCommands=e}try{this.callQueue=window[n.API_KEY]()||[]}catch(e){this.callQueue=[]}finally{window[n.API_KEY]=this.apiCall.bind(this),this.purgeQueuedCalls()}}n.CallResponder=o},9:function(e,t,n){e.exports={GVL_BASE_URL:"https://cdn.iubenda.com/cs/tcf/v3-gte60",GVL_VERSIONED_FILE_NAME:"../v3-versioned/vendorlist.[VERSION].json",GVL_LATEST_FILE_NAME:"vendorlist.json",CURRENT_CMP_VERSION:332,IUBENDA_CMP_ID:123,CONSENT_SCREEN_BANNER:1,CONSENT_SCREEN_WIDGET:2,PURPOSE_ALLOWED:!0,PURPOSE_DISALLOWED:!1,PURPOSE_CONSENT_ONLY:"consent_only",PURPOSE_LI_ONLY:"li_only"}},98:function(e,n,t){"use strict";function r(e){for(var t in e)n.hasOwnProperty(t)||(n[t]=e[t])}Object.defineProperty(n,"__esModule",{value:!0}),r(t(81)),r(t(37)),r(t(39)),r(t(151));var o=t(85);n.API_KEY=o.API_KEY},99:function(e,t,n){"use strict";n.d(t,"b",function(){return d}),n.d(t,"a",function(){return f});var r=n(1),o=n(9);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(n){return Object.keys(n).reduce(function(e,t){return e[t]=Object.assign({},n[t],{id:+t}),e},{})}var a={},c=function(){var e,t,n,r=null===(e=window._iub)||void 0===e||null===(t=e.cs)||void 0===t||null===(n=t.options)||void 0===n?void 0:n.i18nForBanner;if(!r)return{};var o=Object.values(r);return o[0]?o[0].tcf_v2:{}}(),u=r.GVL.prototype.populate;r.GVL.prototype.populate=function(e){return u.call(this,Object.assign({},e,{purposes:s(c.purposes),features:s(c.features),specialPurposes:s(c.specialPurposes),specialFeatures:s(c.specialFeatures)}))};var l=r.GVL.prototype.fetchJson;function p(e){return a[e]||(a[e]=new r.GVL(e)),a[e]}function d(e){c=e}r.GVL.prototype.fetchJson=function(e){var t;return/purposes-\w\w\.json$/.test(e)?{then:function(e){return e({})}}:(window._iub&&((null===(t=_iub.cs)||void 0===t?void 0:t.options)||_iub.csConfiguration)||{}).googleAdditionalConsentMode&&/vendorlist/.test(e)?Promise.all([l.call(this,e),new Promise(function(n,r){var o=new XMLHttpRequest;o.addEventListener("load",function(){var e={};try{e=JSON.parse(o.responseText)}catch(e){console.error("Error fetching GAC vendors: wrong response format"),r()}_iub.acVendors=e;var t=null;"function"==typeof CustomEvent?t=new CustomEvent("acVendorUpdate"):(t=document.createEvent("CustomEvent")).initCustomEvent("acVendorUpdate",null,null,null),document.dispatchEvent(t),n()}),o.open("GET","https://cdn.iubenda.com/cs/tcf/gac-vendors.json"),o.send()})]):l.call(this,e)},window._iub.TCString=r.TCString,window._iub.PurposeRestriction=r.PurposeRestriction;var f=(i(h.prototype,[{key:"getGvl",value:p},{key:"getTcModel",value:function(){var e,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null,n=_iub.GVL3;return t?(e=r.TCString.decode(t)).gvl=p(n):((e=new r.TCModel).cmpId=o.IUBENDA_CMP_ID,e.cmpVersion=o.CURRENT_CMP_VERSION,e.gvl=p(n)),window._iub.iubTCModel=e}}]),h);function h(){!function(e){if(!(e instanceof h))throw new TypeError("Cannot call a class as a function")}(this),r.GVL.baseUrl=o.GVL_BASE_URL,r.GVL.versionedFilename=o.GVL_VERSIONED_FILE_NAME,r.GVL.latestFilename=o.GVL_LATEST_FILE_NAME}}});