Files
recipe-importer/mindmegette-alt-example/mindmegette_alt_files/cmp2.js.download
T
2026-02-24 20:24:09 +01:00

2 lines
576 KiB
Plaintext

/*! For license information please see cmp2.js.LICENSE.txt */
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=136)}([function(e,t,n){e.exports=n(62)},,,,,function(e,t,n){"use strict";var r=n(32),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return"undefined"===typeof e}function s(e){return null!==e&&"object"===typeof e}function c(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"===typeof e},isNumber:function(e){return"number"===typeof e},isObject:s,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},deepMerge:function e(){var t={};function n(n,r){"object"===typeof t[r]&&"object"===typeof n?t[r]=e(t[r],n):t[r]="object"===typeof n?e({},n):n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"===typeof t?r(t,n):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},,,,,,,,,,,,,,,function(e,t,n){e.exports=n(67)},,,,,,,function(e,t,n){"use strict";var r=n(64),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,l=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!==typeof n){if(f){var o=h(n);o&&o!==f&&e(t,o,r)}var a=l(n);d&&(a=a.concat(d(n)));for(var s=c(t),v=c(n),g=0;g<a.length;++g){var m=a[g];if(!i[m]&&(!r||!r[m])&&(!v||!v[m])&&(!s||!s[m])){var E=p(n,m);try{u(t,m,E)}catch(S){}}}}return t}},,,,function(e,t){e.exports=["en","fr","de","it","es","da","nl","el","hu","pt","pt-pt","pt-br","ro","fi","pl","sk","sv","no","ru","bg","ca","cs","et","hr","lt","lv","mt","sl","tr","zh","uk","ko","ja","id","hi","vi","ms","th"]},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},function(e,t,n){"use strict";var r=n(5);function o(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},function(e,t,n){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,t,n){"use strict";(function(t){var r=n(5),o=n(73),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var s={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof t&&"[object process]"===Object.prototype.toString.call(t))&&(e=n(36)),e}(),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(i)})),e.exports=s}).call(this,n(72))},function(e,t,n){"use strict";var r=n(5),o=n(74),i=n(33),a=n(76),s=n(79),c=n(80),u=n(37);e.exports=function(e){return new Promise((function(t,l){var d=e.data,p=e.headers;r.isFormData(d)&&delete p["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var f=e.auth.username||"",v=e.auth.password||"";p.Authorization="Basic "+btoa(f+":"+v)}var g=a(e.baseURL,e.url);if(h.open(e.method.toUpperCase(),i(g,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,h.onreadystatechange=function(){if(h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in h?s(h.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:n,config:e,request:h};o(t,l,r),h=null}},h.onabort=function(){h&&(l(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){l(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),l(u(t,e,"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var m=n(81),E=(e.withCredentials||c(g))&&e.xsrfCookieName?m.read(e.xsrfCookieName):void 0;E&&(p[e.xsrfHeaderName]=E)}if("setRequestHeader"in h&&r.forEach(p,(function(e,t){"undefined"===typeof d&&"content-type"===t.toLowerCase()?delete p[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),e.responseType)try{h.responseType=e.responseType}catch(S){if("json"!==e.responseType)throw S}"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),l(e),h=null)})),void 0===d&&(d=null),h.send(d)}))}},function(e,t,n){"use strict";var r=n(75);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){t=t||{};var n={},o=["url","method","params","data"],i=["headers","auth","proxy"],a=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];r.forEach(o,(function(e){"undefined"!==typeof t[e]&&(n[e]=t[e])})),r.forEach(i,(function(o){r.isObject(t[o])?n[o]=r.deepMerge(e[o],t[o]):"undefined"!==typeof t[o]?n[o]=t[o]:r.isObject(e[o])?n[o]=r.deepMerge(e[o]):"undefined"!==typeof e[o]&&(n[o]=e[o])})),r.forEach(a,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])}));var s=o.concat(i).concat(a),c=Object.keys(t).filter((function(e){return-1===s.indexOf(e)}));return r.forEach(c,(function(r){"undefined"!==typeof t[r]?n[r]=t[r]:"undefined"!==typeof e[r]&&(n[r]=e[r])})),n}},function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,e.exports=r},function(e){e.exports=JSON.parse('{"coreUiLabels":{"initScreenTitle":"We value your privacy","agreeButton":"AGREE","agreeAllButton":"AGREE TO ALL","initScreenRejectButton":"DISAGREE","initScreenSettingsButton":"MORE OPTIONS","initScreenBodyService":"We and our partners store or access information on devices, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for the purposes described below. You may click to consent to our and our ${partners} partners\u2019 processing for such purposes. Alternatively, you may click to refuse to consent, or access more detailed information and change your preferences before consenting. Your preferences will apply to this website only. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage.","initScreenBodyGroup":"We and our partners store or access information on devices, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for the purposes described below. You may click to consent to our and our ${partners} partners\u2019 processing for such purposes. Alternatively, you may click to refuse to consent, or access more detailed information and change your preferences before consenting. Your preferences will apply to a group of websites. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage.","specialPurposesAndFeatures":"Special Purposes and Features","saveAndExitButton":"SAVE & EXIT","agreeToSelectedButton":"AGREE TO SELECTED","purposeScreenVendorLink":"PARTNERS","legitimateInterestLink":"Legitimate Interest","legitimateInterestPrivacyLink":"Legitimate Interest Claim","specialPurposesLabel":"Special Purposes","specialFeaturesLabel":"Special Features","featuresLabel":"Features","dataDeclarationLabel":"Data Declaration","back":"Back","onLabel":"ON","offLabel":"OFF","multiLabel":"MULTI","legalDescription":"Legal Description","showPartners":"Show Partners","hidePartners":"Hide Partners","vendorScreenBody":"Review and set your consent preferences for each partner below. Expand each partner list item for more information to help make your choice. Some personal data is processed without your consent, but you have the right to object.","privacyPolicyLabel":"Privacy Policy","descriptionLabel":"Vendor Description","legitimateScreenBody":"Review and object to processing of personal data without your consent on the basis of a legitimate interest for each purpose and by each partner below. Expand each purpose or partner list item for more information to help make your choice. To object to the special purposes of ensuring security, preventing fraud, and debugging, and technically delivering ads or content click on a partner\'s privacy policy link.","legitimateInterestPurposesLabel":"Legitimate Interest Purpose(s)","legitimateInterestVendorLabel":"Legitimate Interest Vendors","legitimateScreenObject":"OBJECT","legitimateScreenObjected":"OBJECTED","legitimateScreenAccept":"REMOVE OBJECTION","objectAllButton":"OBJECT ALL","persistentConsentLinkLabel":"Privacy","nonIabVendorsNotice":"Vendors who do not participate in the IAB Europe Transparency and Consent Framework and do not adhere to its policies or technical specifications","googlePartners":"Google Partners","purposesLabel":"Purposes","groupOfSitesLabel":"group of websites","acceptAll":"ACCEPT ALL","rejectAll":"REJECT ALL","cookieMaxAgeLabel":"Cookie max age","secondsLabel":"Seconds","storageDisclosureLabel":"Storage disclosure","cookieAccessLabel":"Uses non cookie access","yesLabel":"Yes","noLabel":"No","illustrations":"Illustrations","vendorDataCategories":"Data Categories","dataRetentionDays":"Data Retention","gdprPrivacyLabel":"View Privacy Policy","daysLabel":"Days","purposes":"Purposes","initScreenBodyServiceNew":"We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage.","summaryScreenBodyTextRejectNew":["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development.","With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing.","Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage."],"summaryScreenBodyTextNoRejectNew":["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development.","With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing.","Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage."],"summaryScreenBodyTextNoRejectGroupNew":["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development.","With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing.","Your preferences will apply to a group of sites and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage."],"summaryScreenBodyTextRejectGroupNew":["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development.","With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing.","Your preferences will apply to a group of sites and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage."],"initScreenBodyGroupNew":"We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to a group of sites and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage.","specialPurposesAndFeaturesNew":"Special Purposes","partners":"partners"},"premiumUiLabels":{"linksTitle":"Additional Links","nonIabVendorsLabel":"Non-IAB Vendors","uspAcceptButton":"CONFIRM","uspAccessDataLinkText":"Data Access","uspDeleteDataLinkText":"Data Deletion","uspDnsTitle":"Do Not Process My Personal Information","uspDoNotSellToggleText":"I want to request that you \u2018Do Not Process My Personal Information\u2019","uspPrivacyPolicyLinkText":"Privacy Policy","uspDnsText":["<p>If you wish to opt-out of the sale, sharing to third parties, or processing of your personal or sensitive information for targeted advertising by us, please use the below opt-out section to confirm your selection. Please note that after your opt-out request is processed you may continue seeing interest-based ads based on personal information utilized by us or personal information disclosed to third parties prior to your opt-out. You may separately opt-out of the further disclosure of your personal information by third parties on the IAB\u2019s list of downstream participants. This information may also be disclosed by us to third parties on the <a target=\\"_blank\\" href=\\"https://www.iabprivacy.com/optout.html\\">IAB\u2019s List of Downstream Participants</a> that may further disclose it to other third parties.<p>"],"reachCustomGDPRTextInitScreen":"<div class=\\"reach-custom-text\\">\\n\\n <p style=\\"line-height:150%\\">At <i><a style=\\"color: white; text-decoration: underline\\" href=\\"https://www.reachplc.com/about-us/our-brands\\" target=\\"_blank\\" rel=\\"noopener noreferrer\\">Reach and across our entities</a></i> we and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and\\ncontent, advertising and content measurement, audience research and services development. With your permission we and our partners may use precise geolocation data and identification through device scanning.</p>\\n\\n <ul>\\n <li class=\\"line-height-150\\">By clicking on I Accept you will agree to your data being used for personalised advertising in exchange for using our site for free.\\n </li>\\n\\n <li class=\\"line-height-150\\">\\nIf you click Reject and Pay, you will need to sign up to our Privacy Plus subscription service. For \xa31.99 per month, this subscription will enable you to access the same content, without sharing your personal data for advertising purposes. For more information see our <a style=\\"color: white; text-decoration: underline\\" href=\\"$url\\" target=\\"_blank\\">Terms and Conditions</a>.\\n </li>\\n </ul>\\n\\n<p style=\\"line-height:150%\\">Both options enable you to access the content and support the work of our editorial staff who are committed to providing you with quality information every day. We have introduced these choices in accordance with data protection regulations.\\nPlease note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You may access more detailed information about the\\npurposes, and tailor your choices, by clicking on More Options. You can change your preferences, view our\\n${partners} partners, or withdraw your consent at any time by returning to this site and clicking the Privacy setting link on the webpage. Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months.</>\\n\\n</div>","reachCustomGDPRTextHomeScreen":"<div class=\\"reach-custom-text\\">\\n <p style=\\"line-height:150%\\">\\n We and our partners store or access information on devices, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for the purposes described below. You may click to consent to our and our ${partners} partners processing for such purposes. Alternatively, you may click to refuse to consent, or access more detailed information and change your preferences before consenting. \\n If you Reject All tracking you will be redirected to our Privacy Plus on-site experience.\\n If you continue to allow some tracking you may access the site without subscribing.\\n Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the Privacy setting link on the webpage.\\n </p>\\n</div>"},"mobileUiLabels":{"doneLabel":"Done","searchLabel":"Search","cancelLabel":"Cancel","showVendorsLabel":"Show all vendors","showIabLabel":"Show IAB vendors","consentLabel":"Consent","flexPurposesLabel":"Flexible purposes","cookieAccessBodyText":"We and our partners store or access information on devices, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for the purposes described below. You may click to consent to our and our partners\u2019 processing for such purposes. Alternatively, you may click to refuse to consent, or access more detailed information and change your preferences before consenting. Your preferences will apply to this app only. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences at any time by returning to this app or visit our privacy policy.","noneLabel":"None","someLabel":"Some","allLabel":"All","closeLabel":"Close","allVendorsLabel":"All","summaryScreenBodyRejectService":["We and our ${partners} partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development.","With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this app only. You can change your preferences at any time by returning to this app or visit our privacy policy."],"summaryScreenBodyTextReject":["We and our ${partners} partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development.","With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our ${partners} partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting.","Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this app only. You can change your preferences at any time by returning to this app or visit our privacy policy."],"summaryScreenBodyTextRejectNew":["We and our ${partners} partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, ad and content measurement, audience research, and service development.","With your consent, we and our partners may use precise geolocation data and identification through device scanning. You can click to consent to our and our ${partners} partners processing as described above. You can click to refuse consent or access more detailed information and change your preferences before accepting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing.","Your preferences apply to this app and are stored in ${consentStorageMethod} for ${consentStorageDuration} months. You can change your preferences at any time by returning to this app or visiting our privacy policy."]},"consentOrPay":{"initScreenSettingsButton":"MANAGE PREFERENCES","action1":"Reject & Subscribe","action2":"Login & Continue","privacyBody":"<p>We and our partners store and/or access information on a device, such as cookies, and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research, and services development. With your permission, we and our partners may use precise geolocation data and identification through device scanning.</p><ol> <li>By clicking on <strong>I Accept</strong>, you will agree to your data being used for personalised advertising in exchange for using our site for free.</li> <li>If you click <strong>Reject and Pay</strong>, you will need to sign up for our subscription service. This subscription will enable you to access the same content without sharing your personal data for advertising purposes.</li></ol><p>For more information, see our <a href=\'your-terms-url\'>Terms and Conditions</a>. Both options enable you to access the content and support the work of our team. We have introduced these choices in accordance with data protection regulations.</p><p>Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You may access more detailed information about the purposes, and tailor your choices, by clicking on <strong>More Options</strong>.</p><p>You can change your preferences, view our partners, or withdraw your consent at any time by returning to this site and clicking the <strong>Privacy setting</strong> link on the webpage. Your preferences will apply to this website only and will be stored for 13 months. Consent is stored in browser cookies.</p>","privacyHeader":"We value your privacy"}}')},,,,,,,,function(e,t){e.exports="data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Crect width='24' height='24' rx='12' fill='%23527725'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.3084 15.8204C10.1538 15.9732 9.95198 16.05 9.75015 16.05C9.54924 16.05 9.34833 15.9741 9.19371 15.8222L6.29302 12.9827C6.18839 12.8808 6.18654 12.7123 6.28931 12.6077L7.03092 11.8485C7.13369 11.7439 7.30127 11.742 7.40682 11.8457L9.7483 14.1372L16.1182 7.87011C16.2228 7.76641 16.3904 7.76826 16.4931 7.87288L17.2375 8.62838C17.3403 8.733 17.3384 8.9015 17.2338 9.00335L10.3084 15.8204Z' fill='white'/%3E %3C/svg%3E"},function(e,t,n){var r;!function(o,i){"use strict";var a="model",s="name",c="type",u="vendor",l="version",d="mobile",p="tablet",h="smarttv",f=function(e){for(var t={},n=0;n<e.length;n++)t[e[n].toUpperCase()]=e[n];return t},v=function(e,t){return"string"===typeof e&&-1!==g(t).indexOf(g(e))},g=function(e){return e.toLowerCase()},m=function(e,t){if("string"===typeof e)return e=e.replace(/^\s\s*/,""),"undefined"===typeof t?e:e.substring(0,500)},E=function(e,t){for(var n,r,o,i,a,s,c=0;c<t.length&&!a;){var u=t[c],l=t[c+1];for(n=r=0;n<u.length&&!a&&u[n];)if(a=u[n++].exec(e))for(o=0;o<l.length;o++)s=a[++r],"object"===typeof(i=l[o])&&i.length>0?2===i.length?"function"==typeof i[1]?this[i[0]]=i[1].call(this,s):this[i[0]]=i[1]:3===i.length?"function"!==typeof i[1]||i[1].exec&&i[1].test?this[i[0]]=s?s.replace(i[1],i[2]):void 0:this[i[0]]=s?i[1].call(this,s,i[2]):void 0:4===i.length&&(this[i[0]]=s?i[3].call(this,s.replace(i[1],i[2])):void 0):this[i]=s||void 0;c+=2}},S=function(e,t){for(var n in t)if("object"===typeof t[n]&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(v(t[n][r],e))return"?"===n?void 0:n}else if(v(t[n],e))return"?"===n?void 0:n;return t.hasOwnProperty("*")?t["*"]:e},y={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},_={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[l,[s,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[l,[s,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[s,l],[/opios[\/ ]+([\w\.]+)/i],[l,[s,"Opera Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[l,[s,"Opera GX"]],[/\bopr\/([\w\.]+)/i],[l,[s,"Opera"]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[l,[s,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[s,l],[/quark(?:pc)?\/([-\w\.]+)/i],[l,[s,"Quark"]],[/\bddg\/([\w\.]+)/i],[l,[s,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[l,[s,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[l,[s,"WeChat"]],[/konqueror\/([\w\.]+)/i],[l,[s,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[l,[s,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[l,[s,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[l,[s,"Smart Lenovo Browser"]],[/(avast|avg)\/([\w\.]+)/i],[[s,/(.+)/,"$1 Secure Browser"],l],[/\bfocus\/([\w\.]+)/i],[l,[s,"Firefox Focus"]],[/\bopt\/([\w\.]+)/i],[l,[s,"Opera Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[l,[s,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[l,[s,"Dolphin"]],[/coast\/([\w\.]+)/i],[l,[s,"Opera Coast"]],[/miuibrowser\/([\w\.]+)/i],[l,[s,"MIUI Browser"]],[/fxios\/([-\w\.]+)/i],[l,[s,"Firefox"]],[/\bqihu|(qi?ho?o?|360)browser/i],[[s,"360 Browser"]],[/\b(qq)\/([\w\.]+)/i],[[s,/(.+)/,"$1Browser"],l],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[s,/(.+)/,"$1 Browser"],l],[/samsungbrowser\/([\w\.]+)/i],[l,[s,"Samsung Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[s,/_/g," "],l],[/metasr[\/ ]?([\d\.]+)/i],[l,[s,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[s,"Sogou Mobile"],l],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[s,l],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[s],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[s,"Facebook"],l],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[s,l],[/\bgsa\/([\w\.]+) .*safari\//i],[l,[s,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[l,[s,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[l,[s,"Chrome Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[s,"Chrome WebView"],l],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[l,[s,"Android Browser"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[s,l],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[l,[s,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[l,s],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[s,[l,S,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[s,l],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[s,"Netscape"],l],[/(wolvic)\/([\w\.]+)/i],[s,l],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[l,[s,"Firefox Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[s,[l,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[s,[l,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[["architecture","amd64"]],[/(ia32(?=;))/i],[["architecture",g]],[/((?:i[346]|x)86)[;\)]/i],[["architecture","ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[["architecture","arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[["architecture","armhf"]],[/windows (ce|mobile); ppc;/i],[["architecture","arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[["architecture",/ower/,"",g]],[/(sun4\w)[;\)]/i],[["architecture","sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[["architecture",g]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[a,[u,"Samsung"],[c,p]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[a,[u,"Samsung"],[c,d]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[a,[u,"Apple"],[c,d]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[a,[u,"Apple"],[c,p]],[/(macintosh);/i],[a,[u,"Apple"]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[a,[u,"Sharp"],[c,d]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[a,[u,"Huawei"],[c,p]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[a,[u,"Huawei"],[c,d]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i],[[a,/_/g," "],[u,"Xiaomi"],[c,d]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[a,/_/g," "],[u,"Xiaomi"],[c,p]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[a,[u,"OPPO"],[c,d]],[/\b(opd2\d{3}a?) bui/i],[a,[u,"OPPO"],[c,p]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[a,[u,"Vivo"],[c,d]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[a,[u,"Realme"],[c,d]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[a,[u,"Motorola"],[c,d]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[a,[u,"Motorola"],[c,p]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[a,[u,"LG"],[c,p]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[a,[u,"LG"],[c,d]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[a,[u,"Lenovo"],[c,p]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[a,/_/g," "],[u,"Nokia"],[c,d]],[/(pixel c)\b/i],[a,[u,"Google"],[c,p]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[a,[u,"Google"],[c,d]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[a,[u,"Sony"],[c,d]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[a,"Xperia Tablet"],[u,"Sony"],[c,p]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[a,[u,"OnePlus"],[c,d]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[a,[u,"Amazon"],[c,p]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[a,/(.+)/g,"Fire Phone $1"],[u,"Amazon"],[c,d]],[/(playbook);[-\w\),; ]+(rim)/i],[a,u,[c,p]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[a,[u,"BlackBerry"],[c,d]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[a,[u,"ASUS"],[c,p]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[a,[u,"ASUS"],[c,d]],[/(nexus 9)/i],[a,[u,"HTC"],[c,p]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[u,[a,/_/g," "],[c,d]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[a,[u,"TCL"],[c,p]],[/(itel) ((\w+))/i],[[u,g],a,[c,S,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[a,[u,"Acer"],[c,p]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[a,[u,"Meizu"],[c,d]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[a,[u,"Ulefone"],[c,d]],[/droid.+; (a(?:015|06[35]|142p?))/i],[a,[u,"Nothing"],[c,d]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[u,a,[c,d]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[u,a,[c,p]],[/(surface duo)/i],[a,[u,"Microsoft"],[c,p]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[a,[u,"Fairphone"],[c,d]],[/(u304aa)/i],[a,[u,"AT&T"],[c,d]],[/\bsie-(\w*)/i],[a,[u,"Siemens"],[c,d]],[/\b(rct\w+) b/i],[a,[u,"RCA"],[c,p]],[/\b(venue[\d ]{2,7}) b/i],[a,[u,"Dell"],[c,p]],[/\b(q(?:mv|ta)\w+) b/i],[a,[u,"Verizon"],[c,p]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[a,[u,"Barnes & Noble"],[c,p]],[/\b(tm\d{3}\w+) b/i],[a,[u,"NuVision"],[c,p]],[/\b(k88) b/i],[a,[u,"ZTE"],[c,p]],[/\b(nx\d{3}j) b/i],[a,[u,"ZTE"],[c,d]],[/\b(gen\d{3}) b.+49h/i],[a,[u,"Swiss"],[c,d]],[/\b(zur\d{3}) b/i],[a,[u,"Swiss"],[c,p]],[/\b((zeki)?tb.*\b) b/i],[a,[u,"Zeki"],[c,p]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[u,"Dragon Touch"],a,[c,p]],[/\b(ns-?\w{0,9}) b/i],[a,[u,"Insignia"],[c,p]],[/\b((nxa|next)-?\w{0,9}) b/i],[a,[u,"NextBook"],[c,p]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[u,"Voice"],a,[c,d]],[/\b(lvtel\-)?(v1[12]) b/i],[[u,"LvTel"],a,[c,d]],[/\b(ph-1) /i],[a,[u,"Essential"],[c,d]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[a,[u,"Envizen"],[c,p]],[/\b(trio[-\w\. ]+) b/i],[a,[u,"MachSpeed"],[c,p]],[/\btu_(1491) b/i],[a,[u,"Rotor"],[c,p]],[/(shield[\w ]+) b/i],[a,[u,"Nvidia"],[c,p]],[/(sprint) (\w+)/i],[u,a,[c,d]],[/(kin\.[onetw]{3})/i],[[a,/\./g," "],[u,"Microsoft"],[c,d]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[a,[u,"Zebra"],[c,p]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[a,[u,"Zebra"],[c,d]],[/smart-tv.+(samsung)/i],[u,[c,h]],[/hbbtv.+maple;(\d+)/i],[[a,/^/,"SmartTV"],[u,"Samsung"],[c,h]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[u,"LG"],[c,h]],[/(apple) ?tv/i],[u,[a,"Apple TV"],[c,h]],[/crkey/i],[[a,"Chromecast"],[u,"Google"],[c,h]],[/droid.+aft(\w+)( bui|\))/i],[a,[u,"Amazon"],[c,h]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[a,[u,"Sharp"],[c,h]],[/(bravia[\w ]+)( bui|\))/i],[a,[u,"Sony"],[c,h]],[/(mitv-\w{5}) bui/i],[a,[u,"Xiaomi"],[c,h]],[/Hbbtv.*(technisat) (.*);/i],[u,a,[c,h]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[u,m],[a,m],[c,h]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[c,h]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[u,a,[c,"console"]],[/droid.+; (shield) bui/i],[a,[u,"Nvidia"],[c,"console"]],[/(playstation [345portablevi]+)/i],[a,[u,"Sony"],[c,"console"]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[a,[u,"Microsoft"],[c,"console"]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[a,[u,"Samsung"],[c,"wearable"]],[/((pebble))app/i],[u,a,[c,"wearable"]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[a,[u,"Apple"],[c,"wearable"]],[/droid.+; (glass) \d/i],[a,[u,"Google"],[c,"wearable"]],[/droid.+; (wt63?0{2,3})\)/i],[a,[u,"Zebra"],[c,"wearable"]],[/(quest( \d| pro)?)/i],[a,[u,"Facebook"],[c,"wearable"]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[u,[c,"embedded"]],[/(aeobc)\b/i],[a,[u,"Amazon"],[c,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[a,[c,d]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[a,[c,p]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[c,p]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[c,d]],[/(android[-\w\. ]{0,9});.+buil/i],[a,[u,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[l,[s,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[l,[s,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[s,l],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[l,s]],os:[[/microsoft (windows) (vista|xp)/i],[s,l],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[s,[l,S,y]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[l,S,y],[s,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[l,/_/g,"."],[s,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[s,"Mac OS"],[l,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[l,s],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[s,l],[/\(bb(10);/i],[l,[s,"BlackBerry"]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[l,[s,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[l,[s,"Firefox OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[l,[s,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[l,[s,"watchOS"]],[/crkey\/([\d\.]+)/i],[l,[s,"Chromecast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[s,"Chromium OS"],l],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[s,l],[/(sunos) ?([\w\.\d]*)/i],[[s,"Solaris"],l],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[s,l]]},b=function e(t,n){if("object"===typeof t&&(n=t,t=void 0),!(this instanceof e))return new e(t,n).getResult();var r="undefined"!==typeof o&&o.navigator?o.navigator:void 0,i=t||(r&&r.userAgent?r.userAgent:""),u=r&&r.userAgentData?r.userAgentData:void 0,h=n?function(e,t){var n={};for(var r in e)t[r]&&t[r].length%2===0?n[r]=t[r].concat(e[r]):n[r]=e[r];return n}(_,n):_,f=r&&r.userAgent==i;return this.getBrowser=function(){var e,t={};return t[s]=void 0,t[l]=void 0,E.call(t,i,h.browser),t.major="string"===typeof(e=t[l])?e.replace(/[^\d\.]/g,"").split(".")[0]:void 0,f&&r&&r.brave&&"function"==typeof r.brave.isBrave&&(t[s]="Brave"),t},this.getCPU=function(){var e={architecture:void 0};return E.call(e,i,h.cpu),e},this.getDevice=function(){var e={vendor:void 0,model:void 0,type:void 0};return E.call(e,i,h.device),f&&!e[c]&&u&&u.mobile&&(e[c]=d),f&&"Macintosh"==e[a]&&r&&"undefined"!==typeof r.standalone&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[a]="iPad",e[c]=p),e},this.getEngine=function(){var e={name:void 0,version:void 0};return E.call(e,i,h.engine),e},this.getOS=function(){var e={name:void 0,version:void 0};return E.call(e,i,h.os),f&&!e[s]&&u&&u.platform&&"Unknown"!=u.platform&&(e[s]=u.platform.replace(/chrome os/i,"Chromium OS").replace(/macos/i,"Mac OS")),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i="string"===typeof e&&e.length>500?m(e,500):e,this},this.setUA(i),this};b.VERSION="0.7.39",b.BROWSER=f([s,l,"major"]),b.CPU=f(["architecture"]),b.DEVICE=f([a,u,c,"console",d,h,p,"wearable","embedded"]),b.ENGINE=b.OS=f([s,l]),"undefined"!==typeof t?("undefined"!==typeof e&&e.exports&&(t=e.exports=b),t.UAParser=b):n(84)?void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r):"undefined"!==typeof o&&(o.UAParser=b);var T="undefined"!==typeof o&&(o.jQuery||o.Zepto);if(T&&!T.ua){var C=new b;T.ua=C.getResult(),T.ua.get=function(){return C.getUA()},T.ua.set=function(e){C.setUA(e);var t=C.getResult();for(var n in t)T.ua[n]=t[n]}}}("object"===typeof window?window:this)},function(e,t){e.exports="data:image/svg+xml,%3Csvg viewBox='0 0 16 17' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' style='margin-right: 5px; height: 17px;'%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd'%3E%3Cg id='cog' fill='%23FFFFFF' fill-rule='nonzero'%3E%3Cpath d='M15.596917,9.98326938 L14.5041079,9.33798816 C14.5728064,8.7815386 14.5728064,8.2184614 14.5041079,7.66201184 L15.596917,7.01673062 C15.9178229,6.82726259 16.0726124,6.43742732 15.9670848,6.0741546 C15.5912871,4.78033611 14.9223646,3.61573153 14.0390021,2.66061113 C13.7831755,2.38401797 13.3749053,2.32348965 13.0525249,2.51384881 L11.9613243,3.15813608 C11.5248519,2.81840117 11.0481221,2.53648663 10.542482,2.31910255 L10.542482,1.02991108 C10.542482,0.648438733 10.2860522,0.316869683 9.92305592,0.229024792 C8.66155,-0.07632446 7.33871809,-0.0763587342 6.07694408,0.229024792 C5.71398131,0.316869683 5.457518,0.648404458 5.457518,1.02991108 L5.457518,2.31910255 C4.95187406,2.53647872 4.47514334,2.81839382 4.03867572,3.15813608 L2.94747511,2.51384881 C2.62506122,2.32348965 2.21679094,2.38401797 1.96099786,2.66061113 C1.07763542,3.61573153 0.40871289,4.78037038 0.0329152236,6.0741546 C-0.072612407,6.43742732 0.0821770899,6.82722832 0.403082962,7.01673062 L1.49589212,7.66201184 C1.42719356,8.2184614 1.42719356,8.7815386 1.49589212,9.33798816 L0.403082962,9.98326938 C0.0821770899,10.1727374 -0.072612407,10.5625727 0.0329152236,10.9258454 C0.40871289,12.2196296 1.07763542,13.3842685 1.96099786,14.3393889 C2.21682445,14.615982 2.62509474,14.6765103 2.94747511,14.4861855 L4.03867572,13.8418982 C4.47514096,14.1816349 4.95187243,14.4635389 5.457518,14.6808975 L5.457518,15.9700889 C5.457518,16.3515613 5.7139478,16.6831303 6.07694408,16.7709752 C7.33848351,17.0763245 8.66128191,17.0763587 9.92305592,16.7709752 C10.2860187,16.6831303 10.542482,16.3515955 10.542482,15.9700889 L10.542482,14.6808975 C11.0481183,14.4635198 11.5248475,14.1816171 11.9613243,13.8418982 L13.0525249,14.4861855 C13.3749053,14.6765446 13.7831755,14.6160163 14.0390021,14.3393889 C14.9223646,13.3842685 15.5912871,12.2196296 15.9670848,10.9258454 C16.0726124,10.5625727 15.9178229,10.1727717 15.596917,9.98326938 Z M13.4026193,13.4264943 L11.8507364,12.510001 C10.9463288,13.3007421 10.6255905,13.4997041 9.47011484,13.9172673 L9.47011484,15.7502196 C8.50024808,15.9548373 7.49975192,15.9548373 6.52988516,15.7502196 L6.52988516,13.9172673 C5.4031959,13.5101235 5.07699522,13.3210668 4.14926358,12.510001 L2.59738075,13.4264943 C1.9368696,12.6693763 1.43490124,11.7817076 1.12525522,10.8230912 L2.67780828,9.90659789 C2.4588108,8.69270694 2.45871027,8.30790999 2.67780828,7.09340211 L1.12525522,6.17690879 C1.43490124,5.21829242 1.93690311,4.33058946 2.59738075,3.57312864 L4.14926358,4.49030745 C5.0667072,3.68712478 5.39129933,3.4941265 6.52988516,3.08269846 L6.52988516,1.24978037 C7.49971774,1.04482059 8.50028226,1.04482059 9.47011484,1.24978037 L9.47011484,3.08273274 C10.6087677,3.49419505 10.9333933,3.6872276 11.8507364,4.49034172 L13.4026193,3.57316291 C14.0630969,4.33058946 14.5650988,5.21829242 14.8747448,6.17694306 L13.3221917,7.09343638 C13.5412227,8.3076358 13.5412897,8.69212428 13.3221917,9.90663217 L14.8747448,10.8231255 C14.5650988,11.7817076 14.0631304,12.6694105 13.4026193,13.4264943 Z M8,5.20968958 C6.22607014,5.20968958 4.78289853,6.68570996 4.78289853,8.50001714 C4.78289853,10.3143243 6.22607014,11.7903447 8,11.7903447 C9.77392986,11.7903447 11.2171015,10.3143243 11.2171015,8.50001714 C11.2171015,6.68570996 9.77392986,5.20968958 8,5.20968958 Z M8,10.6935688 C6.81738009,10.6935688 5.85526568,9.70955526 5.85526568,8.50001714 C5.85526568,7.29047902 6.81738009,6.30646543 8,6.30646543 C9.18261991,6.30646543 10.1447343,7.29047902 10.1447343,8.50001714 C10.1447343,9.70955526 9.18261991,10.6935688 8,10.6935688 Z' id='Shape'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E"},function(e,t){e.exports="data:image/svg+xml,%3Csvg width='34' height='16' viewBox='0 0 34 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.31412 14.6286H16.0855L19.6284 1.37146H8.31412C4.65698 1.37146 1.68555 4.34289 1.68555 8.00003C1.68555 11.6572 4.65698 14.6286 8.31412 14.6286Z' fill='white'/%3E %3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M25.6856 0H8.31421C3.85707 0 0.314209 3.54286 0.314209 8C0.314209 12.4571 3.85707 16 8.31421 16H25.6856C30.1428 16 33.6856 12.4571 33.6856 8C33.6856 3.54286 30.0285 0 25.6856 0ZM1.68564 8C1.68564 4.34286 4.65707 1.37143 8.31421 1.37143H19.6285L16.0856 14.6286H8.31421C4.65707 14.6286 1.68564 11.6571 1.68564 8Z' fill='%230066FF'/%3E %3Cpath d='M27.9714 4.57139C28.2 4.79996 28.2 5.25711 27.9714 5.48568L25.5714 7.99996L28.0857 10.5142C28.3143 10.7428 28.3143 11.2 28.0857 11.4285C27.8572 11.6571 27.4 11.6571 27.1714 11.4285L24.6572 8.91425L22.1429 11.4285C21.9143 11.6571 21.4572 11.6571 21.2286 11.4285C21 11.2 21 10.7428 21.2286 10.5142L23.6286 7.99996L21.1143 5.48568C20.8857 5.25711 20.8857 4.79996 21.1143 4.57139C21.3429 4.34282 21.8 4.34282 22.0286 4.57139L24.5429 7.08568L27.0572 4.57139C27.2857 4.34282 27.7429 4.34282 27.9714 4.57139Z' fill='white'/%3E %3Cpath d='M14.3715 4.68571C14.6 4.91428 14.7143 5.37143 14.4858 5.6L9.68575 11.2C9.57146 11.3143 9.45718 11.4286 9.34289 11.4286C9.11432 11.5429 8.77146 11.5429 8.54289 11.3143L6.02861 8.8C5.80003 8.57142 5.80003 8.11428 6.02861 7.88571C6.25718 7.65714 6.71432 7.65714 6.94289 7.88571L9.00004 9.82857L13.3429 4.68571C13.5715 4.45714 14.0286 4.45714 14.3715 4.68571Z' fill='%230066FF'/%3E %3C/svg%3E"},,,,,,,,,,,function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(I){s=function(e,t,n){return e[t]=n}}function c(e,t,n,r){var o=t&&t.prototype instanceof d?t:d,i=Object.create(o.prototype),a=new T(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=y(a,n);if(s){if(s===l)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=u(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===l)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}e.wrap=c;var l={};function d(){}function p(){}function h(){}var f={};f[o]=function(){return this};var v=Object.getPrototypeOf,g=v&&v(v(C([])));g&&g!==t&&n.call(g,o)&&(f=g);var m=h.prototype=d.prototype=Object.create(f);function E(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){var r;this._invoke=function(o,i){function a(){return new t((function(r,a){!function r(o,i,a,s){var c=u(e[o],e,i);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"===typeof d&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(d).then((function(e){l.value=e,a(l)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function y(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,y(e,t),"throw"===t.method))return l;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return l}var r=u(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,l;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,l):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,l)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function b(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function C(e){if(e){var t=e[o];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:O}}function O(){return{value:void 0,done:!0}}return p.prototype=m.constructor=h,h.constructor=p,p.displayName=s(h,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,h):(e.__proto__=h,s(e,a,"GeneratorFunction")),e.prototype=Object.create(m),e},e.awrap=function(e){return{__await:e}},E(S.prototype),S.prototype[i]=function(){return this},e.AsyncIterator=S,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new S(c(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(m),s(m,a,"Generator"),m[o]=function(){return this},m.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,T.prototype={constructor:T,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,l):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),l},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),b(n),l}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;b(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:C(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),l}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";e.exports=n(65)},function(e,t,n){"use strict";var r="function"===typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,d=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,h=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,E=r?Symbol.for("react.block"):60121,S=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,_=r?Symbol.for("react.scope"):60119;function b(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case d:case p:case a:case c:case s:case f:return e;default:switch(e=e&&e.$$typeof){case l:case h:case m:case g:case u:return e;default:return t}}case i:return t}}}function T(e){return b(e)===p}t.AsyncMode=d,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=h,t.Fragment=a,t.Lazy=m,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=f,t.isAsyncMode=function(e){return T(e)||b(e)===d},t.isConcurrentMode=T,t.isContextConsumer=function(e){return b(e)===l},t.isContextProvider=function(e){return b(e)===u},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return b(e)===h},t.isFragment=function(e){return b(e)===a},t.isLazy=function(e){return b(e)===m},t.isMemo=function(e){return b(e)===g},t.isPortal=function(e){return b(e)===i},t.isProfiler=function(e){return b(e)===c},t.isStrictMode=function(e){return b(e)===s},t.isSuspense=function(e){return b(e)===f},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===p||e===c||e===s||e===f||e===v||"object"===typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===h||e.$$typeof===S||e.$$typeof===y||e.$$typeof===_||e.$$typeof===E)},t.typeOf=b},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(5),o=n(32),i=n(68),a=n(38);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var c=s(n(35));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=n(39),c.CancelToken=n(82),c.isCancel=n(34),c.all=function(e){return Promise.all(e)},c.spread=n(83),e.exports=c,e.exports.default=c},function(e,t,n){"use strict";var r=n(5),o=n(33),i=n(69),a=n(70),s=n(38);function c(e){this.defaults=e,this.interceptors={request:new i,response:new i}}c.prototype.request=function(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[a,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());return n},c.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){c.prototype[e]=function(t,n){return this.request(r.merge(n||{},{method:e,url:t}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(t,n,o){return this.request(r.merge(o||{},{method:e,url:t,data:n}))}})),e.exports=c},function(e,t,n){"use strict";var r=n(5);function o(){this.handlers=[]}o.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},function(e,t,n){"use strict";var r=n(5),o=n(71),i=n(34),a=n(35);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o(t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t,n){return r.forEach(n,(function(n){e=n(e,t)})),e}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"===typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,d=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):d=-1,u.length&&h())}function h(){if(!l){var e=s(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++d<t;)c&&c[d].run();d=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new f(e,t)),1!==u.length||l||s(h)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";var r=n(5);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},function(e,t,n){"use strict";var r=n(37);e.exports=function(e,t,n){var o=n.config.validateStatus;!o||o(n.status)?e(n):t(r("Request failed with status code "+n.status,n.config,null,n.request,n))}},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},function(e,t,n){"use strict";var r=n(77),o=n(78);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(5),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},function(e,t,n){"use strict";var r=n(5);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r=n(5);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(39);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t){(function(t){e.exports=t}).call(this,{})},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function s(e,t){if(e){if("string"===typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}function c(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||s(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.r(t),n.d(t,"qcCmpApi",(function(){return Df})),n.d(t,"uspApi",(function(){return xf})),n.d(t,"gbcApi",(function(){return Vf})),n.d(t,"gppApi",(function(){return Rf})),n.d(t,"mspaApi",(function(){return Lf}));var u,l,d,p,h=n(0),f=n.n(h);function v(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(u){return void n(u)}s.done?t(c):Promise.resolve(c).then(r,o)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){v(i,r,o,a,s,"next",e)}function s(e){v(i,r,o,a,s,"throw",e)}a(void 0)}))}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e,t){return(_=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_(e,t)}function T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function C(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function O(e){return(O="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){return!t||"object"!==O(t)&&"function"!==typeof t?y(e):t}function w(e){return function(){var t,n=T(e);if(C()){var r=T(this).constructor;t=Reflect.construct(n,arguments,r)}else t=n.apply(this,arguments);return I(this,t)}}!function(e){e.PING="ping",e.GET_TC_DATA="getTCData",e.GET_IN_APP_TC_DATA="getInAppTCData",e.GET_VENDOR_LIST="getVendorList",e.ADD_EVENT_LISTENER="addEventListener",e.REMOVE_EVENT_LISTENER="removeEventListener"}(u||(u={})),function(e){e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(l||(l={})),function(e){e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled"}(d||(d={})),function(e){e.TC_LOADED="tcloaded",e.CMP_UI_SHOWN="cmpuishown",e.USER_ACTION_COMPLETE="useractioncomplete"}(p||(p={}));var N=function(){function e(t,n,o,i){m(this,e),r(this,"listenerId",void 0),r(this,"callback",void 0),r(this,"next",void 0),r(this,"param",void 0),r(this,"success",!0),Object.assign(this,{callback:t,listenerId:o,param:n,next:i});try{this.respond()}catch(a){this.invokeCallback(null)}}return S(e,[{key:"invokeCallback",value:function(e){var t=null!==e;"function"===typeof this.next?this.callback(this.next,e,t):this.callback(e,t)}}]),e}(),A=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){this.throwIfParamInvalid(),this.invokeCallback(new V(this.param,this.listenerId))}},{key:"throwIfParamInvalid",value:function(){if(void 0!==this.param&&(!Array.isArray(this.param)||!this.param.every(Number.isInteger)))throw new Error("Invalid Parameter")}}]),n}(N),k=function(){function e(){m(this,e),r(this,"eventQueue",new Map),r(this,"queueNumber",0)}return S(e,[{key:"add",value:function(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}},{key:"remove",value:function(e){return this.eventQueue.delete(e)}},{key:"exec",value:function(){this.eventQueue.forEach((function(e,t){new A(e.callback,e.param,t,e.next)}))}},{key:"clear",value:function(){this.queueNumber=0,this.eventQueue.clear()}},{key:"size",get:function(){return this.eventQueue.size}}]),e}(),P=function(){function e(){m(this,e)}return S(e,null,[{key:"reset",value:function(){delete this.cmpId,delete this.cmpVersion,delete this.eventStatus,delete this.gdprApplies,delete this.tcModel,delete this.tcString,delete this.tcfPolicyVersion,this.cmpStatus=l.LOADING,this.disabled=!1,this.displayStatus=d.HIDDEN,this.eventQueue.clear()}}]),e}();r(P,"apiVersion","2"),r(P,"tcfPolicyVersion",void 0),r(P,"eventQueue",new k),r(P,"cmpStatus",l.LOADING),r(P,"disabled",!1),r(P,"displayStatus",d.HIDDEN),r(P,"cmpId",void 0),r(P,"cmpVersion",void 0),r(P,"eventStatus",void 0),r(P,"gdprApplies",void 0),r(P,"tcModel",void 0),r(P,"tcString",void 0);var D=function e(){m(this,e),r(this,"cmpId",P.cmpId),r(this,"cmpVersion",P.cmpVersion),r(this,"gdprApplies",P.gdprApplies),r(this,"tcfPolicyVersion",P.tcfPolicyVersion)},x=function(e){b(n,e);var t=w(n);function n(){var e;m(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r(y(e=t.call.apply(t,[this].concat(i))),"cmpStatus",l.ERROR),e}return n}(D),V=function(e){b(n,e);var t=w(n);function n(e,o){var i;if(m(this,n),r(y(i=t.call(this)),"tcString",void 0),r(y(i),"listenerId",void 0),r(y(i),"eventStatus",void 0),r(y(i),"cmpStatus",void 0),r(y(i),"isServiceSpecific",void 0),r(y(i),"useNonStandardTexts",void 0),r(y(i),"publisherCC",void 0),r(y(i),"purposeOneTreatment",void 0),r(y(i),"outOfBand",void 0),r(y(i),"purpose",void 0),r(y(i),"vendor",void 0),r(y(i),"specialFeatureOptins",void 0),r(y(i),"publisher",void 0),i.eventStatus=P.eventStatus,i.cmpStatus=P.cmpStatus,i.listenerId=o,P.gdprApplies){var a=P.tcModel;i.tcString=P.tcString,i.isServiceSpecific=a.isServiceSpecific,i.useNonStandardTexts=a.useNonStandardTexts,i.purposeOneTreatment=a.purposeOneTreatment,i.publisherCC=a.publisherCountryCode,!1===i.isServiceSpecific&&(i.outOfBand={allowedVendors:i.createVectorField(a.vendorsAllowed,e),disclosedVendors:i.createVectorField(a.vendorsDisclosed,e)}),i.purpose={consents:i.createVectorField(a.purposeConsents),legitimateInterests:i.createVectorField(a.purposeLegitimateInterests)},i.vendor={consents:i.createVectorField(a.vendorConsents,e),legitimateInterests:i.createVectorField(a.vendorLegitimateInterests,e),disclosedVendors:i.createVectorField(a.vendorsDisclosed,e)},i.specialFeatureOptins=i.createVectorField(a.specialFeatureOptins),i.publisher={consents:i.createVectorField(a.publisherConsents),legitimateInterests:i.createVectorField(a.publisherLegitimateInterests),customPurpose:{consents:i.createVectorField(a.publisherCustomConsents),legitimateInterests:i.createVectorField(a.publisherCustomLegitimateInterests)},restrictions:i.createRestrictions(a.publisherRestrictions)}}return i}return S(n,[{key:"createRestrictions",value:function(e){var t={};if(e.numRestrictions>0)for(var n=e.getMaxVendorId(),r=function(n){var r=n.toString();e.getRestrictions(n).forEach((function(e){var n=e.purposeId.toString();t[n]||(t[n]={}),t[n][r]=e.restrictionType}))},o=1;o<=n;o++)r(o);return t}},{key:"createVectorField",value:function(e,t){return t?t.reduce((function(t,n){return t[String(n)]=e.has(Number(n)),t}),{}):c(e).reduce((function(e,t){return e[t[0].toString(10)]=t[1],e}),{})}}]),n}(D),R=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),delete(r=t.call(this,e)).outOfBand,r}return S(n,[{key:"createVectorField",value:function(e){return c(e).reduce((function(e,t){return e+=t[1]?"1":"0"}),"")}},{key:"createRestrictions",value:function(e){var t={};if(e.numRestrictions>0){var n=e.getMaxVendorId();e.getRestrictions().forEach((function(e){t[e.purposeId.toString()]="_".repeat(n)}));for(var r=function(n){var r=n+1;e.getRestrictions(r).forEach((function(e){var r=e.restrictionType.toString(),o=e.purposeId.toString(),i=t[o].substr(0,n),a=t[o].substr(n+1);t[o]=i+r+a}))},o=0;o<n;o++)r(o)}return t}}]),n}(V),L=function(e){b(n,e);var t=w(n);function n(){var e;return m(this,n),r(y(e=t.call(this)),"cmpLoaded",!0),r(y(e),"cmpStatus",P.cmpStatus),r(y(e),"displayStatus",P.displayStatus),r(y(e),"apiVersion",String(P.apiVersion)),r(y(e),"gvlVersion",void 0),P.tcModel&&P.tcModel.vendorListVersion&&(e.gvlVersion=+P.tcModel.vendorListVersion),e}return n}(D),U=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){this.invokeCallback(new L)}}]),n}(N),M=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){this.throwIfParamInvalid(),this.invokeCallback(new R(this.param))}}]),n}(A);function G(e,t,n){return(G=C()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&_(o,n.prototype),o}).apply(null,arguments)}function F(e){var t="function"===typeof Map?new Map:void 0;return(F=function(e){if(null===e||!function(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return G(e,arguments,T(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_(n,e)})(e)}var q=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="DecodingError",r}return n}(F(Error)),B=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="EncodingError",r}return n}(F(Error)),j=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="GVLError",r}return n}(F(Error)),H=function(e){b(n,e);var t=w(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return m(this,n),(o=t.call(this,"invalid value ".concat(r," passed for ").concat(e," ").concat(i))).name="TCModelError",o}return n}(F(Error)),z=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){if(!/^[0-1]+$/.test(e))throw new B("Invalid bitField");var t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";for(var n="",r=0;r<e.length;r+=this.BASIS)n+=this.DICT[parseInt(e.substr(r,this.BASIS),2)];return n}},{key:"decode",value:function(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new q("Invalidly encoded Base64URL string");for(var t="",n=0;n<e.length;n++){var r=this.REVERSE_DICT.get(e[n]).toString(2);t+="0".repeat(this.BASIS-r.length)+r}return t}}]),e}();function W(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=s(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,i=!0,a=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return i=e.done,e},e:function(e){a=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(a)throw o}}}}r(z,"DICT","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),r(z,"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]])),r(z,"BASIS",6),r(z,"LCM",24);var Y=function(){function e(){m(this,e)}return S(e,[{key:"has",value:function(t){return e.langSet.has(t)}},{key:"parseLanguage",value:function(t){var n=(t=t.toUpperCase()).split("-")[0];if(t.length>=2&&2==n.length){if(e.langSet.has(t))return t;if(e.langSet.has(n))return n;var r=n+"-"+n;if(e.langSet.has(r))return r;var o,i=W(e.langSet);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(-1!==a.indexOf(t)||-1!==a.indexOf(n))return a}}catch(s){i.e(s)}finally{i.f()}}throw new Error("unsupported language ".concat(t))}},{key:"forEach",value:function(t){e.langSet.forEach(t)}},{key:"size",get:function(){return e.langSet.size}}]),e}();r(Y,"langSet",new Set(["AR","BG","BS","CA","CS","CY","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HE","HI","HR","HU","ID","IS","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","ZH-HANT"]));var K=function e(){m(this,e)};r(K,"cmpId","cmpId"),r(K,"cmpVersion","cmpVersion"),r(K,"consentLanguage","consentLanguage"),r(K,"consentScreen","consentScreen"),r(K,"created","created"),r(K,"supportOOB","supportOOB"),r(K,"isServiceSpecific","isServiceSpecific"),r(K,"lastUpdated","lastUpdated"),r(K,"numCustomPurposes","numCustomPurposes"),r(K,"policyVersion","policyVersion"),r(K,"publisherCountryCode","publisherCountryCode"),r(K,"publisherCustomConsents","publisherCustomConsents"),r(K,"publisherCustomLegitimateInterests","publisherCustomLegitimateInterests"),r(K,"publisherLegitimateInterests","publisherLegitimateInterests"),r(K,"publisherConsents","publisherConsents"),r(K,"publisherRestrictions","publisherRestrictions"),r(K,"purposeConsents","purposeConsents"),r(K,"purposeLegitimateInterests","purposeLegitimateInterests"),r(K,"purposeOneTreatment","purposeOneTreatment"),r(K,"specialFeatureOptins","specialFeatureOptins"),r(K,"useNonStandardTexts","useNonStandardTexts"),r(K,"vendorConsents","vendorConsents"),r(K,"vendorLegitimateInterests","vendorLegitimateInterests"),r(K,"vendorListVersion","vendorListVersion"),r(K,"vendorsAllowed","vendorsAllowed"),r(K,"vendorsDisclosed","vendorsDisclosed"),r(K,"version","version");var $,J=function(){function e(){m(this,e)}return S(e,[{key:"clone",value:function(){var e=this,t=new this.constructor;return Object.keys(this).forEach((function(n){var r=e.deepClone(e[n]);void 0!==r&&(t[n]=r)})),t}},{key:"deepClone",value:function(e){var t=typeof e;if("number"===t||"string"===t||"boolean"===t)return e;if(null!==e&&"object"===t){if("function"===typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var n,r=[],o=W(e);try{for(o.s();!(n=o.n()).done;){var i=n.value;r.push(this.deepClone(i))}}catch(c){o.e(c)}finally{o.f()}return e instanceof Array?r:new e.constructor(r)}var a={};for(var s in e)e.hasOwnProperty(s)&&(a[s]=this.deepClone(e[s]));return a}}}]),e}();!function(e){e[e.NOT_ALLOWED=0]="NOT_ALLOWED",e[e.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",e[e.REQUIRE_LI=2]="REQUIRE_LI"}($||($={}));var Q=function(e){b(n,e);var t=w(n);function n(e,o){var i;return m(this,n),r(y(i=t.call(this)),"purposeId_",void 0),r(y(i),"restrictionType",void 0),void 0!==e&&(i.purposeId=e),void 0!==o&&(i.restrictionType=o),i}return S(n,[{key:"isValid",value:function(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===$.NOT_ALLOWED||this.restrictionType===$.REQUIRE_CONSENT||this.restrictionType===$.REQUIRE_LI)}},{key:"isSameAs",value:function(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType}},{key:"hash",get:function(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return"".concat(this.purposeId).concat(n.hashSeparator).concat(this.restrictionType)}},{key:"purposeId",get:function(){return this.purposeId_},set:function(e){this.purposeId_=e}}],[{key:"unHash",value:function(e){var t=e.split(this.hashSeparator),r=new n;if(2!==t.length)throw new H("hash",e);return r.purposeId=parseInt(t[0],10),r.restrictionType=parseInt(t[1],10),r}}]),n}(J);r(Q,"hashSeparator","-");var Z,X,ee,te=function(e){b(n,e);var t=w(n);function n(){var e;m(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r(y(e=t.call.apply(t,[this].concat(i))),"bitLength",0),r(y(e),"map",new Map),r(y(e),"gvl_",void 0),e}return S(n,[{key:"has",value:function(e){return this.map.has(e)}},{key:"isOkToHave",value:function(e,t,n){var r,o=!0;if(null===(r=this.gvl)||void 0===r?void 0:r.vendors){var i=this.gvl.vendors[n];if(i)if(e===$.NOT_ALLOWED)o=i.legIntPurposes.includes(t)||i.purposes.includes(t);else if(i.flexiblePurposes.length)switch(e){case $.REQUIRE_CONSENT:o=i.flexiblePurposes.includes(t)&&i.legIntPurposes.includes(t);break;case $.REQUIRE_LI:o=i.flexiblePurposes.includes(t)&&i.purposes.includes(t)}else o=!1;else o=!1}return o}},{key:"add",value:function(e,t){if(this.isOkToHave(t.restrictionType,t.purposeId,e)){var n=t.hash;this.has(n)||(this.map.set(n,new Set),this.bitLength=0),this.map.get(n).add(e)}}},{key:"restrictPurposeToLegalBasis",value:function(e){var t=Array.from(this.gvl.vendorIds),n=e.hash,r=t[t.length-1],o=c(Array(r).keys()).map((function(e){return e+1}));if(this.has(n))for(var i=1;i<=r;i++)this.map.get(n).add(i);else this.map.set(n,new Set(o)),this.bitLength=0}},{key:"getVendors",value:function(e){var t=[];if(e){var n=e.hash;this.has(n)&&(t=Array.from(this.map.get(n)))}else{var r=new Set;this.map.forEach((function(e){e.forEach((function(e){r.add(e)}))})),t=Array.from(r)}return t.sort((function(e,t){return e-t}))}},{key:"getRestrictionType",value:function(e,t){var n;return this.getRestrictions(e).forEach((function(e){e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)})),n}},{key:"vendorHasRestriction",value:function(e,t){for(var n=!1,r=this.getRestrictions(e),o=0;o<r.length&&!n;o++)n=t.isSameAs(r[o]);return n}},{key:"getMaxVendorId",value:function(){var e=0;return this.map.forEach((function(t){e=Math.max(Array.from(t)[t.size-1],e)})),e}},{key:"getRestrictions",value:function(e){var t=[];return this.map.forEach((function(n,r){e?n.has(e)&&t.push(Q.unHash(r)):t.push(Q.unHash(r))})),t}},{key:"getPurposes",value:function(){var e=new Set;return this.map.forEach((function(t,n){e.add(Q.unHash(n).purposeId)})),Array.from(e)}},{key:"remove",value:function(e,t){var n=t.hash,r=this.map.get(n);r&&(r.delete(e),0==r.size&&(this.map.delete(n),this.bitLength=0))}},{key:"isEmpty",value:function(){return 0===this.map.size}},{key:"gvl",set:function(e){var t=this;this.gvl_||(this.gvl_=e,this.map.forEach((function(e,n){var r=Q.unHash(n);Array.from(e).forEach((function(n){t.isOkToHave(r.restrictionType,r.purposeId,n)||e.delete(n)}))})))},get:function(){return this.gvl_}},{key:"numRestrictions",get:function(){return this.map.size}}]),n}(J);!function(e){e.COOKIE="cookie",e.WEB="web",e.APP="app"}(Z||(Z={})),function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(X||(X={}));var ne,re=function e(){m(this,e)};r(re,"ID_TO_KEY",[X.CORE,X.VENDORS_DISCLOSED,X.VENDORS_ALLOWED,X.PUBLISHER_TC]),r(re,"KEY_TO_ID",(r(ee={},X.CORE,0),r(ee,X.VENDORS_DISCLOSED,1),r(ee,X.VENDORS_ALLOWED,2),r(ee,X.PUBLISHER_TC,3),ee)),ne=Symbol.iterator;var oe,ie,ae,se,ce,ue,le,de,pe,he,fe,ve,ge,me,Ee,Se,ye,_e=function(e){b(n,e);var t=w(n);function n(){var e;m(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return r(y(e=t.call.apply(t,[this].concat(i))),"bitLength",0),r(y(e),"maxId_",0),r(y(e),"set_",new Set),e}return S(n,[{key:ne,value:f.a.mark((function e(){var t;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=1;case 1:if(!(t<=this.maxId)){e.next=7;break}return e.next=4,[t,this.has(t)];case 4:t++,e.next=1;break;case 7:case"end":return e.stop()}}),e,this)}))},{key:"values",value:function(){return this.set_.values()}},{key:"has",value:function(e){return this.set_.has(e)}},{key:"unset",value:function(e){var t=this;Array.isArray(e)?e.forEach((function(e){return t.unset(e)})):"object"===typeof e?this.unset(Object.keys(e).map((function(e){return Number(e)}))):(this.set_.delete(Number(e)),this.bitLength=0,e===this.maxId&&(this.maxId_=0,this.set_.forEach((function(e){t.maxId_=Math.max(t.maxId,e)}))))}},{key:"isIntMap",value:function(e){var t=this,n="object"===typeof e;return n=n&&Object.keys(e).every((function(n){var r=Number.isInteger(parseInt(n,10));return r=(r=r&&t.isValidNumber(e[n].id))&&void 0!==e[n].name}))}},{key:"isValidNumber",value:function(e){return parseInt(e,10)>0}},{key:"isSet",value:function(e){var t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t}},{key:"set",value:function(e){var t=this;if(Array.isArray(e))e.forEach((function(e){return t.set(e)}));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map((function(e){return Number(e)})));else{if(!this.isValidNumber(e))throw new H("set()",e,"must be positive integer array, positive integer, Set<number>, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}}},{key:"empty",value:function(){this.set_=new Set,this.maxId_=0}},{key:"forEach",value:function(e){for(var t=1;t<=this.maxId;t++)e(this.has(t),t)}},{key:"setAll",value:function(e){this.set(e)}},{key:"maxId",get:function(){return this.maxId_}},{key:"size",get:function(){return this.set_.size}}]),n}(J);oe=K.cmpVersion,ie=K.consentLanguage,ae=K.consentScreen,se=K.created,ce=K.isServiceSpecific,ue=K.lastUpdated,le=K.policyVersion,de=K.publisherCountryCode,pe=K.publisherLegitimateInterests,he=K.publisherConsents,fe=K.purposeConsents,ve=K.purposeLegitimateInterests,ge=K.purposeOneTreatment,me=K.specialFeatureOptins,Ee=K.useNonStandardTexts,Se=K.vendorListVersion,ye=K.version;var be=function e(){m(this,e)};r(be,K.cmpId,12),r(be,oe,12),r(be,ie,12),r(be,ae,6),r(be,se,36),r(be,ce,1),r(be,ue,36),r(be,le,6),r(be,de,12),r(be,pe,24),r(be,he,24),r(be,fe,24),r(be,ve,24),r(be,ge,1),r(be,me,12),r(be,Ee,1),r(be,Se,12),r(be,ye,6),r(be,"anyBoolean",1),r(be,"encodingType",1),r(be,"maxId",16),r(be,"numCustomPurposes",6),r(be,"numEntries",12),r(be,"numRestrictions",12),r(be,"purposeId",6),r(be,"restrictionType",2),r(be,"segmentType",3),r(be,"singleOrRange",1),r(be,"vendorId",16);var Te,Ce=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){return String(Number(e))}},{key:"decode",value:function(e){return"1"===e}}]),e}(),Oe=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){var n;if("string"===typeof e&&(e=parseInt(e,10)),(n=e.toString(2)).length>t||e<0)throw new B("".concat(e," too large to encode into ").concat(t));return n.length<t&&(n="0".repeat(t-n.length)+n),n}},{key:"decode",value:function(e,t){if(t!==e.length)throw new q("invalid bit length");return parseInt(e,2)}}]),e}(),Ie=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){return Oe.encode(Math.round(e.getTime()/100),t)}},{key:"decode",value:function(e,t){if(t!==e.length)throw new q("invalid bit length");var n=new Date;return n.setTime(100*Oe.decode(e,t)),n}}]),e}(),we=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){for(var n="",r=1;r<=t;r++)n+=Ce.encode(e.has(r));return n}},{key:"decode",value:function(e,t){if(e.length!==t)throw new q("bitfield encoding length mismatch");for(var n=new _e,r=1;r<=t;r++)Ce.decode(e[r-1])&&n.set(r);return n.bitLength=e.length,n}}]),e}(),Ne=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){var n=(e=e.toUpperCase()).charCodeAt(0)-65,r=e.charCodeAt(1)-65;if(n<0||n>25||r<0||r>25)throw new B("invalid language code: ".concat(e));if(t%2===1)throw new B("numBits must be even, ".concat(t," is not valid"));return t/=2,Oe.encode(n,t)+Oe.encode(r,t)}},{key:"decode",value:function(e,t){if(t!==e.length||e.length%2)throw new q("invalid bit length for language");var n=e.length/2,r=Oe.decode(e.slice(0,n),n)+65,o=Oe.decode(e.slice(n),n)+65;return String.fromCharCode(r)+String.fromCharCode(o)}}]),e}(),Ae=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){var t=Oe.encode(e.numRestrictions,be.numRestrictions);if(!e.isEmpty()){var n=function(t,n){for(var r=t+1;r<=n;r++)if(e.gvl.vendorIds.has(r))return r;return t};e.getRestrictions().forEach((function(r){t+=Oe.encode(r.purposeId,be.purposeId),t+=Oe.encode(r.restrictionType,be.restrictionType);for(var o=e.getVendors(r),i=o.length,a=0,s=0,c="",u=0;u<i;u++){var l=o[u];if(0===s&&(a++,s=l),u===i-1||o[u+1]>n(l,o[i-1])){var d=!(l===s);c+=Ce.encode(d),c+=Oe.encode(s,be.vendorId),d&&(c+=Oe.encode(l,be.vendorId)),s=0}}t+=Oe.encode(a,be.numEntries),t+=c}))}return t}},{key:"decode",value:function(e){var t=0,n=new te,r=Oe.decode(e.substr(t,be.numRestrictions),be.numRestrictions);t+=be.numRestrictions;for(var o=0;o<r;o++){var i=Oe.decode(e.substr(t,be.purposeId),be.purposeId);t+=be.purposeId;var a=Oe.decode(e.substr(t,be.restrictionType),be.restrictionType);t+=be.restrictionType;var s=new Q(i,a),c=Oe.decode(e.substr(t,be.numEntries),be.numEntries);t+=be.numEntries;for(var u=0;u<c;u++){var l=Ce.decode(e.substr(t,be.anyBoolean));t+=be.anyBoolean;var d=Oe.decode(e.substr(t,be.vendorId),be.vendorId);if(t+=be.vendorId,l){var p=Oe.decode(e.substr(t,be.vendorId),be.vendorId);if(t+=be.vendorId,p<d)throw new q("Invalid RangeEntry: endVendorId ".concat(p," is less than ").concat(d));for(var h=d;h<=p;h++)n.add(h,s)}else n.add(d,s)}}return n.bitLength=t,n}}]),e}();!function(e){e[e.FIELD=0]="FIELD",e[e.RANGE=1]="RANGE"}(Te||(Te={}));var ke=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){var t,n=[],r=[],o=Oe.encode(e.maxId,be.maxId),i="",a=be.maxId+be.encodingType,s=a+e.maxId,c=2*be.vendorId+be.singleOrRange+be.numEntries,u=a+be.numEntries;return e.forEach((function(o,a){(i+=Ce.encode(o),(t=e.maxId>c&&u<s)&&o)&&(e.has(a+1)?0===r.length&&(r.push(a),u+=be.singleOrRange,u+=be.vendorId):(r.push(a),u+=be.vendorId,n.push(r),r=[]))})),t?(o+=String(Te.RANGE),o+=this.buildRangeEncoding(n)):(o+=String(Te.FIELD),o+=i),o}},{key:"decode",value:function(e,t){var n,r=0,o=Oe.decode(e.substr(r,be.maxId),be.maxId);r+=be.maxId;var i=Oe.decode(e.charAt(r),be.encodingType);if(r+=be.encodingType,i===Te.RANGE){if(n=new _e,1===t){if("1"===e.substr(r,1))throw new q("Unable to decode default consent=1");r++}var a=Oe.decode(e.substr(r,be.numEntries),be.numEntries);r+=be.numEntries;for(var s=0;s<a;s++){var c=Ce.decode(e.charAt(r));r+=be.singleOrRange;var u=Oe.decode(e.substr(r,be.vendorId),be.vendorId);if(r+=be.vendorId,c){var l=Oe.decode(e.substr(r,be.vendorId),be.vendorId);r+=be.vendorId;for(var d=u;d<=l;d++)n.set(d)}else n.set(u)}}else{var p=e.substr(r,o);r+=o,n=we.decode(p,o)}return n.bitLength=r,n}},{key:"buildRangeEncoding",value:function(e){var t=e.length,n=Oe.encode(t,be.numEntries);return e.forEach((function(e){var t=1===e.length;n+=Ce.encode(!t),n+=Oe.encode(e[0],be.vendorId),t||(n+=Oe.encode(e[1],be.vendorId))})),n}}]),e}();function Pe(){var e;return r(e={},K.version,Oe),r(e,K.created,Ie),r(e,K.lastUpdated,Ie),r(e,K.cmpId,Oe),r(e,K.cmpVersion,Oe),r(e,K.consentScreen,Oe),r(e,K.consentLanguage,Ne),r(e,K.vendorListVersion,Oe),r(e,K.policyVersion,Oe),r(e,K.isServiceSpecific,Ce),r(e,K.useNonStandardTexts,Ce),r(e,K.specialFeatureOptins,we),r(e,K.purposeConsents,we),r(e,K.purposeLegitimateInterests,we),r(e,K.purposeOneTreatment,Ce),r(e,K.publisherCountryCode,Ne),r(e,K.vendorConsents,ke),r(e,K.vendorLegitimateInterests,ke),r(e,K.publisherRestrictions,Ae),r(e,"segmentType",Oe),r(e,K.vendorsDisclosed,ke),r(e,K.vendorsAllowed,ke),r(e,K.publisherConsents,we),r(e,K.publisherLegitimateInterests,we),r(e,K.numCustomPurposes,Oe),r(e,K.publisherCustomConsents,we),r(e,K.publisherCustomLegitimateInterests,we),e}var De=function e(t,n){if(m(this,e),r(this,"1",[X.CORE]),r(this,"2",[X.CORE]),2===t.version)if(t.isServiceSpecific)this[2].push(X.VENDORS_DISCLOSED),this[2].push(X.PUBLISHER_TC);else{var o=!(!n||!n.isForVendors);o&&!0!==t[K.supportOOB]||this[2].push(X.VENDORS_DISCLOSED),o&&(t[K.supportOOB]&&t[K.vendorsAllowed].size>0&&this[2].push(X.VENDORS_ALLOWED),this[2].push(X.PUBLISHER_TC))}},xe=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){var n,r=this;try{n=this.fieldSequence[String(e.version)][t]}catch(a){throw new B("Unable to encode version: ".concat(e.version,", segment: ").concat(t))}var o="";t!==X.CORE&&(o=Oe.encode(re.KEY_TO_ID[t],be.segmentType));var i=Pe();return n.forEach((function(n){var s=e[n],c=i[n],u=be[n];void 0===u&&r.isPublisherCustom(n)&&(u=Number(e[K.numCustomPurposes]));try{o+=c.encode(s,u)}catch(a){throw new B("Error encoding ".concat(t,"->").concat(n,": ").concat(a.message))}})),z.encode(o)}},{key:"decode",value:function(e,t,n){var r=this,o=z.decode(e),i=0;n===X.CORE&&(t.version=Oe.decode(o.substr(i,be[K.version]),be[K.version])),n!==X.CORE&&(i+=be.segmentType);var a=this.fieldSequence[String(t.version)][n],s=Pe();return a.forEach((function(e){var n=s[e],a=be[e];if(void 0===a&&r.isPublisherCustom(e)&&(a=Number(t[K.numCustomPurposes])),0!==a){var c=o.substr(i,a);if(t[e]=n===ke?n.decode(c,t.version):n.decode(c,a),Number.isInteger(a))i+=a;else{if(!Number.isInteger(t[e].bitLength))throw new q(e);i+=t[e].bitLength}}})),t}},{key:"isPublisherCustom",value:function(e){return 0===e.indexOf("publisherCustom")}}]),e}();r(xe,"fieldSequence",new function e(){var t;m(this,e),r(this,"1",r({},X.CORE,[K.version,K.created,K.lastUpdated,K.cmpId,K.cmpVersion,K.consentScreen,K.consentLanguage,K.vendorListVersion,K.purposeConsents,K.vendorConsents])),r(this,"2",(r(t={},X.CORE,[K.version,K.created,K.lastUpdated,K.cmpId,K.cmpVersion,K.consentScreen,K.consentLanguage,K.vendorListVersion,K.policyVersion,K.isServiceSpecific,K.useNonStandardTexts,K.specialFeatureOptins,K.purposeConsents,K.purposeLegitimateInterests,K.purposeOneTreatment,K.publisherCountryCode,K.vendorConsents,K.vendorLegitimateInterests,K.publisherRestrictions]),r(t,X.VENDORS_DISCLOSED,[K.vendorsDisclosed]),r(t,X.PUBLISHER_TC,[K.publisherConsents,K.publisherLegitimateInterests,K.numCustomPurposes,K.publisherCustomConsents,K.publisherCustomLegitimateInterests]),r(t,X.VENDORS_ALLOWED,[K.vendorsAllowed]),t))});var Ve=function(){function e(){m(this,e)}return S(e,null,[{key:"process",value:function(e,t){var n=e.gvl;if(!n)throw new B("Unable to encode TCModel without a GVL");if(!n.isReady)throw new B("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=n.language.slice(0,2).toUpperCase(),(null===t||void 0===t?void 0:t.version)>0&&(null===t||void 0===t?void 0:t.version)<=this.processor.length?e.version=t.version:e.version=this.processor.length;var r=e.version-1;if(!this.processor[r])throw new B("Invalid version: ".concat(e.version));return this.processor[r](e,n)}}]),e}();r(Ve,"processor",[function(e){return e},function(e,t){e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset([1,3,4,5,6]);var n=new Map;return n.set("legIntPurposes",e.vendorLegitimateInterests),n.set("purposes",e.vendorConsents),n.forEach((function(n,r){n.forEach((function(o,i){if(o){var a=t.vendors[i];if(!a||a.deletedDate)n.unset(i);else if(0===a[r].length)if("legIntPurposes"===r&&0===a.purposes.length&&0===a.legIntPurposes.length&&a.specialPurposes.length>0)n.set(i);else if("legIntPurposes"===r&&a.purposes.length>0&&0===a.legIntPurposes.length&&a.specialPurposes.length>0)n.set(i);else if(e.isServiceSpecific)if(0===a.flexiblePurposes.length)n.unset(i);else{for(var s=e.publisherRestrictions.getRestrictions(i),c=!1,u=0,l=s.length;u<l&&!c;u++)c=s[u].restrictionType===$.REQUIRE_CONSENT&&"purposes"===r||s[u].restrictionType===$.REQUIRE_LI&&"legIntPurposes"===r;c||n.unset(i)}else n.unset(i)}}))})),e}]);var Re=function(){function e(){m(this,e)}return S(e,null,[{key:"absCall",value:function(e,t,n,r){return new Promise((function(o,i){var a=new XMLHttpRequest;a.withCredentials=n,a.addEventListener("load",(function(){if(a.readyState==XMLHttpRequest.DONE)if(a.status>=200&&a.status<300){var e=a.response;if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}o(e)}else i(new Error("HTTP Status: ".concat(a.status," response type: ").concat(a.responseType)))})),a.addEventListener("error",(function(){i(new Error("error"))})),a.addEventListener("abort",(function(){i(new Error("aborted"))})),null===t?a.open("GET",e,!0):a.open("POST",e,!0),a.responseType="json",a.timeout=r,a.ontimeout=function(){i(new Error("Timeout "+r+"ms "+e))},a.send(t)}))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.absCall(e,JSON.stringify(t),n,r)}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.absCall(e,null,t,n)}}]),e}(),Le=function(e){b(n,e);var t=w(n);function n(e,o){var i;m(this,n),r(y(i=t.call(this)),"readyPromise",void 0),r(y(i),"gvlSpecificationVersion",void 0),r(y(i),"vendorListVersion",void 0),r(y(i),"tcfPolicyVersion",void 0),r(y(i),"lastUpdated",void 0),r(y(i),"purposes",void 0),r(y(i),"specialPurposes",void 0),r(y(i),"features",void 0),r(y(i),"specialFeatures",void 0),r(y(i),"isReady_",!1),r(y(i),"vendors_",void 0),r(y(i),"vendorIds",void 0),r(y(i),"fullVendorList",void 0),r(y(i),"byPurposeVendorMap",void 0),r(y(i),"bySpecialPurposeVendorMap",void 0),r(y(i),"byFeatureVendorMap",void 0),r(y(i),"bySpecialFeatureVendorMap",void 0),r(y(i),"stacks",void 0),r(y(i),"dataCategories",void 0),r(y(i),"lang_",void 0),r(y(i),"cacheLang_",void 0),r(y(i),"isLatest",!1);var a=n.baseUrl,s=null===o||void 0===o?void 0:o.language;if(s)try{s=n.consentLanguages.parseLanguage(s)}catch(u){throw new j("Error during parsing the language: "+u.message)}if(i.lang_=s||n.DEFAULT_LANGUAGE,i.cacheLang_=s||n.DEFAULT_LANGUAGE,i.isVendorList(e))i.populate(e),i.readyPromise=Promise.resolve();else{if(!a)throw new j("must specify GVL.baseUrl before loading GVL json");if(e>0){var c=e;n.CACHE.has(c)?(i.populate(n.CACHE.get(c)),i.readyPromise=Promise.resolve()):(a+=n.versionedFilename.replace("[VERSION]",String(c)),i.readyPromise=i.fetchJson(a))}else n.CACHE.has(n.LATEST_CACHE_KEY)?(i.populate(n.CACHE.get(n.LATEST_CACHE_KEY)),i.readyPromise=Promise.resolve()):(i.isLatest=!0,i.readyPromise=i.fetchJson(a+n.latestFilename))}return i}return S(n,null,[{key:"baseUrl",set:function(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new j("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e},get:function(){return this.baseUrl_}}]),S(n,[{key:"cacheLanguage",value:function(){n.LANGUAGE_CACHE.has(this.cacheLang_)||n.LANGUAGE_CACHE.set(this.cacheLang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories})}},{key:"fetchJson",value:function(){var e=g(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this,e.next=4,Re.fetch(t);case 4:e.t1=e.sent,e.t0.populate.call(e.t0,e.t1),e.next=11;break;case 8:throw e.prev=8,e.t2=e.catch(0),new j(e.t2.message);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()},{key:"getJson",value:function(){return i(i({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.clonePurposes(),specialPurposes:this.cloneSpecialPurposes(),features:this.cloneFeatures(),specialFeatures:this.cloneSpecialFeatures(),stacks:this.cloneStacks()},this.dataCategories?{dataCategories:this.cloneDataCategories()}:{}),{},{vendors:this.cloneVendors()})}},{key:"cloneSpecialFeatures",value:function(){for(var e={},t=0,r=Object.keys(this.specialFeatures);t<r.length;t++){var o=r[t];e[o]=n.cloneFeature(this.specialFeatures[o])}return e}},{key:"cloneFeatures",value:function(){for(var e={},t=0,r=Object.keys(this.features);t<r.length;t++){var o=r[t];e[o]=n.cloneFeature(this.features[o])}return e}},{key:"cloneStacks",value:function(){for(var e={},t=0,r=Object.keys(this.stacks);t<r.length;t++){var o=r[t];e[o]=n.cloneStack(this.stacks[o])}return e}},{key:"cloneDataCategories",value:function(){for(var e={},t=0,r=Object.keys(this.dataCategories);t<r.length;t++){var o=r[t];e[o]=n.cloneDataCategory(this.dataCategories[o])}return e}},{key:"cloneSpecialPurposes",value:function(){for(var e={},t=0,r=Object.keys(this.specialPurposes);t<r.length;t++){var o=r[t];e[o]=n.clonePurpose(this.specialPurposes[o])}return e}},{key:"clonePurposes",value:function(){for(var e={},t=0,r=Object.keys(this.purposes);t<r.length;t++){var o=r[t];e[o]=n.clonePurpose(this.purposes[o])}return e}},{key:"cloneVendors",value:function(){for(var e={},t=0,r=Object.keys(this.fullVendorList);t<r.length;t++){var o=r[t];e[o]=n.cloneVendor(this.fullVendorList[o])}return e}},{key:"changeLanguage",value:function(){var e=g(f.a.mark((function e(t){var r,o,i,a,s;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t,e.prev=1,r=n.consentLanguages.parseLanguage(t),e.next=8;break;case 5:throw e.prev=5,e.t0=e.catch(1),new j("Error during parsing the language: "+e.t0.message);case 8:if(o=t.toUpperCase(),r.toLowerCase()!==n.DEFAULT_LANGUAGE.toLowerCase()||n.LANGUAGE_CACHE.has(o)){e.next=11;break}return e.abrupt("return");case 11:if(r===this.lang_){e.next=29;break}if(this.lang_=r,!n.LANGUAGE_CACHE.has(o)){e.next=18;break}for(a in i=n.LANGUAGE_CACHE.get(o))i.hasOwnProperty(a)&&(this[a]=i[a]);e.next=29;break;case 18:return s=n.baseUrl+n.languageFilename.replace("[LANG]",this.lang_.toLowerCase()),e.prev=19,e.next=22,this.fetchJson(s);case 22:this.cacheLang_=o,this.cacheLanguage(),e.next=29;break;case 26:throw e.prev=26,e.t1=e.catch(19),new j("unable to load language: "+e.t1.message);case 29:case"end":return e.stop()}}),e,this,[[1,5],[19,26]])})));return function(t){return e.apply(this,arguments)}}()},{key:"isVendorList",value:function(e){return void 0!==e&&void 0!==e.vendors}},{key:"populate",value:function(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.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&n.CACHE.set(n.LATEST_CACHE_KEY,this.getJson()),n.CACHE.has(this.vendorListVersion)||n.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}},{key:"mapVendors",value:function(e){var t=this;this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((function(e){t.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((function(e){t.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((function(e){t.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((function(e){t.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((function(e){return+e}))),this.vendorIds=new Set(e),this.vendors_=e.reduce((function(e,n){var r=t.vendors_[String(n)];return r&&void 0===r.deletedDate&&(r.purposes.forEach((function(e){t.byPurposeVendorMap[String(e)].consent.add(n)})),r.specialPurposes.forEach((function(e){t.bySpecialPurposeVendorMap[String(e)].add(n)})),r.legIntPurposes.forEach((function(e){t.byPurposeVendorMap[String(e)].legInt.add(n)})),r.flexiblePurposes&&r.flexiblePurposes.forEach((function(e){t.byPurposeVendorMap[String(e)].flexible.add(n)})),r.features.forEach((function(e){t.byFeatureVendorMap[String(e)].add(n)})),r.specialFeatures.forEach((function(e){t.bySpecialFeatureVendorMap[String(e)].add(n)})),e[n]=r),e}),{})}},{key:"getFilteredVendors",value:function(e,t,n,r){var o=this,i=e.charAt(0).toUpperCase()+e.slice(1),a={};return("purpose"===e&&n?this["by"+i+"VendorMap"][String(t)][n]:this["by"+(r?"Special":"")+i+"VendorMap"][String(t)]).forEach((function(e){a[String(e)]=o.vendors[String(e)]})),a}},{key:"getVendorsWithConsentPurpose",value:function(e){return this.getFilteredVendors("purpose",e,"consent")}},{key:"getVendorsWithLegIntPurpose",value:function(e){return this.getFilteredVendors("purpose",e,"legInt")}},{key:"getVendorsWithFlexiblePurpose",value:function(e){return this.getFilteredVendors("purpose",e,"flexible")}},{key:"getVendorsWithSpecialPurpose",value:function(e){return this.getFilteredVendors("purpose",e,void 0,!0)}},{key:"getVendorsWithFeature",value:function(e){return this.getFilteredVendors("feature",e)}},{key:"getVendorsWithSpecialFeature",value:function(e){return this.getFilteredVendors("feature",e,void 0,!0)}},{key:"narrowVendorsTo",value:function(e){this.mapVendors(e)}},{key:"clone",value:function(){var e=new n(this.getJson());return this.lang_!==n.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e}},{key:"language",get:function(){return this.lang_}},{key:"vendors",get:function(){return this.vendors_}},{key:"isReady",get:function(){return this.isReady_}}],[{key:"emptyLanguageCache",value:function(e){var t=!1;return null==e&&n.LANGUAGE_CACHE.size>0?(n.LANGUAGE_CACHE=new Map,t=!0):"string"===typeof e&&this.consentLanguages.has(e.toUpperCase())&&(n.LANGUAGE_CACHE.delete(e.toUpperCase()),t=!0),t}},{key:"emptyCache",value:function(e){var t=!1;return Number.isInteger(e)&&e>=0?(n.CACHE.delete(e),t=!0):void 0===e&&(n.CACHE=new Map,t=!0),t}},{key:"clonePurpose",value:function(e){return i(i({id:e.id,name:e.name,description:e.description},e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{}),e.illustrations?{illustrations:Array.from(e.illustrations)}:{})}},{key:"cloneFeature",value:function(e){return i(i({id:e.id,name:e.name,description:e.description},e.descriptionLegal?{descriptionLegal:e.descriptionLegal}:{}),e.illustrations?{illustrations:Array.from(e.illustrations)}:{})}},{key:"cloneDataCategory",value:function(e){return{id:e.id,name:e.name,description:e.description}}},{key:"cloneStack",value:function(e){return{id:e.id,name:e.name,description:e.description,purposes:Array.from(e.purposes),specialFeatures:Array.from(e.specialFeatures)}}},{key:"cloneDataRetention",value:function(e){return i(i({},"number"===typeof e.stdRetention?{stdRetention:e.stdRetention}:{}),{},{purposes:i({},e.purposes),specialPurposes:i({},e.specialPurposes)})}},{key:"cloneVendorUrls",value:function(e){return e.map((function(e){return i({langId:e.langId,privacy:e.privacy},e.legIntClaim?{legIntClaim:e.legIntClaim}:{})}))}},{key:"cloneVendor",value:function(e){return i(i(i(i(i(i(i(i(i(i(i({id:e.id,name:e.name,purposes:Array.from(e.purposes),legIntPurposes:Array.from(e.legIntPurposes),flexiblePurposes:Array.from(e.flexiblePurposes),specialPurposes:Array.from(e.specialPurposes),features:Array.from(e.features),specialFeatures:Array.from(e.specialFeatures)},e.overflow?{overflow:{httpGetLimit:e.overflow.httpGetLimit}}:{}),"number"===typeof e.cookieMaxAgeSeconds||null===e.cookieMaxAgeSeconds?{cookieMaxAgeSeconds:e.cookieMaxAgeSeconds}:{}),void 0!==e.usesCookies?{usesCookies:e.usesCookies}:{}),e.policyUrl?{policyUrl:e.policyUrl}:{}),void 0!==e.cookieRefresh?{cookieRefresh:e.cookieRefresh}:{}),void 0!==e.usesNonCookieAccess?{usesNonCookieAccess:e.usesNonCookieAccess}:{}),e.dataRetention?{dataRetention:this.cloneDataRetention(e.dataRetention)}:{}),e.urls?{urls:this.cloneVendorUrls(e.urls)}:{}),e.dataDeclaration?{dataDeclaration:Array.from(e.dataDeclaration)}:{}),e.deviceStorageDisclosureUrl?{deviceStorageDisclosureUrl:e.deviceStorageDisclosureUrl}:{}),e.deletedDate?{deletedDate:e.deletedDate}:{})}},{key:"isInstanceOf",value:function(e){return"object"===typeof e&&"function"===typeof e.narrowVendorsTo}}]),n}(J);r(Le,"LANGUAGE_CACHE",new Map),r(Le,"CACHE",new Map),r(Le,"LATEST_CACHE_KEY",0),r(Le,"DEFAULT_LANGUAGE","EN"),r(Le,"consentLanguages",new Y),r(Le,"baseUrl_",void 0),r(Le,"latestFilename","vendor-list.json"),r(Le,"versionedFilename","archives/vendor-list-v[VERSION].json"),r(Le,"languageFilename","purposes-[LANG].json");var Ue=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"isServiceSpecific_",!0),r(y(o),"supportOOB_",!1),r(y(o),"useNonStandardTexts_",!1),r(y(o),"purposeOneTreatment_",!1),r(y(o),"publisherCountryCode_","AA"),r(y(o),"version_",2),r(y(o),"consentScreen_",0),r(y(o),"policyVersion_",5),r(y(o),"consentLanguage_","EN"),r(y(o),"cmpId_",0),r(y(o),"cmpVersion_",0),r(y(o),"vendorListVersion_",0),r(y(o),"numCustomPurposes_",0),r(y(o),"gvl_",void 0),r(y(o),"created",void 0),r(y(o),"lastUpdated",void 0),r(y(o),"specialFeatureOptins",new _e),r(y(o),"purposeConsents",new _e),r(y(o),"purposeLegitimateInterests",new _e),r(y(o),"publisherConsents",new _e),r(y(o),"publisherLegitimateInterests",new _e),r(y(o),"publisherCustomConsents",new _e),r(y(o),"publisherCustomLegitimateInterests",new _e),r(y(o),"customPurposes",void 0),r(y(o),"vendorConsents",new _e),r(y(o),"vendorLegitimateInterests",new _e),r(y(o),"vendorsDisclosed",new _e),r(y(o),"vendorsAllowed",new _e),r(y(o),"publisherRestrictions",new te),e&&(o.gvl=e),o.updated(),o}return S(n,[{key:"setAllVendorConsents",value:function(){this.vendorConsents.set(this.gvl.vendors)}},{key:"unsetAllVendorConsents",value:function(){this.vendorConsents.empty()}},{key:"setAllVendorsDisclosed",value:function(){this.vendorsDisclosed.set(this.gvl.vendors)}},{key:"unsetAllVendorsDisclosed",value:function(){this.vendorsDisclosed.empty()}},{key:"setAllVendorsAllowed",value:function(){this.vendorsAllowed.set(this.gvl.vendors)}},{key:"unsetAllVendorsAllowed",value:function(){this.vendorsAllowed.empty()}},{key:"setAllVendorLegitimateInterests",value:function(){this.vendorLegitimateInterests.set(this.gvl.vendors)}},{key:"unsetAllVendorLegitimateInterests",value:function(){this.vendorLegitimateInterests.empty()}},{key:"setAllPurposeConsents",value:function(){this.purposeConsents.set(this.gvl.purposes)}},{key:"unsetAllPurposeConsents",value:function(){this.purposeConsents.empty()}},{key:"setAllPurposeLegitimateInterests",value:function(){this.purposeLegitimateInterests.set(this.gvl.purposes)}},{key:"unsetAllPurposeLegitimateInterests",value:function(){this.purposeLegitimateInterests.empty()}},{key:"setAllSpecialFeatureOptins",value:function(){this.specialFeatureOptins.set(this.gvl.specialFeatures)}},{key:"unsetAllSpecialFeatureOptins",value:function(){this.specialFeatureOptins.empty()}},{key:"setAll",value:function(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()}},{key:"unsetAll",value:function(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()}},{key:"updated",value:function(){var e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t}},{key:"gvl",set:function(e){Le.isInstanceOf(e)||(e=new Le(e)),this.gvl_=e,this.publisherRestrictions.gvl=e},get:function(){return this.gvl_}},{key:"cmpId",set:function(e){if(e=Number(e),!(Number.isInteger(e)&&e>1))throw new H("cmpId",e);this.cmpId_=e},get:function(){return this.cmpId_}},{key:"cmpVersion",set:function(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new H("cmpVersion",e);this.cmpVersion_=e},get:function(){return this.cmpVersion_}},{key:"consentScreen",set:function(e){if(e=Number(e),!(Number.isInteger(e)&&e>-1))throw new H("consentScreen",e);this.consentScreen_=e},get:function(){return this.consentScreen_}},{key:"consentLanguage",set:function(e){this.consentLanguage_=e},get:function(){return this.consentLanguage_}},{key:"publisherCountryCode",set:function(e){if(!/^([A-z]){2}$/.test(e))throw new H("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()},get:function(){return this.publisherCountryCode_}},{key:"vendorListVersion",set:function(e){if((e=Number(e)>>0)<0)throw new H("vendorListVersion",e);this.vendorListVersion_=e},get:function(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_}},{key:"policyVersion",set:function(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new H("policyVersion",e)},get:function(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_}},{key:"version",set:function(e){this.version_=parseInt(e,10)},get:function(){return this.version_}},{key:"isServiceSpecific",set:function(e){this.isServiceSpecific_=e},get:function(){return this.isServiceSpecific_}},{key:"useNonStandardTexts",set:function(e){this.useNonStandardTexts_=e},get:function(){return this.useNonStandardTexts_}},{key:"supportOOB",set:function(e){this.supportOOB_=e},get:function(){return this.supportOOB_}},{key:"purposeOneTreatment",set:function(e){this.purposeOneTreatment_=e},get:function(){return this.purposeOneTreatment_}},{key:"numCustomPurposes",get:function(){var e=this.numCustomPurposes_;if("object"===typeof this.customPurposes){var t=Object.keys(this.customPurposes).sort((function(e,t){return Number(e)-Number(t)}));e=parseInt(t.pop(),10)}return e},set:function(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new H("numCustomPurposes",e)}}]),n}(J);r(Ue,"consentLanguages",Le.consentLanguages);var Me=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){var n,r="";return e=Ve.process(e,t),(n=Array.isArray(null===t||void 0===t?void 0:t.segments)?t.segments:new De(e,t)[""+e.version]).forEach((function(t,o){var i="";o<n.length-1&&(i="."),r+=xe.encode(e,t)+i})),r}},{key:"decode",value:function(e,t){var n=e.split("."),r=n.length;t||(t=new Ue);for(var o=0;o<r;o++){var i=n[o],a=z.decode(i.charAt(0)).substr(0,be.segmentType),s=re.ID_TO_KEY[Oe.decode(a,be.segmentType).toString()];xe.decode(i,t,s)}return t}}]),e}(),Ge=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){var e,t=this,n=P.tcModel,r=n.vendorListVersion;void 0===this.param&&(this.param=r),(e=this.param===r&&n.gvl?n.gvl:new Le(this.param)).readyPromise.then((function(){t.invokeCallback(e.getJson())}))}}]),n}(N);function Fe(e,t,n){return(Fe="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=T(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}var qe,Be,je,He,ze,We,Ye=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){this.listenerId=P.eventQueue.add({callback:this.callback,param:this.param,next:this.next}),Fe(T(n.prototype),"respond",this).call(this)}}]),n}(A),Ke=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){this.invokeCallback(P.eventQueue.remove(this.param))}}]),n}(N);qe=u.PING,Be=u.GET_TC_DATA,je=u.GET_IN_APP_TC_DATA,He=u.GET_VENDOR_LIST,ze=u.ADD_EVENT_LISTENER,We=u.REMOVE_EVENT_LISTENER;var $e=function e(){m(this,e)};r($e,qe,U),r($e,Be,A),r($e,je,M),r($e,He,Ge),r($e,ze,Ye),r($e,We,Ke);var Je=function(){function e(){m(this,e)}return S(e,null,[{key:"has",value:function(e){return"string"===typeof e&&(e=Number(e)),this.set_.has(e)}}]),e}();r(Je,"set_",new Set([0,2,void 0,null]));var Qe,Ze=function(){function e(t){if(m(this,e),r(this,"callQueue",void 0),r(this,"customCommands",void 0),t){var n=u.ADD_EVENT_LISTENER;if(null===t||void 0===t?void 0:t[n])throw new Error("Built-In Custom Commmand for ".concat(n," not allowed: Use ").concat(u.GET_TC_DATA," instead"));if(n=u.REMOVE_EVENT_LISTENER,null===t||void 0===t?void 0:t[n])throw new Error("Built-In Custom Commmand for ".concat(n," not allowed"));(null===t||void 0===t?void 0:t[u.GET_TC_DATA])&&(t[u.ADD_EVENT_LISTENER]=t[u.GET_TC_DATA],t[u.REMOVE_EVENT_LISTENER]=t[u.GET_TC_DATA]),this.customCommands=t}try{this.callQueue=window.__tcfapi()||[]}catch(o){this.callQueue=[]}finally{window.__tcfapi=this.apiCall.bind(this),this.purgeQueuedCalls()}}return S(e,[{key:"apiCall",value:function(e,t,n){for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];if("string"!==typeof e&&"function"===typeof n)n(null,!1);else if(Je.has(t)){if("function"!==typeof n)throw new Error("invalid callback function");if(P.disabled)n(new x,!1);else if(this.isCustomCommand(e)||this.isBuiltInCommand(e))if(this.isCustomCommand(e)&&!this.isBuiltInCommand(e)){var a;(a=this.customCommands)[e].apply(a,[n].concat(o))}else e===u.PING?this.isCustomCommand(e)?new $e[e](this.customCommands[e],o[0],null,n):new $e[e](n,o[0]):void 0===P.tcModel?this.callQueue.push([e,t,n].concat(o)):this.isCustomCommand(e)&&this.isBuiltInCommand(e)?new $e[e](this.customCommands[e],o[0],null,n):new $e[e](n,o[0]);else n(null,!1)}else n(null,!1)}},{key:"purgeQueuedCalls",value:function(){var e=this.callQueue;this.callQueue=[],e.forEach((function(e){var t;(t=window).__tcfapi.apply(t,c(e))}))}},{key:"isCustomCommand",value:function(e){return this.customCommands&&"function"===typeof this.customCommands[e]}},{key:"isBuiltInCommand",value:function(e){return void 0!==$e[e]}}]),e}(),Xe=function(){function e(t,n){var o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0;m(this,e),r(this,"callResponder",void 0),r(this,"isServiceSpecific",void 0),r(this,"numUpdates",0),this.throwIfInvalidInt(t,"cmpId",2),this.throwIfInvalidInt(n,"cmpVersion",0),P.cmpId=t,P.cmpVersion=n,P.tcfPolicyVersion=5,this.isServiceSpecific=!!o,this.callResponder=new Ze(i)}return S(e,[{key:"throwIfInvalidInt",value:function(e,t,n){if(!("number"===typeof e&&Number.isInteger(e)&&e>=n))throw new Error("Invalid ".concat(t,": ").concat(e))}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(P.disabled)throw new Error("CmpApi Disabled");P.cmpStatus=l.LOADED,t?(P.displayStatus=d.VISIBLE,P.eventStatus=p.CMP_UI_SHOWN):void 0===P.tcModel?(P.displayStatus=d.DISABLED,P.eventStatus=p.TC_LOADED):(P.displayStatus=d.HIDDEN,P.eventStatus=p.USER_ACTION_COMPLETE),P.gdprApplies=null!==e,P.gdprApplies?(""===e?(P.tcModel=new Ue,P.tcModel.cmpId=P.cmpId,P.tcModel.cmpVersion=P.cmpVersion):P.tcModel=Me.decode(e),P.tcModel.isServiceSpecific=this.isServiceSpecific,P.tcfPolicyVersion=Number(P.tcModel.policyVersion),P.tcString=e):P.tcModel=null,0===this.numUpdates?this.callResponder.purgeQueuedCalls():P.eventQueue.exec(),this.numUpdates++}},{key:"disable",value:function(){P.disabled=!0,P.cmpStatus=l.ERROR}}]),e}(),et=function(e){return e.YES="Y",e.NOT="N",e}({}),tt=function(e){return e[e.TOP_LEFT=1]="TOP_LEFT",e[e.TOP_RIGHT=2]="TOP_RIGHT",e[e.BOTTOM_RIGHT=3]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=4]="BOTTOM_LEFT",e}({}),nt=function(e){return e.SERVICE="service",e.SERVICE_GROUP="service group",e}({}),rt=function(e){return e.GDPR="GDPR",e.USP="USP",e.MSPA="MSPA",e}({}),ot={hasCookie:!1},it=function e(){m(this,e),r(this,"vendorConsents",i({},ot)),r(this,"purposesConsents",i({},ot)),r(this,"specialFeatures",i({},ot)),r(this,"vendorLegitimateInterest",i({},ot)),r(this,"legitimatePurposesConsents",i({},ot)),r(this,"nonIabConsents",i({},ot)),r(this,"googleConsents",i({},ot)),r(this,"consentScreen",0),r(this,"allConsents",!1),r(this,"gbcConsent",void 0),r(this,"vendorsDisclosed",i({},ot))},at={uspVersion:1,uspJurisdiction:[],uspLspact:et.NOT,uspPrivacyPolicyLink:"",uspDeleteDataLink:"",uspAccessDataLink:"",cookieDomain:window.location.hostname,suppressCcpaLinks:!0},st={defaultToggleValue:"off",displayUi:"always",displayPersistentConsentLink:!0,hashCode:"",groupSitesUrl:"",initScreenRejectButtonShowing:!0,initScreenCloseButtonShowing:!1,initScreenBodyTextOption:1,lang_:"en",nonconsentDisplayFrequency:1,persistentConsentLinkLocation:tt.BOTTOM_RIGHT,publisherLogo:"",publisherName:"",stacks:[],publisherFeaturesIds:[],publisherSpecialFeaturesIds:[],publisherSpecialPurposesIds:[],publisherPurposeIds:[],publisherPurposeLegitimateInterestIds:[],publisherVendorListUrl:"",publisherCountryCode:"GB",vendorPurposeIds:[1,2,3,4,5,6,7,8,9,10],vendorPurposeLegitimateInterestIds:[7,8,9,10,2],vendorSpecialFeaturesIds:[1,2],vendorSpecialPurposesIds:[1,2,3],vendorFeaturesIds:[1,2,3],rejectConsentRedirectUrl:"",softOptInEnabled:!1,uiLayout:"popup",vendorListUpdateFreq:30,consentScopeGroupURL:"",groupOfWebsitesURL:"",cookieDomain:window.location.hostname,cookiePath:"/",thirdPartyStorageType:"iframe",gvlVersion:2,totalVendors:0,showSummaryView:!0,googleEnabled:!1,consentOnSafari:!1,isAMP:!1,publisherConsentRestrictionIds:[],publisherLIRestrictionIds:[]},ct={initScreenCustomLinks:[],linksTitle:"Additional Links",nonIabVendorsLabel:"Non-IAB Vendors"},ut={uspDnsTitle:"Do Not Process My Personal Information",uspDnsText:["<p>If you wish to opt-out of the sale, sharing to third parties, or processing of your personal or sensitive information for targeted advertising by us, please use the below opt-out section to confirm your selection. Please note that after your opt-out request is processed you may continue seeing interest-based ads based on personal information utilized by us or personal information disclosed to third parties prior to your opt-out. You may separately opt-out of the further disclosure of your personal information by third parties on the IAB\u2019s list of downstream participants.</p>"],uspDoNotSellToggleText:'I want to make a "Do Not Process My Personal Information" request.',uspPrivacyPolicyLinkText:"Privacy Policy",uspDeleteDataLinkText:"Data Deletion",uspAccessDataLinkText:"Data Access",uspAcceptButton:"CONFIRM"},lt={initScreenTitle:"We value your privacy",agreeButton:"AGREE",initScreenRejectButton:"DISAGREE",initScreenSettingsButton:"MORE OPTIONS",summaryScreenBodyNoRejectService:["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised ads and content, ad and content measurement, and audience insights, as well as to develop and improve products."," With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our partners\u2019 processing as described above. Alternatively you may access more detailed information and change your preferences before consenting or to refuse consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this website only. You can change your preferences at any time by returning to this site or visit our privacy policy.\n"],summaryScreenBodyNoRejectGroup:["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised ads and content, ad and content measurement, and audience insights, as well as to develop and improve products."," With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our partners\u2019 processing as described above. Alternatively you may access more detailed information and change your preferences before consenting or to refuse consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to a group of websites [hyperlinked to domain where all the properties are listed for this group configuration].You can change your preferences at any time by returning to this site or visit our privacy policy."],summaryScreenBodyRejectService:["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised ads and content, ad and content measurement, and audience insights, as well as to develop and improve products."," With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to this website only. You can change your preferences at any time by returning to this site or visit our privacy policy."],summaryScreenBodyRejectGroup:["We and our partners store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised ads and content, ad and content measurement, and audience insights, as well as to develop and improve products."," With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click to consent to our and our partners\u2019 processing as described above. Alternatively you may click to refuse to consent or access more detailed information and change your preferences before consenting. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. Your preferences will apply to a group of websites [links to domain where all the properties are listed for this group configuration]. You can change your preferences at any time by returning to this site or visit our privacy policy."],initScreenBodyService:"We and our partners store or access information on devices, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for the purposes described below. You may click to consent to our and our partners\u2019 processing for such purposes. Alternatively, you may click to refuse to consent, or access more detailed information and change your preferences before consenting. Your preferences will apply to this website only. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences at any time by returning to this site or visit our privacy policy.",initScreenBodyGroup:"We and our partners store or access information on devices, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for the purposes described below. You may click to consent to our and our partners\u2019 processing for such purposes. Alternatively, you may click to refuse to consent, or access more detailed information and change your preferences before consenting. Your preferences will apply to a group of websites [links to domain where all the properties are listed for this group configuration]. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences at any time by returning to this site or visit our privacy policy.",specialPurposesAndFeatures:"Special Purposes and Features",saveAndExitButton:"SAVE & EXIT",purposeScreenVendorLink:"PARTNERS",legitimateInterestLink:"LEGITIMATE INTEREST ",legitimateInterestPrivacyLink:"Legitimate Interest Claim",specialPurposesLabel:"Special Purposes",specialFeaturesLabel:"Special Features",featuresLabel:"Features",back:"Back",onLabel:"ON",offLabel:"OFF",multiLabel:"MULTI",legalDescription:"Legal Description",showPartners:"Show Partners",hidePartners:"Hide Partners",vendorScreenBody:"Review and set your consent preferences for each partner below. Expand each partner list item for more information to help make your choice. Some personal data is processed without your consent, but you have the right to object.",privacyPolicyLabel:"Privacy Policy",descriptionLabel:"Vendor Description",legitimateScreenBody:"Review and object to processing of personal data without your consent on the basis of a legitimate interest for each purpose and by each partner below. Expand each purpose or partner list item for more information to help make your choice. To object to the special purposes of ensuring security, preventing fraud, and debugging, and technically delivering ads or content click on a partner's privacy policy link.",legitimateInterestPurposesLabel:"Legitimate Interest Purpose(s)",legitimateInterestVendorLabel:"Legitimate Interest Vendors",legitimateScreenObject:"OBJECT (translation hint: verb to object)",legitimateScreenObjected:"OBJECTED",legitimateScreenAccept:"REMOVE OBJECTION",objectAllButton:"OBJECT ALL",persistentConsentLinkLabel:"Privacy",nonIabVendorsNotice:"Vendors who do not participate in the IAB Europe Transparency and Consent Framework and do not adhere to its policies or technical specifications",googlePartners:"Google Partners",cookieMaxAgeLabel:"Max cookie age",secondsLabel:"seconds",daysLabel:"days",storageDisclosureLabel:"Cookie disclosure",dataRetentionDays:"Data Retention",illustrations:"Illustrations"},dt={nonIabVendorListUrl:"",vendorBlacklist:[],vendorWhitelist:[],googleWhitelist:[1]},pt={uxBackgroundColor:"#fff",uxPrimaryButtonColor:"#206DC5",uxPrimaryButtonTextColor:"#fff",uxSecondaryButtonColor:"#fff",uxSecondaryButtonTextColor:"#206DC5",uxToogleActiveColor:"#206DC5",uxLinkColor:"#206DC5",uxFontColor:"#141e23"},ht={initScreenSettingsButton:"MANAGE PREFERENCES",action1:"Reject & Subscribe",action2:"Login & Continue",privacyBody:'<p>&lt;p&gt;We and our partners store and/or access information on a device, such as cookies, and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research, and services development. With your permission, we and our partners may use precise geolocation data and identification through device scanning.&lt;/p&gt;</p>\n<p>&lt;ol&gt;</p>\n<p>&nbsp;&nbsp;&lt;li&gt;By clicking on &lt;strong&gt;I Accept&lt;/strong&gt;, you will agree to your data being used for personalised advertising in exchange for using our site for free.&lt;/li&gt;</p>\n<p>&nbsp;&nbsp;&lt;li&gt;If you click &lt;strong&gt;Reject and Pay&lt;/strong&gt;, you will need to sign up for our subscription service. This subscription will enable you to access the same content without sharing your personal data for advertising purposes.&lt;/li&gt;</p>\n<p>&lt;/ol&gt;</p>\n<p><br></p>\n<p>&lt;p&gt;For more information, see our &lt;a href="your-terms-url"&gt;Terms and Conditions&lt;/a&gt;. Both options enable you to access the content and support the work of our team. We have introduced these choices in accordance with data protection regulations.&lt;/p&gt;</p>\n<p><br></p>\n<p>&lt;p&gt;Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You may access more detailed information about the purposes, and tailor your choices, by clicking on &lt;strong&gt;More Options&lt;/strong&gt;.&lt;/p&gt;</p>\n<p><br></p>\n<p>&lt;p&gt;You can change your preferences, view our partners, or withdraw your consent at any time by returning to this site and clicking the &lt;strong&gt;Privacy setting&lt;/strong&gt; link on the webpage. Your preferences will apply to this website only and will be stored for 13 month and consent is stored in browser cookies.&lt;/p&gt;</p>'},ft=function(e){return e[e.DNS=1]="DNS",e[e.DELETE=2]="DELETE",e[e.ACCESS=3]="ACCESS",e}({}),vt=function(e){return e.GO_TO_PAGE="goToPage",e.PURPOSE="purpose",e.LEGITIMATE_PURPOSE="legitimatePurpose",e.LEGITIMATE_VENDOR="legitimateVendor",e.SPECIAL_FEATURE="specialFeature",e.STACK="stack",e.PARTIAL_CONSENT="partial",e.SAVE_AND_EXIT="saveAndExit",e.ACCEPT_ALL="acceptAll",e.REJECT_ALL="rejectAll",e.ACCEPT_ALL_LEGITIMATE="acceptAllLegitimate",e.OBJECT_ALL_LEGITIMATE="objectAllLegitimate",e.ACCEPT_ALL_VENDORS="acceptAllVendors",e.REJECT_ALL_VENDORS="rejectAllVendors",e.ACCEPT_ALL_PURPOSES="acceptAllPurposes",e.REJECT_ALL_PURPOSES="rejectAllPurposes",e.VENDOR="vendor",e.NON_IAB_VENDOR="nonIabVendor",e.DISMISS_UI="dismissUi",e.START_ON_PAGE="startOnPage",e.OPT_OUT_TOGGLE="optOutToggle",e.OPT_OUT_CONFIRM="optOutConfirm",e.EXPAND_ELEMENT="expandElement",e.COLLAPSE_ELEMENT="collapseElement",e.GOOGLE="googlePartner",e.ACTION1="ACTION1",e.ACTION2="ACTION2",e}({}),gt=function(e){return e[e.INIT_PAGE=0]="INIT_PAGE",e[e.PURPOSES_PAGE=1]="PURPOSES_PAGE",e[e.VENDORS_PAGE=2]="VENDORS_PAGE",e[e.LEGITIMATE_PAGE=3]="LEGITIMATE_PAGE",e[e.GOOGLE_BASIC_CONSENT=4]="GOOGLE_BASIC_CONSENT",e}({}),mt=function(e){return e.FEATURES="Features",e.NON_IAB="Non IAB",e.PURPOSES="Purposes",e.LEGITIMATE_PURPOSES="Legitimate Purposes",e.LEGITIMATE_VENDORS="Legitimate Vendors",e.SPECIAL_PURPOSES="Special Purposes",e.SPECIAL_FEATURES="Special Features",e.VENDORS="Vendors",e.STACKS="Stacks",e.GOOGLE="Google",e.DATA_CATEGORIES="Data Categories",e}({}),Et=function(e){return e.ACCEPT_ALL="All",e.ACCEPT_PARTIAL="Partial",e.REJECT="Reject",e}({}),St=function(e){return e.STACKS="stacks",e.VENDORS="vendors",e.FEATURES="features",e.PURPOSES="purposes",e.SPECIAL_FEATURES="specialFeatures",e.SPECIAL_PURPOSES="specialPurposes",e.FLEXIBLE_PURPOSES="flexiblePurposes",e.LEGITIMATE_VENDORS="legitimateVendors",e.LEGITIMATE_PURPOSES="legitimatePurposes",e.UNFILTERED_FEATURES="unfilteredFeatures",e.UNFILTERED_PURPOSES="unfilteredPurposes",e.UNFILTERED_SPECIAL_FEATURES="unfilteredSpecialFeatures",e.UNFILTERED_SPECIAL_PURPOSES="unfilteredSpecialPurposes",e.DATA_DECLARATION="dataDeclaration",e}({}),yt=function(e){return e.CONSENT_RESPONSE="consent-response",e.CONSENT_UI="consent-ui",e}({}),_t=function(e){return e[e.GDPR=2]="GDPR",e[e.USP=3]="USP",e}({}),bt=function(e){return e.ACCEPT="accept",e.REJECT="reject",e.DISMISS="dismiss",e.ENTER_FULLSCREEN="enter-fullscreen",e}({}),Tt=parseInt("".concat("61")),Ct="".concat(1,"---"),Ot="".concat(1,"N--"),It="".concat(1,"NY"),wt="".concat(1,"NN"),Nt=(gt.INIT_PAGE,gt.PURPOSES_PAGE,gt.VENDORS_PAGE,gt.LEGITIMATE_PAGE,Number.isNaN(Tt)?1:Tt),At="CMPList",kt="euconsent-v2",Pt="noniabvendorconsent",Dt="eupubconsent",xt="_cmpRepromptHash",Vt="usprivacy",Rt="addtl_consent",Lt="gbc_consent",Ut="IABGPP_HDR_GppString",Mt="gdpr_encoding_modes",Gt="user_current_location",Ft="_gppHash",qt="_cmpShown",Bt="_acceptanceState",jt="_gbcAcceptanceState",Ht="_config",zt="_manualTrigger",Wt={1:"ad_storage",2:"ad_user_data",3:"ad_personalization",4:"analytics_storage",5:"functionality_storage",6:"personalization_storage",7:"security_storage"},Yt="granted",Kt="denied",$t="worldwide",Jt="eea",Qt="usa",Zt="consent",Xt="default",en="set",tn="url_passthrough",nn="ads_data_redaction",rn=["BEL","GRC","LTU","PRT","BGR","ESP","LUX","ROU","CZE","FRA","HUN","SVN","DNK","HRV","MLT","SVK","DEU","ITA","NLD","FIN","EST","CYP","AUT","SWE","IRL","LVA","POL","GBR","CHE","NOR","LIE","ISL"],on=["BRAZIL","CANADA","BRA","CAN","JPN","TWN","IDN","KOR","IND","VNM","THA","HKG","SGP","MYS","PHL"],an={TCF:"TCF",GPP:"GPP",TCF_AND_GPP:"TCF_AND_GPP"},sn="NATIONAL",cn="STATE_AND_NATIONAL",un="usa",ln={EEA:"EEA",USA:"USA",WORLDWIDE:"WORLDWIDE",BRAZIL:"BRAZIL",CANADA:"CANADA",JPN:"JPN",KOR:"KOR",TWN:"TWN",IDN:"IDN",IND:"IND",VNM:"VNM",THA:"THA",HKG:"HKG",SGP:"SGP",MYS:"MYS",PHL:"PHL",NEVER:"NEVER"},dn=(navigator,"Version"),pn="SaleOptOut",hn="SharingOptOut",fn="TargetedAdvertisingOptOut",vn="PersonalDataConsents",gn="SensitiveDataProcessing",mn="KnownChildSensitiveDataConsents",En="MspaCoveredTransaction",Sn="MspaOptOutOptionMode",yn="MspaServiceProviderMode",_n="GpcSegmentType",bn="GpcSegmentIncluded",Tn="Gpc",Cn="AdditionalDataProcessingConsent",On=["ct","co","ca","va","ut","fl","mt","or","de","ne","nh","nj","tn","ia","tx"],In=12,wn=11,Nn=10,An=9,kn=8,Pn=13,Dn=14,xn=15,Vn=16,Rn=17,Ln=18,Un=19,Mn=20,Gn=21,Fn=22,qn=7,Bn=2,jn=["www.mirror.co.uk","www.express.co.uk","localhost","www.liverpoolecho.co.uk","www.dailystar.co.uk","www.manchestereveningnews.co.uk","www.dailyrecord.co.uk","www.walesonline.co.uk","copv2.surge.sh","www.devonlive.com","www.chroniclelive.co.uk","www.stokesentinel.co.uk","www.birminghammail.co.uk","www.belfastlive.co.uk","www.bristolpost.co.uk","www.gloucestershirelive.co.uk","www.hulldailymail.co.uk","www.lancs.live","www.ok.co.uk","www.leeds-live.co.uk","www.dailypost.co.uk","www.derbytelegraph.co.uk","www.plymouthherald.co.uk","www.cornwalllive.com","www.getsurrey.co.uk","www.gazettelive.co.uk","www.kentlive.news","www.leicestermercury.co.uk","www.nottinghampost.com","www.examinerlive.co.uk","ron-dev-pres-bertha.leicestermercury.co.uk","ron-dev-pres-stable.leicestermercury.co.uk","ron-dev-pres-bertha.nottinghampost.com","ron-dev-pres-bertha.nottinghampost.com","reg-dev-pres-bertha.examinerlive.co.uk","reg-dev-pres-stable.examinerlive.co.uk","ron-dev-pres-bertha.plymouthherald.co.uk","ron-dev-pres-stable.plymouthherald.co.uk","ron-dev-pres-bertha.cornwalllive.com","ron-dev-pres-stable.cornwalllive.com","reg-dev-pres-stable.getsurrey.co.uk","reg-dev-pres-stable.gazettelive.co.uk","ron-dev-pres-stable.kentlive.news","reg-dev-pres-bertha.lancs.live","reg-dev-pres-stable.lancs.live","nat-dev-pres-bertha.ok.co.uk","nat-dev-pres-stable.ok.co.uk","reg-dev-pres-bertha.leeds-live.co.uk","reg-dev-pres-stable.leeds-live.co.uk","reg-dev-pres-bertha.dailypost.co.uk","reg-dev-pres-stable.dailypost.co.uk","ron-dev-pres-bertha.derbytelegraph.co.uk","ron-dev-pres-stable.derbytelegraph.co.uk","qa.bristolpost.co.uk","preprod.bristolpost.co.uk","ron-dev-pres-bertha.bristolpost.co.uk","ron-dev-pres-stable.bristolpost.co.uk","dev.gloucestershirelive.co.uk","qa.gloucestershirelive.co.uk","preprod.gloucestershirelive.co.uk","ron-dev-pres-bertha.gloucestershirelive.co.uk","ron-dev-pres-stable.gloucestershirelive.co.uk","dev.hulldailymail.co.uk","qa.hulldailymail.co.uk","preprod.hulldailymail.co.uk","ron-dev-pres-bertha.hulldailymail.co.uk","ron-dev-pres-stable.hulldailymail.co.uk","qa.devonlive.com","preprod.devonlive.com","ron-dev-pres-bertha.devonlive.com","ron-dev-pres-stable.devonlive.com","qa.chroniclelive.co.uk","preprod.chroniclelive.co.uk","reg-dev-pres-bertha.chroniclelive.co.uk","reg-dev-pres-stable.chroniclelive.co.uk","qa.stokesentinel.co.uk","preprod.stokesentinel.co.uk","ron-dev-pres-bertha.stokesentinel.co.uk","ron-dev-pres-stable.stokesentinel.co.uk","dev.birminghammail.co.uk","qa.birminghammail.co.uk","preprod.birminghammail.co.uk","reg-dev-pres-bertha.birminghammail.co.uk","reg-dev-pres-stable.birminghammail.co.uk","qa.belfastlive.co.uk","preprod.belfastlive.co.uk","reg-dev-pres-bertha.belfastlive.co.uk","reg-dev-pres-stable.belfastlive.co.uk","preprod.dailyrecord.co.uk","preprod.dailystar.co.uk","preprod.liverpoolecho.co.uk","preprod.manchestereveningnews.co.uk","preprod.walesonline.co.uk","qa.dailyrecord.co.uk","qa.dailystar.co.uk","qa.liverpoolecho.co.uk","qa.manchestereveningnews.co.uk","qa.walesonline.co.uk","nat-dev-pres-stable.dailyrecord.co.uk","nat-dev-pres-stable.dailystar.co.uk","nat-dev-pres-stable.liverpoolecho.co.uk","nat-dev-pres-stable.manchestereveningnews.co.uk","nat-dev-pres-stable.walesonline.co.uk","dev.dailyrecord.co.uk","dev.dailystar.co.uk","dev.liverpoolecho.co.uk","dev.manchestereveningnews.co.uk","dev.walesonline.co.uk","dev.dailystar.co.uk","nat-dev-pres-bertha.dailyrecord.co.uk","nat-dev-pres-bertha.dailystar.co.uk","nat-dev-pres-bertha.liverpoolecho.co.uk","nat-dev-pres-bertha.manchestereveningnews.co.uk","nat-dev-pres-bertha.walesonline.co.uk"],Hn="Chrome",zn="Safari",Wn="Edge",Yn="Samsung Internet",Kn="Firefox",$n="Other",Jn="Android",Qn="iOS",Zn="Windows",Xn="Mac OS",er="Linux",tr="iPadOS",nr="others",rr="mobile",or="tablet",ir="pc",ar="others",sr=function(e){return e.ALL="All",e.PARTIAL="Partial",e.REJECT="Reject",e.BOUNCE="Bounce",e.FIRST_TIME_TRIGGER="FirstTimeTrigger",e.NOTICE_NOT_SHOWN="NoticeNotShown",e}({}),cr=n(31),ur={inmobiAccountId:{type:"string",values:""},consentScope:{type:"string",values:[nt.SERVICE,nt.SERVICE_GROUP]},defaultToggleValue:{type:"string",values:["on","off"]},displayUi:{type:"string",values:["never","inEU","always"]},consentLocations:{type:"array",values:[].concat(c(rn),c(on),["WORLDWIDE","EEA","USA","NEVER"])},displayPersistentConsentLink:{type:"boolean",values:""},gvlVersion:{type:"number",values:""},totalVendors:{type:"number",values:""},groupSitesUrl:{type:"string",values:""},hashCode:{type:"string",values:""},initScreenRejectButtonShowing:{type:"boolean",values:""},initScreenCloseButtonShowing:{type:"boolean",values:""},isAMP:{type:"boolean",values:""},initScreenBodyTextOption:{type:"number",values:""},lang_:{type:"string",values:cr},nonconsentDisplayFrequency:{type:"number",values:""},persistentConsentLinkLocation:{type:"number",values:[1,2,3,4]},publisherLogo:{type:"string",values:""},publisherName:{type:"string",values:""},publisherFeaturesIds:{type:"array",values:[1,2,3]},publisherSpecialFeaturesIds:{type:"array",canBeEmpty:!0,values:[1,2]},publisherSpecialPurposesIds:{type:"array",values:[1,2]},publisherPurposeIds:{type:"array",canBeEmpty:!0,values:[1,2,3,4,5,6,7,8,9,10,11]},publisherPurposeLegitimateInterestIds:{type:"array",canBeEmpty:!0,values:[1,2,3,4,5,6,7,8,9,10]},publisherVendorListUrl:{type:"string",values:""},publisherCountryCode:{type:"string",values:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","KH","CM","CA","CV","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","DE","GH","GI","GR","GL","GD","GP","GU","GT","GG","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KR","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","AN","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","GS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","US","UM","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},vendorPurposeIds:{type:"array",canBeEmpty:!0,values:[1,2,3,4,5,6,7,8,9,10,11]},vendorPurposeLegitimateInterestIds:{type:"array",canBeEmpty:!0,values:[1,2,3,4,5,6,7,8,9,10,11]},vendorSpecialFeaturesIds:{type:"array",canBeEmpty:!0,values:[1,2]},vendorSpecialPurposesIds:{type:"array",canBeEmpty:!0,values:[1,2,3]},vendorFeaturesIds:{type:"array",canBeEmpty:!0,values:[1,2,3]},rejectConsentRedirectUrl:{type:"string",values:""},stacks:{type:"array",values:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42]},softOptInEnabled:{type:"boolean",values:""},uiLayout:{type:"string",values:["popup","banner"]},vendorListUpdateFreq:{type:"number",values:""},consentScopeGroupURL:{type:"string",values:""},groupOfWebsitesURL:{type:"string",values:""},cookieDomain:{type:"string",values:""},cookiePath:{type:"string",values:""},thirdPartyStorageType:{type:"string",values:["iframe","api"]},showSummaryView:{type:"boolean",values:""},privacyMode:{type:"array",values:[rt.GDPR,rt.USP]},uspVersion:{type:"number",values:[1]},uspJurisdiction:{type:"array",values:["US","CA"]},uspLspact:{type:"string",values:[et.YES,et.NOT]},uspPrivacyPolicyLink:{type:"string",values:""},uspDeleteDataLink:{type:"string",values:""},uspAccessDataLink:{type:"string",values:""},suppressCcpaLinks:{type:"boolean",values:""},googleEnabled:{type:"boolean",values:""},publisherConsentRestrictionIds:{type:"array",values:"",arrayType:"number"},publisherLIRestrictionIds:{type:"array",values:"",arrayType:"number"},consentOnSafari:{type:"boolean",values:""},gbcConfig:{type:"object",values:""},gdprEncodingMode:{type:"string",values:[an.GPP,an.TCF,an.TCF_AND_GPP]},mspaJurisdiction:{type:"string",values:["NATIONAL","STATE_AND_NATIONAL"]},isCoveredTransaction:{type:"boolean",values:[!0,!1]},mspaSignalMode:{type:"string",values:["OPT_OUT"]},ccpaViaUsp:{type:"boolean",values:[!0,!1]},isGpcEnabled:{type:"boolean",values:[!0,!1]},mspaOptOutPurposeIds:{type:"array",values:"",arrayType:"number"},mspaSensitiveDataPurposeIds:{type:"array",values:"",arrayType:"number"},cmpVersion:{type:"string",values:""},mspaAutoPopUp:{type:"boolean",values:[!0,!1]},legitimateInterestOptIn:{type:"boolean",values:[!0,!1]},includeVendorsDisclosedSegment:{type:"boolean",values:[!0,!1]},siteUuid:{type:"string",values:""},themeUuid:{type:"string",values:""},features:{type:"object",values:""},gdprPrivacyLink:{type:"string",values:""},consentOrPay:{type:"object",values:""},translationUrls:{type:"object",values:""},gdprEnabledInUS:{type:"boolean",values:[!0,!1]},mspaFooterHtmlId:{type:"string",values:""},mspaFooterHtmlShowImage:{type:"boolean",values:[!0,!1]},mspaFooterHtmlText:{type:"string",values:""},optOutFromAllEnabled:{type:"boolean",values:[!0,!1]}},lr={acceptAll:{type:"string"},initScreenRejectButton:{type:"string"},initScreenSettingsButton:{type:"string"},initScreenTitle:{type:"string"},persistentConsentLinkLabel:{type:"string"},customInitScreenBodyText:{type:"string"},customSecondScreenBodyText:{type:"string"},customVendorScreenBodyText:{type:"string"},customLegitimateScreenBodyText:{type:"string"},summaryScreenBodyNoRejectService:{type:"array",values:""},summaryScreenBodyTextNoReject:{type:"array",values:""},summaryScreenBodyTextNoRejectGroup:{type:"array",values:""},summaryScreenBodyTextReject:{type:"array",values:""},summaryScreenBodyTextRejectGroup:{type:"array",values:""},summaryScreenBodyNoRejectGroup:{type:"array",values:""},summaryScreenBodyRejectService:{type:"array",values:""},summaryScreenBodyRejectGroup:{type:"array",values:""},groupOfSitesLabel:{type:"string"},saveAndExitButton:{type:"string"},agreeToSelectedButton:{type:"string"},agreeButton:{type:"string"},agreeAllButton:{type:"string"},rejectAll:{type:"string"},objectAllButton:{type:"string"},totalVendors:{type:"string"}},dr={initScreenSettingsButton:{type:"string"},action1:{type:"string"},action2:{type:"string"},privacyBody:{type:"string"}},pr={nonIabVendorListUrl:{type:"string",values:""},nonIabVendorListUrlOld:{type:"string",values:""},vendorWhitelist:{type:"array",values:"",arrayType:"number"},vendorBlacklist:{type:"array",values:"",arrayType:"number"},googleWhitelist:{type:"array",values:"",arrayType:"number"}},hr={initScreenCustomLinks:{type:"array",values:"",arrayType:"object"},linksTitle:{type:"string"},nonIabVendorsLabel:{type:"string"},uspDnsTitle:{type:"string"},uspDnsText:{type:"array",values:"",arrayType:"string"},uspDoNotSellToggleText:{type:"string"},uspPrivacyPolicyLinkText:{type:"string"},uspDeleteDataLinkText:{type:"string"},uspAccessDataLinkText:{type:"string"},uspAcceptButton:{type:"string"}},fr={uxBackgroundColor:{type:"string",values:""},uxPrimaryButtonColor:{type:"string",values:""},uxPrimaryButtonTextColor:{type:"string",values:""},uxSecondaryButtonColor:{type:"string",values:""},uxSecondaryButtonTextColor:{type:"string",values:""},uxToogleActiveColor:{type:"string",values:""},uxLinkColor:{type:"string",values:""},uxFontColor:{type:"string",values:""}},vr={nonIabVendorList:{type:"array",values:"",arrayType:"object"},updateAt:{type:"string",values:""},nonIabVendorsHash:{type:"string",values:""}},gr=function(e,t,n){if(t in n){var r=e[t],o=n[t].type,i=n[t].values;return""!==r&&(typeof r===o?"number"===o&&r<0?(console.warn("".concat(t," must be a valid number")),!1):""===i||(!!i.includes(r)||(console.warn("".concat(t," must be a valid value")),!1)):(console.warn("".concat(t," must be ").concat(o)),!1))}return console.warn("".concat(t," is not a valid config value")),!1},mr=function(e,t,n){var r=e[t];if(Array.isArray(r)){if(!r.length)return!0===n[t].canBeEmpty&&r;var o=[];return r.forEach((function(e){"string"===typeof n[t].values?typeof e===n[t].arrayType&&""!==e?o.push(e):console.warn("".concat(e," ").concat("is not a valid value for"," ").concat(t)):n[t].values.includes(e)?o.push(e):console.warn("".concat(e," ").concat("is not a valid value for"," ").concat(t))})),!!o.length&&o}return console.warn("".concat(t," must be an array")),!1},Er=function(){function e(t){var n=this;m(this,e),r(this,"_coreConfig",void 0),r(this,"_premiumProperties",void 0),r(this,"_coreUiLabels",void 0),r(this,"_premiumUiLabels",void 0),r(this,"_theme",void 0),r(this,"_nonIabVendorsInfo",void 0),r(this,"_ampData",void 0),r(this,"cleanConfig",void 0),r(this,"_tagVersion",void 0),r(this,"_copUiLabels",{}),r(this,"checkRequiredValues",(function(){var e=n.cleanConfig.coreConfig;"consentScope"in e||(n.cleanConfig.coreConfig.consentScope=nt.SERVICE),"privacyMode"in e||(n.cleanConfig.coreConfig.privacyMode=[])})),r(this,"validateConfig",(function(e){var t,r,o,a,s,c,u={},l={},d={},p={},h={},f={},v=void 0,g=void 0;(e.coreConfig&&(u=n.filterConfig(e.coreConfig,ur)),!e.coreUiLabels||(null===(t=e.coreConfig)||void 0===t||null===(r=t.features)||void 0===r?void 0:r.consentOrPay)||(null===e||void 0===e||null===(o=e.coreConfig)||void 0===o||null===(a=o.features)||void 0===a?void 0:a.advancedCustomizations)||(l=n.filterLabels(e.coreUiLabels,lr)),null===e||void 0===e||null===(s=e.coreUiLabels)||void 0===s?void 0:s.persistentConsentLinkLabel)&&(l=i(i({},l),{},{persistentConsentLinkLabel:null===e||void 0===e||null===(c=e.coreUiLabels)||void 0===c?void 0:c.persistentConsentLinkLabel}));return e.copUiLabels&&(d=n.filterLabels?n.filterLabels(e.copUiLabels,dr):{}),e.premiumProperties&&(p=n.filterConfig(e.premiumProperties,pr)),e.premiumUiLabels&&(h=n.filterLabels(e.premiumUiLabels,hr)),e.theme&&(f=n.filterConfig(e.theme,fr)),e.nonIabVendorsInfo&&(v=n.filterConfig(e.nonIabVendorsInfo,vr)),e.ampData&&(g=e.ampData),{coreConfig:u,coreUiLabels:l,premiumProperties:p,premiumUiLabels:h,theme:f,nonIabVendorsInfo:v,ampData:g,copUiLabels:d}})),r(this,"filterConfig",(function(e,t){var n={};for(var r in e)if(r in t)if("array"===t[r].type){var o=mr(e,r,t);o&&(n[r]=o)}else gr(e,r,t)&&(n[r]=e[r]);return n})),r(this,"filterLabels",(function(e,t){var n={};for(var r in e)if(r in t)if("string"===t[r].type)""!==e[r]?n[r]=e[r]:console.warn("".concat(r," cannot be empty"));else{var o=mr(e,r,t);o&&(n[r]=o)}return n})),r(this,"getCustomCoreUiLabels",(function(){return n.cleanConfig.coreUiLabels})),r(this,"getCustomCopUiLabels",(function(){return n.cleanConfig.copUiLabels||{}})),r(this,"initializeConfig",(function(){Object.keys(n.cleanConfig).forEach((function(e){n[e]&&(n[e]=i(i({},n[e]),n.cleanConfig[e]))}))})),this.cleanConfig=this.validateConfig(t),t.tag_version&&(this._tagVersion=t.tag_version),this.checkRequiredValues();var o=this.cleanConfig,a=o.coreConfig,s=a.privacyMode,c=a.consentScope,u=a.inmobiAccountId,l=o.nonIabVendorsInfo,d=o.ampData;s.includes(rt.GDPR)&&s.includes(rt.USP)?(this._coreConfig=i(i({inmobiAccountId:u,consentScope:c,privacyMode:s},st),at),this._premiumUiLabels=i(i({},ut),ct),this._premiumProperties=i({},dt),this._coreUiLabels=i({},lt),this._copUiLabels=i({},ht),this._theme=i({},pt),l&&(this._nonIabVendorsInfo=l)):s.includes("GDPR")?(this._coreConfig=i({inmobiAccountId:u,consentScope:c,privacyMode:s},st),this._premiumUiLabels=i({},ct),this._premiumProperties=i({},dt),this._coreUiLabels=i({},lt),this._copUiLabels=i({},ht),this._theme=i({},pt),l&&(this._nonIabVendorsInfo=l)):(this._coreConfig=i({inmobiAccountId:u,consentScope:c,privacyMode:s},at),this._premiumUiLabels=i({},ut),this._premiumProperties={},this._coreUiLabels={},this._theme=i({},pt)),d&&(this._ampData=d)}return S(e,[{key:"getCustomPremiumUiLabels",value:function(){return this.cleanConfig.premiumUiLabels}},{key:"tagVersion",get:function(){return this._tagVersion}},{key:"coreConfig",get:function(){return this._coreConfig},set:function(e){var t=this,n=["publisherLogo","publisherName","publisherFeaturesIds","publisherSpecialFeaturesIds","publisherSpecialPurposesIds","publisherPurposeIds","publisherPurposeLegitimateInterestIds","publisherVendorListUrl","publisherVendorListUrl","publisherCountryCode","vendorPurposeIds","vendorPurposeLegitimateInterestIds","vendorSpecialFeaturesIds","vendorSpecialPurposesIds","vendorFeaturesIds","rejectConsentRedirectUrl","stacks"],r=["nonconsentDisplayFrequency","vendorListUpdateFreq"];Object.keys(e).forEach((function(o){if(e[o]!==t.coreConfig[o]){if(-1!==n.indexOf(o)&&(""===e[o]||e[o]===[]))throw new Error("".concat(o," cannot be empty"));if(r.indexOf(o)&&e[o]<0)throw new Error("".concat(o," cannot be a negative number"))}})),this._coreConfig=e}},{key:"premiumProperties",get:function(){return this._premiumProperties},set:function(e){var t=this;Object.keys(e).forEach((function(n){if(t.premiumProperties[n]!==e[n]&&(""===e[n]||e[n]===[]))throw new Error("".concat(n," cannot be empty"))})),this._premiumProperties=e}},{key:"coreUiLabels",get:function(){return this._coreUiLabels},set:function(e){var t=this;Object.keys(e).forEach((function(n){if(t.coreUiLabels[n]!==e[n]&&""===e[n])throw new Error("".concat(n," cannot be empty"))})),this._coreUiLabels=e}},{key:"copUiLabels",get:function(){return this._copUiLabels},set:function(e){var t=this;Object.keys(e).forEach((function(n){if(t.copUiLabels[n]!==e[n]&&""===e[n])throw new Error("".concat(n," cannot be empty"))})),this._copUiLabels=e}},{key:"theme",get:function(){return this._theme},set:function(e){var t=this;Object.keys(e).forEach((function(n){if(t.theme[n]!==e[n]&&""===e[n])throw new Error("".concat(n," cannot be empty"))})),this._theme=e}},{key:"nonIabVendorsInfo",get:function(){return this._nonIabVendorsInfo},set:function(e){this._nonIabVendorsInfo=e}},{key:"ampData",get:function(){return this._ampData},set:function(e){this._ampData=e}},{key:"premiumUiLabels",get:function(){return this._premiumUiLabels},set:function(e){var t=this;Object.keys(e).forEach((function(n){if(t.premiumUiLabels[n]!==e[n]&&!e[n].length)throw new Error("".concat(n," cannot be empty"))})),this._premiumUiLabels=e}}]),e}(),Sr=function e(t,n,o,i){m(this,e),r(this,"eventName",void 0),r(this,"listenerId",void 0),r(this,"data",void 0),r(this,"pingData",void 0),this.eventName=t,this.listenerId=n,this.data=o,this.pingData=i},yr=function e(t){m(this,e),r(this,"gppVersion",void 0),r(this,"cmpStatus",void 0),r(this,"cmpDisplayStatus",void 0),r(this,"signalStatus",void 0),r(this,"supportedAPIs",void 0),r(this,"cmpId",void 0),r(this,"sectionList",void 0),r(this,"applicableSections",void 0),r(this,"gppString",void 0),r(this,"parsedSections",void 0),this.gppVersion=t.gppVersion,this.cmpStatus=t.cmpStatus,this.cmpDisplayStatus=t.cmpDisplayStatus,this.signalStatus=t.signalStatus,this.supportedAPIs=t.supportedAPIs,this.cmpId=t.cmpId,this.sectionList=t.gppModel.getSectionIds(),this.applicableSections=t.applicableSections,this.gppString=t.gppModel.encode(),this.parsedSections=t.gppModel.toObject()},_r=function(){function e(t,n,o){m(this,e),r(this,"callback",void 0),r(this,"parameter",void 0),r(this,"success",!0),r(this,"cmpApiContext",void 0),this.cmpApiContext=t,Object.assign(this,{callback:n,parameter:o})}return S(e,[{key:"execute",value:function(){try{return this.respond()}catch(e){return this.invokeCallback(null),null}}},{key:"invokeCallback",value:function(e){var t=null!==e;this.callback&&this.callback(e,t)}}]),e}(),br=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){var e=this.cmpApiContext.eventQueue.add({callback:this.callback,parameter:this.parameter}),t=new Sr("listenerRegistered",e,!0,new yr(this.cmpApiContext));this.invokeCallback(t)}}]),n}(_r),Tr=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){var e=new yr(this.cmpApiContext);this.invokeCallback(e)}}]),n}(_r),Cr=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){if(!this.parameter||0===this.parameter.length)throw new Error("<section>.<field> parameter required");var e=this.parameter.split(".");if(2!=e.length)throw new Error("Field name must be in the format <section>.<fieldName>");var t=e[0],n=e[1],r=this.cmpApiContext.gppModel.getFieldValue(t,n);this.invokeCallback(r)}}]),n}(_r),Or=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){if(!this.parameter||0===this.parameter.length)throw new Error("<section> parameter required");var e=null;this.cmpApiContext.gppModel.hasSection(this.parameter)&&(e=this.cmpApiContext.gppModel.getSection(this.parameter)),this.invokeCallback(e)}}]),n}(_r),Ir=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){if(!this.parameter||0===this.parameter.length)throw new Error("<section>[.version] parameter required");var e=this.cmpApiContext.gppModel.hasSection(this.parameter);this.invokeCallback(e)}}]),n}(_r);!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"}(Qe||(Qe={}));var wr,Nr,Ar,kr,Pr,Dr,xr=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.apply(this,arguments)}return S(n,[{key:"respond",value:function(){var e=this.parameter,t=this.cmpApiContext.eventQueue.remove(e),n=new Sr("listenerRemoved",e,t,new yr(this.cmpApiContext));this.invokeCallback(n)}}]),n}(_r);wr=Qe.ADD_EVENT_LISTENER,Nr=Qe.GET_FIELD,Ar=Qe.GET_SECTION,kr=Qe.HAS_SECTION,Pr=Qe.PING,Dr=Qe.REMOVE_EVENT_LISTENER;var Vr,Rr,Lr,Ur,Mr=function e(){m(this,e)};r(Mr,wr,br),r(Mr,Nr,Cr),r(Mr,Ar,Or),r(Mr,kr,Ir),r(Mr,Pr,Tr),r(Mr,Dr,xr),function(e){e.STUB="stub",e.LOADING="loading",e.LOADED="loaded",e.ERROR="error"}(Vr||(Vr={})),function(e){e.VISIBLE="visible",e.HIDDEN="hidden",e.DISABLED="disabled"}(Rr||(Rr={})),function(e){e.GPP_LOADED="gpploaded",e.CMP_UI_SHOWN="cmpuishown",e.USER_ACTION_COMPLETE="useractioncomplete"}(Lr||(Lr={})),function(e){e.NOT_READY="not ready",e.READY="ready"}(Ur||(Ur={}));var Gr=function(){function e(t,n){if(m(this,e),r(this,"callQueue",void 0),r(this,"customCommands",void 0),r(this,"cmpApiContext",void 0),this.cmpApiContext=t,n){var o=Qe.ADD_EVENT_LISTENER;if(null===n||void 0===n?void 0:n[o])throw new Error("Built-In Custom Commmand for ".concat(o," not allowed"));if(o=Qe.REMOVE_EVENT_LISTENER,null===n||void 0===n?void 0:n[o])throw new Error("Built-In Custom Commmand for ".concat(o," not allowed"));this.customCommands=n}try{this.callQueue=window.__gpp()||[]}catch(i){this.callQueue=[]}finally{window.__gpp=this.apiCall.bind(this),this.purgeQueuedCalls()}}return S(e,[{key:"apiCall",value:function(e,t,n,r){if("string"!==typeof e)t(null,!1);else{if(t&&"function"!==typeof t)throw new Error("invalid callback function");this.isCustomCommand(e)?this.customCommands[e](t,n):this.isBuiltInCommand(e)?new Mr[e](this.cmpApiContext,t,n).execute():t&&t(null,!1)}}},{key:"purgeQueuedCalls",value:function(){var e=this.callQueue;this.callQueue=[],e.forEach((function(e){var t;(t=window).__gpp.apply(t,c(e))}))}},{key:"isCustomCommand",value:function(e){return this.customCommands&&"function"===typeof this.customCommands[e]}},{key:"isBuiltInCommand",value:function(e){return void 0!==Mr[e]}}]),e}(),Fr=function(){function e(t){m(this,e),r(this,"eventQueue",new Map),r(this,"queueNumber",1e3),r(this,"cmpApiContext",void 0),this.cmpApiContext=t;try{for(var n=window.__gpp("events")||[],o=0;o<n.length;o++){var i=n[o];this.eventQueue.set(i.id,{callback:i.callback,parameter:i.parameter})}}catch(a){console.log(a)}}return S(e,[{key:"add",value:function(e){return this.eventQueue.set(this.queueNumber,e),this.queueNumber++}},{key:"get",value:function(e){return this.eventQueue.get(e)}},{key:"remove",value:function(e){return this.eventQueue.delete(e)}},{key:"exec",value:function(e,t){var n=this;this.eventQueue.forEach((function(r,o){var i=new Sr(e,o,t,new yr(n.cmpApiContext));r.callback(i,!0)}))}},{key:"clear",value:function(){this.queueNumber=1e3,this.eventQueue.clear()}},{key:"size",get:function(){return this.eventQueue.size}}]),e}();function qr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}(e,t)||s(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Br=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="InvalidFieldError",r}return n}(F(Error)),jr=function(){function e(){m(this,e),r(this,"segments",void 0),r(this,"encodedString",null),r(this,"dirty",!1),r(this,"decoded",!0),this.segments=this.initializeSegments()}return S(e,[{key:"hasField",value:function(e){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(var t=0;t<this.segments.length;t++){var n=this.segments[t];if(n.getFieldNames().includes(e))return n.hasField(e)}return!1}},{key:"getFieldValue",value:function(e){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(var t=0;t<this.segments.length;t++){var n=this.segments[t];if(n.hasField(e))return n.getFieldValue(e)}throw new Br("Invalid field: '"+e+"'")}},{key:"setFieldValue",value:function(e,t){this.decoded||(this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!0);for(var n=0;n<this.segments.length;n++){var r=this.segments[n];if(r.hasField(e))return void r.setFieldValue(e,t)}throw new Br("Invalid field: '"+e+"'")}},{key:"toObj",value:function(){for(var e={},t=0;t<this.segments.length;t++)for(var n=this.segments[t].toObj(),r=0,o=Object.entries(n);r<o.length;r++){var i=qr(o[r],2),a=i[0],s=i[1];e[a]=s}return e}},{key:"encode",value:function(){return(null==this.encodedString||0===this.encodedString.length||this.dirty)&&(this.encodedString=this.encodeSection(this.segments),this.dirty=!1,this.decoded=!0),this.encodedString}},{key:"decode",value:function(e){this.encodedString=e,this.segments=this.decodeSection(this.encodedString),this.dirty=!1,this.decoded=!1}},{key:"setIsDirty",value:function(e){this.dirty=e}}]),e}(),Hr=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="DecodingError",r}return n}(F(Error)),zr=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="EncodingError",r}return n}(F(Error)),Wr=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){var n=[];if(e>=1)for(n.push(1);e>=2*n[0];)n.unshift(2*n[0]);for(var r="",o=0;o<n.length;o++){var i=n[o];e>=i?(r+="1",e-=i):r+="0"}if(r.length>t)throw new zr("Numeric value '"+e+"' is too large for a bit string length of '"+t+"'");for(;r.length<t;)r="0"+r;return r}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e))throw new Hr("Undecodable FixedInteger '"+e+"'");for(var t=0,n=[],r=0;r<e.length;r++)n[e.length-(r+1)]=0===r?1:2*n[e.length-r];for(var o=0;o<e.length;o++)"1"===e.charAt(o)&&(t+=n[o]);return t}}]),e}(),Yr=function(){function e(){m(this,e)}return S(e,[{key:"encode",value:function(t){if(!/^[0-1]*$/.test(t))throw new zr("Unencodable Base64Url '"+t+"'");t=this.pad(t);for(var n="",r=0;r<=t.length-6;){var o=t.substring(r,r+6);try{var i=Wr.decode(o);n+=e.DICT.charAt(i),r+=6}catch(a){throw new zr("Unencodable Base64Url '"+t+"'")}}return n}},{key:"decode",value:function(t){if(!/^[A-Za-z0-9\-_]*$/.test(t))throw new Hr("Undecodable Base64URL string '"+t+"'");for(var n="",r=0;r<t.length;r++){var o=t.charAt(r),i=e.REVERSE_DICT.get(o);n+=Wr.encode(i,6)}return n}}]),e}();r(Yr,"DICT","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),r(Yr,"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]]));var Kr=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.call(this)}return S(n,[{key:"pad",value:function(e){for(;e.length%8>0;)e+="0";for(;e.length%6>0;)e+="0";return e}}],[{key:"getInstance",value:function(){return this.instance}}]),n}(Yr);r(Kr,"instance",new Kr);var $r=function(){function e(){m(this,e)}return S(e,[{key:"encode",value:function(e,t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(!e.containsKey(o))throw new Error("Field not found: '"+o+"'");n+=e.get(o).encode()}return n}},{key:"decode",value:function(e,t,n){for(var r=0,o=0;o<t.length;o++){var i=t[o];if(!n.containsKey(i))throw new Error("Field not found: '"+i+"'");var a=n.get(i);try{var s=a.substring(e,r);a.decode(s),r+=s.length}catch(c){if("SubstringError"!==c.name||a.getHardFailIfMissing())throw new Hr("Unable to decode field '"+i+"'");return}}}}],[{key:"getInstance",value:function(){return this.instance}}]),e}();r($r,"instance",new $r);var Jr,Qr=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){var t=[];if(e>=1&&(t.push(1),e>=2)){t.push(2);for(var n=2;e>=t[n-1]+t[n-2];)t.push(t[n-1]+t[n-2]),n++}for(var r="1",o=t.length-1;o>=0;o--){var i=t[o];e>=i?(r="1"+r,e-=i):r="0"+r}return r}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||e.length<2||e.indexOf("11")!==e.length-2)throw new Hr("Undecodable FibonacciInteger '"+e+"'");for(var t=0,n=[],r=0;r<e.length-1;r++)0===r?n.push(1):1===r?n.push(2):n.push(n[r-1]+n[r-2]);for(var o=0;o<e.length-1;o++)"1"===e.charAt(o)&&(t+=n[o]);return t}}]),e}(),Zr=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){if(!0===e)return"1";if(!1===e)return"0";throw new zr("Unencodable Boolean '"+e+"'")}},{key:"decode",value:function(e){if("1"===e)return!0;if("0"===e)return!1;throw new Hr("Undecodable Boolean '"+e+"'")}}]),e}(),Xr=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){e=e.sort((function(e,t){return e-t}));for(var t=[],n=0,r=0;r<e.length;){for(var o=r;o<e.length-1&&e[o]+1===e[o+1];)o++;t.push(e.slice(r,o+1)),r=o+1}for(var i=Wr.encode(t.length,12),a=0;a<t.length;a++)if(1==t[a].length){var s=t[a][0]-n;n=t[a][0],i+="0"+Qr.encode(s)}else{var c=t[a][0]-n;n=t[a][0];var u=t[a][t[a].length-1]-n;n=t[a][t[a].length-1],i+="1"+Qr.encode(c)+Qr.encode(u)}return i}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||e.length<12)throw new Hr("Undecodable FibonacciIntegerRange '"+e+"'");for(var t=[],n=Wr.decode(e.substring(0,12)),r=0,o=12,i=0;i<n;i++){var a=Zr.decode(e.substring(o,o+1));if(o++,!0===a){var s=e.indexOf("11",o),c=Qr.decode(e.substring(o,s+2))+r;r=c,o=s+2,s=e.indexOf("11",o);var u=Qr.decode(e.substring(o,s+2))+r;r=u,o=s+2;for(var l=c;l<=u;l++)t.push(l)}else{var d=e.indexOf("11",o),p=Qr.decode(e.substring(o,d+2))+r;r=p,t.push(p),o=d+2}}return t}}]),e}(),eo=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="ValidationError",r}return n}(F(Error)),to=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];m(this,e),r(this,"hardFailIfMissing",void 0),r(this,"validator",void 0),r(this,"value",void 0),this.hardFailIfMissing=t}return S(e,[{key:"withValidator",value:function(e){return this.validator=e,this}},{key:"hasValue",value:function(){return void 0!==this.value&&null!==this.value}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(e){if(this.validator&&!this.validator.test(e))throw new eo("Invalid value '"+e+"'");this.value=e}},{key:"getHardFailIfMissing",value:function(){return this.hardFailIfMissing}}]),e}(),no=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="SubstringError",r}return n}(Hr),ro=function(){function e(){m(this,e)}return S(e,null,[{key:"substring",value:function(e,t,n){if(n>e.length||t<0||t>n)throw new no("Invalid substring indexes "+t+":"+n+" for string of length "+e.length);return e.substring(t,n)}}]),e}(),oo=function(e){b(n,e);var t=w(n);function n(e){var r,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return m(this,n),(r=t.call(this,o)).setValue(e),r}return S(n,[{key:"encode",value:function(){try{return Xr.encode(this.value)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=Xr.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{for(var n=Wr.decode(ro.substring(e,t,t+12)),r=t+12,o=0;o<n;o++)r="1"===e.charAt(r)?e.indexOf("11",e.indexOf("11",r+1)+2)+2:e.indexOf("11",r+1)+2;return ro.substring(e,t,r)}catch(i){throw new no(i)}}},{key:"getValue",value:function(){return c(Fe(T(n.prototype),"getValue",this).call(this))}},{key:"setValue",value:function(e){Fe(T(n.prototype),"setValue",this).call(this,Array.from(new Set(e)).sort((function(e,t){return e-t})))}}]),n}(to),io=function(e){b(n,e);var t=w(n);function n(e,o){var i,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return m(this,n),r(y(i=t.call(this,a)),"bitStringLength",void 0),i.bitStringLength=e,i.setValue(o),i}return S(n,[{key:"encode",value:function(){try{return Wr.encode(this.value,this.bitStringLength)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=Wr.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+this.bitStringLength)}catch(n){throw new no(n)}}}]),n}(to),ao=function(){function e(){m(this,e),r(this,"fields",new Map)}return S(e,[{key:"containsKey",value:function(e){return this.fields.has(e)}},{key:"put",value:function(e,t){this.fields.set(e,t)}},{key:"get",value:function(e){return this.fields.get(e)}},{key:"getAll",value:function(){return new Map(this.fields)}},{key:"reset",value:function(e){var t=this;this.fields.clear(),e.getAll().forEach((function(e,n){t.fields.set(n,e)}))}}]),e}();!function(e){e.ID="Id",e.VERSION="Version",e.SECTION_IDS="SectionIds"}(Jr||(Jr={}));var so,co=[Jr.ID,Jr.VERSION,Jr.SECTION_IDS],uo=function(){function e(){m(this,e),r(this,"fields",void 0),r(this,"encodedString",null),r(this,"dirty",!1),r(this,"decoded",!0),this.fields=this.initializeFields()}return S(e,[{key:"validate",value:function(){}},{key:"hasField",value:function(e){return this.fields.containsKey(e)}},{key:"getFieldValue",value:function(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 Br("Invalid field: '"+e+"'")}},{key:"setFieldValue",value:function(e,t){if(this.decoded||(this.decodeSegment(this.encodedString,this.fields),this.dirty=!1,this.decoded=!0),!this.fields.containsKey(e))throw new Br(e+" not found");this.fields.get(e).setValue(t),this.dirty=!0}},{key:"toObj",value:function(){for(var e={},t=this.getFieldNames(),n=0;n<t.length;n++){var r=t[n],o=this.getFieldValue(r);e[r]=o}return e}},{key:"encode",value:function(){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}},{key:"decode",value:function(e){this.encodedString=e,this.dirty=!1,this.decoded=!1}}]),e}(),lo=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return co}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Jr.ID.toString(),new io(6,po.ID)),e.put(Jr.VERSION.toString(),new io(6,po.VERSION)),e.put(Jr.SECTION_IDS.toString(),new oo([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode HeaderV1CoreSegment '"+e+"'")}}}]),n}(uo),po=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new lo),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<t.length;r++)n.length>r&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.encode())}return t.join(".")}}]),n}(jr);r(po,"ID",3),r(po,"VERSION",1),r(po,"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"}(so||(so={}));var ho=[so.VERSION,so.CREATED,so.LAST_UPDATED,so.CMP_ID,so.CMP_VERSION,so.CONSENT_SCREEN,so.CONSENT_LANGUAGE,so.VENDOR_LIST_VERSION,so.POLICY_VERSION,so.IS_SERVICE_SPECIFIC,so.USE_NON_STANDARD_STACKS,so.SPECIAL_FEATURE_OPTINS,so.PURPOSE_CONSENTS,so.PURPOSE_LEGITIMATE_INTERESTS,so.PURPOSE_ONE_TREATMENT,so.PUBLISHER_COUNTRY_CODE,so.VENDOR_CONSENTS,so.VENDOR_LEGITIMATE_INTERESTS,so.PUBLISHER_RESTRICTIONS],fo=[so.PUBLISHER_PURPOSES_SEGMENT_TYPE,so.PUBLISHER_CONSENTS,so.PUBLISHER_LEGITIMATE_INTERESTS,so.NUM_CUSTOM_PURPOSES,so.PUBLISHER_CUSTOM_CONSENTS,so.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS],vo=[so.VENDORS_ALLOWED_SEGMENT_TYPE,so.VENDORS_ALLOWED],go=[so.VENDORS_DISCLOSED_SEGMENT_TYPE,so.VENDORS_DISCLOSED],mo=function(e){b(n,e);var t=w(n);function n(){return m(this,n),t.call(this)}return S(n,[{key:"pad",value:function(e){for(;e.length%24>0;)e+="0";return e}}],[{key:"getInstance",value:function(){return this.instance}}]),n}(Yr);r(mo,"instance",new mo);var Eo,So=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){e.sort((function(e,t){return e-t}));for(var t=[],n=0;n<e.length;){for(var r=n;r<e.length-1&&e[r]+1===e[r+1];)r++;t.push(e.slice(n,r+1)),n=r+1}for(var o=Wr.encode(t.length,12),i=0;i<t.length;i++)1===t[i].length?o+="0"+Wr.encode(t[i][0],16):o+="1"+Wr.encode(t[i][0],16)+Wr.encode(t[i][t[i].length-1],16);return o}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||e.length<12)throw new Hr("Undecodable FixedIntegerRange '"+e+"'");for(var t=[],n=Wr.decode(e.substring(0,12)),r=12,o=0;o<n;o++){var i=Zr.decode(e.substring(r,r+1));if(r++,!0===i){var a=Wr.decode(e.substring(r,r+16));r+=16;var s=Wr.decode(e.substring(r,r+16));r+=16;for(var c=a;c<=s;c++)t.push(c)}else{var u=Wr.decode(e.substring(r,r+16));t.push(u),r+=16}}return t}}]),e}(),yo=function(e){b(n,e);var t=w(n);function n(e){var r,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return m(this,n),(r=t.call(this,o)).setValue(e),r}return S(n,[{key:"encode",value:function(){try{return So.encode(this.value)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=So.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{for(var n=Wr.decode(ro.substring(e,t,t+12)),r=t+12,o=0;o<n;o++)"1"===e.charAt(r)?r+=33:r+=17;return ro.substring(e,t,r)}catch(i){throw new no(i)}}},{key:"getValue",value:function(){return c(Fe(T(n.prototype),"getValue",this).call(this))}},{key:"setValue",value:function(e){Fe(T(n.prototype),"setValue",this).call(this,Array.from(new Set(e)).sort((function(e,t){return e-t})))}}]),n}(to),_o=function(){function e(t,n,o){m(this,e),r(this,"key",void 0),r(this,"type",void 0),r(this,"ids",void 0),this.key=t,this.type=n,this.ids=o}return S(e,[{key:"getKey",value:function(){return this.key}},{key:"setKey",value:function(e){this.key=e}},{key:"getType",value:function(){return this.type}},{key:"setType",value:function(e){this.type=e}},{key:"getIds",value:function(){return this.ids}},{key:"setIds",value:function(e){this.ids=e}}]),e}(),bo=function(e){b(n,e);var t=w(n);function n(e,o,i){var a,s=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return m(this,n),r(y(a=t.call(this,s)),"keyBitStringLength",void 0),r(y(a),"typeBitStringLength",void 0),a.keyBitStringLength=e,a.typeBitStringLength=o,a.setValue(i),a}return S(n,[{key:"encode",value:function(){try{var e=this.value,t="";t+=Wr.encode(e.length,12);for(var n=0;n<e.length;n++){var r=e[n];t+=Wr.encode(r.getKey(),this.keyBitStringLength),t+=Wr.encode(r.getType(),this.typeBitStringLength),t+=So.encode(r.getIds())}return t}catch(o){throw new zr(o)}}},{key:"decode",value:function(e){try{for(var t=[],n=Wr.decode(ro.substring(e,0,12)),r=12,o=0;o<n;o++){var i=Wr.decode(ro.substring(e,r,r+this.keyBitStringLength));r+=this.keyBitStringLength;var a=Wr.decode(ro.substring(e,r,r+this.typeBitStringLength));r+=this.typeBitStringLength;var s=new yo([]).substring(e,r),c=So.decode(s);r+=s.length,t.push(new _o(i,a,c))}this.value=t}catch(u){throw new Hr(u)}}},{key:"substring",value:function(e,t){try{var n="";n+=ro.substring(e,t,t+12);for(var r=Wr.decode(n.toString()),o=t+n.length,i=0;i<r;i++){var a=ro.substring(e,o,o+this.keyBitStringLength);o+=a.length,n+=a;var s=ro.substring(e,o,o+this.typeBitStringLength);o+=s.length,n+=s;var c=new yo([]).substring(e,o);o+=c.length,n+=c}return n}catch(u){throw new no(u)}}}]),n}(to),To=function(e){b(n,e);var t=w(n);function n(e){var r,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return m(this,n),(r=t.call(this,o)).setValue(e),r}return S(n,[{key:"encode",value:function(){try{return Zr.encode(this.value)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=Zr.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+1)}catch(n){throw new no(n)}}}]),n}(to),Co=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e){return e?Wr.encode(Math.round(e.getTime()/100),36):Wr.encode(0,36)}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||36!==e.length)throw new Hr("Undecodable Datetime '"+e+"'");return new Date(100*Wr.decode(e))}}]),e}(),Oo=function(e){b(n,e);var t=w(n);function n(e){var r,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return m(this,n),(r=t.call(this,o)).setValue(e),r}return S(n,[{key:"encode",value:function(){try{return Co.encode(this.value)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=Co.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+36)}catch(n){throw new no(n)}}}]),n}(to),Io=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){if(e.length>t)throw new zr("Too many values '"+e.length+"'");for(var n="",r=0;r<e.length;r++)n+=Zr.encode(e[r]);for(;n.length<t;)n+="0";return n}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e))throw new Hr("Undecodable FixedBitfield '"+e+"'");for(var t=[],n=0;n<e.length;n++)t.push(Zr.decode(e.substring(n,n+1)));return t}}]),e}(),wo=function(e){b(n,e);var t=w(n);function n(e){var o,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return m(this,n),r(y(o=t.call(this,i)),"numElements",void 0),o.numElements=e.length,o.setValue(e),o}return S(n,[{key:"encode",value:function(){try{return Io.encode(this.value,this.numElements)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=Io.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+this.numElements)}catch(n){throw new no(n)}}},{key:"getValue",value:function(){return c(Fe(T(n.prototype),"getValue",this).call(this))}},{key:"setValue",value:function(e){for(var t=c(e),r=t.length;r<this.numElements;r++)t.push(!1);t.length>this.numElements&&(t=t.slice(0,this.numElements)),Fe(T(n.prototype),"setValue",this).call(this,t)}}]),n}(to),No=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t){for(;e.length<t;)e+=" ";for(var n="",r=0;r<e.length;r++){var o=e.charCodeAt(r);if(32===o)n+=Wr.encode(63,6);else{if(!(o>=65))throw new zr("Unencodable FixedString '"+e+"'");n+=Wr.encode(e.charCodeAt(r)-65,6)}}return n}},{key:"decode",value:function(e){if(!/^[0-1]*$/.test(e)||e.length%6!==0)throw new Hr("Undecodable FixedString '"+e+"'");for(var t="",n=0;n<e.length;n+=6){var r=Wr.decode(e.substring(n,n+6));t+=63===r?" ":String.fromCharCode(r+65)}return t.trim()}}]),e}(),Ao=function(e){b(n,e);var t=w(n);function n(e,o){var i,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return m(this,n),r(y(i=t.call(this,a)),"stringLength",void 0),i.stringLength=e,i.setValue(o),i}return S(n,[{key:"encode",value:function(){try{return No.encode(this.value,this.stringLength)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=No.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+6*this.stringLength)}catch(n){throw new no(n)}}}]),n}(to),ko=function(e){b(n,e);var t=w(n);function n(e){var r,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return m(this,n),(r=t.call(this,o)).setValue(e),r}return S(n,[{key:"encode",value:function(){try{var e=this.value.length>0?this.value[this.value.length-1]:0,t=So.encode(this.value),n=t.length,r=e;if(n<=r)return Wr.encode(e,16)+"1"+t;for(var o=[],i=0,a=0;a<e;a++)a===this.value[i]-1?(o[a]=!0,i++):o[a]=!1;return Wr.encode(e,16)+"0"+Io.encode(o,r)}catch(s){throw new zr(s)}}},{key:"decode",value:function(e){try{if("1"===e.charAt(16))this.value=So.decode(e.substring(17));else{for(var t=[],n=Io.decode(e.substring(17)),r=0;r<n.length;r++)!0===n[r]&&t.push(r+1);this.value=t}}catch(o){throw new Hr(o)}}},{key:"substring",value:function(e,t){try{var n=Wr.decode(ro.substring(e,t,t+16));return"1"===e.charAt(t+16)?ro.substring(e,t,t+17)+new yo([]).substring(e,t+17):ro.substring(e,t,t+17+n)}catch(r){throw new no(r)}}},{key:"getValue",value:function(){return c(Fe(T(n.prototype),"getValue",this).call(this))}},{key:"setValue",value:function(e){Fe(T(n.prototype),"setValue",this).call(this,Array.from(new Set(e)).sort((function(e,t){return e-t})))}}]),n}(to),Po=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",mo.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ho}},{key:"initializeFields",value:function(){var e=new Date,t=new ao;return t.put(so.VERSION.toString(),new io(6,Lo.VERSION)),t.put(so.CREATED.toString(),new Oo(e)),t.put(so.LAST_UPDATED.toString(),new Oo(e)),t.put(so.CMP_ID.toString(),new io(12,0)),t.put(so.CMP_VERSION.toString(),new io(12,0)),t.put(so.CONSENT_SCREEN.toString(),new io(6,0)),t.put(so.CONSENT_LANGUAGE.toString(),new Ao(2,"EN")),t.put(so.VENDOR_LIST_VERSION.toString(),new io(12,0)),t.put(so.POLICY_VERSION.toString(),new io(6,2)),t.put(so.IS_SERVICE_SPECIFIC.toString(),new To(!1)),t.put(so.USE_NON_STANDARD_STACKS.toString(),new To(!1)),t.put(so.SPECIAL_FEATURE_OPTINS.toString(),new wo([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(so.PURPOSE_CONSENTS.toString(),new wo([!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(so.PURPOSE_LEGITIMATE_INTERESTS.toString(),new wo([!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(so.PURPOSE_ONE_TREATMENT.toString(),new To(!1)),t.put(so.PUBLISHER_COUNTRY_CODE.toString(),new Ao(2,"AA")),t.put(so.VENDOR_CONSENTS.toString(),new ko([])),t.put(so.VENDOR_LEGITIMATE_INTERESTS.toString(),new ko([])),t.put(so.PUBLISHER_RESTRICTIONS.toString(),new bo(6,2,[],!1)),t}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode TcfEuV2CoreSegment '"+e+"'")}}}]),n}(uo),Do=function(e){b(n,e);var t=w(n);function n(e,o){var i,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return m(this,n),r(y(i=t.call(this,a)),"getLength",void 0),i.getLength=e,i.setValue(o),i}return S(n,[{key:"encode",value:function(){try{return Io.encode(this.value,this.getLength())}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=Io.decode(e)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+this.getLength())}catch(n){throw new no(n)}}},{key:"getValue",value:function(){return c(Fe(T(n.prototype),"getValue",this).call(this))}},{key:"setValue",value:function(e){for(var t=this.getLength(),r=c(e),o=r.length;o<t;o++)r.push(!1);r.length>t&&(r=r.slice(0,t)),Fe(T(n.prototype),"setValue",this).call(this,c(r))}}]),n}(to),xo=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",mo.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return fo}},{key:"initializeFields",value:function(){var e=new ao;e.put(so.PUBLISHER_PURPOSES_SEGMENT_TYPE.toString(),new io(3,3)),e.put(so.PUBLISHER_CONSENTS.toString(),new wo([!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(so.PUBLISHER_LEGITIMATE_INTERESTS.toString(),new wo([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));var t=new io(6,0);return e.put(so.NUM_CUSTOM_PURPOSES.toString(),t),e.put(so.PUBLISHER_CUSTOM_CONSENTS.toString(),new Do((function(){return t.getValue()}),[])),e.put(so.PUBLISHER_CUSTOM_LEGITIMATE_INTERESTS.toString(),new Do((function(){return t.getValue()}),[])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode TcfEuV2PublisherPurposesSegment '"+e+"'")}}}]),n}(uo),Vo=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",mo.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return vo}},{key:"initializeFields",value:function(){var e=new ao;return e.put(so.VENDORS_ALLOWED_SEGMENT_TYPE.toString(),new io(3,2)),e.put(so.VENDORS_ALLOWED.toString(),new ko([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode TcfEuV2VendorsAllowedSegment '"+e+"'")}}}]),n}(uo),Ro=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",mo.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return go}},{key:"initializeFields",value:function(){var e=new ao;return e.put(so.VENDORS_DISCLOSED_SEGMENT_TYPE.toString(),new io(3,1)),e.put(so.VENDORS_DISCLOSED.toString(),new ko([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode TcfEuV2VendorsDisclosedSegment '"+e+"'")}}}]),n}(uo),Lo=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Po),e.push(new xo),e.push(new Vo),e.push(new Ro),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<n.length;r++){var o=n[r];if(0!==o.length){var i=o.charAt(0);if(i>="A"&&i<="H")t[0].decode(n[r]);else if(i>="I"&&i<="P")t[3].decode(n[r]);else if(i>="Q"&&i<="X")t[2].decode(n[r]);else{if(!(i>="Y"&&i<="Z"||i>="a"&&i<="f"))throw new Hr("Unable to decode TcfEuV2 segment '"+o+"'");t[1].decode(n[r])}}}return t}},{key:"encodeSection",value:function(e){var t=[];e.length>=1&&(t.push(e[0].encode()),this.getFieldValue(so.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(".")}},{key:"setFieldValue",value:function(e,t){if(Fe(T(n.prototype),"setFieldValue",this).call(this,e,t),e!==so.CREATED&&e!==so.LAST_UPDATED){var r=new Date;Fe(T(n.prototype),"setFieldValue",this).call(this,so.CREATED,r),Fe(T(n.prototype),"setFieldValue",this).call(this,so.LAST_UPDATED,r)}}}]),n}(jr);r(Lo,"ID",2),r(Lo,"VERSION",2),r(Lo,"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"}(Eo||(Eo={}));var Uo=[Eo.VERSION,Eo.CREATED,Eo.LAST_UPDATED,Eo.CMP_ID,Eo.CMP_VERSION,Eo.CONSENT_SCREEN,Eo.CONSENT_LANGUAGE,Eo.VENDOR_LIST_VERSION,Eo.TCF_POLICY_VERSION,Eo.USE_NON_STANDARD_STACKS,Eo.SPECIAL_FEATURE_EXPRESS_CONSENT,Eo.PURPOSES_EXPRESS_CONSENT,Eo.PURPOSES_IMPLIED_CONSENT,Eo.VENDOR_EXPRESS_CONSENT,Eo.VENDOR_IMPLIED_CONSENT,Eo.PUB_RESTRICTIONS],Mo=[Eo.PUB_PURPOSES_SEGMENT_TYPE,Eo.PUB_PURPOSES_EXPRESS_CONSENT,Eo.PUB_PURPOSES_IMPLIED_CONSENT,Eo.NUM_CUSTOM_PURPOSES,Eo.CUSTOM_PURPOSES_EXPRESS_CONSENT,Eo.CUSTOM_PURPOSES_IMPLIED_CONSENT],Go=[Eo.DISCLOSED_VENDORS_SEGMENT_TYPE,Eo.DISCLOSED_VENDORS],Fo=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Uo}},{key:"initializeFields",value:function(){var e=new Date,t=new ao;return t.put(Eo.VERSION.toString(),new io(6,jo.VERSION)),t.put(Eo.CREATED.toString(),new Oo(e)),t.put(Eo.LAST_UPDATED.toString(),new Oo(e)),t.put(Eo.CMP_ID.toString(),new io(12,0)),t.put(Eo.CMP_VERSION.toString(),new io(12,0)),t.put(Eo.CONSENT_SCREEN.toString(),new io(6,0)),t.put(Eo.CONSENT_LANGUAGE.toString(),new Ao(2,"EN")),t.put(Eo.VENDOR_LIST_VERSION.toString(),new io(12,0)),t.put(Eo.TCF_POLICY_VERSION.toString(),new io(6,2)),t.put(Eo.USE_NON_STANDARD_STACKS.toString(),new To(!1)),t.put(Eo.SPECIAL_FEATURE_EXPRESS_CONSENT.toString(),new wo([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1])),t.put(Eo.PURPOSES_EXPRESS_CONSENT.toString(),new wo([!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(Eo.PURPOSES_IMPLIED_CONSENT.toString(),new wo([!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(Eo.VENDOR_EXPRESS_CONSENT.toString(),new ko([])),t.put(Eo.VENDOR_IMPLIED_CONSENT.toString(),new ko([])),t.put(Eo.PUB_RESTRICTIONS.toString(),new bo(6,2,[],!1)),t}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode TcfCaV1CoreSegment '"+e+"'")}}}]),n}(uo),qo=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Mo}},{key:"initializeFields",value:function(){var e=new ao;e.put(Eo.PUB_PURPOSES_SEGMENT_TYPE.toString(),new io(3,3)),e.put(Eo.PUB_PURPOSES_EXPRESS_CONSENT.toString(),new wo([!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(Eo.PUB_PURPOSES_IMPLIED_CONSENT.toString(),new wo([!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1,!1]));var t=new io(6,0);return e.put(Eo.NUM_CUSTOM_PURPOSES.toString(),t),e.put(Eo.CUSTOM_PURPOSES_EXPRESS_CONSENT.toString(),new Do((function(){return t.getValue()}),[])),e.put(Eo.CUSTOM_PURPOSES_IMPLIED_CONSENT.toString(),new Do((function(){return t.getValue()}),[])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode TcfCaV1PublisherPurposesSegment '"+e+"'")}}}]),n}(uo),Bo=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",mo.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Go}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Eo.DISCLOSED_VENDORS_SEGMENT_TYPE.toString(),new io(3,1)),e.put(Eo.DISCLOSED_VENDORS.toString(),new ko([])),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode HeaderV1CoreSegment '"+e+"'")}}}]),n}(uo),jo=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Fo),e.push(new qo),e.push(new Bo),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<n.length;r++){var o=n[r];if(0!==o.length){var i=o.charAt(0);if(i>="A"&&i<="H")t[0].decode(n[r]);else if(i>="I"&&i<="P")t[2].decode(n[r]);else{if(!(i>="Y"&&i<="Z"||i>="a"&&i<="f"))throw new Hr("Unable to decode TcfCaV1 segment '"+o+"'");t[1].decode(n[r])}}}return t}},{key:"encodeSection",value:function(e){var t=[];return t.push(e[0].encode()),t.push(e[1].encode()),this.getFieldValue(Eo.DISCLOSED_VENDORS).length>0&&t.push(e[2].encode()),t.join(".")}},{key:"setFieldValue",value:function(e,t){if(Fe(T(n.prototype),"setFieldValue",this).call(this,e,t),e!==Eo.CREATED&&e!==Eo.LAST_UPDATED){var r=new Date;Fe(T(n.prototype),"setFieldValue",this).call(this,Eo.CREATED,r),Fe(T(n.prototype),"setFieldValue",this).call(this,Eo.LAST_UPDATED,r)}}}]),n}(jr);r(jo,"ID",5),r(jo,"VERSION",1),r(jo,"NAME","tcfcav1");var Ho,zo=function(){function e(t,n){m(this,e),r(this,"validator",void 0),r(this,"value",null),this.validator=n||new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return!0}}]),e}()),this.setValue(t)}return S(e,[{key:"hasValue",value:function(){return null!=this.value}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(e){e?this.value=e.charAt(0):e=null}}]),e}(),Wo=function(){function e(t,n){m(this,e),r(this,"validator",void 0),r(this,"value",null),this.validator=n||new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return!0}}]),e}()),this.setValue(t)}return S(e,[{key:"hasValue",value:function(){return null!=this.value}},{key:"getValue",value:function(){return this.value}},{key:"setValue",value:function(e){this.value=e}}]),e}(),Yo=function(){function e(){m(this,e),r(this,"fields",new Map)}return S(e,[{key:"containsKey",value:function(e){return this.fields.has(e)}},{key:"put",value:function(e,t){this.fields.set(e,t)}},{key:"get",value:function(e){return this.fields.get(e)}},{key:"getAll",value:function(){return new Map(this.fields)}},{key:"reset",value:function(e){var t=this;this.fields.clear(),e.getAll().forEach((function(e,n){t.fields.set(n,e)}))}}]),e}();!function(e){e.VERSION="Version",e.NOTICE="Notice",e.OPT_OUT_SALE="OptOutSale",e.LSPA_COVERED="LspaCovered"}(Ho||(Ho={}));var Ko,$o=[Ho.VERSION,Ho.NOTICE,Ho.OPT_OUT_SALE,Ho.LSPA_COVERED],Jo=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&r.decode(e),r}return S(n,[{key:"getFieldNames",value:function(){return $o}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return"-"===e||"Y"===e||"N"===e}}]),e}()),t=new Yo;return t.put(Ho.VERSION,new Wo(Qo.VERSION)),t.put(Ho.NOTICE,new zo("-",e)),t.put(Ho.OPT_OUT_SALE,new zo("-",e)),t.put(Ho.LSPA_COVERED,new zo("-",e)),t}},{key:"encodeSegment",value:function(e){var t="";return t+=e.get(Ho.VERSION).getValue(),t+=e.get(Ho.NOTICE).getValue(),t+=e.get(Ho.OPT_OUT_SALE).getValue(),t+=e.get(Ho.LSPA_COVERED).getValue()}},{key:"decodeSegment",value:function(e,t){if(null==e||4!=e.length)throw new Hr("Unable to decode UspV1CoreSegment '"+e+"'");try{t.get(Ho.VERSION).setValue(parseInt(e.substring(0,1))),t.get(Ho.NOTICE).setValue(e.charAt(1)),t.get(Ho.OPT_OUT_SALE).setValue(e.charAt(2)),t.get(Ho.LSPA_COVERED).setValue(e.charAt(3))}catch(n){throw new Hr("Unable to decode UspV1CoreSegment '"+e+"'")}}}]),n}(uo),Qo=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Jo),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<t.length;r++)n.length>r&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.encode())}return t.join(".")}}]),n}(jr);r(Qo,"ID",6),r(Qo,"VERSION",1),r(Qo,"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"}(Ko||(Ko={}));var Zo,Xo=[Ko.VERSION,Ko.SHARING_NOTICE,Ko.SALE_OPT_OUT_NOTICE,Ko.SHARING_OPT_OUT_NOTICE,Ko.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Ko.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE,Ko.SENSITIVE_DATA_LIMIT_USE_NOTICE,Ko.SALE_OPT_OUT,Ko.SHARING_OPT_OUT,Ko.TARGETED_ADVERTISING_OPT_OUT,Ko.SENSITIVE_DATA_PROCESSING,Ko.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Ko.PERSONAL_DATA_CONSENTS,Ko.MSPA_COVERED_TRANSACTION,Ko.MSPA_OPT_OUT_OPTION_MODE,Ko.MSPA_SERVICE_PROVIDER_MODE],ei=[Ko.GPC_SEGMENT_TYPE,Ko.GPC],ti=function(){function e(){m(this,e)}return S(e,null,[{key:"encode",value:function(e,t,n){if(e.length>n)throw new zr("Too many values '"+e.length+"'");for(var r="",o=0;o<e.length;o++)r+=Wr.encode(e[o],t);for(;r.length<t*n;)r+="0";return r}},{key:"decode",value:function(e,t,n){if(!/^[0-1]*$/.test(e))throw new Hr("Undecodable FixedInteger '"+e+"'");if(e.length>t*n)throw new Hr("Undecodable FixedIntegerList '"+e+"'");if(e.length%t!=0)throw new Hr("Undecodable FixedIntegerList '"+e+"'");for(;e.length<t*n;)e+="0";e.length>t*n&&(e=e.substring(0,t*n));for(var r=[],o=0;o<e.length;o+=t)r.push(Wr.decode(e.substring(o,o+t)));for(;r.length<n;)r.push(0);return r}}]),e}(),ni=function(e){b(n,e);var t=w(n);function n(e,o){var i,a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return m(this,n),r(y(i=t.call(this,a)),"elementBitStringLength",void 0),r(y(i),"numElements",void 0),i.elementBitStringLength=e,i.numElements=o.length,i.setValue(o),i}return S(n,[{key:"encode",value:function(){try{return ti.encode(this.value,this.elementBitStringLength,this.numElements)}catch(e){throw new zr(e)}}},{key:"decode",value:function(e){try{this.value=ti.decode(e,this.elementBitStringLength,this.numElements)}catch(t){throw new Hr(t)}}},{key:"substring",value:function(e,t){try{return ro.substring(e,t,t+this.elementBitStringLength*this.numElements)}catch(n){throw new no(n)}}},{key:"getValue",value:function(){return c(Fe(T(n.prototype),"getValue",this).call(this))}},{key:"setValue",value:function(e){for(var t=c(e),r=t.length;r<this.numElements;r++)t.push(0);t.length>this.numElements&&(t=t.slice(0,this.numElements)),Fe(T(n.prototype),"setValue",this).call(this,t)}}]),n}(to),ri=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Xo}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Ko.VERSION.toString(),new io(6,ii.VERSION)),r.put(Ko.SHARING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ko.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ko.SHARING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ko.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ko.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ko.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ko.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ko.SHARING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ko.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ko.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Ko.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0]).withValidator(n)),r.put(Ko.PERSONAL_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(Ko.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Ko.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Ko.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);66==n.length&&(n=n.substring(0,48)+"00000000"+n.substring(48,52)+"00"+n.substring(52,62)),this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNatCoreSegment '"+e+"'")}}}]),n}(uo),oi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ei}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Ko.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Ko.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Ko.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNatGpcSegment '"+e+"'")}}}]),n}(uo),ii=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new ri),e.push(new oi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Ko.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Ko.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Ko.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(ii,"ID",7),r(ii,"VERSION",1),r(ii,"NAME","usnat"),function(e){e.VERSION="Version",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.SHARING_OPT_OUT_NOTICE="SharingOptOutNotice",e.SENSITIVE_DATA_LIMIT_USE_NOTICE="SensitiveDataLimitUseNotice",e.SALE_OPT_OUT="SaleOptOut",e.SHARING_OPT_OUT="SharingOptOut",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"}(Zo||(Zo={}));var ai,si=[Zo.VERSION,Zo.SALE_OPT_OUT_NOTICE,Zo.SHARING_OPT_OUT_NOTICE,Zo.SENSITIVE_DATA_LIMIT_USE_NOTICE,Zo.SALE_OPT_OUT,Zo.SHARING_OPT_OUT,Zo.SENSITIVE_DATA_PROCESSING,Zo.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Zo.PERSONAL_DATA_CONSENTS,Zo.MSPA_COVERED_TRANSACTION,Zo.MSPA_OPT_OUT_OPTION_MODE,Zo.MSPA_SERVICE_PROVIDER_MODE],ci=[Zo.GPC_SEGMENT_TYPE,Zo.GPC],ui=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return si}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Zo.VERSION.toString(),new io(6,di.VERSION)),r.put(Zo.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Zo.SHARING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Zo.SENSITIVE_DATA_LIMIT_USE_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Zo.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Zo.SHARING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Zo.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Zo.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0]).withValidator(n)),r.put(Zo.PERSONAL_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(Zo.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Zo.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Zo.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsCaCoreSegment '"+e+"'")}}}]),n}(uo),li=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ci}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Zo.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Zo.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Zo.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsCaGpcSegment '"+e+"'")}}}]),n}(uo),di=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new ui),e.push(new li),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Zo.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Zo.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Zo.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(di,"ID",8),r(di,"VERSION",1),r(di,"NAME","usca"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode"}(ai||(ai={}));var pi,hi=[ai.VERSION,ai.SHARING_NOTICE,ai.SALE_OPT_OUT_NOTICE,ai.TARGETED_ADVERTISING_OPT_OUT_NOTICE,ai.SALE_OPT_OUT,ai.TARGETED_ADVERTISING_OPT_OUT,ai.SENSITIVE_DATA_PROCESSING,ai.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,ai.MSPA_COVERED_TRANSACTION,ai.MSPA_OPT_OUT_OPTION_MODE,ai.MSPA_SERVICE_PROVIDER_MODE],fi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return hi}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(ai.VERSION.toString(),new io(6,vi.VERSION)),r.put(ai.SHARING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ai.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ai.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ai.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(ai.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(ai.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(ai.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(ai.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(ai.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(ai.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsVaCoreSegment '"+e+"'")}}}]),n}(uo),vi=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new fi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<t.length;r++)n.length>r&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.encode())}return t.join(".")}}]),n}(jr);r(vi,"ID",9),r(vi,"VERSION",1),r(vi,"NAME","usva"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",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"}(pi||(pi={}));var gi,mi=[pi.VERSION,pi.SHARING_NOTICE,pi.SALE_OPT_OUT_NOTICE,pi.TARGETED_ADVERTISING_OPT_OUT_NOTICE,pi.SALE_OPT_OUT,pi.TARGETED_ADVERTISING_OPT_OUT,pi.SENSITIVE_DATA_PROCESSING,pi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,pi.MSPA_COVERED_TRANSACTION,pi.MSPA_OPT_OUT_OPTION_MODE,pi.MSPA_SERVICE_PROVIDER_MODE],Ei=[pi.GPC_SEGMENT_TYPE,pi.GPC],Si=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return mi}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(pi.VERSION.toString(),new io(6,_i.VERSION)),r.put(pi.SHARING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(pi.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(pi.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(pi.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(pi.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(pi.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0]).withValidator(n)),r.put(pi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(pi.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(pi.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(pi.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsCoCoreSegment '"+e+"'")}}}]),n}(uo),yi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Ei}},{key:"initializeFields",value:function(){var e=new ao;return e.put(pi.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(pi.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(pi.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsCoGpcSegment '"+e+"'")}}}]),n}(uo),_i=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Si),e.push(new yi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(pi.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(pi.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(pi.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(_i,"ID",10),r(_i,"VERSION",1),r(_i,"NAME","usco"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE="SensitiveDataProcessingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode"}(gi||(gi={}));var bi,Ti=[gi.VERSION,gi.SHARING_NOTICE,gi.SALE_OPT_OUT_NOTICE,gi.TARGETED_ADVERTISING_OPT_OUT_NOTICE,gi.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE,gi.SALE_OPT_OUT,gi.TARGETED_ADVERTISING_OPT_OUT,gi.SENSITIVE_DATA_PROCESSING,gi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,gi.MSPA_COVERED_TRANSACTION,gi.MSPA_OPT_OUT_OPTION_MODE,gi.MSPA_SERVICE_PROVIDER_MODE],Ci=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Ti}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(gi.VERSION.toString(),new io(6,Oi.VERSION)),r.put(gi.SHARING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(gi.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(gi.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(gi.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(gi.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(gi.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(gi.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(gi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(gi.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(gi.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(gi.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsUtCoreSegment '"+e+"'")}}}]),n}(uo),Oi=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Ci),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<t.length;r++)n.length>r&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.encode())}return t.join(".")}}]),n}(jr);r(Oi,"ID",11),r(Oi,"VERSION",1),r(Oi,"NAME","usut"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",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"}(bi||(bi={}));var Ii,wi=[bi.VERSION,bi.SHARING_NOTICE,bi.SALE_OPT_OUT_NOTICE,bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE,bi.SALE_OPT_OUT,bi.TARGETED_ADVERTISING_OPT_OUT,bi.SENSITIVE_DATA_PROCESSING,bi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,bi.MSPA_COVERED_TRANSACTION,bi.MSPA_OPT_OUT_OPTION_MODE,bi.MSPA_SERVICE_PROVIDER_MODE],Ni=[bi.GPC_SEGMENT_TYPE,bi.GPC],Ai=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return wi}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(bi.VERSION.toString(),new io(6,Pi.VERSION)),r.put(bi.SHARING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(bi.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(bi.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(bi.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(bi.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(bi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0]).withValidator(n)),r.put(bi.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(bi.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(bi.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsCtCoreSegment '"+e+"'")}}}]),n}(uo),ki=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Ni}},{key:"initializeFields",value:function(){var e=new ao;return e.put(bi.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(bi.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(bi.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsCtGpcSegment '"+e+"'")}}}]),n}(uo),Pi=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Ai),e.push(new ki),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(bi.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(bi.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(bi.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(Pi,"ID",12),r(Pi,"VERSION",1),r(Pi,"NAME","usct"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",e.MSPA_COVERED_TRANSACTION="MspaCoveredTransaction",e.MSPA_OPT_OUT_OPTION_MODE="MspaOptOutOptionMode",e.MSPA_SERVICE_PROVIDER_MODE="MspaServiceProviderMode"}(Ii||(Ii={}));var Di,xi=[Ii.VERSION,Ii.PROCESSING_NOTICE,Ii.SALE_OPT_OUT_NOTICE,Ii.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Ii.SALE_OPT_OUT,Ii.TARGETED_ADVERTISING_OPT_OUT,Ii.SENSITIVE_DATA_PROCESSING,Ii.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Ii.ADDITIONAL_DATA_PROCESSING_CONSENT,Ii.MSPA_COVERED_TRANSACTION,Ii.MSPA_OPT_OUT_OPTION_MODE,Ii.MSPA_SERVICE_PROVIDER_MODE],Vi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return xi}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Ii.VERSION.toString(),new io(6,Ri.VERSION)),r.put(Ii.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ii.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ii.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ii.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ii.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ii.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Ii.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0]).withValidator(n)),r.put(Ii.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Ii.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Ii.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Ii.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsFlCoreSegment '"+e+"'")}}}]),n}(uo),Ri=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Vi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length)for(var n=e.split("."),r=0;r<t.length;r++)n.length>r&&t[r].decode(n[r]);return t}},{key:"encodeSection",value:function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r.encode())}return t.join(".")}}]),n}(jr);r(Ri,"ID",13),r(Ri,"VERSION",1),r(Ri,"NAME","usfl"),function(e){e.VERSION="Version",e.SHARING_NOTICE="SharingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(Di||(Di={}));var Li,Ui=[Di.VERSION,Di.SHARING_NOTICE,Di.SALE_OPT_OUT_NOTICE,Di.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Di.SALE_OPT_OUT,Di.TARGETED_ADVERTISING_OPT_OUT,Di.SENSITIVE_DATA_PROCESSING,Di.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Di.ADDITIONAL_DATA_PROCESSING_CONSENT,Di.MSPA_COVERED_TRANSACTION,Di.MSPA_OPT_OUT_OPTION_MODE,Di.MSPA_SERVICE_PROVIDER_MODE],Mi=[Di.GPC_SEGMENT_TYPE,Di.GPC],Gi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Ui}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Di.VERSION.toString(),new io(6,qi.VERSION)),r.put(Di.SHARING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Di.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Di.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Di.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Di.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Di.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Di.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0]).withValidator(n)),r.put(Di.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Di.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Di.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Di.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsMtCoreSegment '"+e+"'")}}}]),n}(uo),Fi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Mi}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Di.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Di.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Di.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsMtGpcSegment '"+e+"'")}}}]),n}(uo),qi=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Gi),e.push(new Fi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Di.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Di.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Di.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(qi,"ID",14),r(qi,"VERSION",1),r(qi,"NAME","usmt"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(Li||(Li={}));var Bi,ji=[Li.VERSION,Li.PROCESSING_NOTICE,Li.SALE_OPT_OUT_NOTICE,Li.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Li.SALE_OPT_OUT,Li.TARGETED_ADVERTISING_OPT_OUT,Li.SENSITIVE_DATA_PROCESSING,Li.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Li.ADDITIONAL_DATA_PROCESSING_CONSENT,Li.MSPA_COVERED_TRANSACTION,Li.MSPA_OPT_OUT_OPTION_MODE,Li.MSPA_SERVICE_PROVIDER_MODE],Hi=[Li.GPC_SEGMENT_TYPE,Li.GPC],zi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ji}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Li.VERSION.toString(),new io(6,Yi.VERSION)),r.put(Li.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Li.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Li.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Li.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Li.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Li.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Li.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0]).withValidator(n)),r.put(Li.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Li.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Li.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Li.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsOrCoreSegment '"+e+"'")}}}]),n}(uo),Wi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Hi}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Li.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Li.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Li.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsOrGpcSegment '"+e+"'")}}}]),n}(uo),Yi=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new zi),e.push(new Wi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Li.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Li.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Li.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(Yi,"ID",15),r(Yi,"VERSION",1),r(Yi,"NAME","usor"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(Bi||(Bi={}));var Ki,$i=[Bi.VERSION,Bi.PROCESSING_NOTICE,Bi.SALE_OPT_OUT_NOTICE,Bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Bi.SALE_OPT_OUT,Bi.TARGETED_ADVERTISING_OPT_OUT,Bi.SENSITIVE_DATA_PROCESSING,Bi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Bi.ADDITIONAL_DATA_PROCESSING_CONSENT,Bi.MSPA_COVERED_TRANSACTION,Bi.MSPA_OPT_OUT_OPTION_MODE,Bi.MSPA_SERVICE_PROVIDER_MODE],Ji=[Bi.GPC_SEGMENT_TYPE,Bi.GPC],Qi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return $i}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Bi.VERSION.toString(),new io(6,Xi.VERSION)),r.put(Bi.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Bi.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Bi.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Bi.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Bi.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Bi.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(Bi.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Bi.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Bi.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Bi.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsTxCoreSegment '"+e+"'")}}}]),n}(uo),Zi=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Ji}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Bi.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Bi.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Bi.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsTxGpcSegment '"+e+"'")}}}]),n}(uo),Xi=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Qi),e.push(new Zi),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Bi.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Bi.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Bi.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(Xi,"ID",16),r(Xi,"VERSION",1),r(Xi,"NAME","ustx"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(Ki||(Ki={}));var ea,ta=[Ki.VERSION,Ki.PROCESSING_NOTICE,Ki.SALE_OPT_OUT_NOTICE,Ki.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Ki.SALE_OPT_OUT,Ki.TARGETED_ADVERTISING_OPT_OUT,Ki.SENSITIVE_DATA_PROCESSING,Ki.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Ki.ADDITIONAL_DATA_PROCESSING_CONSENT,Ki.MSPA_COVERED_TRANSACTION,Ki.MSPA_OPT_OUT_OPTION_MODE,Ki.MSPA_SERVICE_PROVIDER_MODE],na=[Ki.GPC_SEGMENT_TYPE,Ki.GPC],ra=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ta}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Ki.VERSION.toString(),new io(6,ia.VERSION)),r.put(Ki.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ki.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ki.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ki.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ki.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ki.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Ki.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0,0,0]).withValidator(n)),r.put(Ki.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Ki.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Ki.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Ki.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsDeCoreSegment '"+e+"'")}}}]),n}(uo),oa=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return na}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Ki.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Ki.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Ki.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsDeGpcSegment '"+e+"'")}}}]),n}(uo),ia=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new ra),e.push(new oa),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Ki.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Ki.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Ki.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(ia,"ID",17),r(ia,"VERSION",1),r(ia,"NAME","usde"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SENSITIVE_DATA_OPT_OUT_NOTICE="SensitiveDataOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",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"}(ea||(ea={}));var aa,sa=[ea.VERSION,ea.PROCESSING_NOTICE,ea.SALE_OPT_OUT_NOTICE,ea.TARGETED_ADVERTISING_OPT_OUT_NOTICE,ea.SENSITIVE_DATA_OPT_OUT_NOTICE,ea.SALE_OPT_OUT,ea.TARGETED_ADVERTISING_OPT_OUT,ea.SENSITIVE_DATA_PROCESSING,ea.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,ea.MSPA_COVERED_TRANSACTION,ea.MSPA_OPT_OUT_OPTION_MODE,ea.MSPA_SERVICE_PROVIDER_MODE],ca=[ea.GPC_SEGMENT_TYPE,ea.GPC],ua=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return sa}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(ea.VERSION.toString(),new io(6,da.VERSION)),r.put(ea.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ea.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ea.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ea.SENSITIVE_DATA_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(ea.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(ea.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(ea.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(ea.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(ea.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(ea.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(ea.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsIaCoreSegment '"+e+"'")}}}]),n}(uo),la=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ca}},{key:"initializeFields",value:function(){var e=new ao;return e.put(ea.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(ea.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(ea.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsIaGpcSegment '"+e+"'")}}}]),n}(uo),da=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new ua),e.push(new la),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(ea.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(ea.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(ea.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(da,"ID",18),r(da,"VERSION",1),r(da,"NAME","usia"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(aa||(aa={}));var pa,ha=[aa.VERSION,aa.PROCESSING_NOTICE,aa.SALE_OPT_OUT_NOTICE,aa.TARGETED_ADVERTISING_OPT_OUT_NOTICE,aa.SALE_OPT_OUT,aa.TARGETED_ADVERTISING_OPT_OUT,aa.SENSITIVE_DATA_PROCESSING,aa.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,aa.ADDITIONAL_DATA_PROCESSING_CONSENT,aa.MSPA_COVERED_TRANSACTION,aa.MSPA_OPT_OUT_OPTION_MODE,aa.MSPA_SERVICE_PROVIDER_MODE],fa=[aa.GPC_SEGMENT_TYPE,aa.GPC],va=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ha}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(aa.VERSION.toString(),new io(6,ma.VERSION)),r.put(aa.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(aa.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(aa.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(aa.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(aa.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(aa.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(aa.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(aa.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(aa.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(aa.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(aa.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNeCoreSegment '"+e+"'")}}}]),n}(uo),ga=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return fa}},{key:"initializeFields",value:function(){var e=new ao;return e.put(aa.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(aa.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(aa.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNeGpcSegment '"+e+"'")}}}]),n}(uo),ma=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new va),e.push(new ga),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(aa.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(aa.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(aa.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(ma,"ID",19),r(ma,"VERSION",1),r(ma,"NAME","usne"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(pa||(pa={}));var Ea,Sa=[pa.VERSION,pa.PROCESSING_NOTICE,pa.SALE_OPT_OUT_NOTICE,pa.TARGETED_ADVERTISING_OPT_OUT_NOTICE,pa.SALE_OPT_OUT,pa.TARGETED_ADVERTISING_OPT_OUT,pa.SENSITIVE_DATA_PROCESSING,pa.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,pa.ADDITIONAL_DATA_PROCESSING_CONSENT,pa.MSPA_COVERED_TRANSACTION,pa.MSPA_OPT_OUT_OPTION_MODE,pa.MSPA_SERVICE_PROVIDER_MODE],ya=[pa.GPC_SEGMENT_TYPE,pa.GPC],_a=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Sa}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(pa.VERSION.toString(),new io(6,Ta.VERSION)),r.put(pa.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(pa.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(pa.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(pa.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(pa.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(pa.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(pa.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0]).withValidator(n)),r.put(pa.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(pa.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(pa.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(pa.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNhCoreSegment '"+e+"'")}}}]),n}(uo),ba=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ya}},{key:"initializeFields",value:function(){var e=new ao;return e.put(pa.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(pa.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(pa.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNhGpcSegment '"+e+"'")}}}]),n}(uo),Ta=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new _a),e.push(new ba),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(pa.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(pa.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(pa.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(Ta,"ID",20),r(Ta,"VERSION",1),r(Ta,"NAME","usnh"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(Ea||(Ea={}));var Ca,Oa=[Ea.VERSION,Ea.PROCESSING_NOTICE,Ea.SALE_OPT_OUT_NOTICE,Ea.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Ea.SALE_OPT_OUT,Ea.TARGETED_ADVERTISING_OPT_OUT,Ea.SENSITIVE_DATA_PROCESSING,Ea.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Ea.ADDITIONAL_DATA_PROCESSING_CONSENT,Ea.MSPA_COVERED_TRANSACTION,Ea.MSPA_OPT_OUT_OPTION_MODE,Ea.MSPA_SERVICE_PROVIDER_MODE],Ia=[Ea.GPC_SEGMENT_TYPE,Ea.GPC],wa=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Oa}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Ea.VERSION.toString(),new io(6,Aa.VERSION)),r.put(Ea.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ea.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ea.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ea.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ea.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ea.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Ea.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new ni(2,[0,0,0,0,0]).withValidator(n)),r.put(Ea.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Ea.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Ea.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Ea.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNjCoreSegment '"+e+"'")}}}]),n}(uo),Na=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Ia}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Ea.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Ea.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Ea.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsNjGpcSegment '"+e+"'")}}}]),n}(uo),Aa=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new wa),e.push(new Na),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Ea.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Ea.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Ea.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(Aa,"ID",21),r(Aa,"VERSION",1),r(Aa,"NAME","usnj"),function(e){e.VERSION="Version",e.PROCESSING_NOTICE="ProcessingNotice",e.SALE_OPT_OUT_NOTICE="SaleOptOutNotice",e.TARGETED_ADVERTISING_OPT_OUT_NOTICE="TargetedAdvertisingOptOutNotice",e.SALE_OPT_OUT="SaleOptOut",e.TARGETED_ADVERTISING_OPT_OUT="TargetedAdvertisingOptOut",e.SENSITIVE_DATA_PROCESSING="SensitiveDataProcessing",e.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS="KnownChildSensitiveDataConsents",e.ADDITIONAL_DATA_PROCESSING_CONSENT="AdditionalDataProcessingConsent",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"}(Ca||(Ca={}));var ka=[Ca.VERSION,Ca.PROCESSING_NOTICE,Ca.SALE_OPT_OUT_NOTICE,Ca.TARGETED_ADVERTISING_OPT_OUT_NOTICE,Ca.SALE_OPT_OUT,Ca.TARGETED_ADVERTISING_OPT_OUT,Ca.SENSITIVE_DATA_PROCESSING,Ca.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS,Ca.ADDITIONAL_DATA_PROCESSING_CONSENT,Ca.MSPA_COVERED_TRANSACTION,Ca.MSPA_OPT_OUT_OPTION_MODE,Ca.MSPA_SERVICE_PROVIDER_MODE],Pa=[Ca.GPC_SEGMENT_TYPE,Ca.GPC],Da=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return ka}},{key:"initializeFields",value:function(){var e=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=0&&e<=2}}]),e}()),t=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){return e>=1&&e<=2}}]),e}()),n=new(function(){function e(){m(this,e)}return S(e,[{key:"test",value:function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n<0||n>2)return!1}return!0}}]),e}()),r=new ao;return r.put(Ca.VERSION.toString(),new io(6,Va.VERSION)),r.put(Ca.PROCESSING_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ca.SALE_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ca.TARGETED_ADVERTISING_OPT_OUT_NOTICE.toString(),new io(2,0).withValidator(e)),r.put(Ca.SALE_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ca.TARGETED_ADVERTISING_OPT_OUT.toString(),new io(2,0).withValidator(e)),r.put(Ca.SENSITIVE_DATA_PROCESSING.toString(),new ni(2,[0,0,0,0,0,0,0,0]).withValidator(n)),r.put(Ca.KNOWN_CHILD_SENSITIVE_DATA_CONSENTS.toString(),new io(2,0).withValidator(e)),r.put(Ca.ADDITIONAL_DATA_PROCESSING_CONSENT.toString(),new io(2,0).withValidator(e)),r.put(Ca.MSPA_COVERED_TRANSACTION.toString(),new io(2,1).withValidator(t)),r.put(Ca.MSPA_OPT_OUT_OPTION_MODE.toString(),new io(2,0).withValidator(e)),r.put(Ca.MSPA_SERVICE_PROVIDER_MODE.toString(),new io(2,0).withValidator(e)),r}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsTnCoreSegment '"+e+"'")}}}]),n}(uo),xa=function(e){b(n,e);var t=w(n);function n(e){var o;return m(this,n),r(y(o=t.call(this)),"base64UrlEncoder",Kr.getInstance()),r(y(o),"bitStringEncoder",$r.getInstance()),e&&o.decode(e),o}return S(n,[{key:"getFieldNames",value:function(){return Pa}},{key:"initializeFields",value:function(){var e=new ao;return e.put(Ca.GPC_SEGMENT_TYPE.toString(),new io(2,1)),e.put(Ca.GPC_SEGMENT_INCLUDED.toString(),new To(!0)),e.put(Ca.GPC.toString(),new To(!1)),e}},{key:"encodeSegment",value:function(e){var t=this.bitStringEncoder.encode(e,this.getFieldNames());return this.base64UrlEncoder.encode(t)}},{key:"decodeSegment",value:function(e,t){null!=e&&0!==e.length||this.fields.reset(t);try{var n=this.base64UrlEncoder.decode(e);this.bitStringEncoder.decode(n,this.getFieldNames(),t)}catch(r){throw new Hr("Unable to decode UsTnGpcSegment '"+e+"'")}}}]),n}(uo),Va=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),r=t.call(this),e&&e.length>0&&r.decode(e),r}return S(n,[{key:"getId",value:function(){return n.ID}},{key:"getName",value:function(){return n.NAME}},{key:"getVersion",value:function(){return n.VERSION}},{key:"initializeSegments",value:function(){var e=[];return e.push(new Da),e.push(new xa),e}},{key:"decodeSection",value:function(e){var t=this.initializeSegments();if(null!=e&&0!==e.length){var n=e.split(".");n.length>0&&t[0].decode(n[0]),n.length>1?(t[1].setFieldValue(Ca.GPC_SEGMENT_INCLUDED,!0),t[1].decode(n[1])):t[1].setFieldValue(Ca.GPC_SEGMENT_INCLUDED,!1)}return t}},{key:"encodeSection",value:function(e){var t=[];return e.length>=1&&(t.push(e[0].encode()),e.length>=2&&!0===e[1].getFieldValue(Ca.GPC_SEGMENT_INCLUDED)&&t.push(e[1].encode())),t.join(".")}}]),n}(jr);r(Va,"ID",22),r(Va,"VERSION",1),r(Va,"NAME","ustn");var Ra=function e(){m(this,e)};r(Ra,"SECTION_ID_NAME_MAP",new Map([[Lo.ID,Lo.NAME],[jo.ID,jo.NAME],[Qo.ID,Qo.NAME],[ii.ID,ii.NAME],[di.ID,di.NAME],[vi.ID,vi.NAME],[_i.ID,_i.NAME],[Oi.ID,Oi.NAME],[Pi.ID,Pi.NAME],[Ri.ID,Ri.NAME],[qi.ID,qi.NAME],[Yi.ID,Yi.NAME],[Xi.ID,Xi.NAME],[ia.ID,ia.NAME],[da.ID,da.NAME],[ma.ID,ma.NAME],[Ta.ID,Ta.NAME],[Aa.ID,Aa.NAME],[Va.ID,Va.NAME]])),r(Ra,"SECTION_ORDER",[Lo.NAME,jo.NAME,Qo.NAME,ii.NAME,di.NAME,vi.NAME,_i.NAME,Oi.NAME,Pi.NAME,Ri.NAME,qi.NAME,Yi.NAME,Xi.NAME,ia.NAME,da.NAME,ma.NAME,Ta.NAME,Aa.NAME,Va.NAME]);var La=function(){function e(t){m(this,e),r(this,"sections",new Map),r(this,"encodedString",null),r(this,"decoded",!0),r(this,"dirty",!1),t&&this.decode(t)}return S(e,[{key:"setFieldValue",value:function(e,t,n){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);var r=null;if(this.sections.has(e)?r=this.sections.get(e):e===jo.NAME?(r=new jo,this.sections.set(jo.NAME,r)):e===Lo.NAME?(r=new Lo,this.sections.set(Lo.NAME,r)):e===Qo.NAME?(r=new Qo,this.sections.set(Qo.NAME,r)):e===ii.NAME?(r=new ii,this.sections.set(ii.NAME,r)):e===di.NAME?(r=new di,this.sections.set(di.NAME,r)):e===vi.NAME?(r=new vi,this.sections.set(vi.NAME,r)):e===_i.NAME?(r=new _i,this.sections.set(_i.NAME,r)):e===Oi.NAME?(r=new Oi,this.sections.set(Oi.NAME,r)):e===Pi.NAME?(r=new Pi,this.sections.set(Pi.NAME,r)):e===Ri.NAME?(r=new Ri,this.sections.set(Ri.NAME,r)):e===qi.NAME?(r=new qi,this.sections.set(qi.NAME,r)):e===Yi.NAME?(r=new Yi,this.sections.set(Yi.NAME,r)):e===Xi.NAME?(r=new Xi,this.sections.set(Xi.NAME,r)):e===ia.NAME?(r=new ia,this.sections.set(ia.NAME,r)):e===da.NAME?(r=new da,this.sections.set(da.NAME,r)):e===ma.NAME?(r=new ma,this.sections.set(ma.NAME,r)):e===Ta.NAME?(r=new Ta,this.sections.set(Ta.NAME,r)):e===Aa.NAME?(r=new Aa,this.sections.set(Aa.NAME,r)):e===Va.NAME&&(r=new Va,this.sections.set(Va.NAME,r)),!r)throw new Br(e+"."+t+" not found");r.setFieldValue(t,n),this.dirty=!0,r.setIsDirty(!0)}},{key:"setFieldValueBySectionId",value:function(e,t,n){this.setFieldValue(Ra.SECTION_ID_NAME_MAP.get(e),t,n)}},{key:"getFieldValue",value:function(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}},{key:"getFieldValueBySectionId",value:function(e,t){return this.getFieldValue(Ra.SECTION_ID_NAME_MAP.get(e),t)}},{key:"hasField",value:function(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)}},{key:"hasFieldBySectionId",value:function(e,t){return this.hasField(Ra.SECTION_ID_NAME_MAP.get(e),t)}},{key:"hasSection",value:function(e){return this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0),this.sections.has(e)}},{key:"hasSectionId",value:function(e){return this.hasSection(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"deleteSection",value:function(e){!this.decoded&&null!=this.encodedString&&this.encodedString.length>0&&this.decode(this.encodedString),this.sections.delete(e),this.dirty=!0}},{key:"deleteSectionById",value:function(e){this.deleteSection(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"clear",value:function(){this.sections.clear(),this.encodedString="DBAA",this.decoded=!1,this.dirty=!1}},{key:"getHeader",value:function(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);var e=new po;return e.setFieldValue("SectionIds",this.getSectionIds()),e.toObj()}},{key:"getSection",value:function(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}},{key:"getSectionIds",value:function(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);for(var e=[],t=0;t<Ra.SECTION_ORDER.length;t++){var n=Ra.SECTION_ORDER[t];if(this.sections.has(n)){var r=this.sections.get(n);e.push(r.getId())}}return e}},{key:"encodeModel",value:function(e){for(var t=[],n=[],r=0;r<Ra.SECTION_ORDER.length;r++){var o=Ra.SECTION_ORDER[r];if(e.has(o)){var i=e.get(o);i.setIsDirty(!0),t.push(i.encode()),n.push(i.getId())}}var a=new po;return a.setFieldValue("SectionIds",n),t.unshift(a.encode()),t.join("~")}},{key:"decodeModel",value:function(e){if(!e||0==e.length||e.startsWith("DB")){var t=e.split("~"),n=new Map;if(t[0].startsWith("D")){var r=new po(t[0]).getFieldValue("SectionIds");if(r.length!==t.length-1)throw new Hr("Unable to decode '"+e+"'. The number of sections does not match the number of sections defined in the header.");for(var o=0;o<r.length;o++){if(""===t[o+1].trim())throw new Hr("Unable to decode '"+e+"'. Section "+(o+1)+" is blank.");if(r[o]===jo.ID){var i=new jo(t[o+1]);n.set(jo.NAME,i)}else if(r[o]===Lo.ID){var a=new Lo(t[o+1]);n.set(Lo.NAME,a)}else if(r[o]===Qo.ID){var s=new Qo(t[o+1]);n.set(Qo.NAME,s)}else if(r[o]===ii.ID){var c=new ii(t[o+1]);n.set(ii.NAME,c)}else if(r[o]===di.ID){var u=new di(t[o+1]);n.set(di.NAME,u)}else if(r[o]===vi.ID){var l=new vi(t[o+1]);n.set(vi.NAME,l)}else if(r[o]===_i.ID){var d=new _i(t[o+1]);n.set(_i.NAME,d)}else if(r[o]===Oi.ID){var p=new Oi(t[o+1]);n.set(Oi.NAME,p)}else if(r[o]===Pi.ID){var h=new Pi(t[o+1]);n.set(Pi.NAME,h)}else if(r[o]===Ri.ID){var f=new Ri(t[o+1]);n.set(Ri.NAME,f)}else if(r[o]===qi.ID){var v=new qi(t[o+1]);n.set(qi.NAME,v)}else if(r[o]===Yi.ID){var g=new Yi(t[o+1]);n.set(Yi.NAME,g)}else if(r[o]===Xi.ID){var m=new Xi(t[o+1]);n.set(Xi.NAME,m)}else if(r[o]===ia.ID){var E=new ia(t[o+1]);n.set(ia.NAME,E)}else if(r[o]===da.ID){var S=new da(t[o+1]);n.set(da.NAME,S)}else if(r[o]===ma.ID){var y=new ma(t[o+1]);n.set(ma.NAME,y)}else if(r[o]===Ta.ID){var _=new Ta(t[o+1]);n.set(Ta.NAME,_)}else if(r[o]===Aa.ID){var b=new Aa(t[o+1]);n.set(Aa.NAME,b)}else if(r[o]===Va.ID){var T=new Va(t[o+1]);n.set(Va.NAME,T)}}}return n}if(e.startsWith("C")){var C=new Map,O=new Lo(e);return C.set(Lo.NAME,O),(new po).setFieldValue(Jr.SECTION_IDS,[2]),C.set(po.NAME,O),C}throw new Hr("Unable to decode '"+e+"'")}},{key:"encodeSection",value:function(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}},{key:"encodeSectionById",value:function(e){return this.encodeSection(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"decodeSection",value:function(e,t){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);var n=null;this.sections.has(e)?n=this.sections.get(e):e===jo.NAME?(n=new jo,this.sections.set(jo.NAME,n)):e===Lo.NAME?(n=new Lo,this.sections.set(Lo.NAME,n)):e===Qo.NAME?(n=new Qo,this.sections.set(Qo.NAME,n)):e===ii.NAME?(n=new ii,this.sections.set(ii.NAME,n)):e===di.NAME?(n=new di,this.sections.set(di.NAME,n)):e===vi.NAME?(n=new vi,this.sections.set(vi.NAME,n)):e===_i.NAME?(n=new _i,this.sections.set(_i.NAME,n)):e===Oi.NAME?(n=new Oi,this.sections.set(Oi.NAME,n)):e===Pi.NAME?(n=new Pi,this.sections.set(Pi.NAME,n)):e===Ri.NAME?(n=new Ri,this.sections.set(Ri.NAME,n)):e===qi.NAME?(n=new qi,this.sections.set(qi.NAME,n)):e===Yi.NAME?(n=new Yi,this.sections.set(Yi.NAME,n)):e===Xi.NAME?(n=new Xi,this.sections.set(Xi.NAME,n)):e===ia.NAME?(n=new ia,this.sections.set(ia.NAME,n)):e===da.NAME?(n=new da,this.sections.set(da.NAME,n)):e===ma.NAME?(n=new ma,this.sections.set(ma.NAME,n)):e===Ta.NAME?(n=new Ta,this.sections.set(Ta.NAME,n)):e===Aa.NAME?(n=new Aa,this.sections.set(Aa.NAME,n)):e===Va.NAME&&(n=new Va,this.sections.set(Va.NAME,n)),n&&(n.decode(t),this.dirty=!0)}},{key:"decodeSectionById",value:function(e,t){this.decodeSection(Ra.SECTION_ID_NAME_MAP.get(e),t)}},{key:"toObject",value:function(){this.decoded||(this.sections=this.decodeModel(this.encodedString),this.dirty=!1,this.decoded=!0);for(var e={},t=0;t<Ra.SECTION_ORDER.length;t++){var n=Ra.SECTION_ORDER[t];this.sections.has(n)&&(e[n]=this.sections.get(n).toObj())}return e}},{key:"encode",value:function(){return(null==this.encodedString||0===this.encodedString.length||this.dirty)&&(this.encodedString=this.encodeModel(this.sections),this.dirty=!1,this.decoded=!0),this.encodedString}},{key:"decode",value:function(e){this.encodedString=e,this.dirty=!1,this.decoded=!1}}]),e}(),Ua=function(){function e(){m(this,e),r(this,"gppVersion","1.1"),r(this,"supportedAPIs",[]),r(this,"eventQueue",new Fr(this)),r(this,"cmpStatus",Vr.LOADING),r(this,"cmpDisplayStatus",Rr.HIDDEN),r(this,"signalStatus",Ur.NOT_READY),r(this,"applicableSections",[]),r(this,"gppModel",new La),r(this,"cmpId",void 0),r(this,"cmpVersion",void 0),r(this,"eventStatus",void 0)}return S(e,[{key:"reset",value:function(){this.eventQueue.clear(),this.cmpStatus=Vr.LOADING,this.cmpDisplayStatus=Rr.HIDDEN,this.signalStatus=Ur.NOT_READY,this.applicableSections=[],this.supportedAPIs=[],this.gppModel=new La,delete this.cmpId,delete this.cmpVersion,delete this.eventStatus}}]),e}(),Ma=function(){function e(){m(this,e)}return S(e,null,[{key:"absCall",value:function(e,t,n,r){return new Promise((function(o,i){var a=new XMLHttpRequest;a.withCredentials=n,a.addEventListener("load",(function(){if(a.readyState==XMLHttpRequest.DONE)if(a.status>=200&&a.status<300){var e=a.response;if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}o(e)}else i(new Error("HTTP Status: ".concat(a.status," response type: ").concat(a.responseType)))})),a.addEventListener("error",(function(){i(new Error("error"))})),a.addEventListener("abort",(function(){i(new Error("aborted"))})),null===t?a.open("GET",e,!0):a.open("POST",e,!0),a.responseType="json",a.timeout=r,a.ontimeout=function(){i(new Error("Timeout "+r+"ms "+e))},a.send(t)}))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return this.absCall(e,JSON.stringify(t),n,r)}},{key:"fetch",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.absCall(e,null,t,n)}}]),e}(),Ga=function(e){b(n,e);var t=w(n);function n(e){var r;return m(this,n),(r=t.call(this,e)).name="GVLError",r}return n}(F(Error)),Fa=function(){function e(){m(this,e)}return S(e,[{key:"has",value:function(t){return e.langSet.has(t)}},{key:"forEach",value:function(t){e.langSet.forEach(t)}},{key:"size",get:function(){return e.langSet.size}}]),e}();r(Fa,"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 qa=function(){function e(){m(this,e),r(this,"vendors",void 0),r(this,"consentLanguages",new Fa),r(this,"gvlSpecificationVersion",void 0),r(this,"vendorListVersion",void 0),r(this,"tcfPolicyVersion",void 0),r(this,"lastUpdated",void 0),r(this,"purposes",void 0),r(this,"specialPurposes",void 0),r(this,"features",void 0),r(this,"specialFeatures",void 0),r(this,"stacks",void 0),r(this,"dataCategories",void 0),r(this,"language",e.DEFAULT_LANGUAGE),r(this,"vendorIds",void 0),r(this,"ready",!1),r(this,"fullVendorList",void 0),r(this,"byPurposeVendorMap",void 0),r(this,"bySpecialPurposeVendorMap",void 0),r(this,"byFeatureVendorMap",void 0),r(this,"bySpecialFeatureVendorMap",void 0),r(this,"baseUrl",void 0),r(this,"languageFilename","purposes-[LANG].json")}return S(e,[{key:"changeLanguage",value:function(){var e=g(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.toUpperCase(),!this.consentLanguages.has(n)){e.next=18;break}if(n===this.language){e.next=16;break}return this.language=n,r=this.baseUrl+this.languageFilename.replace("[LANG]",t),e.prev=5,e.t0=this,e.next=9,Ma.fetch(r);case 9:e.t1=e.sent,e.t0.populate.call(e.t0,e.t1),e.next=16;break;case 13:throw e.prev=13,e.t2=e.catch(5),new Ga("unable to load language: "+e.t2.message);case 16:e.next=19;break;case 18:throw new Ga("unsupported language ".concat(t));case 19:case"end":return e.stop()}}),e,this,[[5,13]])})));return function(t){return e.apply(this,arguments)}}()},{key:"getJson",value:function(){return JSON.parse(JSON.stringify({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,dataCategories:this.dataCategories,vendors:this.fullVendorList}))}},{key:"isVendorList",value:function(e){return void 0!==e&&void 0!==e.vendors}},{key:"populate",value:function(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.vendors,this.mapVendors(),this.ready=!0)}},{key:"mapVendors",value:function(e){var t=this;this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((function(e){t.byPurposeVendorMap[e]={legInt:new Set,impCons:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((function(e){t.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((function(e){t.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((function(e){t.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((function(e){return+e}))),this.vendorIds=new Set(e),this.vendors=e.reduce((function(e,n){var r=t.vendors[String(n)];return r&&void 0===r.deletedDate&&(r.purposes.forEach((function(e){t.byPurposeVendorMap[String(e)].consent.add(n)})),r.specialPurposes.forEach((function(e){t.bySpecialPurposeVendorMap[String(e)].add(n)})),r.legIntPurposes&&r.legIntPurposes.forEach((function(e){t.byPurposeVendorMap[String(e)].legInt.add(n)})),r.impConsPurposes&&r.impConsPurposes.forEach((function(e){t.byPurposeVendorMap[String(e)].impCons.add(n)})),r.flexiblePurposes&&r.flexiblePurposes.forEach((function(e){t.byPurposeVendorMap[String(e)].flexible.add(n)})),r.features.forEach((function(e){t.byFeatureVendorMap[String(e)].add(n)})),r.specialFeatures.forEach((function(e){t.bySpecialFeatureVendorMap[String(e)].add(n)})),e[n]=r),e}),{})}},{key:"getFilteredVendors",value:function(e,t,n,r){var o=this,i=e.charAt(0).toUpperCase()+e.slice(1),a={};return("purpose"===e&&n?this["by"+i+"VendorMap"][String(t)][n]:this["by"+(r?"Special":"")+i+"VendorMap"][String(t)]).forEach((function(e){a[String(e)]=o.vendors[String(e)]})),a}},{key:"getVendorsWithConsentPurpose",value:function(e){return this.getFilteredVendors("purpose",e,"consent")}},{key:"getVendorsWithLegIntPurpose",value:function(e){return this.getFilteredVendors("purpose",e,"legInt")}},{key:"getVendorsWithFlexiblePurpose",value:function(e){return this.getFilteredVendors("purpose",e,"flexible")}},{key:"getVendorsWithSpecialPurpose",value:function(e){return this.getFilteredVendors("purpose",e,void 0,!0)}},{key:"getVendorsWithFeature",value:function(e){return this.getFilteredVendors("feature",e)}},{key:"getVendorsWithSpecialFeature",value:function(e){return this.getFilteredVendors("feature",e,void 0,!0)}},{key:"narrowVendorsTo",value:function(e){this.mapVendors(e)}},{key:"isReady",get:function(){return this.ready}}],[{key:"fromVendorList",value:function(t){var n=new e;return n.populate(t),n}},{key:"fromUrl",value:function(){var t=g(f.a.mark((function t(n){var r,o,i,a,s,c;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=n.baseUrl)&&0!==r.length){t.next=3;break}throw new Ga("Invalid baseUrl: '"+r+"'");case 3:if(!/^https?:\/\/vendorlist\.consensu\.org\//.test(r)){t.next=5;break}throw new Ga("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");case 5:if(r.length>0&&"/"!==r[r.length-1]&&(r+="/"),(o=new e).baseUrl=r,n.languageFilename?o.languageFilename=n.languageFilename:o.languageFilename="purposes-[LANG].json",!(n.version>0)){t.next=20;break}return(i=n.versionedFilename)||(i="archives/vendor-list-v[VERSION].json"),a=r+i.replace("[VERSION]",String(n.version)),t.t0=o,t.next=16,Ma.fetch(a);case 16:t.t1=t.sent,t.t0.populate.call(t.t0,t.t1),t.next=28;break;case 20:return(s=n.latestFilename)||(s="vendor-list.json"),c=r+s,t.t2=o,t.next=26,Ma.fetch(c);case 26:t.t3=t.sent,t.t2.populate.call(t.t2,t.t3);case 28:return t.abrupt("return",o);case 29:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},{key:"isInstanceOf",value:function(e){return"object"===typeof e&&"function"===typeof e.narrowVendorsTo}}]),e}();r(qa,"DEFAULT_LANGUAGE","EN");var Ba=function(){function e(t,n,o){m(this,e),r(this,"callResponder",void 0),r(this,"cmpApiContext",void 0),this.cmpApiContext=new Ua,this.cmpApiContext.cmpId=t,this.cmpApiContext.cmpVersion=n,this.callResponder=new Gr(this.cmpApiContext,o)}return S(e,[{key:"fireEvent",value:function(e,t){this.cmpApiContext.eventQueue.exec(e,t)}},{key:"fireErrorEvent",value:function(e){this.cmpApiContext.eventQueue.exec("error",e)}},{key:"fireSectionChange",value:function(e){this.cmpApiContext.eventQueue.exec("sectionChange",e)}},{key:"getEventStatus",value:function(){return this.cmpApiContext.eventStatus}},{key:"setEventStatus",value:function(e){this.cmpApiContext.eventStatus=e}},{key:"getCmpStatus",value:function(){return this.cmpApiContext.cmpStatus}},{key:"setCmpStatus",value:function(e){this.cmpApiContext.cmpStatus=e,this.cmpApiContext.eventQueue.exec("cmpStatus",e)}},{key:"getCmpDisplayStatus",value:function(){return this.cmpApiContext.cmpDisplayStatus}},{key:"setCmpDisplayStatus",value:function(e){this.cmpApiContext.cmpDisplayStatus=e,this.cmpApiContext.eventQueue.exec("cmpDisplayStatus",e)}},{key:"getSignalStatus",value:function(){return this.cmpApiContext.signalStatus}},{key:"setSignalStatus",value:function(e){this.cmpApiContext.signalStatus=e,this.cmpApiContext.eventQueue.exec("signalStatus",e)}},{key:"getApplicableSections",value:function(){return this.cmpApiContext.applicableSections}},{key:"setApplicableSections",value:function(e){this.cmpApiContext.applicableSections=e}},{key:"getSupportedAPIs",value:function(){return this.cmpApiContext.supportedAPIs}},{key:"setSupportedAPIs",value:function(e){this.cmpApiContext.supportedAPIs=e}},{key:"setGppString",value:function(e){this.cmpApiContext.gppModel.decode(e)}},{key:"getGppString",value:function(){return this.cmpApiContext.gppModel.encode()}},{key:"setSectionString",value:function(e,t){this.cmpApiContext.gppModel.decodeSection(e,t)}},{key:"setSectionStringById",value:function(e,t){this.setSectionString(Ra.SECTION_ID_NAME_MAP.get(e),t)}},{key:"getSectionString",value:function(e){return this.cmpApiContext.gppModel.encodeSection(e)}},{key:"getSectionStringById",value:function(e){return this.getSectionString(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"setFieldValue",value:function(e,t,n){this.cmpApiContext.gppModel.setFieldValue(e,t,n)}},{key:"setFieldValueBySectionId",value:function(e,t,n){this.setFieldValue(Ra.SECTION_ID_NAME_MAP.get(e),t,n)}},{key:"getFieldValue",value:function(e,t){return this.cmpApiContext.gppModel.getFieldValue(e,t)}},{key:"getFieldValueBySectionId",value:function(e,t){return this.getFieldValue(Ra.SECTION_ID_NAME_MAP.get(e),t)}},{key:"getSection",value:function(e){return this.cmpApiContext.gppModel.getSection(e)}},{key:"getSectionById",value:function(e){return this.getSection(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"hasSection",value:function(e){return this.cmpApiContext.gppModel.hasSection(e)}},{key:"hasSectionId",value:function(e){return this.hasSection(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"deleteSection",value:function(e){this.cmpApiContext.gppModel.deleteSection(e)}},{key:"deleteSectionById",value:function(e){this.deleteSection(Ra.SECTION_ID_NAME_MAP.get(e))}},{key:"clear",value:function(){this.cmpApiContext.gppModel.clear()}},{key:"getObject",value:function(){return this.cmpApiContext.gppModel.toObject()}},{key:"getGvlFromVendorList",value:function(e){return qa.fromVendorList(e)}},{key:"getGvlFromUrl",value:function(){var e=g(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",qa.fromUrl(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}();function ja(e,t,n,r){var o=n&&document.getElementById(n);return o||(o=document.createElement(e),t&&(o.className=t),n&&(o.id=n),r&&r.insertBefore(o,r.firstChild)),o.setAttribute("data-nosnippet",""),o}function Ha(){var e="qc-cmp2-container";return ja("div",e,e,document.body)}var za=function(e){var t=e.coreConfig,n=t.publisherFeaturesIds,r=t.publisherSpecialFeaturesIds,o=t.publisherSpecialPurposesIds,i=t.publisherPurposeIds,a=t.publisherPurposeLegitimateInterestIds,s=t.vendorPurposeIds,c=t.vendorPurposeLegitimateInterestIds,u=t.vendorSpecialFeaturesIds,l=t.vendorSpecialPurposesIds,d=t.vendorFeaturesIds,p=[n,r,o,i,a,s,c,u,l,d],h=(s||[]).length;return p.forEach((function(e){var t;(t=e)&&t.sort((function(e,t){return e-t}))})),{purposeIds:(h?s:i)||[],purposeLegitimateInterestIds:(h?c:a)||[],specialFeaturesIds:(h?u:r)||[],specialPurposesIds:(h?l:o)||[],featuresIds:(h?d:n)||[]}},Wa=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="".concat(e[0],"~"),o=e.match(/\d+/g);if(o.shift(),n)return"".concat(r).concat(null===o||void 0===o?void 0:o.join("."));var i=null===o||void 0===o?void 0:o.reduce((function(e,n,r,o){if(0===r)return t=parseInt(n,10),e.concat(n);var i=o[r]?parseInt(n,10)+t:null;return t=i,i?e.concat(".".concat(i)):e}),r);return i};function Ya(e,t){return t&&"string"===typeof t?e(t):null}var Ka,$a,Ja,Qa,Za,Xa=function(e,t){e&&window.parent.postMessage(t,"*")},es=function(){return"globalPrivacyControl"in navigator},ts=function(){var e;return null!==(e=navigator.globalPrivacyControl)&&void 0!==e&&e},ns={},rs=[],os=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function is(e,t){for(var n in t)e[n]=t[n];return e}function as(e){var t=e.parentNode;t&&t.removeChild(e)}function ss(e,t,n){var r,o,i,a=arguments,s={};for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);if(null!=n&&(s.children=n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return cs(e,s,r,o,null)}function cs(e,t,n,r,o){var i={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++Ka.__v:o};return null!=Ka.vnode&&Ka.vnode(i),i}function us(e){return e.children}function ls(e,t){this.props=e,this.context=t}function ds(e,t){if(null==t)return e.__?ds(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?ds(e):null}function ps(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return ps(e)}}function hs(e){(!e.__d&&(e.__d=!0)&&$a.push(e)&&!fs.__r++||Qa!==Ka.debounceRendering)&&((Qa=Ka.debounceRendering)||Ja)(fs)}function fs(){for(var e;fs.__r=$a.length;)e=$a.sort((function(e,t){return e.__v.__b-t.__v.__b})),$a=[],e.some((function(e){var t,n,r,o,i,a;e.__d&&(i=(o=(t=e).__v).__e,(a=t.__P)&&(n=[],(r=is({},o)).__v=o.__v+1,Ts(a,o,r,t.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,n,null==i?ds(o):i,o.__h),Cs(n,o),o.__e!=i&&ps(o)))}))}function vs(e,t,n,r,o,i,a,s,c,u){var l,d,p,h,f,v,g,m=r&&r.__k||rs,E=m.length;for(n.__k=[],l=0;l<t.length;l++)if(null!=(h=n.__k[l]=null==(h=t[l])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?cs(null,h,null,null,h):Array.isArray(h)?cs(us,{children:h},null,null,null):h.__b>0?cs(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(p=m[l])||p&&h.key==p.key&&h.type===p.type)m[l]=void 0;else for(d=0;d<E;d++){if((p=m[d])&&h.key==p.key&&h.type===p.type){m[d]=void 0;break}p=null}Ts(e,h,p=p||ns,o,i,a,s,c,u),f=h.__e,(d=h.ref)&&p.ref!=d&&(g||(g=[]),p.ref&&g.push(p.ref,null,h),g.push(d,h.__c||f,h)),null!=f?(null==v&&(v=f),"function"==typeof h.type&&null!=h.__k&&h.__k===p.__k?h.__d=c=gs(h,c,e):c=Es(e,h,p,m,f,c),u||"option"!==n.type?"function"==typeof n.type&&(n.__d=c):e.value=""):c&&p.__e==c&&c.parentNode!=e&&(c=ds(p))}for(n.__e=v,l=E;l--;)null!=m[l]&&("function"==typeof n.type&&null!=m[l].__e&&m[l].__e==n.__d&&(n.__d=ds(r,l+1)),ws(m[l],m[l]));if(g)for(l=0;l<g.length;l++)Is(g[l],g[++l],g[++l])}function gs(e,t,n){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,t="function"==typeof o.type?gs(o,t,n):Es(n,o,o,e.__k,o.__e,t));return t}function ms(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){ms(e,t)})):t.push(e)),t}function Es(e,t,n,r,o,i){var a,s,c;if(void 0!==t.__d)a=t.__d,t.__d=void 0;else if(null==n||o!=i||null==o.parentNode)e:if(null==i||i.parentNode!==e)e.appendChild(o),a=null;else{for(s=i,c=0;(s=s.nextSibling)&&c<r.length;c+=2)if(s==o)break e;e.insertBefore(o,i),a=i}return void 0!==a?a:o.nextSibling}function Ss(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||os.test(t)?n:n+"px"}function ys(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||Ss(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||Ss(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r||e.addEventListener(t,i?bs:_s,i):e.removeEventListener(t,i?bs:_s,i);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function _s(e){this.l[e.type+!1](Ka.event?Ka.event(e):e)}function bs(e){this.l[e.type+!0](Ka.event?Ka.event(e):e)}function Ts(e,t,n,r,o,i,a,s,c){var u,l,d,p,h,f,v,g,m,E,S,y=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,s=t.__e=n.__e,t.__h=null,i=[s]),(u=Ka.__b)&&u(t);try{e:if("function"==typeof y){if(g=t.props,m=(u=y.contextType)&&r[u.__c],E=u?m?m.props.value:u.__:r,n.__c?v=(l=t.__c=n.__c).__=l.__E:("prototype"in y&&y.prototype.render?t.__c=l=new y(g,E):(t.__c=l=new ls(g,E),l.constructor=y,l.render=Ns),m&&m.sub(l),l.props=g,l.state||(l.state={}),l.context=E,l.__n=r,d=l.__d=!0,l.__h=[]),null==l.__s&&(l.__s=l.state),null!=y.getDerivedStateFromProps&&(l.__s==l.state&&(l.__s=is({},l.__s)),is(l.__s,y.getDerivedStateFromProps(g,l.__s))),p=l.props,h=l.state,d)null==y.getDerivedStateFromProps&&null!=l.componentWillMount&&l.componentWillMount(),null!=l.componentDidMount&&l.__h.push(l.componentDidMount);else{if(null==y.getDerivedStateFromProps&&g!==p&&null!=l.componentWillReceiveProps&&l.componentWillReceiveProps(g,E),!l.__e&&null!=l.shouldComponentUpdate&&!1===l.shouldComponentUpdate(g,l.__s,E)||t.__v===n.__v){l.props=g,l.state=l.__s,t.__v!==n.__v&&(l.__d=!1),l.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),l.__h.length&&a.push(l);break e}null!=l.componentWillUpdate&&l.componentWillUpdate(g,l.__s,E),null!=l.componentDidUpdate&&l.__h.push((function(){l.componentDidUpdate(p,h,f)}))}l.context=E,l.props=g,l.state=l.__s,(u=Ka.__r)&&u(t),l.__d=!1,l.__v=t,l.__P=e,u=l.render(l.props,l.state,l.context),l.state=l.__s,null!=l.getChildContext&&(r=is(is({},r),l.getChildContext())),d||null==l.getSnapshotBeforeUpdate||(f=l.getSnapshotBeforeUpdate(p,h)),S=null!=u&&u.type===us&&null==u.key?u.props.children:u,vs(e,Array.isArray(S)?S:[S],t,n,r,o,i,a,s,c),l.base=t.__e,t.__h=null,l.__h.length&&a.push(l),v&&(l.__E=l.__=null),l.__e=!1}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=Os(n.__e,t,n,r,o,i,a,c);(u=Ka.diffed)&&u(t)}catch(e){t.__v=null,(c||null!=i)&&(t.__e=s,t.__h=!!c,i[i.indexOf(s)]=null),Ka.__e(e,t,n)}}function Cs(e,t){Ka.__c&&Ka.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){Ka.__e(e,t.__v)}}))}function Os(e,t,n,r,o,i,a,s){var c,u,l,d,p=n.props,h=t.props,f=t.type,v=0;if("svg"===f&&(o=!0),null!=i)for(;v<i.length;v++)if((c=i[v])&&(c===e||(f?c.localName==f:3==c.nodeType))){e=c,i[v]=null;break}if(null==e){if(null===f)return document.createTextNode(h);e=o?document.createElementNS("http://www.w3.org/2000/svg",f):document.createElement(f,h.is&&h),i=null,s=!1}if(null===f)p===h||s&&e.data===h||(e.data=h);else{if(i=i&&rs.slice.call(e.childNodes),u=(p=n.props||ns).dangerouslySetInnerHTML,l=h.dangerouslySetInnerHTML,!s){if(null!=i)for(p={},d=0;d<e.attributes.length;d++)p[e.attributes[d].name]=e.attributes[d].value;(l||u)&&(l&&(u&&l.__html==u.__html||l.__html===e.innerHTML)||(e.innerHTML=l&&l.__html||""))}if(function(e,t,n,r,o){var i;for(i in n)"children"===i||"key"===i||i in t||ys(e,i,null,n[i],r);for(i in t)o&&"function"!=typeof t[i]||"children"===i||"key"===i||"value"===i||"checked"===i||n[i]===t[i]||ys(e,i,t[i],n[i],r)}(e,h,p,o,s),l)t.__k=[];else if(v=t.props.children,vs(e,Array.isArray(v)?v:[v],t,n,r,o&&"foreignObject"!==f,i,a,e.firstChild,s),null!=i)for(v=i.length;v--;)null!=i[v]&&as(i[v]);s||("value"in h&&void 0!==(v=h.value)&&(v!==e.value||"progress"===f&&!v)&&ys(e,"value",v,p.value,!1),"checked"in h&&void 0!==(v=h.checked)&&v!==e.checked&&ys(e,"checked",v,p.checked,!1))}return e}function Is(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){Ka.__e(e,n)}}function ws(e,t,n){var r,o,i;if(Ka.unmount&&Ka.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||Is(r,null,t)),n||"function"==typeof e.type||(n=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){Ka.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&ws(r[i],t,n);null!=o&&as(o)}function Ns(e,t,n){return this.constructor(e,n)}function As(e,t,n){var r,o,i;Ka.__&&Ka.__(e,t),o=(r="function"==typeof n)?null:n&&n.__k||t.__k,i=[],Ts(t,e=(!r&&n||t).__k=ss(us,null,[e]),o||ns,ns,void 0!==t.ownerSVGElement,!r&&n?[n]:o?null:t.firstChild?rs.slice.call(t.childNodes):null,i,!r&&n?n:o?o.__e:t.firstChild,r),Cs(i,e)}function ks(e,t){As(e,t,ks)}function Ps(e,t,n){var r,o,i,a=arguments,s=is({},e.props);for(i in t)"key"==i?r=t[i]:"ref"==i?o=t[i]:s[i]=t[i];if(arguments.length>3)for(n=[n],i=3;i<arguments.length;i++)n.push(a[i]);return null!=n&&(s.children=n),cs(e.type,s,r||e.key,o||e.ref,null)}function Ds(e,t){var n={__c:t="__cC"+Za++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some(hs)},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}Ka={__e:function(e,t){for(var n,r,o;t=t.__;)if((n=t.__c)&&!n.__)try{if((r=n.constructor)&&null!=r.getDerivedStateFromError&&(n.setState(r.getDerivedStateFromError(e)),o=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),o=n.__d),o)return n.__E=n}catch(t){e=t}throw e},__v:0},ls.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=is({},this.state),"function"==typeof e&&(e=e(is({},n),this.props)),e&&is(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),hs(this))},ls.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),hs(this))},ls.prototype.render=us,$a=[],Ja="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,fs.__r=0,Za=0;var xs,Vs,Rs,Ls=0,Us=[],Ms=Ka.__b,Gs=Ka.__r,Fs=Ka.diffed,qs=Ka.__c,Bs=Ka.unmount;function js(e,t){Ka.__h&&Ka.__h(Vs,e,Ls||t),Ls=0;var n=Vs.__H||(Vs.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Hs(e){return Ls=1,zs(rc,e)}function zs(e,t,n){var r=js(xs++,2);return r.t=e,r.__c||(r.__=[n?n(t):rc(void 0,t),function(e){var t=r.t(r.__[0],e);r.__[0]!==t&&(r.__=[t,r.__[1]],r.__c.setState({}))}],r.__c=Vs),r.__}function Ws(e,t){var n=js(xs++,3);!Ka.__s&&nc(n.__H,t)&&(n.__=e,n.__H=t,Vs.__H.__h.push(n))}function Ys(e,t){var n=js(xs++,4);!Ka.__s&&nc(n.__H,t)&&(n.__=e,n.__H=t,Vs.__h.push(n))}function Ks(e){return Ls=5,$s((function(){return{current:e}}),[])}function $s(e,t){var n=js(xs++,7);return nc(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}function Js(e,t){return Ls=8,$s((function(){return e}),t)}function Qs(e){var t=Vs.context[e.__c],n=js(xs++,9);return n.__c=e,t?(null==n.__&&(n.__=!0,t.sub(Vs)),t.props.value):e.__}function Zs(){Us.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(ec),e.__H.__h.forEach(tc),e.__H.__h=[]}catch(t){e.__H.__h=[],Ka.__e(t,e.__v)}})),Us=[]}Ka.__b=function(e){Vs=null,Ms&&Ms(e)},Ka.__r=function(e){Gs&&Gs(e),xs=0;var t=(Vs=e.__c).__H;t&&(t.__h.forEach(ec),t.__h.forEach(tc),t.__h=[])},Ka.diffed=function(e){Fs&&Fs(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Us.push(t)&&Rs===Ka.requestAnimationFrame||((Rs=Ka.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(r),Xs&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);Xs&&(t=requestAnimationFrame(n))})(Zs)),Vs=void 0},Ka.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ec),e.__h=e.__h.filter((function(e){return!e.__||tc(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],Ka.__e(n,e.__v)}})),qs&&qs(e,t)},Ka.unmount=function(e){Bs&&Bs(e);var t=e.__c;if(t&&t.__H)try{t.__H.__.forEach(ec)}catch(e){Ka.__e(e,t.__v)}};var Xs="function"==typeof requestAnimationFrame;function ec(e){var t=Vs;"function"==typeof e.__c&&e.__c(),Vs=t}function tc(e){var t=Vs;e.__c=e.__(),Vs=t}function nc(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function rc(e,t){return"function"==typeof t?t(e):t}function oc(e,t){for(var n in t)e[n]=t[n];return e}function ic(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function ac(e){this.props=e}(ac.prototype=new ls).isPureReactComponent=!0,ac.prototype.shouldComponentUpdate=function(e,t){return ic(this.props,e)||ic(this.state,t)};var sc=Ka.__b;Ka.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),sc&&sc(e)};var cc="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function uc(e){function t(t,n){var r=oc({},t);return delete r.ref,e(r,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=cc,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var lc=function(e,t){return null==e?null:ms(ms(e).map(t))},dc={map:lc,forEach:lc,count:function(e){return e?ms(e).length:0},only:function(e){var t=ms(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:ms},pc=Ka.__e;Ka.__e=function(e,t,n){if(e.then)for(var r,o=t;o=o.__;)if((r=o.__c)&&r.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),r.__c(e,t);pc(e,t,n)};var hc=Ka.unmount;function fc(){this.__u=0,this.t=null,this.__b=null}function vc(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function gc(){this.u=null,this.o=null}Ka.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),hc&&hc(e)},(fc.prototype=new ls).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=vc(r.__v),i=!1,a=function(){i||(i=!0,n.__R=null,o?o(s):s())};n.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(t,n,r){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)})),t.__c&&t.__c.__P===n&&(t.__e&&r.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=r)),t}(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__e:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},fc.prototype.componentWillUnmount=function(){this.t=[]},fc.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,r){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),t.__c.__H=null),null!=(t=oc({},t)).__c&&(t.__c.__P===r&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return e(t,n,r)}))),t}(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__e&&ss(us,null,e.fallback);return o&&(o.__h=null),[ss(us,null,t.__e?null:e.children),o]};var mc=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Ec(e){return this.getChildContext=function(){return e.context},e.children}function Sc(e){var t=this,n=e.i;t.componentWillUnmount=function(){As(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),As(ss(Ec,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}(gc.prototype=new ls).__e=function(e){var t=this,n=vc(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),mc(t,e,r)):o()};n?n(i):i()}},gc.prototype.render=function(e){this.u=null,this.o=new Map;var t=ms(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},gc.prototype.componentDidUpdate=gc.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){mc(e,n,t)}))};var yc="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_c=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,bc=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};ls.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(ls.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Tc=Ka.event;function Cc(){}function Oc(){return this.cancelBubble}function Ic(){return this.defaultPrevented}Ka.event=function(e){return Tc&&(e=Tc(e)),e.persist=Cc,e.isPropagationStopped=Oc,e.isDefaultPrevented=Ic,e.nativeEvent=e};var wc,Nc={configurable:!0,get:function(){return this.class}},Ac=Ka.vnode;Ka.vnode=function(e){var t=e.type,n=e.props,r=n;if("string"==typeof t){for(var o in r={},n){var i=n[o];"value"===o&&"defaultValue"in n&&null==i||("defaultValue"===o&&"value"in n&&null==n.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+t)&&!bc(n.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():_c.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),r[o]=i)}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=ms(n.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=ms(n.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}t&&n.class!=n.className&&(Nc.enumerable="className"in n,null!=n.className&&(r.class=n.className),Object.defineProperty(r,"className",Nc)),e.$$typeof=yc,Ac&&Ac(e)};var kc=Ka.__r;Ka.__r=function(e){kc&&kc(e),wc=e.__c};var Pc={ReactCurrentDispatcher:{current:{readContext:function(e){return wc.__n[e.__c].props.value}}}};"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance);function Dc(e){return!!e&&e.$$typeof===yc}var xc={useState:Hs,useReducer:zs,useEffect:Ws,useLayoutEffect:Ys,useRef:Ks,useImperativeHandle:function(e,t,n){Ls=6,Ys((function(){"function"==typeof e?e(t()):e&&(e.current=t())}),null==n?n:n.concat(e))},useMemo:$s,useCallback:Js,useContext:Qs,useDebugValue:function(e,t){Ka.useDebugValue&&Ka.useDebugValue(t?t(e):e)},version:"16.8.0",Children:dc,render:function(e,t,n){return null==t.__k&&(t.textContent=""),As(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return ks(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(As(null,e),!0)},createPortal:function(e,t){return ss(Sc,{__v:e,i:t})},createElement:ss,createContext:Ds,createFactory:function(e){return ss.bind(null,e)},cloneElement:function(e){return Dc(e)?Ps.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:us,isValidElement:Dc,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:ls,PureComponent:ac,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:ic(this.props,e)}function r(t){return this.shouldComponentUpdate=n,ss(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:uc,unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:us,Suspense:fc,SuspenseList:gc,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return ss(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Pc};function Vc(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Rc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}n(63);function Lc(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Uc=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Mc=Lc((function(e){return Uc.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function Gc(){return(Gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Fc=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("qc-data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),qc="-webkit-",Bc=Math.abs,jc=String.fromCharCode,Hc=Object.assign;function zc(e,t){return 45^Jc(e,0)?(((t<<2^Jc(e,0))<<2^Jc(e,1))<<2^Jc(e,2))<<2^Jc(e,3):0}function Wc(e){return e.trim()}function Yc(e,t){return(e=t.exec(e))?e[0]:e}function Kc(e,t,n){return e.replace(t,n)}function $c(e,t){return e.indexOf(t)}function Jc(e,t){return 0|e.charCodeAt(t)}function Qc(e,t,n){return e.slice(t,n)}function Zc(e){return e.length}function Xc(e){return e.length}function eu(e,t){return t.push(e),e}function tu(e,t){return e.map(t).join("")}var nu=1,ru=1,ou=0,iu=0,au=0,su="";function cu(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:nu,column:ru,length:a,return:""}}function uu(e,t){return Hc(cu("",null,null,"",null,null,0),e,{length:-e.length},t)}function lu(){return au=iu<ou?Jc(su,iu++):0,ru++,10===au&&(ru=1,nu++),au}function du(){return Jc(su,iu)}function pu(){return iu}function hu(e,t){return Qc(su,e,t)}function fu(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vu(e){return nu=ru=1,ou=Zc(su=e),iu=0,[]}function gu(e){return su="",e}function mu(e){return Wc(hu(iu-1,function e(t){for(;lu();)switch(au){case t:return iu;case 34:case 39:34!==t&&39!==t&&e(au);break;case 40:41===t&&e(t);break;case 92:lu()}return iu}(91===e?e+2:40===e?e+1:e)))}function Eu(e){for(;(au=du())&&au<33;)lu();return fu(e)>2||fu(au)>3?"":" "}function Su(e,t){for(;--t&&lu()&&!(au<48||au>102||au>57&&au<65||au>70&&au<97););return hu(e,pu()+(t<6&&32==du()&&32==lu()))}function yu(e,t){for(;lu()&&e+au!==57&&(e+au!==84||47!==du()););return"/*"+hu(t,iu-1)+"*"+jc(47===e?e:lu())}function _u(e){for(;!fu(du());)lu();return hu(e,iu)}function bu(e){return gu(function e(t,n,r,o,i,a,s,c,u){var l=0,d=0,p=s,h=0,f=0,v=0,g=1,m=1,E=1,S=0,y="",_=i,b=a,T=o,C=y;for(;m;)switch(v=S,S=lu()){case 40:if(108!=v&&58==Jc(C,p-1)){-1!=$c(C+=Kc(mu(S),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:C+=mu(S);break;case 9:case 10:case 13:case 32:C+=Eu(v);break;case 92:C+=Su(pu()-1,7);continue;case 47:switch(du()){case 42:case 47:eu(Cu(yu(lu(),pu()),n,r),u);break;default:C+="/"}break;case 123*g:c[l++]=Zc(C)*E;case 125*g:case 59:case 0:switch(S){case 0:case 125:m=0;case 59+d:-1==E&&(C=Kc(C,/\f/g,"")),f>0&&Zc(C)-p&&eu(f>32?Ou(C+";",o,r,p-1):Ou(Kc(C," ","")+";",o,r,p-2),u);break;case 59:C+=";";default:if(eu(T=Tu(C,n,r,l,d,i,c,y,_=[],b=[],p),a),123===S)if(0===d)e(C,n,T,T,_,a,p,c,b);else switch(99===h&&110===Jc(C,3)?100:h){case 100:case 108:case 109:case 115:e(t,T,T,o&&eu(Tu(t,T,T,0,0,i,c,y,i,_=[],p),b),i,b,p,c,o?_:b);break;default:e(C,T,T,T,[""],b,0,c,b)}}l=d=f=0,g=E=1,y=C="",p=s;break;case 58:p=1+Zc(C),f=v;default:if(g<1)if(123==S)--g;else if(125==S&&0==g++&&125==(au=iu>0?Jc(su,--iu):0,ru--,10===au&&(ru=1,nu--),au))continue;switch(C+=jc(S),S*g){case 38:E=d>0?1:(C+="\f",-1);break;case 44:c[l++]=(Zc(C)-1)*E,E=1;break;case 64:45===du()&&(C+=mu(lu())),h=du(),d=p=Zc(y=C+=_u(pu())),S++;break;case 45:45===v&&2==Zc(C)&&(g=0)}}return a}("",null,null,null,[""],e=vu(e),0,[0],e))}function Tu(e,t,n,r,o,i,a,s,c,u,l){for(var d=o-1,p=0===o?i:[""],h=Xc(p),f=0,v=0,g=0;f<r;++f)for(var m=0,E=Qc(e,d+1,d=Bc(v=a[f])),S=e;m<h;++m)(S=Wc(v>0?p[m]+" "+E:Kc(E,/&\f/g,p[m])))&&(c[g++]=S);return cu(e,t,n,0===o?"rule":s,c,u,l)}function Cu(e,t,n){return cu(e,t,n,"comm",jc(au),Qc(e,2,-2),0)}function Ou(e,t,n,r){return cu(e,t,n,"decl",Qc(e,0,r),Qc(e,r+1,-1),r)}function Iu(e,t){for(var n="",r=Xc(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function wu(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case"decl":return e.return=e.return||e.value;case"comm":return"";case"@keyframes":return e.return=e.value+"{"+Iu(e.children,r)+"}";case"rule":e.value=e.props.join(",")}return Zc(n=Iu(e.children,r))?e.return=e.value+"{"+n+"}":""}var Nu=function(e,t,n){for(var r=0,o=0;r=o,o=du(),38===r&&12===o&&(t[n]=1),!fu(o);)lu();return hu(e,iu)},Au=function(e,t){return gu(function(e,t){var n=-1,r=44;do{switch(fu(r)){case 0:38===r&&12===du()&&(t[n]=1),e[n]+=Nu(iu-1,t,n);break;case 2:e[n]+=mu(r);break;case 4:if(44===r){e[++n]=58===du()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=jc(r)}}while(r=lu());return e}(vu(e),t))},ku=new WeakMap,Pu=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ku.get(n))&&!r){ku.set(e,!0);for(var o=[],i=Au(t,o),a=n.props,s=0,c=0;s<i.length;s++)for(var u=0;u<a.length;u++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[u]):a[u]+" "+i[s]}}},Du=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};var xu=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case"decl":e.return=function e(t,n){switch(zc(t,n)){case 5103:return qc+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return qc+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return qc+t+"-moz-"+t+"-ms-"+t+t;case 6828:case 4268:return qc+t+"-ms-"+t+t;case 6165:return qc+t+"-ms-flex-"+t+t;case 5187:return qc+t+Kc(t,/(\w+).+(:[^]+)/,qc+"box-$1$2-ms-flex-$1$2")+t;case 5443:return qc+t+"-ms-flex-item-"+Kc(t,/flex-|-self/,"")+t;case 4675:return qc+t+"-ms-flex-line-pack"+Kc(t,/align-content|flex-|-self/,"")+t;case 5548:return qc+t+"-ms-"+Kc(t,"shrink","negative")+t;case 5292:return qc+t+"-ms-"+Kc(t,"basis","preferred-size")+t;case 6060:return qc+"box-"+Kc(t,"-grow","")+qc+t+"-ms-"+Kc(t,"grow","positive")+t;case 4554:return qc+Kc(t,/([^-])(transform)/g,"$1"+qc+"$2")+t;case 6187:return Kc(Kc(Kc(t,/(zoom-|grab)/,qc+"$1"),/(image-set)/,qc+"$1"),t,"")+t;case 5495:case 3959:return Kc(t,/(image-set\([^]*)/,qc+"$1$`$1");case 4968:return Kc(Kc(t,/(.+:)(flex-)?(.*)/,qc+"box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+qc+t+t;case 4095:case 3583:case 4068:case 2532:return Kc(t,/(.+)-inline(.+)/,qc+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Zc(t)-1-n>6)switch(Jc(t,n+1)){case 109:if(45!==Jc(t,n+4))break;case 102:return Kc(t,/(.+:)(.+)-([^]+)/,"$1"+qc+"$2-$3$1-moz-"+(108==Jc(t,n+3)?"$3":"$2-$3"))+t;case 115:return~$c(t,"stretch")?e(Kc(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==Jc(t,n+1))break;case 6444:switch(Jc(t,Zc(t)-3-(~$c(t,"!important")&&10))){case 107:return Kc(t,":",":"+qc)+t;case 101:return Kc(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+qc+(45===Jc(t,14)?"inline-":"")+"box$3$1"+qc+"$2$3$1-ms-$2box$3")+t}break;case 5936:switch(Jc(t,n+11)){case 114:return qc+t+"-ms-"+Kc(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return qc+t+"-ms-"+Kc(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return qc+t+"-ms-"+Kc(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return qc+t+"-ms-"+t+t}return t}(e.value,e.length);break;case"@keyframes":return Iu([uu(e,{value:Kc(e.value,"@","@"+qc)})],r);case"rule":if(e.length)return tu(e.props,(function(t){switch(Yc(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Iu([uu(e,{props:[Kc(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Iu([uu(e,{props:[Kc(t,/:(plac\w+)/,":"+qc+"input-$1")]}),uu(e,{props:[Kc(t,/:(plac\w+)/,":-moz-$1")]}),uu(e,{props:[Kc(t,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],Vu=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[qc-data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("qc-data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||xu;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[qc-data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("qc-data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)}));var c,u,l=[wu,(u=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&u(e)})],d=function(e){var t=Xc(e);return function(n,r,o,i){for(var a="",s=0;s<t;s++)a+=e[s](n,r,o,i)||"";return a}}([Pu,Du].concat(r,l));i=function(e,t,n,r){c=n,Iu(bu(e?e+"{"+t.styles+"}":t.styles),d),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Fc({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return p.sheet.hydrate(s),p};n(27);function Ru(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var Lu=function(e,t,n){!function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)}(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var Uu={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mu=/[A-Z]|^ms/g,Gu=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fu=function(e){return 45===e.charCodeAt(1)},qu=function(e){return null!=e&&"boolean"!==typeof e},Bu=Lc((function(e){return Fu(e)?e:e.replace(Mu,"-$&").toLowerCase()})),ju=function(e,t){switch(e){case"animation":case"animationName":if("string"===typeof t)return t.replace(Gu,(function(e,t,n){return zu={name:t,styles:n,next:zu},t}))}return 1===Uu[e]||Fu(e)||"number"!==typeof t||0===t?t:t+"px"};function Hu(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return zu={name:n.name,styles:n.styles,next:zu},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)zu={name:r.name,styles:r.styles,next:zu},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=Hu(e,t,n[o])+";";else for(var i in n){var a=n[i];if("object"!==typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":qu(a)&&(r+=Bu(i)+":"+ju(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=Hu(e,t,a);switch(i){case"animation":case"animationName":r+=Bu(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var c=0;c<a.length;c++)qu(a[c])&&(r+=Bu(i)+":"+ju(i,a[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=zu,i=n(e);return zu=o,Hu(e,t,i)}break;case"string":}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var zu,Wu=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Yu=function(e,t,n){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";zu=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=Hu(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=Hu(n,t,e[a]),r&&(o+=i[a]);Wu.lastIndex=0;for(var s,c="";null!==(s=Wu.exec(o));)c+="-"+s[1];return{name:function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c,styles:o,next:zu}},Ku=(Object.prototype.hasOwnProperty,Ds("undefined"!==typeof HTMLElement?Vu({key:"css"}):null));Ku.Provider;var $u=function(e){return uc((function(t,n){var r=Qs(Ku);return e(t,r,n)}))},Ju=Ds({});var Qu=Mc,Zu=function(e){return"theme"!==e},Xu=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Qu:Zu},el=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!==typeof r&&n&&(r=e.__emotion_forwardProp),r},tl=function e(t,n){var r,o,i=t.__emotion_real===t,a=i&&t.__emotion_base||t;void 0!==n&&(r=n.label,o=n.target);var s=el(t,n,i),c=s||Xu(a),u=!c("as");return function(){var l=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==l[0]||void 0===l[0].raw)d.push.apply(d,l);else{0,d.push(l[0][0]);for(var p=l.length,h=1;h<p;h++)d.push(l[h],l[0][h])}var f=$u((function(e,t,n){var r=u&&e.as||a,i="",l=[],p=e;if(null==e.theme){for(var h in p={},e)p[h]=e[h];p.theme=Qs(Ju)}"string"===typeof e.className?i=Ru(t.registered,l,e.className):null!=e.className&&(i=e.className+" ");var f=Yu(d.concat(l),t.registered,p);Lu(t,f,"string"===typeof r);i+=t.key+"-"+f.name,void 0!==o&&(i+=" "+o);var v=u&&void 0===s?Xu(r):c,g={};for(var m in e)u&&"as"===m||v(m)&&(g[m]=e[m]);return g.className=i,g.ref=n,ss(r,g)}));return f.displayName=void 0!==r?r:"Styled("+("string"===typeof a?a:a.displayName||a.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=a,f.__emotion_styles=d,f.__emotion_forwardProp=s,Object.defineProperty(f,"toString",{value:function(){return"."+o}}),f.withComponent=function(t,r){return e(t,Gc({},n,r,{shouldForwardProp:el(f,r,!0)})).apply(void 0,d)},f}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(e){tl[e]=tl(e)}));var nl=tl;n(66);function rl(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Yu(t)}var ol=/^#([\dA-F]{6}|[\dA-F]{3})$/i,il=(Ds([{},function(){return null}]),["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"]),al=il.join(","),sl="undefined"===typeof Element,cl=sl?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ul=!sl&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},ll=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(al));return t&&cl.call(e,al)&&r.unshift(e),r=r.filter(n)},dl=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var a=i.shift();if("SLOT"===a.tagName){var s=a.assignedElements(),c=e(s.length?s:a.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scope:a,candidates:c})}else{cl.call(a,al)&&r.filter(a)&&(n||!t.includes(a))&&o.push(a);var u=a.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(a),l=!r.shadowRootFilter||r.shadowRootFilter(a);if(u&&l){var d=e(!0===u?a.children:u.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scope:a,candidates:d})}else i.unshift.apply(i,a.children)}}return o},pl=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},hl=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},fl=function(e){return"INPUT"===e.tagName},vl=function(e){return function(e){return fl(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||ul(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},gl=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},ml=function(e,t){return!(t.disabled||function(e){return fl(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=cl.call(e,"details>summary:first-of-type")?e.parentElement:e;if(cl.call(o,"details:not([open]) *"))return!0;var i=ul(e).host,a=(null===i||void 0===i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return gl(e)}else{if("function"===typeof r){for(var s=e;e;){var c=e.parentElement,u=ul(e);if(c&&!c.shadowRoot&&!0===r(c))return gl(e);e=e.assignedSlot?e.assignedSlot:c||u===e.ownerDocument?c:u.host}e=s}if(a)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!cl.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},El=function(e,t){return!(vl(t)||pl(t)<0||!ml(e,t))},Sl=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},yl=function(e,t){return function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scope,a=i?t.scope:t,s=pl(a,i),c=i?e(t.candidates):a;0===s?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:c})})),r.sort(hl).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)}((t=t||{}).getShadowRoot?dl([e],t.includeContainer,{filter:El.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Sl}):ll(e,t.includeContainer,El.bind(null,t)))},_l=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==cl.call(e,al)&&El(t,e)},bl=il.concat("iframe").join(","),Tl=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==cl.call(e,bl)&&ml(t,e)};function Cl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ol(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cl(Object(n),!0).forEach((function(t){Il(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Il(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wl=function(){var e=[];return{activateTrap:function(t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}(),Nl=function(e){return setTimeout(e,0)},Al=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},kl=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"===typeof e?e.apply(void 0,n):e},Pl=function(e){return e.target.shadowRoot&&"function"===typeof e.composedPath?e.composedPath()[0]:e.target},Dl=function(e){b(n,e);var t=w(n);function n(e){var o;m(this,n),r(y(o=t.call(this,e)),"getNodeForOption",(function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"===typeof n){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n=n.apply(void 0,o)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"===typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s})),o.handleDeactivate=o.handleDeactivate.bind(y(o)),o.handlePostDeactivate=o.handlePostDeactivate.bind(y(o)),o.handleClickOutsideDeactivates=o.handleClickOutsideDeactivates.bind(y(o)),o.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:o.handleDeactivate,onPostDeactivate:o.handlePostDeactivate,clickOutsideDeactivates:o.handleClickOutsideDeactivates},o.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=e.focusTrapOptions;for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&("returnFocusOnDeactivate"!==a&&"onDeactivate"!==a&&"onPostDeactivate"!==a&&"checkCanReturnFocus"!==a&&"clickOutsideDeactivates"!==a?o.internalOptions[a]=i[a]:o.originalOptions[a]=i[a]);return o.outsideClick=null,o.focusTrapElements=e.containerElements||[],o.updatePreviousElement(),o}return S(n,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!==typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"===typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||!(null===t||void 0===t?void 0:t.focus)||e.outsideClick&&(!e.outsideClick.allowDeactivation||Tl(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,o=void 0!==r&&r;n&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){if(e.containerElements!==this.props.containerElements)try{this.focusTrap.updateContainerElements(this.props.containerElements)}catch(i){console.error("Error updating container elements:",i)}var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t)try{this.updatePreviousElement(),this.focusTrap.activate()}catch(i){console.error("Error activating focus trap:",i)}if(n)return void this.deactivateTrap();r&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?xc.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===xc.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return xc.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"===typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}]),n}(xc.Component);Dl.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:function(e,t){var n,r=(null===t||void 0===t?void 0:t.document)||document,o=Ol({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},s=function(e){return i.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},c=function(e){var t=o[e];if("function"===typeof t){for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t=t.apply(void 0,i)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"===typeof t&&!(s=r.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},u=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement)>=0)e=r.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},l=function(){if(i.containerGroups=i.containers.map((function(e){var t,n,r=yl(e,o.tabbableOptions),i=(t=e,(n=(n=o.tabbableOptions)||{}).getShadowRoot?dl([t],n.includeContainer,{filter:ml.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):ll(t,n.includeContainer,ml.bind(null,n)));return{container:e,tabbableNodes:r,focusableNodes:i,firstTabbableNode:r.length>0?r[0]:null,lastTabbableNode:r.length>0?r[r.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=i.findIndex((function(t){return t===e}));if(!(n<0))return t?i.slice(n+1).find((function(e){return _l(e,o.tabbableOptions)})):i.slice(0,n).reverse().find((function(e){return _l(e,o.tabbableOptions)}))}}})),i.tabbableGroups=i.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),i.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},d=function e(t){!1!==t&&t!==r.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"===typeof e.select}(t)&&t.select()):e(u()))},p=function(e){var t=c("setReturnFocus",e);return t||!1!==t&&e},h=function(e){var t=Pl(e);s(t)>=0||(kl(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate&&!Tl(t,o.tabbableOptions)}):kl(o.allowOutsideClick,e)||e.preventDefault())},f=function(e){var t=Pl(e),n=s(t)>=0;n||t instanceof Document?n&&(i.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),d(i.mostRecentlyFocusedNode||u()))},v=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==kl(o.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=Pl(e);l();var n=null;if(i.tabbableGroups.length>0){var r=s(t),a=r>=0?i.containerGroups[r]:void 0;if(r<0)n=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var u=Al(i.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(u<0&&(a.container===t||Tl(t,o.tabbableOptions)&&!_l(t,o.tabbableOptions)&&!a.nextTabbableNode(t,!1))&&(u=r),u>=0){var p=0===u?i.tabbableGroups.length-1:u-1;n=i.tabbableGroups[p].lastTabbableNode}}else{var h=Al(i.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(h<0&&(a.container===t||Tl(t,o.tabbableOptions)&&!_l(t,o.tabbableOptions)&&!a.nextTabbableNode(t))&&(h=r),h>=0){var f=h===i.tabbableGroups.length-1?0:h+1;n=i.tabbableGroups[f].firstTabbableNode}}}else n=c("fallbackFocus");n&&(e.preventDefault(),d(n))}(e)},g=function(e){var t=Pl(e);s(t)>=0||kl(o.clickOutsideDeactivates,e)||kl(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},m=function(){if(i.active)return wl.activateTrap(n),i.delayInitialFocusTimer=o.delayInitialFocus?Nl((function(){d(u())})):d(u()),r.addEventListener("focusin",f,!0),r.addEventListener("mousedown",h,{capture:!0,passive:!1}),r.addEventListener("touchstart",h,{capture:!0,passive:!1}),r.addEventListener("click",g,{capture:!0,passive:!1}),r.addEventListener("keydown",v,{capture:!0,passive:!1}),n},E=function(){if(i.active)return r.removeEventListener("focusin",f,!0),r.removeEventListener("mousedown",h,!0),r.removeEventListener("touchstart",h,!0),r.removeEventListener("click",g,!0),r.removeEventListener("keydown",v,!0),n};return(n={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||l(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,t&&t();var s=function(){o&&l(),m(),n&&n()};return o?(o(i.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!i.active)return this;var t=Ol({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,E(),i.active=!1,i.paused=!1,wl.deactivateTrap(n);var r=a(t,"onDeactivate"),s=a(t,"onPostDeactivate"),c=a(t,"checkCanReturnFocus"),u=a(t,"returnFocus","returnFocusOnDeactivate");r&&r();var l=function(){Nl((function(){u&&d(p(i.nodeFocusedBeforeActivation)),s&&s()}))};return u&&c?(c(p(i.nodeFocusedBeforeActivation)).then(l,l),this):(l(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,E()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,l(),m(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map((function(e){return"string"===typeof e?r.querySelector(e):e})),i.active&&l(),this}}).updateContainerElements(e),n}};var xl=function(e){Object({NODE_ENV:"production",PUBLIC_URL:"",AMP_FRAME_URL_BASE:"https://cmp.inmobi.com/tcfv2/61",AMP_CHECK_CONSENT_URL:"https://api.cmp.inmobi.com/amp/check-consent",LOCAL_STATIC_DIR:"",REACT_APP_LOG_API:"https://api.cmp.inmobi.com",REACT_APP_GEOIP_API_URL:"https://cmp.inmobi.com/geoip",REACT_APP_GOOGLE_ATP_URL:"https://cmp.inmobi.com/tcfv2/google-atp-list.json",REACT_APP_VERSION:"61",REACT_APP_CMPUI_SRC:"https://cmp.inmobi.com/tcfv2/61/cmp2ui.js",REACT_APP_CMP_LIST:"https://cmp.inmobi.com/GVL-v2/cmp-list.json",REACT_APP_GVL_2_BASE_URL:"https://cmp.inmobi.com/GVL-v2/",REACT_APP_GVL_3_BASE_URL:"https://cmp.inmobi.com/GVL-v3/",REACT_APP_TRANSLATION_BASE_URL:"https://cmp.inmobi.com/tcfv2/translations/",REACT_APP_GBC_URL:"https://cmp.inmobi.com/google-basic-consent/v1",REACT_APP_MSPA_FILE_URL:"https://cmp.inmobi.com/us-mspa/v1",REACT_APP_VISIT_EVENTS_URL:"https://visit-server.inmobi-choice.io/visit-event"}).REACT_APP_DEBUG&&console.log("Debug: "+e)},Vl=function(){return window.navigator.userAgent.indexOf("Trident/")>-1},Rl=function(e,t){if(Array.isArray(e)&&e.length){var n=[],r=[],o=function(e){return e.sort((function(e,n){return t&&isNaN(e[t])?-1:e.name.toLowerCase().localeCompare(n.name.toLowerCase())}))};return navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&t?(e.forEach((function(e){isNaN(e[t])?n.push(e):r.push(e)})),[].concat(n,c(o(r)))):o(e)}return e},Ll=function(e){if(!e)return"-";if(e<0)return"0 ".concat(xp.coreUiLabels.secondsLabel);var t=e/86400;return t>=1?"".concat(Math.round(t)," ").concat(xp.coreUiLabels.daysLabel):"".concat(e," ").concat(xp.coreUiLabels.secondsLabel)},Ul=function(){var e;return"JYWDqeLS64fbt"===(null===xp||void 0===xp||null===(e=xp.coreConfig)||void 0===e?void 0:e.inmobiAccountId)&&jn.includes(window.location.hostname)};function Ml(){var e=Rc(["\n && {\n text-align: center;\n margin: 10px auto !important;\n z-index: 100;\n background-color: ",";\n }\n\n .loader {\n display: inline-block;\n @keyframes line-scale {\n 0% {\n -webkit-transform: scaley(1);\n transform: scaley(1);\n }\n 50% {\n -webkit-transform: scaley(0.4);\n transform: scaley(0.4);\n }\n 100% {\n -webkit-transform: scaley(1);\n transform: scaley(1);\n }\n }\n .line-scale {\n & > div:nth-of-type(1) {\n -webkit-animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n animation: line-scale 1s -0.4s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n }\n & > div:nth-of-type(2) {\n -webkit-animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n animation: line-scale 1s -0.3s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n }\n & > div:nth-of-type(3) {\n -webkit-animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n animation: line-scale 1s -0.2s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n }\n & > div:nth-of-type(4) {\n -webkit-animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n animation: line-scale 1s -0.1s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n }\n & > div:nth-of-type(5) {\n -webkit-animation: line-scale 1s 0s infinite\n cubic-bezier(0.2, 0.68, 0.18, 1.08);\n animation: line-scale 1s 0s infinite cubic-bezier(0.2, 0.68, 0.18, 1.08);\n }\n & > div {\n background: ",";\n width: 4px;\n height: ",";\n border-radius: 2px;\n margin: 2px;\n -webkit-animation-fill-mode: both;\n animation-fill-mode: both;\n display: inline-block;\n }\n }\n"]);return Ml=function(){return e},e}nl.div(Ml(),(function(e){var t=e.onButton,n=e.uxBackgroundColor;return t?"transparent":n}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.onButton?"14px":"35px"}));var Gl='<p style="line-height:150%">At <i><a style="color: white; text-decoration: underline" href="https://www.reachplc.com/about-us/our-brands" target="_blank" rel="noopener noreferrer">Reach and across our entities</a></i> we and our <a style="text-decoration: underline" href="#" onclick="window.__tcfapiui && window.__tcfapiui(\'goToPage\', 2); return false;">partners</a> store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and\ncontent, advertising and content measurement, audience research and services development. With your permission we and our partners may use precise geolocation data and identification through device scanning.</p>\n\n <ul>\n <li style="line-height:150%">By clicking on <strong>I Accept</strong> you will agree to your data being used for personalised advertising in exchange for using our site for free.\n </li>\n\n <li style="line-height:150%">\nIf you click Reject and Pay, you will need to sign up to our Privacy Plus subscription service. For \xa31.99 per month, this subscription will enable you to access the same content, without sharing your personal data for advertising purposes. For more information see our <a style="color: white; text-decoration: underline" href="$url" target="_blank">Terms and Conditions</a>.\n </li>\n </ul>\n\n<p style="line-height:150%">Both options enable you to access the content and support the work of our editorial staff who are committed to providing you with quality information every day. We have introduced these choices in accordance with data protection regulations.\nPlease note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You may access more detailed information about the\npurposes, and tailor your choices, by clicking on More Options. You can change your preferences, view our\n${partners} partners, or withdraw your consent at any time by returning to this site and clicking the Privacy setting link on the webpage. Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months.',Fl=["www.express.co.uk","www.mirror.co.uk"],ql=["www.liverpoolecho.co.uk","www.dailystar.co.uk","www.manchestereveningnews.co.uk","www.dailyrecord.co.uk","www.walesonline.co.uk","copv2.surge.sh","dev.dailystar.co.uk","preprod.dailyrecord.co.uk","preprod.dailystar.co.uk","preprod.liverpoolecho.co.uk","preprod.manchestereveningnews.co.uk","preprod.walesonline.co.uk","qa.dailyrecord.co.uk","qa.dailystar.co.uk","qa.liverpoolecho.co.uk","qa.manchestereveningnews.co.uk","qa.walesonline.co.uk","nat-dev-pres-stable.dailyrecord.co.uk","nat-dev-pres-stable.dailystar.co.uk","nat-dev-pres-stable.liverpoolecho.co.uk","nat-dev-pres-stable.manchestereveningnews.co.uk","nat-dev-pres-stable.walesonline.co.uk","dev.dailyrecord.co.uk","dev.dailystar.co.uk","dev.liverpoolecho.co.uk","dev.manchestereveningnews.co.uk","dev.walesonline.co.uk","nat-dev-pres-bertha.dailyrecord.co.uk","nat-dev-pres-bertha.dailystar.co.uk","nat-dev-pres-bertha.liverpoolecho.co.uk","nat-dev-pres-bertha.manchestereveningnews.co.uk","nat-dev-pres-bertha.walesonline.co.uk","www.devonlive.com","qa.devonlive.com","preprod.devonlive.com","ron-dev-pres-bertha.devonlive.com","ron-dev-pres-stable.devonlive.com","www.chroniclelive.co.uk","qa.chroniclelive.co.uk","preprod.chroniclelive.co.uk","reg-dev-pres-bertha.chroniclelive.co.uk","reg-dev-pres-stable.chroniclelive.co.uk","www.stokesentinel.co.uk","qa.stokesentinel.co.uk","preprod.stokesentinel.co.uk","ron-dev-pres-bertha.stokesentinel.co.uk","ron-dev-pres-stable.stokesentinel.co.uk","www.birminghammail.co.uk","dev.birminghammail.co.uk","qa.birminghammail.co.uk","preprod.birminghammail.co.uk","reg-dev-pres-bertha.birminghammail.co.uk","reg-dev-pres-stable.birminghammail.co.uk","www.belfastlive.co.uk","qa.belfastlive.co.uk","preprod.belfastlive.co.uk","reg-dev-pres-bertha.belfastlive.co.uk","reg-dev-pres-stable.belfastliv","www.bristolpost.co.uk","qa.bristolpost.co.uk","preprod.bristolpost.co.uk","ron-dev-pres-bertha.bristolpost.co.uk","ron-dev-pres-stable.bristolpost.co.uk","www.gloucestershirelive.co.uk","dev.gloucestershirelive.co.uk","qa.gloucestershirelive.co.uk","preprod.gloucestershirelive.co.uk","ron-dev-pres-bertha.gloucestershirelive.co.uk","ron-dev-pres-stable.gloucestershirelive.co.uk","www.hulldailymail.co.uk","dev.hulldailymail.co.uk","qa.hulldailymail.co.uk","preprod.hulldailymail.co.uk","ron-dev-pres-bertha.hulldailymail.co.uk","ron-dev-pres-stable.hulldailymail.co.uk","www.lancs.live","ron-dev-pres-bertha.lancs.live","ron-dev-pres-stable.lancs.live","www.ok.co.uk","ron-dev-pres-bertha.ok.co.uk","ron-dev-pres-stable.ok.co.uk","www.leeds-live.co.uk","ron-dev-pres-bertha.leeds-live.co.uk","ron-dev-pres-stable.leeds-live.co.uk","www.dailypost.co.uk","ron-dev-pres-bertha.dailypost.co.uk","ron-dev-pres-stable.dailypost.co.uk","www.derbytelegraph.co.uk","ron-dev-pres-bertha.derbytelegraph.co.uk","ron-dev-pres-stable.derbytelegraph.co.uk","www.plymouthherald.co.uk","ron-dev-pres-bertha.plymouthherald.co.uk","ron-dev-pres-stable.plymouthherald.co.uk","www.cornwalllive.com","ron-dev-pres-bertha.cornwalllive.com","ron-dev-pres-stable.cornwalllive.com","www.getsurrey.co.uk","reg-dev-pres-stable.getsurrey.co.uk","www.gazettelive.co.uk","reg-dev-pres-stable.gazettelive.co.uk","www.kentlive.news","ron-dev-pres-stable.kentlive.news","reg-dev-pres-stable.kentlive.news","www.leicestermercury.co.uk","ron-dev-pres-bertha.leicestermercury.co.uk","ron-dev-pres-stable.leicestermercury.co.uk","www.nottinghampost.com","ron-dev-pres-bertha.nottinghampost.com","ron-dev-pres-stable.nottinghampost.com","www.examinerlive.co.uk","reg-dev-pres-bertha.examinerlive.co.uk","reg-dev-pres-stable.examinerlive.co.uk"];!function(){var e={};Fl.forEach((function(t){e[t]={screen0:Gl,screen1:Gl}})),ql.forEach((function(t){e[t]={screen0:'<p>At <i><a style="text-decoration: underline" href="https://www.reachplc.com/about-us/our-brands" rel="noopener noreferrer">Reach and across our entities</a></i> we and our <a style="text-decoration: underline" href="#" onclick="window.__tcfapiui && window.__tcfapiui(\'goToPage\', 2); return false;">partners</a> store and/or access information on a device, such as cookies and process personal data, such as unique identifiers and standard information sent by a device for personalised advertising and content, advertising and content measurement, audience research and services development. With your permission we and our partners may use precise geolocation data and identification through device scanning.</p>\n\n<ul>\n <li><strong>Access for free with ads and cookies</strong>: Click on <strong>I Accept</strong> to agree to your data being used for personalised advertising in exchange for using our site for free.</li>\n <li><strong>Pay to remove ads:</strong> Click <strong>Reject and Pay</strong>, and sign up to our Privacy Plus subscription service for \xa32.99 per month. This subscription will enable you to access the same content, without sharing your personal data for advertising purposes. For more information see our <a href="$url" style="text-decoration: underline">Terms and Conditions</a></li>\n</ul>\n\n<p>You may access more detailed information and tailor your choices, by clicking on More Options. You can change your preferences, view our 1467 partners, and withdraw your consent, or object to processing, at any time by clicking the Privacy setting link on the webpage. Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months.</p>',screen1:'Find out more about how your personal data is processed and set your preferences below. You may click to refuse to consent, or access more detailed information and change your preferences before consenting. You can also see the partners we work with in the "Partners" tab. If you Reject All tracking you will be redirected to our Privacy Plus on-site experience. If you continue to allow some tracking you may access the site without subscribing. Your preferences will apply to this website only and will be stored in ${consentStorageMethod} for ${consentStorageDuration} months. Please note that some processing of your personal data may not require your consent, but you have a right to object to such processing. You can change your preferences or withdraw your consent at any time by returning to this site and clicking the Privacy setting link on the webpage.'}}))}();var Bl={country:"usa",region:"ca",city:"san francisco"},jl={country:"gbr",region:"england",city:"london"},Hl=function(e){switch(e){case rt.GDPR:return jl;case rt.USP:return Bl;default:return jl}},zl=function(){var e,t,n;return null===(e=window)||void 0===e||null===(t=e.location)||void 0===t||null===(n=t.hostname)||void 0===n?void 0:n.includes("inmobi.com")};function Wl(){var e=Rc(["\n height: auto;\n "]);return Wl=function(){return e},e}function Yl(){var e=Rc(["\n width: ","px;\n height: ","px;\n "]);return Yl=function(){return e},e}function Kl(){var e=Rc(["\n height: auto;\n "]);return Kl=function(){return e},e}function $l(){var e=Rc(["\n width: ","px;\n height: ","px;\n "]);return $l=function(){return e},e}function Jl(){var e=Rc(["\n width: 130px;\n img {\n max-width: 100%;\n ","\n }\n @media (min-width: 768px) {\n width: 170px;\n img {\n max-width: 170px;\n ","\n }\n }\n "]);return Jl=function(){return e},e}function Ql(){var e=Rc(["\n height: ","px;\n "]);return Ql=function(){return e},e}function Zl(){var e=Rc(["\n text-align: center;\n img {\n max-height: 45px;\n ","\n width: auto;\n }\n @media (min-width: 768px) {\n max-height: 60px;\n text-align: center;\n max-width: 770px;\n }\n "]);return Zl=function(){return e},e}function Xl(){var e=Rc(["\n && {\n ","\n }\n"]);return Xl=function(){return e},e}nl.div(Xl(),(function(e){var t=e.isTall,n=e.height,r=e.width;return t?rl(Zl(),n&&rl(Ql(),n)):rl(Jl(),r&&n?rl($l(),r,r>130?130*n/r:n):rl(Kl()),r&&n?rl(Yl(),r,r>170?170*n/r:n):rl(Wl()))}));function ed(){var e=Rc(["\n margin-top: 10px;\n margin-right: 3px;\n transform-origin: 15% 30%;\n\n .qc-cmp2-expandable-legal.qc-cmp2-expanded & {\n transform: rotate(90deg);\n }\n "]);return ed=function(){return e},e}function td(){var e=Rc(["\n height: 12px;\n transform: rotate(180deg);\n width: 12px;\n\n .expanded & {\n transform: rotate(270deg);\n }\n "]);return td=function(){return e},e}function nd(){var e=Rc(["\n height: 19px;\n transform: rotate(180deg);\n width: 12px;\n\n .qc-cmp2-expanded & {\n transform: rotate(270deg);\n }\n "]);return nd=function(){return e},e}function rd(){var e=Rc(["\n margin-right: 5px;\n "]);return rd=function(){return e},e}function od(){var e=Rc(["\n &&& {\n transition: transform 0.3s ease;\n\n ","\n\n ","\n\n ","\n\n ","\n }\n"]);return od=function(){return e},e}var id=nl.svg(od(),(function(e){return"back"===e.type&&rl(rd())}),(function(e){return"expand"===e.type&&rl(nd())}),(function(e){return"inner"===e.type&&rl(td())}),(function(e){return"fill"===e.type&&rl(ed())})),ad=function(e){var t,n=e.type;switch(n){case"fill":t=xc.createElement("path",{d:"M5 4.5L0.5 0L0.5 9L5 4.5Z",fill:"currentColor"});break;case"expand":case"inner":t=xc.createElement(xc.Fragment,null,xc.createElement("defs",null,xc.createElement("path",{d:"M3.88716886,8.47048371 L12.1431472,0.315826419 C12.4725453,-0.0145777987 13.005189,-0.0145777987 13.3345872,0.315826419 L13.8321886,0.814947685 C14.1615867,1.1453519 14.1615867,1.67962255 13.8321886,2.01002677 L6.6625232,9.06802326 L13.8251801,16.1260197 C14.1545782,16.456424 14.1545782,16.9906946 13.8251801,17.3210988 L13.3275787,17.8202201 C12.9981806,18.1506243 12.4655368,18.1506243 12.1361387,17.8202201 L3.88016039,9.6655628 C3.55777075,9.33515858 3.55777075,8.80088793 3.88716886,8.47048371 Z",id:"path-1"}),xc.createElement("rect",{id:"path-3",x:"0",y:"0",width:"18",height:"18"})),xc.createElement("g",{id:"New---Mobile-2",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},xc.createElement("g",{id:"iPhone-11-6-Copy",transform:"translate(-23.000000, -138.000000)"},xc.createElement("g",{id:"v1",transform:"translate(20.000000, 138.000000)"},xc.createElement("g",{id:"Icons/angle-left"},xc.createElement("mask",{id:"mask-2",fill:"white"},xc.createElement("use",{href:"#path-1"})),xc.createElement("use",{id:"Mask",fill:"currentColor",fillRule:"nonzero",href:"#path-1"}))))));break;default:t=xc.createElement(xc.Fragment,null,xc.createElement("defs",null,xc.createElement("path",{d:"M3.88716886,8.47048371 L12.1431472,0.315826419 C12.4725453,-0.0145777987 13.005189,-0.0145777987 13.3345872,0.315826419 L13.8321886,0.814947685 C14.1615867,1.1453519 14.1615867,1.67962255 13.8321886,2.01002677 L6.6625232,9.06802326 L13.8251801,16.1260197 C14.1545782,16.456424 14.1545782,16.9906946 13.8251801,17.3210988 L13.3275787,17.8202201 C12.9981806,18.1506243 12.4655368,18.1506243 12.1361387,17.8202201 L3.88016039,9.6655628 C3.55777075,9.33515858 3.55777075,8.80088793 3.88716886,8.47048371 Z",id:"path-1"}),xc.createElement("rect",{id:"path-3",x:"0",y:"0",width:"18",height:"18"})),xc.createElement("g",{id:"New---Mobile-2",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},xc.createElement("g",{id:"iPhone-11-6-Copy",transform:"translate(-23.000000, -138.000000)"},xc.createElement("g",{id:"v1",transform:"translate(20.000000, 138.000000)"},xc.createElement("g",{id:"Icons/angle-left"},xc.createElement("mask",{id:"mask-2",fill:"white"},xc.createElement("use",{href:"#path-1"})),xc.createElement("use",{id:"Mask",fill:"#000000",fillRule:"nonzero",href:"#path-1"}))))))}return xc.createElement(id,{type:n,width:"12px",height:"19px",viewBox:"0 0 12 19",version:"1.1"},t)};function sd(){var e=Rc(["\n && {\n display: grid;\n grid-template-rows: minmax(150px, 1fr) min-content;\n height: ",";\n @media (orientation: landscape) {\n height: 100%;\n max-height: 100%;\n }\n }\n "]);return sd=function(){return e},e}function cd(){var e=Rc(["\n && {\n max-height: 100%;\n margin-top: ",";\n\n @media (orientation: portrait) {\n .qc-cmp2-footer {\n margin-top: ",";\n }\n }\n }\n "]);return cd=function(){return e},e}function ud(){var e=Rc(["\n && {\n .qc-cmp2-footer {\n width: 100%;\n background: ",";\n\n .qc-cmp2-summary-buttons button {\n min-width: 80px;\n }\n }\n }\n "]);return ud=function(){return e},e}function ld(){var e=Rc(["\n && {\n .qc-cmp2-footer {\n width: 50%;\n\n .qc-cmp2-summary-buttons button {\n min-width: 80px;\n }\n }\n }\n "]);return ld=function(){return e},e}function dd(){var e=Rc(["\n && {\n .qc-cmp2-consent-info {\n padding: 3% 20px 1%;\n .qc-cmp2-header-links {\n margin-top: 1%;\n margin-bottom: 1%;\n }\n\n h2 {\n margin-bottom: 2%;\n }\n\n .qc-cmp2-publisher-logo-container {\n .description {\n margin-bottom: 1%;\n }\n }\n }\n\n .qc-cmp2-scrollable-section {\n min-height: 20%;\n }\n\n .qc-cmp2-footer {\n padding: 2% 15px;\n\n & > button {\n &:first-of-type {\n margin-bottom: 1%;\n }\n }\n\n .qc-cmp2-footer-links {\n padding-top: 1%;\n }\n }\n }\n "]);return dd=function(){return e},e}function pd(){var e=Rc(["\n && {\n max-width: 1750px;\n width: 100%;\n margin-top: auto;\n display: block;\n height: auto;\n max-height: 100%;\n padding: 20px 15px 10px;\n flex-wrap: wrap;\n position: relative;\n\n &::before {\n content: '';\n position: absolute;\n height: 100%;\n width: 100vw;\n background: ",";\n top: -1px;\n left: 0;\n z-index: -1;\n }\n &::after {\n content: '';\n position: absolute;\n height: 100%;\n width: 100vw;\n background: ",";\n top: -1px;\n right: 0;\n z-index: -1;\n }\n\n .qc-cmp2-summary-section {\n align-items: flex-start;\n }\n\n .qc-cmp2-footer {\n width: 45%;\n float: ",";\n padding: ",";\n max-height: 150px;\n box-shadow: none;\n border-top: none;\n\n .qc-cmp2-summary-buttons {\n button {\n margin-bottom: 10px;\n }\n }\n }\n\n p,\n h2 {\n justify-self: flex-start;\n text-align: left;\n }\n }\n "]);return pd=function(){return e},e}function hd(){var e=Rc(["\n height: 19px;\n svg {\n width: 12px;\n }\n "]);return hd=function(){return e},e}function fd(){var e=Rc(["\n height: ",";\n "]);return fd=function(){return e},e}function vd(){var e=Rc(["\n height: ",";\n "]);return vd=function(){return e},e}function gd(){var e=Rc(["\n height: ",";\n "]);return gd=function(){return e},e}function md(){var e=Rc(["\n && {\n background: ",";\n height: 95%;\n width: 100%;\n display: grid;\n grid-template-rows: ",";\n justify-items: center;\n position: relative;\n overflow: auto;\n\n :focus-visible {\n outline: transparent 1px solid;\n }\n\n .qc-cmp2-scrollable-section {\n margin-top: 16px;\n\n ","\n\n ","\n\n ","\n\n .list-header {\n color: #0B0B0B;\n font-size: 15px;\n font-weight: 500;\n margin-top: 30px;\n padding-left: 15px;\n }\n }\n\n h2 {\n color: ",";\n font-size: 18px;\n font-weight: 600;\n }\n\n div {\n color: ",";\n font-size: 14px;\n line-height: 21px;\n\n a {\n color: ",";\n text-decoration: none;\n &:hover {\n text-decoration: underline;\n }\n }\n }\n\n p {\n color: ",";\n }\n\n\n .qc-cmp2-close {\n display: flex;\n flex-flow: revert;\n flex-direction: row-reverse;\n position: absolute;\n right: 20px;\n top: 0px;\n z-index: 1;\n }\n \n .qc-cmp2-close-tooltip {\n color: ",";\n background: ",";\n display: none;\n font-size: 14px;\n padding: 4px;\n }\n \n .qc-cmp2-close:hover .qc-cmp2-close-tooltip {\n display: block;\n }\n\n .qc-cmp2-close-icon {\n background: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M.5.5l23 23m0-23l-23 23' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E\")\n no-repeat;\n background-size: 66%;\n border: none;\n box-shadow: none;\n outline: none;\n height: 32px;\n width: 32px;\n cursor: pointer;\n &:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 3px 5px #206dc5;\n outline: 2px dotted transparent;\n outline-offset: 2px;\n }\n }\n \n .qc-cmp2-info-icon {\n background-image: url(\"data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%23FAAD14' d='M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z'%3E%3C/path%3E%3C/svg%3E%0A\");\n background-repeat: no-repeat;\n flex-shrink: 0;\n margin-right: 5px;\n height: 15px;\n width: 21px;\n }\n\n .qc-cmp2-consent-info {\n padding: 5% 20px 1%;\n text-align: center;\n\n .qc-cmp2-publisher-logo-container {\n overflow: unset;\n display: flex;\n flex-direction: column;\n\n .span-heading {\n font-size: 20px;\n font-weight: bold;\n margin: 20px 0;\n margin: 10px 0;\n }\n }\n\n .qc-cmp2-header-links {\n display: flex;\n justify-content: flex-end;\n width: 100%;\n float: right;\n\n margin-top: 16px;\n\n button {\n margin: 0 15px;\n color: ",";\n }\n }\n\n .qc-cmp2-publisher-logo-container {\n position: relative;\n text-align: center;\n\n .qc-cmp2-home-button {\n background: none;\n border: none;\n box-shadow: none;\n color: ",";\n cursor: pointer;\n display: flex;\n align-items: center;\n font-size: 14px;\n font-weight: bold;\n text-transform: uppercase;\n position: absolute;\n top: 0%;\n left: 0%;\n z-index: 1;\n svg {\n use {\n fill: ",";\n }\n }\n ","\n\n &:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 3px 5px #206dc5;\n outline: 2px dotted transparent;\n outline-offset: 2px;\n }\n\n img {\n margin: 0 5px 0 0;\n }\n }\n\n figure .logo-container {\n margin: 0 auto;\n text-align: center;\n }\n\n img {\n margin-bottom: 2%;\n }\n }\n\n h2 {\n margin-bottom: 3%;\n padding-left: ",";\n padding-right: ",";\n }\n\n div {\n text-align: left;\n font-size: 13px;\n }\n\n .description {\n max-height: 20vh;\n overflow: auto;\n }\n\n .description * {\n line-height: 1.5;\n font-size: 15px;\n text-align: justify;\n }\n }\n\n .qc-cmp2-summary-section {\n display: grid;\n justify-items: center;\n overflow: hidden;\n width: 100%;\n\n h2 {\n margin-bottom: 10px;\n }\n\n .logo-container {\n margin-bottom: 13px;\n }\n .qc-cmp2-publisher-logo-container {\n height: 100%;\n .qc-cmp2-vendor-list {\n margin-top: 10px;\n position: absolute;\n right: 10px;\n }\n }\n\n .qc-cmp2-consent-info {\n .qc-cmp2-publisher-logo-container {\n overflow: unset;\n \n }\n\n div {\n max-height: unset;\n }\n }\n\n .qc-cmp2-summary-info * {\n line-height: 1.5;\n font-size: 15px;\n text-align: justify;\n }\n\n .qc-cmp2-summary-info {\n flex: 1;\n overflow-y: auto;\n\n div {\n line-height: 1.5em;\n margin-bottom: 15px;\n padding-bottom: 30px;\n max-height: none;\n &:last-child {\n margin-bottom: ",";\n }\n }\n\n div {\n font-size: 14px;\n text-align: left;\n }\n\n .qc-cmp2-vendor-list {\n margin-top: 10px;\n position: absolute;\n right: 10px;\n }\n }\n }\n\n .qc-cmp2-scrollable-section {\n overflow-y: auto;\n flex: 1;\n width: 100%;\n max-width: 770px;\n max-height: 100%;\n\n &::-webkit-scrollbar {\n width: 0.3rem;\n visibility: hidden;\n }\n &::-webkit-scrollbar-thumb {\n background: ",";\n }\n &.loading {\n &::-webkit-scrollbar-thumb {\n background: ",";\n }\n }\n span.qc-cmp2-loading-message {\n display: none;\n position: absolute;\n margin: auto;\n left: 0;\n right: 0;\n text-align: center;\n background-color: ",";\n }\n }\n\n .qc-cmp2-privacy-policy {\n border-top: solid 1px ",";\n padding: 2.5% 60px;\n\n a {\n text-decoration: none;\n color: ",";\n }\n }\n\n .qc-cmp2-footer {\n background-color: transparent;\n border-top: solid 1px ",";\n padding: 3% 15px;\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n position: relative;\n width: 100%;\n\n &.qc-cmp2-footer-overlay {\n &::before {\n content: '';\n display: block;\n width: 100%;\n position: absolute;\n height: 50px;\n background: linear-gradient(0deg, #ffffff, rgba(255, 255, 255, 0));\n left: 0;\n top: -51px;\n pointer-events: none;\n transition: all 0.2s ease;\n opacity: 1;\n }\n\n &.qc-cmp2-footer-scrolled {\n &::before {\n height: 0;\n opacity: 0;\n }\n }\n }\n\n * {\n box-sizing: border-box;\n }\n\n [mode='link'] {\n &:not(.qc-cmp2-link-active) {\n color: ",";\n }\n }\n\n & > button {\n width: 100%;\n &:first-of-type {\n margin-bottom: 2.8%;\n }\n }\n\n .qc-cmp2-footer-links {\n display: flex;\n justify-content: space-between;\n padding-top: 10px;\n width: 100%;\n }\n\n .qc-cmp2-buttons-desktop {\n display: none;\n }\n\n .qc-cmp2-summary-buttons {\n width: 100%;\n display: flex;\n flex-direction: column;\n\n button {\n width: 100%;\n margin-bottom: 10px;\n order: 2;\n span {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n &:first-of-type {\n order: 1;\n }\n }\n }\n }\n\n @media (min-width: 768px) {\n overflow-x: hidden;\n height: ",";\n max-height: 550px;\n width: 770px;\n grid-template-rows: ",";\n\n h2 {\n font-size: 20px;\n margin-top: 10px;\n }\n\n p {\n font-size: 15px;\n }\n\n .qc-cmp2-hide-desktop {\n display: none;\n }\n\n .qc-cmp2-close {\n top: 10px;\n }\n\n .qc-cmp2-consent-info {\n padding: ",";\n width: 100%;\n\n div {\n margin-bottom: 0;\n max-height: none;\n font-size: 14px;\n }\n\n .qc-cmp2-publisher-logo-container {\n .qc-cmp2-home-button {\n top: 10px;\n }\n \n .description {\n line-height: 1.5;\n overflow: auto;\n max-height: 20vh;\n border: 1px solid #CACACA;\n padding: 16px;\n margin-top: 8px;\n /* Animation is added since there is an issue in Safari browser.\n The description div is shrinked initially, but as soon as the window resizes, or dev tools is open,\n it comes back to normal width. Hence, triggering the css reflow. \n */\n animation: reflow 0.1s forwards; \n\n @keyframes reflow {\n from {\n opacity: 1;\n }\n to {\n opacity: 0.99; /* Just slightly less than 1 */\n }\n }\n \n\n &::-webkit-scrollbar {\n width: 0.3rem;\n visibility: hidden;\n }\n &::-webkit-scrollbar-thumb {\n background: ",";\n }\n }\n\n img {\n margin-bottom: 0;\n }\n h2 {\n margin-bottom: 10px;\n }\n .qc-cmp2-vendor-list {\n margin-top: 5px;\n float: right;\n }\n }\n }\n\n .qc-cmp2-scrollable-section {\n padding: 0 30px;\n }\n\n .qc-cmp2-footer {\n padding: 13px 30px;\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n box-shadow: 0 -2px 4px 0 rgba(0, 0, 0, 0.1);\n\n .qc-cmp2-footer-links {\n padding-top: 0;\n width: auto;\n button {\n &span {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n &:not(.qc-cmp2-link-active) {\n color: ",";\n }\n margin-left: 15px;\n &:first-of-type {\n margin-left: 0;\n }\n }\n }\n\n .qc-cmp2-buttons-desktop {\n display: inline-flex;\n margin-left: 50px;\n button {\n margin: 0;\n flex: 1;\n font-size: 11px;\n }\n\n button {\n &:first-of-type {\n margin-right: 1em;\n }\n }\n }\n\n .qc-cmp2-summary-buttons {\n flex-direction: row;\n justify-content: space-between;\n padding: 5px 0;\n\n button {\n margin-bottom: 0;\n margin-right: 15px;\n }\n }\n\n &.qc-cmp2-footer-overlay {\n &::before {\n display: none;\n }\n }\n }\n\n ","\n }\n \n @media (max-width: 767px) {\n ","\n }\n\n @media (min-height: 800px) and (min-width: 768px) {\n .qc-cmp2-consent-info {\n .qc-cmp2-publisher-logo-container {\n .description {\n max-height: 150px;\n }\n }\n }\n }\n\n @media (max-width: 1281px) and (min-width: 992px) {\n ","\n }\n @media (max-width: 992px) and (min-width: 768px) {\n ","\n }\n @media (max-width: 767px) {\n ","\n }\n @media only screen and (max-width: 767px) and (min-width: 361px) and (min-height: 300px) {\n ","\n }\n\n @media only screen and (max-width: 360px) {\n /* support for iPhone 5/SE and Galaxy S5 */\n display: ",";\n height: 100%;\n max-height: 100%;\n\n p {\n font-size: 13px;\n }\n\n .qc-cmp2-consent-info {\n padding-top: 10px;\n\n img {\n margin-bottom: 0;\n }\n\n h2 {\n margin-bottom: 3px;\n }\n\n .description {\n margin-bottom: 5px;\n max-height: 15vh;\n }\n }\n\n .qc-cmp2-scrollable-section {\n max-height: 42%;\n }\n\n .qc-cmp2-privacy-policy {\n padding: 8px 25px;\n\n p {\n text-align: center;\n }\n }\n \n }\n .privacy-logo-text {\n display: flex;\n align-items: center;\n justify-content: start;\n }\n }\n"]);return md=function(){return e},e}nl.div(md(),(function(e){return e.uxBackgroundColor}),(function(e){return e.page!==gt.INIT_PAGE?"min-content minmax(100px, 3fr) min-content":"minmax(150px, 1fr)"}),(function(e){return e.isIE&&e.page===gt.PURPOSES_PAGE&&rl(gd(),e.usesLogo?"192px":"262px")}),(function(e){return e.isIE&&e.page===gt.VENDORS_PAGE&&rl(vd(),e.usesLogo?"282px":"342px")}),(function(e){return e.isIE&&e.page!==gt.PURPOSES_PAGE&&e.page!==gt.VENDORS_PAGE&&rl(fd(),e.usesLogo?"262px":"332px")}),(function(e){return e.uxFontColor}),(function(e){return e.uxFontColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxFontColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxBackgroundColor}),(function(e){return e.uxLinkColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.isIE&&rl(hd())}),(function(e){return e.isBanner?"0":"60px"}),(function(e){return e.isBanner?"0":"45px"}),(function(e){return e.isBanner?"0":"15px"}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxBackgroundColor}),(function(e){return e.uxBackgroundColor}),(function(e){return e.borderColor}),(function(e){return e.uxPrimaryButtonTextColor}),(function(e){return e.borderColor}),(function(e){return e.uxLinkColor}),(function(e){return e.page===gt.INIT_PAGE?"auto":"inherit"}),(function(e){return e.page!==gt.INIT_PAGE?"min-content minmax(100px, 1fr) min-content":"minmax(150px, 1fr) min-content"}),(function(e){return e.isBanner?"0":"5px 30px"}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxLinkColor}),(function(e){return(!e.isPopup||e.isAmp)&&e.page===gt.INIT_PAGE&&rl(pd(),e.uxBackgroundColor,e.uxBackgroundColor,e.isBanner?"right":"none",e.isBanner?"0":"20px 0 0")}),(function(e){return e.page!==gt.INIT_PAGE&&rl(dd())}),(function(e){return(!e.isPopup||e.isAmp)&&e.page===gt.INIT_PAGE&&rl(ld())}),(function(e){return(!e.isPopup||e.isAmp)&&e.page===gt.INIT_PAGE&&rl(ud(),e.uxBackgroundColor)}),(function(e){return e.page===gt.INIT_PAGE&&rl(cd(),e.isBanner?"auto":"0",e.isBanner?"0":"2%")}),(function(e){return e.page===gt.INIT_PAGE&&rl(sd(),e.isAmp?"100%":"70%")}),(function(e){return e.page!==gt.INIT_PAGE?"block":"grid"}));function Ed(){var e=Rc(["\n height: 34px;\n\n svg {\n height: 22px;\n width: 14px;\n }\n "]);return Ed=function(){return e},e}function Sd(){var e=Rc(["\n && {\n list-style: none;\n margin: 0;\n overflow: hidden;\n padding: 0;\n width: 100%;\n\n &:first-of-type {\n .qc-cmp2-list-header {\n margin: 0;\n }\n }\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n .qc-cmp2-list-header {\n color: ",";\n font-size: 12px;\n font-weight: 900;\n text-transform: uppercase;\n margin-top: 20px;\n padding-left: 20px;\n }\n\n .qc-cmp2-list-item {\n display: flex;\n flex-wrap: wrap;\n align-items: center;\n justify-content: space-between;\n padding: 10px 20px;\n font-size: 14px;\n font-weight: 400;\n\n &.qc-cmp2-expanded {\n background: ",";\n z-index: 10;\n }\n\n &:only-of-type {\n border-bottom: 1px solid ",";\n }\n\n &:nth-of-type(even) {\n border-top: 1px solid ",";\n border-bottom: 1px solid ",";\n }\n &:nth-last-of-type(1) {\n border-bottom: 1px solid ",";\n }\n\n .qc-cmp2-list-item-header {\n width: 100%;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: none;\n border: none;\n outline: none;\n box-shadow: none;\n text-align: left;\n padding: 0;\n min-height: 21px;\n cursor: pointer;\n color: ",";\n\n .titles-header {\n align-items: center;\n display: flex;\n justify-content: space-between;\n list-style: none;\n margin-right: 10px;\n width: 100%;\n }\n\n &:focus {\n padding: -20px;\n outline-style: solid;\n outline-color: #D8D8D8;\n }\n }\n\n &.qc-cmp2-list-item-legitimate {\n .qc-cmp2-list-item-title {\n width: 75%;\n }\n .qc-cmp2-toggle-switch {\n order: 2;\n }\n }\n\n .qc-cmp2-list-item-title {\n list-style-type: none;\n margin: 0;\n padding: 0;\n width: 80%;\n font-size: 14px;\n cursor: pointer;\n color: ",";\n\n strong {\n color: ",";\n }\n }\n\n li.qc-cmp2-list-item-status {\n font-size: 15px;\n }\n\n @media (max-width: 768px) {\n li.qc-cmp2-list-item-status {\n font-size: 14px;\n } \n }\n\n .qc-cmp2-list-item-status {\n color: ",";\n margin: 0 10px 0 0;\n padding: 0;\n cursor: pointer;\n word-wrap: normal;\n\n &.qc-cmp-long-label {\n font-size: 9px;\n line-height: 1em;\n }\n }\n\n img {\n transition: transform 0.2s ease;\n max-width: 12px;\n }\n\n &.qc-cmp2-toggle-switch {\n pointer-events: fill;\n padding: 0 20px;\n }\n\n .qc-cmp2-toggle {\n &:not(:last-child) {\n margin-right: 15px;\n }\n }\n\n .qc-cmp2-expandable-list {\n list-style: none;\n display: flex;\n justify-content: space-between;\n width: 100%;\n margin: 0;\n padding: 0;\n max-height: 0;\n opacity: 0;\n transition: opacity 0.2s ease, max-height 0.3s ease, padding 0.3s ease,\n margin 0.3s ease;\n pointer-events: none;\n\n &.qc-wrap {\n flex-wrap: wrap;\n\n .qc-cmp2-expandable-info {\n order: 1;\n\n .qc-cmp2-expanded-list {\n list-style-type: none;\n margin-left: 20px;\n\n .retention-period {\n color: #333;\n display: inline-block;\n background: #216dc51f;\n padding: 2px;\n text-align: center;\n margin-left: 8px;\n font-size: 12px;\n }\n }\n }\n }\n\n p,\n li {\n font-size: 14px;\n line-height: 18px;\n font-weight: 400;\n color: ",";\n margin: 0;\n padding: 0;\n text-transform: none;\n\n a {\n color: ",";\n font-weight: 500;\n word-break: break-all;\n }\n\n &:not(:first-of-type) {\n strong {\n margin-top: 8px;\n display: block;\n }\n }\n }\n .qc-cmp2-expandable-info {\n width: 85%;\n\n .qc-cmp2-expanded-list {\n list-style-type: none;\n margin-left: 20px;\n margin-top: 5px;\n margin-bottom: 5px;\n\n .retention-period {\n color: #333;\n display: inline-block;\n background: #216dc51f;\n padding: 2px;\n text-align: center;\n margin-left: 8px;\n font-size: 12px;\n }\n }\n\n .qc-cmp2-expandable-legal {\n .qc-cmp2-toggle-legal-button {\n text-transform: capitalize;\n margin-top: 10px;\n align-items: center;\n ","\n }\n\n .qc-cmp2-legal-description {\n display: none;\n padding-left: 15px;\n }\n\n &.qc-cmp2-expanded {\n .qc-cmp2-legal-description {\n margin-top: 10px;\n display: block;\n\n &.qc-cmp2-non-iab {\n opacity: 0.65;\n }\n }\n }\n }\n }\n }\n\n &.qc-cmp2-expanded {\n .qc-cmp2-expandable-list {\n max-height: 150000px;\n opacity: 1;\n pointer-events: fill;\n margin: 15px 0;\n }\n }\n }\n\n @media (min-width: 768px) {\n .qc-cmp2-list-item {\n padding: 15px;\n font-size: 14px;\n\n &.qc-cmp2-list-item-legitimate {\n .qc-cmp2-list-item-title {\n width: 82%;\n }\n }\n\n .qc-cmp2-list-item-title {\n width: 90%;\n }\n\n .qc-cmp2-expandable-list {\n &.qc-wrap {\n .qc-cmp2-expandable-info {\n order: 0;\n\n .qc-cmp2-expanded-list {\n list-style-type: none;\n margin-left: 20px;\n }\n\n &.qc-w75 {\n width: 75%;\n }\n }\n }\n }\n\n .qc-cmp2-list-item-status {\n &.qc-cmp-long-label {\n font-size: 10px;\n }\n }\n }\n\n .qc-cmp2-list-header {\n padding-left: 0;\n }\n }\n @media (max-width: 768px) {\n .qc-cmp2-list-item {\n &.qc-cmp2-list-item-legitimate {\n .qc-cmp2-expandable-list {\n flex-wrap: no-wrap;\n .qc-cmp2-toggle-switch {\n order: 1;\n width: 100%;\n button{\n float:right;\n }\n }\n .qc-cmp2-expandable-info {\n width:100%\n order: 2;\n\n .qc-cmp2-expanded-list {\n list-style-type: none;\n margin-left: 20px;\n }\n }\n }\n }\n }\n }\n }\n"]);return Sd=function(){return e},e}var yd=nl.ul(Sd(),(function(e){return e.subHeaderColor}),(function(e){return e.uxBackgroundColor}),(function(e){return e.borderColor}),(function(e){return e.borderColor}),(function(e){return e.borderColor}),(function(e){return e.borderColor}),(function(e){return e.lightTextColor}),(function(e){return e.secondaryTextColor}),(function(e){return e.secondaryTextColor}),(function(e){return e.lightTextColor}),(function(e){return e.secondaryTextColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.isIE&&rl(Ed())}));function _d(){var e=Rc(["\n background: ",";\n border-color: ",";\n min-height: 18px;\n border-radius: 18px;\n .toggle {\n right: 0;\n }\n p.text {\n &.on {\n display: ",";\n }\n &.off {\n display: none;\n }\n }\n\n @media (min-width: 768px) {\n min-height: 25px;\n border-radius: 25px;\n }\n "]);return _d=function(){return e},e}function bd(){var e=Rc(["\n &&&& {\n width: 30px;\n height: 18px;\n border-radius: 18px;\n padding: 0;\n align-items: center;\n margin: 0 0 0 auto;\n background: #a6a9ae;\n position: relative;\n border: 1px solid #a6a9ae;\n box-sizing: content-box;\n border-radius: 18px;\n min-height: 18px;\n\n .toggle {\n width: ",";\n height: ",";\n border-radius: 50%;\n background: white;\n position: absolute;\n top: 0;\n right: 12px;\n }\n\n p.text {\n font-size: 9px;\n font-weight: 700;\n text-transform: capitalize;\n margin-top: 20px;\n text-align: center;\n display: ",";\n &.on {\n color: ",";\n display: none;\n }\n &.off {\n color: ",";\n }\n }\n @media (min-width: 768px) {\n width: 50px;\n height: 25px;\n min-height: 25px;\n border-radius: 25px;\n p.text {\n margin-top: 30px;\n text-transform: uppercase;\n }\n\n .toggle {\n width: ",";\n height: ",";\n right: 25px;\n }\n }\n\n ",";\n }\n"]);return bd=function(){return e},e}var Td=nl.button(bd(),"18px","18px",(function(e){return e.showLabel?"block":"none"}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.secondaryTextColor}),"25px","25px",(function(e){var t=e.switchState,n=e.uxToogleActiveColor,r=e.showLabel;return t&&rl(_d(),n,n,r?"block":"none")})),Cd=function(e){var t=e.on,n=void 0!==t&&t,r=e.className,o=e.onClick,i=(e.parentLabel,e.showLabel),a=void 0!==i&&i,s=e.disabled,c=void 0!==s&&s,u=Vc(e,["on","className","onClick","parentLabel","showLabel","disabled"]);return xc.createElement(Td,Object.assign({tabIndex:0,role:"switch","aria-checked":n,switchState:n,onClick:o,className:r&&r,showLabel:a,disabled:c,uxPrimaryButtonColor:Dp.uxPrimaryButtonColor,secondaryTextColor:Dp.secondaryTextColor,uxToogleActiveColor:Dp.uxToogleActiveColor},u),xc.createElement("div",{className:"toggle"}),xc.createElement("p",{className:"text off","aria-label":"Toggle off"},xp.coreUiLabels.offLabel),xc.createElement("p",{className:"text on","aria-label":"Toggle on"},xp.coreUiLabels.onLabel))},Od=function(e){var t=e.urls,n=e.label,r=e.bolded,o=e.language,i=e.legitimeInterest,a=function(e,t,n){var o=e.split(";");return xc.createElement("li",null,r?xc.createElement("strong",{style:n},"".concat(t,": ")):"".concat(t,": "),o.length>1?xc.createElement("ul",{className:"qc-cmp2-expanded-list"},o.map((function(e){return xc.createElement("li",null,"- ",xc.createElement("a",{href:e,target:"_blank","aria-label":"Privacy policy "+e+" opens in new window",rel:"noopener noreferrer"},e))}))):xc.createElement("a",{href:e,target:"_blank","aria-label":"Privacy policy "+e+" opens in new window",rel:"noopener noreferrer"},e))};if("string"===typeof t)return xc.createElement(xc.Fragment,null,a(t,n),i&&i.url&&xc.createElement(xc.Fragment,null,a(i.url,i.label,{display:"inline-block"})));var s=t.filter((function(e){return e.langId===o}))[0];return s||(s=t.filter((function(e){return"en"===e.langId}))[0]),s?xc.createElement(xc.Fragment,null,a(s.privacy,n),i&&s.legIntClaim&&xc.createElement(xc.Fragment,null,a(s.legIntClaim,i.label))):null};Od.defaultProps={bolded:!1};var Id=Od,wd=function(e){var t=e.seconds,n=e.label;return xc.createElement("li",null,"".concat(n,": ").concat(Ll(t)))};function Nd(){var e=Rc(["\n &&& {\n ul.items {\n list-style: none;\n padding-left: 15px;\n\n li {\n padding-bottom: 15px;\n }\n }\n }\n"]);return Nd=function(){return e},e}function Ad(){var e=Rc(["\n &&& {\n display: flex;\n justify-content: space-between;\n padding: 5px 0;\n width: 50%;\n }\n"]);return Ad=function(){return e},e}var kd=nl.div(Ad()),Pd=nl.div(Nd()),Dd=n(20),xd=n.n(Dd),Vd=function(e){var t=e.label,n=e.url,r=qr(Hs(!1),2),o=r[0],i=r[1],a=qr(Hs([]),2),s=a[0],c=a[1],u=qr(Hs(!1),2),l=u[0],d=u[1],p=qr(Hs(""),2),h=p[0],f=p[1],v=qr(Hs([]),2),g=v[0],m=v[1];Ws((function(){o&&!l&&xd.a.get(n).then((function(e){return e.data})).then((function(e){e.disclosures&&c(e.disclosures)})).catch((function(e){c([]),f("Error: cannot load vendor file.")})).finally((function(){return d(!0)}))}),[s.length,o,l,n]),Ws((function(){Vp.then((function(e){return m(e.purposes)}))}),[]);return xc.createElement("li",{className:"".concat(o?"expanded":""),onClick:function(){return i(!o)}},xc.createElement(kd,null,t," ",xc.createElement(ad,{type:"inner"})),o&&xc.createElement(Pd,null,s.length>0&&xc.createElement("ul",{className:"items"},s.map((function(e,t){return xc.createElement("li",{key:t},Object.keys(e).map((function(t,n){return xc.createElement("p",{key:n},function(e,t){var n,r="string"===typeof e?e.slice(0,1).toUpperCase()+e.slice(1):"";return"purposes"==e?xc.createElement(xc.Fragment,null,r,":"," ",xc.createElement("ul",{className:"qc-cmp2-expanded-list"},null===(n=t[e])||void 0===n?void 0:n.map((function(e){var t;return xc.createElement("li",{key:"purposes[p]?.name",style:{paddingBottom:"0"}},"- ",null===(t=g[e])||void 0===t?void 0:t.name)})))):"maxAgeSeconds"===e?xc.createElement(xc.Fragment,null,"Max Age Period: ",Ll(t[e])):"cookieRefresh"===e?xc.createElement(xc.Fragment,null,"Cookie Refresh: ",t[e]?"True":"False"):xc.createElement(xc.Fragment,null,r,": ",t[e])}(t,e))})))}))),h&&xc.createElement("span",null,"\xa0\xa0",h)))},Rd=function(e){var t=e.label,n=e.days,r=e.coreUiLabels;return xc.createElement("li",null,"".concat(t,": ").concat(n," ").concat(r.daysLabel))},Ld=function(e){var t=e.cookieMaxAgeSeconds;return null!==t&&void 0!==t&&-100!==t},Ud=function(e){var t;if(!(null===e||void 0===e||null===(t=e.dataRetention)||void 0===t?void 0:t.stdRetention))return!1;var n=e.dataRetention;return null!==n&&void 0!==n&&-100!==n},Md=St.LEGITIMATE_VENDORS,Gd=St.LEGITIMATE_PURPOSES,Fd=St.PURPOSES,qd=St.FEATURES,Bd=St.SPECIAL_PURPOSES,jd=St.SPECIAL_FEATURES,Hd=St.DATA_DECLARATION,zd=function(e,t){return e?t.legitimateScreenObject:t.legitimateScreenAccept},Wd=function(e){var t=e.cmpUI,n=e.element,r=e.coreUiLabels,o=e.togglesHidden,i=e.dataType,a=e.populateVendorInfo,s=e.setStatus,c=e.status,u=e.isNonIabConsent;return xc.createElement("ul",{className:"qc-cmp2-expandable-list"},xc.createElement("div",{className:"qc-cmp2-expandable-info"},n.policyUrl&&xc.createElement(Id,{urls:n.policyUrl,label:r.privacyPolicyLabel,legitimeInterest:{label:r.legitimateInterestPrivacyLink,url:n.legitimateInterestClaimUrl},bolded:!0}),n.description&&xc.createElement("li",null,xc.createElement("strong",null,r.descriptionLabel),xc.createElement("p",null,n.description)),n.purposes&&n.purposes.length>0&&u&&a(n.purposes,Fd,r),n.legIntPurposes&&n.legIntPurposes.length>0&&!u&&a(n.legIntPurposes,Gd,r)),!o&&xc.createElement("div",{className:"qc-cmp2-toggle-switch"},xc.createElement(Cd,{on:c,parentLabel:n.name,className:"qc-cmp2-toggle",onClick:function(e){e&&e.preventDefault(),s(!c),t.handleConsent(n.id,i)}})))},Yd=function(e){var t,n=e.cmpUI,r=e.element,o=e.coreUiLabels,i=e.togglesHidden,a=e.dataType,s=e.populateVendorInfo,c=e.setStatus,u=e.status,l=e.language;return xc.createElement("ul",{className:"qc-cmp2-expandable-list"},xc.createElement("div",{className:"qc-cmp2-expandable-info"},3===n.getGVLVersion()?r.urls&&r.urls.length&&xc.createElement(Id,{urls:r.urls,label:o.privacyPolicyLabel,legitimeInterest:{label:o.legitimateInterestPrivacyLink},language:l}):r.policyUrl&&xc.createElement(Id,{urls:r.policyUrl,label:o.privacyPolicyLabel}),Ld(r)&&xc.createElement(wd,{seconds:r.cookieMaxAgeSeconds,label:o.cookieMaxAgeLabel}),Ud(r)&&xc.createElement(Rd,{days:null===r||void 0===r||null===(t=r.dataRetention)||void 0===t?void 0:t.stdRetention,label:null===o||void 0===o?void 0:o.dataRetentionDays,coreUiLabels:o}),xc.createElement("li",null," ",function(e,t){var n=e.usesNonCookieAccess,r=n?t.yesLabel:t.noLabel;return"".concat(t.cookieAccessLabel,": ").concat(r)}(r,o)," "),void 0!==r.deviceStorageDisclosureUrl&&xc.createElement(Vd,{url:r.deviceStorageDisclosureUrl,label:o.storageDisclosureLabel}),r.purposes&&r.purposes.length>0&&s(r.purposes,Fd,o,null===r||void 0===r?void 0:r.dataRetention),r.legIntPurposes&&r.legIntPurposes.length>0&&s(r.legIntPurposes,Gd,o,null===r||void 0===r?void 0:r.dataRetention),r.specialPurposes&&r.specialPurposes.length>0&&s(r.specialPurposes,Bd,o,null===r||void 0===r?void 0:r.dataRetention),r.features&&r.features.length>0&&s(r.features,qd,o),r.specialFeatures&&r.specialFeatures.length>0&&s(r.specialFeatures,jd,o),r.dataDeclaration&&r.dataDeclaration.length>0&&s(r.dataDeclaration,Hd,o)),!i&&xc.createElement("div",{className:"qc-cmp2-toggle-switch"},xc.createElement(Cd,{on:u,parentLabel:r.name,className:"qc-cmp2-toggle",onClick:function(e){e.preventDefault(),c(!u),n.handleConsent(r.id,a)}})))},Kd=function(e){var t,n=e.cmpUI,r=e.element,o=e.coreUiLabels,i=e.dataType,a=e.populateVendorInfo,s=e.setStatus,c=e.status;return xc.createElement("ul",{className:"qc-cmp2-expandable-list qc-wrap"},xc.createElement("div",{className:"qc-cmp2-expandable-info qc-w75"},3===n.getGVLVersion()?r.urls&&r.urls.length&&xc.createElement(Id,{urls:r.urls,label:o.privacyPolicyLabel,legitimeInterest:{label:o.legitimateInterestLink.toLowerCase()}}):r.policyUrl&&xc.createElement(Id,{urls:r.policyUrl,label:o.privacyPolicyLabel}),Ld(r)&&xc.createElement(wd,{seconds:r.cookieMaxAgeSeconds,label:o.cookieMaxAgeLabel}),Ud(r)&&xc.createElement(Rd,{days:null===r||void 0===r||null===(t=r.dataRetention)||void 0===t?void 0:t.stdRetention,label:null===o||void 0===o?void 0:o.dataRetentionDays,coreUiLabels:o}),void 0!==r.deviceStorageDisclosureUrl&&xc.createElement(Vd,{url:r.deviceStorageDisclosureUrl,label:o.storageDisclosureLabel}),r.legIntPurposes&&r.legIntPurposes.length>0&&a(r.legIntPurposes,Md,o),r.dataDeclaration&&r.dataDeclaration.length>0&&a(r.dataDeclaration,Hd,o)),xc.createElement("div",{className:"qc-cmp2-toggle-switch qc-cmp2-no-margin"},xc.createElement(zp,{onClick:function(e){e.preventDefault(),s(!c),n.handleConsent(r.id,i)},mode:"link",size:"small",isLong:o.legitimateScreenAccept.length>19},zd(c,o))))},$d=function(e){var t=e.cmpUI,n=e.element,r=e.coreUiLabels,o=e.togglesHidden,i=e.dataType,a=e.setStatus,s=e.status;return xc.createElement("ul",{className:"qc-cmp2-expandable-list"},xc.createElement("div",{className:"qc-cmp2-expandable-info"},n.policyUrl&&xc.createElement(Id,{urls:n.policyUrl,label:r.privacyPolicyLabel,bolded:!0}),n.description&&xc.createElement("li",null,xc.createElement("strong",null,r.descriptionLabel),xc.createElement("p",null,n.description))),!o&&xc.createElement("div",{className:"qc-cmp2-toggle-switch"},xc.createElement(Cd,{on:s,parentLabel:n.name,className:"qc-cmp2-toggle",onClick:function(e){e.preventDefault(),a(!s),t.handleConsent(n.id,i)}})))},Jd=function(e){var t=e.cmpUI,n=e.element,r=e.coreUiLabels,o=e.togglesHidden,i=e.dataType,a=e.legitimate,s=e.handleClick,c=e.toggleExpandedLegal,u=e.premiumUiLabels,l=e.setStatus,d=e.status,p=qr(Hs(!1),2),h=p[0],f=p[1];return xc.createElement("ul",{className:"qc-cmp2-expandable-list ".concat(a?"qc-wrap":"")},xc.createElement("li",{className:"qc-cmp2-expandable-info ".concat(a?"qc-w75":"")},xc.createElement("p",null,n.description),n.illustrations&&n.illustrations.length>0?xc.createElement(Qd,{illustrations:n.illustrations,illustrationsLabel:r.illustrations}):xc.createElement(xc.Fragment,null),n.descriptionLegal&&xc.createElement("div",{className:"qc-cmp2-expandable-legal"},xc.createElement(zp,{mode:"link",size:"small",className:"qc-cmp2-toggle-legal-button","aria-live":"polite","aria-label":r.legalDescription,"aria-expanded":"false",onClick:function(e){e.preventDefault(),e.currentTarget.setAttribute("aria-expanded",!e.currentTarget.getAttribute("ariaExpanded")),s(e,"legalDescription-".concat(i,"-").concat(n.id)),c()}},xc.createElement(ad,{type:"fill"}),r.legalDescription),xc.createElement("p",{className:"qc-cmp2-legal-description"},n.descriptionLegal)),n.vendors&&xc.createElement("div",{className:"qc-cmp2-expandable-legal"},xc.createElement(zp,{mode:"link",size:"small",className:"qc-cmp2-toggle-legal-button","aria-label":r.showPartners,"aria-live":"polite","aria-expanded":"false",onClick:function(e){e.preventDefault(),e.currentTarget.setAttribute("aria-expanded",!e.currentTarget.getAttribute("ariaExpanded")),s(e,"vendors-".concat(i,"-").concat(n.id)),c(),f(!h)}},xc.createElement(ad,{type:"fill"}),r.showPartners),h&&xc.createElement(xc.Fragment,null,n.vendors.map((function(e){return xc.createElement("p",{key:e.id,className:"qc-cmp2-legal-description"},"- ".concat(e.name))})),!(!n.nonIabVendors||!n.nonIabVendors.length)&&xc.createElement(xc.Fragment,null,n.nonIabVendors.map((function(e){return xc.createElement("p",{key:e.name,className:"qc-cmp2-legal-description"},"- ".concat(e.name),"*")})),xc.createElement("p",{className:"qc-cmp2-legal-description qc-cmp2-non-iab"},"* ",u.nonIabVendorsLabel))))),a?xc.createElement("div",{className:"qc-cmp2-toggle-switch"},xc.createElement(zp,{onClick:function(e){e.preventDefault(),l(!d),t.handleConsent(n.id,i)},mode:"link",size:"small",isLong:r.legitimateScreenAccept.length>19},zd(d,r))):!o&&xc.createElement("div",{className:"qc-cmp2-toggle-switch"},xc.createElement(Cd,{on:d,parentLabel:n.name,className:"qc-cmp2-toggle",onClick:function(e){e.preventDefault(),l(!d),t.handleConsent(n.id,i)}})))};function Qd(e){var t=e.illustrations,n=e.illustrationsLabel;return xc.createElement("div",null,xc.createElement("strong",{style:{color:"#4d545d"}},n),xc.createElement("ul",null,t.map((function(e,t){return xc.createElement("li",{key:t},e)}))))}var Zd=function(e){var t,n,r,o,i=e.coreUiLabels,a=e.premiumUiLabels,s=e.dataType,c=e.legitimate,u=e.togglesHidden,l=e.expandable,d=e.handleClick,p=e.cmpUI,h=e.item,f=e.populateVendorInfo,v=e.isNonIabConsent,g=e.language,m=qr(Hs(!1),2),E=m[0],S=m[1],y=qr(Hs(!1),2),_=y[0],b=y[1],T=qr(Hs(h.status),2),C=T[0],O=T[1],I=function(){b(!_)},w="".concat(s,"-id:").concat(h.id);Ws((function(){O(h.status)}),[h.status]);var N=(null!==(t=null===(n=h.vendors)||void 0===n?void 0:n.length)&&void 0!==t?t:0)+(null!==(r=null===(o=h.nonIabVendors)||void 0===o?void 0:o.length)&&void 0!==r?r:0),A=h.vendors?"(".concat(N," ").concat(i.purposeScreenVendorLink.toLowerCase(),")"):"";return xc.createElement("li",{id:w,className:"qc-cmp2-list-item ".concat(E?"qc-cmp2-expanded":""," ").concat(c?"qc-cmp2-list-item-legitimate":"")},xc.createElement("button",{role:"listitem",className:"qc-cmp2-list-item-header",onClick:function(e){return function(e,t){S(!E),d(e,t)}(e,w)},"aria-label":h.name,"aria-live":"polite"},xc.createElement("div",{className:"titles-header"},xc.createElement("p",{className:"qc-cmp2-list-item-title"},"".concat(h.name," ").concat(A)),c?xc.createElement("p",{className:"qc-cmp2-list-item-status ".concat(i.legitimateScreenObjected.length>12?"qc-cmp-long-label":"")},C?"":i.legitimateScreenObjected):!u&&xc.createElement("p",{className:"qc-cmp2-list-item-status"},C?i.onLabel:i.offLabel)),l&&xc.createElement(ad,{type:"expand"})),l&&E&&function(e){var t={cmpUI:p,element:e,coreUiLabels:i,togglesHidden:u,dataType:s,populateVendorInfo:f,setStatus:O,status:C,isNonIabConsent:v,language:g};switch(s){case mt.NON_IAB:return xc.createElement(Wd,t);case mt.VENDORS:return xc.createElement(Yd,t);case mt.LEGITIMATE_VENDORS:return xc.createElement(Kd,t);case mt.GOOGLE:return xc.createElement($d,t);default:return xc.createElement(Jd,Object.assign({},t,{legitimate:c,handleClick:d,toggleExpandedLegal:I,premiumUiLabels:a}))}}(h))},Xd=St.LEGITIMATE_VENDORS,ep=St.LEGITIMATE_PURPOSES,tp=St.PURPOSES,np=St.FEATURES,rp=St.SPECIAL_PURPOSES,op=St.SPECIAL_FEATURES,ip=St.FLEXIBLE_PURPOSES,ap=St.UNFILTERED_FEATURES,sp=St.UNFILTERED_PURPOSES,cp=St.UNFILTERED_SPECIAL_FEATURES,up=St.UNFILTERED_SPECIAL_PURPOSES,lp=St.DATA_DECLARATION;xc.memo((function(e){var t,n=e.className,r=e.coreUiLabels,o=e.data,a=e.dataType,s=e.togglesHidden,c=e.expandable,u=e.legitimate,l=e.premiumUiLabels,d=e.nonIabData,p=e.handleClick,h=e.onFullyRendered,f=e.triggerReRender,v=e.setShowLoader,g=e.isNonIabConsent,m=e.language,E=Object.keys(o||{}).length,S=E?function(e,t,n,r){var o=[];if(n===t.NON_IAB&&r&&r.vendors.length)return r.vendors.map((function(e){var t;return i(i({},e),{},{status:"undefined"!==typeof e.status?e.status:!1!==(null===xp||void 0===xp||null===(t=xp.coreConfig)||void 0===t?void 0:t.legitimateInterestOptIn)})}));if(e)switch(n){case t.VENDORS:return Rl(Object.values(e.vendors),"id");case t.LEGITIMATE_VENDORS:return Rl(Object.values(e.legitimateVendors),"id");case t.GOOGLE:return Rl(e,"id");default:Object.keys(e).length&&function(){var i=r&&r.vendors,a="purposes";n!==t.LEGITIMATE_VENDORS&&n!==t.LEGITIMATE_PURPOSES||(a="legIntPurposes");var s=function(t){var n=e[t],r=(n.descriptionLegal||"").replace(/(:\s\*)|(:\*)/gi,":").replace(/(\.\s\*)|(\.\*)|(\s\*)/gi,"."),s={name:n.name,status:n.status||!1,id:n.id,description:n.description,descriptionLegal:r,vendors:Rl(n.vendors,"id"),nonIabVendors:i&&i.length&&i.filter((function(e){return e[a]&&e[a].includes(n.id)})),illustrations:(null===n||void 0===n?void 0:n.illustrations)||[],dataRetention:(null===n||void 0===n?void 0:n.dataRetention)||[]};o.push(s)};for(var c in e)s(c)}()}return o}(o,mt,a,d):[],y=qr(Hs(!1),2),_=y[0],b=y[1],T=qr(Hs(S.slice(0,20)),2),C=T[0],O=T[1],I=function(e,t,n,r){return function(e,t,n,r,o){var i="",a="";switch(t){case tp:i=n.purposesLabel,a=sp;break;case ep:i=n.legitimateInterestPurposesLabel,a=sp;break;case rp:i=n.specialPurposesLabel,a=up;break;case ip:i=n.flexiblePurposesLabel,a=sp;break;case np:i=n.featuresLabel,a=ap;break;case op:i=n.specialFeaturesLabel,a=cp;break;case lp:i=n.vendorDataCategories,a="dataCategories";break;case Xd:i=n.legitimateInterestPurposesLabel,a=sp}var s=null===e||void 0===e?void 0:e.map((function(e,t){var i,s,c,u,l,d;return a===sp?xc.createElement("li",{key:"".concat(a).concat(e),title:r?null===(i=r[a][e])||void 0===i?void 0:i.description:""},"- ",r?null===(s=r[a][e])||void 0===s?void 0:s.name:t,o?xc.createElement("span",{className:"retention-period"},xc.createElement(xc.Fragment,null,o&&(null===o||void 0===o?void 0:o.purposes)&&o.purposes[e]?"Retention period: ".concat(o.purposes[e]," ").concat(n.daysLabel):"Retention period: ".concat(null===o||void 0===o?void 0:o.stdRetention," ").concat(n.daysLabel))):xc.createElement(xc.Fragment,null)):a===up?xc.createElement("li",{key:"".concat(a).concat(e),title:r?null===(c=r[a][e])||void 0===c?void 0:c.description:""},"- ",r?null===(u=r[a][e])||void 0===u?void 0:u.name:t,o?xc.createElement("span",{className:"retention-period"},xc.createElement(xc.Fragment,null,o&&(null===o||void 0===o?void 0:o.specialPurposes)&&o.specialPurposes[e]?"Retention period: ".concat(o.specialPurposes[e]," ").concat(n.daysLabel):"Retention period: ".concat(null===o||void 0===o?void 0:o.stdRetention," ").concat(n.daysLabel))):xc.createElement(xc.Fragment,null)):xc.createElement("li",{key:"".concat(a).concat(e),title:r?null===(l=r[a][e])||void 0===l?void 0:l.description:""},xc.createElement("span",{style:{borderBottom:"1px dotted",cursor:"help"}},"- ",r?null===(d=r[a][e])||void 0===d?void 0:d.name:t))}));return xc.createElement("li",null,xc.createElement("strong",null,i),xc.createElement("ul",{className:"qc-cmp2-expanded-list"},s))}(e,t,n,o,r)};return Ws((function(){if(_)return C.length<S.length&&(t=setTimeout((function(){O(S.slice(0,C.length+20))}),1e3)),function(){clearTimeout(t)}}),[f]),Ws((function(){v&&(v(!1),h&&C.length===S.length&&h(!0))}),[C]),Ws((function(){b(!0)}),[]),E?xc.createElement(xc.Fragment,null,xc.createElement(yd,{className:"".concat(n||""," qc-cmp2-consent-list"),subHeaderColor:Dp.subHeaderColor,borderColor:Dp.borderColor,lightTextColor:Dp.lightTextColor,secondaryTextColor:Dp.secondaryTextColor,uxPrimaryButtonColor:Dp.uxPrimaryButtonColor,uxBackgroundColor:Dp.uxBackgroundColor,isIE:Vl()},(a===mt.NON_IAB||a===mt.LEGITIMATE_PURPOSES||a===mt.LEGITIMATE_VENDORS||a===mt.GOOGLE)&&xc.createElement("h2",{className:"qc-cmp2-list-header"},function(){switch(a){case mt.NON_IAB:return l.nonIabVendorsLabel;case mt.LEGITIMATE_PURPOSES:return r.legitimateInterestPurposesLabel;case mt.LEGITIMATE_VENDORS:return r.legitimateInterestVendorLabel;case mt.GOOGLE:return r.googlePartners}return""}()),C.map((function(e,t){var n=s;return a===mt.VENDORS&&e.isSpecialPurposesOnly&&(n=!0),xc.createElement(Zd,{key:t,coreUiLabels:r,premiumUiLabels:l,dataType:a,legitimate:u,togglesHidden:n,expandable:c,handleClick:p,cmpUI:Pp,item:e,populateVendorInfo:I,isNonIabConsent:g,language:m})})))):null})),vt.EXPAND_ELEMENT,vt.COLLAPSE_ELEMENT;function dp(){var e=Rc(["\n .qc-cmp2-toggle-legal-button {\n height: 34px;\n }\n\n .qc-cmp2-toggle-legal-button svg {\n height: 22px;\n width: 14px;\n }\n "]);return dp=function(){return e},e}function pp(){var e=Rc(["\n && {\n ","\n\n .qc-cmp2-list-item {\n &:only-child {\n border-bottom: solid 1px ",";\n }\n\n .qc-cmp2-expandable-list {\n flex-wrap: wrap;\n justify-content: space-between;\n\n .qc-cmp2-expandable-info {\n margin-bottom: 20px;\n width: 85%;\n &:first-of-type {\n margin: 20px 0px;\n }\n li {\n margin: 0;\n padding: 0;\n\n p {\n margin: 0;\n padding: 0;\n }\n }\n\n strong {\n margin-top: 0;\n margin-bottom: 5px;\n }\n\n &:last-of-type {\n margin-bottom: 0%;\n }\n }\n\n .qc-cmp2-toggle-switch {\n margin-bottom: 10px;\n &:first-of-type {\n margin-top: 20px;\n margin-bottom: 30px;\n }\n }\n }\n }\n }\n"]);return pp=function(){return e},e}nl(yd)(pp(),(function(e){return e.isIE&&rl(dp())}),(function(e){return e.borderColor}));function hp(){var e=Rc(["\n &&&& {\n .qc-cmp2-toggle-legal-button {\n height: 34px;\n }\n\n .qc-cmp2-toggle-legal-button svg {\n height: 22px;\n width: 14px;\n }\n }\n "]);return hp=function(){return e},e}function fp(){var e=Rc(["\n ","\n"]);return fp=function(){return e},e}function vp(){var e=Rc(["\n &&&& {\n list-style: none;\n\n li {\n margin-bottom: 10px;\n\n &:last-of-type {\n margin-bottom: 0;\n }\n\n strong {\n display: block;\n }\n }\n }\n"]);return vp=function(){return e},e}nl.ul(vp()),nl.div(fp(),(function(e){return e.isIE&&rl(hp())}));function gp(){var e=Rc(["\n align-items: flex-end;\n "]);return gp=function(){return e},e}function mp(){var e=Rc(["\n && {\n background-color: ",";\n display: flex;\n align-items: center;\n justify-content: center;\n height: ","px;\n width: 100vw;\n overflow: hidden;\n color: ",";\n position: fixed;\n top: 0;\n left: 0;\n z-index: 99999999999999;\n\n * {\n font-family: ",";\n margin: 0;\n padding: 0;\n box-sizing: border-box;\n line-height: 1;\n }\n\n @media (min-width: 768px) {\n ","\n }\n }\n"]);return mp=function(){return e},e}nl.div(mp(),(function(e){var t=e.overlayColor,n=e.isAMP,r=e.page;return n&&r===gt.INIT_PAGE?"none":t}),(function(e){return e.height}),(function(e){return e.uxFontColor}),(function(e){return e.font}),(function(e){var t=e.isPopup,n=e.page;return!t&&n===gt.INIT_PAGE&&rl(gp())}));function Ep(){var e=Rc(["\n && {\n max-width: ",";\n width: 100%;\n position: relative;\n background: #fff;\n\n .qc-usp-ui-content {\n display: flex;\n flex-direction: column;\n margin: auto;\n max-width: 660px;\n padding: 30px 30px 30px;\n\n .qc-usp-ui-form-content {\n max-width: 600px;\n padding: 10px 10px 15px;\n border: 1px solid ",";\n\n > button {\n margin-top: 15px;\n font-size: 14px;\n width: 140px;\n height: 30px;\n }\n\n .qc-usp-container {\n border: none;\n margin: 0;\n\n .qc-usp-container-row {\n border: none;\n padding: 0;\n font-size: 14px;\n width: 100%;\n font-weight: 100;\n line-height: 20px;\n\n .qc-usp-purpose-info {\n display: flex;\n align-items: center;\n padding-bottom: 10px;\n\n .qc-usp-toggle {\n margin-left: 0px;\n }\n\n .qc-usp-action-description {\n width: calc(100% - 50px);\n margin-left: 15px;\n }\n\n .qc-usp-purpose-info-content {\n display: flex;\n flex-direction: column;\n align-items: self-start;\n justify-content: space-between;\n width: 100%;\n\n > div {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 100%;\n }\n }\n }\n }\n }\n }\n\n .qc-usp-title {\n color: ",";\n font-weight: 600;\n }\n\n .qc-usp-main-messaging {\n color: ",";\n font-size: 14px;\n line-height: 20px;\n max-height: ",";\n padding: 15px 0;\n margin: 15px 0;\n overflow: auto;\n p {\n line-height: 150%;\n }\n\n a {\n color: ",";\n text-decoration: none;\n }\n }\n }\n\n .qc-usp-alt-buttons {\n margin: 0 auto;\n padding-bottom: 30px;\n text-align: center;\n\n .qc-usp-alt-action {\n cursor: pointer;\n color: ",";\n font-size: 14px;\n text-align: center;\n\n &.qc-usp-center-bottom {\n display: inline;\n padding: 0 15px;\n text-decoration: none;\n\n & + .qc-usp-center-bottom {\n border-left: 1px solid ",";\n }\n }\n }\n }\n\n .qc-usp-close-icon {\n background: url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M.5.5l23 23m0-23l-23 23' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-miterlimit='10'/%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3C/svg%3E\")\n no-repeat;\n background-size: 65%;\n border: none;\n height: 38px;\n margin: auto 0;\n width: 38px;\n right: 20px;\n position: absolute;\n top: 20px;\n }\n\n @media (min-width: 768px) {\n .qc-usp-ui-content {\n .qc-usp-ui-form-content {\n .qc-usp-container {\n .qc-usp-container-row {\n .qc-usp-purpose-info {\n .qc-usp-toggle- {\n margin-left: 3px;\n }\n\n .qc-usp-action-description {\n color: ",";\n width: calc(100% - 75px);\n }\n }\n }\n }\n }\n }\n }\n }\n"]);return Ep=function(){return e},e}nl.div(Ep(),(function(e){return e.isSuccessModal?"400px":"770px"}),(function(e){return e.borderColor}),(function(e){return e.subHeaderColor}),(function(e){return e.uxFontColor}),(function(e){return e.isAMP?"150px":"270px"}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.borderColor}),(function(e){return e.uxFontColor})),n(48);function Sp(){var e=Rc(["\n display: flex !important;\n gap: 10px !important;\n align-items: flex-end !important;\n justify-content: center !important;\n\n & > * {\n width: 30% !important;\n }\n"]);return Sp=function(){return e},e}function yp(){var e=Rc(["\n font-size: 12px;\n color: #000;\n line-height: 1.5;\n margin: 0 0 25px 0;\n text-align: center;\n"]);return yp=function(){return e},e}function _p(){var e=Rc(["\n font-size: 12px;\n font-weight: 400;\n color: #000;\n margin: 0 0 15px 0;\n text-align: center;\n"]);return _p=function(){return e},e}function bp(){var e=Rc(["\n display: flex;\n justify-content: center;\n margin-bottom: 20px;\n"]);return bp=function(){return e},e}function Tp(){var e=Rc(["\n background: white;\n border-radius: 8px;\n padding: 40px;\n max-width: 400px;\n width: 90%;\n text-align: center;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);\n"]);return Tp=function(){return e},e}function Cp(){var e=Rc(["\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 10000;\n padding: 30px !important;\n text-align: center !important;\n"]);return Cp=function(){return e},e}var Op;nl.div(Cp()),nl.div(Tp()),nl.div(bp()),nl.p(_p()),nl.p(yp()),nl.div(Sp());function Ip(){var e=Rc(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n padding-left: "," !important;\n"]);return Ip=function(){return e},e}function wp(){var e=Rc(["\n font-size: 14px !important;\n font-weight: 600 !important;\n color: "," !important;\n line-height: 1.5 !important;\n letter-spacing: 0.3px !important;\n"]);return wp=function(){return e},e}function Np(){var e=Rc(["\n font-size: 12px !important;\n color: gray !important;\n line-height: 1.5 !important;\n margin-top: 8px !important;\n padding-left: 8px !important;\n"]);return Np=function(){return e},e}function Ap(){var e=Rc(["\n display: flex !important;\n gap: 10px !important;\n align-items: flex-end !important;\n > button {\n margin-top: 8px;\n width: "," !important;\n }\n"]);return Ap=function(){return e},e}nl.div(Ap(),(function(e){return e.optOutFromAllButtonEnabled?"100%":"50%"})),nl.p(Np()),r(Op={nat:16},ii.NAME,16),r(Op,di.NAME,9),r(Op,_i.NAME,7),r(Op,vi.NAME,8),r(Op,Pi.NAME,8),r(Op,Oi.NAME,8),r(Op,Ri.NAME,8),r(Op,"usor",11),r(Op,qi.NAME,8),r(Op,Xi.NAME,8),r(Op,ia.NAME,9),r(Op,ma.NAME,8),r(Op,Ta.NAME,8),r(Op,Aa.NAME,10),r(Op,Va.NAME,8),r(Op,da.NAME,8),nl.p(wp(),(function(e){return e.isOptedOut?"#206dc5":"#a6a9ae"})),nl.div(Ip(),(function(e){return e.isUsp?"14px":"0px"}));function kp(){var e=Rc(["\n /* This is a customized version of cleaslate. For more info go here: http://cleanslatecss.com/ */\n .qc-cmp-cleanslate,\n .qc-cmp-cleanslate h1,\n .qc-cmp-cleanslate h2,\n .qc-cmp-cleanslate h3,\n .qc-cmp-cleanslate h4,\n .qc-cmp-cleanslate h5,\n .qc-cmp-cleanslate h6,\n .qc-cmp-cleanslate p,\n .qc-cmp-cleanslate td,\n .qc-cmp-cleanslate dl,\n .qc-cmp-cleanslate tr,\n .qc-cmp-cleanslate dt,\n .qc-cmp-cleanslate ol,\n .qc-cmp-cleanslate form,\n .qc-cmp-cleanslate select,\n .qc-cmp-cleanslate option,\n .qc-cmp-cleanslate pre,\n .qc-cmp-cleanslate div,\n .qc-cmp-cleanslate table,\n .qc-cmp-cleanslate th,\n .qc-cmp-cleanslate tbody,\n .qc-cmp-cleanslate tfoot,\n .qc-cmp-cleanslate caption,\n .qc-cmp-cleanslate thead,\n .qc-cmp-cleanslate ul,\n .qc-cmp-cleanslate li,\n .qc-cmp-cleanslate address,\n .qc-cmp-cleanslate blockquote,\n .qc-cmp-cleanslate dd,\n .qc-cmp-cleanslate fieldset,\n .qc-cmp-cleanslate li,\n .qc-cmp-cleanslate iframe,\n .qc-cmp-cleanslate strong,\n .qc-cmp-cleanslate legend,\n .qc-cmp-cleanslate em,\n .qc-cmp-cleanslate summary,\n .qc-cmp-cleanslate cite,\n .qc-cmp-cleanslate span,\n .qc-cmp-cleanslate input,\n .qc-cmp-cleanslate sup,\n .qc-cmp-cleanslate label,\n .qc-cmp-cleanslate dfn,\n .qc-cmp-cleanslate object,\n .qc-cmp-cleanslate big,\n .qc-cmp-cleanslate q,\n .qc-cmp-cleanslate samp,\n .qc-cmp-cleanslate acronym,\n .qc-cmp-cleanslate small,\n .qc-cmp-cleanslate img,\n .qc-cmp-cleanslate strike,\n .qc-cmp-cleanslate code,\n .qc-cmp-cleanslate sub,\n .qc-cmp-cleanslate ins,\n .qc-cmp-cleanslate textarea,\n .qc-cmp-cleanslate button,\n .qc-cmp-cleanslate var,\n .qc-cmp-cleanslate a,\n .qc-cmp-cleanslate abbr,\n .qc-cmp-cleanslate applet,\n .qc-cmp-cleanslate del,\n .qc-cmp-cleanslate kbd,\n .qc-cmp-cleanslate tt,\n .qc-cmp-cleanslate b,\n .qc-cmp-cleanslate i,\n .qc-cmp-cleanslate hr,\n .qc-cmp-cleanslate article,\n .qc-cmp-cleanslate aside,\n .qc-cmp-cleanslate figure,\n .qc-cmp-cleanslate figcaption,\n .qc-cmp-cleanslate footer,\n .qc-cmp-cleanslate header,\n .qc-cmp-cleanslate menu,\n .qc-cmp-cleanslate nav,\n .qc-cmp-cleanslate section,\n .qc-cmp-cleanslate time,\n .qc-cmp-cleanslate mark,\n .qc-cmp-cleanslate audio,\n .qc-cmp-cleanslate video,\n .qc-cmp-cleanslate abbr,\n .qc-cmp-cleanslate address,\n .qc-cmp-cleanslate area,\n .qc-cmp-cleanslate blockquote,\n .qc-cmp-cleanslate canvas,\n .qc-cmp-cleanslate caption,\n .qc-cmp-cleanslate cite,\n .qc-cmp-cleanslate code,\n .qc-cmp-cleanslate colgroup,\n .qc-cmp-cleanslate col,\n .qc-cmp-cleanslate datalist,\n .qc-cmp-cleanslate fieldset,\n .qc-cmp-cleanslate main,\n .qc-cmp-cleanslate map,\n .qc-cmp-cleanslate meta,\n .qc-cmp-cleanslate optgroup,\n .qc-cmp-cleanslate output,\n .qc-cmp-cleanslate progress,\n .qc-cmp-cleanslate svg {\n background-attachment: scroll;\n background-color: transparent;\n background-image: none;\n background-position: 0 0;\n background-repeat: repeat;\n border-color: black;\n border-color: currentColor;\n border-radius: 0;\n border-style: none;\n border-width: medium;\n bottom: auto;\n clear: none;\n clip: auto;\n color: inherit;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: inherit;\n display: inline;\n float: none;\n font-family: inherit;\n font-size: inherit;\n font-style: inherit;\n font-variant: normal;\n font-weight: inherit;\n height: auto;\n left: auto;\n letter-spacing: normal;\n line-height: inherit;\n list-style-type: inherit;\n list-style-position: outside;\n list-style-image: none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n outline: invert none medium;\n overflow: visible;\n padding: 0;\n position: static;\n quotes: '' '';\n right: auto;\n table-layout: auto;\n text-align: inherit;\n text-decoration: inherit;\n text-indent: 0;\n text-transform: none;\n top: auto;\n unicode-bidi: normal;\n vertical-align: baseline;\n visibility: inherit;\n white-space: normal;\n width: auto;\n word-spacing: normal;\n z-index: auto;\n\n -webkit-background-origin: padding-box;\n background-origin: padding-box;\n -webkit-background-clip: border-box;\n background-clip: border-box;\n -webkit-background-size: auto;\n -moz-background-size: auto;\n background-size: auto;\n -webkit-border-image: none;\n -moz-border-image: none;\n -o-border-image: none;\n border-image: none;\n -webkit-border-radius: 0;\n -moz-border-radius: 0;\n border-radius: 0;\n -webkit-box-shadow: none;\n box-shadow: none;\n -webkit-box-sizing: content-box;\n -moz-box-sizing: content-box;\n box-sizing: content-box;\n -webkit-column-count: auto;\n -moz-column-count: auto;\n column-count: auto;\n -webkit-column-gap: normal;\n -moz-column-gap: normal;\n column-gap: normal;\n -webkit-column-rule: medium none black;\n -moz-column-rule: medium none black;\n column-rule: medium none black;\n -webkit-column-span: 1;\n -moz-column-span: 1;\n column-span: 1;\n -webkit-column-width: auto;\n -moz-column-width: auto;\n column-width: auto;\n font-feature-settings: normal;\n overflow-x: visible;\n overflow-y: visible;\n -webkit-hyphens: manual;\n -moz-hyphens: manual;\n hyphens: manual;\n -webkit-perspective: none;\n -moz-perspective: none;\n -ms-perspective: none;\n -o-perspective: none;\n perspective: none;\n -webkit-perspective-origin: 50% 50%;\n -moz-perspective-origin: 50% 50%;\n -ms-perspective-origin: 50% 50%;\n -o-perspective-origin: 50% 50%;\n perspective-origin: 50% 50%;\n -webkit-backface-visibility: visible;\n -moz-backface-visibility: visible;\n -ms-backface-visibility: visible;\n -o-backface-visibility: visible;\n backface-visibility: visible;\n text-shadow: none;\n -webkit-transition: all 0s ease 0s;\n transition: all 0s ease 0s;\n -webkit-transform: none;\n -moz-transform: none;\n -ms-transform: none;\n -o-transform: none;\n transform: none;\n -webkit-transform-origin: 50% 50%;\n -moz-transform-origin: 50% 50%;\n -ms-transform-origin: 50% 50%;\n -o-transform-origin: 50% 50%;\n transform-origin: 50% 50%;\n -webkit-transform-style: flat;\n -moz-transform-style: flat;\n -ms-transform-style: flat;\n -o-transform-style: flat;\n transform-style: flat;\n word-break: normal;\n }\n\n .qc-cmp-cleanslate,\n .qc-cmp-cleanslate h3,\n .qc-cmp-cleanslate h5,\n .qc-cmp-cleanslate p,\n .qc-cmp-cleanslate h1,\n .qc-cmp-cleanslate dl,\n .qc-cmp-cleanslate dt,\n .qc-cmp-cleanslate h6,\n .qc-cmp-cleanslate ol,\n .qc-cmp-cleanslate form,\n .qc-cmp-cleanslate option,\n .qc-cmp-cleanslate pre,\n .qc-cmp-cleanslate div,\n .qc-cmp-cleanslate h2,\n .qc-cmp-cleanslate caption,\n .qc-cmp-cleanslate h4,\n .qc-cmp-cleanslate ul,\n .qc-cmp-cleanslate address,\n .qc-cmp-cleanslate blockquote,\n .qc-cmp-cleanslate dd,\n .qc-cmp-cleanslate fieldset,\n .qc-cmp-cleanslate hr,\n .qc-cmp-cleanslate article,\n .qc-cmp-cleanslate dialog,\n .qc-cmp-cleanslate figure,\n .qc-cmp-cleanslate footer,\n .qc-cmp-cleanslate header,\n .qc-cmp-cleanslate hgroup,\n .qc-cmp-cleanslate menu,\n .qc-cmp-cleanslate nav,\n .qc-cmp-cleanslate section,\n .qc-cmp-cleanslate audio,\n .qc-cmp-cleanslate video,\n .qc-cmp-cleanslate address,\n .qc-cmp-cleanslate blockquote,\n .qc-cmp-cleanslate colgroup,\n .qc-cmp-cleanslate main,\n .qc-cmp-cleanslate progress,\n .qc-cmp-cleanslate summary {\n display: block;\n }\n .qc-cmp-cleanslate h1,\n .qc-cmp-cleanslate h2,\n .qc-cmp-cleanslate h3,\n .qc-cmp-cleanslate h4,\n .qc-cmp-cleanslate h5,\n .qc-cmp-cleanslate h6 {\n font-weight: bold;\n }\n .qc-cmp-cleanslate h1 {\n font-size: 2em;\n padding: 0.67em 0;\n }\n .qc-cmp-cleanslate h2 {\n font-size: 1.5em;\n padding: 0.83em 0;\n }\n .qc-cmp-cleanslate h3 {\n font-size: 1.17em;\n padding: 0.83em 0;\n }\n .qc-cmp-cleanslate h4 {\n font-size: 1em;\n }\n .qc-cmp-cleanslate h5 {\n font-size: 0.83em;\n }\n .qc-cmp-cleanslate p {\n margin: 1em 0;\n line-height: 150%;\n }\n .qc-cmp-cleanslate table {\n display: table;\n }\n .qc-cmp-cleanslate thead {\n display: table-header-group;\n }\n .qc-cmp-cleanslate tbody {\n display: table-row-group;\n }\n .qc-cmp-cleanslate tfoot {\n display: table-footer-group;\n }\n .qc-cmp-cleanslate tr {\n display: table-row;\n }\n .qc-cmp-cleanslate th,\n .qc-cmp-cleanslate td {\n display: table-cell;\n padding: 2px;\n }\n\n .qc-cmp-cleanslate ol,\n .qc-cmp-cleanslate ul {\n margin: 1em 0;\n }\n .qc-cmp-cleanslate ul li,\n .qc-cmp-cleanslate ul ul li,\n .qc-cmp-cleanslate ul ul ul li,\n .qc-cmp-cleanslate ol li,\n .qc-cmp-cleanslate ol ol li,\n .qc-cmp-cleanslate ol ol ol li,\n .qc-cmp-cleanslate ul ol ol li,\n .qc-cmp-cleanslate ul ul ol li,\n .qc-cmp-cleanslate ol ul ul li,\n .qc-cmp-cleanslate ol ol ul li {\n list-style-position: inside;\n margin-top: 0.08em;\n }\n .qc-cmp-cleanslate ol ol,\n .qc-cmp-cleanslate ol ol ol,\n .qc-cmp-cleanslate ul ul,\n .qc-cmp-cleanslate ul ul ul,\n .qc-cmp-cleanslate ol ul,\n .qc-cmp-cleanslate ol ul ul,\n .qc-cmp-cleanslate ol ol ul,\n .qc-cmp-cleanslate ul ol,\n .qc-cmp-cleanslate ul ol ol,\n .qc-cmp-cleanslate ul ul ol {\n padding-left: 40px;\n margin: 0;\n }\n\n .qc-cmp-cleanslate nav ul,\n .qc-cmp-cleanslate nav ol {\n list-style-type: none;\n }\n .qc-cmp-cleanslate ul,\n .qc-cmp-cleanslate menu {\n list-style-type: disc;\n }\n .qc-cmp-cleanslate ol {\n list-style-type: decimal;\n }\n .qc-cmp-cleanslate ol ul,\n .qc-cmp-cleanslate ul ul,\n .qc-cmp-cleanslate menu ul,\n .qc-cmp-cleanslate ol menu,\n .qc-cmp-cleanslate ul menu,\n .qc-cmp-cleanslate menu menu {\n list-style-type: circle;\n }\n .qc-cmp-cleanslate ol ol ul,\n .qc-cmp-cleanslate ol ul ul,\n .qc-cmp-cleanslate ol menu ul,\n .qc-cmp-cleanslate ol ol menu,\n .qc-cmp-cleanslate ol ul menu,\n .qc-cmp-cleanslate ol menu menu,\n .qc-cmp-cleanslate ul ol ul,\n .qc-cmp-cleanslate ul ul ul,\n .qc-cmp-cleanslate ul menu ul,\n .qc-cmp-cleanslate ul ol menu,\n .qc-cmp-cleanslate ul ul menu,\n .qc-cmp-cleanslate ul menu menu,\n .qc-cmp-cleanslate menu ol ul,\n .qc-cmp-cleanslate menu ul ul,\n .qc-cmp-cleanslate menu menu ul,\n .qc-cmp-cleanslate menu ol menu,\n .qc-cmp-cleanslate menu ul menu,\n .qc-cmp-cleanslate menu menu menu {\n list-style-type: square;\n }\n .qc-cmp-cleanslate li {\n display: list-item;\n min-height: auto;\n min-width: auto;\n padding-left: 20px;\n }\n .qc-cmp-cleanslate strong {\n font-weight: bold;\n }\n .qc-cmp-cleanslate em {\n font-style: italic;\n }\n .qc-cmp-cleanslate kbd,\n .qc-cmp-cleanslate samp,\n .qc-cmp-cleanslate code,\n .qc-cmp-cleanslate pre {\n font-family: monospace;\n }\n .qc-cmp-cleanslate a {\n color: blue;\n text-decoration: underline;\n }\n .qc-cmp-cleanslate a:visited {\n color: #529;\n }\n .qc-cmp-cleanslate a,\n .qc-cmp-cleanslate a *,\n .qc-cmp-cleanslate input[type='submit'],\n .qc-cmp-cleanslate input[type='button'],\n .qc-cmp-cleanslate input[type='radio'],\n .qc-cmp-cleanslate input[type='checkbox'],\n .qc-cmp-cleanslate select,\n .qc-cmp-cleanslate button {\n cursor: pointer;\n }\n .qc-cmp-cleanslate button,\n .qc-cmp-cleanslate input[type='submit'] {\n text-align: center;\n padding: 2px 6px 3px;\n border-radius: 0;\n text-decoration: none;\n font-family: arial, helvetica, sans-serif;\n font-size: small;\n background: white;\n color: buttontext;\n border: 1px #a6a6a6 solid;\n background: none;\n filter: none;\n box-shadow: none;\n outline: initial;\n\n &:focus {\n box-shadow: 0 0 0 2px #ffffff, 0 0 3px 5px #206dc5;\n outline: 2px dotted transparent;\n outline-offset: 2px;\n }\n }\n .qc-cmp-cleanslate button:active,\n .qc-cmp-cleanslate input[type='submit']:active,\n .qc-cmp-cleanslate input[type='button']:active,\n .qc-cmp-cleanslate button:active {\n background: none;\n border: none;\n }\n .qc-cmp-cleanslate button {\n padding: 1px 6px 2px 6px;\n margin-right: 5px;\n }\n .qc-cmp-cleanslate input[type='hidden'] {\n display: none;\n }\n\n .qc-cmp-cleanslate textarea {\n -webkit-appearance: textarea;\n background: white;\n padding: 2px;\n margin-left: 4px;\n word-wrap: break-word;\n white-space: pre-wrap;\n font-size: 11px;\n font-family: arial, helvetica, sans-serif;\n line-height: 13px;\n resize: both;\n }\n .qc-cmp-cleanslate select,\n .qc-cmp-cleanslate textarea,\n .qc-cmp-cleanslate input {\n border: 1px solid #ccc;\n }\n .qc-cmp-cleanslate select {\n font-size: 11px;\n font-family: helvetica, arial, sans-serif;\n display: inline-block;\n }\n .qc-cmp-cleanslate textarea:focus,\n .qc-cmp-cleanslate input:focus {\n outline: auto 5px -webkit-focus-ring-color;\n outline: initial;\n }\n .qc-cmp-cleanslate input[type='text'] {\n background: white;\n padding: 1px;\n font-family: initial;\n font-size: small;\n }\n .qc-cmp-cleanslate input[type='checkbox'],\n .qc-cmp-cleanslate input[type='radio'] {\n border: 1px #2b2b2b solid;\n border-radius: 4px;\n }\n .qc-cmp-cleanslate input[type='checkbox'],\n .qc-cmp-cleanslate input[type='radio'] {\n outline: initial;\n }\n .qc-cmp-cleanslate input[type='radio'] {\n margin: 2px 2px 3px 2px;\n }\n .qc-cmp-cleanslate abbr[title],\n .qc-cmp-cleanslate acronym[title],\n .qc-cmp-cleanslate dfn[title] {\n cursor: help;\n border-bottom-width: 1px;\n border-bottom-style: dotted;\n }\n .qc-cmp-cleanslate ins {\n background-color: #ff9;\n color: black;\n }\n .qc-cmp-cleanslate del {\n text-decoration: line-through;\n }\n .qc-cmp-cleanslate blockquote,\n .qc-cmp-cleanslate q {\n quotes: none;\n }\n .qc-cmp-cleanslate blockquote:before,\n .qc-cmp-cleanslate blockquote:after,\n .qc-cmp-cleanslate q:before,\n .qc-cmp-cleanslate q:after,\n .qc-cmp-cleanslate li:before,\n .qc-cmp-cleanslate li:after {\n content: '';\n }\n .qc-cmp-cleanslate input,\n .qc-cmp-cleanslate select {\n vertical-align: middle;\n }\n\n .qc-cmp-cleanslate table {\n border-collapse: collapse;\n border-spacing: 0;\n }\n .qc-cmp-cleanslate hr {\n display: block;\n height: 1px;\n border: 0;\n border-top: 1px solid #ccc;\n margin: 1em 0;\n }\n .qc-cmp-cleanslate *[dir='rtl'] {\n direction: rtl;\n }\n .qc-cmp-cleanslate mark {\n background-color: #ff9;\n color: black;\n font-style: italic;\n font-weight: bold;\n }\n .qc-cmp-cleanslate menu {\n padding-left: 40px;\n padding-top: 8px;\n }\n\n .qc-cmp-cleanslate [hidden],\n .qc-cmp-cleanslate template {\n display: none;\n }\n .qc-cmp-cleanslate abbr[title] {\n border-bottom: 1px dotted;\n }\n .qc-cmp-cleanslate sub,\n .qc-cmp-cleanslate sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n .qc-cmp-cleanslate sup {\n top: -0.5em;\n }\n .qc-cmp-cleanslate sub {\n bottom: -0.25em;\n }\n .qc-cmp-cleanslate img {\n border: 0;\n }\n .qc-cmp-cleanslate figure {\n margin: 0;\n }\n .qc-cmp-cleanslate textarea {\n overflow: auto;\n vertical-align: top;\n }\n\n .qc-cmp-cleanslate {\n font-size: medium;\n line-height: 1;\n direction: ltr;\n text-align: left;\n text-align: start;\n font-family: 'Times New Roman', Times, serif;\n color: black;\n font-style: normal;\n font-weight: normal;\n text-decoration: none;\n list-style-type: disc;\n }\n\n .qc-cmp-cleanslate pre {\n white-space: pre;\n }\n"]);return kp=function(){return e},e}rl(kp());var Pp,Dp,xp,Vp,Rp=xd.a.create({xsrfCookieName:null}),Lp={uxBackgroundColor:"#fff",uxPrimaryButtonColor:"#206DC5",uxPrimaryButtonTextColor:"#fff",uxSecondaryButtonColor:"#fff",secondaryButtonHoverBackground:"#fff",secondaryTextColor:"#4D545D",uxSecondaryButtonTextColor:"#206DC5",uxToogleActiveColor:"#206DC5",uxLinkColor:"#206DC5",uxFontColor:"#141e23",borderColor:"#D8D8D8",subHeaderColor:"#212934"},Up=function(){function e(){m(this,e),r(this,"_uxPrimaryButtonTextColor",void 0),r(this,"_uxPrimaryButtonColor",void 0),r(this,"_uxSecondaryButtonTextColor",void 0),r(this,"_uxSecondaryButtonColor",void 0),r(this,"_uxFontColor",void 0),r(this,"_uxBackgroundColor",void 0),r(this,"_uxToogleActiveColor",void 0),r(this,"_uxLinkColor",void 0),r(this,"_primaryButtonHoverBackground",void 0),r(this,"_secondaryButtonHoverBackground",void 0),r(this,"_secondaryTextColor",void 0),r(this,"_lightTextColor",void 0),r(this,"_lightestTextColor",void 0),r(this,"_overlayColor",void 0),r(this,"_borderColor",void 0),r(this,"_subHeaderColor",void 0),r(this,"_persistentConsentLinkColor",void 0),r(this,"_persistentConsentLinkTextColor",void 0),r(this,"_warningBackgroundColor",void 0),r(this,"_warningTextColor",void 0),r(this,"_font",void 0),r(this,"_uxCCPATheme",void 0);var t=xp.theme,n=t.uxPrimaryButtonColor,o=t.uxBackgroundColor,a=t.uxFontColor,s=t.uxPrimaryButtonTextColor,c=t.uxSecondaryButtonColor,u=t.uxSecondaryButtonTextColor,l=t.uxToogleActiveColor,d=t.uxLinkColor;this._uxPrimaryButtonTextColor=s,this._uxPrimaryButtonColor=n,this._uxSecondaryButtonTextColor=u,this._uxSecondaryButtonColor=c,this._uxFontColor=a,this._uxBackgroundColor=o,this._uxToogleActiveColor=l,this._uxLinkColor=d,this._primaryButtonHoverBackground=e.LightenDarkenColor(this._uxPrimaryButtonColor,30),this._secondaryButtonHoverBackground=n,this._subHeaderColor="#212934",this._secondaryTextColor=Ul()?"#FFFFFF":"#4D545D",this._lightTextColor="#7A7F85",this._lightestTextColor="#B7B7B7",this._overlayColor="rgba(33, 41, 52, 0.75)",this._borderColor="#D8D8D8",this._persistentConsentLinkColor="#368BD6",this._persistentConsentLinkTextColor="#FFF",this._warningBackgroundColor="rgba(255, 229, 143, 0.35)",this._warningTextColor="#FAAD14",this._font="Helvetica, Arial, sans-serif",this._uxCCPATheme=i(i({},Lp),{},{primaryButtonHoverBackground:e.LightenDarkenColor(Lp.uxPrimaryButtonColor,30),secondaryButtonHoverBackground:Lp.uxPrimaryButtonColor})}return S(e,[{key:"checkValidHex",value:function(e,t){ol.test(e)?this[t]=e:console.warn("".concat(e," is not a valid hex value"))}},{key:"uxLinkColor",get:function(){return this._uxLinkColor},set:function(e){this.checkValidHex(e,"_uxLinkColor")}},{key:"uxToogleActiveColor",get:function(){return this._uxToogleActiveColor},set:function(e){this.checkValidHex(e,"_uxToogleActiveColor")}},{key:"uxPrimaryButtonTextColor",get:function(){return this._uxPrimaryButtonTextColor},set:function(e){this.checkValidHex(e,"_uxPrimaryButtonTextColor")}},{key:"uxPrimaryButtonColor",get:function(){return this._uxPrimaryButtonColor},set:function(e){this.checkValidHex(e,"_uxPrimaryButtonColor")}},{key:"primaryButtonHoverBackground",get:function(){return this._primaryButtonHoverBackground},set:function(e){this.checkValidHex(e,"_primaryButtonHoverBackground")}},{key:"uxSecondaryButtonTextColor",get:function(){return this._uxSecondaryButtonTextColor},set:function(e){this.checkValidHex(e,"_uxSecondaryButtonTextColor")}},{key:"uxSecondaryButtonColor",get:function(){return this._uxSecondaryButtonColor},set:function(e){this.checkValidHex(e,"_uxSecondaryButtonColor")}},{key:"secondaryButtonHoverBackground",get:function(){return this._secondaryButtonHoverBackground},set:function(e){this.checkValidHex(e,"_secondaryButtonHoverBackground")}},{key:"uxFontColor",get:function(){return this._uxFontColor},set:function(e){this.checkValidHex(e,"_uxFontColor")}},{key:"secondaryTextColor",get:function(){return this._secondaryTextColor},set:function(e){this.checkValidHex(e,"_secondaryTextColor")}},{key:"lightTextColor",get:function(){return this._lightTextColor},set:function(e){this.checkValidHex(e,"_lightTextColor")}},{key:"lightestTextColor",get:function(){return this._lightestTextColor},set:function(e){this.checkValidHex(e,"_lightestTextColor")}},{key:"uxBackgroundColor",get:function(){return this._uxBackgroundColor},set:function(e){this.checkValidHex(e,"_uxBackgroundColor")}},{key:"overlayColor",get:function(){return this._overlayColor},set:function(e){this._overlayColor=e}},{key:"borderColor",get:function(){return this._borderColor},set:function(e){this.checkValidHex(e,"_borderColor")}},{key:"subHeaderColor",get:function(){return this._subHeaderColor},set:function(e){this.checkValidHex(e,"_subHeaderColor")}},{key:"warningBackgroundColor",get:function(){return this._warningBackgroundColor},set:function(e){this._warningBackgroundColor=e}},{key:"warningTextColor",get:function(){return this._warningTextColor},set:function(e){this.checkValidHex(e,"_warningTextColor")}},{key:"persistentConsentLinkColor",get:function(){return this._persistentConsentLinkColor},set:function(e){this.checkValidHex(e,"_persistentConsentLinkColor")}},{key:"persistentConsentLinkTextColor",get:function(){return this._persistentConsentLinkTextColor},set:function(e){this.checkValidHex(e,"_persistentConsentLinkTextColor")}},{key:"font",get:function(){return this._font},set:function(e){this._font=e}},{key:"uxCCPATheme",get:function(){return this._uxCCPATheme}}],[{key:"LightenDarkenColor",value:function(e,t){var n=!1;"#"===e[0]&&(e=e.slice(1),n=!0);var r=parseInt(e,16),o=(r>>16)+t;o>255?o=255:o<0&&(o=0);var i=(r>>8&255)+t;i>255?i=255:i<0&&(i=0);var a=(255&r)+t;return a>255?a=255:a<0&&(a=0),(n?"#":"")+(a|i<<8|o<<16).toString(16)}}]),e}();function Mp(){var e=Rc(["\n @media (min-width: 768px) {\n min-width: 190px;\n min-height: 40px;\n font-size: ","px;\n padding: ",";\n }\n "]);return Mp=function(){return e},e}function Gp(){var e=Rc(["\n border: none;\n font-size: 14px;\n padding: 5px 0;\n width: auto;\n height: auto;\n font-weight: 500;\n letter-spacing: 0;\n background: none;\n color: ",";\n box-shadow: none;\n margin-top: 0;\n\n &.qc-cmp2-link-active {\n color: ",";\n cursor: default;\n }\n\n &.qc-cmp2-link-inline {\n display: inline-flex;\n min-width: 0;\n min-height: 0;\n text-transform: none;\n margin: 0;\n padding: 0;\n line-height: 1;\n color: ",";\n &:hover {\n text-decoration: underline;\n }\n }\n\n &:hover {\n background: none;\n }\n\n @media (min-width: 768px) {\n font-size: ","px;\n }\n "]);return Gp=function(){return e},e}function Fp(){var e=Rc(["\n background: ",";\n border: solid 1px ",";\n color: ",";\n\n @media (min-width: 768px) {\n &:hover {\n background: ",";\n border-color: ",";\n color: ",";\n }\n }\n "]);return Fp=function(){return e},e}function qp(){var e=Rc(["\n &&,\n && &:hover {\n background: ",";\n border: solid 1px\n ",";\n color: ",";\n }\n "]);return qp=function(){return e},e}function Bp(){var e=Rc(["\n&& {\n align-content: center;\n backface-visibility: hidden;\n border: none;\n background: ",";\n border-radius: 2px;\n color: ",";\n cursor: ",";\n display: flex;\n align-items: center;\n font-size: 13px;\n line-height: 0;\n min-height: 34px;\n justify-content: center;\n letter-spacing: 2px;\n margin: 0.5em;\n padding: 12px;\n text-align: center;\n text-transform: uppercase;\n transition: all 0.35s ease;\n white-space: nowrap;\n width: 95%;\n box-shadow: 0 1px 1px 1px rgba(0,0,0,.1);\n\n @media(min-width: 768px) {\n &:hover {\n background: ",";\n }\n }\n\n ","\n\n ","\n\n ","\n\n ","\n\n @media(max-width: 360px) {\n /* support for iPhone 5/SE Galaxy S5 */\n margin: 0.3em;\n font-size: 10px;\n }\n}\n"]);return Bp=function(){return e},e}var jp=nl.button(Bp(),(function(e){var t=e.disabled,n=e.uxPrimaryButtonColor;return t?"lightgray":n}),(function(e){return e.uxPrimaryButtonTextColor}),(function(e){return e.disabled?"auto":"pointer"}),(function(e){return e.primaryButtonHoverBackground}),(function(e){var t=e.disabled,n=(e.uxSecondaryButtonColor,e.uxSecondaryButtonTextColor);return t&&rl(qp(),Up.LightenDarkenColor(n,-30),Up.LightenDarkenColor(n,-30),Up.LightenDarkenColor(n,-30))}),(function(e){var t=e.uxSecondaryButtonColor,n=e.uxSecondaryButtonTextColor,r=e.mode,o=e.secondaryButtonHoverBackground,i=e.uxPrimaryButtonTextColor;return"secondary"===r&&rl(Fp(),t,n,n,o,o,i)}),(function(e){var t=e.mode,n=e.uxPrimaryButtonColor,r=e.secondaryTextColor,o=e.uxLinkColor,i=e.isLong;return"link"===t&&rl(Gp(),n,r,o,i?11:14)}),(function(e){return"large"===e.size&&rl(Mp(),e.isLong?11:14,e.isLong?"0 15px !important":0)})),Hp=xc.forwardRef((function(e,t){var n=e.children,r=e.theme,o=Vc(e,["children","theme"]),i=r||Dp;return xc.createElement(jp,Object.assign({},o,{ref:t,uxPrimaryButtonColor:i.uxPrimaryButtonColor,uxPrimaryButtonTextColor:i.uxPrimaryButtonTextColor,primaryButtonHoverBackground:i.primaryButtonHoverBackground,uxSecondaryButtonColor:i.uxSecondaryButtonColor,uxSecondaryButtonTextColor:i.uxSecondaryButtonTextColor,uxLinkColor:i.uxLinkColor,secondaryButtonHoverBackground:i.secondaryButtonHoverBackground,secondaryTextColor:i.secondaryTextColor}),n)}));Hp.defaultProps={mode:"primary",size:"large",className:""};var zp=Hp,Wp=n(49),Yp=function(e,t){switch(e){case da.NAME:return Object.values(ea).includes(t);case Va.NAME:return Object.values(Ca).includes(t);case Aa.NAME:return Object.values(Ea).includes(t);case Ta.NAME:return Object.values(pa).includes(t);case ma.NAME:return Object.values(aa).includes(t);case ia.NAME:return Object.values(Ki).includes(t);case Xi.NAME:return Object.values(Bi).includes(t);case qi.NAME:return Object.values(Di).includes(t);case"usor":return Object.values(Li).includes(t);case Ri.NAME:return Object.values(Ii).includes(t);case ii.NAME:return Object.values(Ko).includes(t);case Oi.NAME:return Object.values(gi).includes(t);case di.NAME:return Object.values(Zo).includes(t);case vi.NAME:return Object.values(ai).includes(t);case _i.NAME:return Object.values(pi).includes(t);case Pi.NAME:return Object.values(bi).includes(t);default:return Object.values(Ko).includes(t)}},Kp=function(e){var t=e.sectionName,n=e.saleOptOut,r=e.shareOptOut,o=e.targetedAdvertisingOptOut,a=e.personalInformationOptOut,s=e.sensitiveDataConsents,c=e.childSensitiveDataConsent,u=e.coreConfig,l=(e.childSensitiveDataConsentValue,{saleOptOut:n,shareOptOut:r,targetedAdvertisingOptOut:o,personalInformationOptOut:a,sensitiveDataConsents:s,childSensitiveDataConsent:c,additionalDataConsent:e.additionalDataConsent,notices:[]});switch(t){case"ia":var d,p,h,f,v;console.log("IOWA");var g=[];(null===(d=u.mspaOptOutPurposeIds)||void 0===d?void 0:d.includes(2))&&g.push(ea.SALE_OPT_OUT_NOTICE),(null===(p=u.mspaOptOutPurposeIds)||void 0===p?void 0:p.includes(4))&&g.push(ea.PROCESSING_NOTICE),(null===(h=u.mspaOptOutPurposeIds)||void 0===h?void 0:h.includes(3))&&g.push(ea.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(f=u.mspaOptOutPurposeIds)||void 0===f?void 0:f.includes(5))&&g.push(ea.SENSITIVE_DATA_OPT_OUT_NOTICE);var m=0;(null===u||void 0===u||null===(v=u.mspaOptOutPurposeIds)||void 0===v?void 0:v.includes(6))&&(m=1),void 0!==c&&(m=c?1:2),l=i(i({},l),{},{sectionName:da.NAME,notices:g,childSensitiveDataConsent:m});break;case"tn":var E,S,y,_;console.log("TENESSEE");var b=[];(null===(E=u.mspaOptOutPurposeIds)||void 0===E?void 0:E.includes(2))&&b.push(Ca.SALE_OPT_OUT_NOTICE),(null===(S=u.mspaOptOutPurposeIds)||void 0===S?void 0:S.includes(3))&&b.push(Ca.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(y=u.mspaOptOutPurposeIds)||void 0===y?void 0:y.includes(4))&&b.push(Ca.PROCESSING_NOTICE);var T=0;(null===u||void 0===u||null===(_=u.mspaOptOutPurposeIds)||void 0===_?void 0:_.includes(6))&&(T=1),void 0!==c&&(T=c?1:2),l=i(i({},l),{},{sectionName:Va.NAME,notices:b,childSensitiveDataConsent:T});break;case"nj":var C,O,I,w;console.log("NEW JERSEY");var N=[];(null===(C=u.mspaOptOutPurposeIds)||void 0===C?void 0:C.includes(2))&&N.push(Ea.SALE_OPT_OUT_NOTICE),(null===(O=u.mspaOptOutPurposeIds)||void 0===O?void 0:O.includes(3))&&N.push(Ea.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(I=u.mspaOptOutPurposeIds)||void 0===I?void 0:I.includes(4))&&N.push(Ea.PROCESSING_NOTICE);var A=[0,0,0,0,0];(null===u||void 0===u||null===(w=u.mspaOptOutPurposeIds)||void 0===w?void 0:w.includes(6))&&(A=[1,1,1,1,1]),void 0!==c&&(A=c?[1,1,1,1,1]:[2,2,2,2,2]),l=i(i({},l),{},{sectionName:Aa.NAME,notices:N,childSensitiveDataConsent:A});break;case"nh":var k,P,D,x;console.log("NEW HAMPSHIRE");var V=[];(null===(k=u.mspaOptOutPurposeIds)||void 0===k?void 0:k.includes(2))&&V.push(pa.SALE_OPT_OUT_NOTICE),(null===(P=u.mspaOptOutPurposeIds)||void 0===P?void 0:P.includes(3))&&V.push(pa.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(D=u.mspaOptOutPurposeIds)||void 0===D?void 0:D.includes(4))&&V.push(pa.PROCESSING_NOTICE);var R=[0,0,0];(null===u||void 0===u||null===(x=u.mspaOptOutPurposeIds)||void 0===x?void 0:x.includes(6))&&(R=[1,1,1]),void 0!==c&&(R=c?[1,1,1]:[2,2,2]),l=i(i({},l),{},{sectionName:Ta.NAME,notices:V,childSensitiveDataConsent:R});break;case"ne":var L,U,M,G;console.log("NEBRASKA");var F=[];(null===(L=u.mspaOptOutPurposeIds)||void 0===L?void 0:L.includes(2))&&F.push(aa.SALE_OPT_OUT_NOTICE),(null===(U=u.mspaOptOutPurposeIds)||void 0===U?void 0:U.includes(3))&&F.push(aa.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(M=u.mspaOptOutPurposeIds)||void 0===M?void 0:M.includes(4))&&F.push(aa.PROCESSING_NOTICE);var q=0;(null===u||void 0===u||null===(G=u.mspaOptOutPurposeIds)||void 0===G?void 0:G.includes(6))&&(q=1),void 0!==c&&(q=c?1:2),l=i(i({},l),{},{sectionName:ma.NAME,notices:F,childSensitiveDataConsent:q});break;case"de":var B,j,H,z;console.log("DELAWARE");var W=[];(null===(B=u.mspaOptOutPurposeIds)||void 0===B?void 0:B.includes(2))&&W.push(Bi.SALE_OPT_OUT_NOTICE),(null===(j=u.mspaOptOutPurposeIds)||void 0===j?void 0:j.includes(3))&&W.push(Bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(H=u.mspaOptOutPurposeIds)||void 0===H?void 0:H.includes(4))&&W.push(Ki.PROCESSING_NOTICE);var Y=[0,0,0,0,0];(null===u||void 0===u||null===(z=u.mspaOptOutPurposeIds)||void 0===z?void 0:z.includes(6))&&(Y=[1,1,1,1,1]),void 0!==c&&(Y=c?[1,1,1,1,1]:[2,2,2,2,2]),l=i(i({},l),{},{sectionName:ia.NAME,notices:W,childSensitiveDataConsent:Y});break;case"tx":var K,$,J,Q;console.log("TEXAS");var Z=[];(null===(K=u.mspaOptOutPurposeIds)||void 0===K?void 0:K.includes(2))&&Z.push(Bi.SALE_OPT_OUT_NOTICE),(null===($=u.mspaOptOutPurposeIds)||void 0===$?void 0:$.includes(3))&&Z.push(Bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(J=u.mspaOptOutPurposeIds)||void 0===J?void 0:J.includes(4))&&Z.push(Bi.PROCESSING_NOTICE);var X=0;(null===u||void 0===u||null===(Q=u.mspaOptOutPurposeIds)||void 0===Q?void 0:Q.includes(6))&&(X=1),void 0!==c&&(X=c?1:2),l=i(i({},l),{},{sectionName:Xi.NAME,notices:Z,childSensitiveDataConsent:X});break;case"mt":var ee,te,ne,re;console.log("MONTANA");var oe=[];(null===(ee=u.mspaOptOutPurposeIds)||void 0===ee?void 0:ee.includes(2))&&oe.push(Di.SALE_OPT_OUT_NOTICE),(null===(te=u.mspaOptOutPurposeIds)||void 0===te?void 0:te.includes(1))&&oe.push(Di.SHARING_NOTICE),(null===(ne=u.mspaOptOutPurposeIds)||void 0===ne?void 0:ne.includes(3))&&oe.push(Di.TARGETED_ADVERTISING_OPT_OUT_NOTICE);var ie=[0,0,0];(null===u||void 0===u||null===(re=u.mspaOptOutPurposeIds)||void 0===re?void 0:re.includes(6))&&(ie=[1,1,1]),void 0!==c&&(ie=c?[1,1,1]:[2,2,2]),l=i(i({},l),{},{sectionName:qi.NAME,notices:oe,childSensitiveDataConsent:ie});break;case"or":var ae,se,ce,ue;console.log("OREGON");var le=[];(null===(ae=u.mspaOptOutPurposeIds)||void 0===ae?void 0:ae.includes(2))&&le.push(Li.SALE_OPT_OUT_NOTICE),(null===(se=u.mspaOptOutPurposeIds)||void 0===se?void 0:se.includes(3))&&le.push(Li.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(ce=u.mspaOptOutPurposeIds)||void 0===ce?void 0:ce.includes(4))&&le.push(Li.PROCESSING_NOTICE);var de=[0,0,0];(null===u||void 0===u||null===(ue=u.mspaOptOutPurposeIds)||void 0===ue?void 0:ue.includes(6))&&(de=[1,1,1]),void 0!==c&&(de=c?[1,1,1]:[2,2,2]),l=i(i({},l),{},{sectionName:"usor",notices:le,childSensitiveDataConsent:de});break;case"fl":var pe,he,fe,ve,ge=[];(null===(pe=u.mspaOptOutPurposeIds)||void 0===pe?void 0:pe.includes(2))&&ge.push(Ii.SALE_OPT_OUT_NOTICE),(null===(he=u.mspaOptOutPurposeIds)||void 0===he?void 0:he.includes(3))&&ge.push(Ii.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(fe=u.mspaOptOutPurposeIds)||void 0===fe?void 0:fe.includes(4))&&ge.push(Ii.PROCESSING_NOTICE);var me=[0,0,0];(null===u||void 0===u||null===(ve=u.mspaOptOutPurposeIds)||void 0===ve?void 0:ve.includes(6))&&(me=[1,1,1]),void 0!==c&&(me=c?[1,1,1]:[2,2,2]),l=i(i({},l),{},{sectionName:Ri.NAME,notices:ge,childSensitiveDataConsent:me});break;case"ut":var Ee,Se,ye,_e,be,Te=[];(null===(Ee=u.mspaOptOutPurposeIds)||void 0===Ee?void 0:Ee.includes(1))&&Te.push(gi.SHARING_NOTICE),(null===(Se=u.mspaOptOutPurposeIds)||void 0===Se?void 0:Se.includes(2))&&Te.push(gi.SALE_OPT_OUT_NOTICE),(null===(ye=u.mspaOptOutPurposeIds)||void 0===ye?void 0:ye.includes(3))&&Te.push(gi.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(_e=u.mspaOptOutPurposeIds)||void 0===_e?void 0:_e.includes(5))&&Te.push(gi.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE);var Ce=0;(null===u||void 0===u||null===(be=u.mspaOptOutPurposeIds)||void 0===be?void 0:be.includes(6))&&(Ce=1),void 0!==c&&(Ce=c?1:2),l=i(i({},l),{},{sectionName:Oi.NAME,notices:Te,childSensitiveDataConsent:Ce});break;case"ct":var Oe,Ie,we,Ne,Ae=[];(null===(Oe=u.mspaOptOutPurposeIds)||void 0===Oe?void 0:Oe.includes(1))&&Ae.push(bi.SHARING_NOTICE),(null===(Ie=u.mspaOptOutPurposeIds)||void 0===Ie?void 0:Ie.includes(2))&&Ae.push(bi.SALE_OPT_OUT_NOTICE),(null===(we=u.mspaOptOutPurposeIds)||void 0===we?void 0:we.includes(3))&&Ae.push(bi.TARGETED_ADVERTISING_OPT_OUT_NOTICE);var ke=[0,0,0];(null===u||void 0===u||null===(Ne=u.mspaOptOutPurposeIds)||void 0===Ne?void 0:Ne.includes(6))&&(ke=[1,1,1]),void 0!==c&&(ke=c?[1,1,1]:[2,2,2]),l=i(i({},l),{},{sectionName:Pi.NAME,notices:Ae,childSensitiveDataConsent:ke});break;case"co":var Pe,De,xe,Ve,Re=[];(null===(Pe=u.mspaOptOutPurposeIds)||void 0===Pe?void 0:Pe.includes(1))&&Re.push(pi.SHARING_NOTICE),(null===(De=u.mspaOptOutPurposeIds)||void 0===De?void 0:De.includes(2))&&Re.push(pi.SALE_OPT_OUT_NOTICE),(null===(xe=u.mspaOptOutPurposeIds)||void 0===xe?void 0:xe.includes(3))&&Re.push(pi.TARGETED_ADVERTISING_OPT_OUT_NOTICE);var Le=0;(null===u||void 0===u||null===(Ve=u.mspaOptOutPurposeIds)||void 0===Ve?void 0:Ve.includes(6))&&(Le=1),void 0!==c&&(Le=c?1:2),l=i(i({},l),{},{sectionName:_i.NAME,notices:Re,childSensitiveDataConsent:Le});break;case"va":var Ue,Me,Ge,Fe,qe=[];(null===(Ue=u.mspaOptOutPurposeIds)||void 0===Ue?void 0:Ue.includes(1))&&qe.push(ai.SHARING_NOTICE),(null===(Me=u.mspaOptOutPurposeIds)||void 0===Me?void 0:Me.includes(2))&&qe.push(ai.SALE_OPT_OUT_NOTICE),(null===(Ge=u.mspaOptOutPurposeIds)||void 0===Ge?void 0:Ge.includes(3))&&qe.push(ai.TARGETED_ADVERTISING_OPT_OUT_NOTICE);var Be=0;(null===u||void 0===u||null===(Fe=u.mspaOptOutPurposeIds)||void 0===Fe?void 0:Fe.includes(6))&&(Be=1),void 0!==c&&(Be=c?1:2),l=i(i({},l),{},{sectionName:vi.NAME,notices:qe,childSensitiveDataConsent:Be});break;case"ca":var je,He,ze,We,Ye=[];(null===(je=u.mspaOptOutPurposeIds)||void 0===je?void 0:je.includes(1))&&Ye.push(Zo.SHARING_OPT_OUT_NOTICE),(null===(He=u.mspaOptOutPurposeIds)||void 0===He?void 0:He.includes(2))&&Ye.push(Zo.SALE_OPT_OUT_NOTICE),(null===(ze=u.mspaOptOutPurposeIds)||void 0===ze?void 0:ze.includes(5))&&Ye.push(Zo.SENSITIVE_DATA_LIMIT_USE_NOTICE);var Ke=[0,0];(null===u||void 0===u||null===(We=u.mspaOptOutPurposeIds)||void 0===We?void 0:We.includes(6))&&(Ke=[1,1]),void 0!==c&&(Ke=c?[1,1]:[2,2]),l=i(i({},l),{},{sectionName:di.NAME,notices:Ye,childSensitiveDataConsent:Ke});break;default:var $e,Je,Qe,Ze,Xe,et=[];(null===($e=u.mspaOptOutPurposeIds)||void 0===$e?void 0:$e.includes(1))&&(et.push(Ko.SHARING_NOTICE),["8F9Dnv0Zkrjf5","16vWS_Cp_tOXw","j2dMRQDxNvEY6"].includes(null===u||void 0===u?void 0:u.inmobiAccountId)&&et.push(Ko.SHARING_OPT_OUT_NOTICE)),(null===(Je=u.mspaOptOutPurposeIds)||void 0===Je?void 0:Je.includes(2))&&et.push(Ko.SALE_OPT_OUT_NOTICE),(null===(Qe=u.mspaOptOutPurposeIds)||void 0===Qe?void 0:Qe.includes(3))&&et.push(Ko.TARGETED_ADVERTISING_OPT_OUT_NOTICE),(null===(Ze=u.mspaOptOutPurposeIds)||void 0===Ze?void 0:Ze.includes(5))&&(et.push(Ko.SENSITIVE_DATA_PROCESSING_OPT_OUT_NOTICE),et.push(Ko.SENSITIVE_DATA_LIMIT_USE_NOTICE));var tt=[0,0,0];(null===u||void 0===u||null===(Xe=u.mspaOptOutPurposeIds)||void 0===Xe?void 0:Xe.includes(6))&&(tt=[1,1,1]),void 0!==c&&(tt=c?[1,1,1]:[2,2,2]),l=i(i({},l),{},{sectionName:ii.NAME,notices:et,childSensitiveDataConsent:tt})}return l},$p=function(e){try{return localStorage.getItem(e)}catch(t){return console.warn("Could not get data from local storage."),null}},Jp=function(e,t){try{return window.localStorage.setItem(e,t),!0}catch(n){return console.warn("Could not save data on local storage: Not enough space."),!1}},Qp=function(e){var t,n=!0,r=!0;try{if(e)return!1;t=window.localStorage;var o="__storage_test__";t.setItem(o,o),t.removeItem(o)}catch(i){n=i instanceof DOMException&&"QuotaExceededError"===i.name&&t&&0!==t.length}try{document.cookie="testcookie=1; SameSite=Lax",r=-1!==document.cookie.indexOf("testcookie")}catch(i){r=!1}finally{document.cookie="testcookie=1; SameSite=Lax; expires=Thu, 01-Jan-1970 00:00:01 GMT"}return n&&r};function Zp(e){return(e=e.toLowerCase()).includes("chrome")||e.includes("chromium")||"comodo dragon"===e?Hn:e.includes("safari")||"mobile safari"===e?zn:e.includes("edge")?Wn:e.includes("samsung internet")?Yn:e.includes("firefox")||"fennec"===e?Kn:$n}function Xp(e){if((e=e.toLowerCase()).includes("android"))return Jn;if(e.includes("windows"))return Zn;switch(e){case"ios":case"ipad":case"iphone":return Qn;case"mac os":case"macos":return Xn;case"linux":case"arch":case"centos":case"chromium os":case"debian":case"deepin":case"elementary os":case"fedora":case"gentoo":case"kali":case"mint":case"opensuse":case"raspbian":case"redhat":case"slackware":case"ubuntu":case"vectorlinux":case"zenwalk":case"manjaro":case"mageia":case"mandriva":return er;case"ipados":return tr;default:return nr}}function eh(e){switch(e.toLowerCase()){case"mobile":return rr;case"tablet":return or;case"":case"desktop":case"laptop":case"pc":return ir;default:return ar}}var th=function(e){switch(e){case"Mac OS":return"macOS";case"Windows":return"Windows";case"CentOS":case"Debian":case"Fedora":case"FreeBSD":case"KaiOS":case"Linux":case"RedHat":case"Raspbian":case"Solaris":case"Ubuntu":case"Unix":case"VectorLinux":return"Linux";default:return"others"}},nh=function(e,t){var n=function(e){var t,n,r,o=new Wp.UAParser(e);return{browser:null===o||void 0===o||null===(t=o.getBrowser())||void 0===t?void 0:t.name,device:null===o||void 0===o||null===(n=o.getDevice())||void 0===n?void 0:n.type,os:th(null===(r=o.getOS())||void 0===r?void 0:r.name)}}(window.navigator.userAgent),r=n.browser,o=n.device,i=n.os;return{browserName:Zp(r),deviceType:void 0===o?"pc":eh(o),cmpPlatform:Xp(i),pageFormat:(null===t||void 0===t?void 0:t.isAMP)?"AMP":"HTTP",country:null===e||void 0===e?void 0:e.country,region:null===e||void 0===e?void 0:e.region,city:null===e||void 0===e?void 0:e.city}};var rh=function(e,t){var n,r,o,i,a,s,c,u=null===t||void 0===t||null===(n=t.coreConfig)||void 0===n||null===(r=n.privacyMode)||void 0===r?void 0:r.includes(rt.GDPR),l=null===t||void 0===t||null===(o=t.coreConfig)||void 0===o||null===(i=o.privacyMode)||void 0===i?void 0:i.includes(rt.USP);return u&&(function(e){var t;return rn.includes(null===e||void 0===e||null===(t=e.country)||void 0===t?void 0:t.toUpperCase())}(e)||(null===t||void 0===t||null===(a=t.coreConfig)||void 0===a||null===(s=a.consentLocations)||void 0===s?void 0:s.includes("WORLDWIDE")))&&(null===e||void 0===e?void 0:e.country)!==un?rt.GDPR:l&&(null===e||void 0===e?void 0:e.country)===un?rt.MSPA:l&&(null===xp||void 0===xp||null===(c=xp.coreConfig)||void 0===c?void 0:c.ccpaViaUsp)&&(null===e||void 0===e?void 0:e.country)===un?rt.USP:null};function oh(e,t,n,r,o){return ih.apply(this,arguments)}function ih(){return(ih=g(f.a.mark((function e(t,n,r,o,a){var s,c,u,l,d,p,h,v,g,m,E,S;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(g=JSON.parse($p(Ht)||"{}"),null!==rh(o,t)){e.next=4;break}return console.warn("Regulation is not applicable, hence visit event is not sent."),e.abrupt("return");case 4:m=null,m=uh(t,o)&&lh()?Et.REJECT:$p(Bt)||null,uh(t,o)&&!lh()&&(m=null),E=i(i({operationType:"visit",accountId:null===t||void 0===t||null===(s=t.coreConfig)||void 0===s?void 0:s.inmobiAccountId,domain:null===(c=window)||void 0===c||null===(u=c.location)||void 0===u?void 0:u.hostname,publisher:null===t||void 0===t||null===(l=t.coreConfig)||void 0===l?void 0:l.publisherName,clientTimestamp:Date.now(),regulation:rh(o,t),cmpTriggered:a,siteUuid:null===t||void 0===t||null===(d=t.coreConfig)||void 0===d?void 0:d.siteUuid,themeUuid:null===t||void 0===t||null===(p=t.coreConfig)||void 0===p?void 0:p.themeUuid,existingCMPStatus:m,existingGBCStatus:$p(jt),paidUser:!!uh(t,o)&&lh(),existingConfigs:g},nh(o,null===t||void 0===t?void 0:t.coreConfig)),{},{gbcApplicable:null===t||void 0===t||null===(h=t.coreConfig)||void 0===h||null===(v=h.gbcConfig)||void 0===v?void 0:v.enabled,consentOrPayApplicable:uh(t,o),advancedApplicable:ch(xp)}),S=JSON.stringify(E),navigator.sendBeacon("https://visit-server.inmobi-choice.io/visit-event",S)?console.log("Visit event sent successfully."):console.error("Failed to send visit event."),Jp("visitTimestamp",r.toString());case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var ah=function(e,t,n){var r;if(!(null===e||void 0===e||null===(r=e.coreConfig)||void 0===r?void 0:r.isAMP)){var o=(new Date).getTime(),i=$p("visitTimestamp");if(i){o-parseInt(i,10)>18e5||function(e,t){var n=new Date(e),r=new Date(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()&&n.getDate()===r.getDate()}(o,i)?(console.log("More than ".concat(30," minutes have passed since the stored timestamp.")),oh(e,i,o,t,n)):console.log("Less than ".concat(30," minute have passed since the stored timestamp."))}else oh(e,i,o,t,n)}},sh=function(e,t){var n,r=e.coreConfig,o=r.inmobiAccountId,i=r.gdprEncodingMode,a=[].concat(c(rn),["BRAZIL","CANADA","JPN","TWN","IDN","KOR"]).includes(null===t||void 0===t||null===(n=t.country)||void 0===n?void 0:n.toUpperCase()),s=i===an.TCF;return"JYWDqeLS64fbt"===o&&a&&s},ch=function(e){var t,n;return(null===e||void 0===e||null===(t=e.coreConfig)||void 0===t||null===(n=t.features)||void 0===n?void 0:n.advancedCustomizations)||!1},uh=function(e,t){var n,r,o,i,a,s=rn.includes(null===t||void 0===t||null===(n=t.country)||void 0===n?void 0:n.toUpperCase());return(null===e||void 0===e||null===(r=e.coreConfig)||void 0===r||null===(o=r.privacyMode)||void 0===o?void 0:o.includes(rt.GDPR))&&function(e){var t,n;return(null===e||void 0===e||null===(t=e.coreConfig)||void 0===t||null===(n=t.features)||void 0===n?void 0:n.consentOrPay)||!1}(e)&&s&&(null===e||void 0===e||null===(i=e.coreConfig)||void 0===i||null===(a=i.consentOrPay)||void 0===a?void 0:a.countries.includes(null===t||void 0===t?void 0:t.country.toUpperCase()))},lh=function(){return"subscribed"===window.__user_status},dh=function(e){for(var t=["/",window.location.pathname],n=["",window.location.hostname],r=0,o=t;r<o.length;r++){var i,a=o[r],s=W(n);try{for(s.s();!(i=s.n()).done;){var c=i.value,u="".concat(e,"=;").concat("expires=Thu, 01 Jan 1970 00:00:00 GMT",";path=").concat(a).concat(c?";domain=".concat(c):"");document.cookie=u}}catch(l){s.e(l)}finally{s.f()}}},ph=function(e){var t,n=W(document.cookie.split(";"));try{for(n.s();!(t=n.n()).done;){var r=qr(t.value.trim().split("="),2),o=r[0],i=r[1];if(o===e)return decodeURIComponent(i)}}catch(a){n.e(a)}finally{n.f()}return null},hh=function(){function e(){var t=this;m(this,e),r(this,"__uspapi",void 0),r(this,"__gppapi",void 0),r(this,"_uspVersion",1),r(this,"_deleteCallbacks",[]),r(this,"_mspaConfig",void 0),r(this,"isUspJurisdiction",g(f.a.mark((function e(){var t,n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Uh.coreConfig,n=t.uspJurisdiction,t.isAMP){e.next=7;break}return e.next=4,Mh.checkUserLocation();case 4:return(r=e.sent)&&"string"===typeof r.region&&(r=r.region.toUpperCase()),e.abrupt("return",n.includes(r));case 7:return e.abrupt("return",!0);case 8:case"end":return e.stop()}}),e)})))),this.__uspapi=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;if(n===t._uspVersion)if("function"===typeof r)try{void 0!==o?t[e](r,o):t[e](r)}catch(i){console.error("The function ".concat(e," is not defined"))}else if(void 0===r)try{t[e]()}catch(i){console.error("The function ".concat(e," is missing required parameters"))}else console.warn("The third parameter should be a callback for the ".concat(e," function"));else console.warn("this command is only available for uspVersion ".concat(1))},this.__gppapi=this.__uspapi,Object.assign(window,{__gppapi:this.__uspapi})}return S(e,[{key:"mspaConfig",get:function(){return this._mspaConfig}}]),S(e,[{key:"initUsp",value:function(){var e=this,t=this.__uspapi;if(Uh.coreConfig.isAMP)this.getUSPData((function(t){t||e.setUspDftData((function(e){Xa(!0,{type:yt.CONSENT_RESPONSE,action:bt.ACCEPT,info:e.uspString,consentMetadata:{consentStringType:_t.USP,gdprApplies:!1}})}))}));else{var n=Hh.getCookie(),r="string"===typeof n&&"Y"===n[1];"string"===typeof n&&r||this.setDefaultUSPString()}Object.assign(window,{__uspapi:t})}},{key:"uspPing",value:function(){var e=g(f.a.mark((function e(t){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof t){e.next=8;break}return e.next=3,Mh.checkUserLocation();case 3:(n=e.sent)&&"object"===typeof n&&(n=n.region),t({mode:Uh.coreConfig.privacyMode,jurisdiction:Uh.coreConfig.uspJurisdiction,location:n,cmpLoaded:!0},!0),e.next=9;break;case 8:console.error("The callback function is missing");case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"setUspDftData",value:function(){var e=g(f.a.mark((function e(t){var n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=Hh.getCookie(),r="string"===typeof n&&"Y"===n[1],Uh.coreConfig.isAMP||"string"===typeof n&&r||this.setDefaultUSPString(),this.getUSPData(t);case 4:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"setUspData",value:function(){var e=g(f.a.mark((function e(t,n){var r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:"function"===typeof t?"string"!==typeof(r=Hh.encode(this._uspVersion,n))?t(null,!1):(Uh.coreConfig.isAMP||Hh.setCookie(r),t({version:this._uspVersion,uspString:r,doNotSell:n},!0)):console.error("The callback function is missing");case 1:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"getUSPData",value:function(){var e=g(f.a.mark((function e(t){var n,r,o,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("function"!==typeof t){e.next=13;break}if("string"!==typeof(n=Uh.coreConfig.isAMP?Uh.ampData.consentMetadata&&Uh.ampData.consentMetadata.consentStringType===_t.USP&&Uh.ampData.consentString:Hh.getCookie())||n===Ot){e.next=7;break}r=n.split("")[0],t({version:r,uspString:n},!0),e.next=11;break;case 7:return e.next=9,this.isUspJurisdiction();case 9:e.sent?(o="string"!==typeof n,i=Hh.encode(this._uspVersion,!1,o),t({version:this._uspVersion,uspString:i},!0)):t({version:this._uspVersion,uspString:Ct},!0);case 11:e.next=14;break;case 13:console.error("The callback function is missing");case 14:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"registerDeletion",value:function(){var e=g(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:this._deleteCallbacks.push(t);case 1:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"performDeletion",value:function(){var e=g(f.a.mark((function e(){var t,n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=W(this._deleteCallbacks);try{for(t.s();!(n=t.n()).done;){r=n.value;try{r()}catch(o){console.error("error in performDeletion callback",o)}}}catch(i){t.e(i)}finally{t.f()}case 2:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"displayUspUi",value:function(){var e=g(f.a.mark((function e(t){var n,r,o=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=o.length>1&&void 0!==o[1]?o[1]:1,(null===(r=Mh.userLocation)||void 0===r?void 0:r.country)===un?n===ft.DNS&&pf.displayUi("USP",n):console.warn("Regulation is only applicable in USA region, user is currently in ".concat(null===r||void 0===r?void 0:r.country.toUpperCase()," country"));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"setDefaultUSPString",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Mh.userLocation,n=Uh.coreConfig.uspLspact||"N",r=Ot+n,(null===t||void 0===t?void 0:t.country)!==un?(console.log("uspData set usp out of jurisiction value"),r=Ct):(console.log("uspData default usp value based on gpc signal"),es()?(o=ts(),r=o?It+n:wt+n):(console.warn("globalPrivacyControl is not available in the browser. Setting usp string as ",wt),r=wt+n)),Hh.setCookie(r);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"getGppData",value:function(){var e=g(f.a.mark((function e(t,n){var r,o,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((i=n.region)||t({sectionData:null}),!(!(null===Uh||void 0===Uh||null===(r=Uh.coreConfig)||void 0===r?void 0:r.isCoveredTransaction)&&uf&&Object.keys(null===uf||void 0===uf?void 0:uf.getObject()).length>0)||On.includes(i)||(null===n||void 0===n?void 0:n.country)===un){e.next=6;break}i=Object.keys(null===uf||void 0===uf?void 0:uf.getObject())[0],e.next=41;break;case 6:e.t0=i,e.next="ia"===e.t0?9:"tn"===e.t0?11:"nj"===e.t0?13:"nh"===e.t0?15:"ne"===e.t0?17:"de"===e.t0?19:"tx"===e.t0?21:"mt"===e.t0?23:"or"===e.t0?25:"fl"===e.t0?27:"ca"===e.t0?29:"ct"===e.t0?31:"co"===e.t0?33:"va"===e.t0?35:"ut"===e.t0?37:39;break;case 9:return i=da.NAME,e.abrupt("break",41);case 11:return i=Va.NAME,e.abrupt("break",41);case 13:return i=Aa.NAME,e.abrupt("break",41);case 15:return i=Ta.NAME,e.abrupt("break",41);case 17:return i=ma.NAME,e.abrupt("break",41);case 19:return i=ia.NAME,e.abrupt("break",41);case 21:return i=Xi.NAME,e.abrupt("break",41);case 23:return i=qi.NAME,e.abrupt("break",41);case 25:return i="usor",e.abrupt("break",41);case 27:return i=Ri.NAME,e.abrupt("break",41);case 29:return i=di.NAME,e.abrupt("break",41);case 31:return i=Pi.NAME,e.abrupt("break",41);case 33:return i=_i.NAME,e.abrupt("break",41);case 35:return i=vi.NAME,e.abrupt("break",41);case 37:return i=Oi.NAME,e.abrupt("break",41);case 39:return i=ii.NAME,e.abrupt("break",41);case 41:(null===Uh||void 0===Uh||null===(o=Uh.coreConfig)||void 0===o?void 0:o.mspaJurisdiction)===sn&&(i=ii.NAME),window.__gpp("ping",(function(e,n){t({sectionData:null===uf||void 0===uf?void 0:uf.getSection(i)})}));case 43:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"isUserLocationChanged",value:function(){var e=g(f.a.mark((function e(t){var n,r,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n?void 0:n.mspaJurisdiction)!==cn){e.next=10;break}if(r=Mh.userLocation.region,(o=$p(Gt))===r){e.next=6;break}return t({locationChanged:!0,previousLocation:o,currentLocation:r}),e.abrupt("return");case 6:return t({locationChanged:!1,previousLocation:o,currentLocation:r}),e.abrupt("return");case 10:return console.warn("MSPA Preferred Regulatory Path is National. This callback only applies when Regulatory Path is National + State"),t(null),e.abrupt("return");case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),fh=n(31),vh=function(){function e(){var t=this;m(this,e),r(this,"__tcfapiui",void 0),this.__tcfapiui=function(e){for(var n=t.__tcfapiui.a=t.__tcfapiui.a||[],r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];n.push([e].concat(o))},window.__tcfapiui||(window.__tcfapiui=this.__tcfapiui)}return S(e,[{key:"displayUi",value:function(){var t=g(f.a.mark((function t(n){var r,o,i,a,s,c,u,l,d,p,h,v,g,m,E=arguments;return f.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(s=E.length>1&&void 0!==E[1]?E[1]:gt.PURPOSES_PAGE,c=E.length>2&&void 0!==E[2]&&E[2],u=E.length>3&&void 0!==E[3]&&E[3],e.createUiScriptBlock(),l=(null===(r=Uh.coreConfig.privacyMode)||void 0===r?void 0:r.includes(n))||(null===(o=Uh.coreConfig)||void 0===o||null===(i=o.gbcConfig)||void 0===i?void 0:i.enabled),d="GDPR"===n,u?"euconsent-v2 not found."===(null===(p=Bh.get(kt))||void 0===p?void 0:p.message)?Df.cmpApi.update("",u):Df.cmpApi.update(p,u):Lh.updateApiVisible(l),l){t.next=10;break}return console.warn("attempt to show disabled CMP UI regulation=".concat(n)),t.abrupt("return");case 10:if(!d||Yh){t.next=13;break}return t.next=13,Kh(!0);case 13:return h=If()||!1,t.next=16,Mh.checkUserLocation();case 16:return v=t.sent,t.next=19,lf.fetchMspaConfig();case 19:if(g=t.sent,t.t0=n,t.t1=s,t.t2=c,t.t3=Uh,t.t4=d?Lh.loadGVL():void 0,!d){t.next=31;break}return t.next=28,Lh.getConsents();case 28:t.t5=t.sent,t.next=32;break;case 31:t.t5={};case 32:if(t.t6=t.t5,t.t7=d?jh.data.data.nonIabVendorList:{},t.t8=d?$h.fetchPartners():void 0,t.t9=h,!h){t.next=42;break}return t.next=39,wf(null===Uh||void 0===Uh||null===(a=Uh.coreConfig)||void 0===a?void 0:a.lang_,n);case 39:t.t10=t.sent,t.next=43;break;case 42:t.t10=void 0;case 43:t.t11=t.t10,t.t12=Lh.cookieValues,t.t13=g,t.t14=v,m={regulation:t.t0,page:t.t1,isMandatory:t.t2,config:t.t3,gvl:t.t4,consentInfo:t.t6,nonIabVendorList:t.t7,googleData:t.t8,gbcEnabled:t.t9,gbcPurposesData:t.t11,cookieValues:t.t12,mspaPurposesData:t.t13,userLocation:t.t14},null===uf||void 0===uf||uf.setCmpDisplayStatus(Rr.VISIBLE),window.__tcfapiui("displayUi",m);case 50:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()}],[{key:"createUiScriptBlock",value:function(){var e=window.document;if(!e.getElementById("__tcfapiuiscript")){var t=document.createElement("script"),n=(Uh.coreConfig.lang_?Uh.coreConfig.lang_.split("-")[0]:"en").toLowerCase();fh.includes(n)||(n="en");var r="https://cmp.inmobi.com/tcfv2/61/cmp2ui.js";r=r.replace(".js","-".concat(n,".js")),t.type="text/javascript",t.id="__tcfapiuiscript",t.src=r,e.head.appendChild(t)}}}]),e}(),gh=function(){function e(t){switch(m(this,e),r(this,"_isUserInEU",void 0),r(this,"_isUserInUS",void 0),r(this,"_userSpecificLocation",void 0),r(this,"_userLocation",void 0),this._userSpecificLocation=null,this._userLocation=null,t){case"inUS":this._isUserInEU=true,this._isUserInUS=false;break;case"inEU":this._isUserInEU=true,this._isUserInUS=false;break;default:this._isUserInEU=true,this._isUserInUS=false}}return S(e,[{key:"checkUserLocation",value:function(){var e=g(f.a.mark((function e(){var t,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!zl()||Uh.coreConfig.isAMP){e.next=5;break}return e.abrupt("return",Hl(null===(t=window.frameElement)||void 0===t?void 0:t.getAttribute("data-regulation")));case 5:if(this._userLocation){e.next=11;break}return e.next=8,Rp.get("https://cmp.inmobi.com/geoip");case 8:return n=e.sent,this._userLocation=n.data,e.abrupt("return",n.data);case 11:return e.abrupt("return",this._userLocation);case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(0),console.log(e.t0);case 17:case"end":return e.stop()}}),e,this,[[0,14]])})));return function(){return e.apply(this,arguments)}}()},{key:"isUserInEU",set:function(e){xl("this should only be used for testing"),this._isUserInEU=e},get:function(){return this._isUserInEU}},{key:"isUserInUS",set:function(e){xl("this should only be used for testing"),this._isUserInUS=e},get:function(){return this._isUserInUS}},{key:"userSpecificLocation",set:function(e){xl("this should only be used for testing"),this._userSpecificLocation=e},get:function(){return this._userSpecificLocation}},{key:"userLocation",get:function(){return this._userLocation}}]),e}();function mh(e){return function(e,t){return Eh="",Sh(t).dispatch(e),function(e){return btoa(function(e){for(var t="",n=0;n<e.length;n++)for(var r=e[n],o=0;o<4;o++)t+=String.fromCharCode(r>>8*o&255);return t}(function(e){var t,n=e.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)yh(r,Ih(e.substring(t-64,t)));e=e.substring(t-64);var o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)o[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(o[t>>2]|=128<<(t%4<<3),t>55)for(yh(r,o),t=0;t<16;t++)o[t]=0;return o[14]=8*n,yh(r,o),r}(e)))}(Eh)}(e)}var Eh="";function Sh(e,t,n){n=n||[];var r=function(e){Eh+=e};return{dispatch:function(e){var t=typeof e;return null===e&&(t="null"),this["_"+t](e)},_object:function(e){var t=Object.prototype.toString.call(e),o=/\[object (.*)\]/i.exec(t);o=(o=o?o[1]:"unknown:["+t+"]").toLowerCase();var i;if((i=n.indexOf(e))>=0)return this.dispatch("[CIRCULAR:"+i+"]");if(n.push(e),"object"===o||"function"===o||"asyncfunction"===o){var a=Object.keys(e);r("object:"+a.length+":");var s=this;return a.forEach((function(t){s.dispatch(t),r(":"),s.dispatch(e[t]),r(",")}))}if(!this["_"+o])throw new Error('Unknown object type "'+o+'"');this["_"+o](e)},_array:function(e){var t=this;return r("array:"+e.length+":"),e.forEach((function(e){return t.dispatch(e)}))},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(e){r("fn:"),this.dispatch(e.toString())},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(e){r("map:");var t=Array.from(e);return this._array(t)},_set:function(e){r("set:");var t=Array.from(e);return this._array(t)}}}function yh(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];n=bh(n,r,o,i,t[0],7,-680876936),i=bh(i,n,r,o,t[1],12,-389564586),o=bh(o,i,n,r,t[2],17,606105819),r=bh(r,o,i,n,t[3],22,-1044525330),n=bh(n,r,o,i,t[4],7,-176418897),i=bh(i,n,r,o,t[5],12,1200080426),o=bh(o,i,n,r,t[6],17,-1473231341),r=bh(r,o,i,n,t[7],22,-45705983),n=bh(n,r,o,i,t[8],7,1770035416),i=bh(i,n,r,o,t[9],12,-1958414417),o=bh(o,i,n,r,t[10],17,-42063),r=bh(r,o,i,n,t[11],22,-1990404162),n=bh(n,r,o,i,t[12],7,1804603682),i=bh(i,n,r,o,t[13],12,-40341101),o=bh(o,i,n,r,t[14],17,-1502002290),n=Th(n,r=bh(r,o,i,n,t[15],22,1236535329),o,i,t[1],5,-165796510),i=Th(i,n,r,o,t[6],9,-1069501632),o=Th(o,i,n,r,t[11],14,643717713),r=Th(r,o,i,n,t[0],20,-373897302),n=Th(n,r,o,i,t[5],5,-701558691),i=Th(i,n,r,o,t[10],9,38016083),o=Th(o,i,n,r,t[15],14,-660478335),r=Th(r,o,i,n,t[4],20,-405537848),n=Th(n,r,o,i,t[9],5,568446438),i=Th(i,n,r,o,t[14],9,-1019803690),o=Th(o,i,n,r,t[3],14,-187363961),r=Th(r,o,i,n,t[8],20,1163531501),n=Th(n,r,o,i,t[13],5,-1444681467),i=Th(i,n,r,o,t[2],9,-51403784),o=Th(o,i,n,r,t[7],14,1735328473),n=Ch(n,r=Th(r,o,i,n,t[12],20,-1926607734),o,i,t[5],4,-378558),i=Ch(i,n,r,o,t[8],11,-2022574463),o=Ch(o,i,n,r,t[11],16,1839030562),r=Ch(r,o,i,n,t[14],23,-35309556),n=Ch(n,r,o,i,t[1],4,-1530992060),i=Ch(i,n,r,o,t[4],11,1272893353),o=Ch(o,i,n,r,t[7],16,-155497632),r=Ch(r,o,i,n,t[10],23,-1094730640),n=Ch(n,r,o,i,t[13],4,681279174),i=Ch(i,n,r,o,t[0],11,-358537222),o=Ch(o,i,n,r,t[3],16,-722521979),r=Ch(r,o,i,n,t[6],23,76029189),n=Ch(n,r,o,i,t[9],4,-640364487),i=Ch(i,n,r,o,t[12],11,-421815835),o=Ch(o,i,n,r,t[15],16,530742520),n=Oh(n,r=Ch(r,o,i,n,t[2],23,-995338651),o,i,t[0],6,-198630844),i=Oh(i,n,r,o,t[7],10,1126891415),o=Oh(o,i,n,r,t[14],15,-1416354905),r=Oh(r,o,i,n,t[5],21,-57434055),n=Oh(n,r,o,i,t[12],6,1700485571),i=Oh(i,n,r,o,t[3],10,-1894986606),o=Oh(o,i,n,r,t[10],15,-1051523),r=Oh(r,o,i,n,t[1],21,-2054922799),n=Oh(n,r,o,i,t[8],6,1873313359),i=Oh(i,n,r,o,t[15],10,-30611744),o=Oh(o,i,n,r,t[6],15,-1560198380),r=Oh(r,o,i,n,t[13],21,1309151649),n=Oh(n,r,o,i,t[4],6,-145523070),i=Oh(i,n,r,o,t[11],10,-1120210379),o=Oh(o,i,n,r,t[2],15,718787259),r=Oh(r,o,i,n,t[9],21,-343485551),e[0]=wh(n,e[0]),e[1]=wh(r,e[1]),e[2]=wh(o,e[2]),e[3]=wh(i,e[3])}function _h(e,t,n,r,o,i){return t=wh(wh(t,e),wh(r,i)),wh(t<<o|t>>>32-o,n)}function bh(e,t,n,r,o,i,a){return _h(t&n|~t&r,e,t,o,i,a)}function Th(e,t,n,r,o,i,a){return _h(t&r|n&~r,e,t,o,i,a)}function Ch(e,t,n,r,o,i,a){return _h(t^n^r,e,t,o,i,a)}function Oh(e,t,n,r,o,i,a){return _h(n^(t|~r),e,t,o,i,a)}function Ih(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function wh(e,t){return e+t&4294967295}var Nh,Ah=function(){function e(){m(this,e),r(this,"_values",void 0),this._values={euconsent:"",nonIabVendorConsent:"",nonIabVendorsHash:"",fetched:!1,promise:Promise.resolve()}}return S(e,[{key:"values",set:function(e){this._values=e},get:function(){return this._values}}]),e}(),kh=function(){function e(){m(this,e),r(this,"data",void 0),r(this,"_repromptOptionsHash",void 0),r(this,"_storedHash",void 0),this.data=new Ah,this._repromptOptionsHash="",this._storedHash=""}return S(e,[{key:"shouldReprompt",value:function(){var e=this.generateRepromptOptionsHash(),t=this._storedHash,n=!1;return(t===e||!lh())&&("*"!==t&&t!==e&&(n=!0),n)}},{key:"generateRepromptOptionsHash",value:function(){var e,t,n,r,o=this.data.values,i=o.euconsent,a=o.nonIabVendorConsent,s=o.nonIabVendorsHash,c=(o.gppConsent,Uh.coreConfig),u=c.stacks,l=c.initScreenBodyTextOption,d=Uh.premiumProperties,p=d.vendorWhitelist,h=d.vendorBlacklist,f=za(Uh),v=f.purposeIds,g=f.purposeLegitimateInterestIds,m=f.specialFeaturesIds,E=f.specialPurposesIds,S=f.featuresIds,y=null===Uh||void 0===Uh||null===(e=Uh.coreConfig)||void 0===e||null===(t=e.gbcConfig)||void 0===t?void 0:t.applicablePurposes,_=null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n||null===(r=n.gbcConfig)||void 0===r?void 0:r.enabled,b=this.createNewHash([u,v,g,m,E,S,p,h,y,_]),T=i;return T="".concat(T,".").concat(l,".").concat(b),T=a?"".concat(T,".").concat(a):T,T=s?"".concat(T,".").concat(s):T,this._repromptOptionsHash=T}},{key:"createNewHash",value:function(e){return mh(e)}},{key:"setValues",value:function(e){this.data.values=e}},{key:"getValues",value:function(){return this.data.values}},{key:"storedHash",set:function(e){this._storedHash=e},get:function(){return this._storedHash}}]),e}(),Ph=function(){function e(){m(this,e),r(this,"LOWERCASE_START",97),r(this,"PAD_ZEROS","00000000000000000000000000000000000000000000000000"),r(this,"COOKIE_MAX_AGE",33696e3),r(this,"bitSizes",{cmpId:12,created:36,consentScreen:6,consentLanguage:12,cmpVersion:12,cmpVersionOld:6,consentValue:1,defaultConsent:1,endVendorId:16,encodingType:1,isRange:1,lastUpdated:36,maxVendorId:16,numberCustomPurposes:6,numEntries:12,publisherPurposesVersion:12,purposesAlowed:24,standardPurposesAllowed:24,startVendorId:16,version:6,vendorListVersion:12}),r(this,"_binaryStr",void 0),r(this,"_bitPosition",void 0),r(this,"TCString",void 0),this._binaryStr="",this._bitPosition=0,this.TCString=new Me}return S(e,[{key:"encode",value:function(e,t){var n,r;switch(e.cookieName){case Pt:n=Ef(["cookieName","created","lastUpdated","cmpId","cmpVersion","maxVendorId","vendorConsents"],e),r="nonIabVendorToBinary";break;case Dt:n=Ef(["cookieName","publisherPurposesVersion","standardPurposesAllowed","numberCustomPurposes","version","created","lastUpdated","cmpId","cmpVersion","consentScreen","consentLanguage","vendorListVersion","customPurposeConsents"],e),r="publisherConsentToBinary";break;case kt:n=Ef(["cookieName","vendorConsents","purposeConsents","specialFeatureOptins","purposeLegitimateInterests","vendorLegitimateInterests","purposeLegitimateInterests","publisherConsent","publisherLegitimate","publisherPurposeIds","publisherPurposeLegitimateInterestIds","vendorsDisclosed","consentScreen"],e),r="encodeEuConsent";break;case Rt:n=Ef(["cookieName","vendorConsents","version"],e),r="encodeGoogleConsent"}if(r&&n){if(n.notFound)return new Error("".concat(n.notFound," keys not found"));if(r.includes("ToBinary")){var o=this[r]({verifiedObject:n,metadataOnly:t}),i=this.binaryToBytes(o);return this.toWebSafeBase64(i)}return this[r](n)}return new Error("Invalid cookie name")}},{key:"decode",value:function(e,t){var n="";switch(e){case Pt:n="decodeNonIabVendorBinary";break;case Dt:n="decodePublisherBinary";break;case kt:n="decodeEuConsent";break;case Rt:n="decodeGoogleConsent"}if(n){if(n.includes("Binary")){var r=this.fromWebSafeBase64(t),o=this.bytesToBinary(r);return this[n](o)}return this[n](t)}return new Error("Invalid cookie name")}},{key:"addBinaryField",value:function(e,t,n){var r=(e||0).toString(2);if(!(r.length<=t))throw new Error("Encountered an overflow setting cookie field ".concat(n));r=this.PAD_ZEROS.substr(0,t-r.length)+r,this.binaryStr+=r}},{key:"encodeGoogleConsent",value:function(e){var t="".concat(e.version,"~");return Uh.coreConfig.isAMP?"".concat(t).concat(e.vendorConsents.join(".")):e.vendorConsents.reduce((function(e,t,n,r){if(0===n)return e.concat(t);var o=r[n]?t-r[n-1]:null;return o?e.concat(".".concat(o)):e}),t)}},{key:"decodeGoogleConsent",value:function(e){var t,n=null===(t=Wa(e,Uh.coreConfig.isAMP).match(/\d+/g))||void 0===t?void 0:t.map((function(e){return parseInt(e,10)}));return{version:null===n||void 0===n?void 0:n.shift(),consentIds:n}}},{key:"encodeEuConsent",value:function(e){var t,n=i({},e.vendorConsents),o=i({},e.vendorLegitimateInterests);e.vendorConsents=n,e.vendorLegitimateInterests=o;var a=function(t){for(var n in e[t]){var r;(null===e||void 0===e?void 0:e.consentScreen)!==gt.INIT_PAGE||!(null===Uh||void 0===Uh||null===(r=Uh.coreConfig)||void 0===r?void 0:r.legitimateInterestOptIn)||"vendorLegitimateInterests"!==t&&"purposeLegitimateInterests"!==t?e[t][n]?Yh[t].set(parseInt(n)):Yh[t].unset(parseInt(n)):Yh[t].set(parseInt(n))}};return[{value:e.publisherConsent,tcModelName:"publisherConsents",reduceArray:e.publisherPurposeIds},{value:e.publisherLegitimate,tcModelName:"publisherLegitimateInterests",reduceArray:e.publisherPurposeLegitimateInterestIds}].forEach((function(t){void 0!==t.value&&(e[t.tcModelName]=t.reduceArray.reduce((function(e,n){return i(i({},e),{},r({},n,t.value))}),{}))})),a("vendorConsents"),a("purposeConsents"),a("specialFeatureOptins"),a("vendorLegitimateInterests"),a("purposeLegitimateInterests"),a("publisherConsents"),a("publisherLegitimateInterests"),(null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.includeVendorsDisclosedSegment)&&a("vendorsDisclosed"),bf(Yh)}},{key:"decodeEuConsent",value:function(e){return Tf(e)}},{key:"nonIabVendorToBinary",value:function(e){var t=e.verifiedObject,n=e.metadataOnly;if(this.binaryStr="",this.addBinaryField(gf(t.created),this.bitSizes.created,"created"),this.addBinaryField(gf(t.lastUpdated),this.bitSizes.lastUpdated,"lastUpdated"),this.addBinaryField(t.cmpId,this.bitSizes.cmpId,"cmpId"),this.addBinaryField(t.cmpVersion,this.bitSizes.cmpVersion,"cmpVersion"),n)return this.binaryStr;this.addBinaryField(t.maxVendorId,this.bitSizes.maxVendorId,"maxVendorId");for(var r=1;r<=t.maxVendorId;r++)this.binaryStr+=t.vendorConsents[r]?"1":"0";return this.binaryStr}},{key:"decodeNonIabVendorBinary",value:function(e){this.bitPosition=0;for(var t={created:mf(this.getBits(this.bitSizes.created,e)),lastUpdated:mf(this.getBits(this.bitSizes.lastUpdated,e)),cmpId:this.getBits(this.bitSizes.cmpId,e),cmpVersion:this.getBits(this.bitSizes.cmpVersion,e),maxVendorId:this.getBits(this.bitSizes.maxVendorId,e),vendorConsents:[void 0]},n=t.maxVendorId||1,r=new Array(n),o=0;o<t.maxVendorId;o++)r[o+1]="1"===e.charAt(this._bitPosition+o);return t.vendorConsents=r,t}},{key:"publisherConsentToBinary",value:function(e){var t=e.verifiedObject,n=e.metadataOnly;if(this.binaryStr="",2!==t.version)throw new Error("version "+t.version+" not supported");if(this.addBinaryField(t.version,this.bitSizes.version,"version"),this.addBinaryField(gf(t.created),this.bitSizes.created,"created"),this.addBinaryField(gf(t.lastUpdated),this.bitSizes.lastUpdated,"lastUpdated"),this.addBinaryField(t.cmpId,this.bitSizes.cmpId,"cmpId"),this.addBinaryField(t.cmpVersion,this.bitSizes.cmpVersion,"cmpVersion"),this.addBinaryField(t.consentScreen,this.bitSizes.consentScreen,"consentScreen"),this.addBinaryField(this.languageToCookieValue(t.consentLanguage),this.bitSizes.consentLanguage,"consentLanguage"),this.addBinaryField(t.vendorListVersion,this.bitSizes.vendorListVersion,"vendorListVersion"),this.addBinaryField(t.publisherPurposesVersion,this.bitSizes.publisherPurposesVersion,"publisherPurposesVersion"),n)return this.binaryStr;this.addBinaryField(t.standardPurposesAllowed,this.bitSizes.standardPurposesAllowed,"standardPurposesAllowed"),this.addBinaryField(t.numberCustomPurposes,this.bitSizes.numberCustomPurposes,"numberCustomPurposes");for(var r=1;r<=t.numberCustomPurposes;r++)this.binaryStr+=t.customPurposeConsents[r]?"1":"0";return this.binaryStr}},{key:"decodePublisherBinary",value:function(e){this.bitPosition=0;for(var t={version:this.getBits(this.bitSizes.version,e),created:mf(this.getBits(this.bitSizes.created,e)),lastUpdated:mf(this.getBits(this.bitSizes.lastUpdated,e)),cmpId:this.getBits(this.bitSizes.cmpId,e),cmpVersion:this.getBits(this.bitSizes.cmpVersion,e),consentScreen:this.getBits(this.bitSizes.consentScreen,e),consentLanguage:this.languageFromCookieValue(this.getBits(this.bitSizes.consentLanguage,e)),vendorListVersion:this.getBits(this.bitSizes.vendorListVersion,e),publisherPurposesVersion:this.getBits(this.bitSizes.publisherPurposesVersion,e),standardPurposesAllowed:this.getBits(this.bitSizes.standardPurposesAllowed,e),numberCustomPurposes:this.getBits(this.bitSizes.numberCustomPurposes,e),customPurposeConsents:[void 0]},n=new Array(t.numberCustomPurposes+1),r=0;r<t.numberCustomPurposes;r++)n[r+1]="1"===e.charAt(this._bitPosition+r);return t.customPurposeConsents=n,t}},{key:"binaryToBytes",value:function(e){var t="";e+=this.PAD_ZEROS.substr(0,7-(e.length+7)%8);for(var n=0;n<e.length;n+=8)t+=String.fromCharCode(parseInt(e.substr(n,8),2));return t}},{key:"bytesToBinary",value:function(e){for(var t="",n=0;n<e.length;n++)t+=this.binary8Bits(e.charCodeAt(n));return t}},{key:"binary8Bits",value:function(e){var t=["0000","0001","0010","0011","0100","0101","0110","0111","1000","1001","1010","1011","1100","1101","1110","1111"];return t[e>>>4&15]+t[15&e]}},{key:"getBits",value:function(e,t){var n=parseInt(t.substr(this.bitPosition,e),2);return this.bitPosition+=e,n}},{key:"toWebSafeBase64",value:function(e){return btoa(e).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}},{key:"fromWebSafeBase64",value:function(e){return atob(e.replace(/-/g,"+").replace(/_/g,"/"))}},{key:"languageToCookieValue",value:function(e){return 64*(e.charCodeAt(0)-this.LOWERCASE_START)+(e.charCodeAt(1)-this.LOWERCASE_START)}},{key:"languageFromCookieValue",value:function(e){return String.fromCharCode(this.LOWERCASE_START+e/64>>>0)+String.fromCharCode(this.LOWERCASE_START+e%64)}},{key:"deleteCookie",value:function(e,t){document.cookie="".concat(e,"=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; max-age=-1; domain=").concat(t)}},{key:"fallbackToLocalStorage",value:function(e,t){this.saveOnLocalStorage(e,t)&&this.deleteCookie(e)}},{key:"saveOnLocalStorage",value:function(e,t){try{return window.localStorage.setItem(e,t),!0}catch(n){return console.warn("Could not save data on local storage: Not enough space."),!1}}},{key:"set",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!1;n&&(r=this.saveOnLocalStorage(e,t)),r||_f({cookieName:e,encodedValue:t,maxAge:this.COOKIE_MAX_AGE})}},{key:"getFromLocalStorage",value:function(e){try{return window.localStorage.getItem(e)}catch(t){return console.warn("Could not get data from local storage."),null}}},{key:"get",value:function(e){var t;if(null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.isAMP)return new Error("AMP does not support cookies");if(this.getFromLocalStorage(e))return this.getFromLocalStorage(e);var n=e.trim(),r=document.cookie.split(";").filter((function(e){return e.trim().startsWith(n+"=")})).map((function(e){return e.trim().substring(n.length+1)}));if(r.length){var o="";return o=e===kt?Of(r):r[0],e!==kt&&e!==Vt&&e!==Rt&&e!==Ut&&this.fallbackToLocalStorage(n,o),o}return new Error("".concat(e," not found."))}},{key:"bitPosition",get:function(){return this._bitPosition},set:function(e){this._bitPosition=e}},{key:"binaryStr",set:function(e){this._binaryStr=e},get:function(){return this._binaryStr}}]),e}(),Dh=n(50),xh=n.n(Dh),Vh={bg:"\u041f\u043e\u0432\u0435\u0440\u0438\u0442\u0435\u043b\u043d\u043e\u0441\u0442",hr:"Privatnost",cs:"Ochrana osobn\xedch \xfadaj\u016f",da:"Privatlivets fred",nl:"Privacy",et:"Privaatsus",fi:"Yksityisyys",fr:"Confidentialit\xe9",de:"Datenschutz",en:"Privacy",el:"\u0391\u03c0\u03cc\u03c1\u03c1\u03b7\u03c4\u03bf",hu:"Adatv\xe9delem",it:"Riservatezza",lv:"Priv\u0101tums",lt:"Privatumas",mt:"Privatezza",no:"Personvern",pl:"Prywatno\u015b\u0107",pt:"Privacidade",ro:"Confiden\u021bialitate",ru:"\u041a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c",sk:"S\xfakromie",sl:"Zasebnost",es:"Privacidad",sv:"Integritet",ar:"\u0625\u0639\u062f\u0627\u062f\u0627\u062a \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629",fa:"\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062d\u0631\u06cc\u0645 \u062e\u0635\u0648\u0635\u06cc",uk:"\u043a\u043e\u043d\u0444\u0456\u0434\u0435\u043d\u0446\u0456\u0439\u043d\u0456\u0441\u0442\u044c",tr:"Mahremiyet",zh:"\u96b1\u79c1",ja:"\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc",ko:"\uc740\ub454",id:"Pribadi",vi:"S\u1ef1 ri\xeang t\u01b0",th:"\u0e04\u0e27\u0e32\u0e21\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e15\u0e31\u0e27",hi:"\u0917\u094b\u092a\u0928\u0940\u092f\u0924\u093e",ms:"Privasi"};function Rh(e,t,n,o){var i,a="qc-cmp2-persistent-link",s=ja("a",a,a,Ha());if(s.tabIndex=0,s.href="#",s.firstChild)return o&&s.focus(),s;s.onclick=function(){return localStorage.setItem("qc-cmp2-persistent-link-clicked","true"),window.__tcfapi("displayConsentUi",2,(function(){})),!1};var c=ja("img",void 0,void 0,s),u=e||Vh[(t||"en").toLowerCase()]||Vh.en;c.src=xh.a,c.alt="";var l=document.createTextNode(u);s.appendChild(l);var d=ja("style",void 0,"qc-cmp2",document.head),p=qr((i={},r(i,tt.TOP_LEFT,["top","left"]),r(i,tt.TOP_RIGHT,["top","right"]),r(i,tt.BOTTOM_LEFT,["bottom","left"]),r(i,tt.BOTTOM_RIGHT,["bottom","right"]),i)[n],2),h=p[0],f=p[1],v="top"===h?"bottom":"top";return d.innerHTML=".qc-cmp2-persistent-link {cursor:pointer; position:fixed; background-color:#368BD6;padding:5px 15px; color:#FFF; display:flex; text-decoration: none;align-items:center; max-height:30px; z-index:2147483640;"+"".concat(h,":0; ").concat(f,":0;")+"border-".concat(v,"-left-radius:3px;")+"border-".concat(v,"-right-radius:3px;")+"}.qc-cmp2-persistent-link:focus {outline: -webkit-focus-ring-color auto 1px;}.qc-cmp2-persistent-link img {width:16px; height:17px; margin-right:5px;}",o&&s.focus(),s}var Lh,Uh,Mh,Gh,Fh,qh,Bh,jh,Hh,zh,Wh,Yh,Kh,$h,Jh=(r(Nh={},ii.NAME,16),r(Nh,di.NAME,9),r(Nh,_i.NAME,7),r(Nh,vi.NAME,8),r(Nh,Pi.NAME,8),r(Nh,Oi.NAME,8),r(Nh,Ri.NAME,8),r(Nh,"usor",11),r(Nh,qi.NAME,8),r(Nh,Xi.NAME,8),r(Nh,ia.NAME,9),r(Nh,ma.NAME,8),r(Nh,Ta.NAME,8),r(Nh,Aa.NAME,10),r(Nh,Va.NAME,8),r(Nh,da.NAME,8),Nh),Qh=function(){function e(){var t=this;m(this,e),r(this,"_cookieValues",void 0),r(this,"isSafari",void 0),r(this,"resolveCookie",void 0),r(this,"_fetchCookiesCalled",void 0),r(this,"_apiUpdated",void 0),this.resolveCookie=function(){},this._cookieValues={euconsent:"",nonIabVendorConsent:"",googleCookieValue:"",fetched:!1,promise:new Promise((function(e){return t.resolveCookie=e})),gppConsent:""},this.isSafari=Cf("safari"),this._fetchCookiesCalled=!1,this._apiUpdated=!1}return S(e,[{key:"getCoreConfig",value:function(){return Uh.coreConfig}},{key:"getConsents",value:function(){var e=g(f.a.mark((function e(){var t,n,o,a,s,c,u,l,d,p,h,v,g,m,E,S,y;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=mt.VENDORS,n=mt.LEGITIMATE_VENDORS,o=mt.LEGITIMATE_PURPOSES,a=mt.PURPOSES,s=mt.SPECIAL_FEATURES,c=mt.NON_IAB,u=mt.GOOGLE,this._cookieValues.fetched){e.next=4;break}return e.next=4,this._cookieValues.promise;case 4:return l=Ya(zh.decode,this._cookieValues.euconsent),d=new it,p=Yh.gvl,h=Uh.coreConfig.publisherName||Uh.coreConfig.cookieDomain||"",v=Uh.coreConfig,g=v.publisherPurposeIds,m=v.publisherPurposeLegitimateInterestIds,E=p.vendors,(g||m)&&(E=i(i({},E),{},r({},h,{id:h,name:h}))),this.populateCoreConsents(d,t,E,l),this.populateCoreConsents(d,a,p.purposes,l),this.populateCoreConsents(d,s,p.specialFeatures,l),this.populateCoreConsents(d,n,E,l),this.populateCoreConsents(d,o,p.purposes,l),S=Ya(jh.decode,this._cookieValues.nonIabVendorConsent),this.populateCoreConsents(d,c,jh.data.data.nonIabVendorList,S),y=Ya($h.decode,this._cookieValues.googleCookieValue),this.populateCoreConsents(d,u,[],y),e.abrupt("return",d);case 21:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"extractNumericKeys",value:function(e){var t={};for(var n in e){var r=parseInt(n);isNaN(r)||(t[n]=e[n])}return t}},{key:"setConsents",value:function(e){var t,n=Uh.coreConfig,r=n.publisherPurposeIds,o=n.publisherPurposeLegitimateInterestIds,a=n.publisherName,s=n.isAMP;e.consentScreen&&(Yh.consentScreen=e.consentScreen);var c,u=zh.encode(this.extractNumericKeys(e.vendorConsents),this.extractNumericKeys(e.purposesConsents),this.extractNumericKeys(e.specialFeatures),this.extractNumericKeys(e.vendorLegitimateInterest),this.extractNumericKeys(e.legitimatePurposesConsents),e.vendorConsents[a],e.vendorLegitimateInterest[a],r,o,this.extractNumericKeys(e.vendorsDisclosed),e.consentScreen),l=this.formatConsents(e.nonIabConsents),d=Uh.nonIabVendorsInfo&&Uh.nonIabVendorsInfo.nonIabVendorList&&Uh.nonIabVendorsInfo.nonIabVendorList.length>0?jh.encode(l.consentArray,l.maxVendorId):"",p=this.formatGoogleConsents(e),h=e.gbcConsent,f=Uh.coreConfig.googleEnabled?$h.encode(p):"",v=jh.data.data.nonIabVendorsHash;if(p.length||s||Bh.deleteCookie(Rt,Uh.coreConfig.cookieDomain),Nf(null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.cmpVersion)&&[an.GPP,an.TCF_AND_GPP].includes(Uh.coreConfig.gdprEncodingMode))try{null===uf||void 0===uf||uf.setSectionString(Lo.NAME,u),null===uf||void 0===uf||uf.setFieldValue(Lo.NAME,"CmpId",10)}catch(m){console.error("Error while setting TCF v2.0 string in GPP v2.0",m)}var g=null===uf||void 0===uf?void 0:uf.getGppString();return s||Bh.set(Mt,Uh.coreConfig.gdprEncodingMode),Wh.setValues({euconsent:u,nonIabVendorConsent:d,nonIabVendorsHash:v,gppConsent:g}),c=Wh.generateRepromptOptionsHash(),this.setData({vendorCookieValue:u,nonIabCookieValue:d,repromptHash:c,googleCookieValue:f,gppConsent:g,gbcConsentsValue:h}),this.updateApiVisible(!1,!0),null===uf||void 0===uf||uf.setCmpDisplayStatus(Rr.HIDDEN),i(i({},this._cookieValues),{},{allConsents:e.allConsents})}},{key:"updateApiVisible",value:function(e){var t,n,r,o,i,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.isAMP)){var s=null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n||null===(r=n.privacyMode)||void 0===r?void 0:r.includes("GDPR"),u=Mh.userLocation,l=[].concat(c(rn),["BRAZIL","CANADA","BRA","CAN","JPN","TWN","IDN","KOR"]).includes(null===u||void 0===u||null===(o=u.country)||void 0===o?void 0:o.toUpperCase()),d=(null===u||void 0===u?void 0:u.country)===un,p=this._cookieValues.euconsent,h=!1;if(Boolean(localStorage.getItem("displayConsentUi"))){var f=this._cookieValues.euconsent;f&&!f.message||(f=""),Df.cmpApi.update(f,e)}else if(s&&Sf(l,Uh.coreConfig.displayUi)){var v=this._cookieValues.euconsent;v&&!v.message||(v=""),Df.cmpApi.update(v,e),p=!0,d||null===uf||void 0===uf||uf.setApplicableSections([Bn])}else Df.cmpApi.update(null),h=!0,d||null===uf||void 0===uf||uf.setApplicableSections([-1]);s&&Uh.coreConfig.displayPersistentConsentLink&&!Uh.coreConfig.isAMP&&this.hasCookie()&&Rh(Uh.getCustomCoreUiLabels().persistentConsentLinkLabel,Uh.coreConfig.lang_,Uh.coreConfig.persistentConsentLinkLocation,a);var g=null===u||void 0===u||null===(i=u.country)||void 0===i?void 0:i.toUpperCase(),m=rn.includes(g),E=g;"BRA"===g?E="BRAZIL":"CAN"===g&&(E="CANADA");var S=Uh.coreConfig.consentLocations||[];if(S.includes("WORLDWIDE")||S.includes(E)&&"USA"!==g||S.includes("EEA")&&m){var y=this._cookieValues.euconsent;y&&!y.message||(y=""),p||Df.cmpApi.update(y,e)}else h||Df.cmpApi.update(null);var _=!1,b=!1;if(d&&Uh.coreConfig.privacyMode.includes("GDPR"))if(Uh.coreConfig.gdprEnabledInUS){var T=Uh.coreConfig.consentLocations.includes("EEA"),C=!Uh.coreConfig.consentLocations.includes("USA"),O=Uh.coreConfig.consentLocations.includes("USA"),I=Uh.coreConfig.consentLocations.includes("WORLDWIDE");this._cookieValues.euconsent;I?b=!0:T&&C?_=!0:!T&&O||(T||C)&&(T||O)?b=!0:_=!0,localStorage.getItem("displayConsentUi")&&(b=!0)}else h||(_=!0);_?Df.cmpApi.update(null):b&&Df.cmpApi.update(this._cookieValues.euconsent,e),this._apiUpdated=!0}}},{key:"setData",value:function(e){var t=e.vendorCookieValue,n=e.nonIabCookieValue,r=e.repromptHash,o=e.googleCookieValue,i=e.gppConsent,a=e.gbcConsentsValue,s=Uh.coreConfig,c=s.consentScope,u=s.thirdPartyStorageType,l=s.consentScopeGroupURL,d=s.consentOnSafari,p=s.isAMP,h="api"===u,f=this.isSafari&&d;p||(f?this.setDataUsingApi({withCredentials:!0,url:l,vendorCookieValue:t,nonIabCookieValue:n,repromptHash:r,googleCookieValue:o,gppConsent:i,gbcConsentsValue:a}):c===nt.SERVICE||this.isSafari?this.setDataUsingFirstParty({vendorCookieValue:t,nonIabCookieValue:n,repromptHash:r,googleCookieValue:o,gppConsent:i,gbcConsentsValue:a}):c===nt.SERVICE_GROUP&&(h?this.setDataUsingApi({withCredentials:!0,url:l,vendorCookieValue:t,nonIabCookieValue:n,repromptHash:r,googleCookieValue:o,gppConsent:i,gbcConsentsValue:a}):this.setDataUsingIframe({vendorCookieValue:t,nonIabCookieValue:n,repromptHash:r,googleCookieValue:o,gppConsent:i,gbcConsentsValue:a}))),this._cookieValues={euconsent:t,nonIabVendorConsent:n,googleCookieValue:o,fetched:!0,promise:this._cookieValues.promise,gbcConsent:a,gppConsent:i},(null===uf||void 0===uf?void 0:uf.getSignalStatus())===Ur.NOT_READY&&(null===uf||void 0===uf||uf.setSignalStatus(Ur.READY))}},{key:"setDataUsingApi",value:function(e){var t=e.withCredentials,n=e.url,r=e.vendorCookieValue,o=e.nonIabCookieValue,i=e.repromptHash,a=e.googleCookieValue,s=e.gppConsent,c=e.gbcConsentsValue,u={};r&&(u[kt]=r),o&&(u[Pt]=o),i&&(u[xt]=i),a&&(u[Rt]=a),c&&(u[Lt]=c),s&&(u[Ut]=s),Rp({method:"post",url:n,data:u,withCredentials:t}).then((function(){console.log("the cookies was saved successfully")}))}},{key:"setDataUsingIframe",value:function(e){var t=e.vendorCookieValue,n=e.nonIabCookieValue,r=e.repromptHash,o=e.googleCookieValue,i=e.gppConsent,a=e.gbcConsentsValue;t&&df.tryGroupCookieAccessCall("set",kt,t),n&&df.tryGroupCookieAccessCall("set",Pt,n),r&&df.tryGroupCookieAccessCall("set",xt,r),o&&df.tryGroupCookieAccessCall("set",Rt,o),a&&df.tryGroupCookieAccessCall("set",Lt,a||"[]"),i&&df.tryGroupCookieAccessCall("set",Ut,i)}},{key:"setDataUsingFirstParty",value:function(e){var t=e.vendorCookieValue,n=e.nonIabCookieValue,r=e.repromptHash,o=e.googleCookieValue,i=e.gppConsent,a=e.gbcConsentsValue;t&&zh.setCookie(t),n&&jh.setCookie(n),r&&Bh.set(xt,r),o&&$h.setCookie(o),a&&Bh.set(Lt,a,!0),i&&Bh.set(Ut,i,!1)}},{key:"fetchCookieValues",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,c,u,l,d,p,h,v,g,m,E,S;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Uh.coreConfig,n=t.consentScope,r=t.consentScopeGroupURL,o=t.thirdPartyStorageType,i=t.consentOnSafari,a=t.isAMP,s=Uh.ampData,c="",u="",l="",d="",p="",h={},v=function(e){c=e.nonIabCookieValue,u=e.vendorCookieValue,l=e.googleCookieValue,d=e[Lt],p=e[Ut]},g=this.isSafari&&i,this._fetchCookiesCalled=!0,!a){e.next=14;break}s.consentMetadata&&s.consentMetadata.consentStringType===_t.GDPR&&(u=s.consentString,Nf(null===Uh||void 0===Uh||null===(m=Uh.coreConfig)||void 0===m?void 0:m.cmpVersion)&&[an.GPP,an.TCF_AND_GPP].includes(null===Uh||void 0===Uh||null===(E=Uh.coreConfig)||void 0===E?void 0:E.gdprEncodingMode)&&(null===uf||void 0===uf||uf.setGppString(u),u=null===uf||void 0===uf?void 0:uf.getSectionString(Lo.NAME)),(null===s||void 0===s?void 0:s.gbcConsents)&&(S=Object.entries(null===s||void 0===s?void 0:s.gbcConsents).map((function(e){var t=qr(e,2),n=t[0],r=t[1];return{id:parseInt(n),selected:1!==r}})),d=JSON.stringify(S)),s.consentMetadata.additionalConsent&&(l=s.consentMetadata.additionalConsent)),e.next=38;break;case 14:if(!g){e.next=21;break}return e.next=17,this.getDataUsingApi(!0,r);case 17:h=e.sent,v(h),e.next=38;break;case 21:if(n!==nt.SERVICE&&!this.isSafari){e.next=26;break}h=this.getDataUsingFirstParty(),v(h),e.next=38;break;case 26:if(n!==nt.SERVICE_GROUP){e.next=38;break}if("api"!==o){e.next=34;break}return e.next=30,this.getDataUsingApi(!0,r);case 30:h=e.sent,v(h),e.next=38;break;case 34:return e.next=36,this.getDataUsingIframe();case 36:h=e.sent,v(h);case 38:p&&(null===uf||void 0===uf||uf.setGppString(p),(null===uf||void 0===uf?void 0:uf.getSignalStatus())===Ur.NOT_READY&&(null===uf||void 0===uf||uf.setSignalStatus(Ur.READY))),this._cookieValues={euconsent:u,nonIabVendorConsent:c,googleCookieValue:l,fetched:!0,promise:this._cookieValues.promise,gbcConsent:d,gppConsent:p},this.resolveCookie();case 41:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"getDataUsingApi",value:function(){var e=g(f.a.mark((function e(t,n){var r,o,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Rp({method:"get",url:n,withCredentials:t});case 2:return r=e.sent,o={},i=r.data[xt],Wh.storedHash=i,o.vendorCookieValue=r.data[kt],o.nonIabCookieValue=r.data[Pt],o.googleCookieValue=r.data.addtl_consent,o[Lt]=r.data[Lt],o.gppConsent=r.data.gppConsent,e.abrupt("return",o);case 12:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}()},{key:"getDataUsingIframe",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,c;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=Uh.coreConfig.googleEnabled,n=Uh.nonIabVendorsInfo,r={},e.next=4,df.tryGroupCookieAccessCall("get",xt,"");case 4:return o=e.sent,Wh.storedHash=o,e.next=8,df.tryGroupCookieAccessCall("get",kt,"");case 8:if(r.vendorCookieValue=e.sent,!n||!n.nonIabVendorList){e.next=15;break}return e.next=12,df.tryGroupCookieAccessCall("get",Pt,"");case 12:(i=e.sent)&&Array.isArray(i)?i=i[0]:i||(i=null),r.nonIabCookieValue=i;case 15:if(!t){e.next=21;break}return e.next=18,df.tryGroupCookieAccessCall("get",Rt,"");case 18:(a=e.sent)&&Array.isArray(a)?a=a[0]:a||(a=null),r.googleCookieValue=a;case 21:return e.next=23,df.tryGroupCookieAccessCall("get",Lt,"");case 23:return(s=e.sent)&&Array.isArray(s)?s=s[0]:s||(s=null),r[Lt]=s,e.next=28,df.tryGroupCookieAccessCall("get",Ut,"");case 28:return(c=e.sent)&&Array.isArray(c)?c=c[0]:c||(c=null,r[Ut]=c),e.abrupt("return",r);case 31:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"getDataUsingFirstParty",value:function(){var e={},t=Uh.coreConfig.googleEnabled,n=Uh.nonIabVendorsInfo,r=Bh.get(kt),o=Bh.get(xt),i=Bh.get(Pt),a=Bh.get(Rt),s=Bh.get(Lt),c=Lf.getGppString();return Wh.storedHash=o,"string"===typeof r&&(e.vendorCookieValue=r),t&&"string"===typeof a&&(e.googleCookieValue=a),n&&n.nonIabVendorList&&n.nonIabVendorList.length>0&&"string"===typeof i&&(e.nonIabCookieValue=i),"string"===typeof s&&(e[Lt]=s),c&&(e[Ut]=c),e}},{key:"repromptDueToInvalidCMPID",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,u,l;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Uh.coreConfig.isAMP,n=!1,t){e.next=25;break}if(r="https://cmp.inmobi.com/GVL-v2/cmp-list.json",o=[],i=new Date,a=Bh.get(At),!((s=a&&!a.message?JSON.parse(a):null)&&s.CMP&&s.CMP.includes(String(Yh.cmpId))&&i.getTime()<s.expiry)){e.next=12;break}n=!1,e.next=25;break;case 12:return e.prev=12,e.next=15,Rp.get(r);case 15:u=e.sent,o.push.apply(o,c(Object.keys(u.data.cmps))),l={lastUpdated:u.data.lastUpdated,CMP:o,expiry:i.getTime()+2592e5},Bh.set(At,JSON.stringify(l)),e.next=24;break;case 21:e.prev=21,e.t0=e.catch(12),console.log(e.t0);case 24:n=!o.includes(String(Yh.cmpId));case 25:return e.abrupt("return",n);case 26:case"end":return e.stop()}}),e,null,[[12,21]])})));return function(){return e.apply(this,arguments)}}()},{key:"repromptDueToOutdatedGvl",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,c,u,l,d,p,h;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Uh.coreConfig,n=t.vendorListUpdateFreq,r=t.gvlVersion,t.gdprEncodingMode,this._cookieValues.fetched){e.next=4;break}return e.next=4,this._cookieValues.promise;case 4:if(o=this._cookieValues.euconsent,i=Ya(zh.decode,o),a=!1,!i){e.next=22;break}if(s=i.vendorListVersion,c=i.policyVersion,u=i.lastUpdated,!(3===r&&c<4||2===r&&c>2)){e.next=13;break}return this._cookieValues.euconsent="",e.abrupt("return",!0);case 13:if(l=Date.now()-u.getTime()>864e5*n){e.next=16;break}return e.abrupt("return",!1);case 16:return e.next=18,this.loadGVL();case 18:d=Yh.gvl,p=d.vendorListVersion,h=d.tcfPolicyVersion,l&&(p>s||h>c)&&(a=!0),e.next=23;break;case 22:a=!0;case 23:return e.abrupt("return",a);case 24:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"fetchDataToReprompt",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,a;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([this.repromptDueToOutdatedGvl(),this.repromptDueToInvalidCMPID()]);case 2:return t=e.sent,n=qr(t,2),r=n[0],o=n[1],(a=r||o)||(Wh.setValues(i(i({},this._cookieValues),{},{nonIabVendorsHash:jh.data.data.nonIabVendorsHash})),a=Wh.shouldReprompt()),e.abrupt("return",a);case 9:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"populateCoreConsents",value:function(e,t,n,r){var o,i=mt.NON_IAB,a=mt.PURPOSES,s=mt.LEGITIMATE_PURPOSES,u=mt.LEGITIMATE_VENDORS,l=mt.VENDORS,d=mt.SPECIAL_FEATURES,p=mt.GOOGLE,h="",f="";switch(t){case i:o="nonIabConsents",h="vendorConsents";break;case l:o="vendorConsents",h="vendorConsents",f="publisherConsents";break;case a:o="purposesConsents",h="purposeConsents";break;case s:o="legitimatePurposesConsents",h="purposeLegitimateInterests";break;case u:o="vendorLegitimateInterest",h="vendorLegitimateInterests",f="publisherLegitimateInterests";break;case d:o="specialFeatures",h="specialFeatureOptins";break;case p:o="googleConsents",h="consentIds";break;default:o=""}var v=null!==r&&!r.message,g=Uh.coreConfig.publisherName;if(e[o].hasCookie=v,v)switch(t){case i:if(n){var m,E=W(n);try{for(E.s();!(m=E.n()).done;){var S=m.value,y=r[h][S.id];e[o][S.id]=y}}catch(b){E.e(b)}finally{E.f()}}break;case p:r.consentIds&&r.consentIds.forEach((function(t){e[o][t]=!0}));break;default:if(r[h]&&(r[h].forEach((function(t,n){e[o][n]=t})),f))for(var _ in n)_===g&&(e[o][_]=c(r[f].set_).length>0)}}},{key:"formatConsents",value:function(e){var t=0,n=[];for(var r in e){var o=parseInt(r);isNaN(o)||(o>t&&(t=o),n.push({consent:e[r],id:o}))}return{consentArray:n,maxVendorId:t}}},{key:"formatGoogleConsents",value:function(e){var t=[];for(var n in e.googleConsents)!0===e.googleConsents[n]&&t.push(n);return t.sort((function(e,t){return e-t})),t}},{key:"shouldShowGdpr",value:function(){var e=g(f.a.mark((function e(t){var n,r,o,i,a,s,u,l,d,p,h,v,g,m,E;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(null===(n=Uh.coreConfig.privacyMode)||void 0===n?void 0:n.includes("GDPR"))){e.next=17;break}return u=Uh.coreConfig,l=u.consentLocations,d=u.displayUi,e.next=5,Mh.checkUserLocation();case 5:if(p=e.sent,h=rn.includes(null===p||void 0===p||null===(r=p.country)||void 0===r?void 0:r.toUpperCase()),(null===t||void 0===t?void 0:t.country)!==un){e.next=9;break}return e.abrupt("return",!1);case 9:if((null===Uh||void 0===Uh||null===(o=Uh.coreConfig)||void 0===o?void 0:o.cmpVersion)||"inEU"!==d&&"always"!=d){e.next=11;break}return e.abrupt("return",!0);case 11:if(v=["BRA","CAN","JPN","KOR","TWN","IDN","IND","VNM","THA","HKG","SGP","MYS","PHL"].includes(null===t||void 0===t||null===(i=t.country)||void 0===i?void 0:i.toUpperCase()),g=(null===l||void 0===l?void 0:l.includes(ln.WORLDWIDE))&&"USA"!==(null===t||void 0===t?void 0:t.country),m=h&&(null===l||void 0===l?void 0:l.includes(ln.EEA)),E=["BRAZIL","CANADA","JPN","KOR","TWN","IDN","IND","VNM","THA","HKG","SGP","MYS","PHL"].some((function(e){return null===l||void 0===l?void 0:l.includes(ln[e])}))&&v&&(null===(a=[].concat(c(l),c((null===l||void 0===l?void 0:l.includes("BRAZIL"))?["BRA"]:[]),c((null===l||void 0===l?void 0:l.includes("CANADA"))?["CAN"]:[])))||void 0===a?void 0:a.includes(null===t||void 0===t||null===(s=t.country)||void 0===s?void 0:s.toUpperCase())),!(m||g||E)){e.next=17;break}return e.abrupt("return",!0);case 17:return e.abrupt("return",!1);case 18:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},{key:"loadGVL",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=Uh.coreConfig,n=t.privacyMode,r=t.lang_,o=Uh.premiumProperties,i=o.vendorWhitelist,a=o.vendorBlacklist,s=r,Yh.gvl){e.next=19;break}return Yh.gvl=new Le("LATEST"),e.next=6,Yh.gvl.readyPromise;case 6:if(!(null===n||void 0===n?void 0:n.includes("GDPR"))){e.next=17;break}return e.prev=7,e.next=10,Yh.gvl.changeLanguage(s);case 10:e.next=16;break;case 12:e.prev=12,e.t0=e.catch(7),console.log(e.t0),console.log("GVL Error: Unable to load language");case 16:this.filterGvl(Yh.gvl,i,a);case 17:e.next=21;break;case 19:return e.next=21,Yh.gvl.readyPromise;case 21:return e.abrupt("return",Yh.gvl);case 22:case"end":return e.stop()}}),e,this,[[7,12]])})));return function(){return e.apply(this,arguments)}}()},{key:"filterGvl",value:function(e,t,n){var r=e.vendors,o=[];Object.keys(r).forEach((function(e){o.push(r[e].id)})),t.length&&(o=t.filter((function(e){return o.includes(e)}))),n.length?e.narrowVendorsTo(o.filter((function(e){return!n.includes(e)}))):e.narrowVendorsTo(o)}},{key:"hasCookie",value:function(){return!!this._cookieValues.euconsent||!!this._cookieValues.gppConsent}},{key:"setPublisherRestriction",value:function(e){Yh.publisherRestrictions.add(e.id,e.purposeRestriction)}},{key:"encodeUSString",value:function(e){var t=this,n=e.sectionName,r=e.saleOptOut,o=e.shareOptOut,i=e.targetedAdvertisingOptOut,a=e.personalInformationOptOut,s=e.sensitiveDataConsents,c=e.childSensitiveDataConsent,u=e.noticesDefaultValue,l=e.notices,d=e.acceptanceState;e.additionalDataConsent;try{var p,h,f;null===uf||void 0===uf||uf.setFieldValue(n,dn,1),l.forEach((function(e){null===uf||void 0===uf||uf.setFieldValue(n,e,u||1)}));var v,g,m,E=[];if(Yp(n,pn)&&(E.push(r),null===uf||void 0===uf||uf.setFieldValue(n,pn,void 0==r?0:r?2:1)),Yp(n,hn)&&(E.push(o),null===uf||void 0===uf||uf.setFieldValue(n,hn,void 0==o?0:o?2:1)),Yp(n,fn)&&(E.push(i),null===uf||void 0===uf||uf.setFieldValue(n,fn,void 0==i?0:i?2:1)),Yp(n,vn)&&(E.push(a),null===uf||void 0===uf||uf.setFieldValue(n,vn,void 0==a?0:a?2:1)),Yp(n,Cn)&&(null===Uh||void 0===Uh||null===(p=Uh.coreConfig)||void 0===p||null===(h=p.mspaOptOutPurposeIds)||void 0===h?void 0:h.includes(4))&&(E.push(a),null===uf||void 0===uf||uf.setFieldValue(n,Cn,void 0==a?0:a?2:1)),Yp(n,gn))if(s&&s.length>0)null===uf||void 0===uf||uf.setFieldValue(n,gn,s);else{var S=new Array(Jh[n]).fill(0);null===uf||void 0===uf||uf.setFieldValue(n,gn,S)}if(Yp(n,mn)&&(void 0!==c?null===uf||void 0===uf||uf.setFieldValue(n,mn,c):null===uf||void 0===uf||uf.setFieldValue(n,mn,1)),Yp(n,En))null===uf||void 0===uf||uf.setFieldValue(n,En,(null===(v=this.getCoreConfig())||void 0===v?void 0:v.isCoveredTransaction)?1:2);if(Yp(n,Sn))null===uf||void 0===uf||uf.setFieldValue(n,Sn,"OPT_OUT"===(null===(g=this.getCoreConfig())||void 0===g?void 0:g.mspaSignalMode)?1:0);if(Yp(n,yn)&&(null===uf||void 0===uf||uf.setFieldValue(n,yn,2)),Yp(n,_n)&&(null===uf||void 0===uf||uf.setFieldValue(n,_n,1)),Yp(n,bn)&&(null===uf||void 0===uf||uf.setFieldValue(n,bn,!0)),Yp(n,Tn))null===uf||void 0===uf||uf.setFieldValue(n,Tn,(null===(m=navigator)||void 0===m?void 0:m.globalPrivacyControl)||!1);if(!(null===(f=this.getCoreConfig())||void 0===f?void 0:f.isAMP)){var y,_,b,T=mh([null===(y=this.getCoreConfig())||void 0===y?void 0:y.mspaOptOutPurposeIds,null===(_=this.getCoreConfig())||void 0===_?void 0:_.mspaSensitiveDataPurposeIds,null===(b=this.getCoreConfig())||void 0===b?void 0:b.mspaJurisdiction]);Bh.set(Ft,T),window.__gpp("ping",(function(e,r){var o,i=[];if(null===e||void 0===e?void 0:e.parsedSections){Object.keys(null===e||void 0===e?void 0:e.parsedSections).forEach((function(e){e.startsWith("us")&&i.push(e)})),i.length>0&&i.forEach((function(e){e!==n&&(null===uf||void 0===uf||uf.deleteSection(e))})),null===uf||void 0===uf||uf.fireSectionChange(n);var a=null===uf||void 0===uf?void 0:uf.getGppString();Bh.set(Ut,a,!1),Bh.set(Gt,null===(o=Mh.userLocation)||void 0===o?void 0:o.region,!0);var s=Uh.coreConfig,c=s.consentScope,u=s.thirdPartyStorageType,l=s.consentScopeGroupURL,d=s.consentOnSafari,p=(s.isAMP,"api"===u);t.isSafari;if(c===nt.SERVICE_GROUP)if(p){var h={};a&&(h[Ut]=a,h[Ft]=T),Rp({method:"post",url:l,data:h,withCredentials:!0}).then((function(){console.log("the cookies was saved successfully")}))}else a&&df.tryGroupCookieAccessCall("set",Ut,a),T&&df.tryGroupCookieAccessCall("set",Ft,T)}}))}return null===uf||void 0===uf||uf.setCmpDisplayStatus(Rr.HIDDEN),console.log("setting signal status to ready in core"),(null===uf||void 0===uf?void 0:uf.getSignalStatus())===Ur.NOT_READY&&(null===uf||void 0===uf||uf.setSignalStatus(Ur.READY)),{gppString:null===uf||void 0===uf?void 0:uf.getGppString(),userLocation:Mh.userLocation,acceptanceState:d}||""}catch(C){console.error(C)}}},{key:"cookieValues",get:function(){return this._cookieValues}},{key:"fetchCookiesCalled",get:function(){return this._fetchCookiesCalled}}]),e}(),Zh=function(){function e(){m(this,e),r(this,"_data",void 0),r(this,"_fields",void 0),this._fields={created:new Date,lastUpdated:new Date,cmpId:10,cmpVersion:26,maxVendorId:0,vendorConsents:[]},this._data={nonIabVendorList:[],updateAt:"",nonIabVendorsHash:""}}return S(e,[{key:"data",set:function(e){this._data=e},get:function(){return this._data}},{key:"fields",set:function(e){this._fields=e},get:function(){return this._fields}}]),e}(),Xh=function(){function e(){m(this,e),r(this,"_data",void 0),r(this,"created",void 0),this._data=new Zh,this.created=!1}return S(e,[{key:"encode",value:function(e,t){var n=[];return e.forEach((function(e){n[e.id]=e.consent})),!1===this.created?(this.created=!0,this._data.fields=i(i({},this._data.fields),{},{vendorConsents:n,created:new Date,lastUpdated:new Date,maxVendorId:t})):this._data.fields=i(i({},this._data.fields),{},{vendorConsents:n,lastUpdated:new Date}),Bh.encode(i({cookieName:Pt},this._data.fields))}},{key:"decode",value:function(e){return Bh.decode(Pt,e)}},{key:"setCookie",value:function(e){"string"===typeof e?Bh.set(Pt,e):console.error(e.message)}},{key:"getCookie",value:function(){var e=Bh.get(Pt);return e&&"string"===typeof e?this.decode(e):e}},{key:"fetchList",value:function(){var e=g(f.a.mark((function e(){var t,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Uh.nonIabVendorsInfo){e.next=2;break}return e.abrupt("return");case 2:if(e.prev=2,"undefined"===typeof Uh.nonIabVendorsInfo){e.next=7;break}if(Uh.nonIabVendorsInfo.nonIabVendorList&&0!==Uh.nonIabVendorsInfo.nonIabVendorList.length){e.next=6;break}return e.abrupt("return");case 6:t=Uh.nonIabVendorsInfo;case 7:n=[],t.nonIabVendorList.forEach((function(e){var t={name:e.name,id:e.vendorId,legitimateInterestClaimUrl:e.legitimateInterestClaimUrl,policyUrl:!!e.privacyPolicyUrl&&e.privacyPolicyUrl,description:!!e.description&&e.description,purposes:"nonIabPurposeConsentIds"in e&&e.nonIabPurposeConsentIds,legIntPurposes:"nonIabPurposeLegitimateInterestIds"in e&&e.nonIabPurposeLegitimateInterestIds};n.push(t)})),this._data.data=i(i({},t),{},{nonIabVendorList:n}),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(2),console.log("error processing nonIabVendors",e.t0);case 15:case"end":return e.stop()}}),e,this,[[2,12]])})));return function(){return e.apply(this,arguments)}}()},{key:"data",get:function(){return this._data}}]),e}(),ef=function(){function e(){m(this,e)}return S(e,[{key:"encode",value:function(e,t,n,r,o,i,a,s,c,u,l){return Bh.encode({cookieName:kt,vendorConsents:e,purposeConsents:t,specialFeatureOptins:n,vendorLegitimateInterests:r,purposeLegitimateInterests:o,publisherConsent:i,publisherLegitimate:a,publisherPurposeIds:s,publisherPurposeLegitimateInterestIds:c,vendorsDisclosed:u,consentScreen:l})}},{key:"decode",value:function(e){return Bh.decode(kt,e)}},{key:"setCookie",value:function(e){"string"===typeof e?Bh.set(kt,e,!1):console.error(e.message)}},{key:"getCookie",value:function(){var e=Bh.get(kt);return e&&"string"===typeof e?this.decode(e):e}}]),e}(),tf=/^[1][nNyY-][nNyY-][nNyY-]$/,nf=function(){function e(){m(this,e)}return S(e,[{key:"encode",value:function(e,t,n){return"".concat(e).concat(n?"N":"Y").concat(t?"Y":"N").concat(Uh.coreConfig.uspLspact)}},{key:"setCookie",value:function(e){"string"===typeof e?tf.test(e)&&Bh.set(Vt,e,!1):e&&"message"in e&&console.error(e.message)}},{key:"getCookie",value:function(){return Bh.get(Vt)}}]),e}(),rf=function(){function e(t){m(this,e),r(this,"_cookieAccessIframe",void 0),r(this,"_isCookieAccessIframeReady",void 0),r(this,"groupCookieAccessCallbacks",void 0),this._cookieAccessIframe=document.createElement("iframe"),this._isCookieAccessIframeReady=!1,this.groupCookieAccessCallbacks={},this.groupCookieAccessHandler=this.groupCookieAccessHandler.bind(this),window.addEventListener?window.addEventListener("message",this.groupCookieAccessHandler,!1):window.attachEvent("onmessage",this.groupCookieAccessHandler),this.createGroupCookieAccessIframe(t.coreConfig.consentScopeGroupURL,"_qc_cookie_access")}return S(e,[{key:"tryGroupCookieAccessCall",value:function(e,t,n){var r=this;return new Promise((function(o){var i=setInterval((function(){r._isCookieAccessIframeReady&&r._cookieAccessIframe.contentWindow&&(clearInterval(i),r.groupCookieAccessCall(e,t,n,(function(e){o(e)})))}),50)}))}},{key:"groupCookieAccessCall",value:function(e,t,n,r){var o=Math.random().toString(),i={callId:o,__qcCmpCookieAccessCall:{cmd:e,cookieName:t}};if("set"===e){this.groupCookieAccessCallbacks[o]={cookieName:t,cookieValue:n};var a=new Date(Date.now()+33696e6).toUTCString();i.__qcCmpCookieAccessCall.cookieValue=n,i.__qcCmpCookieAccessCall.cookiePath=Uh.coreConfig.cookiePath,i.__qcCmpCookieAccessCall.expires=a}else this.groupCookieAccessCallbacks[o]={cookieName:t,resolve:r};this._cookieAccessIframe.contentWindow.postMessage(i,"*")}},{key:"createGroupCookieAccessIframe",value:function(e,t){var n=this._cookieAccessIframe;n.src=e,n.style.display="none",n.id=t;!function e(){document.body?document.body.appendChild(n):setTimeout(e,5)}()}},{key:"groupCookieAccessHandler",value:function(e){var t;if((t="string"===typeof e.data?-1!==e.data.indexOf("__qcCmpCookieAccessReturn")?JSON.parse(e.data):{}:e.data).__qcCmpCookieAccessReturn){if(t.__qcCmpCookieAccessReturn.isHandlerRegistered)return void(this._isCookieAccessIframeReady=!0);var n=t.__qcCmpCookieAccessReturn,r=this.groupCookieAccessCallbacks[t.callId];if(r.resolve){var o=null;"get"===n.cmd&&(o=-1!==["euconsent-v2","addtl_consent"].indexOf(r.cookieName)?"euconsent-v2"===r.cookieName?this.returnLatestVendorCookie(n.cookies):n.isSuccess?n.cookies[0]:null:n.cookies,r.resolve(o)),delete this.groupCookieAccessCallbacks[t.callId]}}}},{key:"returnLatestVendorCookie",value:function(e){return e&&e.length?Of(e):new Error("euconsent-v2 not found.")}},{key:"isCookieAccessIframeReady",get:function(){return this.isCookieAccessIframeReady}},{key:"cookieAccessIframe",get:function(){return this._cookieAccessIframe}}]),e}(),of=function(){function e(){m(this,e),r(this,"version",void 0),r(this,"_data",void 0),r(this,"whitelist",void 0),this.version=1,this._data=[],this.whitelist=Uh.premiumProperties.googleWhitelist}return S(e,[{key:"encode",value:function(e){return Bh.encode({cookieName:Rt,vendorConsents:e,version:this.version})}},{key:"decode",value:function(e){return Bh.decode(Rt,e)}},{key:"setCookie",value:function(e){"string"===typeof e?Bh.set(Rt,e,!1):console.error(e.message)}},{key:"getCookie",value:function(e){var t=Bh.get(Rt);return t&&"string"===typeof t?e?t:this.decode(t):null}},{key:"fetchPartners",value:function(){var e=this;if(Uh.coreConfig.googleEnabled){return new Promise((function(t){return JSON.stringify(e.whitelist)===JSON.stringify([-1])?(e._data=[],t(e._data)):e._data.length>0?t(e._data):Rp.get("https://cmp.inmobi.com/tcfv2/google-atp-list.json").then((function(n){var r=[];for(var o in n.data){var i=n.data[o];if("undefined"!==typeof i.provider_id&&""!==i.provider_id&&(JSON.stringify(e.whitelist)===JSON.stringify([1])||e.whitelist.length>0&&e.whitelist.includes(parseInt(i.provider_id)))){var a={name:i.provider_name,id:i.provider_id,policyUrl:i.policy_url,description:i.domains};r.push(a)}e._data=r}t(e._data)})).catch((function(e){return console.log(e)}))}))}}},{key:"data",get:function(){return this._data}}]),e}(),af=n(51),sf=n.n(af),cf=function(){function e(){m(this,e),r(this,"_config",void 0),r(this,"mspaRepromptHash",""),r(this,"repromtMspa",(function(e){var t=null===Lh||void 0===Lh?void 0:Lh.getCoreConfig();if(null===t||void 0===t?void 0:t.isAMP)return!1;if(!(null===t||void 0===t?void 0:t.mspaAutoPopUp))return!1;var n=mh([null===t||void 0===t?void 0:t.mspaOptOutPurposeIds,null===t||void 0===t?void 0:t.mspaSensitiveDataPurposeIds,null===t||void 0===t?void 0:t.mspaJurisdiction]),r=$p(Ft);return("ca"!=e||!(null===t||void 0===t?void 0:t.ccpaViaUsp))&&n!==r}))}return S(e,[{key:"initMspa",value:function(){var e=g(f.a.mark((function e(t){var n,r,o,i,a,s,c,u,l,d,p,h,v,g,m,E,S,y,_;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=this.checkIfGppExists(),e.next=3,this.getMspaRegion();case 3:if(a=e.sent,this.repromtMspa(null===t||void 0===t?void 0:t.region)?pf.displayUi("USP",1,!0):i||(null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n?void 0:n.mspaAutoPopUp)||(null===Uh||void 0===Uh||null===(r=Uh.coreConfig)||void 0===r?void 0:r.mspaFooterHtmlId)||((null===Uh||void 0===Uh||null===(s=Uh.coreConfig)||void 0===s||null===(c=s.features)||void 0===c?void 0:c.visitEvents)&&Jp(Bt,sr.PARTIAL),console.log("setting default values in mspa-api"),this.setDefaultValues(a)),(null===Uh||void 0===Uh||null===(o=Uh.coreConfig)||void 0===o?void 0:o.mspaFooterHtmlId)&&(console.log("setting mspa footer with opt out defaults in mspa-api"),i||this.setMspaFooterWithOptOutDefaults(a),this.insertMspaFooterHTMLId(null===Uh||void 0===Uh||null===(u=Uh.coreConfig)||void 0===u?void 0:u.mspaFooterHtmlId)),(l=this.getGppString())&&(null===uf||void 0===uf||uf.setGppString(l),(null===uf||void 0===uf?void 0:uf.getSignalStatus())===Ur.NOT_READY&&(null===uf||void 0===uf||uf.setSignalStatus(Ur.READY))),d=null===Uh||void 0===Uh?void 0:Uh.coreConfig,p=d.consentScope,h=d.thirdPartyStorageType,v=d.consentScopeGroupURL,g=d.consentOnSafari,d.isAMP,m="api"===h,E=Cf("safari"),E&&g,p!==nt.SERVICE_GROUP){e.next=31;break}if(!m){e.next=23;break}return e.next=17,Rp({method:"get",url:v,withCredentials:!0});case 17:S=e.sent,null===uf||void 0===uf||uf.setGppString(S.data[Ut]),(null===uf||void 0===uf?void 0:uf.getSignalStatus())===Ur.NOT_READY&&(null===uf||void 0===uf||uf.setSignalStatus(Ur.READY)),this.mspaRepromptHash=S.data[Ft],e.next=31;break;case 23:return e.next=25,df.tryGroupCookieAccessCall("get",Ut,"");case 25:return(y=e.sent)&&Array.isArray(y)&&(y=y[0],null===uf||void 0===uf||uf.setGppString(y),(null===uf||void 0===uf?void 0:uf.getSignalStatus())===Ur.NOT_READY&&(null===uf||void 0===uf||uf.setSignalStatus(Ur.READY))),e.next=29,df.tryGroupCookieAccessCall("get",Ft,"");case 29:_=e.sent,this.mspaRepromptHash=_;case 31:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()},{key:"checkIfGppExists",value:function(){try{return!!this.getGppString()}catch(e){return console.error(e),!1}}},{key:"getGppString",value:function(){var e;if(!(null===Uh||void 0===Uh||null===(e=Uh.coreConfig)||void 0===e?void 0:e.isAMP))try{var t=Ut,n=document.cookie.split(";").filter((function(e){return e.trim().startsWith(t+"=")})).map((function(e){return e.trim().substring(t.length+1)}));return n&&Array.isArray(n)?n[0]:""}catch(r){return console.error(r),""}return""}},{key:"setDefaultValues",value:function(e){var t,n,r,o=(null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.mspaSensitiveDataPurposeIds)||[],a=ts();if(a&&o.forEach((function(e){1})),"ca"===e&&(null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n?void 0:n.ccpaViaUsp)&&!(null===Uh||void 0===Uh||null===(r=Uh.coreConfig)||void 0===r?void 0:r.mspaAutoPopUp))console.warn("ccpaViaUsp is turned on");else{var s,c,u,l,d,p,h,f,v=!0;es()&&(v=!a);var g=(null===Uh||void 0===Uh||null===(s=Uh.coreConfig)||void 0===s||null===(c=s.mspaOptOutPurposeIds)||void 0===c?void 0:c.includes(1))?v:void 0,m=(null===Uh||void 0===Uh||null===(u=Uh.coreConfig)||void 0===u||null===(l=u.mspaOptOutPurposeIds)||void 0===l?void 0:l.includes(2))?v:void 0,E=(null===Uh||void 0===Uh||null===(d=Uh.coreConfig)||void 0===d||null===(p=d.mspaOptOutPurposeIds)||void 0===p?void 0:p.includes(3))?v:void 0,S=(null===Uh||void 0===Uh||null===(h=Uh.coreConfig)||void 0===h||null===(f=h.mspaOptOutPurposeIds)||void 0===f?void 0:f.includes(4))?v:void 0,y=Kp({sectionName:e,saleOptOut:g,shareOptOut:m,targetedAdvertisingOptOut:E,personalInformationOptOut:S,childSensitiveDataConsent:void 0,additionalDataConsent:void 0,sensitiveDataConsents:null===o||void 0===o?void 0:o.map((function(e){return 1})),coreConfig:null===Uh||void 0===Uh?void 0:Uh.coreConfig});Lh.encodeUSString(i(i({},y),{},{noticesDefaultValue:2}))}}},{key:"setMspaFooterWithOptOutDefaults",value:function(e){var t,n,r,o=null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.mspaSensitiveDataPurposeIds,a=!0;if(es()&&(a=ts()),"ca"===e&&(null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n?void 0:n.ccpaViaUsp)&&!(null===Uh||void 0===Uh||null===(r=Uh.coreConfig)||void 0===r?void 0:r.mspaAutoPopUp))console.warn("ccpaViaUsp is turned on");else{var s,c,u,l,d,p,h,f,v=!0;es()&&(v=!a);var g=(null===Uh||void 0===Uh||null===(s=Uh.coreConfig)||void 0===s||null===(c=s.mspaOptOutPurposeIds)||void 0===c?void 0:c.includes(1))?v:void 0,m=(null===Uh||void 0===Uh||null===(u=Uh.coreConfig)||void 0===u||null===(l=u.mspaOptOutPurposeIds)||void 0===l?void 0:l.includes(2))?v:void 0,E=(null===Uh||void 0===Uh||null===(d=Uh.coreConfig)||void 0===d||null===(p=d.mspaOptOutPurposeIds)||void 0===p?void 0:p.includes(3))?v:void 0,S=(null===Uh||void 0===Uh||null===(h=Uh.coreConfig)||void 0===h||null===(f=h.mspaOptOutPurposeIds)||void 0===f?void 0:f.includes(4))?v:void 0,y=Kp({sectionName:e,saleOptOut:m,shareOptOut:g,targetedAdvertisingOptOut:E,personalInformationOptOut:S,childSensitiveDataConsent:void 0,sensitiveDataConsents:null===o||void 0===o?void 0:o.map((function(e){return 1})),coreConfig:null===Uh||void 0===Uh?void 0:Uh.coreConfig});Lh.encodeUSString(i(i({},y),{},{noticesDefaultValue:1}))}}},{key:"insertMspaFooterHTMLId",value:function(e){var t=document.getElementById(e),n=function(e){e.preventDefault(),window.__uspapi("displayUspUi",1,(function(e,t){console.log(e,t)}))},r=function(){var e,t,r,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i="display: flex; gap: 10px;",a=" align-items: center; justify-content: center;",s=document.createElement("a");return s.href="#",s.style.cssText=i+(o?a:""),s.innerHTML="".concat(null===(e=null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.mspaFooterHtmlShowImage)||void 0===e||e?'<img src="'.concat(sf.a,'" alt="Privacy Icon" />'):""," ").concat((null===Uh||void 0===Uh||null===(r=Uh.coreConfig)||void 0===r?void 0:r.mspaFooterHtmlText)||"Your Privacy Choices"),s.onclick=n,s};if(t)t.appendChild(r(!1));else{console.error("MspaFooterHTMLId not found, inserting text into footer");var o=document.createElement("div");o.id=e,o.appendChild(r(!0)),document.body.appendChild(o)}}},{key:"getMspaRegion",value:function(){var e=g(f.a.mark((function e(){var t,n,r;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Mh.checkUserLocation();case 2:return t=e.sent,n=null===Uh||void 0===Uh?void 0:Uh.coreConfig.mspaJurisdiction,r="nat",n===cn&&(r=(null===t||void 0===t?void 0:t.region)||void 0),e.abrupt("return",r);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"fetchMspaConfig",value:function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,c,u,l;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getMspaRegion();case 2:return n=e.sent,e.next=5,Mh.checkUserLocation();case 5:if(r=e.sent,!(!(null===Uh||void 0===Uh||null===(t=Uh.coreConfig)||void 0===t?void 0:t.isCoveredTransaction)&&uf&&Object.keys(null===uf||void 0===uf?void 0:uf.getObject()).length>0)||On.includes(null===r||void 0===r?void 0:r.region)){e.next=41;break}o=Object.keys(null===uf||void 0===uf?void 0:uf.getObject())[0],e.t0=o,e.next=e.t0===Va.NAME?11:e.t0===da.NAME?13:e.t0===Aa.NAME?15:e.t0===Ta.NAME?17:e.t0===ma.NAME?19:e.t0===ia.NAME?21:e.t0===Xi.NAME?23:e.t0===qi.NAME?25:"usor"===e.t0?27:e.t0===Ri.NAME?29:e.t0===Oi.NAME?31:e.t0===di.NAME?33:e.t0===_i.NAME?35:e.t0===Pi.NAME?37:e.t0===vi.NAME?39:41;break;case 11:return n="tn",e.abrupt("break",41);case 13:return n="ia",e.abrupt("break",41);case 15:return n="nj",e.abrupt("break",41);case 17:return n="nh",e.abrupt("break",41);case 19:return n="ne",e.abrupt("break",41);case 21:return n="de",e.abrupt("break",41);case 23:return n="tx",e.abrupt("break",41);case 25:return n="mt",e.abrupt("break",41);case 27:return n="or",e.abrupt("break",41);case 29:return n="fl",e.abrupt("break",41);case 31:return n="ut",e.abrupt("break",41);case 33:return n="ca",e.abrupt("break",41);case 35:case 37:return n="ct",e.abrupt("break",41);case 39:return n="va",e.abrupt("break",41);case 41:"purposes-national-en.json",e.t1=n,e.next="ia"===e.t1?45:"tn"===e.t1?47:"nj"===e.t1?49:"nh"===e.t1?51:"ne"===e.t1?53:"de"===e.t1?55:"tx"===e.t1?57:"mt"===e.t1?59:"or"===e.t1?61:"fl"===e.t1?63:"ut"===e.t1?65:"ca"===e.t1?67:"co"===e.t1?69:"ct"===e.t1?71:"va"===e.t1?73:75;break;case 45:return"purposes-state-ia-en.json",e.abrupt("break",75);case 47:return"purposes-state-tn-en.json",e.abrupt("break",75);case 49:return"purposes-state-nj-en.json",e.abrupt("break",75);case 51:return"purposes-state-nh-en.json",e.abrupt("break",75);case 53:return"purposes-state-ne-en.json",e.abrupt("break",75);case 55:return"purposes-state-de-en.json",e.abrupt("break",75);case 57:return"purposes-state-tx-en.json",e.abrupt("break",75);case 59:return"purposes-state-mt-en.json",e.abrupt("break",75);case 61:return"purposes-state-or-en.json",e.abrupt("break",75);case 63:return"purposes-state-fl-en.json",e.abrupt("break",75);case 65:return"purposes-state-ut-en.json",e.abrupt("break",75);case 67:return"purposes-state-ca-en.json",e.abrupt("break",75);case 69:return"purposes-state-co-en.json",e.abrupt("break",75);case 71:return"purposes-state-ct-en.json",e.abrupt("break",75);case 73:return"purposes-state-va-en.json",e.abrupt("break",75);case 75:return e.prev=75,e.next=78,this.getMspaRegion();case 78:return a=e.sent,e.next=81,Mh.checkUserLocation();case 81:if(s=e.sent,!(!(null===Uh||void 0===Uh||null===(i=Uh.coreConfig)||void 0===i?void 0:i.isCoveredTransaction)&&uf&&Object.keys(null===uf||void 0===uf?void 0:uf.getObject()).length>0)||On.includes(null===s||void 0===s?void 0:s.region)){e.next=115;break}c=Object.keys(null===uf||void 0===uf?void 0:uf.getObject())[0],e.t2=c,e.next=e.t2===Oi.NAME?87:e.t2===di.NAME?89:e.t2===_i.NAME?91:e.t2===Pi.NAME?93:e.t2===vi.NAME?95:e.t2===Ri.NAME?97:"usor"===e.t2?99:e.t2===qi.NAME?101:e.t2===ma.NAME?103:e.t2===Ta.NAME?105:e.t2===Aa.NAME?107:e.t2===da.NAME?109:e.t2===Va.NAME?111:e.t2===ia.NAME?113:115;break;case 87:return a="ut",e.abrupt("break",115);case 89:return a="ca",e.abrupt("break",115);case 91:case 93:return a="ct",e.abrupt("break",115);case 95:return a="va",e.abrupt("break",115);case 97:return a="fl",e.abrupt("break",115);case 99:return a="or",e.abrupt("break",115);case 101:return a="mt",e.abrupt("break",115);case 103:return a="ne",e.abrupt("break",115);case 105:return a="nh",e.abrupt("break",115);case 107:return a="nj",e.abrupt("break",115);case 109:return a="ia",e.abrupt("break",115);case 111:return a="tn",e.abrupt("break",115);case 113:return a="de",e.abrupt("break",115);case 115:u="purposes-national-en.json",e.t3=a,e.next="ut"===e.t3?119:"ca"===e.t3?121:"co"===e.t3?123:"ct"===e.t3?125:"va"===e.t3?127:"fl"===e.t3?129:"tx"===e.t3?131:"mt"===e.t3?133:"or"===e.t3?135:"ne"===e.t3?137:"nh"===e.t3?139:"nj"===e.t3?141:"ia"===e.t3?143:"tn"===e.t3?145:"de"===e.t3?147:149;break;case 119:return u="purposes-state-ut-en.json",e.abrupt("break",149);case 121:return u="purposes-state-ca-en.json",e.abrupt("break",149);case 123:return u="purposes-state-co-en.json",e.abrupt("break",149);case 125:return u="purposes-state-ct-en.json",e.abrupt("break",149);case 127:return u="purposes-state-va-en.json",e.abrupt("break",149);case 129:return u="purposes-state-fl-en.json",e.abrupt("break",149);case 131:return u="purposes-state-tx-en.json",e.abrupt("break",149);case 133:return u="purposes-state-mt-en.json",e.abrupt("break",149);case 135:return u="purposes-state-or-en.json",e.abrupt("break",149);case 137:return u="purposes-state-ne-en.json",e.abrupt("break",149);case 139:return u="purposes-state-nh-en.json",e.abrupt("break",149);case 141:return u="purposes-state-nj-en.json",e.abrupt("break",149);case 143:return u="purposes-state-ia-en.json",e.abrupt("break",149);case 145:return u="purposes-state-tn-en.json",e.abrupt("break",149);case 147:return u="purposes-state-de-en.json",e.abrupt("break",149);case 149:return"https://cmp.inmobi.com/us-mspa/v1",e.next=152,Rp.get("".concat("https://cmp.inmobi.com/us-mspa/v1","/").concat(u));case 152:return l=e.sent,this._config=l.data,e.abrupt("return",l.data);case 157:e.prev=157,e.t4=e.catch(75),console.error("Failed to fetch mspa national config purposes: "+e.t4);case 160:case"end":return e.stop()}}),e,this,[[75,157]])})));return function(){return e.apply(this,arguments)}}()},{key:"config",get:function(){return this._config}}]),e}();Le.latestFilename="vendor-list-trimmed-v1.json";var uf,lf,df,pf=new vh,hf=!0,ff=function(){var e=g(f.a.mark((function e(t){var n,r,o,i,a,s,c,u,l,d,p,h,v,m,E,S,y,_,b,T,C,O,I,w,N,A,k,P,D,x,V,R,L,U,M,G;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(d=(Uh=t).coreConfig,p=d.privacyMode,h=d.publisherCountryCode,v=d.showSummaryView,m=d.gvlVersion,E=d.lang_,S=d.isAMP,y=d.gdprEncodingMode,_=d.inmobiAccountId,b="",T=!S&&Qp(S),C=S||T,Lh=new Qh,Mh=new gh("inUS"),O=new hh,lf=new cf,Bh=new Ph,"JYWDqeLS64fbt"===_&&[an.GPP,an.TCF_AND_GPP].includes(y))try{(I=ph(Ut))&&"undefined"!==I||(dh(Ut),dh(kt))}catch(F){console.error("Error while checking GPP cookie",F)}return e.next=13,Mh.checkUserLocation();case 13:if(w=e.sent,sh(t,w)){e.next=26;break}return uf=new Ba(10,Nt),new La,e.next=20,null===(N=uf)||void 0===N?void 0:N.getGvlFromUrl({baseUrl:2===m?"https://cmp.inmobi.com/GVL-v2/":"https://cmp.inmobi.com/GVL-v3/",version:"",languageFilename:"purposes-".concat(E||"en",".json"),versionedFilename:"",latestFilename:"vendor-list-trimmed-v1.json"});case 20:e.sent,null===(A=uf)||void 0===A||A.setCmpStatus(Vr.LOADED),null===(k=uf)||void 0===k||k.setSignalStatus(Ur.NOT_READY),null===(P=uf)||void 0===P||P.setEventStatus(Lr.GPP_LOADED),null===(D=uf)||void 0===D||D.setCmpDisplayStatus(Rr.HIDDEN),null===(x=uf)||void 0===x||x.setSupportedAPIs(["2:tcfeuv2","6:uspv1","7:usnat","8:usca","9:usva","10:usco","11:usut","12:usct","13:usfl","14:usmt","15:usor","16:ustx","17:usde","18:usia","19:usne","20:usnh","21:usnj","22:ustn"]);case 26:return e.next=28,Lh.shouldShowGdpr(w);case 28:return hf=e.sent,Le.baseUrl=2===m?"https://cmp.inmobi.com/GVL-v2/":"https://cmp.inmobi.com/GVL-v3/",S||T||console.warn("CMP pop-up will not be shown as storage is not accessible"),Gh=function(){var e=g(f.a.mark((function e(){var t,n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(null===p||void 0===p?void 0:p.includes("USP"))&&C?O.initUsp():(n=t=function(e,t,n){"getUSPData"===e&&1===t&&"function"===typeof n&&n({version:1,uspString:"1---"},!0)},Object.assign(window,{__uspapi:t}),Object.assign(window,{__gppapi:n}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),qh=function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,c,u,l,d,h,v,g,m,E,S,y,_,b,T,O,I,N;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((null===w||void 0===w?void 0:w.country)!==un||!C||!(null===p||void 0===p?void 0:p.includes("USP"))){e.next=44;break}r=null===w||void 0===w?void 0:w.region,e.t0=r,e.next="fl"===e.t0?5:"tx"===e.t0?7:"mt"===e.t0?9:"or"===e.t0?11:"de"===e.t0?13:"ne"===e.t0?15:"nh"===e.t0?17:"nj"===e.t0?19:"tn"===e.t0?21:"ia"===e.t0?23:"ne"===e.t0?25:"nh"===e.t0?27:"nj"===e.t0?29:"ca"===e.t0?31:"ct"===e.t0?33:"co"===e.t0?35:"va"===e.t0?37:"ut"===e.t0?39:41;break;case 5:return null===(o=uf)||void 0===o||o.setApplicableSections([Pn]),e.abrupt("break",43);case 7:return null===(i=uf)||void 0===i||i.setApplicableSections([Vn]),e.abrupt("break",43);case 9:return null===(a=uf)||void 0===a||a.setApplicableSections([Dn]),e.abrupt("break",43);case 11:return null===(s=uf)||void 0===s||s.setApplicableSections([xn]),e.abrupt("break",43);case 13:return null===(c=uf)||void 0===c||c.setApplicableSections([Rn]),e.abrupt("break",43);case 15:return null===(u=uf)||void 0===u||u.setApplicableSections([Un]),e.abrupt("break",43);case 17:return null===(l=uf)||void 0===l||l.setApplicableSections([Mn]),e.abrupt("break",43);case 19:return null===(d=uf)||void 0===d||d.setApplicableSections([Gn]),e.abrupt("break",43);case 21:return null===(h=uf)||void 0===h||h.setApplicableSections([Fn]),e.abrupt("break",43);case 23:return null===(v=uf)||void 0===v||v.setApplicableSections([Ln]),e.abrupt("break",43);case 25:return null===(g=uf)||void 0===g||g.setApplicableSections([Un]),e.abrupt("break",43);case 27:return null===(m=uf)||void 0===m||m.setApplicableSections([Mn]),e.abrupt("break",43);case 29:return null===(E=uf)||void 0===E||E.setApplicableSections([Gn]),e.abrupt("break",43);case 31:return null===(S=uf)||void 0===S||S.setApplicableSections([kn]),e.abrupt("break",43);case 33:return null===(y=uf)||void 0===y||y.setApplicableSections([In]),e.abrupt("break",43);case 35:return null===(_=uf)||void 0===_||_.setApplicableSections([Nn]),e.abrupt("break",43);case 37:return null===(b=uf)||void 0===b||b.setApplicableSections([An]),e.abrupt("break",43);case 39:return null===(T=uf)||void 0===T||T.setApplicableSections([wn]),e.abrupt("break",43);case 41:return null===(O=uf)||void 0===O||O.setApplicableSections([qn]),e.abrupt("break",43);case 43:lf.initMspa(w);case 44:lf.checkIfGppExists()&&!(null===(t=Uh)||void 0===t||null===(n=t.coreConfig)||void 0===n?void 0:n.isAMP)&&(I=lf.getGppString())&&uf&&(null===(N=uf)||void 0===N||N.setGppString(I));case 45:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Fh=function(){var e=g(f.a.mark((function e(){var n,r,o,i,a,s,c;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,If();case 2:if(e.sent){e.next=7;break}if(console.warn("Google basic consent is not applicable."),!S)try{localStorage.removeItem(Lt)}catch(u){console.warn("Error in removing local storage item")}return e.abrupt("return");case 7:S||(Vf.setGbcConsents(),a=null===(n=t.coreConfig)||void 0===n||null===(r=n.gbcConfig)||void 0===r?void 0:r.adsDataRedaction,s=null===(o=t.coreConfig)||void 0===o||null===(i=o.gbcConfig)||void 0===i?void 0:i.urlPassThrough,a&&window.gtag(en,nn,!0),s&&window.gtag(en,tn,!0)),C&&(c=function(e,t,n){return Vf[e]()},Object.assign(window,{__gbcapi:c}));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),jh=new Xh,Hh=new nf,zh=new ef,$h=new of,Wh=new kh,Yh=null,Kh=function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a,s,c,u=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=u.length>0&&void 0!==u[0]&&u[0],(hf||t)&&((Yh=new Ue).cmpId=10,Yh.cmpVersion=Nt,Yh.publisherCountryCode=h,Yh.isServiceSpecific=!0,r=za(Uh),(o=r.purposeIds).includes(1)||("DE"===h?Yh.purposeOneTreatment=!0:o.push(1))),e.prev=2,!hf&&!t){e.next=12;break}return e.next=6,Lh.fetchCookieValues();case 6:return e.next=8,jh.fetchList();case 8:return e.next=10,Lh.fetchDataToReprompt();case 10:if(n=e.sent,!S&&$p(Mt)!==y)try{(null===(i=Bh.get(kt))||void 0===i?void 0:i.message)||S||(null===(a=uf)||void 0===a||a.setSectionString(Lo.NAME,i),null===(s=uf)||void 0===s||s.setFieldValue(Lo.NAME,"CmpId",10),Bh.set(Ut,null===(c=uf)||void 0===c?void 0:c.getGppString(),!1),Bh.set(Mt,y))}catch(F){console.error(F)}case 12:e.next=17;break;case 14:e.prev=14,e.t0=e.catch(2),console.error(e.t0);case 17:return e.abrupt("return",n);case 18:case"end":return e.stop()}}),e,null,[[2,14]])})));return function(){return e.apply(this,arguments)}}(),e.next=43,Kh();case 43:return b=e.sent,e.next=46,Gh();case 46:return e.next=48,qh();case 48:return e.next=50,Fh();case 50:if(![null===t||void 0===t||null===(n=t.coreConfig)||void 0===n||null===(r=n.consentOrPay)||void 0===r||null===(o=r.actionButtonSettings)||void 0===o?void 0:o.action1Url,null===t||void 0===t||null===(i=t.coreConfig)||void 0===i||null===(a=i.consentOrPay)||void 0===a||null===(s=a.actionButtonSettings)||void 0===s?void 0:s.action2Url].includes(window.location.href)){e.next=53;break}return console.log("tre"),e.abrupt("return");case 53:if(V=(!uh(Uh,w)||lh())&&"Reject"==Bh.get(Bt)&&!Bh.get(kt),R=!1,!(b&&hf&&(null===w||void 0===w?void 0:w.country)!==un&&C||V)){e.next=60;break}R=!0,pf.displayUi("GDPR",v?0:1,!0),e.next=71;break;case 60:if(!uh(Uh,w)||lh()||"Reject"!=Bh.get(Bt)||"true"!==Bh.get(qt)){e.next=65;break}R=!0,pf.displayUi("GDPR",v?0:1,!0),e.next=71;break;case 65:if(!("GGCdjccSp1qc-"===_&&Boolean(localStorage.getItem("displayConsentUi"))||(null===t||void 0===t||null===(L=t.coreConfig)||void 0===L?void 0:L.gdprEnabledInUS)&&Boolean(localStorage.getItem("displayConsentUi")))){e.next=68;break}return e.next=68,Lh.fetchCookieValues();case 68:R=!1,Lh._apiUpdated||Lh.updateApiVisible(!1),(null===t||void 0===t||null===(U=t.coreConfig)||void 0===U||null===(M=U.consentLocations)||void 0===M?void 0:M.includes("WORLDWIDE"))||Lh.updateApiVisible(!1);case 71:(null===t||void 0===t||null===(c=t.coreConfig)||void 0===c||null===(u=c.features)||void 0===u?void 0:u.visitEvents)&&!(null===t||void 0===t||null===(l=t.coreConfig)||void 0===l?void 0:l.isAMP)&&ah(t,w,R),null===rh(w,Uh)&&(console.log("Regulation is not applicable, but make signalStatus as ready."),null===(G=uf)||void 0===G||G.setSignalStatus(Ur.READY));case 73:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),vf=function(e){return i(i(i(i({},e.coreConfig),e.premiumProperties),e.coreUiLabels),e.premiumUiLabels)},gf=function(e){return Math.floor(e.getTime()/100)},mf=function(e){return new Date(100*e)},Ef=function(e,t){var n=Object.keys(t).filter((function(t){return-1===e.indexOf(t)}));return n.length&&(t.notFound=n),t},Sf=function(e,t){var n=(null===Uh||void 0===Uh?void 0:Uh.coreConfig).consentLocations;return e||(null===n||void 0===n?void 0:n.includes(ln.WORLDWIDE))},yf=function(e,t){var n={};return t&&t.length>0?(t.forEach((function(t){void 0!==e[t]?n[t]=e[t]:n[t]=!1})),n):e},_f=function(e){var t=new Date(Date.now()+1e3*e.maxAge).toUTCString(),n="https:"===window.location.protocol?";SameSite=Lax;secure":"",r=Uh.coreConfig.cookiePath||"/";document.cookie=e.cookieName+"="+e.encodedValue+";path="+r+";max-age="+e.maxAge+";expires="+t+";domain="+Uh.coreConfig.cookieDomain+n},bf=function(e){return Me.encode(e)},Tf=function(e){return Me.decode(e)},Cf=function(e){var t=!1;switch(e){case"firefox":t=navigator.userAgent.toLowerCase().indexOf(e)>-1;break;case"safari":t=navigator.userAgent.toLowerCase().indexOf(e)>-1&&-1===navigator.userAgent.toLowerCase().indexOf("chrome")}return t},Of=function(e){var t=null,n=new Error("euconsent-v2 not valid");return e.forEach((function(e){var r=null;try{r=Tf(e)}catch(o){console.error("Failed to decode euconsent-v2 cookie: "+e)}r&&r.lastUpdated&&r.lastUpdated>t&&(t=r.lastUpdated,n=e)})),n},If=function(){var e,t,n,r,o,i=null===Uh||void 0===Uh||null===(e=Uh.coreConfig)||void 0===e||null===(t=e.gbcConfig)||void 0===t?void 0:t.enabled,a=null===Uh||void 0===Uh||null===(n=Uh.coreConfig)||void 0===n||null===(r=n.gbcConfig)||void 0===r||null===(o=r.locations)||void 0===o?void 0:o.map((function(e){return e.toLowerCase().trim()})),s=Mh.userLocation;if(!i)return!1;if(a){if(a.includes($t))return!0;var c;if(a.includes(Jt))return rn.includes(null===s||void 0===s||null===(c=s.country)||void 0===c?void 0:c.toUpperCase());if(a.includes(Qt))return Mh.isUserInUS}},wf=function(){var e=g(f.a.mark((function e(){var t,n,r,o,i,a=arguments;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:"en",n=a.length>1?a[1]:void 0,e.prev=2,r="https://cmp.inmobi.com/google-basic-consent/v1",o=t||"en",n==rt.USP&&(o="en"),e.next=8,Rp.get("".concat(r,"/purposes-").concat(o,".json"));case 8:return i=e.sent,e.abrupt("return",i.data);case 12:e.prev=12,e.t0=e.catch(2),console.error("Failed to fetch GBC purposes data: "+e.t0);case 15:case"end":return e.stop()}}),e,null,[[2,12]])})));return function(){return e.apply(this,arguments)}}(),Nf=function(e){return e>=54||"latest"==e},Af=function(){function e(){var t=this;m(this,e),r(this,"cmpApi",void 0),r(this,"isInitialized",void 0),r(this,"config",void 0),r(this,"MyCustomCommands",void 0);var n,o=window.__tcfapi();window.gtag||(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer&&window.dataLayer.push(arguments)}),o.length&&o.forEach((function(e){e&&"init"===e[0]&&(n=e[3])})),this.isInitialized=!1;var i="thirdPartyStorageType"in n.coreConfig?n.coreConfig.thirdPartyStorageType:"iframe",a="consentScope"in n.coreConfig?n.coreConfig.consentScope:"service",s="consentScopeGroupURL"in n.coreConfig?n.coreConfig.consentScopeGroupURL:"";a.includes("group")&&"iframe"===i&&s&&(df=new rf(n)),this.MyCustomCommands={getConfig:function(e,n){var r=t.getConfig(n),o=!1;"object"===typeof r&&(o=!0),e(r,o)},getNonIABVendorConsents:function(){var e=g(f.a.mark((function e(n,r){var o,i;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getNonIABVendorConsents(r);case 2:o=e.sent,i=!1,"object"===typeof o&&(i=!0),n(o,i);case 6:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),displayConsentUi:function(e,n){localStorage.setItem("displayConsentUi","true"),e(t.displayConsentUi())},setConsentInfo:function(e,t){return e(Lh.setConsents(t))},setPublisherRestriction:function(e,t){return e(Lh.setPublisherRestriction(t))},notifyUiState:function(e,t){return e(Lh.updateApiVisible(t.visible,!0))},init:function(e,n){return e(t.init(n))},encodeUSString:function(e,t){return e(Lh.encodeUSString(t))},loadGVL:function(){var e=g(f.a.mark((function e(t){return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,Lh.loadGVL();case 3:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},this.addGetTCDataToSupportGoogle(n),this.cmpApi=new Xe(10,Nt,!0,this.MyCustomCommands)}return S(e,[{key:"addGetTCDataToSupportGoogle",value:function(e){if("googleEnabled"in e.coreConfig&&e.coreConfig.googleEnabled){var t=function(){var e=g(f.a.mark((function e(t,n){var r,o;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===n||"object"!==typeof n){e.next=8;break}if(!Lh.fetchCookiesCalled){e.next=8;break}if(Lh.cookieValues.fetched){e.next=5;break}return e.next=5,Lh.cookieValues.promise;case 5:r=Lh.cookieValues.googleCookieValue,o=r?Wa(r):void 0,n.addtlConsent=o;case 8:"function"===typeof t&&("boolean"===typeof n?t(n):t(n,!0));case 9:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();this.MyCustomCommands.getTCData=t,this.MyCustomCommands.getInAppTCData=t}var n=function(){var e=g(f.a.mark((function e(t,n){var r,o,i,a,s,c,u;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{(o=(null===(r=Lh.cookieValues)||void 0===r?void 0:r.euconsent)||Bh.get(kt))&&(i=Me.decode(o),a={},s={},i.vendorConsents.forEach((function(e,t){a[t]=e})),i.vendorLegitimateInterests.forEach((function(e,t){s[t]=e})),c={},u={},i.purposeConsents.forEach((function(e,t){c[t]=e})),i.purposeLegitimateInterests.forEach((function(e,t){u[t]=e})),t({cmpId:i.cmpId,cmpVersion:i.cmpVersion,tcString:o,vendors:{consents:a,legitimateInterests:s},purpose:{consents:c,legitimateInterests:u}}))}catch(n){console.error("Something went wrong while populating consents and legitimate interests.",n)}case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}();this.MyCustomCommands.getTCFConsentsAndVendors=n}},{key:"displayConsentUi",value:function(){Jp(zt,"true"),localStorage.setItem("qc-cmp2-persistent-link-clicked","true"),pf.displayUi("GDPR",1)}},{key:"init",value:function(e){if(!this.isInitialized)return this.isInitialized=!0,this.config||(this.config=new Er(e),this.config.initializeConfig()),ff(this.config);console.warn("init has already been called and should only be run one time.")}},{key:"getConfig",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"all";if(this.config)switch(e){case"all":return{coreConfig:this.config.coreConfig,coreUiLabels:this.config.coreUiLabels,premiumProperties:this.config.premiumProperties,premiumUiLabels:this.config.premiumUiLabels,theme:this.config.theme,nonIabVendorsInfo:this.config.nonIabVendorsInfo};case"Core Config":return this.config.coreConfig;case"Premium Properties":return this.config.premiumProperties;case"Core UI Labels":return this.config.coreUiLabels;case"Premium UI Labels":return this.config.premiumUiLabels;case"Theme":return this.config.theme;case"Non Iab Vendors Info":return this.config.nonIabVendorsInfo;default:var t=vf(this.config);if(t[e])return t[e];console.warn('"'.concat(e,'": was not found in configs'))}else console.error("Should run init before running getConfig")}},{key:"getConfigInstance",value:function(){return this.config}},{key:"getNonIABVendorConsents",value:function(){var e=g(f.a.mark((function e(t){var n,r,o,a,s,u,l;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("undefined"===typeof this.config){e.next=14;break}if(!Lh.fetchCookiesCalled){e.next=5;break}if(Lh.cookieValues.fetched){e.next=5;break}return e.next=5,Lh.cookieValues.promise;case 5:return o=Mh.userLocation,a=[].concat(c(rn),c(on)).includes(null===o||void 0===o||null===(n=o.country)||void 0===n?void 0:n.toUpperCase()),s=Ya(null===jh||void 0===jh?void 0:jh.decode,null===Lh||void 0===Lh||null===(r=Lh.cookieValues)||void 0===r?void 0:r.nonIabVendorConsent),u=null,l=Sf(a,this.config.coreConfig.displayUi),s&&t?u=yf(s.vendorConsents,t):s&&(u=i({},s.vendorConsents)),e.abrupt("return",{gdprApplies:l,metadata:u?Bh.encode(i(i({},s),{},{cookieName:"noniabvendorconsent"}),!0):null,nonIabVendorConsents:u||null});case 14:console.log("Config was not found");case 15:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}()}]),e}(),kf=function(){function e(){var t=this;m(this,e),r(this,"__gbcapi",void 0),r(this,"handleServiceGroup",function(){var e=g(f.a.mark((function e(t){var n;return f.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:Lh.cookieValues.gbcConsent?(n=Wh.generateRepromptOptionsHash(),Lh.setData({vendorCookieValue:Lh.cookieValues.euconsent,nonIabCookieValue:Lh.cookieValues.nonIabVendorConsent,repromptHash:n,googleCookieValue:Lh.cookieValues.googleCookieValue,gppConsent:Lh.cookieValues.gppConsent,gbcConsentsValue:JSON.stringify(t)})):Jp(Lt,JSON.stringify(t));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),this.__gbcapi=function(e,n){if("function"===typeof n)try{t[e](n)}catch(r){console.error("The function ".concat(e," is not defined"))}else if(void 0===n)try{"displayGbcUi"!=e&&"getGoogleConsents"!=e||t[e]()}catch(r){console.error("The function ".concat(e," is missing required parameters"))}}}return S(e,[{key:"displayGbcUi",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:gt.GOOGLE_BASIC_CONSENT;If()?pf.displayUi("GBC",e,!0):console.warn("Google Basic Consent is not enabled!")}},{key:"getGoogleConsents",value:function(){if(If()){var e,t,n=null===(e=window)||void 0===e||null===(t=e.dataLayer)||void 0===t?void 0:t.filter((function(e){return e[0]===Zt}));return console.log(n),n}}},{key:"setGbcConsents",value:function(){var e;if(!(null===Uh||void 0===Uh||null===(e=Uh.coreConfig)||void 0===e?void 0:e.isAMP)){var t=!!Lh.cookieValues.gbcConsent||$p(Lt);if(this.fireDefaultGtagEvent(),t){var n,r,o=(null===Lh||void 0===Lh||null===(n=Lh.cookieValues)||void 0===n?void 0:n.gbcConsent)||$p(Lt),i=Uh.coreConfig,a=JSON.parse(o||"[]"),s=null===i||void 0===i||null===(r=i.gbcConfig)||void 0===r?void 0:r.applicablePurposes.map((function(e){var t,n,r=a.findIndex((function(t){return t.id==e.id})),o=null===i||void 0===i||null===(t=i.gbcConfig)||void 0===t?void 0:t.applicablePurposes;if(-1!=r)return{id:e.id,selected:null===a||void 0===a||null===(n=a[r])||void 0===n?void 0:n.selected};var s,c=null===o||void 0===o||null===(s=o.find((function(t){return t.id==e.id})))||void 0===s?void 0:s.defaultValue.toLowerCase();return{id:e.id,selected:c===Yt}}));this.handleServiceGroup(s),this.fireUpdateGtagEvent(s),this.fireGtagRefreshEvent()}else{var c,u=Uh.coreConfig,l=((null===u||void 0===u||null===(c=u.gbcConfig)||void 0===c?void 0:c.applicablePurposes)||[]).map((function(e){var t;return{id:e.id,selected:(null===(t=e.defaultValue)||void 0===t?void 0:t.toLowerCase())===Yt}}));this.handleServiceGroup(l)}}}},{key:"fireDefaultGtagEvent",value:function(){var e,t={};null===(e=Uh.coreConfig.gbcConfig)||void 0===e||e.applicablePurposes.forEach((function(e){var n=Wt[e.id.toString().trim()];n&&(t[n]=e.defaultValue.toLowerCase())})),function(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.hasOwnProperty("0")&&n.hasOwnProperty("1")&&n[0]===Zt&&n[1]===Xt)return!0}return!1}(window.dataLayer)||this.fireGtagEvent("default",t)}},{key:"fireUpdateGtagEvent",value:function(e){var t={};e.forEach((function(e){var n=Wt[e.id.toString().trim()];n&&(t[n]=e.selected?Yt:Kt)})),this.fireGtagEvent("update",t)}},{key:"fireGtagEvent",value:function(e,t){window.gtag(Zt,e,t)}},{key:"fireGtagRefreshEvent",value:function(){var e;null===(e=window.dataLayer)||void 0===e||e.push({event:"consent_cookie_refresh"})}}]),e}(),Pf=function(){function e(){var t=this;m(this,e),r(this,"__gpp",void 0),this.__gpp=function(e,n,r){if(e||console.error("The command cannot be empty"),"function"===typeof n)try{void 0!==r?t[e](n,r):t[e](n)}catch(o){console.error("The function ".concat(e," is not defined"))}else if(void 0===n)try{t[e]()}catch(o){console.log("error",o,e),console.error("The function ".concat(e," is missing required parameters"))}else console.warn("The third parameter should be a callback for the ".concat(e," function"))}}return S(e,[{key:"init",value:function(){this.__gpp}},{key:"initGpp",value:function(){var e=this.__gpp;Object.assign(window,{__gpp:e})}},{key:"ping",value:function(){var e={gppVersion:"1.1",cmpStatus:null===uf||void 0===uf?void 0:uf.getCmpStatus(),cmpDisplayStatus:null===uf||void 0===uf?void 0:uf.getCmpDisplayStatus(),signalStatus:null===uf||void 0===uf?void 0:uf.getSignalStatus(),supportedAPIs:null===uf||void 0===uf?void 0:uf.getSupportedAPIs(),cmpId:10,applicableSections:null===uf||void 0===uf?void 0:uf.getApplicableSections(),gppString:null===uf||void 0===uf?void 0:uf.getGppString(),parsedSections:[],sectionList:[]};return console.log("ping",e),e}}]),e}(),Df=new Af,xf=new hh,Vf=new kf,Rf=new Pf,Lf=new cf},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){e.exports=n(106)}]);