PageSourceSearch

https://www.tntdrama.com/libraries/user-consent/index.min.js

js tntdrama.com collected 2026-10-02 02:22:06 UTC 130,460 bytes, 1 lines download raw bytes

1!function(){"use strict";var e,t,n;!function(e){e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(e||(e={})),function(e){e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled"}(t||(t={}));class s{constructor(e,t,n,s){this.eventName=e,this.listenerId=t,this.data=n,this.pingData=s}}class o{constructor(e){this.gppVersion=e.gppVersion,this.cmpStatus=e.cmpStatus,this.cmpDisplayStatus=e.cmpDisplayStatus,this.signalStatus=e.signalStatus,this.supportedAPIs=e.supportedAPIs,this.cmpId=e.cmpId,this.sectionList=e.gppModel.getSectionIds(),this.applicableSections=e.applicableSections,this.gppString=e.gppModel.encode(),this.parsedSections=e.gppModel.toObject()}}class i{constructor(e){this.eventQueue=new Map,this.queueNumber=1e3,this.cmpApiContext=e;try{let e=window.__gpp("events")||[];for(var t=0;t<e.length;t++){let n=e[t];this.eventQueue.set(n.id,{callback:n.callback,parameter:n.parameter})}}catch(e){console.log(e)}}add(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}get(e){return this.eventQueue.get(e)}remove(e){return this.eventQueue.delete(e)}exec(e,t){this.eventQueue.forEach(((n,i)=>{let r=new s(e,i,t,new o(this.cmpApiContext));n.callback(r,!0)}))}clear(){this.queueNumber=1e3,this.eventQueue.clear()}get size(){return this.eventQueue.size}events(){let e=[];return this.eventQueue.forEach(((t,n)=>{e.push({id:n,callback:t.callback,parameter:t.parameter})})),e}}class r extends Error{constructor(e){super(e),this.name="InvalidFieldError"}}class a{constructor(){this.encodedString=null,this.dirty=!1,this.decoded=!0,this.segments=this.initializeSegments()}hasField(e){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(let t=0;t<this.segments.length;t++){let n=this.segments[t];if(n.getFieldNames().includes(e))return n.hasField(e)}return!1}getFieldValue(e){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(let t=0;t<this.segments.length;t++){let n=this.segments[t];if(n.hasField(e))return n.getFieldValue(e)}throw new r("Invalid field: '"+e+"'")}setFieldValue(e,t){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(let n=0;n<this.segments.length;n++){let s=this.segments[n];if(s.hasField(e))return void s.setFieldValue(e,t)}throw new r("Invalid field: '"+e+"'")}toObj(){let e={};for(let t=0;t<this.segments.length;t++){let n=this.segments[t].toObj();for(const[t,s]of Object.entries(n))e[t]=s}return e}encode(){return(null==this.encodedString||0===this.encodedString.length||this.dirty)&&(this.encodedString=this.encodeSection(this.segments),this.dirty=!1,this.decoded=!0),this.encodedString}decode(e){this.encodedString=e,this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!1}setIsDirty(e){this.dirty=e}}class c extends Error{constructor(e){super(e),this.name="DecodingError"}}class l extends Error{constructor(e){super(e),this.name="EncodingError"}}class d{static encode(e,t){let n=[];if(e>=1)for(n.push(1);e>=2*n[0];)n.unshift(2*n[0]);let s="";for(let t=0;t<n.length;t++){let o=n[t];e>=o?(s+="1",e-=o):s+="0"}if(s.length>t)throw new l("Numeric value '"+e+"' is too large for a bit string length of '"+t+"'");for(;s.length<t;)s="0"+s;return s}static decode(e){if(!/^[0-1]*$/.test(e))throw new c("Undecodable FixedInteger '"+e+"'");let t=0,n=[];for(let t=0;t<e.length;t++)n[e.length-(t+1)]=0===t?1:2*n[e.length-t];for(let s=0;s<e.length;s++)"1"===e.charAt(s)&&(t+=n[s]);return t}}class u{encode(e){if(!/^[0-1]*$/.test(e))throw new l("Unencodable Base64Url '"+e+"'");e=this.pad(e);let t="",n=0;for(;n<=e.length-6;){let s=e.substring(n,n+6);try{let e=d.decode(s);t+=u.DICT.charAt(e),n+=6}catch(t){throw new l("Unencodable Base64Url '"+e+"'")}}return t}decode(e){if(!/^[A-Za-z0-9\-_]*$/.test(e))throw new c("Undecodable Base64URL string '"+e+"'");let t="";for(let n=0;n<e.length;n++){let s=e.charAt(n),o=u.REVERSE_DICT.get(s);t+=d.encode(o,6)}return t}}u.DICT="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_",u.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]]);class g extends u{constructor(){super()}static getInstance(){return this.instance}pad(e){for(;e.length%8>0;)e+="0";for(;e.length%6>0;)e+="0";return e}}g.instance=new g;class p{constructor(){}static getInstance(){return this.instance}encode(e,t){let n="";for(let s=0;s<t.length;s++){let o=t[s];if(!e.containsKey(o))throw new Error("Field not found: '"+o+"'");n+=e.get(o).encode()}return n}decode(e,t,n){let s=0;for(let o=0;o<t.length;o++){let i=t[o];if(!n.containsKey(i))throw new Error("Field not found: '"+i+"'");{let t=n.get(i);try{let n=t.substring(e,s);t.decode(n),s+=n.length}catch(e){if("SubstringError"!==e.name||t.getHardFailIfMissing())throw new c("Unable to decode field '"+i+"'");return}}}}}p.instance=new p;class h{static encode(e){let t=[];if(e>=1&&(t.push(1),e>=2)){t.push(2);let n=2;
1for(;e>=t[n-1]+t[n-2];)t.push(t[n-1]+t[n-2]),n++}let n="1";for(let s=t.length-1;s>=0;s--){let o=t[s];e>=o?(n="1"+n,e-=o):n="0"+n}return n}static decode(e){if(!/^[0-1]*$/.test(e)||e.length<2||e.indexOf("11")!==e.length-2)throw new c("Undecodable FibonacciInteger '"+e+"'");let t=0,n=[];for(let t=0;t<e.length-1;t++)0===t?n.push(1):1===t?n.push(2):n.push(n[t-1]+n[t-2]);for(let s=0;s<e.length-1;s++)"1"===e.charAt(s)&&(t+=n[s]);return t}}class S{static encode(e){if(!0===e)return"1";if(!1===e)return"0";throw new l("Unencodable Boolean '"+e+"'")}static decode(e){if("1"===e)return!0;if("0"===e)return!1;throw new c("Undecodable Boolean '"+e+"'")}}class f{static encode(e){e=e.sort(((e,t)=>e-t));let t=[],n=0,s=0;for(;s<e.length;){let n=s;for(;n<e.length-1&&e[n]+1===e[n+1];)n++;t.push(e.slice(s,n+1)),s=n+1}let o=d.encode(t.length,12);for(let e=0;e<t.length;e++)if(1==t[e].length){let s=t[e][0]-n;n=t[e][0],o+="0"+h.encode(s)}else{let s=t[e][0]-n;n=t[e][0];let i=t[e][t[e].length-1]-n;n=t[e][t[e].length-1],o+="1"+h.encode(s)+h.encode(i)}return o}static decode(e){if(!/^[0-1]*$/.test(e)||e.length<12)throw new c("Undecodable FibonacciIntegerRange '"+e+"'");let t=[],n=d.decode(e.substring(0,12)),s=0,o=12;for(let i=0;i<n;i++){let n=S.decode(e.substring(o,o+1));if(o++,!0===n){let n=e.indexOf("11",o),i=h.decode(e.substring(o,n+2))+s;s=i,o=n+2,n=e.indexOf("11",o);let r=h.decode(e.substring(o,n+2))+s;s=r,o=n+2;for(let e=i;e<=r;e++)t.push(e)}else{let n=e.indexOf("11",o),i=h.decode(e.substring(o,n+2))+s;s=i,t.push(i),o=n+2}}return t}}class C extends Error{constructor(e){super(e),this.name="ValidationError"}}class E{constructor(e=!0){this.hardFailIfMissing=e}withValidator(e){return this.validator=e,this}hasValue(){return void 0!==this.value&&null!==this.value}getValue(){return this.value}setValue(e){if(this.validator&&!this.validator.test(e))throw new C("Invalid value '"+e+"'");this.value=e}getHardFailIfMissing(){return this.hardFailIfMissing}}class m extends c{constructor(e){super(e),this.name="SubstringError"}}class T{static substring(e,t,n){if(n>e.length||t<0||t>n)throw new m("Invalid substring indexes "+t+":"+n+" for string of length "+e.length);return e.substring(t,n)}}class I extends E{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{return f.encode(this.value)}catch(e){throw new l(e)}}decode(e){try{this.value=f.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{let n=d.decode(T.substring(e,t,t+12)),s=t+12;for(let t=0;t<n;t++)s="1"===e.charAt(s)?e.indexOf("11",e.indexOf("11",s+1)+2)+2:e.indexOf("11",s+1)+2;return T.substring(e,t,s)}catch(e){throw new m(e)}}getValue(){return[...super.getValue()]}setValue(e){super.setValue(Array.from(new Set(e)).sort(((e,t)=>e-t)))}}
1class b extends E{constructor(e,t,n=!0){super(n),this.bitStringLength=e,this.setValue(t)}encode(){try{return d.encode(this.value,this.bitStringLength)}catch(e){throw new l(e)}}decode(e){try{this.value=d.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+this.bitStringLength)}catch(e){throw new m(e)}}}class y{constructor(){this.fields=new Map}containsKey(e){return this.fields.has(e)}put(e,t){this.fields.set(e,t)}get(e){return this.fields.get(e)}getAll(){return new Map(this.fields)}reset(e){this.fields.clear(),e.getAll().forEach(((e,t)=>{this.fields.set(t,e)}))}}!function(e){e.ID="Id",e.VERSION="Version",e.SECTION_IDS="SectionIds"}(n||(n={}));const O=[n.ID,n.VERSION,n.SECTION_IDS];class _{constructor(){this.encodedString=null,this.dirty=!1,this.decoded=!0,this.fields=this.initializeFields()}validate(){}hasField(e){return this.fields.containsKey(e)}getFieldValue(e){if(this.decoded||(this.decodeSegment(this.encodedString,this.fields),this.dirty=!1,this.decoded=!0),this.fields.containsKey(e))return this.fields.get(e).getValue();throw new r("Invalid field: '"+e+"'")}setFieldValue(e,t){if(this.decoded||(this.decodeSegment(this.encodedString,this.fields),this.dirty=!1,this.decoded=!0),!this.fields.containsKey(e))throw new r(e+" not found");this.fields.get(e).setValue(t),this.dirty=!0}toObj(){let e={},t=this.getFieldNames();for(let n=0;n<t.length;n++){let s=t[n],o=this.getFieldValue(s);e[s]=o}return e}encode(){return(null==this.encodedString||0===this.encodedString.length||this.dirty)&&(this.validate(),this.encodedString=this.encodeSegment(this.fields),this.dirty=!1,this.decoded=!0),this.encodedString}decode(e){this.encodedString=e,this.dirty=!1,this.decoded=!1}}class w extends _{constructor(e){super(),this.base64UrlEncoder=g.getInstance(),this.bitStr
1ingEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return O}initializeFields(){let e=new y;return e.put(n.ID.toString(),new b(6,N.ID)),e.put(n.VERSION.toString(),new b(6,N.VERSION)),e.put(n.SECTION_IDS.toString(),new I([])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode HeaderV1CoreSegment '"+e+"'")}}}class N extends a{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return N.ID}getName(){return N.NAME}getVersion(){return N.VERSION}initializeSegments(){let e=[];return e.push(new w),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;e<t.length;e++)n.length>e&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;n<e.length;n++){let s=e[n];t.push(s.encode())}return t.join(".")}}var A;N.ID=3,N.VERSION=1,N.NAME="header",function(e){e.VERSION="Version",e.CREATED="Created",e.LAST_UPDATED="LastUpdated",e.CMP_ID="CmpId",e.CMP_VERSION="CmpVersion",e.CONSENT_SCREEN="ConsentScreen",e.CONSENT_LANGUAGE="ConsentLanguage",e.VENDOR_LIST_VERSION="VendorListVersion",e.POLICY_VERSION="PolicyVersion",e.IS_SERVICE_SPECIFIC="IsServiceSpecific",e.USE_NON_STANDARD_STACKS="UseNonStandardStacks",e.SPECIAL_FEATURE_OPTINS="SpecialFeatureOptins",e.PURPOSE_CONSENTS="PurposeConsents",e.PURPOSE_LEGITIMATE_INTERESTS="PurposeLegitimateInterests",e.PURPOSE_ONE_TREATMENT="PurposeOneTreatment",e.PUBLISHER_COUNTRY_CODE="PublisherCountryCode",e.VENDOR_CONSENTS="VendorConsents",e.VENDOR_LEGITIMATE_INTERESTS="VendorLegitimateInterests",e.PUBLISHER_RESTRICTIONS="PublisherRestrictions",e.PUBLISHER_PURPOSES_SEGMENT_TYPE="PublisherPurposesSegmentType",e.PUBLISHER_CONSENTS="PublisherConsents",e.PUBLISHER_LEGITIMATE_INTERESTS="PublisherLegitimateInterests",e.NUM_CUSTOM_PURPOSES="NumCustomPurposes",e.PUBLISHER_CUSTOM_CONSENTS="PublisherCustomConsents",e.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS="PublisherCustomLegitimateInterests",e.VENDORS_ALLOWED_SEGMENT_TYPE="VendorsAllowedSegmentType",e.VENDORS_ALLOWED="VendorsAllowed",e.VENDORS_DISCLOSED_SEGMENT_TYPE="VendorsDisclosedSegmentType",e.VENDORS_DISCLOSED="VendorsDisclosed"}(A||(A={}));const P=[A.VERSION,A.CREATED,A.LAST_UPDATED,A.CMP_ID,A.CMP_VERSION,A.CONSENT_SCREEN,A.CONSENT_LANGUAGE,A.VENDOR_LIST_VERSION,A.POLICY_VERSION,A.IS_SERVICE_SPECIFIC,A.USE_NON_STANDARD_STACKS,A.SPECIAL_FEATURE_OPTINS,A.PURPOSE_CONSENTS,A.PURPOSE_LEGITIMATE_INTERESTS,A.PURPOSE_ONE_TREATMENT,A.PUBLISHER_COUNTRY_CODE,A.VENDOR_CONSENTS,A.VENDOR_LEGITIMATE_INTERESTS,A.PUBLISHER_RESTRICTIONS],D=[A.PUBLISHER_PURPOSES_SEGMENT_TYPE,A.PUBLISHER_CONSENTS,A.PUBLISHER_LEGITIMATE_INTERESTS,A.NUM_CUSTOM_PURPOSES,A.PUBLISHER_CUSTOM_CONSENTS,A.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS],v=[A.VENDORS_ALLOWED_SEGMENT_TYPE,A.VENDORS_ALLOWED],k=[A.VENDORS_DISCLOSED_SEGMENT_TYPE,A.VENDORS_DISCLOSED];class R extends u{constructor(){super()}static getInstance(){return this.instance}pad(e){for(;e.length%24>0;)e+="0";return e}}R.instance=new R;class V{static encode(e){e.sort(((e,t)=>e-t));let t=[],n=0;for(;n<e.length;){let s=n;for(;s<e.length-1&&e[s]+1===e[s+1];)s++;t.push(e.slice(n,s+1)),n=s+1}let s=d.encode(t.length,12);for(let e=0;e<t.length;e++)1===t[e].length?s+="0"+d.encode(t[e][0],16):s+="1"+d.encode(t[e][0],16)+d.encode(t[e][t[e].length-1],16);return s}static decode(e){if(!/^[0-1]*$/.test(e)||e.length<12)throw new c("Undecodable FixedIntegerRange '"+e+"'");let t=[],n=d.decode(e.substring(0,12)),s=12;for(let o=0;o<n;o++){let n=S.decode(e.substring(s,s+1));if(s++,!0===n){let n=d.decode(e.substring(s,s+16));s+=16;let o=d.decode(e.substring(s,s+16));s+=16;for(let e=n;e<=o;e++)t.push(e)}else{let n=d.decode(e.substring(s,s+16));t.push(n),s+=16}}return t}}class U extends E{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{return V.encode(this.value)}catch(e){throw new l(e)}}decode(e){try{this.value=V.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{let n=d.decode(T.substring(e,t,t+12)),s=t+12;for(let t=0;t<n;t++)"1"===e.charAt(s)?s+=33:s+=17;
1return T.substring(e,t,s)}catch(e){throw new m(e)}}getValue(){return[...super.getValue()]}setValue(e){super.setValue(Array.from(new Set(e)).sort(((e,t)=>e-t)))}}class L{constructor(e,t,n){this.key=e,this.type=t,this.ids=n}getKey(){return this.key}setKey(e){this.key=e}getType(){return this.type}setType(e){this.type=e}getIds(){return this.ids}setIds(e){this.ids=e}}class M extends E{constructor(e,t,n,s=!0){super(s),this.keyBitStringLength=e,this.typeBitStringLength=t,this.setValue(n)}encode(){try{let e=this.value,t="";t+=d.encode(e.length,12);for(let n=0;n<e.length;n++){let s=e[n];t+=d.encode(s.getKey(),this.keyBitStringLength),t+=d.encode(s.getType(),this.typeBitStringLength),t+=V.encode(s.getIds())}return t}catch(e){throw new l(e)}}decode(e){try{let t=[],n=d.decode(T.substring(e,0,12)),s=12;for(let o=0;o<n;o++){let n=d.decode(T.substring(e,s,s+this.keyBitStringLength));s+=this.keyBitStringLength;let o=d.decode(T.substring(e,s,s+this.typeBitStringLength));s+=this.typeBitStringLength;let i=new U([]).substring(e,s),r=V.decode(i);s+=i.length,t.push(new L(n,o,r))}this.value=t}catch(e){throw new c(e)}}substring(e,t){try{let n="";n+=T.substring(e,t,t+12);let s=d.decode(n.toString()),o=t+n.length;for(let t=0;t<s;t++){let t=T.substring(e,o,o+this.keyBitStringLength);o+=t.length,n+=t;let s=T.substring(e,o,o+this.typeBitStringLength);o+=s.length,n+=s;let i=new U([]).substring(e,o);o+=i.length,n+=i}return n}catch(e){throw new m(e)}}}class x extends E{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{return S.encode(this.value)}catch(e){throw new l(e)}}decode(e){try{this.value=S.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+1)}catch(e){throw new m(e)}}}class G{static encode(e){return e?d.encode(Math.round(e.getTime()/100),36):d.encode(0,36)}static decode(e){if(!/^[0-1]*$/.test(e)||36!==e.length)throw new c("Undecodable Datetime '"+e+"'");return new Date(100*d.decode(e))}}class F extends E{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{return G.encode(this.value)}catch(e){throw new l(e)}}decode(e){try{this.value=G.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+36)}catch(e){throw new m(e)}}}class B{static encode(e,t){if(e.length>t)throw new l("Too many values '"+e.length+"'");let n="";for(let t=0;t<e.length;t++)n+=S.encode(e[t]);for(;n.length<t;)n+="0";return n}static decode(e){if(!/^[0-1]*$/.test(e))throw new c("Undecodable FixedBitfield '"+e+"'");let t=[];for(let n=0;n<e.length;n++)t.push(S.decode(e.substring(n,n+1)));return t}}class W extends E{constructor(e,t=!0){super(t),this.numElements=e.length,this.setValue(e)}encode(){try{return B.encode(this.value,this.numElements)}catch(e){throw new l(e)}}decode(e){try{this.value=B.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+this.numElements)}catch(e){throw new m(e)}}getValue(){return[...super.getValue()]}setValue(e){let t=[...e];for(let e=t.length;e<this.numElements;e++)t.push(!1);t.length>this.numElements&&(t=t.slice(0,this.numElements)),super.setValue(t)}}class z{static encode(e,t){for(;e.length<t;)e+=" ";let n="";for(let t=0;t<e.length;t++){let s=e.charCodeAt(t);if(32===s)n+=d.encode(63,6);else{if(!(s>=65))throw new l("Unencodable FixedString '"+e+"'");n+=d.encode(e.charCodeAt(t)-65,6)}}return n}static decode(e){if(!/^[0-1]*$/.test(e)||e.length%6!=0)throw new c("Undecodable FixedString '"+e+"'");let t="";for(let n=0;n<e.length;n+=6){let s=d.decode(e.substring(n,n+6));t+=63===s?" ":String.fromCharCode(s+65)}return t.trim()}}
1class H extends E{constructor(e,t,n=!0){super(n),this.stringLength=e,this.setValue(t)}encode(){try{return z.encode(this.value,this.stringLength)}catch(e){throw new l(e)}}decode(e){try{this.value=z.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+6*this.stringLength)}catch(e){throw new m(e)}}}class j extends E{constructor(e,t=!0){super(t),this.setValue(e)}encode(){try{let e=this.value.length>0?this.value[this.value.length-1]:0,t=V.encode(this.value),n=t.length,s=e;if(n<=s)return d.encode(e,16)+"1"+t;{let t=[],n=0;for(let s=0;s<e;s++)s===this.value[n]-1?(t[s]=!0,n++):t[s]=!1;return d.encode(e,16)+"0"+B.encode(t,s)}}catch(e){throw new l(e)}}decode(e){try{if("1"===e.charAt(16))this.value=V.decode(e.substring(17));else{let t=[],n=B.decode(e.substring(17));for(let e=0;e<n.length;e++)!0===n[e]&&t.push(e+1);this.value=t}}catch(e){throw new c(e)}}substring(e,t){try{let n=d.decode(T.substring(e,t,t+16));return"1"===e.charAt(t+16)?T.substring(e,t,t+17)+new U([]).substring(e,t+17):T.substring(e,t,t+17+n)}catch(e){throw new m(e)}}getValue(){return[...super.getValue()]}setValue(e){super.setValue(Array.from(new Set(e)).sort(((e,t)=>e-t)))}}class q extends _{constructor(e){super(),this.base64UrlEncoder=R.getInstance(),this.bitStr
1ingEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return P}initializeFields(){let e=new Date,t=new y;return t.put(A.VERSION.toString(),new b(6,X.VERSION)),t.put(A.CREATED.toString(),new F(e)),t.put(A.LAST_UPDATED.toString(),new F(e)),t.put(A.CMP_ID.toString(),new b(12,0)),t.put(A.CMP_VERSION.toString(),new b(12,0)),t.put(A.CONSENT_SCREEN.toString(),new b(6,0)),t.put(A.CONSENT_LANGUAGE.toString(),new H(2,"EN")),t.put(A.VENDOR_LIST_VERSION.toString(),new b(12,0)),t.put(A.POLICY_VERSION.toString(),new b(6,2)),t.put(A.IS_SERVICE_SPECIFIC.toString(),new x(!1)),t.put(A.USE_NON_STANDARD_STACKS.toString(),new x(!1)),t.put(A.SPECIAL_FEATURE_OPTINS.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(A.PURPOSE_CONSENTS.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(A.PURPOSE_LEGITIMATE_INTERESTS.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(A.PURPOSE_ONE_TREATMENT.toString(),new x(!1)),t.put(A.PUBLISHER_COUNTRY_CODE.toString(),new H(2,"AA")),t.put(A.VENDOR_CONSENTS.toString(),new j([])),t.put(A.VENDOR_LEGITIMATE_INTERESTS.toString(),new j([])),t.put(A.PUBLISHER_RESTRICTIONS.toString(),new M(6,2,[],!1)),t}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode TcfEuV2CoreSegment '"+e+"'")}}}class Y extends E{constructor(e,t,n=!0){super(n),this.getLength=e,this.setValue(t)}encode(){try{return B.encode(this.value,this.getLength())}catch(e){throw new l(e)}}decode(e){try{this.value=B.decode(e)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+this.getLength())}catch(e){throw new m(e)}}getValue(){return[...super.getValue()]}setValue(e){let t=this.getLength(),n=[...e];for(let e=n.length;e<t;e++)n.push(!1);n.length>t&&(n=n.slice(0,t)),super.setValue([...n])}}class K extends _{constructor(e){super(),this.base64UrlEncoder=R.getInstance(),this.bitStr
1ingEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return D}initializeFields(){let e=new y;e.put(A.PUBLISHER_PURPOSES_SEGMENT_TYPE.toString(),new b(3,3)),e.put(A.PUBLISHER_CONSENTS.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),e.put(A.PUBLISHER_LEGITIMATE_INTERESTS.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));let t=new b(6,0);return e.put(A.NUM_CUSTOM_PURPOSES.toString(),t),e.put(A.PUBLISHER_CUSTOM_CONSENTS.toString(),new Y((()=>t.getValue()),[])),e.put(A.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS.toString(),new Y((()=>t.getValue()),[])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode TcfEuV2PublisherPurposesSegment '"+e+"'")}}}class Q extends _{constructor(e){super(),this.base64UrlEncoder=R.getInstance(),this.bitStr
1ingEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return v}initializeFields(){let e=new y;return e.put(A.VENDORS_ALLOWED_SEGMENT_TYPE.toString(),new b(3,2)),e.put(A.VENDORS_ALLOWED.toString(),new j([])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode TcfEuV2VendorsAllowedSegment '"+e+"'")}}}class J extends _{constructor(e){super(),this.base64UrlEncoder=R.getInstance(),this.bitStringEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return k}initializeFields(){let e=new y;return e.put(A.VENDORS_DISCLOSED_SEGMENT_TYPE.toString(),new b(3,1)),e.put(A.VENDORS_DISCLOSED.toString(),new j([])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode TcfEuV2VendorsDisclosedSegment '"+e+"'")}}}class X extends a{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return X.ID}getName(){return X.NAME}getVersion(){return X.VERSION}initializeSegments(){let e=[];return e.push(new q),e.push(new K),e.push(new Q),e.push(new J),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;e<n.length;e++){let s=n[e];if(0!==s.length){let o=s.charAt(0);if(o>="A"&&o<="H")t[0].decode(n[e]);else if(o>="I"&&o<="P")t[3].decode(n[e]);else if(o>="Q"&&o<="X")t[2].decode(n[e]);else{if(!(o>="Y"&&o<="Z"||o>="a"&&o<="f"))throw new c("Unable to decode TcfEuV2 segment '"+s+"'");t[1].decode(n[e])}}}}return t}encodeSection(e){let t=[];if(e.length>=1){t.push(e[0].encode()),this.getFieldValue(A.IS_SERVICE_SPECIFIC)?e.length>=2&&t.push(e[1].encode()):e.length>=2&&(t.push(e[2].encode()),e.length>=3&&t.push(e[3].encode()))}return t.join(".")}setFieldValue(e,t){if(e==A.PURPOSE_LEGITIMATE_INTERESTS&&(t[0]=t[2]=t[3]=t[4]=t[5]=!1),e==A.CREATED)super.setFieldValue(A.LAST_UPDATED,t);else if(e==A.LAST_UPDATED)super.setFieldValue(A.CREATED,t);else{const e=new Date;super.setFieldValue(A.CREATED,e),super.setFieldValue(A.LAST_UPDATED,e)}super.setFieldValue(e,t)}}var $;X.ID=2,X.VERSION=2,X.NAME="tcfeuv2",function(e){e.VERSION="Version",e.CREATED="Created",e.LAST_UPDATED="LastUpdated",e.CMP_ID="CmpId",e.CMP_VERSION="CmpVersion",e.CONSENT_SCREEN="ConsentScreen",e.CONSENT_LANGUAGE="ConsentLanguage",e.VENDOR_LIST_VERSION="VendorListVersion",e.TCF_POLICY_VERSION="TcfPolicyVersion",e.USE_NON_STANDARD_STACKS="UseNonStandardStacks",e.SPECIAL_FEATURE_EXPRESS_CONSENT="SpecialFeatureExpressConsent",e.PUB_PURPOSES_SEGMENT_TYPE="PubPurposesSegmentType",e.PURPOSES_EXPRESS_CONSENT="PurposesExpressConsent",e.PURPOSES_IMPLIED_CONSENT="PurposesImpliedConsent",e.VENDOR_EXPRESS_CONSENT="VendorExpressConsent",e.VENDOR_IMPLIED_CONSENT="VendorImpliedConsent",e.PUB_RESTRICTIONS="PubRestrictions",e.PUB_PURPOSES_EXPRESS_CONSENT="PubPurposesExpressConsent",e.PUB_PURPOSES_IMPLIED_CONSENT="PubPurposesImpliedConsent",e.NUM_CUSTOM_PURPOSES="NumCustomPurposes",e.CUSTOM_PURPOSES_EXPRESS_CONSENT="CustomPurposesExpressConsent",e.CUSTOM_PURPOSES_IMPLIED_CONSENT="CustomPurposesImpliedConsent",e.DISCLOSED_VENDORS_SEGMENT_TYPE="DisclosedVendorsSegmentType",e.DISCLOSED_VENDORS="DisclosedVendors"}($||($={}));const Z=[$.VERSION,$.CREATED,$.LAST_UPDATED,$.CMP_ID,$.CMP_VERSION,$.CONSENT_SCREEN,$.CONSENT_LANGUAGE,$.VENDOR_LIST_VERSION,$.TCF_POLICY_VERSION,$.USE_NON_STANDARD_STACKS,$.SPECIAL_FEATURE_EXPRESS_CONSENT,$.PURPOSES_EXPRESS_CONSENT,$.PURPOSES_IMPLIED_CONSENT,$.VENDOR_EXPRESS_CONSENT,$.VENDOR_IMPLIED_CONSENT,$.PUB_RESTRICTIONS],ee=[$.PUB_PURPOSES_SEGMENT_TYPE,$.PUB_PURPOSES_EXPRESS_CONSENT,$.PUB_PURPOSES_IMPLIED_CONSENT,$.NUM_CUSTOM_PURPOSES,$.CUSTOM_PURPOSES_EXPRESS_CONSENT,$.CUSTOM_PURPOSES_IMPLIED_CONSENT],te=[$.DISCLOSED_VENDORS_SEGMENT_TYPE,$.DISCLOSED_VENDORS];
1class ne extends _{constructor(e){super(),this.base64UrlEncoder=g.getInstance(),this.bitStringEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return Z}initializeFields(){let e=new Date,t=new y;return t.put($.VERSION.toString(),new b(6,ie.VERSION)),t.put($.CREATED.toString(),new F(e)),t.put($.LAST_UPDATED.toString(),new F(e)),t.put($.CMP_ID.toString(),new b(12,0)),t.put($.CMP_VERSION.toString(),new b(12,0)),t.put($.CONSENT_SCREEN.toString(),new b(6,0)),t.put($.CONSENT_LANGUAGE.toString(),new H(2,"EN")),t.put($.VENDOR_LIST_VERSION.toString(),new b(12,0)),t.put($.TCF_POLICY_VERSION.toString(),new b(6,2)),t.put($.USE_NON_STANDARD_STACKS.toString(),new x(!1)),t.put($.SPECIAL_FEATURE_EXPRESS_CONSENT.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put($.PURPOSES_EXPRESS_CONSENT.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put($.PURPOSES_IMPLIED_CONSENT.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put($.VENDOR_EXPRESS_CONSENT.toString(),new j([])),t.put($.VENDOR_IMPLIED_CONSENT.toString(),new j([])),t.put($.PUB_RESTRICTIONS.toString(),new M(6,2,[],!1)),t}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode TcfCaV1CoreSegment '"+e+"'")}}}class se extends _{constructor(e){super(),this.base64UrlEncoder=g.getInstance(),this.bitStr
1ingEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return ee}initializeFields(){let e=new y;e.put($.PUB_PURPOSES_SEGMENT_TYPE.toString(),new b(3,3)),e.put($.PUB_PURPOSES_EXPRESS_CONSENT.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),e.put($.PUB_PURPOSES_IMPLIED_CONSENT.toString(),new W([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));let t=new b(6,0);return e.put($.NUM_CUSTOM_PURPOSES.toString(),t),e.put($.CUSTOM_PURPOSES_EXPRESS_CONSENT.toString(),new Y((()=>t.getValue()),[])),e.put($.CUSTOM_PURPOSES_IMPLIED_CONSENT.toString(),new Y((()=>t.getValue()),[])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode TcfCaV1PublisherPurposesSegment '"+e+"'")}}}class oe extends _{constructor(e){super(),this.base64UrlEncoder=R.getInstance(),this.bitStr
1ingEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return te}initializeFields(){let e=new y;return e.put($.DISCLOSED_VENDORS_SEGMENT_TYPE.toString(),new b(3,1)),e.put($.DISCLOSED_VENDORS.toString(),new j([])),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode HeaderV1CoreSegment '"+e+"'")}}}class ie extends a{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return ie.ID}getName(){return ie.NAME}getVersion(){return ie.VERSION}initializeSegments(){let e=[];return e.push(new ne),e.push(new se),e.push(new oe),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;e<n.length;e++){let s=n[e];if(0!==s.length){let o=s.charAt(0);if(o>="A"&&o<="H")t[0].decode(n[e]);else if(o>="I"&&o<="P")t[2].decode(n[e]);else{if(!(o>="Y"&&o<="Z"||o>="a"&&o<="f"))throw new c("Unable to decode TcfCaV1 segment '"+s+"'");t[1].decode(n[e])}}}}return t}encodeSection(e){let t=[];return t.push(e[0].encode()),t.push(e[1].encode()),this.getFieldValue($.DISCLOSED_VENDORS).length>0&&t.push(e[2].encode()),t.join(".")}setFieldValue(e,t){if(super.setFieldValue(e,t),e!==$.CREATED&&e!==$.LAST_UPDATED){let e=new Date;super.setFieldValue($.CREATED,e),super.setFieldValue($.LAST_UPDATED,e)}}}ie.ID=5,ie.VERSION=1,ie.NAME="tcfcav1";class re{constructor(e,t){this.value=null,this.validator=t||new class{test(e){return!0}},this.setValue(e)}hasValue(){return null!=this.value}getValue(){return this.value}setValue(e){e?this.value=e.charAt(0):e=null}}class ae{constructor(e,t){this.value=null,this.validator=t||new class{test(e){return!0}},this.setValue(e)}hasValue(){return null!=this.value}getValue(){return this.value}setValue(e){this.value=e}}class ce{constructor(){this.fields=new Map}containsKey(e){return this.fields.has(e)}put(e,t){this.fields.set(e,t)}get(e){return this.fields.get(e)}getAll(){return new Map(this.fields)}reset(e){this.fields.clear(),e.getAll().forEach(((e,t)=>{this.fields.set(t,e)}))}}var le;!function(e){e.VERSION="Version",e.NOTICE="Notice",e.OPT_OUT_SALE="OptOutSale",e.LSPA_COVERED="LspaCovered"}(le||(le={}));const de=[le.VERSION,le.NOTICE,le.OPT_OUT_SALE,le.LSPA_COVERED];class ue extends _{constructor(e){super(),e&&this.decode(e)}getFieldNames(){return de}initializeFields(){const e=new class{test(e){return"-"===e||"Y"===e||"N"===e}};let t=new ce;return t.put(le.VERSION,new ae(ge.VERSION)),t.put(le.NOTICE,new re("-",e)),t.put(le.OPT_OUT_SALE,new re("-",e)),t.put(le.LSPA_COVERED,new re("-",e)),t}encodeSegment(e){let t="";return t+=e.get(le.VERSION).getValue(),t+=e.get(le.NOTICE).getValue(),t+=e.get(le.OPT_OUT_SALE).getValue(),t+=e.get(le.LSPA_COVERED).getValue(),t}decodeSegment(e,t){if(null==e||4!=e.length)throw new c("Unable to decode UspV1CoreSegment '"+e+"'");try{t.get(le.VERSION).setValue(parseInt(e.substring(0,1))),t.get(le.NOTICE).setValue(e.charAt(1)),t.get(le.OPT_OUT_SALE).setValue(e.charAt(2)),t.get(le.LSPA_COVERED).setValue(e.charAt(3))}catch(t){throw new c("Unable to decode UspV1CoreSegment '"+e+"'")}}}class ge extends a{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return ge.ID}getName(){return ge.NAME}getVersion(){return ge.VERSION}initializeSegments(){let e=[];return e.push(new ue),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");for(let e=0;e<t.length;e++)n.length>e&&t[e].decode(n[e])}return t}encodeSection(e){let t=[];for(let n=0;n<e.length;n++){let s=e[n];t.push(s.encode())}return t.join(".")}}var pe;ge.ID=6,ge.VERSION=1,ge.NAME="uspv1",function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.SHARING_OPT_OUT_NOTICE="SharingOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE="SensitiveDataProcessingOptOutNotice",e.SENSITIVE_DATA_LIMIT_USE_NOTICE="SensitiveDataLimitUseNotice",e.SALE_OPT_OUT="SaleOptOut",e.SHARING_OPT_OUT="SharingOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.PERSONAL_DATA_CONSENTS="PersonalDataConsents",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode",e.GPC_SEGMENT_TYPE="GpcSegmentType",e.GPC_SEGMENT_INCLUDED="GpcSegmentIncluded",e.GPC="Gpc"}(pe||(pe={}));const he=[pe.VERSION,pe.SHARING_NOTICE,pe.SALE_OPT_OUT_NOTICE,pe.SHARING_OPT_OUT_NOTICE,pe.TARGETED_ADVERTISING_OPT_OUT_NOTICE,pe.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE,pe.SENSITIVE_DATA_LIMIT_USE_NOTICE,pe.SALE_OPT_OUT,pe.SHARING_OPT_OUT,pe.TARGETED_ADVERTISING_OPT_OUT,pe.SENSITIVE_DATA_PROCESSING,pe.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,pe.PERSONAL_DATA_CONSENTS,pe.MSPA_COVERED_TRANSACTION,pe.MSPA_OPT_OUT_OPTION_MODE,pe.MSPA_SERVICE_PROVIDER_MODE],Se=[pe.GPC_SEGMENT_TYPE,pe.GPC];class fe{static encode(e,t,n){if(e.length>n)throw new l("Too many values '"+e.length+"'");let s="";for(let n=0;n<e.length;n++)s+=d.encode(e[n],t);for(;s.length<t*n;)s+="0";return s}static decode(e,t,n){if(!/^[0-1]*$/.test(e))throw new c("Undecodable FixedInteger '"+e+"'");if(e.length>t*n)throw new c("Undecodable FixedIntegerList '"+e+"'");if(e.length%t!=0)throw new c("Undecodable FixedIntegerList '"+e+"'");for(;e.length<t*n;)e+="0";e.length>t*n&&(e=e.substring(0,t*n));let s=[];for(let n=0;n<e.length;n+=t)s.push(d.decode(e.substring(n,n+t)));for(;s.length<n;)s.push(0);return s}}
1class Ce extends E{constructor(e,t,n=!0){super(n),this.elementBitStringLength=e,this.numElements=t.length,this.setValue(t)}encode(){try{return fe.encode(this.value,this.elementBitStringLength,this.numElements)}catch(e){throw new l(e)}}decode(e){try{this.value=fe.decode(e,this.elementBitStringLength,this.numElements)}catch(e){throw new c(e)}}substring(e,t){try{return T.substring(e,t,t+this.elementBitStringLength*this.numElements)}catch(e){throw new m(e)}}getValue(){return[...super.getValue()]}setValue(e){let t=[...e];for(let e=t.length;e<this.numElements;e++)t.push(0);t.length>this.numElements&&(t=t.slice(0,this.numElements)),super.setValue(t)}}class Ee extends _{constructor(e){super(),this.base64UrlEncoder=g.getInstance(),this.bitStringEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return he}initializeFields(){const e=new class{test(e){return e>=0&&e<=2}},t=new class{test(e){return e>=1&&e<=2}},n=new class{test(e){for(let t=0;t<e.length;t++){let n=e[t];if(n<0||n>2)return!1}return!0}};let s=new y;return s.put(pe.VERSION.toString(),new b(6,Te.VERSION)),s.put(pe.SHARING_NOTICE.toString(),new b(2,0).withValidator(e)),s.put(pe.SALE_OPT_OUT_NOTICE.toString(),new b(2,0).withValidator(e)),s.put(pe.SHARING_OPT_OUT_NOTICE.toString(),new b(2,0).withValidator(e)),s.put(pe.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new b(2,0).withValidator(e)),s.put(pe.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new b(2,0).withValidator(e)),s.put(pe.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new b(2,0).withValidator(e)),s.put(pe.SALE_OPT_OUT.toString(),new b(2,0).withValidator(e)),s.put(pe.SHARING_OPT_OUT.toString(),new b(2,0).withValidator(e)),s.put(pe.TARGETED_ADVERTISING_OPT_OUT.toString(),new b(2,0).withValidator(e)),s.put(pe.SENSITIVE_DATA_PROCESSING.toString(),new Ce(2,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),s.put(pe.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new Ce(2,[0,0,0]).withValidator(n)),s.put(pe.PERSONAL_DATA_CONSENTS.toString(),new b(2,0).withValidator(e)),s.put(pe.MSPA_COVERED_TRANSACTION.toString(),new b(2,1).withValidator(t)),s.put(pe.MSPA_OPT_OUT_OPTION_MODE.toString(),new b(2,0).withValidator(e)),s.put(pe.MSPA_SERVICE_PROVIDER_MODE.toString(),new b(2,0).withValidator(e)),s}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);66==n.length&&(n=n.substring(0,48)+"00000000"+n.substring(48,52)+"00"+n.substring(52,62)),this.bitStr
1ingEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode UsNatCoreSegment '"+e+"'")}}}class me extends _{constructor(e){super(),this.base64UrlEncoder=g.getInstance(),this.bitStringEncoder=p.getInstance(),e&&this.decode(e)}getFieldNames(){return Se}initializeFields(){let e=new y;return e.put(pe.GPC_SEGMENT_TYPE.toString(),new b(2,1)),e.put(pe.GPC_SEGMENT_INCLUDED.toString(),new x(!0)),e.put(pe.GPC.toString(),new x(!1)),e}encodeSegment(e){let t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}decodeSegment(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{let n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(t){throw new c("Unable to decode UsNatGpcSegment '"+e+"'")}}}class Te extends a{constructor(e){super(),e&&e.length>0&&this.decode(e)}getId(){return Te.ID}getName(){return Te.NAME}getVersion(){return Te.VERSION}initializeSegments(){let e=[];return e.push(new Ee),e.push(new me),e}decodeSection(e){let t=this.initializeSegments();if(null!=e&&0!==e.length){let n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(pe.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(pe.GPC_SEGMENT_INCLUDED,!1)}return t}encodeSection(e){let t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(pe.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}Te.ID=7,Te.VERSION=1,Te.NAME="usnat";class Ie{}Ie.SECTION_ID_NAME_MAP=new Map([[X.ID,X.NAME],[ie.ID,ie.NAME],[ge.ID,ge.NAME],[Te.ID,Te.NAME]]),Ie.SECTION_ORDER=[X.NAME,ie.NAME,ge.NAME,Te.NAME];class be{constructor(e){this.sections=new Map,this.encodedString=null,this.decoded=!0,this.dirty=!1,e&&this.decode(e)}setFieldValue(e,t,n){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let s=null;if(this.sections.has(e)?s=this.sections.get(e):e===ie.NAME?(s=new ie,this.sections.set(ie.NAME,s)):e===X.NAME?(s=new X,this.sections.set(X.NAME,s)):e===ge.NAME?(s=new ge,this.sections.set(ge.NAME,s)):e===Te.NAME&&(s=new Te,this.sections.set(Te.NAME,s)),!s)throw new r(e+"."+t+" not found");s.setFieldValue(t,n),this.dirty=!0,s.setIsDirty(!0)}setFieldValueBySectionId(e,t,n){this.setFieldValue(Ie.SECTION_ID_NAME_MAP.get(e),t,n)}getFieldValue(e,t){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)?this.sections.get(e).getFieldValue(t):null}getFieldValueBySectionId(e,t){return this.getFieldValue(Ie.SECTION_ID_NAME_MAP.get(e),t)}hasField(e,t){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),!!this.sections.has(e)&&this.sections.get(e).hasField(t)}hasFieldBySectionId(e,t){return this.hasField(Ie.SECTION_ID_NAME_MAP.get(e),t)}hasSection(e){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)}hasSectionId(e){return this.hasSection(Ie.SECTION_ID_NAME_MAP.get(e))}deleteSection(e){!this.decoded&&null!=this.encodedString&&this.encodedString.length>0&&this.decode(this.encodedString),this.sections.delete(e),this.dirty=!0}deleteSectionById(e){this.deleteSection(Ie.SECTION_ID_NAME_MAP.get(e))}clear(){this.sections.clear(),this.encodedString="DBAA",this.decoded=!1,this.dirty=!1}getHeader(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let e=new N;return e.setFieldValue("SectionIds",this.getSectionIds()),e.toObj()}getSection(e){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)?this.sections.get(e).toObj():null}getSectionIds(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let e=[];for(let t=0;t<Ie.SECTION_ORDER.length;t++){let n=Ie.SECTION_ORDER[t];if(this.sections.has(n)){let t=this.sections.get(n);e.push(t.getId())}}return e}encodeModel(e){let t=[],n=[];for(let s=0;s<Ie.SECTION_ORDER.length;s++){let o=Ie.SECTION_ORDER[s];if(e.has(o)){let s=e.get(o);s.setIsDirty(!0),t.push(s.encode()),n.push(s.getId())}}let s=new N;return s.setFieldValue("SectionIds",n),t.unshift(s.encode()),t.join("~")}decodeModel(e){if(!e||0==e.length||e.startsWith("DB")){let t=e.split("~"),n=new Map;if(t[0].startsWith("D")){let s=new N(t[0]).getFieldValue("SectionIds");if(s.length!==t.length-1)throw new c("Unable to decode '"+e+"'. The number of sections does not match the number of sections defined in the header.");for(let o=0;o<s.length;o++){if(""===t[o+1].trim())throw new c("Unable to decode '"+e+"'. Section "+(o+1)+" is blank.");
1if(s[o]===ie.ID){let e=new ie(t[o+1]);n.set(ie.NAME,e)}else if(s[o]===X.ID){let e=new X(t[o+1]);n.set(X.NAME,e)}else if(s[o]===ge.ID){let e=new ge(t[o+1]);n.set(ge.NAME,e)}else if(s[o]===Te.ID){let e=new Te(t[o+1]);n.set(Te.NAME,e)}}}return n}if(e.startsWith("C")){let t=new Map,s=new X(e);return t.set(X.NAME,s),(new N).setFieldValue(n.SECTION_IDS,[2]),t.set(N.NAME,s),t}throw new c("Unable to decode '"+e+"'")}encodeSection(e){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)?this.sections.get(e).encode():null}encodeSectionById(e){return this.encodeSection(Ie.SECTION_ID_NAME_MAP.get(e))}decodeSection(e,t){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let n=null;this.sections.has(e)?n=this.sections.get(e):e===ie.NAME?(n=new ie,this.sections.set(ie.NAME,n)):e===X.NAME?(n=new X,this.sections.set(X.NAME,n)):e===ge.NAME?(n=new ge,this.sections.set(ge.NAME,n)):e===Te.NAME&&(n=new Te,this.sections.set(Te.NAME,n)),n&&(n.decode(t),this.dirty=!0)}decodeSectionById(e,t){this.decodeSection(Ie.SECTION_ID_NAME_MAP.get(e),t)}toObject(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);let e={};for(let t=0;t<Ie.SECTION_ORDER.length;t++){let n=Ie.SECTION_ORDER[t];this.sections.has(n)&&(e[n]=this.sections.get(n).toObj())}return e}encode(){return(null==this.encodedString||0===this.encodedString.length||this.dirty)&&(this.encodedString=this.encodeModel(this.sections),this.dirty=!1,this.decoded=!0),this.encodedString}decode(e){this.encodedString=e,this.dirty=!1,this.decoded=!1}}var ye,Oe,_e,we,Ne,Ae,Pe,De;!function(e){e.NOT_READY="not ready",e.READY="ready"}(ye||(ye={}));class ve{constructor(){this.gppVersion="1.1",this.supportedAPIs=[],this.eventQueue=new i(this),this.cmpStatus=e.LOADING,this.cmpDisplayStatus=t.HIDDEN,this.signalStatus=ye.NOT_READY,this.applicableSections=[],this.gppModel=new be}reset(){this.eventQueue.clear(),this.cmpStatus=e.LOADING,this.cmpDisplayStatus=t.HIDDEN,this.signalStatus=ye.NOT_READY,this.applicableSections=[],this.supportedAPIs=[],this.gppModel=new be,delete this.cmpId,delete this.cmpVersion,delete this.eventStatus}}!function(e){e.ADD_EVENT_LISTENER="addEventListener",e.GET_FIELD="getField",e.GET_SECTION="getSection",e.HAS_SECTION="hasSection",e.PING="ping",e.REMOVE_EVENT_LISTENER="removeEventListener"}(Oe||(Oe={}));class ke{constructor(e,t,n){this.success=!0,this.cmpApiContext=e,Object.assign(this,{callback:t,parameter:n})}execute(){try{return this.respond()}catch(e){return this.invokeCallback(null),null}}invokeCallback(e){const t=null!==e;this.callback&&this.callback(e,t)}}class Re{}_e=Oe.ADD_EVENT_LISTENER,we=Oe.GET_FIELD,Ne=Oe.GET_SECTION,Ae=Oe.HAS_SECTION,Pe=Oe.PING,De=Oe.REMOVE_EVENT_LISTENER,Re[_e]=class extends ke{respond(){let e=this.cmpApiContext.eventQueue.add({callback:this.callback,parameter:this.parameter}),t=new s("listenerRegistered",e,!0,new o(this.cmpApiContext));this.invokeCallback(t)}},Re[we]=class extends ke{respond(){if(!this.parameter||0===this.parameter.length)throw new Error("<section>.<field> parameter required");let e=this.parameter.split(".");if(2!=e.length)throw new Error("Field name must be in the format <section>.<fieldName>");let t=e[0],n=e[1],s=null;"tcfeuv2"!=this.parameter&&(s=this.cmpApiContext.gppModel.getFieldValue(t,n)),this.invokeCallback(s)}},Re[Ne]=class extends ke{respond(){if(!this.parameter||0===this.parameter.length)throw new Error("<section> parameter required");let e=null;"tcfeuv2"!=this.parameter&&this.cmpApiContext.gppModel.hasSection(this.parameter)&&(e=this.cmpApiContext.gppModel.getSection(this.parameter)),this.invokeCallback(e)}},Re[Ae]=class extends ke{respond(){if(!this.parameter||0===this.parameter.length)throw new Error("<section>[.version] parameter required");let e=this.cmpApiContext.gppModel.hasSection(this.parameter);this.invokeCallback(e)}},Re[Pe]=class extends ke{respond(){let e=new o(this.cmpApiContext);this.invokeCallback(e)}},Re[De]=class extends ke{respond(){let e=this.parameter,t=this.cmpApiContext.eventQueue.remove(e),n=new s("listenerRemoved",e,t,new o(this.cmpApiContext));this.invokeCallback(n)}};class Ve{constructor(e,t){if(this.cmpApiContext=e,t){let e=Oe.ADD_EVENT_LISTENER;if(null==t?void 0:t[e])throw new Error(`Built-In Custom Commmand for ${e} not allowed`);
1if(e=Oe.REMOVE_EVENT_LISTENER,null==t?void 0:t[e])throw new Error(`Built-In Custom Commmand for ${e} not allowed`);this.customCommands=t}try{this.callQueue=window.__gpp()||[]}catch(e){this.callQueue=[]}finally{window.__gpp=this.apiCall.bind(this),this.purgeQueuedCalls()}}apiCall(e,t,n,s){if("string"!=typeof e)t(null,!1);else{if("events"===e)return this.cmpApiContext.eventQueue.events();if(t&&"function"!=typeof t)throw new Error("invalid callback function");this.isCustomCommand(e)?this.customCommands[e](t,n):this.isBuiltInCommand(e)?new Re[e](this.cmpApiContext,t,n).execute():t&&t(null,!1)}}purgeQueuedCalls(){const e=this.callQueue;this.callQueue=[],e.forEach((e=>{window.__gpp(...e)}))}isCustomCommand(e){return this.customCommands&&"function"==typeof this.customCommands[e]}isBuiltInCommand(e){return void 0!==Re[e]}}class Ue{static absCall(e,t,n,s){return new Promise(((o,i)=>{const r=new XMLHttpRequest;r.withCredentials=n,r.addEventListener("load",(()=>{if(r.readyState==XMLHttpRequest.DONE)if(r.status>=200&&r.status<300){let e=r.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}o(e)}else i(new Error(`HTTP Status: ${r.status} response type: ${r.responseType}`))})),r.addEventListener("error",(()=>{i(new Error("error"))})),r.addEventListener("abort",(()=>{i(new Error("aborted"))})),null===t?r.open("GET",e,!0):r.open("POST",e,!0),r.responseType="json",r.timeout=s,r.ontimeout=()=>{i(new Error("Timeout "+s+"ms "+e))},r.send(t)}))}static post(e,t,n=!1,s=0){return this.absCall(e,JSON.stringify(t),n,s)}static fetch(e,t=!1,n=0){return this.absCall(e,null,t,n)}}class Le extends Error{constructor(e){super(e),this.name="GVLError"}}class Me{has(e){return Me.langSet.has(e)}forEach(e){Me.langSet.forEach(e)}get size(){return Me.langSet.size}}Me.langSet=new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HR","HU","ID","IT","JA","KA","KO","LT","LV","MK","MS","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SQ","SR-LATN","SR-CYRL","SV","SW","TH","TL","TR","UK","VI","ZH"]);var xe=window&&window.__awaiter||function(e,t,n,s){return new(n||(n=Promise))((function(o,i){function r(e){try{c(s.next(e))}catch(e){i(e)}}function a(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}c((s=s.apply(e,t||[])).next())}))};class Ge{constructor(){this.consentLanguages=new Me,this.language=Ge.DEFAULT_LANGUAGE,this.ready=!1,this.languageFilename="purposes-[LANG].json"}static fromVendorList(e){let t=new Ge;return t.populate(e),t}static fromUrl(e){return xe(this,void 0,void 0,(function*(){let t=e.baseUrl;if(!t||0===t.length)throw new Le("Invalid baseUrl: '"+t+"'");if(/^https?:\/\/vendorlist\.consensu\.org\//.test(t))throw new Le("Invalid baseUrl!  You may not pull directly from vendorlist.consensu.org and must provide your own cache");t.length>0&&"/"!==t[t.length-1]&&(t+="/");let n=new Ge;if(n.baseUrl=t,e.languageFilename?n.languageFilename=e.languageFilename:n.languageFilename="purposes-[LANG].json",e.version>0){let s=e.versionedFilename;s||(s="archives/vendor-list-v[VERSION].json");let o=t+s.replace("[VERSION]",String(e.version));n.populate(yield Ue.fetch(o))}else{let s=e.latestFilename;s||(s="vendor-list.json");let o=t+s;n.populate(yield Ue.fetch(o))}return n}))}changeLanguage(e){return xe(this,void 0,void 0,(function*(){const t=e.toUpperCase();if(!this.consentLanguages.has(t))throw new Le(`unsupported language ${e}`);if(t!==this.language){this.language=t;const n=this.baseUrl+this.languageFilename.replace("[LANG]",e);try{this.populate(yield Ue.fetch(n))}catch(e){throw new Le("unable to load language: "+e.message)}}}))}getJson(){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,dataCategories:this.dataCategories,vendors:this.fullVendorList}))}isVendorList(e){return void 0!==e&&void 0!==e.vendors}populate(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.dataCategories=e.dataCategories,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.vend
1ors,this.mapVendors(),this.ready=!0)}mapVendors(e){this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((e=>{this.byPurposeVendorMap[e]={legInt:new Set,impCons:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((e=>{this.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((e=>{this.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((e=>{this.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((e=>+e))),this.vendorIds=new Set(e),this.vendors=e.reduce(((e,t)=>{const n=this.vendors[String(t)];return n&&void 0===n.deletedDate&&(n.purposes.forEach((e=>{this.byPurposeVendorMap[String(e)].consent.add(t)})),n.specialPurposes.forEach((e=>{this.bySpecialPurposeVendorMap[String(e)].add(t)})),n.legIntPurposes&&n.legIntPurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].legInt.add(t)})),n.impConsPurposes&&n.impConsPurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].impCons.add(t)})),n.flexiblePurposes&&n.flexiblePurposes.forEach((e=>{this.byPurposeVendorMap[String(e)].flexible.add(t)})),n.features.forEach((e=>{this.byFeatureVendorMap[String(e)].add(t)})),n.specialFeatures.forEach((e=>{this.bySpecialFeatureVendorMap[String(e)].add(t)})),e[t]=n),e}),{})}getFilteredVendors(e,t,n,s){const o=e.charAt(0).toUpperCase()+e.slice(1);let i;const r={};return i="purpose"===e&&n?this["by"+o+"VendorMap"][String(t)][n]:this["by"+(s?"Special":"")+o+"VendorMap"][String(t)],i.forEac
1h((e=>{r[String(e)]=this.vendors[String(e)]})),r}getVendorsWithConsentPurpose(e){return this.getFilteredVendors("purpose",e,"consent")}getVendorsWithLegIntPurpose(e){return this.getFilteredVendors("purpose",e,"legInt")}getVendorsWithFlexiblePurpose(e){return this.getFilteredVendors("purpose",e,"flexible")}getVendorsWithSpecialPurpose(e){return this.getFilteredVendors("purpose",e,void 0,!0)}getVendorsWithFeature(e){return this.getFilteredVendors("feature",e)}getVendorsWithSpecialFeature(e){return this.getFilteredVendors("feature",e,void 0,!0)}narrowVendorsTo(e){this.mapVendors(e)}get isReady(){return this.ready}static isInstanceOf(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo}}Ge.DEFAULT_LANGUAGE="EN";var Fe=window&&window.__awaiter||function(e,t,n,s){return new(n||(n=Promise))((function(o,i){function r(e){try{c(s.next(e))}catch(e){i(e)}}function a(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}c((s=s.apply(e,t||[])).next())}))};class Be{constructor(e,t,n){this.cmpApiContext=new ve,this.cmpApiContext.cmpId=e,this.cmpApiContext.cmpVersion=t,this.callResponder=new Ve(this.cmpApiContext,n)}fireEvent(e,t){this.cmpApiContext.eventQueue.exec(e,t)}fireErrorEvent(e){this.cmpApiContext.eventQueue.exec("error",e)}fireSectionChange(e){this.cmpApiContext.eventQueue.exec("sectionChange",e)}getEventStatus(){return this.cmpApiContext.eventStatus}setEventStatus(e){this.cmpApiContext.eventStatus=e}getCmpStatus(){return this.cmpApiContext.cmpStatus}setCmpStatus(e){this.cmpApiContext.cmpStatus=e,this.cmpApiContext.eventQueue.exec("cmpStatus",e)}getCmpDisplayStatus(){return this.cmpApiContext.cmpDisplayStatus}setCmpDisplayStatus(e){this.cmpApiContext.cmpDisplayStatus=e,this.cmpApiContext.eventQueue.exec("cmpDisplayStatus",e)}getSignalStatus(){return this.cmpApiContext.signalStatus}setSignalStatus(e){this.cmpApiContext.signalStatus=e,this.cmpApiContext.eventQueue.exec("signalStatus",e)}getApplicableSections(){return this.cmpApiContext.applicableSections}setApplicableSections(e){this.cmpApiContext.applicableSections=e}getSupportedAPIs(){return this.cmpApiContext.supportedAPIs}setSupportedAPIs(e){this.cmpApiContext.supportedAPIs=e}setGppString(e){this.cmpApiContext.gppModel.decode(e)}getGppString(){return this.cmpApiContext.gppModel.encode()}setSectionString(e,t){this.cmpApiContext.gppModel.decodeSection(e,t)}setSectionStringById(e,t){this.setSectionString(Ie.SECTION_ID_NAME_MAP.get(e),t)}getSectionString(e){return this.cmpApiContext.gppModel.encodeSection(e)}getSectionStringById(e){return this.getSectionString(Ie.SECTION_ID_NAME_MAP.get(e))}setFieldValue(e,t,n){this.cmpApiContext.gppModel.setFieldValue(e,t,n)}setFieldValueBySectionId(e,t,n){this.setFieldValue(Ie.SECTION_ID_NAME_MAP.get(e),t,n)}getFieldValue(e,t){return this.cmpApiContext.gppModel.getFieldValue(e,t)}getFieldValueBySectionId(e,t){return this.getFieldValue(Ie.SECTION_ID_NAME_MAP.get(e),t)}getSection(e){return this.cmpApiContext.gppModel.getSection(e)}getSectionById(e){return this.getSection(Ie.SECTION_ID_NAME_MAP.get(e))}hasSection(e){return this.cmpApiContext.gppModel.hasSection(e)}hasSectionId(e){return this.hasSection(Ie.SECTION_ID_NAME_MAP.get(e))}deleteSection(e){this.cmpApiContext.gppModel.deleteSection(e)}deleteSectionById(e){this.deleteSection(Ie.SECTION_ID_NAME_MAP.get(e))}clear(){this.cmpApiContext.gppModel.clear()}getObject(){return this.cmpApiContext.gppModel.toObject()}getGvlFromVendorList(e){return Ge.fromVendorList(e)}getGvlFromUrl(e){return Fe(this,void 0,void 0,(function*(){return Ge.fromUrl(e)}))}}window.WBD=window.WBD||{},window.WM=window.WM||{},function(e,t){if("function"!=typeof e.CustomEvent){var n=function(e,n){var s;return n=n||{bubbles:!1,cancelable:!1,detail:void 0},(s=t.createEvent("CustomEvent")).initCustomEvent(e,n.bubbles,n.cancelable,n.detail),s};n.prototype=e.Event.prototype,e.CustomEvent=n,"function"!==e.Event&&(e.Event=n)}}(window,document),window.WBD.UserConsent=window.WBD.UserConsent||function(e,t){const n=4e3,s={tcfeuv2:2,tcfcav1:5,uspv1:6,usnat:7},o={binary:!0,boolean:!0,trinary:!0,integer:!0,string:!0},i="undefined"!=typeof URLSearchParams?new URLSearchParams(e.location.search):"undefined"!=typeof Map?new Map:{size:0};var r,a="",c="",l=null,d=!1,u=new Date(0),g="",p=0,h=0,S={},f={},C=!1,E=[],m="",T=0,I="",b=null,y=null,O="unknown",_={},w=!1,N={},A="",P="",D="",v="",k=null,R=1,V="",U="",L=null,M=!1,x=!1,G=!1,F={},B=!1,W=!1,z="en",H="",j="",q=!1,Y="4.2.9",K=null,Q=!1,J=!1,X=!1,$=null,Z=!1,ee=!1,te=!1,ne=!1,se=!1,oe=!1,ie=null,re="",ae={aceMapping:{"data-store":["F","P","S","T"],"ads-contextual":["F"],"ads-person":["T"],"ads-person-prof":["T"],"measure-ads":["P","S"],"data-share":["S"],"data-sell":["S"]},aceOOF:!1,aceOtherGpp:!1,ackBotsMask:28,ackTermsCookie:"wbdLTP",ackTermsEnforce:!1,ackTermsExpireSecs:0,ackTermsMinTime:new Date(1748736e6),ackTermsRegions:["US","PR","VI","GU","AS","UM","MP"],ackTermsWebViewAuto:!0,ackTermsWebViewEnable:!0,ackTermsWebViewConsentTime:!1,addtlConsentCookie:"OTAdditionalConsentString",adCategories:["data-share","data-sell","data-store","ads-contextual","ads-person-prof","ads-person"],contextAdCategories:["data-share","data-sell","data-store","ads-contextual"],adChoicesLinkAction:"https://www.wbdprivacy.com/policycenter/b2c/",adChoicesLinkTitle:{ar:"اختيارات الإعلان",de:"Anzeigenauswahl",en:"Ad Choices",es:"Elecciones de anuncios",fr:"Choix d’annonces"},affiliatesLinkAction:"https://www.wbdprivacy.com/policycenter/affiliates/",affiliatesLinkTitle:{ar:"الشركات التابعة",en:"Affiliates",de:"Mitgliedsorganisationen",es:"Afiliadas",fr:"Affiliées"}
1,botStateCookie:"",categories:{req:"required",dsa:"data-store",cad:"ads-contextual",pap:"ads-person-prof",pad:"ads-person",pcp:"content-person-prof",pcd:"content-person",map:"measure-ads",mcp:"measure-content",mra:"measure-market",pdd:"product-develop",ccd:"content-contextual",sec:"product-security",tdc:"deliver-content",scp:"privacy-choices",cos:"combine-data",dlk:"link-devices",did:"id-devices",gld:"geolocate",sid:"scan-devices",ftc:"1p-targeting",dsh:"data-share",dsl:"data-sell",pdu:"personal-data",kc12:"known-child-12",kc17:"known-child-17",kc16:"known-child-16",sdre:"sensitive-racial",sdrb:"sensitive-belief",sdhe:"sensitive-health",sdso:"sensitive-sexual",sdir:"sensitive-citizen",sdge:"sensitive-gene",sdbm:"sensitive-biometric",sdsp:"sensitive-spi",sdss:"sensitive-ssi",sduo:"sensitive-org",sdco:"sensitive-comm",sdch:"sensitive-conhealth",sdcv:"sensitive-victim",sdno:"sensitive-origin",sdsx:"sensitive-extsex"},catDataStore:"data-store",catTestDevelop:"product-develop",ccCookie:"countryCode",ccpaGeos:["US:CA","US:CO","US:CT","US:DE","US:IA","US:IN","US:KY","US:MD","US:MN","US:MT","US:NE","US:NH","US:NJ","US:OR","US:RI","US:TN","US:TX","US:UT","US:VA"],compatCategories:{vendor:["data-share","data-sell","ads-contextual","ads-person-prof","ads-person"],"targeted-ads":["ads-person-prof","ads-person"],"sensitive-geo":["geolocate"]},compatTransition:null,confirmCookie:"OptanonAlertBoxClosed",consentChangeAction:null,consentChangeActionDelay:500,consentCookie:"OptanonConsent",consentDefaults:{required:!0,"data-store":!0,"ads-contextual":!0,"ads-person":!0,"ads-person-prof":!0,"content-person":!0,"content-person-prof":!0,"measure-ads":!0,"measure-content":!0,"measure-market":!0,"product-develop":!0,"content-contextual":!0,"product-security":!0,"deliver-content":!0,"privacy-choices":!0,"combine-data":!0,"link-devices":!0,"id-devices":!0,geolocate:!1,"scan-devices":!1,"1p-targeting":!0,"data-share":!0,"data-sell":!0,"personal-data":!1,"known-child-12":!1,"known-child-17":!1,"known-child-16":!1,"sensitive-racial":!1,"sensitive-belief":!1,"sensitive-health":!1,"sensitive-sexual":!1,"sensitive-citizen":!1,"sensitive-gene":!1,"sensitive-biometric":!1,"sensitive-spi":!1,"sensitive-ssi":!1,"sensitive-org":!1,"sensitive-comm":!1,"sensitive-conhealth":!1,"sensitive-victim":!1,"sensitive-origin":!1,"sensitive-extsex":!1},consentExpireIn:1,consentNoAckDefaults:{required:!0,"product-security":!0,"deliver-content":!0,"privacy-choices":!0},consentNotApplicable:["personal-data","known-child-12","known-child-17","known-child-16","sensitive-racial","sensitive-belief","sensitive-health","sensitive-sexual","sensitive-citizen","sensitive-gene","sensitive-biometric","geolocate","sensitive-spi","sensitive-ssi","sensitive-org","sensitive-comm","sensitive-conhealth","sensitive-victim","sensitive-origin","sensitive-extsex"],consentLinkTitle:{ar:"ﺇﺩﺍﺭﺓ ﻢﻠﻓﺎﺗ ﺖﻋﺮﻴﻓ ﺍﻻﺮﺘﺑﺎﻃ",de:"Cookies Verwalten",en:"Manage Cookies",es:"Administrar Cookies",fr:"Gérer les Cookies"},consentMarketing:{brand:!1,email:!1,wbd:!1}
1,controlCookie:"OptanonControl",cookieSameSite:"Lax",cookieSecure:!1,defaultCountry:"US",defaultLanguage:"en",defaultState:"",enableDebug:!1,enableGPC:!0,enableTransitionCheck:!0,enableWebViewCheck:!0,gdprIabCookie:"eupubconsent-v2",geoCheckFunction:null,geoPassedToOneTrust:!0,gpcFixCookie:"",gppCategories:{tcfeuv2:[{field:"CmpId",type:"integer",default:1},{field:"CmpVersion",type:"integer",default:1},{field:"PolicyVersion",type:"integer",default:5},{field:"IsServiceSpecific",type:"boolean",default:!0},{field:"PurposeConsents",type:"array-boolean",maxCount:24,default:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],0:"data-store",1:"ads-contextual",2:"ads-person-prof",3:"ads-person",4:"content-person-prof",5:"content-person",6:"measure-ads",7:"measure-content",8:"measure-market",9:"product-develop",10:"content-contextual"},{field:"PurposeLegitimateInterests",type:"array-boolean",maxCount:24,default:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]},{field:"SpecialFeatureOptins",type:"array-boolean",maxCount:12,default:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],0:"geolocate",1:"scan-devices"},{field:"PublisherCountryCode",type:"string",default:"GB"}],tcfcav1:[{field:"CmpId",type:"integer",default:1},{field:"CmpVersion",type:"integer",default:1},{field:"TcfPolicyVersion",type:"integer",default:2},{field:"PurposesExpressConsent",type:"array-boolean",maxCount:24,default:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],0:"data-store",1:"ads-contextual",2:"ads-person-prof",3:"ads-person",4:"content-person-prof",5:"content-person",6:"measure-ads",7:"measure-content",8:"measure-market",9:"product-develop",10:"content-contextual"},{field:"PurposesImpliedConsent",type:"array-boolean",maxCount:24,default:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]},{field:"SpecialFeatureExpressConsent",type:"array-boolean",maxCount:12,default:[!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1],0:"geolocate",1:"scan-devices"}],usnat:[{field:"Version",type:"integer",default:1},{field:"SharingNotice",type:"trinary",default:1},{field:"SaleOptOutNotice",type:"trinary",default:1},{field:"SharingOptOutNotice",type:"trinary",default:1},{field:"TargetedAdvertisingOptOutNotice",type:"trinary",default:1},{field:"SensitiveDataProcessingOptOutNotice",type:"trinary",default:0},{field:"SensitiveDataLimitUseNotice",type:"trinary",default:0},{field:"SaleOptOut",type:"trinary",val:"data-sell"},{field:"SharingOptOut",type:"trinary",val:"data-share"},{field:"TargetedAdvertisingOptOut",type:"trinary",val:["ads-person-prof","ads-person"]},{field:"SensitiveDataProcessing",type:"array-trinary",default:[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],maxCount:16,0:"sensitive-racial",1:"sensitive-belief",2:"sensitive-health",3:"sensitive-sexual",4:"sensitive-citizen",5:"sensitive-gene",6:"sensitive-biometric",7:"geolocate",8:"sensitive-spi",9:"sensitive-ssi",10:"sensitive-org",11:"sensitive-comm",12:"sensitive-conhealth",13:"sensitive-victim",14:"sensitive-origin",15:"sensitive-extsex"},{field:"KnownChildSensitiveDataConsents",type:"array-trinary",default:[0,0,0],maxCount:3,0:"known-child-12",1:"known-child-17",2:"known-child-16"},{field:"PersonalDataConsents",type:"trinary",default:0,val:"personal-data"},{field:"MspaCoveredTransaction",type:"trinary",default:1},{field:"MspaOptOutOptionMode",type:"trinary",default:1},{field:"MspaServiceProviderMode",type:"trinary",default:2}],uspv1:[{field:"OptOutSale",type:"binary",val:["data-share","data-sell","ads-person-prof","ads-person"]}]},gppIabCookie:"OTGPPConsent",gppSection:"",iabRegion:"",languageFromBrowser:!0,nonIabGppSection:"",oneTrustLoadTimeout:15e3,privacyCenterLinkAction:"https://www.wbdprivacy.com/policycenter/b2c/",privacyCenterLinkTitle:{ar:"سياسة خصوصية المستهلك",de:"Datenschutzhinweise",en:"Privacy Policy",es:"Política de Privacidad",fr:"Politique de Confidentialité"},regionChangeAction:null,regions:[{id:"us",adCategories:["data-share","data-sell","ads-person-prof","ads-person"],contextAdCategories:["data-share","data-sell"],compatCodes:{ven:["dsh","dsl","pap","pad"],tpv:["dsh","dsl","pap","pad"]},compatTransition:[{cond:!1,new:["dsh","dsl","pap","pad"],old:"ven"}],consentExpireIn:3,consentGpcDefaults:{"data-share":!1,"data-sell":!1,"ads-person-prof":!1,"ads-person":!1},consentImpliedDefaults:{"data-store":!0,"ads-contextual":!0,"content-person":!0,"content-person-prof":!0,"measure-ads":!0,"measure-content":!0,"measure-market":!0,"product-develop":!0,"content-contextual":!0,"product-security":!0,"deliver-content":!0,"privacy-choices":!0,"combine-data":!0,"link-devices":!0,"id-devices":!0,"1p-targeting":!0,geolocate:!1,"scan-devices":!1},consentLinkTitle:{ar:"لا تبيع أو تشارك معلوماتي الشخصية",de:"Nicht Verkauf oder Nicht Weitergabe Ihrer personenbezogenen Daten zu stellen",en:"Do Not Sell Or Share My Personal Information",es:"No Venda Vi Comparta Mi Información Personal",fr:"Ne pas vendre ni partager mes informations personnelles"},rightsRequestLinkAction:"https://www.wbdprivacy.com/policycenter/usstatesupplement/en-us/",geoMatch:["US:CA","US:CO","US:CT","US:DE","US:IA","US:IN","US:KY","US:M
1D","US:MN","US:MT","US:NE","US:NH","US:NJ","US:OR","US:RI","US:TN","US:TX","US:UT","US:VA"],gppSection:"usnat",iabRegion:"ccpa"},{id:"gdpr",adCategories:["data-store","ads-contextual","ads-person-prof","ads-person"],contextAdCategories:["data-store","ads-contextual"],consentDefaults:{"data-store":!1,"ads-contextual":!1,"ads-person-prof":!1,"ads-person":!1,"content-person-prof":!1,"content-person":!1,"measure-ads":!1,"measure-content":!1,"measure-market":!1,"product-develop":!1,"content-contextual":!1,"combine-data":!1,"link-devices":!1,"id-devices":!1},consentImpliedDefaults:{"product-security":!0,"deliver-content":!0,"privacy-choices":!0,"combine-data":!0,"link-devices":!0,"id-devices":!0,"1p-targeting":!0,geolocate:!1,"scan-devices":!1,"data-share":!0,"data-sell":!0},consentLinkTitle:{ar:"إدارة ملفات تعريف الارتباط+",de:"Cookies Verwalten+",en:"Manage Cookies+",es:"Administrar cookies+",fr:"Gérer les Cookies+"},geoMatch:["GB","DE","FR","IT","ES","PL","RO","NL","BE","GR","CZ","PT","SE","HU","AT","BG","DK","FI","SK","IE","HR","LT","SI","LV","EE","CY","LU","MT","NO","IS","LI","CH"],iabRegion:"gdpr"},{id:"other-optin",consentDefaults:{"data-store":!1,"ads-contextual":!1,"ads-person-prof":!1,"ads-person":!1,"content-person-prof":!1,"content-person":!1,"measure-ads":!1,"measure-content":!1,"measure-market":!1,"product-develop":!1,"content-contextual":!1,"combine-data":!1,"link-devices":!1,"id-devices":!1},consentImpliedDefaults:{"data-store":!0,"product-security":!0,"deliver-content":!0,"privacy-choices":!0,"combine-data":!0,"link-devices":!0,"id-devices":!0,"1p-targeting":!0,geolocate:!1,"scan-devices":!1,"data-store":!0,"data-share":!0,"data-sell":!0},geoMatch:["CA","AR","BR","CL","CO","CR","PA","PE","UY"]},{id:"other-optout",consentImpliedDefaults:{"product-security":!0,"deliver-content":!0,"privacy-choices":!0,"combine-data":!0,"link-devices":!0,"id-devices":!0,"1p-targeting":!0,geolocate:!1,"scan-devices":!1,"data-store":!0,"data-share":!0,"data-sell":!0},geoMatch:["MX","BB","NI","PY","VE"]},{id:"global",geoMatch:["*"],useFixedConsent:!0}],reloadOnAckTerms:!0,reloadOnConsentChange:!0,reloadOnConsentReduction:!1,rightsRequestLinkAction:"https://www.wbdprivacy.com/policycenter/b2c/",rightsRequestLinkTitle:{ar:"بوابة طلبات الحقوق الفردية",de:"Anfrageportal für Individualrechte",en:"Individual Rights Request Portal",es:"Portal de solicitud de derechos individuales",fr:"Portail de demande de droits des individus"},scCookie:"stateCode",setPageClass:!0,src:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",strictIabCompliance:!0,tcfOpts:{categories:{purposes:["data-store","ads-contextual","ads-person-prof","ads-person","content-person-prof","content-person","measure-ads","measure-content","measure-market","product-develop","content-contextual"],specialPurposes:["product-security","deliver-content","privacy-choices"],features:["combine-data","link-devices","id-devices"],specialFeatures:["geolocate","scan-devices"]},policies:{2:{iabMaxPurposes:10,iabMaxSpecialFeats:2},3:{iabMaxPurposes:10,iabMaxSpecialFeats:2},4:{iabMaxPurposes:11,iabMaxSpecialFeats:2},5:{iabMaxPurposes:11,iabMaxSpecialFeats:2}}},ucFlavor:"iab",useFixedConsent:!1,useGPP:!0,useIAB:!0,useIabString:!0,uspApiCookieName:"usprivacy",uspApiExplicitNotice:!0,uspApiIsLspa:!1};function ce(e){if(console){const t=Array.prototype.slice.call(arguments);t[0]="[WMUC]"+(0===A.length?"":" ("+A+")")+":","error"===e?console.error.apply(console,t):console.log.apply(console,t)}}function le(e){const n=t.cookie.match(new RegExp("(^|;) *"+e+" *= *([^;]+)"));return n?n.pop():null}function de(e,n,s){if(e){s=s||{};try{t.cookie=e+"="+("string"==typeof n?n:"")+"; Domain="+(s.domain||f.cookieDomain)+"; Path="+(s.path||"/")+(s.maxage?"; Max-Age="+s.maxage:s.expires?"; Expires="+s.expires:"")+(s.secure?"; Secure":"")+(s.samesite?"; SameSite="+s.samesite:"")}catch(t){ce("error",'Failed to set cookie "'+e+'": ',t)}}}function ue(t){if("function"==typeof e.atob)try{return atob(t.replace(/_/g,"/").replace(/-/g,"+"))}catch(e){ce("error","Failed to decode TC string")}return""}function ge(e){return!!Number(e)}function pe(e){return parseInt(e,2)||0}function he(e){return 100*pe(e)}function Se(e){const t="A".charCodeAt(),n=e.match(/.{6}/g)||[];let s="";for(let e=0;e<n.length;e++)s+=String.fromCharCode(pe(n[e])+t);return s}function fe(e){const t=e.split("");let n={};for(let e=0;e<t.length;e++)ge(t[e])&&(n[e+1]=!0);return n}function Ce(e){let t=0,n={},s=function(e,t,n,s){let o=()=>
1{if(s.pubRestrictionEntry&&s.rangeEntry)for(let e in s.rangeEntry)Object.prototype.hasOwnProperty.call(s.rangeEntry,e)&&(s.pubRestrictionEntry[e]=(s.pubRestrictionEntry[e]||[]).concat(s.rangeEntry[e]));s.numPubRestrictions&&(s.numPubRestrictions--,e.push({key:"purposeId",size:6},{key:"restrictionType",size:2},{key:"numEntries",size:12}))},i=()=>{s.numEntries?(s.numEntries--,e.push({key:"isARange",size:1,decoder:ge},{key:"startVendorId",size:16})):o()},r=()=>!s.purposeId||[{purpose:s.purposeId,isAllowed:0!==s.restrictionType,isConsentRequired:1===s.restrictionType,isLegitimateInterestRequired:2===s.restrictionType}];if("isRangeEncoding"===t.key)e.push(n?{key:"numEntries",size:12}:{key:"bitField",size:s.maxVendorId,decoder:fe});else if("numEntries"===t.key)s.rangeEntry={},i();else if("isARange"===t.key)n&&e.push({key:"endVendorId",size:16});else if("startVendorId"===t.key)s.isARange||(s.rangeEntry[n]=r(),i());else if("endVendorId"===t.key){for(let e=s.startVendorId;e<=s.endVendorId;e+=1)s.rangeEntry[e]=r();i()}else"numCustomPurposes"===t.key?e.push({key:"customPurposeConsents",size:s.numCustomPurposes,decoder:fe},{key:"customPurposeLegitimateInterests",size:s.numCustomPurposes,decoder:fe}):"numPubRestrictions"===t.key&&(s.pubRestrictionEntry={},o())},o=e=>e.pubRestrictionEntry||e.rangeEntry||e.bitField||e,i=(e,n)=>{const s=n.slice(t,t+e.size);return t+=e.size,(e.decoder||pe)(s)},r=(e,t)=>{let n={};if(!e.queue)return i(e,t);for(let o=0;o<e.queue.length;o+=1){let r=e.queue[o],a=i(r,t);r.key&&(n[r.key]=a),s(e.queue,r,a,n)}return o(n)},a=(e,t)=>{let n={};for(let o=0;o<e.queue.length;o++){let i=e.queue[o],a=r(i,t);i.key&&(n[i.key]=a),s(e.queue,i,a,n)}return o(n)};const c=function(e){let t,n=[];if("string"!=typeof e)return ce("error","Invalid TC string specified"),n;t=e.split(".");for(let e=0;e<t.length;e++){let s=ue(t[e]),o="";for(let e=0;e<s.length;e++){let t=s.charCodeAt(e).toString(2);o+="00000000".slice(0,8-t.length)+t}n.push(o)}return 2!==pe(n[0].slice(0,6))?(ce("error","Unsupported TC string version"),[]):n}(e),l=function(e){const t=[{key:"purposeConsents",size:24,decoder:fe},{key:"purposeLegitimateInterests",size:24,decoder:fe}],n=[{key:"maxVendorId",size:16},{key:"isRangeEncoding",size:1,decoder:ge}],s=[{key:"version",size:6},{key:"created",size:36,decoder:he},{key:"lastUpdated",size:36,decoder:he},{key:"cmpId",size:12},{key:"cmpVersion",size:12},{key:"consentScreen",size:6},{key:"consentLanguage",size:12,decoder:Se},{key:"vendorListVersion",size:12},{key:"tcfPolicyVersion",size:6},{key:"isServiceSpecific",size:1,decoder:ge},{key:"useNonStandardStacks",size:1,decoder:ge},{key:"specialFeatureOptins",size:12,decoder:fe}].concat(t).concat({key:"purposeOneTreatment",size:1,decoder:ge},{key:"publisherCountryCode",size:12,decoder:Se},{key:"vendorConsents",queue:[{key:"maxVendorId",size:16},{key:"isRangeEncoding",size:1,decoder:ge}]},{key:"vendorLegitimateInterests",queue:n},{key:"publisherRestrictions",queue:[{key:"numPubRestrictions",size:12}]}),o=[{size:3}],i=[].concat(o).concat(n),r=[].concat(o).concat(n),a=[].concat(o).concat(t).concat({key:"numCustomPurposes",size:6});let c=[{key:"core",queue:s}];for(let t=1;t<e.length;t++){let n=pe(e[t].slice(0,3));1===n?c.push({key:"disclosedVendors",queue:i}):2===n?c.push({key:"allowedVendors",queue:r}):3===n&&c.push({key:"publisherTC",queue:a})}return c}(c);for(let e=0;e<l.length;e++){let s=a(l[e],c[e]);l[e].key&&(n[l[e].key]=s),t=0}return n}function Ee(e){let t=!1;for(let n=0;n<e.length;n++)if(e[n])if(P===e[n]||v===e[n]||"*"===e[n]||e[n]===f.regId)t=!0;else if("!"===e[n].charAt(0)){let s=e[n].substring(1);if(P===s||v===s||f.regId===s){t=!1;break}}return t}function me(e,t){let n=t?new Date(t):new Date;return n.setUTCFullYear(n.getUTCFullYear()+e),n}function Te(e){let t;return t="object"==typeof e&&null!==e?e[z]||e[f.defaultLanguage]||"":"string"==typeof e?e:"",t}function Ie(e){return i.size<=0?null:i.get(e)}function be(e){let t;if("object"!=typeof e||null===e)return e;t=Array.isArray(e)?[]:{};for(let n in e)t[n]=be(e[n]);return t}function ye(e){let t={};if(e)for(let n=0;n<r.length;n++)t[r[n]]=e[r[n]];else ce("error","Critical Error: Attempt to read or copy consent before UserConsent is initialized!");return t}function Oe(e,t){if(t){e=e||{};for(let n=0;n<r.length;n++)"boolean"==typeof t[r[n]]&&(e[r[n]]=t[r[n]])}return e}function _e(e,n,s){try{(s=s||t).dispatchEvent(new CustomEvent(e,{bubbles:!1,cancelable:!1,detail:n}))}catch(t){ce("error",'Uncaught error in "'+e+'" event handler: ',t)}}function we(t,s){const o={domain:f.cookieDomain,path:"/",expires:me(f.consentExpireIn).toUTCString(),samesite:f.cookieSameSite,secure:f.cookieSecure};let i=0;if(s.length>32e3)ce("error","GPP String too long to write: ",s.length);else if(s.length>n){i=1;for(let e,r=0;r<s.length;i++,r+=n)e=t+i.toString(10),de(e,s.slice(r,r+n),o)}else s.length>0&&(i=1,de(t,s,o));return i>0&&function(t,n){let s=!1;if(t&&n&&He()&&!f.useExternalConsent&&F[t]!==n){const o=le(f.consentCookie);let i=y,r="";if(o){const e=o.split("&");for(let o=0;o<e.length;o++)if(e[o].length>0){const a=e[o].split("="),c=a[0]?decodeURIComponent(a[0]):"",l=a[1]?decodeURIComponent(a[1]).replace(/\+/g," "):"";o>0&&(r+="&"),c===t&&l!==n?(r+=a[0]+"="+encodeURIComponent(n).replace(/%20/g,"+"),s=!0):r+=e[o],null===i&&"datestamp"===c&&l.length>0&&(i=new Date(decodeURIComponent(l).replace(/\+/g," ")))}}if(s){const t=f.domId.endsWith("-test")?e.location.hostname:f.cookieDomain;i=i||new Date,de(f.consentCookie,r,{domain:t,path:"/",expires:me(f.consentExpireIn,i).toUTCString(),samesite:f.cookieSameSite,secure:f.cookieSecure})}F[t]=n}}("GPPCookiesCount",i.toString(10)),i}function Ne(t){if(t>0){const n=1===t?"Stub load failure":2===t?"Initialization failure":3===t?"SDK load timeout":"Unknown error";ce("error","OneTrust Error (",t,"): ",n),e.WBD.UserConsent_wait>=0&&(clearTimeout(e.WBD.UserConsent_wait),e.WBD.UserConsent_wait=-1),B=!0,w&&ce("debug","Dis
1patching oneTrustFailed event."),_e("oneTrustFailed",{region:f.regId,time:new Date,consentConfirmed:C,otId:m,otVers:O,code:t,msg:n})}}function Ae(){if(!M){if(e.OneTrust&&"function"==typeof e.OneTrust.getGeolocationData){let t=e.OneTrust.getGeolocationData();!t||t.country===P&&t.state===D?M=!0:"function"==typeof e.OneTrust.setGeoLocation?(e.OneTrust.setGeoLocation(P,D),M=!0):e.OneTrustStub&&"function"==typeof e.OneTrustStub.setGeoLocation&&(e.OneTrustStub.setGeoLocation(P,D),M=!0)}else e.OneTrustStub&&"function"==typeof e.OneTrustStub.setGeoLocation&&(e.OneTrustStub.setGeoLocation(P,D),M=!0);w&&ce("debug",M?"Set OneTrust geo-location.":"Not yet able to set OneTrust geo-location.")}}function Pe(e,t,n){let s=k.getFieldValue(e,t.field),i=t.type.toLowerCase(),a=(e,t,s)=>{const o="string"==typeof t&&"string"!==s?[t]:t,i="boolean"===s||"string"===s?e:"trinary"===s?2===e:0!==e;for(let e of o)(0===f.consentNotApplicable.length||f.consentNotApplicable.indexOf(e)<0)&&(r.indexOf(e)>=0&&f.consentNotApplicable.indexOf(e)<0?n[e]=i:ce("error",'Invalid consent "'+e+'" specified in GPP Categories!'))};if(i.startsWith("array"))if(i=i.substring(6),o[i]&&t.maxCount&&Array.isArray(s))for(let e=0;e<t.maxCount;e++)t[e]&&a(s[e],t[e],i);else ce("error",'Error: Unparsable data type "'+i+'" or missing maxCount in GPP Categories "'+t.field+'" value!');else t.val&&(o[i]?a(s,void 0!==t.val?t.val:t.default,i):ce("error",'Error: Unparsable data type "'+i+'" in GPP Categories!'))}function De(e,t,n){let s=k.getFieldValue(e,t.field),i=t.type.toLowerCase(),a=(e,t)=>{const s="string"==typeof e?[e]:e;let o=0,i=!0;for(let e of s)r.indexOf(e)>=0?void 0!==n[e]&&(i=i&&n[e],o++):ce("error",'Invalid consent "'+e+'" specified in GPP Categories!');return o>0?"boolean"===t?i:"trinary"===t?i?2:1:i?1:0:"boolean"!==t&&0};try{if(i.startsWith("array")){if(i=i.substring(6),!o[i])throw"unparse";if(!t.maxCount||!Array.isArray(s))throw"badarray";for(let e=0;e<t.maxCount;e++)void 0!==t[e]?s[e]=a(t[e],i):void 0!==t.default&&void 0!==t.default[e]&&(s[e]=t.default[e])}else{if(!o[i])throw"unparse";t.val?s=a(t.val,i):void 0!==t.default&&(s=t.default)}k.setFieldValue(e,t.field,s)}catch(e){ce("error","unparse"===e?'Error: Unparsable data type "'+i+'" in GPP Categories!':"badarray"===e?'Error: Missing maxCount or bad array in GPP Categories "'+t.field+'" value!':'Failed to set GPP field "'+t.field+'" value!')}}function ve(t,n){const o=n||f.gppSection;let i="string"==typeof t?t:"",r="CMP",a=null;if(0===i.length&&(f.useExternalConsent?(i=e.OTExternalConsent.gppString||"",r="external consent"):(i=function(e){let t,n=F.GPPCookiesCount?Number.parseInt(F.GPPCookiesCount,10):0;if(n<=1)t=le(e);else if(n>9)t=null,ce("error","Attempting to load GPP string with too many chunks!");else{t="";for(let s=1,o="";null!==o&&s<=n;s++,t+=o)o=le(e+s.toString(10))}return t}(f.gppIabCookie)||"",r="cookie")),""===i)return w&&ce("debug","No GPP string present."),null;try{k.setGppString(i)}catch(e){return ce("error","GPP string invalid, ignoring."),null}if(X=!("cookie"!==r),!k.hasSection(o)||!Array.isArray(f.gppCategories[o]))return w&&ce("debug","GPP string present, but for different region/section."),i!==V&&(V=i),null;k.setApplicableSections([s[o]]);const c=f.gppCategories[o];a=ye(f.consentDefaults);for(let e of c)"object"==typeof e&&null!==e&&e.field&&Pe(o,e,a);return f.useExternalConsent||o.startsWith("tcf")||"uspv1"===o||(k.getFieldValue(o,"GpcSegmentIncluded")&&!k.getFieldValue(o,"Gpc")===J&&(k.setFieldValue(o,"Gpc",J),i=k.getGppString()),J&&(a=Oe(a,f.consentGpcDefaults))),i!==V&&(V=i),w&&ce("debug","Processed GPP string from "+r+": "+V),a}function ke(e,t,n){const o=V,i=n||f.gppSection;if("string"==typeof e&&e.length>0){try{k.setGppString(e),(V=e)&&k.hasSection(i)&&i===f.gppSection&&k.setApplicableSections([s[i]]),w&&ce("debug","GPP string set from CMP ("+i+"): ",e)}catch(e){return ce("error","Failed to set GPP string: ",e),!1}if(!se)return!0}if("object"!=typeof t||null===t||!Array.isArray(f.gppCategories[i]))return ce("error","Failed to set GPP string, invalid parameters."),!1;try{if(V||k.setApplicableSections([s[i]]),Array.isArray(f.gppCategories[i])){const e=f.gppCategories[i];for(let n of e)"object"==typeof n&&null!==n&&n.field&&De(i,n,t)}J&&k.setFieldValue(i,"Gpc",J),(V=k.getGppString())&&k.hasSection(i)&&(k.setApplicableSections([s[i]]),o.length>0&&o!==V&&te&&!oe&&k.fireSectionChange(i)),w&&ce("debug",'GPP string set from consent state (section "'+i+'"): ',V)}catch(e){return ce("error","Failed to set GPP string: ",e),!1}return!0}function Re(){let t,n=!1;if(f.useExternalConsent?(t="groups="+encodeURIComponent(e.OTExternalConsent.groups),J=!1):t=le(f.consentCookie),t){const e=t.split("&");for(let t=0;t<e.length;t++){let s=e[t];if(s){let e=s.split("="),t=e[0]?decodeURIComponent(e[0]):"",o=e[1]?decodeURIComponent(e[1]).replace(/\+/g," "):"";""===t||void 0!==F[t]&&F[t]===o||(F[t]=o,n=!0)}}n&&(F.version&&(O=F.version),F.consentId&&(m=F.consentId),w&&ce("debug","Read OneTrust cookie: ",F))}return n}function Ve(t){let n=null;return Re(),F.groups||(C=!1,y=null),!C||f.useFixedConsent?(n=ye(f.consentDefaults),I="defaults"):te&&(f.useExternalConsent||f.gppIabCookie)&&(n=ve(t))?I=t?"gpp string":f.useExternalConsent?"external GPP consent":f.gppIabCookie+" cookie":ee&&(f.useExternalConsent&&e.OTExternalConsent.tcString||f.gdprIabCookie)&&(n=function(t,n){let s=null;if(!0===f.useExternalConsent&&e.OTExternalConsent.tcString||"string"==typeof t&&0!==t.length){let o,i;if(!0===f.useExternalConsent&&e.OTExternalConsent.tcString?(H=e.OTExternalConsent.tcString,o="external 
1consent",i=o,g=e.OTExternalConsent.addtlConsent?e.OTExternalConsent.addtlConsent:""):(H=le(t),o='"'+t+'" cookie',i='"'+n+'" cookie',null===(g="string"==typeof n&&0!==n.length?le(n):"")&&(g="")),H&&f.useIabString){const e=Ce(H);if(e&&e.core&&"object"==typeof f.tcfOpts.policies[e.core.tcfPolicyVersion]&&e.core.purposeConsents){let t,n,r,a,c,l=f.tcfOpts.policies[e.core.tcfPolicyVersion],d=e.core.purposeConsents,u=e.core.purposeLegitimateInterests||{},p=e.core.specialFeatureOptins||{};for(w&&ce("debug","Processed TC string (policy "+e.core.tcfPolicyVersion+") from "+o+": ",e),j=e.core.tcfPolicyVersion,s=ye(f.consentImpliedDefaults),t=1;t<=f.tcfOpts.categories.purposes.length;t++)if(r=f.tcfOpts.categories.purposes[t-1],r&&"unused"!==r)for(a=Array.isArray(r)?r:[r],n=0;n<a.length;n++)r=a[n],r&&"unused"!==r&&"required"!==r&&(c=t<=l.iabMaxPurposes?"boolean"==typeof d[t]?d[t]:"boolean"==typeof u[t]?u[t]:"boolean"==typeof f.consentImpliedDefaults[r]&&f.consentImpliedDefaults[r]:"boolean"==typeof f.consentImpliedDefaults[r]&&f.consentImpliedDefaults[r],s[r]="boolean"==typeof s[r]?s[r]&&c:c);for(t=1;t<=f.tcfOpts.categories.specialFeatures.length;t++)if(r=f.tcfOpts.categories.specialFeatures[t-1],r&&"unused"!==r)for(a=Array.isArray(r)?r:[r],n=0;n<a.length;n++)r=a[n],r&&"unused"!==r&&"required"!==r&&(c=t<=l.iabMaxSpecialFeats&&"boolean"==typeof p[t]?p[t]:"boolean"==typeof f.consentImpliedDefaults[r]&&f.consentImpliedDefaults[r],s[r]="boolean"==typeof s[r]?s[r]&&c:c);0!==g.length&&-1===g.search(/^\d+~[\d\.]*$/)&&(ce("error","Error: Invalid AC string in "+i+"."),g="")}else ce("error","Error: Invalid TC string in "+o+"."),H="",g=""}else f.useIabString?(H="",g=""):w&&ce("debug","Bypassed parsing TC string.")}return s}(f.gdprIabCookie,f.addtlConsentCookie))?(I=f.useExternalConsent?"external TCF consent":f.gdprIabCookie+" cookie",!1):(n=function(){let e=null;if(F.groups){const t=F.groups.split(",");let n={},s=[],o=[],i=[],r=0;e=Oe(ye(f.consentDefaults),f.consentImpliedDefaults);for(let a=0;a<t.length;a++){let c=t[a].split(":"),l=c[0].toLowerCase(),d="1"===c[1];if(l)if(f.categories[l]){const t=f.categories[l];e[t]=d,n[t]=!0,"required"!==t&&r++}else{if(null!==f.compatTransition)for(let e=0;e<f.compatTransition.length;e++){const t=f.compatTransition[e];if(t.old===l&&t.new&&(t.cond??d)===d){i.push({old:t.old,new:t.new,cond:t.cond??d,force:"boolean"==typeof t.cond});break}}f.compatCodes[l]&&(s.push(l),o.push(d))}}if(0===r&&s.length>0){Q=!0;for(let t=0;t<s.length;t++){let n=f.compatCodes[s[t]];n&&!Array.isArray(n)&&(n=[n]);for(let s of n){let n=f.categories[s];n&&(e[n]=o[t],r++)}}}else if(i.length>0)for(let t=0;t<i.length;t++){const s=i[t];for(let t=0;t<s.new.length;t++){const o=f.categories[s.new[t]],i=!!n[o];i&&!s.force||(e[o]=s.cond,r+=i?0:1)}}0===r&&(e=null)}return e}())?I=f.useExternalConsent?"external consent":f.consentCookie+" cookie":(n=ye(f.consentDefaults),I="defaults"),f.useExternalConsent||J&&(n=Oe(n,f.consentGpcDefaults)),n&&se&&!V&&!f.gppSection&&(f.useExternalConsent||f.gppIabCookie)&&(f.gppSection=f.nonIabGppSection,ve(t)),n}function Ue(){return xe()?ye(f.consentNoAckDefaults):ye(b)}function Le(t){return"function"==typeof t?t:"string"==typeof t&&-1!==t.search(/^http/)?function(){e.open(t,"_blank")}:null}function Me(){return f.ackTermsEnforce&&d}function xe(){return!!(f.ackTermsEnforce&&d&&u.valueOf()<f.ackTermsMinTime.valueOf())}function Ge(){let e;return d&&(e=!(u.valueOf()<f.ackTermsMinTime.valueOf())),e}function Fe(){if(He()&&f.ackTermsCookie&&u.valueOf()>=f.ackTermsMinTime.valueOf()&&u.valueOf()<8888888888e3){const e=Math.trunc(u.valueOf()/1e3).toString(16);de(f.ackTermsCookie,e,{domain:f.cookieDomain,path:"/",maxage:31536e3,samesite:f.cookieSameSite,secure:f.cookieSecure});try{localStorage.setItem(f.ackTermsCookie,e),w&&ce("debug","Refreshed/set TOS acknowledgement to cookie/local.")}catch(e){ce("error","Failed to write TOS acknowledgement to local storage: ",e)}}}function We(){return!(!p||!f.ackBotsMask||2&p||!(p&f.ackBotsMask))}function ze(){return q}function He(){return!q}function je(){return Ee(f.ccpaGeos)}function qe(){return x}function Ye(){return null!==b}function Ke(e,t){const n="iab-"+(f.iabRegion||"N/A"),s="gpp-"+(f.gppSection||"N/A");let o=!0,i=!1,r="not ready";if(t=t||{},f.ackTermsEnforce&&d&&u.valueOf()<f.ackTermsMinTime.valueOf())o=!1,i=!0;else if(Ye()&&e){e=Array.isArray(e)?e:[e],t.checkIAB&&f.useIAB&&""!==f.iabRegion&&e.unshift(t.checkIAB);for(let i=0;i<e.length&&o;
1i++)if(r=e[i],r&&"required"!==r)if("gpp"===r||"iab-gpp"===r||r===s){if(te&&(!t||!t.ignoreIAB))break}else if("iab"===r||r===n){if(f.useIAB&&""!==f.iabRegion&&(!t||!t.ignoreIAB))break}else if("boolean"==typeof b[r]&&!1===b[r])o=!1;else if(f.compatCategories[r]){let e=f.compatCategories[r];for(let t=0;t<e.length;t++){let n=e[t];if("boolean"==typeof b[n]&&!1===b[n]){o=!1;break}}}}return w&&!t.internal&&(t.name=t.name||t.id||"unnamed",E.push({ts:new Date,act:t.cact||"CHK",desc:t.name,res:o,note:!o&&r||""}),ce("debug",o?"Check for consent ["+(e&&e.join(",")||"empty")+'] ALLOWS "'+t.name+'"'+("ADD"===t.cact?", script added":""):"Check for consent ["+(e&&e.join(",")||"empty")+'] REJECTS "'+t.name+'"'+("ADD"===t.cact?", script NOT added":"")+(i?" (no terms ack)":""))),o}function Qe(){let e;return e=Z?"1"+(f.uspApiExplicitNotice?"Y":"N")+(Ke(["vendor"],{internal:!0})?"N":"Y")+(f.uspApiIsLspa?"Y":"N"):"1---",e!==re&&(re=e,He()&&(null===ie&&de(f.uspApiCookieName,e,{domain:f.cookieDomain,path:"/",samesite:f.cookieSameSite,secure:f.cookieSecure}),w&&ce("debug","USP string updated: ",e))),re}function Je(){const t=a;let n="",s=!1;if(!f.aceMapping)return w&&ce("debug","No ACE mapping configured, no ACE string generated."),!1;try{const t=Object.keys(f.aceMapping);let o,i={},r=[];if(n="|"+P,"US"===P&&(n+="-"+D),n+="|",!0===f.aceOOF)n+="OOF";else{for(o=0;o<t.length;o++){let e=t[o],n=!!("true"===e||"false"!==e&&b[e]),s=f.aceMapping[e];for(let e,t=0;t<s.length;t++)e=s[t].toUpperCase(),"boolean"!=typeof i[e]?(r.push(e),i[e]=n):n||(i[e]=!1)}for(r.sort(),o=0;o<r.length;o++){let e=r[o];n+=i[e]?e:e.toLowerCase()}n+=(f.consentMarketing.brand?"B":"b")+(f.consentMarketing.email?"E":"e")+(f.consentMarketing.wbd?"W":"w"),d&&f.ackTermsEnforce&&(n+=Ge()?"L":"l"),n+="|",te?n+=V:ne?n+=H:se&&f.aceOtherGpp?n+=V:je()&&(n+=re)}n.length>0&&(l&&c==n||(s=!0,c=n,l=new Date,a=e.btoa(l.toISOString()+n)))}catch(e){ce("error","Failed to generate ACE string!",e),s=!1}return s?(w&&ce("debug","New/updated ACE string (src): ",l.toISOString()+c),_e("aceStringChanged",{region:f.regId,time:l,oldAce:t,newAce:a})):w&&ce("debug","ACE string unchanged."),s}function Xe(){let n=function(n,s,o){let i,r,a=t.createElement(o||"div");return n&&(a.id=n),s&&(a.className=s),a.style.width="1px",a.style.display="block",a=t.body.appendChild(a),i=e.getComputedStyle(a),r="none"===i.display,a.remove(),r};t.body?(G=n("onetrust-consent-sdk","ot-cookie-consent")||n("ot-lst-cnt","ot-sdk-show-settings")||n("onetrust-pc-sdk","otPcCenter ot-fade-in")||n("ot-pc-header","onetrust-pc-dark-filter")||n("ot-pc-content","ot-pc-scrollbar")||n("ot-sdk-btn","ot_cookie_settings_btn")||!1)&&(w&&ce("debug","OneTrust being blocked by filter."),_e("oneTrustBlocked",{region:f.regId,time:new Date,consentConfirmed:C,otId:m,otVers:O})):setTimeout(Xe.bind(e),5)}function $e(t,n){w&&ce("debug","Page reload triggered because of "+t+(n?" (waiting "+n.toString(10)+")":"")),_e("userConsentReload",{region:f.regId,reason:t}),setTimeout((()=>{e.location.reload()}),n??1)}function Ze(n){if(!e.frames[n]){if(t.body){const e=t.createElement("iframe");e.style.cssText="display:none",e.name=n,t.body.appendChild(e)}else setTimeout(Ze.bind(e,n),5);return!0}return!1}function et(t){let n=null;for(let s=e;s;s=s.parent){try{if(s.frames&&s.frames[t]){n=s;break}}catch(e){}if(s===e.top)break}return n}function tt(t){e.addEventListener("message",t,!1)}function nt(e){_=e||{ccpaTCS:re,consentInteractions:T,consentTime:y,consentVersion:O,countryCode:P,dataStore:f.catDataStore&&void 0!==b[f.catDataStore]?b[f.catDataStore]&&!xe()?"2":"1":"0",region:f.regId,stateCode:D,termsAcked:Me()?Ge()?"2":"1":"0",testDevelop:f.catTestDevelop&&void 0!==b[f.catTestDevelop]?b[f.catTestDevelop]&&!xe()?"2":"1":"0",userConsentVersion:Y},He()&&!f.useExternalConfig&&de(f.controlCookie,"ccc="+_.countryCode+"&csc="+_.stateCode+"&cic="+_.consentInteractions+"&otvers="+_.consentVersion+"&pctm="+(_.consentTime&&encodeURIComponent(_.consentTime.toISOString())||"0")+"&reg="+_.region+"&ustcs="+encodeURIComponent(_.ccpaTCS)+"&tos="+(_.termsAcked||"0")+"&ds="+(_.dataStore||"0")+"&td="+(_.testDevelop||"0")+"&vers="+_.userConsentVersion,{domain:f.cookieDomain,path:"/",expires:me(f.consentExpireIn).toUTCString(),samesite:f.cookieSameSite,secure:f.cookieSecure})}function st(){const t=le(f.confirmCookie);if("string"==typeof t&&0!==t.length){let n=new Date(t);if(!e.isNaN(n.valueOf()))return n}return null}function ot(t){const n=st(),s=C,o=y,i=e.OneTrust&&"function"==typeof e.OneTrust.GetDomainData?e.OneTrust.GetDomainData():null;
1let c,l=!1,p=!1,h="";if(i)try{h=i.ConsentIntegrationData.consentPayload.dsDataElements.InteractionType}catch(e){h=""}n&&(null===y||n>y)&&(C=!0,y=n),t&&!te&&(t=""),c=Ve(t);for(let e of r)if(c[e]!==b[e]&&(l=!0,!0!==c[e])){p=!0;break}if(l||!s&&C){const n=e.WBD.UserConsent_wrapproc>0?new Date(e.WBD.UserConsent_wrapproc):null;let s;if(T++,n&&(null===y||n.getTime()>y.getTime()+f.consentChangeActionDelay+1e3)&&(y=n),s=b,b=c,Qe(),te&&ke(t,c),Je(),nt(),l){if(w)try{E.push({ts:new Date,act:"CHG",desc:JSON.stringify(c),res:f.reloadOnConsentChange||f.reloadOnConsentReduction&&p,note:"function"==typeof f.consentChangeAction?"change function":""})}catch(e){ce("error","Failed to track consent change: ",e)}if("function"==typeof f.consentChangeAction&&f.consentChangeAction(Ue(),f.regId,O,s),_e("userConsentChanged",{region:f.regId,time:y,otId:m,otVers:O,otIact:h,old:s,new:Ue(),gpcActive:J,gpp:V,gppCmpId:R,gppVers:U,usp:re,tcf:H,tcfVers:j,acf:g,ace:a,ack:Ge()}),f.reloadOnConsentChange||p&&f.reloadOnConsentReduction)$e("consent-change",500);else if(He())try{e.sessionStorage.setItem("_ucWBDCons",JSON.stringify({consentState:b,consentTime:y,consentVersion:O,consentConfirmed:C,gppString:V,tcString:H,acString:g,aceString:a,inAckTermsRegion:d,ackTime:u})),e.postMessage("_ucWBDConsReset","*")}catch(e){ce("error","Failed to update session storage and notify children of consent change: ",e)}}}if(!l&&e.WBD.UserConsent_optLoaded){try{E.push({ts:new Date,act:"NCC",desc:JSON.stringify(b),res:!1,note:f.regId})}catch(e){ce("error","Failed to track consent no-change: ",e)}y=o,_.region===f.regId&&_.consentVersion===O&&_.userConsentVersion===Y||nt(),_e("userConsentNotChanged",{region:f.regId,time:y,otId:m,otVers:O,otIact:h,new:Ue(),gpcActive:J,gpp:V,gppCmpId:R,gppVers:U,usp:re,tcf:H,tcfVers:j,acf:g,ace:a,ack:Ge()})}e.WBD.UserConsent_optLoaded=!0,e.WBD.UserConsent_wrapproc=0}function it(n){let o,i,c,l,m=null,R=!1,U=!1,G=null;if(null!==b)return;if(!n||!n.domId||!n.cookieDomain)throw new Error("Invalid config passed to user-consent!");if(n.regId="",l=et("_usrConWBD"),null!==l)if(e===e.top)ce("error","Detected an instance of UserConsent in an iframe acting as the primary instance.  This was likely caused by a delay in this instance initializing, which must be corrected.  Consent is not working correctly!");else{let t,s;A=e.name||"child";try{t=JSON.parse(e.sessionStorage.getItem("_ucWBDConf"))}catch(e){t=null,ce("error","Failed to parse parent frame consent settings.")}if("object"==typeof t&&null!==t){n.ackTermsEnforce=t.ackTermsEnforce,n.ackTermsMinTime=t.ackTermsMinTime,n.ackTermsRegions=t.ackTermsRegions,n.countryCode=t.countryCode,n.cookieDomain=t.cookieDomain,n.cookieSameSite=t.cookieSameSite,n.cookieSecure=t.cookieSecure,n.domId=t.domId,n.languageFromBrowser=!!t.langFromBrowser,n.enableDebug=!!t.enableDebug,n.enableGPC=!!t.enableGPC,n.regId=t.regId,n.stateCode=t.stateCode,n.src=t.src;try{s=JSON.parse(e.sessionStorage.getItem("_ucWBDCons"))}catch(e){s=null,ce("error","Failed to parse parent frame consent state.")}"object"==typeof s&&null!==s&&(b=s.consentState,y=s.consentTime,O=s.consentVersion,C=s.consentConfirmed,V=s.gppString,H=s.tcString,g=s.acString,a=s.aceString,d=s.inAckTermsRegion,u=s.ackTime,q=!0),t.parentReload||tt((function(t){var n,s;if("_ucWBDConsReset"===t.data){try{s=JSON.parse(e.sessionStorage.getItem("_ucWBDCons"))}catch(e){s=null}"object"==typeof s&&null!==s&&(n=function(e,t){if(e&&t)for(let n=0;n<r.length;n++)if(e[r[n]]&&!t[r[n]])return!0;return!1}(b,s.consentState),f.reloadOnConsentChange||n&&f.reloadOnConsentReduction?$e("consent-changed",600+f.consentChangeActionDelay):(b=s.consentState,y=s.consentTime,O=s.consentVersion,C=s.consentConfirmed,V=s.gppString||"",H=s.tcString||"",g=s.acString||"",d=!!s.inAckTermsRegion,u=s.ackTime||new Date(0),Qe()))}}))}}if("object"!=typeof n.gppCategories||null===n.gppCategories)n.gppCategories=ae.gppCategories;else{for(c in n.gppCategories)"usnatv1"===c?(n.gppCategories.usnat=n.gppCategories.usnatv1,delete n.gppCategories.usnatv1):"uspnatv1"===c?(n.gppCategories.uspv1=n.gppCategories.uspnatv1,delete n.gppCategories.uspnatv1):s[c]||(ce("error",'Error: Unsupported GPP section "'+c+'" ignored.'),delete n.gppCategories[c]);for(c in ae.gppCategories)n.gppCategories[c]=n.gppCategories[c]||ae.gppCategories[c]}for(c in ae)f[c]=void 0!==n[c]?n[c]:ae[c];ae=null,f.cookieDomain=n.cookieDomain,f.domId=n.domId,f.changeRegions=n.changeRegions;const F=Ie("wmuc_debug");if((w=!!(n.enableDebug||""===F||F&&F.search(/^[1Tt]/)>=0))&&ce("debug","Initializing UserConsent v4.2.9 ("+f.ucFlavor+")"),f.strictIabCompliance=!!f.strictIabCompliance,"string"==typeof n.countryCode&&2===n.countryCode.length&&(f.countryCode=n.countryCode),"string"==typeof n.stateCode&&2===n.stateCode.length&&(f.stateCode=n.stateCode),""!==f.gpcFixCookie&&function(t){if(void 0===e.navigator.globalPrivacyControl&&t){const n=le(t);if(n&&("1"===n||n.startsWith("t")))try{Object.defineProperty(e.Navigator.prototype,"globalPrivacyControl",{get:function(){return!0},configurable:!0,enumerable:!0})}catch(e){ce("error","GPC signal error in browser.")}}}(f.gpcFixCookie),"object"==typeof e.GetExternalConsent&&null!==e.GetExternalConsent&&"function"==typeof e.GetExternalConsent.oneTrustCookie){let t;try{t=JSON.parse(e.GetExternalConsent.oneTrustCookie())}catch(e){t=null}"object"==typeof t&&null!==t&&void 0!==t.consentedDate&&(t.gppString||t.tcString||t.groups)&&(t.gppString=t.gppString||"",e.OTExternalConsent=t),"function"==typeof e.GetExternalConsent.ackTermsTime?e.OTExternalConsent.ackTermsTime=e.GetExternalConsent.ackTermsTime()||"":void 0!==t.ackTermsTime&&(e.OTExternalConsent.ackTermsTime=t.ackTermsTime||""),!e.OTExternalConsent.countryCode&&"function"==typeof e.GetExternalConsent.countryCode&&e.GetExternalConsent.countryCode()&&(e.OTExternalConsent.countryCode=e.GetExternalConsent.countryCode(),e.OTExternalConsent.stateCode=e.GetExternalConsent.stateCode())}f.enableWebViewCheck&&"object"==typeof e.OTExternalConsent&&null!==e.OTExternalConsent&&void 0!==e.OTExternalConsent.consentedDate&&(e.OTExternalConsent.groups||e.OTExternalConsent.gppString||e.OTExternalConsent.tcString)?(f.useExternalConsent=!0,f.ackTermsWebViewEnable?e.OTExternalConsent.ackTermsTime?u=new Date(e.OTExternalConsent.ackTermsTime):!f.ackTermsWebViewConsentTime||"string"!=typeof e.OTExternalConsent.consentedDate&&"[object Date]"!==Object.prototype.toString.call(e.OTExternalConsent.consentedDate)?f.ackTermsWebViewAuto&&(u=new Date(8888888888e3)):u=new Date(e.OTExternalConsent.consentedDate):u=new Date(8888888888e3),w&&ce("debug","Reading consent from external 
1consent data: ",e.OTExternalConsent)):f.useExternalConsent=!1;const j="function"==typeof f.geoCheckFunction?f.geoCheckFunction():null,Y=Ie("wmuc_cc"),re=Ie("wmuc_sc");if(He()&&w&&Y&&Y.search(/^[A-Za-z]{2}$/)>=0)ce("debug","Set debug CC to: ",P=Y.toUpperCase());else if(f.useExternalConsent&&"string"==typeof e.OTExternalConsent.countryCode&&2===e.OTExternalConsent.countryCode.length)ce("debug","Set external CC to: ",P=e.OTExternalConsent.countryCode.toUpperCase());else if("string"==typeof f.countryCode&&2===f.countryCode.length)P=f.countryCode.toUpperCase();else if(j&&j.countryCode&&2===j.countryCode.length)P=j.countryCode.toUpperCase();else{const e=le(f.ccCookie||"countryCode");e&&2===e.length&&(P=e.toUpperCase())}if(P&&2===P.length||ce("error","User-Consent unable to determine country, missing or invalid cookies!  Using default ("+(P=f.defaultCountry&&2==f.defaultCountry.length?f.defaultCountry.toUpperCase():"US")+")."),He()&&w&&re&&re.search(/^[A-Za-z]{2}$/)>=0)ce("debug","Set debug SC to: ",D=re.toUpperCase());else if(f.useExternalConsent&&"string"==typeof e.OTExternalConsent.stateCode&&2===e.OTExternalConsent.stateCode.length)ce("debug","Set external SC to: ",D=e.OTExternalConsent.stateCode.toUpperCase());else if("string"==typeof f.stateCode&&2===f.stateCode.length)D=f.stateCode.toUpperCase();else if(j&&j.countryCode&&2===j.countryCode.length)D="string"==typeof j.stateCode?j.stateCode.toUpperCase():"";else{const e=le(f.scCookie||"stateCode");e&&2===e.length&&(D=e.toUpperCase())}if(D&&2===D.length||(D=f.defaultState&&f.defaultState.length>0?f.defaultState.toUpperCase():"",w&&ce("debug","User-Consent unable to determine state/region.  Using default ("+D+").")),v=P+(2===D.length?":"+D:""),He()&&w){const e=Ie("wmuc_otconsent");"allowall"!==e&&"rejectall"!==e||(f.otSimAct=e)}const de=Ie("wmuc_bot");if(w&&de&&de.search(/^[0-9]+$/)>=0?(o=de,ce("debug","Set debug Bot state to: ",o)):"number"==typeof f.botState?o=Math.trunc(f.botState).toString(10):f.botStateCookie&&(o=le(f.botStateCookie)),o?((p=Number.parseInt(o,10))<0&&(p=0),w&&ce("debug","Bot state: 0b"+p.toString(2))):p=0,f.ackTermsMinTime=f.ackTermsMinTime||new Date(9466848e5),f.ackTermsExpireSecs=f.ackTermsExpireSecs||0,f.needAckTermsAction=f.needAckTermsAction||null,He()){if(f.ackTermsRegions){if(u.valueOf()<f.ackTermsMinTime.valueOf()){let e;if((d=Ee(f.ackTermsRegions))&&f.ackTermsCookie){try{let e=le(f.ackTermsCookie);null===e&&(e=localStorage.getItem(f.ackTermsCookie)),null!==e&&(u=new Date(1e3*Number.parseInt(e,16)),ackTermsExpireSecs>0&&Date.now()>u.valueOf()+1e3*ackTermsExpireSecs&&(u=new Date(0)))}catch(e){}u.valueOf()<=0&&0!==p&&f.ackBotsMask&&(u=We()?new Date(9999999999e3):new Date(0));const t=Ie("ack_terms");if(null!==t)if(e=t.toLowerCase(),""===e||"1"===e||e.startsWith("t"))u.valueOf()<f.ackTermsMinTime.valueOf()&&(u=new Date);else if("0"===e||e.startsWith("f"))u=new Date(0);else{let n;try{if(0===e.search(/^\d+$/)){if(e.length<10)throw new Error("Invalid value for Date");n=e.length<12?new Date(1e3*Number.parseInt(e)):new Date(Number.parseInt(e))}else n=new Date(t[2])}catch(e){ce("error","Error processing ack_term query param: ",e,t[2]),n=null}null!==n&&(u=n)}}}w&&ce("debug","Ack Terms required.  Ack Min Time: ",f.ackTermsMinTime.toISOString(),"\nUser Ack Time: ",u.valueOf()>0?u.toISOString():"0"),f.needAckTermsAction&&!1===Ge()&&(m=Le(f.needAckTermsAction))}else w&&ce("debug","Ack Terms not required.");!0===Ge()&&Fe(),!M&&f.geoPassedToOneTrust&&(e.OneTrust=e.OneTrust||{},e.OneTrust.geolocationResponse={countryCode:P,stateCode:D});let t=function(t){f.geoPassedToOneTrust&&Ae(),x&&!f.useExternalConsent&&null!==b&&0===e.WBD.UserConsent_wrapproc&&(e.WBD.UserConsent_wrapproc=(new Date).getTime(),w&&ce("debug","Consent changed event handler determining consent changes."),te&&oe?e.__gpp("ping",(function(e){e&&e.gppString&&ot(e.gppString)})):setTimeout(ot,f.consentChangeActionDelay))};e.addEventListener("OneTrustGroupsUpdated",t,!1)}i=Object.keys(f.categories),r=[];for(let e=0;e<i.length;e++)r.push(f.categories[i[e]]);if(f.changeRegions){for(let e of["remove","replace","insert"])if(f.changeRegions[e]&&Array.isArray(f.changeRegions[e])&&0!==f.changeRegions[e].length){c=f.changeRegions[e];for(let t=0;t<c.length;t++)if("object"==typeof c[t]&&null!==c[t]&&c[t].id){let n=f.regions.length,s=c[t],o="insert"===e&&s.insertAfter?s.insertAfter:s.id,i=0;e:for(;
1i<n&&(!f.regions[i]||!f.regions[i].id||f.regions[i].id!==o);i++);"remove"===e?i<n&&delete f.regions[i]:"replace"===e?i<n&&(f.regions[i]=s):"insert"===e&&(i<n?s.insertAfter?(delete s.insertAfter,f.regions.splice(i+1,0,s)):f.regions[i]=s:(delete s.insertAfter,f.regions.splice(i+1,0,s)))}}delete f.changeRegions}for(let e=0;e<f.regions.length;e++)if(f.regions[e]&&f.regions[e].id&&f.regions[e].geoMatch){if(He()&&Ee(f.regions[e].geoMatch)||ze()&&f.regions[e].id===n.regId){G=f.regions[e];break}}else ce("error","Invalid region, missing id or geoMatch!");if(!G){if(ze())throw new Error("No matching user-consent region, parent and iframe configs do not match!");throw new Error("No matching user-consent region!")}f.regId=G.id,f.defaultLanguage=(G.defaultLanguage||f.defaultLanguage).toLowerCase();try{let n="";f.languageFromBrowser||(n=t.getElementsByTagName("html")[0].getAttribute("xml:lang")||t.documentElement.lang||f.defaultLanguage),n||(n=e.navigator.language||f.defaultLanguage),z=n?n.substr(0,2).toLowerCase():"en"}catch(e){z="en"}const ue=Ie("wmuc_lang");if(w&&ue&&ue.search(/^[A-Za-z]{2}$/)>=0){const e=ue.toLowerCase();R=z!==e,ce("debug","Set debug Language to: ",z=e)}if(f.aceMapping=G.aceMapping||f.aceMapping||null,f.aceOOF="boolean"==typeof G.aceOOF?req.aceOOF:!!f.aceOOF,f.aceOtherGpp="boolean"==typeof G.aceOtherGpp?req.aceOtherGpp:!!f.aceOtherGpp,f.adCategories=G.adCategories||f.adCategories||[],f.adChoicesLinkAction=G.adChoicesLinkAction||f.adChoicesLinkAction||null,f.adChoicesLinkTitle=Te(G.adChoicesLinkTitle||f.adChoicesLinkTitle),f.affiliatesLinkAction=G.affiliatesLinkAction||f.affiliatesLinkAction||null,f.affiliatesLinkTitle=Te(G.affiliatesLinkTitle||f.affiliatesLinkTitle),f.compatTransition=f.enableTransitionCheck&&G.compatTransition?Array.isArray(G.compatTransition)?G.compatTransition:[G.compatTransition]:(f.compatTransition&&Array.isArray(f.compatTransition)?f.compatTransition:[f.compatTransition])||null,null!==f.compatTransition){for(let e=0;e<f.compatTransition.length;){const t=f.compatTransition[e];!t||"string"!=typeof t.old||0===t.old.length||"string"!=typeof t.new&&!Array.isArray(t.new)||0===t.new.length||void 0!==t.cond&&"boolean"!=typeof t.cond?f.compatTransition.splice(e,1):(Array.isArray(t.new)||(f.compatTransition[e].new=[t.new]),e++)}0===f.compatTransition.length&&(f.compatTransition=null)}f.compatCategories=G.compatCategories||f.compatCategories||{},f.compatCodes=G.compatCodes||f.compatCodes||{},f.consentExpireIn=G.consentExpireIn||f.consentExpireIn||1,f.consentLinkAction=G.consentLinkAction||f.consentLinkAction||null,f.consentLinkTitle=Te(G.consentLinkTitle||f.consentLinkTitle),f.confirmCookie=G.confirmCookie||f.confirmCookie,f.consentCookie=G.consentCookie||f.consentCookie,f.contextAdCategories=G.contextAdCategories||f.contextAdCategories||[],f.addtlConsentCookie=G.addtlConsentCookie||f.addtlConsentCookie,f.reloadOnAckTerms="boolean"!=typeof f.reloadOnAckTerms||f.reloadOnAckTerms,f.reloadOnConsentReduction="boolean"!=typeof f.reloadOnConsentReduction||f.reloadOnConsentReduction,f.nonIabGppSection="string"==typeof f.nonIabGppSection?f.nonIabGppSection.toLowerCase():"",G.consentDefaults&&(f.consentDefaults=Oe(f.consentDefaults,G.consentDefaults)),f.consentNoAckDefaults=f.consentNoAckDefaults||{required:!0};for(let e,t=0;t<r.length;t++)e=r[t],"boolean"!=typeof f.consentNoAckDefaults[e]&&"boolean"==typeof f.consentDefaults[e]&&(f.consentNoAckDefaults[e]=!1);if(f.consentGpcDefaults=G.consentGpcDefaults||f.consentGpcDefaults||null,f.consentImpliedDefaults=G.consentImpliedDefaults||f.consentImpliedDefaults||{},f.consentImpliedDefaults.required||(f.consentImpliedDefaults.required=!0),f.consentNotApplicable=G.consentNotApplicable||f.consentNotApplicable||[],f.consentNotApplicable&&Array.isArray(f.consentNotApplicable)&&0!==f.consentNotApplicable.length)for(let e of f.consentNotApplicable)void 0!==f.consentDefaults[e]&&delete f.consentDefaults[e],void 0!==f.consentImpliedDefaults[e]&&delete f.consentImpliedDefaults[e];if(f.consentMarketing=G.consentMarketing||f.consentMarketing||{brand:!1,email:!1,wbd:!1},f.useFixedConsent="boolean"==typeof G.useFixedConsent?G.useFixedConsent:!!f.useFixedConsent,f.domId=G.domId||f.domId,f.src=G.src||f.src,f.gdprIabCookie=G.gdprIabCookie||f.gdprIabCookie,f.tcfOpts=G.tcfOpts||f.tcfOpts||null,f.privacyCenterLinkAction=G.privacyCenterLinkAction||f.privacyCenterLinkAction||null,f.privacyCenterLinkTitle=Te(G.privacyCenterLinkTitle||f.privacyCenterLinkTitle),f.rightsRequestLinkAction=G.rightsRequestLinkAction||f.rightsRequestLinkAction||null,f.rightsRequestLinkTitle=Te(G.rightsRequestLinkTitle||f.rightsRequestLinkTitle),f.useIAB&&(f.iabRegion=("string"==typeof G.iabRegion&&G.iabRegion||f.iabRegion).toLowerCase(),"ccpa"===f.iabRegion?Z=!0:"gdpr"===f.iabRegion&&f.tcfOpts?(ee=!0,ne=!0):f.iabRegion&&"gpp"
1!==f.iabRegion&&ce("error",'Error: Invalid IAB region "'+f.iabRegion+'" specified for region "'+f.regId+'", IAB not enabled for region!')),f.useGPP&&(f.gppSection=("string"==typeof G.gppSection&&G.gppSection||f.gppSection).toLowerCase(),f.gppSection="usnat"===f.gppSection||"usnatv1"===f.gppSection?"usnat":"uspv1"===f.gppSection||"uspnatv1"===f.gppSection?"uspv1":f.gppSection,f.gppSection?s[f.gppSection]&&f.gppCategories[f.gppSection]?(te=!0,Z&&f.ccpaGeos&&!Ee(f.ccpaGeos)&&(Z=!1),"tcfeuv2"!==f.gppSection&&"tcfcav1"!==f.gppSection||(ne=!0)):ce("error",'Error: Invalid GPP section "'+f.gppSection+'" specified for region "'+f.regId+'", IAB/GPP not enabled for region!'):!f.iabRegion&&!f.useFixedConsent&&f.nonIabGppSection&&s[f.nonIabGppSection]&&f.gppCategories[f.nonIabGppSection]&&(se=!0,f.iabRegion="",f.useIAB=!1,w&&ce("debug","IAB disabled, using internal-only GPP."))),te||Z||ee||se||(f.iabRegion="",f.gppSection="",f.useIAB=!1,f.useGPP=!1),f.enableGPC&&f.consentGpcDefaults){let e=Ie("wmuc_gpc");null!==e&&(e=e.length<=0?"t":e.charAt(0).toLowerCase()),J=!!(null===e&&navigator.globalPrivacyControl||null!==e&&"0"!==e&&"f"!==e&&"n"!==e)}if(f.setPageClass&&t.documentElement&&(t.documentElement.className=(t.documentElement.className&&" "!==t.documentElement.className?t.documentElement.className+" userconsent-cntry-":"userconsent-cntry-")+P.toLowerCase()+" userconsent-state-"+D.toLowerCase()+" userconsent-reg-"+f.regId.toLowerCase()+(J?" userconsent-gpc":"")+(Ge()?" userconsent-show-terms":"")),w&&(ce("debug","GeoIP Country Code: "+P+", using consent region: "+f.regId),ce("debug","IAB "+(f.useIAB?"enabled":"disabled"))),te||se||ee&&!H&&f.gppCategories.tcfeuv2)if(e.__gpp=function(){return null},k=new Be(1,1),te){const t=Object.keys(s);let n=[];k.setCmpStatus("loading");for(let e=0;e<t.length;e++)n.push(s[t[e]].toString(10)+":"+t[e]);k.setSupportedAPIs(n),L=e.__gpp}else delete e.__gpp,e.__gpp=null;if((te||Z||ee||f.ccpaGeos)&&function(){let t,n,s=function(e,t){const n="string"==typeof t.data,s=e+"Return";let o,i;try{o=n?JSON.parse(t.data):t.data}catch(e){o={}}if(i=o[s],i&&void 0!==i.callId&&"function"==typeof S[i.callId]){const e=i.callId,t=i.returnValue;try{t&&"number"==typeof t.listenerId&&!0===i.success?(w&&ce("debug","Calling post message callback "+e+" (listenerId: "+t.listenerId+")"),N[t.listenerId]=e,S[e](t,i.success)):(w&&ce("debug","Calling post message callback ",e),S[e](t,i.success),delete S[e])}catch(t){ce("error","Post message callback error (callId "+e+"): ",t)}}else i&&ce("error","Post message bad or missing callback (callId "+i.callId+").")},o=function(t,n){const s="string"==typeof n.data,o=t+"Call";let i,r={},a=function(e,o){let i={};i[t+"Return"]={returnValue:e,success:o,callId:r.callId};try{n.source.postMessage(s?JSON.stringify(i):i,"*")}catch(e){ce("error","Failed to post reply: ",e)}};try{i=s?JSON.parse(n.data):n.data}catch(e){i={}}"object"==typeof i&&null!==i&&i[o]&&(r=i[o],"__gpp"===t?e.__gpp(r.command,a,r.parameter,r.version):e[t](r.command,r.version,a,r.parameter))};null===(ie=et("__uspapiLocator"))?(Ze("__uspapiLocator"),e.__uspapi=function(t,n,s){if("function"==typeof s){if(n=0===n?1:n,"getUSPData"===t&&1===n){try{s({version:1,uspString:e.WBD.UserConsent.getUspAPIstring()},!0)}catch(e){return ce("error",'Callback function failure in "getUSPData": ',e),!1}return!0}if("ping"===t){try{s({version:1,uspapiLoaded:!0},!0)}catch(e){return ce("error",'Callback function failure in USP "ping": ',e),!1}return!0}try{s(null,!1)}catch(e){ce("error","Callback function failure in USP with bad command: ",e)}}return!1},e.__uspapi.msgHandler=o.bind(e,"__uspapi"),tt(e.__uspapi.msgHandler),ze()?ce("error","Unable to locate USP messaging frame from iframe!  Consent logic may not work correctly!"):w&&ce("debug","IAB for CCPA ready.")):(e.__uspapi=function(e,t,n,s){const o=h++,i={__uspapiCall:{command:e,parameter:s,version:t||1,callId:o}};S[o]=n,ie.postMessage(i,"*")},e.__uspapi.postHandler=s.bind(e,"__uspapi"),tt(e.__uspapi.postHandler),w&&ce("debug","IAB for CCPA ready (via frame).")),ee&&(t="__tcfapi",n="2.0",null===(K=et(t+"Locator"))&&"function"!=typeof e[t]?(Ze(t+"Locator"),e[t]=function(){let s=arguments;if(e[t].a=e[t].a||[],s.length>0)if("ping"===s[0]){if("function"==typeof s[2])try{s[2]({apiVersion:n,gdprApplies:!0,gdprAppliesGlobally:!1,cmpLoaded:!1,cmpStatus:"stub",displayStatus:"hidden"},!0)}catch(e){ce("error",t+' "ping" callback function error: ',e)}}else"setGdprApplies"===s[0]&&s.length>3&&"boolean"==typeof s[3]?(ee=s[3])&&Z&&(Z=!1):e[t].a.push([].slice.apply(s));return e[t].a},e[t].msgHandler=o.bind(e,t),tt(e[t].msgHandler),ze()?ce("error","Unable to locate TCF messaging frame from iframe!  Consent logic may not work correctly!"):w&&ce("debug","IAB (v"+n+") for GDPR ready."),e[t]("addEventListener",2,(function(n,s){s&&n&&(w&&ce("debug",t+' event caught, eventStatus = "'+n.eventStatus+'"'),!e.OneTrust||"function"!=typeof e.OneTrust.GetDomainData||"tcloaded"!==n.eventStatus&&"cmpuishown"!==n.eventStatus||e.OptanonWrapper(),void 0===typeof n.listenerId||"error"!==n.cmpStatus&&"loaded"!==n.cmpStatus||e[t]("removeEventListener",2,(function(e){}),n.listenerId))}))):K&&(e.__tcfapi=function(e,t,n,s){const o=h++,i={__tcfapiCall:{command:e,parameter:s,version:t||2,callId:o}};S[o]=n,K.postMessage(i,"*"),"removeEventListener"===e&&"number"==typeof s&&void 0!==N[s]&&S[N[s]]&&(delete S[N[s]],delete N[s])},e.__tcfapi.postHandler=s.bind(e,"__tcfapi"),tt(e.__tcfapi.postHandler),w&&ce("debug","IAB (v"+n+") for GDPR ready (via frame)."))),te&&(t="__gpp",n="1.1",null===($=et("__gppLocator"))?e.__gpp?(Ze("__gppLocator"),e.__gpp.msgHandler=o.bind(e,"__gpp"),tt(e.__gpp.msgHandler),ze()?ce("error","Unable to locate GPP messaging frame from iframe!  Consent logic may not work correctly!"):w&&ce("debug","IAB for GPP ready.")):(te=!1,
1ce("error","Failed to attach __gpp to iframe!  Consent logic may not work correctly!  GPP disabled.")):null!==$&&(e.__gpp=function(e,t,s,o){const i=h++,r={__gppCall:{command:e,parameter:s,version:o||n,callId:i}};S[i]=t,$.postMessage(r,"*"),"removeEventListener"===e&&"number"==typeof s&&void 0!==N[s]&&S[N[s]]&&(delete S[N[s]],delete N[s])},e.__gpp.postHandler=s.bind(e,"__gpp"),tt(e.__gpp.postHandler),w&&ce("debug","IAB for GPP ready (via frame).")))}(),He()){let t;if(_=function(){const e=le(f.controlCookie),t={ccpaTCS:"",consentInteractions:T,consentTime:null,consentVersion:"",countryCode:"",dataStore:"0",region:"",stateCode:"",testDevelop:"0",userConsentVersion:""};if("string"==typeof e&&0!==e.length){const n=e.split("&");for(let e=0;e<n.length;e++){let s=n[e].split("=");if("string"==typeof s[0]&&0!==s[0].length&&"string"==typeof s[1])switch(s[0]){case"ccc":t.countryCode=s[1].toLowerCase();break;case"csc":t.stateCode=s[1].toLowerCase();break;case"cic":t.consentInteractions=Number.parseInt(s[1],10),(isNaN(t.consentInteractions)||t.consentInteractions<T)&&(t.consentInteractions=T);break;case"ds":t.dataStore=s[1]||"0";break;case"otvers":t.consentVersion=s[1].toLowerCase();break;case"pctm":let e;try{e="0"===s[1]?null:new Date(decodeURIComponent(s[1]))}catch(t){e=null}t.consentTime=null===e||isNaN(e.valueOf())?null:e;break;case"reg":t.region=s[1].toLowerCase();break;case"td":t.testDevelop=s[1]||"0";break;case"tos":t.termsAcked=s[1]||"0";break;case"ustcs":try{t.ccpaTCS=decodeURIComponent(s[1]).toUpperCase()}catch(e){t.ccpaTCS=""}break;case"vers":t.userConsentVersion=s[1].toLowerCase()}}}return t}(),T=_.consentInteractions,f.useExternalConsent)if(!e.OTExternalConsent.consentedDate||"string"!=typeof e.OTExternalConsent&&"[object Date]"!==Object.prototype.toString.call(e.OTExternalConsent.consentedDate))y=null,w&&ce("debug","Consent Date from external consent data is unset, using defaults.");else try{y=new Date(e.OTExternalConsent.consentedDate),J=!1,w&&ce("debug","Consent time read from external consent data: ",y)}catch(e){y=null,ce("error","Consent Date from external consent data is invalid.")}else y=st(),null!==_.consentTime&&(null===y||_.consentTime>y)?(y=_.consentTime,w&&ce("debug",'Consent time read from "'+f.controlCookie+'": ',y)):null!==y&&w&&ce("debug",'Consent time read from "'+f.confirmCookie+'": ',y);if(t=w&&J?" [GPC override]":"",null!==y?(C=!0,b=Ve(),C?(null!==_.consentTime&&_.consentTime<y&&(_.region=""),w&&(ce("debug","Consent state read from "+I+" ("+O+")"+t+": ",b),Q&&ce("debug","Consent state using compatibility config."))):(y=null,_.region="",w&&ce("debug","Consent state expired or removed, reset from defaults"+t+": ",b))):(b=ye(f.consentDefaults),J&&(b=Oe(b,f.consentGpcDefaults)),w&&ce("debug","Consent state from defaults"+t+": ",b)),te&&!V)ke("",b);else if(se&&!ee)!function(e,t,n){const s=n||f.userOtherGppSection;!se||(ke("",b,s)&&V.length>0?(X&&we(f.gppIabCookie,V),w&&ce("debug","Generated GPP (other) string: ",V)):V="",V.length<=0&&ce("error","Failed to generate temp. GPP (other) string."))}(0,0,f.nonIabGppSection);else if(ee&&!te&&!H&&f.gppCategories.tcfeuv2){f.gppSection="tcfeuv2",ke("",b);try{if(!(H=k.getSectionString("tcfeuv2")))throw new Error("Unknown");w&&ce("debug","Generated temp. TC string: ",H)}catch(e){ce("error","Failed to generate temp. TC string: ",e),H=""}V="",delete e.__gpp,k=null}if(w)try{E.push({ts:new Date,act:"SET",desc:JSON.stringify(b),res:null!==y,note:f.regId})}catch(e){ce("error","Failed to track setting initial consent: ",e)}Je()}if(e.WBD.UserConsent_initted)return void ce("error","ERROR:  Second instance of UserConsent initialized!");if(e.WBD.UserConsent_initted=!0,Qe(),He()&&(f.useExternalConsent?nt():_.region&&_.region!==f.regId&&(ge=_.region,pe=f.regId,w&&ce("debug",'User-Consent detected region change from "'+ge+'" to "'+pe+'".'),"function"==typeof f.regionChangeAction&&f.regionChangeAction(ge,pe,f.consentLinkAction)),null===l))if(Ze("_usrConWBD")){w&&ce("debug","Setup UserConsent IPC frame.");try{e.sessionStorage.setItem("_ucWBDConf",JSON.stringify({ackTermsEnforce:f.ackTermsEnforce,ackTermsMinTime:f.ackTermsMinTime,ackTermsRegions:f.ackTermsRegions,cookieDomain:f.cookieDomain,cookieSameSite:f.cookieSameSite,cookieSecure:f.cookieSecure,countryCode:P,domId:f.domId,enableDebug:w,langFromBrowser:f.languageFromBrowser,parentReload:f.reloadOnConsentChange,regId:f.regId,src:f.src,stateCode:D})),e.sessionStorage.setItem("_ucWBDCons",JSON.stringify({consentState:b,consentTime:y,consentVersion:O,consentConfirmed:C,gppString:V,tcString:H,acString:g,aceString:a,inAckTermsRegion:d,ackTime:u}))}catch(e){he.uclog("error","Failed to set UserConsent frame data!")}}else ce("error","Failed to setup UserConsent IPC frame!");var ge,pe;U=!("interactive"===t.readyState||"complete"===t.readyState);const he={isTop:He,uclog:ce},Se={aceString:a,ackAction:m,ack:!!Ge(),acString:g,config:f,consentState:b,consentTime:y,consentVersion:O,consentConfirmed:C,dbg:w,forceLang:R,geoCountry:P,geoState:D,gppString:V,pageLang:z,tcString:H,ucFrame:l,usingGpc:J,waitingForInteractive:U},fe=function(e,t,n,s,o){if(!o||o&&("interactive"===t.readyState||"complete"===t.readyState)){if(s.waitingForInteractive&&t.removeEventListener("readystatechange",fe,!1),s.config.setPageClass&&!t.documentElement.className.toString().includes("userconsent-cntry-")&&(t.documentElement.className=(t.documentElement.className&&" "!==t.documentElement.className?t.documentElement.className+" userconsent-cntry-":"userconsent-cntry-")+s.geoCountry.toLowerCase()+" userconsent-state-"+s.geoState.toLowerCase()+" userconsent-reg-"+s.config.regId.toLowerCase()+(s.usingGpc?" userconsent-gpc":"")+(s.ack?" userconsent-show-terms":"")),Xe(),n.isTop()){m&&setTimeout(actAction,100);const o=t.createElement("script");e.WBD.UserConsent_wait=setTimeout(e.OptanonWrapper.bind(e,!0),s.config.oneTrustLoadTimeout),s.consentConfirmed&&(o.async=!0),o.charset="utf-8",s.config.languageFromBrowser&&!s.forceLang||(o.dataset.documentLanguage="true",s.forceLang&&(o.dataset.language=s.pageLang)),o.dataset.domainScript=s.config.domId,o.type="text/javascript",o.onerror=function(e){B=!0,Ne(1)},o.onload=function(e){W=!0,w&&ce("debug","OneTrust Stub loaded.")},s.dbg&&n.uclog("debug","Loading OneTrust."),o.src=s.config.src,t.head?t.head.appendChild(o):t.body.appendChild(o)}}else w&&ce("debug","Page ready state not yet interactive: ",t.readyState)}.bind(this,e,t,he,Se);U?t.addEventListener("readystatechange",fe,!1):(w&&"complete"===t.readyState&&ce("debug",'Page ready state already "complete", UserConsent invoked late!'),setTimeout(fe,1)),w&&te&&e.__gpp&&e.__gpp("addEventListener",(function(e,t){ce("debug","GPP event: ",e)}
1)),w&&ce("debug","Dispatching UserConsentReady event."),_e("userConsentReady",{region:f.regId,time:new Date,consentConfirmed:C})}return e.WBD.UserConsent_loaded?ce("error","ERROR:  Second instance of UserConsent loaded!"):(e.WBD.UserConsent_loaded=!0,e.WBD.UserConsent_optLoaded=!1,e.WBD.UserConsent_wrapproc=0,e.WBD.UserConsent_wait=-1,e.OptanonWrapper=function(t){if(!x&&!B){e.WBD.UserConsent_optLoaded=!0;let n=function(){x&&(m="function"==typeof e.OneTrust.getDataSubjectId&&e.OneTrust.getDataSubjectId()||m,w&&ce("debug","Dispatching oneTrustLoaded event."),_e("oneTrustLoaded",{region:f.regId,time:new Date,consentConfirmed:C,otId:m,otVers:O}),_e("optanonLoaded",{region:f.regId,time:new Date,consentConfirmed:C,otId:m,otVers:O}),f.useExternalConsent&&!e.OneTrust.IsAlertBoxClosed()&&e.Optanon.Close(),f.otSimAct&&("rejectall"===f.otSimAct?e.OneTrust.RejectAll():"allowall"===f.otSimAct&&e.OneTrust.AllowAll())),Object.defineProperty(window,"OptanonWrapper",{value:function(){},writable:!0})};if(e.WBD.UserConsent_wait>=0&&(clearTimeout(e.WBD.UserConsent_wait),e.WBD.UserConsent_wait=-1),!e.OneTrust||"function"!=typeof e.OneTrust.GetDomainData){const n=W?e.OneTrustStub&&e.OneTrustStub.otSdkStub?t?3:4:2:1;return x=!1,Ne(n),void Object.defineProperty(window,"OptanonWrapper",{value:function(){},writable:!0})}if(x=!0,f.geoPassedToOneTrust&&Ae(),!f.useExternalConsent&&Re()&&nt(),te){if("function"!=typeof e.__gpp&&(e.__gpp=L,"function"!=typeof e.__gpp))return te=!1,k&&(k.setCmpStatus("error"),k.fireErrorEvent("CMP did not initialize GPP for this region.")),ce("error","OneTrust GPP for this region is broken and UCL fallback failed to initialize.  Disabling use of GPP."),void n();e.__gpp("ping",(function(t){if(!t||t.cmpId!==R&&28!==t.cmpId)te=!1,k&&(k.setCmpStatus("error"),k.fireErrorEvent("CMP did not initialize GPP for this region.")),w&&ce("debug","OneTrust GPP for this region is broken.  Disabling use of GPP.");else if(1===t.cmpId)oe=!1,k?(w&&ce("debug","OneTrust did NOT initialize GPP for this region.  Using GPP from UserConsent."),k.setCmpStatus("loaded"),k.fireEvent("cmpStatus","loaded"),k.setSignalStatus("ready"),k.fireEvent("signalStatus","ready")):(te=!1,w&&ce("debug","OneTrust did NOT initialize GPP for this region.  UserConsent GPP failed to initialize.  Disabling use of GPP."));else{const n=t.cmpStatus;R=t.cmpId,oe=!0,t.gppVersion&&"1.0"===t.gppVersion&&(t=e.__gpp("getGPPData")),t&&t.gppString&&(U=t.gppVersion,t.gppString!==V&&(ke(t.gppString,null),Je())),w&&ce("debug",'OneTrust GPP initialized (status "'+n+'").')}"function"==typeof e.__gpp&&Object.defineProperty(window,"__gpp",{writable:!1,configurable:!1}),n()}))}else n()}},Object.defineProperty(window,"OptanonWrapper",{writable:!1}),"object"==typeof e.WBD.UserConsentConfig&&null!==e.WBD.UserConsentConfig?it(e.WBD.UserConsentConfig):"object"==typeof e.WM.UserConsentConfig&&null!==e.WM.UserConsentConfig&&it(e.WM.UserConsentConfig)),{ackTerms:function(t,n){let s,o=Ge();if(u=t&&t instanceof Date?t:new Date,s=Ge(),!0!==o&&!0===s&&(Fe(),e.WBD.UserConsent_initted&&(nt(),Je()),_e("ackTermsChanged",{region:f.regId,time:u,geo:v}),f.reloadOnAckTerms)){const t=Ie("ack_terms");t&&("0"===t||t.toLowerCase().startsWith("f"))&&(i.delete("ack_terms"),e.location.search=i.toString()),$e("terms-ack",500)}return s},addScript:function(e,n,s,o){if(e&&(e.src||e.text)){const i={cact:"ADD",name:e.name||e.src||e.id||"unnamed inline"},r=s||t.head,a=o||["*"];if(!Ee(a))return w&&(E.push({ts:new Date,act:"ADD",desc:i.name,res:!1,note:"Not in script region"}),ce("debug","Check for region ["+(a.join(",")||"empty")+'] REJECTS "'+i.name+'", script NOT added')),!1;if(Ke(n,i)){const n=t.createElement("script"),s=Object.keys(e);for(let t=0;t<s.length;t++)n[s[t]]=e[s[t]];return r.appendChild(n),!0}}else ce("error","Invalid or missing options to addScript.");return!1},addScriptElement:function(e,n,s,o){if(e){const i={cact:"ADD",name:e.name||e.src||e.id||"unnamed inline"},r=s||t.head,a=o||["*"];if(!Ee(a))return w&&(E.push({ts:new Date,act:"ADD",desc:i.name,res:!1,note:"Not in script region"}),ce("debug","Check for region ["+(a.join(",")||"empty")+'] REJECTS "'+i.name+'", script NOT added')),!1;if(Ke(n,i))return r.appendChild(e),!0}else ce("error","Invalid or missing options to addScriptElement.");return!1},forceReconsent:function(){He()&&!f.useExternalConfig&&(t.cookie=f.consentCookie+"=; Domain="+f.cookieDomain+"; Path=/; Expires=Thu, 01 Jan 2000 00:00:01 GMT;",t.cookie=f.confirmCookie+"=; Domain="+f.cookieDomain+"; Path=/; Expires=Thu, 01 Jan 2000 00:00:01 GMT;",nt({ccpaTCS:"",consentInteractions:T,consentTime:null,consentVersion:O,countryCode:P,dataStore:"0",regi
1on:f.regId,stateCode:D,termsAcked:"0",testDevelop:"0",userConsentVersion:Y}),$e("force-reconsent",100))},getAceString:function(){return a},getAckTermsEnforced:Me,getAckTermsInRegion:function(){return d},getAckTermsNeeded:xe,getAckTermsState:Ge,getAckTermsTime:function(){return u},getAdChoicesLinkAction:function(){return Le(f.adChoicesLinkAction)},getAdChoicesLinkTitle:function(){return f.adChoicesLinkTitle},getAffiliatesLinkAction:function(){return Le(f.affiliatesLinkAction)},getAffiliatesLinkTitle:function(){return f.affiliatesLinkTitle},getBotInfo:function(){return{ackBotsMasked:We(),status:1&p?"verified":2&p?"fake":"sus",type:0===p?"none":4&p?"test":8&p?"crawler":16&p?"preview":32&p?"ai":""}},getBotState:function(){return p},getCmpString:function(t,n){let s,o,i,r="";if("function"==typeof t)if(n=n||this.getRegion(),f.useIAB){if(te){if("string"==typeof V&&0!==V.length){w&&ce("debug","getCmpString returning GPP CMP string");try{t(n,1,V,"",null)}catch(e){ce("error","Callback error in call to getCmpString (GPP): ",e)}return}s=e.__gpp,o="ping",i=1,r="GPP"}else if(ee){if("string"==typeof H&&0!==H.length){w&&ce("debug","getCmpString returning GDPR v2 CMP string");try{t(n,2,H,g,null)}catch(e){ce("error","Callback error in call to getCmpString (TCF): ",e)}return}s=e.__tcfapi,o="getTCData",i=2,r="TCF"}if(o)try{let e=function(e,t,n,s,o,i){i?(w&&ce("debug","getCmpString returning "+n+" v"+s+" CMP string"),e(t,s,"GPP"===n?o.pingData.gppString:o.tcString,o.addtlConsent?o.addtlConsent:"",null)):(w&&ce("debug","getCmpString returning "+n+" v"+s+" error"),e(t,s,"","",new Error(n+" CMP request failure")))}.bind(this,t,n,r,i);"GPP"===r?s(o,e):s(o,i,e)}catch(e){ce("error","Error in CMP call for getCmpString ("+iab+"): ",e)}else{w&&ce("debug","getCmpString returning CCPA v1 CMP string");try{t(n,1,re,"",0!==re.length?null:new Error("CMP request failure"))}catch(e){ce("error","Callback error in call to getCmpString (USP): ",e)}}}else{w&&ce("debug","getCmpString called with IAB disabled");try{t(n,0,"","",new Error("IAB disabled"))}catch(e){ce("error","Callback error in call to getCmpString (no IAB): ",e)}}else ce("error","getCmpString called without callback")},getConsentConfirmed:function(){return C},getConsentDefaults:function(e){return"config"===e?be(f):ye(f.consentDefaults)},getConsentHistory:function(){return E},getConsentState:Ue,getConsentTime:function(){return y},getConsentVersion:function(){return O},getGeoCountry:function(){return P},getGeoState:function(){return D},getGppAPIstring:function(){return V},getGppSection:function(){return te&&""!==f.gppSection?f.gppSection:"none"},getIABInterface:function(){return te?"__gpp":Z?"__uspapi":ee?"__tcfapi":"none"},getIABRegion:function(){return""!==f.iabRegion?f.iabRegion:"none"},getIABVersion:function(){return te?"1.1":Z?"1.0":ee?"2.2":"none"},getLinkAction:function(){return"string"==typeof f.consentLinkAction&&-1!==f.consentLinkAction.search(/^http/)?function(){e.open(f.consentLinkAction,"_blank")}:f.consentLinkAction||e.OneTrust&&e.OneTrust.ToggleInfoDisplay||function(){e.OneTrust&&e.OneTrust.ToggleInfoDisplay&&e.OneTrust.ToggleInfoDisplay()}},getLinkTitle:function(){return f.consentLinkTitle||""},getMarketingConsents:function(){return{brand:f.consentMarketing.brand,email:f.consentMarketing.email,wbd:f.consentMarketing.wbd}},getPrivacyCenterLinkAction:function(){return Le(f.privacyCenterLinkAction)},getPrivacyCenterLinkTitle:function(){return f.privacyCenterLinkTitle},getRegion:function(){return f.regId},getReloadOnChange:function(){return f.reloadOnConsentChange},getReloadOnConsentReduction:function(){return f.reloadOnConsentReduction},getRightsRequestLinkAction:function(){return Le(f.rightsRequestLinkAction)},getRightsRequestLinkTitle:function(){return f.rightsRequestLinkTitle},getSimpleConsentState:function(){let e={};for(let t in b)"boolean"==typeof b[t]&&(e[t]=b[t]);return e},getTcfAPIaddtlString:function(){return g},getTcfAPIstring:function(){return H},getUserConsentAdvertisingState:function(e){const t={name:"Ads Check",checkIAB:"string"==typeof e?e:""};return Ke(f.adCategories,t)},getUserConsentContextAdsState:function(e){const t={name:"Context Ads Check",checkIAB:"string"==typeof e?e:""};return Ke(f.contextAdCategories,t)},getUspAPIstring:function(){return re},getVersion:function(){return Y},init:it,inUserConsentState:Ke,isChild:ze,isTop:He,isEnabled:function(){return!0},isGpcInUse:function(){return J},isGpcSet:function(){return!!navigator.globalPrivacyControl},isInCcpaRegion:je,isInGdprRegion:function(){return ee},isInGppRegion:function(){return te}
1,isInIabRegion:function(e){return e="string"==typeof e?e:"",f.iabRegion===e},isInMspaRegion:function(){return te&&"usnat"===f.gppSection},isInTcfRegion:function(){return ne},isInRegion:function(e){return f.regId===e},isOneTrustBlocked:function(){return G},isOneTrustFailing:function(){return B},isOneTrustLoaded:qe,isOptanonLoaded:qe,isReady:Ye,isSiteIABCompliant:function(){return f.strictIabCompliance},setMarketingConsents:function(e){let t=!1;"object"==typeof e&&null!==e&&("boolean"==typeof e.brand&&e.brand!==f.consentMarketing.brand&&(f.consentMarketing.brand=e.brand,t=!0),"boolean"==typeof e.email&&e.email!==f.consentMarketing.email&&(f.consentMarketing.email=e.email,t=!0),"boolean"==typeof e.wbd&&e.wbd!==f.consentMarketing.wbd&&(f.consentMarketing.wbd=e.wbd,t=!0),t&&Je())},usingCompatConsent:function(){return Q},usingExternalConsent:function(){return f.useExternalConsent},usingGPP:function(){return te},usingIAB:function(){return f.useIAB&&(te||Z||ee)},usingPSM:function(){return!1}}}(window,document),window.WM.UserConsent=window.WBD.UserConsent}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.