cmp.inmobi.com Open in urlscan Pro
2600:9000:275b:2600:1b:cadc:ef40:93a1  Public Scan

URL: https://cmp.inmobi.com/tcfv2/53/cmp2ui-en.js
Submission: On November 08 via api from IT — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

/*! For license information please see cmp2ui-en.js.LICENSE.txt */
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/",t(t.s=13)}([function(e,n,t){e.exports=t(14)},function(e,n,t){"use strict";var r=t(4),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 l(e,n){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),i(e))for(var t=0,r=e.length;t<r;t++)n.call(null,e[t],t,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.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:l,merge:function e(){var n={};function t(t,r){"object"===typeof n[r]&&"object"===typeof t?n[r]=e(n[r],t):n[r]=t}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],t);return n},deepMerge:function e(){var n={};function t(t,r){"object"===typeof n[r]&&"object"===typeof t?n[r]=e(n[r],t):n[r]="object"===typeof t?e({},t):t}for(var r=0,o=arguments.length;r<o;r++)l(arguments[r],t);return n},extend:function(e,n,t){return l(n,(function(n,o){e[o]=t&&"function"===typeof n?r(n,t):n})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(e,n,t){e.exports=t(19)},function(e,n,t){"use strict";var r=t(16),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 l=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(n,t,r){if("string"!==typeof t){if(m){var o=f(t);o&&o!==m&&e(n,o,r)}var a=u(t);p&&(a=a.concat(p(t)));for(var s=c(n),h=c(t),g=0;g<a.length;++g){var v=a[g];if(!i[v]&&(!r||!r[v])&&(!h||!h[v])&&(!s||!s[v])){var y=d(t,v);try{l(n,v,y)}catch(b){}}}}return n}},function(e,n,t){"use strict";e.exports=function(e,n){return function(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];return e.apply(n,t)}}},function(e,n,t){"use strict";var r=t(1);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,n,t){if(!n)return e;var i;if(t)i=t(n);else if(r.isURLSearchParams(n))i=n.toString();else{var a=[];r.forEach(n,(function(e,n){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?n+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(n)+"="+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,n,t){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},function(e,n,t){"use strict";(function(n){var r=t(1),o=t(25),i={"Content-Type":"application/x-www-form-urlencoded"};function a(e,n){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=n)}var s={adapter:function(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof n&&"[object process]"===Object.prototype.toString.call(n))&&(e=t(8)),e}(),transformRequest:[function(e,n){return o(n,"Accept"),o(n,"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(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(a(n,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(n){}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,t(24))},function(e,n,t){"use strict";var r=t(1),o=t(26),i=t(5),a=t(28),s=t(31),c=t(32),l=t(9);e.exports=function(e){return new Promise((function(n,u){var p=e.data,d=e.headers;r.isFormData(p)&&delete d["Content-Type"];var f=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",h=e.auth.password||"";d.Authorization="Basic "+btoa(m+":"+h)}var g=a(e.baseURL,e.url);if(f.open(e.method.toUpperCase(),i(g,e.params,e.paramsSerializer),!0),f.timeout=e.timeout,f.onreadystatechange=function(){if(f&&4===f.readyState&&(0!==f.status||f.responseURL&&0===f.responseURL.indexOf("file:"))){var t="getAllResponseHeaders"in f?s(f.getAllResponseHeaders()):null,r={data:e.responseType&&"text"!==e.responseType?f.response:f.responseText,status:f.status,statusText:f.statusText,headers:t,config:e,request:f};o(n,u,r),f=null}},f.onabort=function(){f&&(u(l("Request aborted",e,"ECONNABORTED",f)),f=null)},f.onerror=function(){u(l("Network Error",e,null,f)),f=null},f.ontimeout=function(){var n="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(n=e.timeoutErrorMessage),u(l(n,e,"ECONNABORTED",f)),f=null},r.isStandardBrowserEnv()){var v=t(33),y=(e.withCredentials||c(g))&&e.xsrfCookieName?v.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in f&&r.forEach(d,(function(e,n){"undefined"===typeof p&&"content-type"===n.toLowerCase()?delete d[n]:f.setRequestHeader(n,e)})),r.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),e.responseType)try{f.responseType=e.responseType}catch(b){if("json"!==e.responseType)throw b}"function"===typeof e.onDownloadProgress&&f.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&f.upload&&f.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){f&&(f.abort(),u(e),f=null)})),void 0===p&&(p=null),f.send(p)}))}},function(e,n,t){"use strict";var r=t(27);e.exports=function(e,n,t,o,i){var a=new Error(e);return r(a,n,t,o,i)}},function(e,n,t){"use strict";var r=t(1);e.exports=function(e,n){n=n||{};var t={},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 n[e]&&(t[e]=n[e])})),r.forEach(i,(function(o){r.isObject(n[o])?t[o]=r.deepMerge(e[o],n[o]):"undefined"!==typeof n[o]?t[o]=n[o]:r.isObject(e[o])?t[o]=r.deepMerge(e[o]):"undefined"!==typeof e[o]&&(t[o]=e[o])})),r.forEach(a,(function(r){"undefined"!==typeof n[r]?t[r]=n[r]:"undefined"!==typeof e[r]&&(t[r]=e[r])}));var s=o.concat(i).concat(a),c=Object.keys(n).filter((function(e){return-1===s.indexOf(e)}));return r.forEach(c,(function(r){"undefined"!==typeof n[r]?t[r]=n[r]:"undefined"!==typeof e[r]&&(t[r]=e[r])})),t}},function(e,n,t){"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","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 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 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 or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage."],"summaryScreenBodyTextNoReject":["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 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 or withdraw your consent at any time by returning to this site and clicking the \\"Privacy\\" button at the bottom of the webpage."],"summaryScreenBodyNoRejectGroup":["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} 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. 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."],"summaryScreenBodyTextNoRejectGroup":["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} 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. 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."],"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 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. 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."],"summaryScreenBodyTextReject":["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. 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."],"summaryScreenBodyRejectGroup":["We and our ${partners} partners store or access information on the device, such as cookies, and process personal data, such as unique identifiers and standard information sent by the device for the purposes described below.","You can click to consent to us and our partners processing for such purposes. Otherwise, you can click to refuse to give consent or access more detailed information and change your preferences before giving consent. Your preferences will apply to a group of sites. Please note that some processing of your personal data may not require your consent, but you have the right to object to such processing. You can change or revoke your preferences at any time by returning to this page and clicking on the \\"Privacy\\" button at the bottom of the website."],"summaryScreenBodyTextRejectGroup":["We and our ${partners} partners store or access information on the device, such as cookies, and process personal data, such as unique identifiers and standard information sent by the device for the purposes described below.","You can click to consent to us and our partners processing for such purposes. Otherwise, you can click to refuse to give consent or access more detailed information and change your preferences before giving consent. Your preferences will apply to a group of sites.","Please note that some processing of your personal data may not require your consent, but you have the right to object to such processing. You can change or revoke your preferences at any time by returning to this page and clicking on the \\"Privacy\\" button at the bottom of the website."],"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","daysLabel":"Days"},"premiumUiLabels":{"linksTitle":"Additional Links","nonIabVendorsLabel":"Non-IAB Vendors","uspAcceptButton":"CONFIRM","uspAccessDataLinkText":"Data Access","uspDeleteDataLinkText":"Data Deletion","uspDnsTitle":"Do Not Sell My Personal Information","uspDoNotSellToggleText":"I want to request that you \u2018Do Not Sell My Personal Information\u2019","uspPrivacyPolicyLinkText":"Privacy Policy","uspDnsText":"<p>When you visit this website, we collect personal information such as IP addresses, cookie identifiers and other pseudonymous identifiers. This information may be used to personalize content based on your interests, run and optimize advertising campaigns tailored to you, measure the performance of ads and content, and derive insights about the audiences who engage with ads and content. 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><p>Using personal information as described above is an integral part of how we operate our website, make revenue to support our staff, and generate relevant content for our audience. You can learn more about our data collection and use practices in our Privacy Policy.</p><br /><p>If you wish to opt out of the disclosure of your personal information to third parties by us, please use the below opt out and confirm your selection. Please note that after your opt out request is processed, you may continue seeing interest&ndash;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 <a target=\\"_blank\\" href=\\"https://www.iabprivacy.com/optout.html\\">IAB\u2019s List of Downstream Participants</a>.</p>"},"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."]}}')},function(e,n,t){e.exports=t(36)},function(e,n,t){var r=function(e){"use strict";var n=Object.prototype,t=n.hasOwnProperty,r="function"===typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function s(e,n,t){return Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[n]}try{s({},"")}catch(S){s=function(e,n,t){return e[n]=t}}function c(e,n,t,r){var o=n&&n.prototype instanceof p?n:p,i=Object.create(o.prototype),a=new x(r||[]);return i._invoke=function(e,n,t){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 w()}for(t.method=o,t.arg=i;;){var a=t.delegate;if(a){var s=_(a,t);if(s){if(s===u)continue;return s}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if("suspendedStart"===r)throw r="completed",t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);r="executing";var c=l(e,n,t);if("normal"===c.type){if(r=t.done?"completed":"suspendedYield",c.arg===u)continue;return{value:c.arg,done:t.done}}"throw"===c.type&&(r="completed",t.method="throw",t.arg=c.arg)}}}(e,t,a),i}function l(e,n,t){try{return{type:"normal",arg:e.call(n,t)}}catch(S){return{type:"throw",arg:S}}}e.wrap=c;var u={};function p(){}function d(){}function f(){}var m={};m[o]=function(){return this};var h=Object.getPrototypeOf,g=h&&h(h(k([])));g&&g!==n&&t.call(g,o)&&(m=g);var v=f.prototype=p.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(n){s(e,n,(function(e){return this._invoke(n,e)}))}))}function b(e,n){var r;this._invoke=function(o,i){function a(){return new n((function(r,a){!function r(o,i,a,s){var c=l(e[o],e,i);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"===typeof p&&t.call(p,"__await")?n.resolve(p.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):n.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,s)}))}s(c.arg)}(o,i,r,a)}))}return r=r?r.then(a,a):a()}}function _(e,n){var t=e.iterator[n.method];if(void 0===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=void 0,_(e,n),"throw"===n.method))return u;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=l(t,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,u;var o=r.arg;return o?o.done?(n[e.resultName]=o.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,u):o:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,u)}function E(e){var n={tryLoc:e[0]};1 in e&&(n.catchLoc=e[1]),2 in e&&(n.finallyLoc=e[2],n.afterLoc=e[3]),this.tryEntries.push(n)}function C(e){var n=e.completion||{};n.type="normal",delete n.arg,e.completion=n}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function k(e){if(e){var n=e[o];if(n)return n.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(t.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=void 0,n.done=!0,n};return i.next=i}}return{next:w}}function w(){return{value:void 0,done:!0}}return d.prototype=v.constructor=f,f.constructor=d,d.displayName=s(f,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var n="function"===typeof e&&e.constructor;return!!n&&(n===d||"GeneratorFunction"===(n.displayName||n.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,s(e,a,"GeneratorFunction")),e.prototype=Object.create(v),e},e.awrap=function(e){return{__await:e}},y(b.prototype),b.prototype[i]=function(){return this},e.AsyncIterator=b,e.async=function(n,t,r,o,i){void 0===i&&(i=Promise);var a=new b(c(n,t,r,o),i);return e.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(v),s(v,a,"Generator"),v[o]=function(){return this},v.toString=function(){return"[object Generator]"},e.keys=function(e){var n=[];for(var t in e)n.push(t);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},e.values=k,x.prototype={constructor:x,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(C),!e)for(var n in this)"t"===n.charAt(0)&&t.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function r(t,r){return a.type="throw",a.arg=e,n.next=t,r&&(n.method="next",n.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=t.call(i,"catchLoc"),c=t.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,n){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&t.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=n&&n<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=n,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,n){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&&n&&(this.next=n),u},finish:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),C(t),u}},catch:function(e){for(var n=this.tryEntries.length-1;n>=0;--n){var t=this.tryEntries[n];if(t.tryLoc===e){var r=t.completion;if("throw"===r.type){var o=r.arg;C(t)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,t){return this.delegate={iterator:k(e),resultName:n,nextLoc:t},"next"===this.method&&(this.arg=void 0),u}},e}(e.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},function(e,n){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){"use strict";e.exports=t(17)},function(e,n,t){"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,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,p=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,m=r?Symbol.for("react.suspense"):60113,h=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,v=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,b=r?Symbol.for("react.fundamental"):60117,_=r?Symbol.for("react.responder"):60118,E=r?Symbol.for("react.scope"):60119;function C(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case o:switch(e=e.type){case p:case d:case a:case c:case s:case m:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case g:case l:return e;default:return n}}case i:return n}}}function x(e){return C(e)===d}n.AsyncMode=p,n.ConcurrentMode=d,n.ContextConsumer=u,n.ContextProvider=l,n.Element=o,n.ForwardRef=f,n.Fragment=a,n.Lazy=v,n.Memo=g,n.Portal=i,n.Profiler=c,n.StrictMode=s,n.Suspense=m,n.isAsyncMode=function(e){return x(e)||C(e)===p},n.isConcurrentMode=x,n.isContextConsumer=function(e){return C(e)===u},n.isContextProvider=function(e){return C(e)===l},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===o},n.isForwardRef=function(e){return C(e)===f},n.isFragment=function(e){return C(e)===a},n.isLazy=function(e){return C(e)===v},n.isMemo=function(e){return C(e)===g},n.isPortal=function(e){return C(e)===i},n.isProfiler=function(e){return C(e)===c},n.isStrictMode=function(e){return C(e)===s},n.isSuspense=function(e){return C(e)===m},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===a||e===d||e===c||e===s||e===m||e===h||"object"===typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===g||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===b||e.$$typeof===_||e.$$typeof===E||e.$$typeof===y)},n.typeOf=C},function(e,n){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,n,t){"use strict";var r=t(1),o=t(4),i=t(20),a=t(10);function s(e){var n=new i(e),t=o(i.prototype.request,n);return r.extend(t,i.prototype,n),r.extend(t,n),t}var c=s(t(7));c.Axios=i,c.create=function(e){return s(a(c.defaults,e))},c.Cancel=t(11),c.CancelToken=t(34),c.isCancel=t(6),c.all=function(e){return Promise.all(e)},c.spread=t(35),e.exports=c,e.exports.default=c},function(e,n,t){"use strict";var r=t(1),o=t(5),i=t(21),a=t(22),s=t(10);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 n=[a,void 0],t=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){n.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){n.push(e.fulfilled,e.rejected)}));n.length;)t=t.then(n.shift(),n.shift());return t},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(n,t){return this.request(r.merge(t||{},{method:e,url:n}))}})),r.forEach(["post","put","patch"],(function(e){c.prototype[e]=function(n,t,o){return this.request(r.merge(o||{},{method:e,url:n,data:t}))}})),e.exports=c},function(e,n,t){"use strict";var r=t(1);function o(){this.handlers=[]}o.prototype.use=function(e,n){return this.handlers.push({fulfilled:e,rejected:n}),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(n){null!==n&&e(n)}))},e.exports=o},function(e,n,t){"use strict";var r=t(1),o=t(23),i=t(6),a=t(7);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(n){delete e.headers[n]})),(e.adapter||a.adapter)(e).then((function(n){return s(e),n.data=o(n.data,n.headers,e.transformResponse),n}),(function(n){return i(n)||(s(e),n&&n.response&&(n.response.data=o(n.response.data,n.response.headers,e.transformResponse))),Promise.reject(n)}))}},function(e,n,t){"use strict";var r=t(1);e.exports=function(e,n,t){return r.forEach(t,(function(t){e=t(e,n)})),e}},function(e,n){var t,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(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"===typeof setTimeout?setTimeout:i}catch(e){t=i}try{r="function"===typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,l=[],u=!1,p=-1;function d(){u&&c&&(u=!1,c.length?l=c.concat(l):p=-1,l.length&&f())}function f(){if(!u){var e=s(d);u=!0;for(var n=l.length;n;){for(c=l,l=[];++p<n;)c&&c[p].run();p=-1,n=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(n){try{return r.call(null,e)}catch(n){return r.call(this,e)}}}(e)}}function m(e,n){this.fun=e,this.array=n}function h(){}o.nextTick=function(e){var n=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)n[t-1]=arguments[t];l.push(new m(e,n)),1!==l.length||u||s(f)},m.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=h,o.addListener=h,o.once=h,o.off=h,o.removeListener=h,o.removeAllListeners=h,o.emit=h,o.prependListener=h,o.prependOnceListener=h,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,n,t){"use strict";var r=t(1);e.exports=function(e,n){r.forEach(e,(function(t,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(e[n]=t,delete e[r])}))}},function(e,n,t){"use strict";var r=t(9);e.exports=function(e,n,t){var o=t.config.validateStatus;!o||o(t.status)?e(t):n(r("Request failed with status code "+t.status,t.config,null,t.request,t))}},function(e,n,t){"use strict";e.exports=function(e,n,t,r,o){return e.config=n,t&&(e.code=t),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,n,t){"use strict";var r=t(29),o=t(30);e.exports=function(e,n){return e&&!r(n)?o(e,n):n}},function(e,n,t){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,n,t){"use strict";e.exports=function(e,n){return n?e.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):e}},function(e,n,t){"use strict";var r=t(1),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 n,t,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),n=r.trim(e.substr(0,i)).toLowerCase(),t=r.trim(e.substr(i+1)),n){if(a[n]&&o.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([t]):a[n]?a[n]+", "+t:t}})),a):a}},function(e,n,t){"use strict";var r=t(1);e.exports=r.isStandardBrowserEnv()?function(){var e,n=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");function o(e){var r=e;return n&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return e=o(window.location.href),function(n){var t=r.isString(n)?o(n):n;return t.protocol===e.protocol&&t.host===e.host}}():function(){return!0}},function(e,n,t){"use strict";var r=t(1);e.exports=r.isStandardBrowserEnv()?{write:function(e,n,t,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(n)),r.isNumber(t)&&s.push("expires="+new Date(t).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 n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,n,t){"use strict";var r=t(11);function o(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var t=this;e((function(e){t.reason||(t.reason=new r(e),n(t.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(n){e=n})),cancel:e}},e.exports=o},function(e,n,t){"use strict";e.exports=function(e){return function(n){return e.apply(null,n)}}},function(e,n,t){"use strict";function r(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function i(e,n){if(e){if("string"===typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}}function a(e){return function(e){if(Array.isArray(e))return r(e)}(e)||o(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e){if(Array.isArray(e))return e}function c(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e){if("undefined"===typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=i(e))){var n=0,t=function(){};return{s:t,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:t}}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,a=!0,s=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function u(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function p(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,n,t){return n&&p(e.prototype,n),t&&p(e,t),e}function f(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.r(n),t.d(n,"cmpApiUi",(function(){return qs}));var m=function(e){return e.MANDATORY="tcfui:mandatory",e.CHANGE_OF_CONSENT="tcfui:changeofconsent",e.CCPA="uspui:donotsell",e.GBC_MANDATORY="gbc:mandatory",e.GBC_CHANGE_OF_CONSENT="gbc:changeofconsent",e.GBC_US="gbc:usoptout",e.GBC_STANDALONE="gbc:standalone",e}({}),h=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}({}),g=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}({}),v=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}({}),y=function(e){return e.INIT="init",e.NAVIGATION="navigation",e.DONE="done",e}({}),b=function(e){return e.ACCEPT_ALL="All",e.ACCEPT_PARTIAL="Partial",e.REJECT="Reject",e}({}),_=function(e){return e.NONE_OBJECTED="None",e.ALL_OBJECTED="All",e}({}),E=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}({}),C=function(e){return e.CONSENT_RESPONSE="consent-response",e.CONSENT_UI="consent-ui",e}({}),x=function(e){return e[e.GDPR=2]="GDPR",e[e.USP=3]="USP",e}({}),k=function(e){return e.ACCEPT="accept",e.REJECT="reject",e.DISMISS="dismiss",e.ENTER_FULLSCREEN="enter-fullscreen",e}({}),w=parseInt("".concat("53")),S=("".concat(1,"---"),"".concat(1,"N--"),"".concat(1,"NY"),"".concat(1,"NN"),[g.INIT_PAGE,g.PURPOSES_PAGE,g.VENDORS_PAGE,g.LEGITIMATE_PAGE]),L=Number.isNaN(w)?1:w,P="gbc_consent",T=27,A={1:"ad_storage",2:"ad_user_data",3:"ad_personalization",4:"analytics_storage",5:"functionality_storage",6:"personalization_storage",7:"security_storage"},I="granted",O="denied",q="consent",N="update";function R(e,n){return s(e)||function(e,n){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var t=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(t.push(a.value),!n||t.length!==n);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return t}}(e,n)||i(e,n)||c()}function D(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function U(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?D(Object(t),!0).forEach((function(n){f(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):D(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var B,G,V,j,F,M={},H=[],z=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function $(e,n){for(var t in n)e[t]=n[t];return e}function Y(e){var n=e.parentNode;n&&n.removeChild(e)}function W(e,n,t){var r,o,i,a=arguments,s={};for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:s[i]=n[i];if(arguments.length>3)for(t=[t],i=3;i<arguments.length;i++)t.push(a[i]);if(null!=t&&(s.children=t),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return J(e,s,r,o,null)}function J(e,n,t,r,o){var i={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++B.__v:o};return null!=B.vnode&&B.vnode(i),i}function K(e){return e.children}function X(e,n){this.props=e,this.context=n}function Q(e,n){if(null==n)return e.__?Q(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?Q(e):null}function Z(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return Z(e)}}function ee(e){(!e.__d&&(e.__d=!0)&&G.push(e)&&!ne.__r++||j!==B.debounceRendering)&&((j=B.debounceRendering)||V)(ne)}function ne(){for(var e;ne.__r=G.length;)e=G.sort((function(e,n){return e.__v.__b-n.__v.__b})),G=[],e.some((function(e){var n,t,r,o,i,a;e.__d&&(i=(o=(n=e).__v).__e,(a=n.__P)&&(t=[],(r=$({},o)).__v=o.__v+1,ue(a,o,r,n.__n,void 0!==a.ownerSVGElement,null!=o.__h?[i]:null,t,null==i?Q(o):i,o.__h),pe(t,o),o.__e!=i&&Z(o)))}))}function te(e,n,t,r,o,i,a,s,c,l){var u,p,d,f,m,h,g,v=r&&r.__k||H,y=v.length;for(t.__k=[],u=0;u<n.length;u++)if(null!=(f=t.__k[u]=null==(f=n[u])||"boolean"==typeof f?null:"string"==typeof f||"number"==typeof f||"bigint"==typeof f?J(null,f,null,null,f):Array.isArray(f)?J(K,{children:f},null,null,null):f.__b>0?J(f.type,f.props,f.key,null,f.__v):f)){if(f.__=t,f.__b=t.__b+1,null===(d=v[u])||d&&f.key==d.key&&f.type===d.type)v[u]=void 0;else for(p=0;p<y;p++){if((d=v[p])&&f.key==d.key&&f.type===d.type){v[p]=void 0;break}d=null}ue(e,f,d=d||M,o,i,a,s,c,l),m=f.__e,(p=f.ref)&&d.ref!=p&&(g||(g=[]),d.ref&&g.push(d.ref,null,f),g.push(p,f.__c||m,f)),null!=m?(null==h&&(h=m),"function"==typeof f.type&&null!=f.__k&&f.__k===d.__k?f.__d=c=re(f,c,e):c=ie(e,f,d,v,m,c),l||"option"!==t.type?"function"==typeof t.type&&(t.__d=c):e.value=""):c&&d.__e==c&&c.parentNode!=e&&(c=Q(d))}for(t.__e=h,u=y;u--;)null!=v[u]&&("function"==typeof t.type&&null!=v[u].__e&&v[u].__e==t.__d&&(t.__d=Q(r,u+1)),me(v[u],v[u]));if(g)for(u=0;u<g.length;u++)fe(g[u],g[++u],g[++u])}function re(e,n,t){var r,o;for(r=0;r<e.__k.length;r++)(o=e.__k[r])&&(o.__=e,n="function"==typeof o.type?re(o,n,t):ie(t,o,o,e.__k,o.__e,n));return n}function oe(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){oe(e,n)})):n.push(e)),n}function ie(e,n,t,r,o,i){var a,s,c;if(void 0!==n.__d)a=n.__d,n.__d=void 0;else if(null==t||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 ae(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||z.test(n)?t:t+"px"}function se(e,n,t,r,o){var i;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(n in r)t&&n in t||ae(e.style,n,"");if(t)for(n in t)r&&t[n]===r[n]||ae(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])i=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+i]=t,t?r||e.addEventListener(n,i?le:ce,i):e.removeEventListener(n,i?le:ce,i);else if("dangerouslySetInnerHTML"!==n){if(o)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function ce(e){this.l[e.type+!1](B.event?B.event(e):e)}function le(e){this.l[e.type+!0](B.event?B.event(e):e)}function ue(e,n,t,r,o,i,a,s,c){var l,u,p,d,f,m,h,g,v,y,b,_=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(c=t.__h,s=n.__e=t.__e,n.__h=null,i=[s]),(l=B.__b)&&l(n);try{e:if("function"==typeof _){if(g=n.props,v=(l=_.contextType)&&r[l.__c],y=l?v?v.props.value:l.__:r,t.__c?h=(u=n.__c=t.__c).__=u.__E:("prototype"in _&&_.prototype.render?n.__c=u=new _(g,y):(n.__c=u=new X(g,y),u.constructor=_,u.render=he),v&&v.sub(u),u.props=g,u.state||(u.state={}),u.context=y,u.__n=r,p=u.__d=!0,u.__h=[]),null==u.__s&&(u.__s=u.state),null!=_.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=$({},u.__s)),$(u.__s,_.getDerivedStateFromProps(g,u.__s))),d=u.props,f=u.state,p)null==_.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==_.getDerivedStateFromProps&&g!==d&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(g,y),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(g,u.__s,y)||n.__v===t.__v){u.props=g,u.state=u.__s,n.__v!==t.__v&&(u.__d=!1),u.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(g,u.__s,y),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(d,f,m)}))}u.context=y,u.props=g,u.state=u.__s,(l=B.__r)&&l(n),u.__d=!1,u.__v=n,u.__P=e,l=u.render(u.props,u.state,u.context),u.state=u.__s,null!=u.getChildContext&&(r=$($({},r),u.getChildContext())),p||null==u.getSnapshotBeforeUpdate||(m=u.getSnapshotBeforeUpdate(d,f)),b=null!=l&&l.type===K&&null==l.key?l.props.children:l,te(e,Array.isArray(b)?b:[b],n,t,r,o,i,a,s,c),u.base=n.__e,n.__h=null,u.__h.length&&a.push(u),h&&(u.__E=u.__=null),u.__e=!1}else null==i&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=de(t.__e,n,t,r,o,i,a,c);(l=B.diffed)&&l(n)}catch(e){n.__v=null,(c||null!=i)&&(n.__e=s,n.__h=!!c,i[i.indexOf(s)]=null),B.__e(e,n,t)}}function pe(e,n){B.__c&&B.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){B.__e(e,n.__v)}}))}function de(e,n,t,r,o,i,a,s){var c,l,u,p,d=t.props,f=n.props,m=n.type,h=0;if("svg"===m&&(o=!0),null!=i)for(;h<i.length;h++)if((c=i[h])&&(c===e||(m?c.localName==m:3==c.nodeType))){e=c,i[h]=null;break}if(null==e){if(null===m)return document.createTextNode(f);e=o?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,f.is&&f),i=null,s=!1}if(null===m)d===f||s&&e.data===f||(e.data=f);else{if(i=i&&H.slice.call(e.childNodes),l=(d=t.props||M).dangerouslySetInnerHTML,u=f.dangerouslySetInnerHTML,!s){if(null!=i)for(d={},p=0;p<e.attributes.length;p++)d[e.attributes[p].name]=e.attributes[p].value;(u||l)&&(u&&(l&&u.__html==l.__html||u.__html===e.innerHTML)||(e.innerHTML=u&&u.__html||""))}if(function(e,n,t,r,o){var i;for(i in t)"children"===i||"key"===i||i in n||se(e,i,null,t[i],r);for(i in n)o&&"function"!=typeof n[i]||"children"===i||"key"===i||"value"===i||"checked"===i||t[i]===n[i]||se(e,i,n[i],t[i],r)}(e,f,d,o,s),u)n.__k=[];else if(h=n.props.children,te(e,Array.isArray(h)?h:[h],n,t,r,o&&"foreignObject"!==m,i,a,e.firstChild,s),null!=i)for(h=i.length;h--;)null!=i[h]&&Y(i[h]);s||("value"in f&&void 0!==(h=f.value)&&(h!==e.value||"progress"===m&&!h)&&se(e,"value",h,d.value,!1),"checked"in f&&void 0!==(h=f.checked)&&h!==e.checked&&se(e,"checked",h,d.checked,!1))}return e}function fe(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){B.__e(e,t)}}function me(e,n,t){var r,o,i;if(B.unmount&&B.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||fe(r,null,n)),t||"function"==typeof e.type||(t=null!=(o=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){B.__e(e,n)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&me(r[i],n,t);null!=o&&Y(o)}function he(e,n,t){return this.constructor(e,t)}function ge(e,n,t){var r,o,i;B.__&&B.__(e,n),o=(r="function"==typeof t)?null:t&&t.__k||n.__k,i=[],ue(n,e=(!r&&t||n).__k=W(K,null,[e]),o||M,M,void 0!==n.ownerSVGElement,!r&&t?[t]:o?null:n.firstChild?H.slice.call(n.childNodes):null,i,!r&&t?t:o?o.__e:n.firstChild,r),pe(i,e)}function ve(e,n){ge(e,n,ve)}function ye(e,n,t){var r,o,i,a=arguments,s=$({},e.props);for(i in n)"key"==i?r=n[i]:"ref"==i?o=n[i]:s[i]=n[i];if(arguments.length>3)for(t=[t],i=3;i<arguments.length;i++)t.push(a[i]);return null!=t&&(s.children=t),J(e.type,s,r||e.key,o||e.ref,null)}function be(e,n){var t={__c:n="__cC"+F++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,r;return this.getChildContext||(t=[],(r={})[n]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(ee)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}B={__e:function(e,n){for(var t,r,o;n=n.__;)if((t=n.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(e)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),o=t.__d),o)return t.__E=t}catch(n){e=n}throw e},__v:0},X.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=$({},this.state),"function"==typeof e&&(e=e($({},t),this.props)),e&&$(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),ee(this))},X.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),ee(this))},X.prototype.render=K,G=[],V="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,ne.__r=0,F=0;var _e,Ee,Ce,xe=0,ke=[],we=B.__b,Se=B.__r,Le=B.diffed,Pe=B.__c,Te=B.unmount;function Ae(e,n){B.__h&&B.__h(Ee,e,xe||n),xe=0;var t=Ee.__H||(Ee.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function Ie(e){return xe=1,Oe(He,e)}function Oe(e,n,t){var r=Ae(_e++,2);return r.t=e,r.__c||(r.__=[t?t(n):He(void 0,n),function(e){var n=r.t(r.__[0],e);r.__[0]!==n&&(r.__=[n,r.__[1]],r.__c.setState({}))}],r.__c=Ee),r.__}function qe(e,n){var t=Ae(_e++,3);!B.__s&&Me(t.__H,n)&&(t.__=e,t.__H=n,Ee.__H.__h.push(t))}function Ne(e,n){var t=Ae(_e++,4);!B.__s&&Me(t.__H,n)&&(t.__=e,t.__H=n,Ee.__h.push(t))}function Re(e){return xe=5,De((function(){return{current:e}}),[])}function De(e,n){var t=Ae(_e++,7);return Me(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function Ue(e,n){return xe=8,De((function(){return e}),n)}function Be(e){var n=Ee.context[e.__c],t=Ae(_e++,9);return t.__c=e,n?(null==t.__&&(t.__=!0,n.sub(Ee)),n.props.value):e.__}function Ge(){ke.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(je),e.__H.__h.forEach(Fe),e.__H.__h=[]}catch(n){e.__H.__h=[],B.__e(n,e.__v)}})),ke=[]}B.__b=function(e){Ee=null,we&&we(e)},B.__r=function(e){Se&&Se(e),_e=0;var n=(Ee=e.__c).__H;n&&(n.__h.forEach(je),n.__h.forEach(Fe),n.__h=[])},B.diffed=function(e){Le&&Le(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==ke.push(n)&&Ce===B.requestAnimationFrame||((Ce=B.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(r),Ve&&cancelAnimationFrame(n),setTimeout(e)},r=setTimeout(t,100);Ve&&(n=requestAnimationFrame(t))})(Ge)),Ee=void 0},B.__c=function(e,n){n.some((function(e){try{e.__h.forEach(je),e.__h=e.__h.filter((function(e){return!e.__||Fe(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],B.__e(t,e.__v)}})),Pe&&Pe(e,n)},B.unmount=function(e){Te&&Te(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(je)}catch(e){B.__e(e,n.__v)}};var Ve="function"==typeof requestAnimationFrame;function je(e){var n=Ee;"function"==typeof e.__c&&e.__c(),Ee=n}function Fe(e){var n=Ee;e.__c=e.__(),Ee=n}function Me(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function He(e,n){return"function"==typeof n?n(e):n}function ze(e,n){for(var t in n)e[t]=n[t];return e}function $e(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var r in n)if("__source"!==r&&e[r]!==n[r])return!0;return!1}function Ye(e){this.props=e}(Ye.prototype=new X).isPureReactComponent=!0,Ye.prototype.shouldComponentUpdate=function(e,n){return $e(this.props,e)||$e(this.state,n)};var We=B.__b;B.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),We&&We(e)};var Je="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function Ke(e){function n(n,t){var r=ze({},n);return delete r.ref,e(r,(t=n.ref||t)&&("object"!=typeof t||"current"in t)?t:null)}return n.$$typeof=Je,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var Xe=function(e,n){return null==e?null:oe(oe(e).map(n))},Qe={map:Xe,forEach:Xe,count:function(e){return e?oe(e).length:0},only:function(e){var n=oe(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:oe},Ze=B.__e;B.__e=function(e,n,t){if(e.then)for(var r,o=n;o=o.__;)if((r=o.__c)&&r.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),r.__c(e,n);Ze(e,n,t)};var en=B.unmount;function nn(){this.__u=0,this.t=null,this.__b=null}function tn(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function rn(){this.u=null,this.o=null}B.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),en&&en(e)},(nn.prototype=new X).__c=function(e,n){var t=n.__c,r=this;null==r.t&&(r.t=[]),r.t.push(t);var o=tn(r.__v),i=!1,a=function(){i||(i=!0,t.__R=null,o?o(s):s())};t.__R=a;var s=function(){if(!--r.__u){if(r.state.__e){var e=r.state.__e;r.__v.__k[0]=function e(n,t,r){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)})),n.__c&&n.__c.__P===t&&(n.__e&&r.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=r)),n}(e,e.__c.__P,e.__c.__O)}var n;for(r.setState({__e:r.__b=null});n=r.t.pop();)n.forceUpdate()}},c=!0===n.__h;r.__u++||c||r.setState({__e:r.__b=r.__v.__k[0]}),e.then(a,a)},nn.prototype.componentWillUnmount=function(){this.t=[]},nn.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,r){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=ze({},n)).__c&&(n.__c.__P===r&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,r)}))),n}(this.__b,t,r.__O=r.__P)}this.__b=null}var o=n.__e&&W(K,null,e.fallback);return o&&(o.__h=null),[W(K,null,n.__e?null:e.children),o]};var on=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function an(e){return this.getChildContext=function(){return e.context},e.children}function sn(e){var n=this,t=e.i;n.componentWillUnmount=function(){ge(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),ge(W(an,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}(rn.prototype=new X).__e=function(e){var n=this,t=tn(n.__v),r=n.o.get(e);return r[0]++,function(o){var i=function(){n.props.revealOrder?(r.push(o),on(n,e,r)):o()};t?t(i):i()}},rn.prototype.render=function(e){this.u=null,this.o=new Map;var n=oe(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},rn.prototype.componentDidUpdate=rn.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){on(e,t,n)}))};var cn="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ln=/^(?: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]/,un=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};X.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(X.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var pn=B.event;function dn(){}function fn(){return this.cancelBubble}function mn(){return this.defaultPrevented}B.event=function(e){return pn&&(e=pn(e)),e.persist=dn,e.isPropagationStopped=fn,e.isDefaultPrevented=mn,e.nativeEvent=e};var hn,gn={configurable:!0,get:function(){return this.class}},vn=B.vnode;B.vnode=function(e){var n=e.type,t=e.props,r=t;if("string"==typeof n){for(var o in r={},t){var i=t[o];"value"===o&&"defaultValue"in t&&null==i||("defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":/ondoubleclick/i.test(o)?o="ondblclick":/^onchange(textarea|input)/i.test(o+n)&&!un(t.type)?o="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(o)?o=o.toLowerCase():ln.test(o)?o=o.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),r[o]=i)}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=oe(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=oe(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),e.props=r}n&&t.class!=t.className&&(gn.enumerable="className"in t,null!=t.className&&(r.class=t.className),Object.defineProperty(r,"className",gn)),e.$$typeof=cn,vn&&vn(e)};var yn=B.__r;B.__r=function(e){yn&&yn(e),hn=e.__c};var bn={ReactCurrentDispatcher:{current:{readContext:function(e){return hn.__n[e.__c].props.value}}}};"object"==typeof performance&&"function"==typeof performance.now&&performance.now.bind(performance);function _n(e){return!!e&&e.$$typeof===cn}var En={useState:Ie,useReducer:Oe,useEffect:qe,useLayoutEffect:Ne,useRef:Re,useImperativeHandle:function(e,n,t){xe=6,Ne((function(){"function"==typeof e?e(n()):e&&(e.current=n())}),null==t?t:t.concat(e))},useMemo:De,useCallback:Ue,useContext:Be,useDebugValue:function(e,n){B.useDebugValue&&B.useDebugValue(n?n(e):e)},version:"16.8.0",Children:Qe,render:function(e,n,t){return null==n.__k&&(n.textContent=""),ge(e,n),"function"==typeof t&&t(),e?e.__c:null},hydrate:function(e,n,t){return ve(e,n),"function"==typeof t&&t(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(ge(null,e),!0)},createPortal:function(e,n){return W(sn,{__v:e,i:n})},createElement:W,createContext:be,createFactory:function(e){return W.bind(null,e)},cloneElement:function(e){return _n(e)?ye.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:K,isValidElement:_n,findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:X,PureComponent:Ye,memo:function(e,n){function t(e){var t=this.props.ref,r=t==e.ref;return!r&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!r:$e(this.props,e)}function r(n){return this.shouldComponentUpdate=t,W(e,n)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:Ke,unstable_batchedUpdates:function(e,n){return e(n)},StrictMode:K,Suspense:nn,SuspenseList:rn,lazy:function(e){var n,t,r;function o(o){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){r=e})),r)throw r;if(!t)throw n;return W(t,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:bn},Cn=t(0),xn=t.n(Cn);function kn(e,n,t,r,o,i,a){try{var s=e[i](a),c=s.value}catch(l){return void t(l)}s.done?n(c):Promise.resolve(c).then(r,o)}function wn(e){return function(){var n=this,t=arguments;return new Promise((function(r,o){var i=e.apply(n,t);function a(e){kn(i,r,o,a,s,"next",e)}function s(e){kn(i,r,o,a,s,"throw",e)}a(void 0)}))}}var Sn=function(){function e(e){var n=this;this._insertTag=function(e){var t;t=0===n.tags.length?n.insertionPoint?n.insertionPoint.nextSibling:n.prepend?n.container.firstChild:n.before:n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(e,t),n.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 n=e.prototype;return n.hydrate=function(e){e.forEach(this._insertTag)},n.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(e){var n=document.createElement("style");return n.setAttribute("qc-data-emotion",e.key),void 0!==e.nonce&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var t=function(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}(n);try{t.insertRule(e,t.cssRules.length)}catch(r){0}}else n.appendChild(document.createTextNode(e));this.ctr++},n.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Ln="-webkit-",Pn=Math.abs,Tn=String.fromCharCode,An=Object.assign;function In(e,n){return 45^Dn(e,0)?(((n<<2^Dn(e,0))<<2^Dn(e,1))<<2^Dn(e,2))<<2^Dn(e,3):0}function On(e){return e.trim()}function qn(e,n){return(e=n.exec(e))?e[0]:e}function Nn(e,n,t){return e.replace(n,t)}function Rn(e,n){return e.indexOf(n)}function Dn(e,n){return 0|e.charCodeAt(n)}function Un(e,n,t){return e.slice(n,t)}function Bn(e){return e.length}function Gn(e){return e.length}function Vn(e,n){return n.push(e),e}function jn(e,n){return e.map(n).join("")}var Fn=1,Mn=1,Hn=0,zn=0,$n=0,Yn="";function Wn(e,n,t,r,o,i,a){return{value:e,root:n,parent:t,type:r,props:o,children:i,line:Fn,column:Mn,length:a,return:""}}function Jn(e,n){return An(Wn("",null,null,"",null,null,0),e,{length:-e.length},n)}function Kn(){return $n=zn<Hn?Dn(Yn,zn++):0,Mn++,10===$n&&(Mn=1,Fn++),$n}function Xn(){return Dn(Yn,zn)}function Qn(){return zn}function Zn(e,n){return Un(Yn,e,n)}function et(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 nt(e){return Fn=Mn=1,Hn=Bn(Yn=e),zn=0,[]}function tt(e){return Yn="",e}function rt(e){return On(Zn(zn-1,function e(n){for(;Kn();)switch($n){case n:return zn;case 34:case 39:34!==n&&39!==n&&e($n);break;case 40:41===n&&e(n);break;case 92:Kn()}return zn}(91===e?e+2:40===e?e+1:e)))}function ot(e){for(;($n=Xn())&&$n<33;)Kn();return et(e)>2||et($n)>3?"":" "}function it(e,n){for(;--n&&Kn()&&!($n<48||$n>102||$n>57&&$n<65||$n>70&&$n<97););return Zn(e,Qn()+(n<6&&32==Xn()&&32==Kn()))}function at(e,n){for(;Kn()&&e+$n!==57&&(e+$n!==84||47!==Xn()););return"/*"+Zn(n,zn-1)+"*"+Tn(47===e?e:Kn())}function st(e){for(;!et(Xn());)Kn();return Zn(e,zn)}function ct(e){return tt(function e(n,t,r,o,i,a,s,c,l){var u=0,p=0,d=s,f=0,m=0,h=0,g=1,v=1,y=1,b=0,_="",E=i,C=a,x=o,k=_;for(;v;)switch(h=b,b=Kn()){case 40:if(108!=h&&58==Dn(k,d-1)){-1!=Rn(k+=Nn(rt(b),"&","&\f"),"&\f")&&(y=-1);break}case 34:case 39:case 91:k+=rt(b);break;case 9:case 10:case 13:case 32:k+=ot(h);break;case 92:k+=it(Qn()-1,7);continue;case 47:switch(Xn()){case 42:case 47:Vn(ut(at(Kn(),Qn()),t,r),l);break;default:k+="/"}break;case 123*g:c[u++]=Bn(k)*y;case 125*g:case 59:case 0:switch(b){case 0:case 125:v=0;case 59+p:-1==y&&(k=Nn(k,/\f/g,"")),m>0&&Bn(k)-d&&Vn(m>32?pt(k+";",o,r,d-1):pt(Nn(k," ","")+";",o,r,d-2),l);break;case 59:k+=";";default:if(Vn(x=lt(k,t,r,u,p,i,c,_,E=[],C=[],d),a),123===b)if(0===p)e(k,t,x,x,E,a,d,c,C);else switch(99===f&&110===Dn(k,3)?100:f){case 100:case 108:case 109:case 115:e(n,x,x,o&&Vn(lt(n,x,x,0,0,i,c,_,i,E=[],d),C),i,C,d,c,o?E:C);break;default:e(k,x,x,x,[""],C,0,c,C)}}u=p=m=0,g=y=1,_=k="",d=s;break;case 58:d=1+Bn(k),m=h;default:if(g<1)if(123==b)--g;else if(125==b&&0==g++&&125==($n=zn>0?Dn(Yn,--zn):0,Mn--,10===$n&&(Mn=1,Fn--),$n))continue;switch(k+=Tn(b),b*g){case 38:y=p>0?1:(k+="\f",-1);break;case 44:c[u++]=(Bn(k)-1)*y,y=1;break;case 64:45===Xn()&&(k+=rt(Kn())),f=Xn(),p=d=Bn(_=k+=st(Qn())),b++;break;case 45:45===h&&2==Bn(k)&&(g=0)}}return a}("",null,null,null,[""],e=nt(e),0,[0],e))}function lt(e,n,t,r,o,i,a,s,c,l,u){for(var p=o-1,d=0===o?i:[""],f=Gn(d),m=0,h=0,g=0;m<r;++m)for(var v=0,y=Un(e,p+1,p=Pn(h=a[m])),b=e;v<f;++v)(b=On(h>0?d[v]+" "+y:Nn(y,/&\f/g,d[v])))&&(c[g++]=b);return Wn(e,n,t,0===o?"rule":s,c,l,u)}function ut(e,n,t){return Wn(e,n,t,"comm",Tn($n),Un(e,2,-2),0)}function pt(e,n,t,r){return Wn(e,n,t,"decl",Un(e,0,r),Un(e,r+1,-1),r)}function dt(e,n){for(var t="",r=Gn(e),o=0;o<r;o++)t+=n(e[o],o,e,n)||"";return t}function ft(e,n,t,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+"{"+dt(e.children,r)+"}";case"rule":e.value=e.props.join(",")}return Bn(t=dt(e.children,r))?e.return=e.value+"{"+t+"}":""}function mt(e){var n=Object.create(null);return function(t){return void 0===n[t]&&(n[t]=e(t)),n[t]}}var ht=function(e,n,t){for(var r=0,o=0;r=o,o=Xn(),38===r&&12===o&&(n[t]=1),!et(o);)Kn();return Zn(e,zn)},gt=function(e,n){return tt(function(e,n){var t=-1,r=44;do{switch(et(r)){case 0:38===r&&12===Xn()&&(n[t]=1),e[t]+=ht(zn-1,n,t);break;case 2:e[t]+=rt(r);break;case 4:if(44===r){e[++t]=58===Xn()?"&\f":"",n[t]=e[t].length;break}default:e[t]+=Tn(r)}}while(r=Kn());return e}(nt(e),n))},vt=new WeakMap,yt=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var n=e.value,t=e.parent,r=e.column===t.column&&e.line===t.line;"rule"!==t.type;)if(!(t=t.parent))return;if((1!==e.props.length||58===n.charCodeAt(0)||vt.get(t))&&!r){vt.set(e,!0);for(var o=[],i=gt(n,o),a=t.props,s=0,c=0;s<i.length;s++)for(var l=0;l<a.length;l++,c++)e.props[c]=o[s]?i[s].replace(/&\f/g,a[l]):a[l]+" "+i[s]}}},bt=function(e){if("decl"===e.type){var n=e.value;108===n.charCodeAt(0)&&98===n.charCodeAt(2)&&(e.return="",e.value="")}};var _t=[function(e,n,t,r){if(e.length>-1&&!e.return)switch(e.type){case"decl":e.return=function e(n,t){switch(In(n,t)){case 5103:return Ln+"print-"+n+n;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 Ln+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return Ln+n+"-moz-"+n+"-ms-"+n+n;case 6828:case 4268:return Ln+n+"-ms-"+n+n;case 6165:return Ln+n+"-ms-flex-"+n+n;case 5187:return Ln+n+Nn(n,/(\w+).+(:[^]+)/,Ln+"box-$1$2-ms-flex-$1$2")+n;case 5443:return Ln+n+"-ms-flex-item-"+Nn(n,/flex-|-self/,"")+n;case 4675:return Ln+n+"-ms-flex-line-pack"+Nn(n,/align-content|flex-|-self/,"")+n;case 5548:return Ln+n+"-ms-"+Nn(n,"shrink","negative")+n;case 5292:return Ln+n+"-ms-"+Nn(n,"basis","preferred-size")+n;case 6060:return Ln+"box-"+Nn(n,"-grow","")+Ln+n+"-ms-"+Nn(n,"grow","positive")+n;case 4554:return Ln+Nn(n,/([^-])(transform)/g,"$1"+Ln+"$2")+n;case 6187:return Nn(Nn(Nn(n,/(zoom-|grab)/,Ln+"$1"),/(image-set)/,Ln+"$1"),n,"")+n;case 5495:case 3959:return Nn(n,/(image-set\([^]*)/,Ln+"$1$`$1");case 4968:return Nn(Nn(n,/(.+:)(flex-)?(.*)/,Ln+"box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+Ln+n+n;case 4095:case 3583:case 4068:case 2532:return Nn(n,/(.+)-inline(.+)/,Ln+"$1$2")+n;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(Bn(n)-1-t>6)switch(Dn(n,t+1)){case 109:if(45!==Dn(n,t+4))break;case 102:return Nn(n,/(.+:)(.+)-([^]+)/,"$1"+Ln+"$2-$3$1-moz-"+(108==Dn(n,t+3)?"$3":"$2-$3"))+n;case 115:return~Rn(n,"stretch")?e(Nn(n,"stretch","fill-available"),t)+n:n}break;case 4949:if(115!==Dn(n,t+1))break;case 6444:switch(Dn(n,Bn(n)-3-(~Rn(n,"!important")&&10))){case 107:return Nn(n,":",":"+Ln)+n;case 101:return Nn(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Ln+(45===Dn(n,14)?"inline-":"")+"box$3$1"+Ln+"$2$3$1-ms-$2box$3")+n}break;case 5936:switch(Dn(n,t+11)){case 114:return Ln+n+"-ms-"+Nn(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return Ln+n+"-ms-"+Nn(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return Ln+n+"-ms-"+Nn(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return Ln+n+"-ms-"+n+n}return n}(e.value,e.length);break;case"@keyframes":return dt([Jn(e,{value:Nn(e.value,"@","@"+Ln)})],r);case"rule":if(e.length)return jn(e.props,(function(n){switch(qn(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return dt([Jn(e,{props:[Nn(n,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return dt([Jn(e,{props:[Nn(n,/:(plac\w+)/,":"+Ln+"input-$1")]}),Jn(e,{props:[Nn(n,/:(plac\w+)/,":-moz-$1")]}),Jn(e,{props:[Nn(n,/:(plac\w+)/,"-ms-input-$1")]})],r)}return""}))}}],Et=function(e){var n=e.key;if("css"===n){var t=document.querySelectorAll("style[qc-data-emotion]:not([data-s])");Array.prototype.forEach.call(t,(function(e){-1!==e.getAttribute("qc-data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r=e.stylisPlugins||_t;var o,i,a={},s=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[qc-data-emotion^="'+n+' "]'),(function(e){for(var n=e.getAttribute("qc-data-emotion").split(" "),t=1;t<n.length;t++)a[n[t]]=!0;s.push(e)}));var c,l,u=[ft,(l=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&l(e)})],p=function(e){var n=Gn(e);return function(t,r,o,i){for(var a="",s=0;s<n;s++)a+=e[s](t,r,o,i)||"";return a}}([yt,bt].concat(r,u));i=function(e,n,t,r){c=t,dt(ct(e?e+"{"+n.styles+"}":n.styles),p),r&&(d.inserted[n.name]=!0)};var d={key:n,sheet:new Sn({key:n,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return d.sheet.hydrate(s),d};t(3);function Ct(e,n,t){var r="";return t.split(" ").forEach((function(t){void 0!==e[t]?n.push(e[t]+";"):r+=t+" "})),r}var xt=function(e,n,t){!function(e,n,t){var r=e.key+"-"+n.name;!1===t&&void 0===e.registered[r]&&(e.registered[r]=n.styles)}(e,n,t);var r=e.key+"-"+n.name;if(void 0===e.inserted[n.name]){var o=n;do{e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};var kt={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},wt=/[A-Z]|^ms/g,St=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Lt=function(e){return 45===e.charCodeAt(1)},Pt=function(e){return null!=e&&"boolean"!==typeof e},Tt=mt((function(e){return Lt(e)?e:e.replace(wt,"-$&").toLowerCase()})),At=function(e,n){switch(e){case"animation":case"animationName":if("string"===typeof n)return n.replace(St,(function(e,n,t){return Ot={name:n,styles:t,next:Ot},n}))}return 1===kt[e]||Lt(e)||"number"!==typeof n||0===n?n:n+"px"};function It(e,n,t){if(null==t)return"";if(void 0!==t.__emotion_styles)return t;switch(typeof t){case"boolean":return"";case"object":if(1===t.anim)return Ot={name:t.name,styles:t.styles,next:Ot},t.name;if(void 0!==t.styles){var r=t.next;if(void 0!==r)for(;void 0!==r;)Ot={name:r.name,styles:r.styles,next:Ot},r=r.next;return t.styles+";"}return function(e,n,t){var r="";if(Array.isArray(t))for(var o=0;o<t.length;o++)r+=It(e,n,t[o])+";";else for(var i in t){var a=t[i];if("object"!==typeof a)null!=n&&void 0!==n[a]?r+=i+"{"+n[a]+"}":Pt(a)&&(r+=Tt(i)+":"+At(i,a)+";");else if(!Array.isArray(a)||"string"!==typeof a[0]||null!=n&&void 0!==n[a[0]]){var s=It(e,n,a);switch(i){case"animation":case"animationName":r+=Tt(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var c=0;c<a.length;c++)Pt(a[c])&&(r+=Tt(i)+":"+At(i,a[c])+";")}return r}(e,n,t);case"function":if(void 0!==e){var o=Ot,i=t(e);return Ot=o,It(e,n,i)}break;case"string":}if(null==n)return t;var a=n[t];return void 0!==a?a:t}var Ot,qt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Nt=function(e,n,t){if(1===e.length&&"object"===typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";Ot=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=It(t,n,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=It(t,n,e[a]),r&&(o+=i[a]);qt.lastIndex=0;for(var s,c="";null!==(s=qt.exec(o));)c+="-"+s[1];return{name:function(e){for(var n,t=0,r=0,o=e.length;o>=4;++r,o-=4)n=1540483477*(65535&(n=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(n>>>16)<<16),t=1540483477*(65535&(n^=n>>>24))+(59797*(n>>>16)<<16)^1540483477*(65535&t)+(59797*(t>>>16)<<16);switch(o){case 3:t^=(255&e.charCodeAt(r+2))<<16;case 2:t^=(255&e.charCodeAt(r+1))<<8;case 1:t=1540483477*(65535&(t^=255&e.charCodeAt(r)))+(59797*(t>>>16)<<16)}return(((t=1540483477*(65535&(t^=t>>>13))+(59797*(t>>>16)<<16))^t>>>15)>>>0).toString(36)}(o)+c,styles:o,next:Ot}},Rt=(Object.prototype.hasOwnProperty,be("undefined"!==typeof HTMLElement?Et({key:"css"}):null));Rt.Provider;var Dt=function(e){return Ke((function(n,t){var r=Be(Rt);return e(n,r,t)}))},Ut=be({});t(18);var Bt=Dt((function(e,n){var t=e.styles,r=Nt([t],void 0,Be(Ut)),o=Re();return Ne((function(){var e=n.key+"-global",t=new Sn({key:e,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy}),i=!1,a=document.querySelector('style[qc-data-emotion="'+e+" "+r.name+'"]');return n.sheet.tags.length&&(t.before=n.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("qc-data-emotion",e),t.hydrate([a])),o.current=[t,i],function(){t.flush()}}),[n]),Ne((function(){var e=o.current,t=e[0];if(e[1])e[1]=!1;else{if(void 0!==r.next&&xt(n,r.next,!0),t.tags.length){var i=t.tags[t.tags.length-1].nextElementSibling;t.before=i,t.flush()}n.insert("",r,t,!1)}}),[n,r.name]),null}));function Gt(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return Nt(n)}function Vt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jt(e,n){return(jt=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Ft(e,n){if("function"!==typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&jt(e,n)}function Mt(e){return(Mt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ht(){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 zt(e){return(zt="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 $t(e,n){return!n||"object"!==zt(n)&&"function"!==typeof n?Vt(e):n}function Yt(e){return function(){var n,t=Mt(e);if(Ht()){var r=Mt(this).constructor;n=Reflect.construct(t,arguments,r)}else n=t.apply(this,arguments);return $t(this,n)}}var Wt=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],Jt=Wt.join(","),Kt="undefined"===typeof Element,Xt=Kt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Qt=!Kt&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Zt=function(e,n,t){var r=Array.prototype.slice.apply(e.querySelectorAll(Jt));return n&&Xt.call(e,Jt)&&r.unshift(e),r=r.filter(t)},er=function e(n,t,r){for(var o=[],i=Array.from(n);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{Xt.call(a,Jt)&&r.filter(a)&&(t||!n.includes(a))&&o.push(a);var l=a.shadowRoot||"function"===typeof r.getShadowRoot&&r.getShadowRoot(a),u=!r.shadowRootFilter||r.shadowRootFilter(a);if(l&&u){var p=e(!0===l?a.children:l.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scope:a,candidates:p})}else i.unshift.apply(i,a.children)}}return o},nr=function(e,n){return e.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},tr=function(e,n){return e.tabIndex===n.tabIndex?e.documentOrder-n.documentOrder:e.tabIndex-n.tabIndex},rr=function(e){return"INPUT"===e.tagName},or=function(e){return function(e){return rr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var n,t=e.form||Qt(e),r=function(e){return t.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!==typeof window&&"undefined"!==typeof window.CSS&&"function"===typeof window.CSS.escape)n=r(window.CSS.escape(e.name));else try{n=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,n){for(var t=0;t<e.length;t++)if(e[t].checked&&e[t].form===n)return e[t]}(n,e.form);return!o||o===e}(e)},ir=function(e){var n=e.getBoundingClientRect(),t=n.width,r=n.height;return 0===t&&0===r},ar=function(e,n){return!(n.disabled||function(e){return rr(e)&&"hidden"===e.type}(n)||function(e,n){var t=n.displayCheck,r=n.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=Xt.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Xt.call(o,"details:not([open]) *"))return!0;var i=Qt(e).host,a=(null===i||void 0===i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(t&&"full"!==t){if("non-zero-area"===t)return ir(e)}else{if("function"===typeof r){for(var s=e;e;){var c=e.parentElement,l=Qt(e);if(c&&!c.shadowRoot&&!0===r(c))return ir(e);e=e.assignedSlot?e.assignedSlot:c||l===e.ownerDocument?c:l.host}e=s}if(a)return!e.getClientRects().length}return!1}(n,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(n)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var n=e.parentElement;n;){if("FIELDSET"===n.tagName&&n.disabled){for(var t=0;t<n.children.length;t++){var r=n.children.item(t);if("LEGEND"===r.tagName)return!!Xt.call(n,"fieldset[disabled] *")||!r.contains(e)}return!0}n=n.parentElement}return!1}(n))},sr=function(e,n){return!(or(n)||nr(n)<0||!ar(e,n))},cr=function(e){var n=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},lr=function(e,n){return function e(n){var t=[],r=[];return n.forEach((function(n,o){var i=!!n.scope,a=i?n.scope:n,s=nr(a,i),c=i?e(n.candidates):a;0===s?i?t.push.apply(t,c):t.push(a):r.push({documentOrder:o,tabIndex:s,item:n,isScope:i,content:c})})),r.sort(tr).reduce((function(e,n){return n.isScope?e.push.apply(e,n.content):e.push(n.content),e}),[]).concat(t)}((n=n||{}).getShadowRoot?er([e],n.includeContainer,{filter:sr.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:cr}):Zt(e,n.includeContainer,sr.bind(null,n)))},ur=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return!1!==Xt.call(e,Jt)&&sr(n,e)},pr=Wt.concat("iframe").join(","),dr=function(e,n){if(n=n||{},!e)throw new Error("No node provided");return!1!==Xt.call(e,pr)&&ar(n,e)};function fr(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function mr(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?fr(Object(t),!0).forEach((function(n){hr(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fr(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function hr(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var gr=function(){var e=[];return{activateTrap:function(n){if(e.length>0){var t=e[e.length-1];t!==n&&t.pause()}var r=e.indexOf(n);-1===r||e.splice(r,1),e.push(n)},deactivateTrap:function(n){var t=e.indexOf(n);-1!==t&&e.splice(t,1),e.length>0&&e[e.length-1].unpause()}}}(),vr=function(e){return setTimeout(e,0)},yr=function(e,n){var t=-1;return e.every((function(e,r){return!n(e)||(t=r,!1)})),t},br=function(e){for(var n=arguments.length,t=new Array(n>1?n-1:0),r=1;r<n;r++)t[r-1]=arguments[r];return"function"===typeof e?e.apply(void 0,t):e},_r=function(e){return e.target.shadowRoot&&"function"===typeof e.composedPath?e.composedPath()[0]:e.target},Er=function(e){Ft(t,e);var n=Yt(t);function t(e){var r;u(this,t),f(Vt(r=n.call(this,e)),"getNodeForOption",(function(e){var n,t=null!==(n=this.internalOptions[e])&&void 0!==n?n:this.originalOptions[e];if("function"===typeof t){for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];t=t.apply(void 0,o)}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 a,s=t;if("string"===typeof t&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s})),r.handleDeactivate=r.handleDeactivate.bind(Vt(r)),r.handlePostDeactivate=r.handlePostDeactivate.bind(Vt(r)),r.handleClickOutsideDeactivates=r.handleClickOutsideDeactivates.bind(Vt(r)),r.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:r.handleDeactivate,onPostDeactivate:r.handlePostDeactivate,clickOutsideDeactivates:r.handleClickOutsideDeactivates},r.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&("returnFocusOnDeactivate"!==i&&"onDeactivate"!==i&&"onPostDeactivate"!==i&&"checkCanReturnFocus"!==i&&"clickOutsideDeactivates"!==i?r.internalOptions[i]=o[i]:r.originalOptions[i]=o[i]);return r.outsideClick=null,r.focusTrapElements=e.containerElements||[],r.updatePreviousElement(),r}return d(t,[{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 n="function"===typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return n&&(this.outsideClick={target:e.target,allowDeactivation:n}),n}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,n=function(){var n=e.getReturnFocusNode(),t=!(!e.originalOptions.returnFocusOnDeactivate||!(null===n||void 0===n?void 0:n.focus)||e.outsideClick&&(!e.outsideClick.allowDeactivation||dr(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,o=void 0!==r&&r;t&&n.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(n,n):n()}},{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){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var n=!e.active&&this.props.active,t=e.active&&!this.props.active,r=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(n&&(this.updatePreviousElement(),this.focusTrap.activate()),t)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,n=this.props.children?En.Children.only(this.props.children):void 0;if(n){if(n.type&&n.type===En.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return En.cloneElement(n,{ref:function(t){var r=e.props.containerElements;n&&("function"===typeof n.ref?n.ref(t):n.ref&&(n.ref.current=t)),e.focusTrapElements=r||[t]}})}return null}}]),t}(En.Component);function Cr(e,n){if(null==e)return{};var t,r,o=function(e,n){if(null==e)return{};var t,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||(o[t]=e[t]);return o}(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)t=i[r],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(o[t]=e[t])}return o}function xr(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}Er.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:function(e,n){var t,r=(null===n||void 0===n?void 0:n.document)||document,o=mr({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a=function(e,n,t){return e&&void 0!==e[n]?e[n]:o[t||n]},s=function(e){return i.containerGroups.findIndex((function(n){var t=n.container,r=n.tabbableNodes;return t.contains(e)||r.find((function(n){return n===e}))}))},c=function(e){var n=o[e];if("function"===typeof n){for(var t=arguments.length,i=new Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];n=n.apply(void 0,i)}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 s=n;if("string"===typeof n&&!(s=r.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},l=function(){var e=c("initialFocus");if(!1===e)return!1;if(void 0===e)if(s(r.activeElement)>=0)e=r.activeElement;else{var n=i.tabbableGroups[0];e=n&&n.firstTabbableNode||c("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(i.containerGroups=i.containers.map((function(e){var n,t,r=lr(e,o.tabbableOptions),i=(n=e,(t=(t=o.tabbableOptions)||{}).getShadowRoot?er([n],t.includeContainer,{filter:ar.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Zt(n,t.includeContainer,ar.bind(null,t)));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 n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=i.findIndex((function(n){return n===e}));if(!(t<0))return n?i.slice(t+1).find((function(e){return ur(e,o.tabbableOptions)})):i.slice(0,t).reverse().find((function(e){return ur(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")},p=function e(n){!1!==n&&n!==r.activeElement&&(n&&n.focus?(n.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=n,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"===typeof e.select}(n)&&n.select()):e(l()))},d=function(e){var n=c("setReturnFocus",e);return n||!1!==n&&e},f=function(e){var n=_r(e);s(n)>=0||(br(o.clickOutsideDeactivates,e)?t.deactivate({returnFocus:o.returnFocusOnDeactivate&&!dr(n,o.tabbableOptions)}):br(o.allowOutsideClick,e)||e.preventDefault())},m=function(e){var n=_r(e),t=s(n)>=0;t||n instanceof Document?t&&(i.mostRecentlyFocusedNode=n):(e.stopImmediatePropagation(),p(i.mostRecentlyFocusedNode||l()))},h=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==br(o.escapeDeactivates,e))return e.preventDefault(),void t.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var n=_r(e);u();var t=null;if(i.tabbableGroups.length>0){var r=s(n),a=r>=0?i.containerGroups[r]:void 0;if(r<0)t=e.shiftKey?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var l=yr(i.tabbableGroups,(function(e){var t=e.firstTabbableNode;return n===t}));if(l<0&&(a.container===n||dr(n,o.tabbableOptions)&&!ur(n,o.tabbableOptions)&&!a.nextTabbableNode(n,!1))&&(l=r),l>=0){var d=0===l?i.tabbableGroups.length-1:l-1;t=i.tabbableGroups[d].lastTabbableNode}}else{var f=yr(i.tabbableGroups,(function(e){var t=e.lastTabbableNode;return n===t}));if(f<0&&(a.container===n||dr(n,o.tabbableOptions)&&!ur(n,o.tabbableOptions)&&!a.nextTabbableNode(n))&&(f=r),f>=0){var m=f===i.tabbableGroups.length-1?0:f+1;t=i.tabbableGroups[m].firstTabbableNode}}}else t=c("fallbackFocus");t&&(e.preventDefault(),p(t))}(e)},g=function(e){var n=_r(e);s(n)>=0||br(o.clickOutsideDeactivates,e)||br(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},v=function(){if(i.active)return gr.activateTrap(t),i.delayInitialFocusTimer=o.delayInitialFocus?vr((function(){p(l())})):p(l()),r.addEventListener("focusin",m,!0),r.addEventListener("mousedown",f,{capture:!0,passive:!1}),r.addEventListener("touchstart",f,{capture:!0,passive:!1}),r.addEventListener("click",g,{capture:!0,passive:!1}),r.addEventListener("keydown",h,{capture:!0,passive:!1}),t},y=function(){if(i.active)return r.removeEventListener("focusin",m,!0),r.removeEventListener("mousedown",f,!0),r.removeEventListener("touchstart",f,!0),r.removeEventListener("click",g,!0),r.removeEventListener("keydown",h,!0),t};return(t={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var n=a(e,"onActivate"),t=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,n&&n();var s=function(){o&&u(),v(),t&&t()};return o?(o(i.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!i.active)return this;var n=mr({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,y(),i.active=!1,i.paused=!1,gr.deactivateTrap(t);var r=a(n,"onDeactivate"),s=a(n,"onPostDeactivate"),c=a(n,"checkCanReturnFocus"),l=a(n,"returnFocus","returnFocusOnDeactivate");r&&r();var u=function(){vr((function(){l&&p(d(i.nodeFocusedBeforeActivation)),s&&s()}))};return l&&c?(c(d(i.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(){return i.paused||!i.active||(i.paused=!0,y()),this},unpause:function(){return i.paused&&i.active?(i.paused=!1,u(),v(),this):this},updateContainerElements:function(e){var n=[].concat(e).filter(Boolean);return i.containers=n.map((function(e){return"string"===typeof e?r.querySelector(e):e})),i.active&&u(),this}}).updateContainerElements(e),t}};t(15);var kr=/^((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)-.*))$/;function wr(){return(wr=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}var Sr=mt((function(e){return kr.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Lr=function(e){return"theme"!==e},Pr=function(e){return"string"===typeof e&&e.charCodeAt(0)>96?Sr:Lr},Tr=function(e,n,t){var r;if(n){var o=n.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(n){return e.__emotion_forwardProp(n)&&o(n)}:o}return"function"!==typeof r&&t&&(r=e.__emotion_forwardProp),r},Ar=function e(n,t){var r,o,i=n.__emotion_real===n,a=i&&n.__emotion_base||n;void 0!==t&&(r=t.label,o=t.target);var s=Tr(n,t,i),c=s||Pr(a),l=!c("as");return function(){var u=arguments,p=i&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==r&&p.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)p.push.apply(p,u);else{0,p.push(u[0][0]);for(var d=u.length,f=1;f<d;f++)p.push(u[f],u[0][f])}var m=Dt((function(e,n,t){var r=l&&e.as||a,i="",u=[],d=e;if(null==e.theme){for(var f in d={},e)d[f]=e[f];d.theme=Be(Ut)}"string"===typeof e.className?i=Ct(n.registered,u,e.className):null!=e.className&&(i=e.className+" ");var m=Nt(p.concat(u),n.registered,d);xt(n,m,"string"===typeof r);i+=n.key+"-"+m.name,void 0!==o&&(i+=" "+o);var h=l&&void 0===s?Pr(r):c,g={};for(var v in e)l&&"as"===v||h(v)&&(g[v]=e[v]);return g.className=i,g.ref=t,W(r,g)}));return m.displayName=void 0!==r?r:"Styled("+("string"===typeof a?a:a.displayName||a.name||"Component")+")",m.defaultProps=n.defaultProps,m.__emotion_real=m,m.__emotion_base=a,m.__emotion_styles=p,m.__emotion_forwardProp=s,Object.defineProperty(m,"toString",{value:function(){return"."+o}}),m.withComponent=function(n,r){return e(n,wr({},t,r,{shouldForwardProp:Tr(m,r,!0)})).apply(void 0,p)},m}}.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){Ar[e]=Ar(e)}));var Ir=Ar,Or=/^#([\dA-F]{6}|[\dA-F]{3})$/i,qr=function(e){if(!e)return"";return e.replace(/(^https?:\/\/)|(\/.*$)/g,"")},Nr={uxBackgroundColor:"#fff",uxPrimaryButtonColor:"#206DC5",uxPrimaryButtonTextColor:"#fff",uxSecondaryButtonColor:"#fff",secondaryButtonHoverBackground:"#fff",secondaryTextColor:"#4D545D",uxSecondaryButtonTextColor:"#206DC5",uxToogleActiveColor:"#206DC5",uxLinkColor:"#206DC5",uxFontColor:"#141e23",borderColor:"#D8D8D8",subHeaderColor:"#212934"},Rr=function(){function e(){u(this,e),f(this,"_uxPrimaryButtonTextColor",void 0),f(this,"_uxPrimaryButtonColor",void 0),f(this,"_uxSecondaryButtonTextColor",void 0),f(this,"_uxSecondaryButtonColor",void 0),f(this,"_uxFontColor",void 0),f(this,"_uxBackgroundColor",void 0),f(this,"_uxToogleActiveColor",void 0),f(this,"_uxLinkColor",void 0),f(this,"_primaryButtonHoverBackground",void 0),f(this,"_secondaryButtonHoverBackground",void 0),f(this,"_secondaryTextColor",void 0),f(this,"_lightTextColor",void 0),f(this,"_lightestTextColor",void 0),f(this,"_overlayColor",void 0),f(this,"_borderColor",void 0),f(this,"_subHeaderColor",void 0),f(this,"_persistentConsentLinkColor",void 0),f(this,"_persistentConsentLinkTextColor",void 0),f(this,"_warningBackgroundColor",void 0),f(this,"_warningTextColor",void 0),f(this,"_font",void 0),f(this,"_uxCCPATheme",void 0);var n=hs.theme,t=n.uxPrimaryButtonColor,r=n.uxBackgroundColor,o=n.uxFontColor,i=n.uxPrimaryButtonTextColor,a=n.uxSecondaryButtonColor,s=n.uxSecondaryButtonTextColor,c=n.uxToogleActiveColor,l=n.uxLinkColor;this._uxPrimaryButtonTextColor=i,this._uxPrimaryButtonColor=t,this._uxSecondaryButtonTextColor=s,this._uxSecondaryButtonColor=a,this._uxFontColor=o,this._uxBackgroundColor=r,this._uxToogleActiveColor=c,this._uxLinkColor=l,this._primaryButtonHoverBackground=e.LightenDarkenColor(this._uxPrimaryButtonColor,30),this._secondaryButtonHoverBackground=t,this._subHeaderColor="#212934",this._secondaryTextColor="#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=U(U({},Nr),{},{primaryButtonHoverBackground:e.LightenDarkenColor(Nr.uxPrimaryButtonColor,30),secondaryButtonHoverBackground:Nr.uxPrimaryButtonColor})}return d(e,[{key:"checkValidHex",value:function(e,n){Or.test(e)?this[n]=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,n){var t=!1;"#"===e[0]&&(e=e.slice(1),t=!0);var r=parseInt(e,16),o=(r>>16)+n;o>255?o=255:o<0&&(o=0);var i=(r>>8&255)+n;i>255?i=255:i<0&&(i=0);var a=(255&r)+n;return a>255?a=255:a<0&&(a=0),(t?"#":"")+(a|i<<8|o<<16).toString(16)}}]),e}();function Dr(){var e=xr(["\n      @media (min-width: 768px) {\n        min-width: 190px;\n        min-height: 40px;\n        font-size: ","px;\n        padding: ",";\n      }\n    "]);return Dr=function(){return e},e}function Ur(){var e=xr(["\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 Ur=function(){return e},e}function Br(){var e=xr(["\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 Br=function(){return e},e}function Gr(){var e=xr(["\n      &&,\n      && &:hover {\n        background: ",";\n        border: solid 1px\n          ",";\n        color: ",";\n      }\n    "]);return Gr=function(){return e},e}function Vr(){var e=xr(["\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  }\n}\n"]);return Vr=function(){return e},e}var jr=Ir.button(Vr(),(function(e){var n=e.disabled,t=e.uxPrimaryButtonColor;return n?"lightgray":t}),(function(e){return e.uxPrimaryButtonTextColor}),(function(e){return e.disabled?"auto":"pointer"}),(function(e){return e.primaryButtonHoverBackground}),(function(e){var n=e.disabled,t=(e.uxSecondaryButtonColor,e.uxSecondaryButtonTextColor);return n&&Gt(Gr(),Rr.LightenDarkenColor(t,-30),Rr.LightenDarkenColor(t,-30),Rr.LightenDarkenColor(t,-30))}),(function(e){var n=e.uxSecondaryButtonColor,t=e.uxSecondaryButtonTextColor,r=e.mode,o=e.secondaryButtonHoverBackground,i=e.uxPrimaryButtonTextColor;return"secondary"===r&&Gt(Br(),n,t,t,o,o,i)}),(function(e){var n=e.mode,t=e.uxPrimaryButtonColor,r=e.secondaryTextColor,o=e.uxLinkColor,i=e.isLong;return"link"===n&&Gt(Ur(),t,r,o,i?11:14)}),(function(e){return"large"===e.size&&Gt(Dr(),e.isLong?11:14,e.isLong?"0 15px !important":0)})),Fr=En.forwardRef((function(e,n){var t=e.children,r=e.theme,o=Cr(e,["children","theme"]),i=r||ms;return En.createElement(jr,Object.assign({},o,{ref:n,uxPrimaryButtonColor:i.uxPrimaryButtonColor,uxPrimaryButtonTextColor:i.uxPrimaryButtonTextColor,primaryButtonHoverBackground:i.primaryButtonHoverBackground,uxSecondaryButtonColor:i.uxSecondaryButtonColor,uxSecondaryButtonTextColor:i.uxSecondaryButtonTextColor,uxLinkColor:i.uxLinkColor,secondaryButtonHoverBackground:i.secondaryButtonHoverBackground,secondaryTextColor:i.secondaryTextColor}),t)}));Fr.defaultProps={mode:"primary",size:"large",className:""};var Mr=Fr,Hr=function(e){return e.SERVICE="service",e.SERVICE_GROUP="service group",e}({});function zr(e,n,t,r){var o=t&&document.getElementById(t);return o||(o=document.createElement(e),n&&(o.className=n),t&&(o.id=t),r&&r.insertBefore(o,r.firstChild)),o.setAttribute("data-nosnippet",""),o}var $r=function(e){var n=e.coreConfig,t=n.publisherFeaturesIds,r=n.publisherSpecialFeaturesIds,o=n.publisherSpecialPurposesIds,i=n.publisherPurposeIds,a=n.publisherPurposeLegitimateInterestIds,s=n.vendorPurposeIds,c=n.vendorPurposeLegitimateInterestIds,l=n.vendorSpecialFeaturesIds,u=n.vendorSpecialPurposesIds,p=n.vendorFeaturesIds,d=[t,r,o,i,a,s,c,l,u,p],f=(s||[]).length;return d.forEach((function(e){var n;(n=e)&&n.sort((function(e,n){return e-n}))})),{purposeIds:(f?s:i)||[],purposeLegitimateInterestIds:(f?c:a)||[],specialFeaturesIds:(f?l:r)||[],specialPurposesIds:(f?u:o)||[],featuresIds:(f?p:t)||[]}};var Yr=function(e,n){e&&window.parent.postMessage(n,"*")},Wr=function(e,n,t){return n?En.createElement("div",null,e.split(n).reduce((function(e,r,o){return o?e.concat(En.createElement("a",{href:t,target:"_blank","aria-label":t+" opens in new window",rel:"noopener noreferrer",key:n+r},n),r):[r]}),[])):e},Jr=function(e,n){var t=function(){Yr(hs.coreConfig.isAMP,{type:C.CONSENT_UI,action:k.ENTER_FULLSCREEN}),window.__tcfapiui("goToPage",g.VENDORS_PAGE)};return n?En.createElement(En.Fragment,null,e.split(n).reduce((function(e,r,o){return o?e.concat(En.createElement(Mr,{onClick:t,mode:"link",className:"qc-cmp2-link-inline",key:n+r},n),r):[r]}),[])):e},Kr=function(e,n,t){if(!e.length)return En.createElement("div",{key:"p-".concat(t)},e);var r=new RegExp(/\[\[(.*?)\]\]/),o=new RegExp(/((.*?)([=@])?\|(.*?))|((.*?)\*)|(\/)/);return En.createElement("div",{key:"p-".concat(t)},e.split(r).reduce((function(e,t,r){if(!r&&!t.match(o))return[t];var i=t.split("|"),a=i[0],s=a.slice(-1),c=a.slice(0,a.length-1),l=i[1],u=t;if("*"===s)u=En.createElement("strong",{key:r},c);else if("="===s)if(l.match(new RegExp(/{(.*?)}/))){var p=l.slice(1,l.length-1);p&&n[p]&&(u=En.createElement("a",{href:n[p],key:r},c))}else u=En.createElement("a",{href:l,key:r},c);else"@"===s&&(u=En.createElement(Mr,{onClick:function(){return window.__tcfapiui("goToPage",Number(l))},mode:"link",className:"qc-cmp2-link-inline",key:r},c));return e.concat(u)}),[]))},Xr=function(e,n,t){var r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=e.split(/\[break\]|<br>|\[\[\/\]\]/).filter((function(e){return e.trim().length>0}));return r&&(o=Qr(o,n)),o.map((function(e,n){return Kr(e,t,n)}))},Qr=function(e,n){var t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,o=!1;return e.map((function(e){return!o&&"string"===typeof e&&e.includes(n)?(o=!0,t?Wr(e,n,r):Jr(e,n)):e}))},Zr=function(e,n,t){var r="${".concat(n,"}");return"string"===typeof e?e.includes("${".concat(n,"}"))?e.replace(r,t):e:e.map((function(e){return"string"===typeof e&&e.includes("${".concat(n,"}"))?e.replace(r,t):e}))},eo=function(e){Object({NODE_ENV:"production",PUBLIC_URL:"",AMP_FRAME_URL_BASE:"https://cmp.inmobi.com/tcfv2/53",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:"53",REACT_APP_CMPUI_SRC:"https://cmp.inmobi.com/tcfv2/53/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_DEBUG&&console.log("Debug: "+e)},no=function(){return window.navigator.userAgent.indexOf("Trident/")>-1},to=function(e,n){if(Array.isArray(e)&&e.length){var t=[],r=[],o=function(e){return e.sort((function(e,t){return n&&isNaN(e[n])?-1:e.name.toLowerCase().localeCompare(t.name.toLowerCase())}))};return navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&n?(e.forEach((function(e){isNaN(e[n])?t.push(e):r.push(e)})),[].concat(t,a(o(r)))):o(e)}return e};function ro(){var e=xr(["\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 ro=function(){return e},e}var oo=Ir.div(ro(),(function(e){var n=e.onButton,t=e.uxBackgroundColor;return n?"transparent":t}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.onButton?"14px":"35px"})),io=function(e){var n=e.onButton;return En.createElement(oo,{uxPrimaryButtonColor:ms.uxPrimaryButtonColor,uxBackgroundColor:ms.uxBackgroundColor,onButton:n},En.createElement("div",{className:"loader"},En.createElement("div",{className:"line-scale"},En.createElement("div",null),En.createElement("div",null),En.createElement("div",null),En.createElement("div",null),En.createElement("div",null))))},ao=function(e){var n,t=e.removePopup,r=e.coreUiLabels,o=e.acceptAllFunction,i=e.rejectAllFunction,a=e.acceptSelected,s=e.page,c=e.showRejectButton,l=e.showOverlay,u=e.isScrolled,p=e.isAmp,d=e.isLoading,f=e.handleGoPage,m=hs.coreConfig.lang_,h=r?r.saveAndExitButton.length>18||r.agreeButton.length>18||r.initScreenSettingsButton.length>18||r.initScreenRejectButton.length>18:null,v=r?"en"!==m&&r.legitimateInterestLink.length>18||r.purposeScreenVendorLink.length>18:null,y=function(e){e.currentTarget.setAttribute("aria-pressed",!e.currentTarget.getAttribute("ariaPressed"))};return n=s===g.INIT_PAGE?En.createElement("div",{className:"qc-cmp2-summary-buttons"},En.createElement(Mr,{isLong:h,onClick:function(){f(g.PURPOSES_PAGE),Yr(p,{type:C.CONSENT_UI,action:k.ENTER_FULLSCREEN})},mode:"secondary"},En.createElement("span",null,r.initScreenSettingsButton)),c&&En.createElement(Mr,{isLong:h,onClick:function(){t(),i&&setTimeout((function(){i()}),0)},mode:"secondary",disabled:d},d?En.createElement(io,{onButton:!0}):En.createElement("span",null,r.initScreenRejectButton)),En.createElement(Mr,{isLong:h,onClick:function(){t(),setTimeout((function(){o()}),0)},disabled:d,mode:"primary"},d?En.createElement(io,{onButton:!0}):En.createElement("span",null,r.agreeButton))):En.createElement(En.Fragment,null,En.createElement(Mr,{isLong:h,onClick:function(){t(),setTimeout((function(){a&&a()}),0)},className:"qc-cmp2-hide-desktop"},r.saveAndExitButton),En.createElement("div",{className:"qc-cmp2-footer-links"},En.createElement(Mr,{isLong:v,onClick:function(e){y(e),f(g.VENDORS_PAGE)},mode:"link",size:"small",className:s===g.VENDORS_PAGE?"qc-cmp2-link-active":"","aria-pressed":"false",disabled:d},d?En.createElement(io,{onButton:!0}):r.purposeScreenVendorLink),En.createElement(Mr,{isLong:v,onClick:function(e){y(e),f(g.LEGITIMATE_PAGE)},mode:"link",size:"small",className:s===g.LEGITIMATE_PAGE?"qc-cmp2-link-active":"","aria-pressed":"false",disabled:d},d?En.createElement(io,{onButton:!0}):r.legitimateInterestLink)),En.createElement("div",{className:"qc-cmp2-buttons-desktop"},En.createElement(Mr,{isLong:h,onClick:function(e){y(e),t(),setTimeout((function(){a&&a()}),0)},"aria-pressed":"false",disabled:d},d?En.createElement(io,{onButton:!0}):r.saveAndExitButton))),En.createElement("div",{className:"qc-cmp2-footer ".concat(l?"qc-cmp2-footer-overlay":""," ").concat(u?"qc-cmp2-footer-scrolled":"")},n)};function so(){var e=xr(["\n                      height: auto;\n                    "]);return so=function(){return e},e}function co(){var e=xr(["\n                      width: ","px;\n                      height: ","px;\n                    "]);return co=function(){return e},e}function lo(){var e=xr(["\n                    height: auto;\n                  "]);return lo=function(){return e},e}function uo(){var e=xr(["\n                    width: ","px;\n                    height: ","px;\n                  "]);return uo=function(){return e},e}function po(){var e=xr(["\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 po=function(){return e},e}function fo(){var e=xr(["\n                  height: ","px;\n                "]);return fo=function(){return e},e}function mo(){var e=xr(["\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 mo=function(){return e},e}function ho(){var e=xr(["\n  && {\n    ","\n  }\n"]);return ho=function(){return e},e}var go=Ir.div(ho(),(function(e){var n=e.isTall,t=e.height,r=e.width;return n?Gt(mo(),t&&Gt(fo(),t)):Gt(po(),r&&t?Gt(uo(),r,r>130?130*t/r:t):Gt(lo()),r&&t?Gt(co(),r,r>170?170*t/r:t):Gt(so()))})),vo=function(e){var n=e.logoUrl,t=R(Ie(!1),2),r=t[0],o=t[1],i={},a=n.match(/[?&]qc-size=([^&]+)/),s=a?a[1].split(","):null;s&&s.length>1&&(i.width=parseInt(s[0]),i.height=parseInt(s[1]),i.height>i.width&&o(!0));return En.createElement(go,{height:i.height,width:i.width,isTall:r,className:"logo-container"},En.createElement("img",{alt:"Publisher Logo",src:n,onLoad:function(e){if(!r&&!i.width){var n=e.target;n.offsetHeight>=n.offsetWidth&&o(!0)}}}))};function yo(){var e=xr(["\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 yo=function(){return e},e}function bo(){var e=xr(["\n        height: 12px;\n        transform: rotate(180deg);\n        width: 12px;\n\n        .expanded & {\n          transform: rotate(270deg);\n        }\n      "]);return bo=function(){return e},e}function _o(){var e=xr(["\n        height: 19px;\n        transform: rotate(180deg);\n        width: 12px;\n\n        .qc-cmp2-expanded & {\n          transform: rotate(270deg);\n        }\n      "]);return _o=function(){return e},e}function Eo(){var e=xr(["\n        margin-right: 5px;\n      "]);return Eo=function(){return e},e}function Co(){var e=xr(["\n  &&& {\n    transition: transform 0.3s ease;\n\n    ","\n\n    ","\n\n    ","\n\n    ","\n  }\n"]);return Co=function(){return e},e}var xo=Ir.svg(Co(),(function(e){return"back"===e.type&&Gt(Eo())}),(function(e){return"expand"===e.type&&Gt(_o())}),(function(e){return"inner"===e.type&&Gt(bo())}),(function(e){return"fill"===e.type&&Gt(yo())})),ko=function(e){var n,t=e.type;switch(t){case"fill":n=En.createElement("path",{d:"M5 4.5L0.5 0L0.5 9L5 4.5Z",fill:"currentColor"});break;case"expand":case"inner":n=En.createElement(En.Fragment,null,En.createElement("defs",null,En.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"}),En.createElement("rect",{id:"path-3",x:"0",y:"0",width:"18",height:"18"})),En.createElement("g",{id:"New---Mobile-2",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},En.createElement("g",{id:"iPhone-11-6-Copy",transform:"translate(-23.000000, -138.000000)"},En.createElement("g",{id:"v1",transform:"translate(20.000000, 138.000000)"},En.createElement("g",{id:"Icons/angle-left"},En.createElement("mask",{id:"mask-2",fill:"white"},En.createElement("use",{href:"#path-1"})),En.createElement("use",{id:"Mask",fill:"currentColor",fillRule:"nonzero",href:"#path-1"}))))));break;default:n=En.createElement(En.Fragment,null,En.createElement("defs",null,En.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"}),En.createElement("rect",{id:"path-3",x:"0",y:"0",width:"18",height:"18"})),En.createElement("g",{id:"New---Mobile-2",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},En.createElement("g",{id:"iPhone-11-6-Copy",transform:"translate(-23.000000, -138.000000)"},En.createElement("g",{id:"v1",transform:"translate(20.000000, 138.000000)"},En.createElement("g",{id:"Icons/angle-left"},En.createElement("mask",{id:"mask-2",fill:"white"},En.createElement("use",{href:"#path-1"})),En.createElement("use",{id:"Mask",fill:"#000000",fillRule:"nonzero",href:"#path-1"}))))))}return En.createElement(xo,{type:t,width:"12px",height:"19px",viewBox:"0 0 12 19",version:"1.1"},n)},wo=function(e){var n=e.coreUiLabels,t=e.page,r=e.handleScroll,o=e.bodyContent,i=e.isAmp,a=e.isDesktop,s=e.disabledAcceptAllButton,c=e.acceptAllHeader,l=e.rejectAllHeader,u=e.isLoading,p=e.acceptAll,d=e.setAcceptAll,f=e.gbcDescription,m=hs.coreConfig.publisherLogo,h=o.bodyText,v=o.isCustomized,y=Re(null),b=n?n.rejectAll.length>18||n.acceptAll.length>18||n.objectAllButton.length>18:null;qe((function(){y.current&&p&&(y.current.focus(),d(!1))}),[p,l,d]);var _=function(e){return t===g.INIT_PAGE?En.createElement("div",{className:"qc-cmp2-summary-info ".concat(m?"qc-cmp2-logo-displayed":""),onScroll:function(){return r&&r()}},e.children):En.createElement(En.Fragment,null,e.children)},E=function(){return v?En.createElement(En.Fragment,null,h):Array.isArray(h)?En.createElement("div",{className:t===g.PURPOSES_PAGE&&f?"description":""},h.map((function(e,n){return En.createElement(En.Fragment,{key:n}," ",e," ")})),(t===g.PURPOSES_PAGE||t===g.INIT_PAGE)&&f&&En.createElement("div",null," ",f)):En.createElement("div",null,h)},C=function(){return t===g.INIT_PAGE?null:En.createElement("div",{className:"qc-cmp2-header-links"},En.createElement(Mr,{isLong:b,onClick:function(){l&&setTimeout((function(){l()}),0)},mode:"link",size:"small",disabled:u},u?En.createElement(io,{onButton:!0}):t===g.LEGITIMATE_PAGE?n.objectAllButton:n.rejectAll),En.createElement(Mr,{isLong:b,ref:y,onClick:function(){c&&setTimeout((function(){c()}),0)},mode:"link",size:"small",disabled:s||u},u?En.createElement(io,{onButton:!0}):n.acceptAll))};return En.createElement("div",{className:"qc-cmp2-consent-info"},En.createElement("div",{className:"qc-cmp2-publisher-logo-container"},t>g.PURPOSES_PAGE&&En.createElement("button",{className:"qc-cmp2-home-button",onClick:function(e){var n=!e.currentTarget.getAttribute("ariaPressed");e.currentTarget.setAttribute("aria-pressed",n.toString()),window.__tcfapiui("goToPage",t-1)},"aria-label":n.back,"aria-pressed":"false",tabIndex:0},En.createElement(ko,{type:"back"})," ",(!i||a)&&n.back),En.createElement("figure",null,m&&En.createElement(vo,{logoUrl:m}),En.createElement("h2",null,n.initScreenTitle)),En.createElement(_,null,En.createElement(E,null)),En.createElement(C,null)))};function So(){var e=xr(["\n                  height: 34px;\n\n                  svg {\n                    height: 22px;\n                    width: 14px;\n                  }\n                "]);return So=function(){return e},e}function Lo(){var e=xr(["\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          }\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\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 Lo=function(){return e},e}var Po=Ir.ul(Lo(),(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&&Gt(So())}));function To(){var e=xr(["\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 To=function(){return e},e}function Ao(){var e=xr(["\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 Ao=function(){return e},e}var Io=Ir.button(Ao(),"18px","18px",(function(e){return e.showLabel?"block":"none"}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.secondaryTextColor}),"25px","25px",(function(e){var n=e.switchState,t=e.uxToogleActiveColor,r=e.showLabel;return n&&Gt(To(),t,t,r?"block":"none")})),Oo=function(e){var n=e.on,t=void 0!==n&&n,r=e.className,o=e.onClick,i=(e.parentLabel,e.showLabel),a=void 0!==i&&i,s=e.disabled,c=void 0!==s&&s,l=Cr(e,["on","className","onClick","parentLabel","showLabel","disabled"]);return En.createElement(Io,Object.assign({tabIndex:0,role:"switch","aria-checked":t,switchState:t,onClick:o,className:r&&r,showLabel:a,disabled:c,uxPrimaryButtonColor:ms.uxPrimaryButtonColor,secondaryTextColor:ms.secondaryTextColor,uxToogleActiveColor:ms.uxToogleActiveColor},l),En.createElement("div",{className:"toggle"}),En.createElement("p",{className:"text off","aria-label":"Toggle off"},hs.coreUiLabels.offLabel),En.createElement("p",{className:"text on","aria-label":"Toggle on"},hs.coreUiLabels.onLabel))},qo=function(e){var n=e.urls,t=e.label,r=e.bolded,o=e.language,i=e.legitimeInterest,a=function(e,n,t){var o=e.split(";");return En.createElement("li",null,r?En.createElement("strong",{style:t},"".concat(n,": ")):"".concat(n,": "),o.length>1?En.createElement("ul",{className:"qc-cmp2-expanded-list"},o.map((function(e){return En.createElement("li",null,"- ",En.createElement("a",{href:e,target:"_blank","aria-label":"Privacy policy "+e+" opens in new window",rel:"noopener noreferrer"},e))}))):En.createElement("a",{href:e,target:"_blank","aria-label":"Privacy policy "+e+" opens in new window",rel:"noopener noreferrer"},e))};if("string"===typeof n)return En.createElement(En.Fragment,null,a(n,t),i&&i.url&&En.createElement(En.Fragment,null,a(i.url,i.label,{display:"inline-block"})));var s=n.filter((function(e){return e.langId===o}))[0];return s||(s=n.filter((function(e){return"en"===e.langId}))[0]),s?En.createElement(En.Fragment,null,a(s.privacy,t),i&&s.legIntClaim&&En.createElement(En.Fragment,null,a(s.legIntClaim,i.label))):null};qo.defaultProps={bolded:!1};var No=qo,Ro=function(e){var n=e.seconds,t=e.label;return En.createElement("li",null,"".concat(t,": ").concat(function(e){if(e<0)return"0 ".concat(hs.coreUiLabels.secondsLabel);var n=e/86400;return n>=1?"".concat(Math.round(n)," ").concat(hs.coreUiLabels.daysLabel):"".concat(e," ").concat(hs.coreUiLabels.secondsLabel)}(n)))};function Do(){var e=xr(["\n  &&& {\n    ul.items {\n      list-style: none;\n      padding-left: 15px;\n\n      li {\n        padding-bottom: 15px;\n      }\n    }\n  }\n"]);return Do=function(){return e},e}function Uo(){var e=xr(["\n  &&& {\n    display: flex;\n    justify-content: space-between;\n    padding: 5px 0;\n    width: 50%;\n  }\n"]);return Uo=function(){return e},e}var Bo=Ir.div(Uo()),Go=Ir.div(Do()),Vo=t(2),jo=t.n(Vo),Fo=function(e){var n=e.label,t=e.url,r=R(Ie(!1),2),o=r[0],i=r[1],a=R(Ie([]),2),s=a[0],c=a[1],l=R(Ie(!1),2),u=l[0],p=l[1],d=R(Ie(""),2),f=d[0],m=d[1];return qe((function(){o&&!u&&jo.a.get(t).then((function(e){return e.data})).then((function(e){e.disclosures&&c(e.disclosures)})).catch((function(e){c([]),m("Error: cannot load vendor file.")})).finally((function(){return p(!0)}))}),[s.length,o,u,t]),En.createElement("li",{className:"".concat(o?"expanded":""),onClick:function(){return i(!o)}},En.createElement(Bo,null,n," ",En.createElement(ko,{type:"inner"})),o&&En.createElement(Go,null,s.length>0&&En.createElement("ul",{className:"items"},s.map((function(e,n){return En.createElement("li",{key:n},Object.keys(e).map((function(n,t){return En.createElement("p",{key:t},n,": ",e[n])})))}))),f&&En.createElement("span",null,"\xa0\xa0",f)))},Mo=function(e){var n=e.label,t=e.days,r=e.coreUiLabels;return En.createElement("li",null,"".concat(n,": ").concat(t," ").concat(r.daysLabel))},Ho=function(e){var n=e.cookieMaxAgeSeconds;return null!==n&&void 0!==n&&-100!==n},zo=function(e){var n;if(!(null===e||void 0===e||null===(n=e.dataRetention)||void 0===n?void 0:n.stdRetention))return!1;var t=e.dataRetention;return null!==t&&void 0!==t&&-100!==t},$o=E.LEGITIMATE_VENDORS,Yo=E.LEGITIMATE_PURPOSES,Wo=E.PURPOSES,Jo=E.FEATURES,Ko=E.SPECIAL_PURPOSES,Xo=E.SPECIAL_FEATURES,Qo=E.DATA_DECLARATION,Zo=function(e,n){return e?n.legitimateScreenObject:n.legitimateScreenAccept},ei=function(e){var n=e.cmpUI,t=e.element,r=e.coreUiLabels,o=e.togglesHidden,i=e.dataType,a=e.populateVendorInfo,s=e.setStatus,c=e.status,l=e.isNonIabConsent;return En.createElement("ul",{className:"qc-cmp2-expandable-list"},En.createElement("div",{className:"qc-cmp2-expandable-info"},t.policyUrl&&En.createElement(No,{urls:t.policyUrl,label:r.privacyPolicyLabel,legitimeInterest:{label:r.legitimateInterestPrivacyLink,url:t.legitimateInterestClaimUrl},bolded:!0}),t.description&&En.createElement("li",null,En.createElement("strong",null,r.descriptionLabel),En.createElement("p",null,t.description)),t.purposes&&t.purposes.length>0&&l&&a(t.purposes,Wo,r),t.legIntPurposes&&t.legIntPurposes.length>0&&!l&&a(t.legIntPurposes,Yo,r)),!o&&En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{on:c,parentLabel:t.name,className:"qc-cmp2-toggle",onClick:function(e){e&&e.preventDefault(),s(!c),n.handleConsent(t.id,i)}})))},ni=function(e){var n,t=e.cmpUI,r=e.element,o=e.coreUiLabels,i=e.togglesHidden,a=e.dataType,s=e.populateVendorInfo,c=e.setStatus,l=e.status,u=e.language;return En.createElement("ul",{className:"qc-cmp2-expandable-list"},En.createElement("div",{className:"qc-cmp2-expandable-info"},3===t.getGVLVersion()?r.urls&&r.urls.length&&En.createElement(No,{urls:r.urls,label:o.privacyPolicyLabel,legitimeInterest:{label:o.legitimateInterestPrivacyLink},language:u}):r.policyUrl&&En.createElement(No,{urls:r.policyUrl,label:o.privacyPolicyLabel}),Ho(r)&&En.createElement(Ro,{seconds:r.cookieMaxAgeSeconds,label:o.cookieMaxAgeLabel}),zo(r)&&En.createElement(Mo,{days:null===r||void 0===r||null===(n=r.dataRetention)||void 0===n?void 0:n.stdRetention,label:null===o||void 0===o?void 0:o.dataRetentionDays,coreUiLabels:o}),En.createElement("li",null," ",function(e,n){var t=e.usesNonCookieAccess,r=t?n.yesLabel:n.noLabel;return"".concat(n.cookieAccessLabel,": ").concat(r)}(r,o)," "),void 0!==r.deviceStorageDisclosureUrl&&En.createElement(Fo,{url:r.deviceStorageDisclosureUrl,label:o.storageDisclosureLabel}),r.purposes&&r.purposes.length>0&&s(r.purposes,Wo,o),r.specialPurposes&&r.specialPurposes.length>0&&s(r.specialPurposes,Ko,o),r.features&&r.features.length>0&&s(r.features,Jo,o),r.specialFeatures&&r.specialFeatures.length>0&&s(r.specialFeatures,Xo,o),r.dataDeclaration&&r.dataDeclaration.length>0&&s(r.dataDeclaration,Qo,o)),!i&&En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{on:l,parentLabel:r.name,className:"qc-cmp2-toggle",onClick:function(e){e.preventDefault(),c(!l),t.handleConsent(r.id,a)}})))},ti=function(e){var n,t=e.cmpUI,r=e.element,o=e.coreUiLabels,i=e.dataType,a=e.populateVendorInfo,s=e.setStatus,c=e.status;return En.createElement("ul",{className:"qc-cmp2-expandable-list qc-wrap"},En.createElement("div",{className:"qc-cmp2-expandable-info qc-w75"},3===t.getGVLVersion()?r.urls&&r.urls.length&&En.createElement(No,{urls:r.urls,label:o.privacyPolicyLabel,legitimeInterest:{label:o.legitimateInterestLink.toLowerCase()}}):r.policyUrl&&En.createElement(No,{urls:r.policyUrl,label:o.privacyPolicyLabel}),Ho(r)&&En.createElement(Ro,{seconds:r.cookieMaxAgeSeconds,label:o.cookieMaxAgeLabel}),zo(r)&&En.createElement(Mo,{days:null===r||void 0===r||null===(n=r.dataRetention)||void 0===n?void 0:n.stdRetention,label:null===o||void 0===o?void 0:o.dataRetentionDays,coreUiLabels:o}),void 0!==r.deviceStorageDisclosureUrl&&En.createElement(Fo,{url:r.deviceStorageDisclosureUrl,label:o.storageDisclosureLabel}),r.legIntPurposes&&r.legIntPurposes.length>0&&a(r.legIntPurposes,$o,o),r.dataDeclaration&&r.dataDeclaration.length>0&&a(r.dataDeclaration,Qo,o)),En.createElement("div",{className:"qc-cmp2-toggle-switch qc-cmp2-no-margin"},En.createElement(Mr,{onClick:function(e){e.preventDefault(),s(!c),t.handleConsent(r.id,i)},mode:"link",size:"small",isLong:o.legitimateScreenAccept.length>19},Zo(c,o))))},ri=function(e){var n=e.cmpUI,t=e.element,r=e.coreUiLabels,o=e.togglesHidden,i=e.dataType,a=e.setStatus,s=e.status;return En.createElement("ul",{className:"qc-cmp2-expandable-list"},En.createElement("div",{className:"qc-cmp2-expandable-info"},t.policyUrl&&En.createElement(No,{urls:t.policyUrl,label:r.privacyPolicyLabel,bolded:!0}),t.description&&En.createElement("li",null,En.createElement("strong",null,r.descriptionLabel),En.createElement("p",null,t.description))),!o&&En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{on:s,parentLabel:t.name,className:"qc-cmp2-toggle",onClick:function(e){e.preventDefault(),a(!s),n.handleConsent(t.id,i)}})))},oi=function(e){var n=e.cmpUI,t=e.element,r=e.coreUiLabels,o=e.togglesHidden,i=e.dataType,a=e.legitimate,s=e.handleClick,c=e.toggleExpandedLegal,l=e.premiumUiLabels,u=e.setStatus,p=e.status,d=R(Ie(!1),2),f=d[0],m=d[1];return En.createElement("ul",{className:"qc-cmp2-expandable-list ".concat(a?"qc-wrap":"")},En.createElement("li",{className:"qc-cmp2-expandable-info ".concat(a?"qc-w75":"")},En.createElement("p",null,t.description),t.illustrations&&t.illustrations.length>0?En.createElement(ii,{illustrations:t.illustrations,illustrationsLabel:r.illustrations}):En.createElement(En.Fragment,null),t.descriptionLegal&&En.createElement("div",{className:"qc-cmp2-expandable-legal"},En.createElement(Mr,{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(t.id)),c()}},En.createElement(ko,{type:"fill"}),r.legalDescription),En.createElement("p",{className:"qc-cmp2-legal-description"},t.descriptionLegal)),t.vendors&&En.createElement("div",{className:"qc-cmp2-expandable-legal"},En.createElement(Mr,{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(t.id)),c(),m(!f)}},En.createElement(ko,{type:"fill"}),r.showPartners),f&&En.createElement(En.Fragment,null,t.vendors.map((function(e){return En.createElement("p",{key:e.id,className:"qc-cmp2-legal-description"},"- ".concat(e.name))})),!(!t.nonIabVendors||!t.nonIabVendors.length)&&En.createElement(En.Fragment,null,t.nonIabVendors.map((function(e){return En.createElement("p",{key:e.name,className:"qc-cmp2-legal-description"},"- ".concat(e.name),"*")})),En.createElement("p",{className:"qc-cmp2-legal-description qc-cmp2-non-iab"},"* ",l.nonIabVendorsLabel))))),a?En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Mr,{onClick:function(e){e.preventDefault(),u(!p),n.handleConsent(t.id,i)},mode:"link",size:"small",isLong:r.legitimateScreenAccept.length>19},Zo(p,r))):!o&&En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{on:p,parentLabel:t.name,className:"qc-cmp2-toggle",onClick:function(e){e.preventDefault(),u(!p),n.handleConsent(t.id,i)}})))};function ii(e){var n=e.illustrations,t=e.illustrationsLabel;return En.createElement("div",null,En.createElement("strong",null,t),En.createElement("ul",null,n.map((function(e,n){return En.createElement("li",{key:n},e)}))))}var ai=function(e){var n,t,r,o,i=e.coreUiLabels,a=e.premiumUiLabels,s=e.dataType,c=e.legitimate,l=e.togglesHidden,u=e.expandable,p=e.handleClick,d=e.cmpUI,f=e.item,m=e.populateVendorInfo,h=e.isNonIabConsent,g=e.language,y=R(Ie(!1),2),b=y[0],_=y[1],E=R(Ie(!1),2),C=E[0],x=E[1],k=R(Ie(f.status),2),w=k[0],S=k[1],L=function(){x(!C)},P="".concat(s,"-id:").concat(f.id);qe((function(){S(f.status)}),[f.status]);var T=(null!==(n=null===(t=f.vendors)||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(r=null===(o=f.nonIabVendors)||void 0===o?void 0:o.length)&&void 0!==r?r:0),A=f.vendors?"(".concat(T," ").concat(i.purposeScreenVendorLink.toLowerCase(),")"):"";return En.createElement("li",{id:P,className:"qc-cmp2-list-item ".concat(b?"qc-cmp2-expanded":""," ").concat(c?"qc-cmp2-list-item-legitimate":"")},En.createElement("button",{role:"listitem",className:"qc-cmp2-list-item-header",onClick:function(e){return function(e,n){_(!b),p(e,n)}(e,P)},"aria-label":f.name,"aria-live":"polite"},En.createElement("div",{className:"titles-header"},En.createElement("p",{className:"qc-cmp2-list-item-title"},"".concat(f.name," ").concat(A)),c?En.createElement("p",{className:"qc-cmp2-list-item-status ".concat(i.legitimateScreenObjected.length>12?"qc-cmp-long-label":"")},w?"":i.legitimateScreenObjected):!l&&En.createElement("p",{className:"qc-cmp2-list-item-status"},w?i.onLabel:i.offLabel)),u&&En.createElement(ko,{type:"expand"})),u&&b&&function(e){var n={cmpUI:d,element:e,coreUiLabels:i,togglesHidden:l,dataType:s,populateVendorInfo:m,setStatus:S,status:w,isNonIabConsent:h,language:g};switch(s){case v.NON_IAB:return En.createElement(ei,n);case v.VENDORS:return En.createElement(ni,n);case v.LEGITIMATE_VENDORS:return En.createElement(ti,n);case v.GOOGLE:return En.createElement(ri,n);default:return En.createElement(oi,Object.assign({},n,{legitimate:c,handleClick:p,toggleExpandedLegal:L,premiumUiLabels:a}))}}(f))},si=E.LEGITIMATE_VENDORS,ci=E.LEGITIMATE_PURPOSES,li=E.PURPOSES,ui=E.FEATURES,pi=E.SPECIAL_PURPOSES,di=E.SPECIAL_FEATURES,fi=E.FLEXIBLE_PURPOSES,mi=E.UNFILTERED_FEATURES,hi=E.UNFILTERED_PURPOSES,gi=E.UNFILTERED_SPECIAL_FEATURES,vi=E.UNFILTERED_SPECIAL_PURPOSES,yi=E.DATA_DECLARATION,bi=En.memo((function(e){var n,t=e.className,r=e.coreUiLabels,o=e.data,i=e.dataType,a=e.togglesHidden,s=e.expandable,c=e.legitimate,l=e.premiumUiLabels,u=e.nonIabData,p=e.handleClick,d=e.onFullyRendered,f=e.triggerReRender,m=e.setShowLoader,h=e.isNonIabConsent,g=e.language,y=Object.keys(o||{}).length,b=y?function(e,n,t,r){var o=[];if(t===n.NON_IAB&&r&&r.vendors.length)return r.vendors;if(e)switch(t){case n.VENDORS:return to(Object.values(e.vendors),"id");case n.LEGITIMATE_VENDORS:return to(Object.values(e.legitimateVendors),"id");case n.GOOGLE:return to(e,"id");default:Object.keys(e).length&&function(){var i=r&&r.vendors,a="purposes";t!==n.LEGITIMATE_VENDORS&&t!==n.LEGITIMATE_PURPOSES||(a="legIntPurposes");var s=function(n){var t=e[n],r=(t.descriptionLegal||"").replace(/(:\s\*)|(:\*)/gi,":").replace(/(\.\s\*)|(\.\*)|(\s\*)/gi,"."),s={name:t.name,status:t.status||!1,id:t.id,description:t.description,descriptionLegal:r,vendors:to(t.vendors,"id"),nonIabVendors:i&&i.length&&i.filter((function(e){return e[a]&&e[a].includes(t.id)})),illustrations:(null===t||void 0===t?void 0:t.illustrations)||[],dataRetention:(null===t||void 0===t?void 0:t.dataRetention)||[]};o.push(s)};for(var c in e)s(c)}()}return o}(o,v,i,u):[],_=R(Ie(!1),2),E=_[0],C=_[1],x=R(Ie(b.slice(0,20)),2),k=x[0],w=x[1],S=function(e,n,t){return function(e,n,t,r){var o="",i="";switch(n){case li:o=t.purposesLabel,i=hi;break;case ci:o=t.legitimateInterestPurposesLabel,i=hi;break;case pi:o=t.specialPurposesLabel,i=vi;break;case fi:o=t.flexiblePurposesLabel,i=hi;break;case ui:o=t.featuresLabel,i=mi;break;case di:o=t.specialFeaturesLabel,i=gi;break;case yi:o=t.vendorDataCategories,i="dataCategories";break;case si:o=t.legitimateInterestPurposesLabel,i=hi}var a=null===e||void 0===e?void 0:e.map((function(e,n){var t;return En.createElement("li",{key:"".concat(i).concat(e)},"- ",r?null===(t=r[i][e])||void 0===t?void 0:t.name:n)}));return En.createElement("li",null,En.createElement("strong",null,o),En.createElement("ul",{className:"qc-cmp2-expanded-list"},a))}(e,n,t,o)};return qe((function(){if(E)return k.length<b.length&&(n=setTimeout((function(){w(b.slice(0,k.length+20))}),1e3)),function(){clearTimeout(n)}}),[f]),qe((function(){m&&(m(!1),d&&k.length===b.length&&d(!0))}),[k]),qe((function(){C(!0)}),[]),y?En.createElement(En.Fragment,null,En.createElement(Po,{className:"".concat(t||""," qc-cmp2-consent-list"),subHeaderColor:ms.subHeaderColor,borderColor:ms.borderColor,lightTextColor:ms.lightTextColor,secondaryTextColor:ms.secondaryTextColor,uxPrimaryButtonColor:ms.uxPrimaryButtonColor,uxBackgroundColor:ms.uxBackgroundColor,isIE:no()},(i===v.NON_IAB||i===v.LEGITIMATE_PURPOSES||i===v.LEGITIMATE_VENDORS||i===v.GOOGLE)&&En.createElement("h2",{className:"qc-cmp2-list-header"},function(){switch(i){case v.NON_IAB:return l.nonIabVendorsLabel;case v.LEGITIMATE_PURPOSES:return r.legitimateInterestPurposesLabel;case v.LEGITIMATE_VENDORS:return r.legitimateInterestVendorLabel;case v.GOOGLE:return r.googlePartners}return""}()),k.map((function(e,n){var t=a;return i===v.VENDORS&&e.isSpecialPurposesOnly&&(t=!0),En.createElement(ai,{key:n,coreUiLabels:r,premiumUiLabels:l,dataType:i,legitimate:c,togglesHidden:t,expandable:s,handleClick:p,cmpUI:ds,item:e,populateVendorInfo:S,isNonIabConsent:h,language:g})})))):null})),_i=function(e,n,t){e.map((function(e){var r=n.filter((function(n){return(n[t]||[]).includes(e.id)}));return e.vendors=r,e}))},Ei=function(e){var n,t=e.coreUiLabels,r=e.premiumUiLabels,o=e.vendorsData,i=e.handleClick,a=e.nonIabData,s=e.children,c=Re(null),l=U({},null===o||void 0===o?void 0:o.legitimatePurposes),u={isEnabled:a.isEnabled,vendors:a.vendors.filter((function(e){return e.legIntPurposes.length>0}))},p=a.isEnabled&&a.vendors.length&&u.vendors.length>0,d=R(Ie(!1),2),f=d[0],m=d[1],h=R(Ie(0),2),g=h[0],y=h[1],b=R(Ie(!1),2),_=b[0],E=b[1];if(Object.keys(l).length){var C=Object.values(U({},null===o||void 0===o?void 0:o.vendors)),x=Object.values(l);_i(x,C,"legIntPurposes")}return qe((function(){var e=c.current;g&&e&&E(!0)}),[g]),qe((function(){var e=c.current;_&&e&&(e.scrollTop=e.scrollHeight)}),[_]),qe((function(){return function(){clearTimeout(n)}}),[n]),En.createElement(En.Fragment,null,s[0],En.createElement("div",{className:"qc-cmp2-scrollable-section ".concat(_?"loading":""),ref:c,onScroll:function(){var e=c.current;clearTimeout(n),e&&!f&&e.scrollTop+e.offsetHeight>e.scrollHeight-50&&(n=setTimeout((function(){y((new Date).getTime())}),300))}},o?En.createElement(En.Fragment,null,!!Object.keys(o.legitimatePurposes).length&&En.createElement(bi,{coreUiLabels:t,premiumUiLabels:r,data:o&&Object.keys(o.iabVendors).length&&(null===o||void 0===o?void 0:o.legitimatePurposes)||{},dataType:v.LEGITIMATE_PURPOSES,nonIabData:a,handleClick:i,expandable:!0,legitimate:!0}),!!Object.keys(o.legitimateVendors).length&&En.createElement(bi,{coreUiLabels:t,premiumUiLabels:r,data:o,dataType:v.LEGITIMATE_VENDORS,handleClick:i,onFullyRendered:m,triggerReRender:g,setShowLoader:E,expandable:!0,legitimate:!0})):En.createElement(io,null),!!p&&En.createElement(bi,{coreUiLabels:t,data:o,nonIabData:u,dataType:v.NON_IAB,handleClick:i,premiumUiLabels:r,expandable:!0}),_&&En.createElement(io,null)),s[1])},Ci=function(e){var n,t,r,o,i=e.item,a=e.id,s=e.sectionName,c=e.coreUiLabels,l=e.premiumUiLabels,u=e.handleClick,p=e.handleConsent,d=e.DATA_TYPE,f=(null!==(n=null===(t=i.vendors)||void 0===t?void 0:t.length)&&void 0!==n?n:0)+(null!==(r=null===(o=i.nonIabVendors)||void 0===o?void 0:o.length)&&void 0!==r?r:0),m="(".concat(f," ").concat(c.purposeScreenVendorLink.toLowerCase(),")"),h=R(Ie(!1),2),g=h[0],v=h[1];return En.createElement(En.Fragment,{key:"".concat(i.name).concat(a)},En.createElement("li",{className:"qc-cmp2-expandable-info"},En.createElement("strong",null,"".concat(i.name," ").concat(m)),En.createElement("p",null,i.description),i.descriptionLegal&&En.createElement("div",{className:"qc-cmp2-expandable-legal"},En.createElement(Mr,{mode:"link",size:"small",className:"qc-cmp2-toggle-legal-button","aria-label":c.legalDescription,"aria-live":"polite","aria-expanded":"false",onClick:function(e){e.currentTarget.setAttribute("aria-expanded",!e.currentTarget.getAttribute("ariaExpanded")),u(e,"legalDescription-stacks-".concat(s,"-").concat(a))}},En.createElement(ko,{type:"fill"}),c.legalDescription),En.createElement("p",{className:"qc-cmp2-legal-description"},i.descriptionLegal.replace(/(:\s\*)|(:\*)/gi,":").replace(/(\.\s\*)|(\.\*)|(\s\*)/gi,"."))),i.vendors&&En.createElement("div",{className:"qc-cmp2-expandable-legal"},En.createElement(Mr,{mode:"link",size:"small",className:"qc-cmp2-toggle-legal-button","aria-label":c.showPartners,"aria-live":"polite","aria-expanded":"false",onClick:function(e){e.currentTarget.setAttribute("aria-expanded",!e.currentTarget.getAttribute("ariaExpanded")),u(e,"vendors-stacks-".concat(i.id)),v(!g)}},En.createElement(ko,{type:"fill"}),c.showPartners),g&&En.createElement(En.Fragment,null,to(i.vendors,"id").map((function(e){return En.createElement("p",{key:e.id,className:"qc-cmp2-legal-description"},"- ".concat(e.name))})),!(!i.nonIabVendors||!i.nonIabVendors.length)&&En.createElement(En.Fragment,null,i.nonIabVendors.map((function(e){return En.createElement("ul",null,En.createElement("li",{key:e.name,className:"qc-cmp2-legal-description"},"- ".concat(e.name),"*"))})),En.createElement("p",{className:"qc-cmp2-legal-description qc-cmp2-non-iab"},"* ",l.nonIabVendorsLabel))))),En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{showLabel:!0,on:i.status,onClick:function(){p(a,"purposes"===s?d.PURPOSES:d.SPECIAL_FEATURES,!i.status)},className:"qc-cmp2-toggle"})))},xi=h.EXPAND_ELEMENT,ki=h.COLLAPSE_ELEMENT,wi=function(e,n,t,r){return e[n].length?e[n].map((function(e){var o=t.find((function(n){return n.id===e}));if(o){var i="purposes"===n&&r&&r.vendors;o.nonIabVendors=i&&i.length&&i.filter((function(e){return e.purposes&&e.purposes.includes(o.id)}))}return o})).filter((function(e){return void 0!==e})):[]},Si=function(e){var n=e.id,t=e.stack,r=e.onToggle,o=e.purposes,i=e.specialFeatures,a=e.nonIabData,s=e.coreUiLabels,c=e.premiumUiLabels,l=e.handleClick,u=e.handleConsent,p=e.className,d=e.DATA_TYPE,f="".concat(n,"-expandable"),m=R(Ie(wi(t,"purposes",o,a)),2),h=m[0],g=m[1],v=R(Ie(wi(t,"specialFeatures",i,a)),2),y=v[0],b=v[1],_=R(Ie(h.filter((function(e){return!0===e.status})).length+y.filter((function(e){return!0===e.status})).length),2),E=_[0],C=_[1],x=R(Ie(!1),2),k=x[0],w=x[1],S=R(Ie(t.status),2),L=S[0],P=S[1],T=R(Ie(t.stateLabel),2),A=T[0],I=T[1],O=function(e,n,t){u(e,n),n===d.PURPOSES?g(h.map((function(n){return n.id===e&&(n.status=t),n}))):b(y.map((function(n){return n.id===e&&(n.status=t),n}))),C(E+(t?1:-1))};return qe((function(){var e=s.onLabel,n=s.offLabel,t=s.multiLabel;0===E?(I(n),P(!1)):E===h.length+y.length?(I(e),P(!0)):(I(t),P(!1))}),[E]),En.createElement("li",{"data-testid":"stack-item",className:"".concat(p," ").concat(k?"qc-cmp2-expanded":"")},En.createElement("button",{className:"qc-cmp2-list-item-header","aria-live":"polite","aria-label":t.name,"aria-expanded":k,"aria-controls":f,"data-testid":"stack-item-header",onClick:function(){k?ds.eventTracker(ki,n):ds.eventTracker(xi,n),w(!k)}},En.createElement("ul",{className:"titles-header"},En.createElement("li",{className:"qc-cmp2-list-item-title"},t.name),En.createElement("li",{className:"qc-cmp2-list-item-status"},A)),En.createElement(ko,{type:"expand"})),k&&En.createElement("ul",{id:f,className:"qc-cmp2-expandable-list"},En.createElement("li",{className:"qc-cmp2-expandable-info"},t.description),En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{showLabel:!0,className:"qc-cmp2-toggle",parentLabel:t.name,on:L,onClick:function(){r(),function(e){g(h.map((function(n){return U(U({},n),{},{status:e})}))),b(y.map((function(n){return U(U({},n),{},{status:e})}))),C(e?h.length+y.length:0)}(!L)},disabled:!k})),h.map((function(e,n){return En.createElement(Ci,{id:e.id,key:n,item:e,sectionName:"purposes",coreUiLabels:s,premiumUiLabels:c,handleClick:l,handleConsent:O,DATA_TYPE:d})})),y.map((function(e,n){return En.createElement(Ci,{id:e.id,key:n,item:e,sectionName:"specialFeatures",coreUiLabels:s,premiumUiLabels:c,handleClick:l,handleConsent:O,DATA_TYPE:d})}))))};function Li(){var e=xr(["\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 Li=function(){return e},e}function Pi(){var e=xr(["\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 Pi=function(){return e},e}var Ti=Ir(Po)(Pi(),(function(e){return e.isIE&&Gt(Li())}),(function(e){return e.borderColor})),Ai=function(e){var n=e.vendorsData,t=e.handleClick,r=e.coreUiLabels,o=e.purposes,i=e.specialFeatures,a=e.premiumUiLabels,s=e.nonIabData,c=function(e,n){ds.handleConsent(e,n)};return n?En.createElement(Ti,{borderColor:ms.borderColor,lightTextColor:ms.lightTextColor,secondaryTextColor:ms.secondaryTextColor,uxPrimaryButtonColor:ms.uxPrimaryButtonColor,isIE:no()},Object.entries(n.stacks).map((function(e){var n=R(e,2),l=n[0],u=n[1];return En.createElement(Si,{id:"stack-item-id:".concat(l),stack:u,onToggle:function(){return function(e){ds.handleConsent(e,v.STACKS)}(l)},purposes:o,specialFeatures:i,nonIabData:s,coreUiLabels:r,premiumUiLabels:a,handleClick:t,handleConsent:c,key:"stack-item-".concat(l),"data-testid":"stack-item",className:"qc-cmp2-list-item",DATA_TYPE:v})}))):En.createElement(io,null)};function Ii(){var e=xr(["\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 Ii=function(){return e},e}function Oi(){var e=xr(["\n  ","\n"]);return Oi=function(){return e},e}function qi(){var e=xr(["\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 qi=function(){return e},e}var Ni=Ir.ul(qi()),Ri=Ir.div(Oi(),(function(e){return e.isIE&&Gt(Ii())})),Di=function(e){var n,t=e.handleClick,r=e.coreUiLabels,o=e.premiumUiLabels,i=e.data,a=e.id,s=e.title,c=e.toggleObj;if(s===o.linksTitle)n=i.map((function(e,n){return En.createElement("li",{key:e.label+n},En.createElement("a",{href:e.link,target:"_blank","aria-label":e.link+" opens in new window",rel:"noopener noreferrer",title:e.label},e.label))}));else{var l=[];for(var u in i){var p=i[u];for(var d in p){var f=p[d],m=(f.descriptionLegal||"").replace(/(:\s\*)|(:\*)/gi,":").replace(/(\.\s\*)|(\.\*)|(\s\*)/gi,"."),h={id:"".concat(u," ").concat(f.id),title:f.name,description:f.description,descriptionLegal:m};l.push(h)}}n=l.map((function(e,n){return En.createElement("li",{key:n},En.createElement("strong",null,e.title),e.description,e.descriptionLegal&&En.createElement("div",{className:"qc-cmp2-expandable-legal"},En.createElement(Mr,{mode:"link",size:"small",className:"qc-cmp2-toggle-legal-button",onClick:function(n){n.currentTarget.setAttribute("aria-expanded",!n.currentTarget.getAttribute("ariaExpanded")),t(n,"legalDescription-".concat(e.id))},"aria-label":r.legalDescription,"aria-pressed":"false","aria-expanded":"false","aria-live":"polite"},En.createElement(ko,{type:"fill"}),r.legalDescription),En.createElement("p",{className:"qc-cmp2-legal-description","aria-labelledby":"qc-cmp2-toggle-legal-button"},e.descriptionLegal)))}))}return En.createElement(Po,{className:"qc-cmp2-consent-list",subHeaderColor:ms.subHeaderColor,borderColor:ms.borderColor,lightTextColor:ms.lightTextColor,secondaryTextColor:ms.secondaryTextColor,uxPrimaryButtonColor:ms.uxPrimaryButtonColor},En.createElement("li",{id:a,className:"qc-cmp2-list-item",role:"list"},En.createElement("button",{className:"qc-cmp2-list-item-header",onClick:function(e){return t(e,a)},role:"listitem","aria-label":s,"aria-live":"polite"},En.createElement("div",{className:"titles-header"},En.createElement("p",{className:"qc-cmp2-list-item-title",role:"listitem"},s===o.linksTitle?En.createElement("strong",null,s):En.createElement("p",null,s))),En.createElement(ko,{type:"expand"})),c[a]&&En.createElement("ul",{className:"qc-cmp2-expandable-list"},En.createElement(Ri,{role:"listitem",isIE:no(),className:"qc-cmp2-expandable-info"},En.createElement(Ni,null,n)))))},Ui=function(e){var n=e.premiumUiLabels,t=e.handleClick,r=e.title,o=e.toggleObj,i=e.id,a=R(Ie(),2),s=a[0],c=a[1];return qe((function(){var e=ds._gbcConsents,n=null===e||void 0===e?void 0:e.map((function(e){var n,t,r=null===Es||void 0===Es?void 0:Es.purposes.findIndex((function(n){return n.id==e.id}));if(-1!==r)return U(U({},e),{},{banner:null===Es||void 0===Es||null===(n=Es.purposes[r])||void 0===n?void 0:n.banner,portal:null===Es||void 0===Es||null===(t=Es.purposes[r])||void 0===t?void 0:t.portal})}));c(n)}),[Es]),En.createElement(Po,{className:"qc-cmp2-consent-list",subHeaderColor:ms.subHeaderColor,borderColor:ms.borderColor,lightTextColor:ms.lightTextColor,secondaryTextColor:ms.secondaryTextColor,uxPrimaryButtonColor:ms.uxPrimaryButtonColor},En.createElement("li",{id:i,className:"qc-cmp2-list-item",role:"list"},En.createElement("button",{className:"qc-cmp2-list-item-header",onClick:function(e){return t(e,i)},role:"listitem","aria-label":r,"aria-live":"polite"},En.createElement("div",{className:"titles-header"},En.createElement("p",{className:"qc-cmp2-list-item-title",role:"listitem"},r===n.linksTitle?En.createElement("strong",null,r):En.createElement("p",null,r))),En.createElement(ko,{type:"expand"})),o[i]&&En.createElement("ul",{className:"qc-cmp2-expandable-list",style:{display:"block"}},null===s||void 0===s?void 0:s.map((function(e){var n;return En.createElement("li",{key:e.id,className:"qc-cmp2-expandable-info",style:{display:"flex",width:"100%",alignContent:"center",marginBottom:"20px"}},En.createElement("p",{style:{flex:1}},null===e||void 0===e||null===(n=e.banner)||void 0===n?void 0:n.title),En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{on:null===e||void 0===e?void 0:e.selected,className:"qc-cmp2-toggle",onClick:function(n){n.preventDefault(),function(e){var n=null===s||void 0===s?void 0:s.map((function(n){return n.id===e?U(U({},n),{},{selected:!n.selected}):n}));c(n),ds._gbcConsents=null===n||void 0===n?void 0:n.map((function(e){return{id:e.id,selected:e.selected}}))}(e.id)}})))})))))},Bi=function(e){var n,t,r=e.coreUiLabels,o=e.premiumUiLabels,i=e.vendorsData,a=e.handleClick,s=e.nonIabData,c=e.children,l=e.toggleObj,u=(e.gbcConfig,e.acceptAllValue,e.coreConfig),p=e.isGbcEnabled,d=R(Be(Is),1),f=R(Ie(d[0].disableAcceptButton),2),m=f[0],h=f[1],g=U({},null===i||void 0===i?void 0:i.stacks),y=U({},null===i||void 0===i?void 0:i.specialFeatures),b=U({},null===i||void 0===i?void 0:i.purposes),_=JSON.parse(JSON.stringify(b)),E=JSON.parse(JSON.stringify(y)),C=Object.values(_),x=Object.values(E),k=Re(null),w=Ue((function(){var e=k.current,n=document.getElementById("Special Purposes and Features Group"),t=null===e||void 0===e?void 0:e.getBoundingClientRect(),r=null===n||void 0===n?void 0:n.getBoundingClientRect();e&&m&&r&&t&&(t.bottom-r.top>=0&&(h(!1),e.removeEventListener("scroll",w)))}),[m]);if(qe((function(){var e=k.current;m&&e&&(w(),e.addEventListener("scroll",w))}),[w,m,k]),Object.keys(g).length)for(var S in g){var L=g[S];if(L.specialFeatures.length)for(var P in y)L.specialFeatures.includes(parseInt(P,10))&&delete y[P];if(L.purposes.length)for(var T in b)L.purposes.includes(parseInt(T,10))&&delete b[T]}if(Object.keys(b).length){var A=Object.values(U({},null===i||void 0===i?void 0:i.vendors)),I=Object.values(b),O=Object.values(y);_i(I,A,"purposes"),_i(O,A,"specialFeatures"),_i(C,A,"purposes"),_i(x,A,"specialFeatures")}return En.createElement(En.Fragment,null,c&&En.cloneElement(c[0],{disabledAcceptAllButton:m}),En.createElement("div",{ref:k,className:"qc-cmp2-scrollable-section"},i?En.createElement(En.Fragment,null,!!Object.keys(g).length&&En.createElement(Ai,{vendorsData:i,coreUiLabels:r,handleClick:a,purposes:C,specialFeatures:x,nonIabData:s,premiumUiLabels:o}),!!Object.keys(b).length&&En.createElement(bi,{coreUiLabels:r,data:b,dataType:v.PURPOSES,nonIabData:s,handleClick:a,premiumUiLabels:o,expandable:!0}),!!Object.keys(y).length&&En.createElement(bi,{coreUiLabels:r,data:y,dataType:v.SPECIAL_FEATURES,handleClick:a,premiumUiLabels:o,expandable:!0}),(!!Object.keys(i.specialPurposes).length||!!Object.keys(i.features).length)&&En.createElement(Di,{id:"Special Purposes and Features Group",title:r.specialPurposesAndFeatures,coreUiLabels:r,handleClick:a,data:{"Special Features":(null===i||void 0===i?void 0:i.specialPurposes)||{},Features:(null===i||void 0===i?void 0:i.features)||{}},premiumUiLabels:o,toggleObj:l}),p?En.createElement(Ui,{id:"Google Basic Consents",title:null!==(n=null===Es||void 0===Es||null===(t=Es.banner)||void 0===t?void 0:t.sectionTitle)&&void 0!==n?n:"Google Basic Consents",handleClick:a,premiumUiLabels:o,toggleObj:l,coreConfig:u}):En.createElement(En.Fragment,null)):En.createElement(io,null),!!(o&&o.initScreenCustomLinks&&o.initScreenCustomLinks.length)&&En.createElement(Di,{id:o.linksTitle,title:o.linksTitle,coreUiLabels:r,handleClick:a,data:o.initScreenCustomLinks,premiumUiLabels:o,toggleObj:l})),c[1])},Gi=function(e){var n,t=e.coreUiLabels,r=e.nonIabData,o=e.vendorsData,i=e.handleClick,a=e.premiumUiLabels,s=e.googleVendors,c=e.children,l=e.language,u={isEnabled:r.isEnabled,vendors:r.vendors.filter((function(e){return e.purposes.length>0||0===e.purposes.length&&0===e.legIntPurposes.length}))},p=r.isEnabled&&r.vendors.length>0&&u.vendors.length>0,d=Re(null),f=R(Ie(!1),2),m=f[0],h=f[1],g=R(Ie(!1),2),y=g[0],b=g[1],_=R(Ie(!1),2),E=_[0],C=_[1],x=R(Ie(0),2),k=x[0],w=x[1],S=R(Ie(!1),2),L=S[0],P=S[1],T=R(Ie(!1),2),A=T[0],I=T[1],O=R(Ie(!1),2),q=O[0],N=O[1];return qe((function(){var e=d.current;k&&e&&N(!0)}),[k]),qe((function(){var e=d.current;q&&e&&(e.scrollTop=e.scrollHeight)}),[q]),qe((function(){P(p&&m),I(p&&y||!p&&m)}),[m,y]),qe((function(){return function(){clearTimeout(n)}}),[]),En.createElement(En.Fragment,null,c[0],En.createElement("div",{className:"qc-cmp2-scrollable-section ".concat(q?"loading":""),ref:d,tabIndex:0,onScroll:function(){var e=d.current;clearTimeout(n),e&&(!m||p&&!y||s&&s.isEnabled&&!E)&&e.scrollTop+e.offsetHeight>e.scrollHeight-50&&(n=setTimeout((function(){w((new Date).getTime())}),300))}},o?En.createElement(En.Fragment,null,!!Object.keys(o.vendors).length&&En.createElement(bi,{coreUiLabels:t,data:o,dataType:v.VENDORS,handleClick:i,premiumUiLabels:a,onFullyRendered:h,triggerReRender:k,setShowLoader:N,expandable:!0,language:l})):En.createElement(io,null),p&&L&&En.createElement(bi,{coreUiLabels:t,data:o,nonIabData:u,dataType:v.NON_IAB,handleClick:i,premiumUiLabels:a,onFullyRendered:b,triggerReRender:k,setShowLoader:N,expandable:!0,isNonIabConsent:!0,language:l}),s&&s.isEnabled&&s.data.length>0&&A&&En.createElement(bi,{coreUiLabels:t,data:s.data,dataType:v.GOOGLE,handleClick:i,premiumUiLabels:a,onFullyRendered:C,triggerReRender:k,setShowLoader:N,expandable:!0,language:l}),q&&En.createElement(io,null)),c[1])};function Vi(){var e=xr(["\n          && {\n            display: grid;\n            grid-template-rows: none;\n            height: ",";\n            @media (orientation: landscape) {\n              height: 100%;\n              max-height: 100%;\n            }\n          }\n        "]);return Vi=function(){return e},e}function ji(){var e=xr(["\n          && {\n            max-height: 100%;\n            margin-top: ",";\n\n            .qc-cmp2-footer {\n              .qc-cmp2-summary-buttons {\n                button {\n                  &:last-of-type {\n                    order: 0;\n                  }\n                }\n              }\n            }\n\n            @media (orientation: portrait) {\n              .qc-cmp2-footer {\n                margin-top: ",";\n              }\n            }\n          }\n        "]);return ji=function(){return e},e}function Fi(){var e=xr(["\n          && {\n            .qc-cmp2-footer {\n              width: 60%;\n\n              .qc-cmp2-summary-buttons button {\n                min-width: 80px;\n              }\n            }\n          }\n        "]);return Fi=function(){return e},e}function Mi(){var e=xr(["\n          && {\n            .qc-cmp2-footer {\n              width: 50%;\n\n              .qc-cmp2-summary-buttons button {\n                min-width: 80px;\n              }\n            }\n          }\n        "]);return Mi=function(){return e},e}function Hi(){var e=xr(["\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            background: none;\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 Hi=function(){return e},e}function zi(){var e=xr(["\n              height: 19px;\n              svg {\n                width: 12px;\n              }\n            "]);return zi=function(){return e},e}function $i(){var e=xr(["\n          height: ",";\n        "]);return $i=function(){return e},e}function Yi(){var e=xr(["\n          height: ",";\n        "]);return Yi=function(){return e},e}function Wi(){var e=xr(["\n          height: ",";\n        "]);return Wi=function(){return e},e}function Ji(){var e=xr(["\n  && {\n    background: ",";\n    height: 95%;\n    width: 100%;\n    display: grid;\n    grid-template-rows: ",";\n    justify-items: center;\n    position: relative;\n\n    :focus-visible {\n      outline: transparent 1px solid;\n    }\n\n    .qc-cmp2-scrollable-section {\n      ","\n\n      ","\n\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: 20px;\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 2%;\n      text-align: center;\n\n      .qc-cmp2-publisher-logo-container {\n        overflow: unset;\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: 4%;\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            outline: none;\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        margin-bottom: 3%;\n        max-height: 20vh;\n        font-size: 13px;\n        overflow: auto;\n      }\n    }\n\n    .qc-cmp2-summary-section {\n      display: grid;\n      justify-items: center;\n      overflow: hidden;\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        padding-bottom: ",";\n        height: 100%;\n        overflow-y: auto;\n\n        div {\n          line-height: 1.5em;\n          margin-bottom: 15px;\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      height: ",";\n      max-height: ",";\n      width: 770px;\n      grid-template-rows: auto 1fr;\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-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          .description {\n            height: 24vh;\n            overflow: auto;\n            border: 1px solid #CACACA;\n            padding: 16px;\n            margin-top: 24px;\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: 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: 767px) and (min-width: 361px) and (max-height: 299px) {\n      display: ",";\n      .qc-cmp2-summary-section {\n        height: 100%;\n        max-height: 35%;\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        div {\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\n  }\n"]);return Ji=function(){return e},e}var Ki=Ir.div(Ji(),(function(e){return e.uxBackgroundColor}),(function(e){return e.page!==g.INIT_PAGE?"auto 3fr auto":"none"}),(function(e){return e.isIE&&e.page===g.PURPOSES_PAGE&&Gt(Wi(),e.usesLogo?"192px":"262px")}),(function(e){return e.isIE&&e.page===g.VENDORS_PAGE&&Gt(Yi(),e.usesLogo?"282px":"342px")}),(function(e){return e.isIE&&e.page!==g.PURPOSES_PAGE&&e.page!==g.VENDORS_PAGE&&Gt($i(),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&&Gt(zi())}),(function(e){return e.isBanner?"0":"60px"}),(function(e){return e.isBanner?"0":"45px"}),(function(e){return e.isBanner?"0":"30px"}),(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===g.INIT_PAGE?"auto":"inherit"}),(function(e){return e.page===g.INIT_PAGE?"none":"550px"}),(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===g.INIT_PAGE&&Gt(Hi(),e.uxBackgroundColor,e.uxBackgroundColor,e.isBanner?"right":"none",e.isBanner?"0":"20px 0 0")}),(function(e){return(!e.isPopup||e.isAmp)&&e.page===g.INIT_PAGE&&Gt(Mi())}),(function(e){return(!e.isPopup||e.isAmp)&&e.page===g.INIT_PAGE&&Gt(Fi())}),(function(e){return e.page===g.INIT_PAGE&&Gt(ji(),e.isBanner?"auto":"0",e.isBanner?"0":"5%")}),(function(e){return e.page===g.INIT_PAGE&&Gt(Vi(),e.isAmp?"100%":"70%")}),(function(e){return e.page===g.INIT_PAGE?"block":"grid"}),(function(e){return e.page!==g.INIT_PAGE?"block":"grid"})),Xi=function(){var e,n=document.getElementById("qc-cmp2-main");n&&(null===n||void 0===n||null===(e=n.parentNode)||void 0===e||e.removeChild(n))},Qi=function(e){var n,t=e.coreUiLabels,r=e.premiumUiLabels,o=e.isPopup,i=e.nonIabData,a=e.page,s=e.consentGroupHandler,c=e.showRejectButton,l=e.showCloseButton,u=e.isAmp,p=e.setAllConsentsToByPage,d=e.gbcConfig,v=e.coreConfig,y=R(Be(Is),2),b=(y[0],y[1]),_=R(Ie(!1),2),E=_[0],x=_[1],w=R(Ie(!1),2),S=w[0],L=w[1],P=R(Ie({}),2),A=P[0],I=P[1],O=R(Ie(Math.random()),2),q=O[0],N=O[1],D=R(Ie(!1),2),B=D[0],G=D[1],V=R(Ie(void 0),2),j=V[0],F=V[1],M=R(Ie(void 0),2),H=M[0],z=M[1],$=Re(null),Y=R(Ie(""),2),W=Y[0],J=Y[1];function K(e){G(!0),Promise.all([ds.getGVLVendorsData(),ds.getGoogleVendors()]).then((function(e){var n=R(e,2),t=n[0],r=n[1];z(t),F(r)})).catch((function(){F({enabled:!1,data:void 0})})).finally((function(){G(!1),e&&"function"===typeof e&&e()}))}qe((function(){(function(){var e=wn(xn.a.mark((function e(){var n,t;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,ds.getIabAndGoogleVendorsCount();case 3:t=e.sent,J((t+((null===i||void 0===i||null===(n=i.vendors)||void 0===n?void 0:n.length)||0)).toString()),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error("Error fetching vendors count:",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(){return e.apply(this,arguments)}})()()}),[]);var X=function(){K((function(){return s(a)}))},Q=function(){ee(!0),K((function(){s(a,!0)}))},Z=function(){ee(!1),K((function(){return s(a,!1)}))},ee=function(e){var n;ds._gbcConsents=(null===d||void 0===d||null===(n=d.applicablePurposes)||void 0===n?void 0:n.map((function(n){return U(U({},n),{},{selected:e})})))||[]},ne=function(){p&&(ee(!0),K((function(){p(!0,a),N(Math.random()),L(!0)})))},te=function(){p&&(ee(!1),K((function(){p(!1,a),N(Math.random()),L(!0)})))},re=function(e){window.__tcfapiui("goToPage",e),setTimeout((function(){K()}),0)},oe=function(e,n){var r=e.currentTarget.parentNode,o=h.EXPAND_ELEMENT,i=h.COLLAPSE_ELEMENT;r.classList.contains("qc-cmp2-expanded")?(ds.eventTracker(i,n),I((function(e){return U(U({},e),{},f({},n,!1))}))):(ds.eventTracker(o,n),I((function(e){return U(U({},e),{},f({},n,!0))}))),r.classList.toggle("qc-cmp2-expanded"),e.currentTarget.innerHTML===t.showPartners?e.currentTarget.innerHTML=t.hidePartners:e.currentTarget.innerHTML===t.hidePartners&&(e.currentTarget.innerHTML=t.showPartners)},ie=function(e,n,t,r,o,i){var a=e.initScreenBodyTextOption,s=e.consentScope,c=n.customInitScreenBodyText,l=n.customSecondScreenBodyText,u=n.customVendorScreenBodyText,p=n.customLegitimateScreenBodyText,d=t.initScreenCustomLinks,f="",m=!1;switch(o){case g.INIT_PAGE:var h,v=4===a&&c,y=!1;if(v)h=Xr(c,n.purposeScreenVendorLink.toLowerCase(),e);else{if(r)switch(s){case Hr.SERVICE:h=n.summaryScreenBodyTextReject;break;default:y=!0,h=n.summaryScreenBodyTextRejectGroup}else switch(s){case Hr.SERVICE:h=n.summaryScreenBodyTextNoReject;break;default:y=!0,h=n.summaryScreenBodyTextNoRejectGroup}h=Zr(h,"partners",i)}if(y){var b=e.groupOfWebsitesURL?e.groupOfWebsitesURL:e.consentScopeGroupURL;h=Qr(h,n.groupOfSitesLabel,!0,b)}return v||(h=Qr(h,n.purposeScreenVendorLink.toLowerCase()),d&&d.length&&(h=Qr(h,n.privacyPolicyLabel.toLowerCase(),!0,d[0].link))),{bodyText:h,isCustomized:!!v};case g.PURPOSES_PAGE:h=Zr(n.initScreenBodyService,"partners",i);var _=d&&d.length?d[0].link:void 0;if(4===a&&l)h=Zr([l],"partners",i),h=Xr(l,n.purposeScreenVendorLink.toLowerCase(),e),m=!0;else if(s===Hr.SERVICE){if(_)h=R(Qr([h||""],n.privacyPolicyLabel.toLowerCase(),!0,_),1)[0];else h=Xr(h||"",n.privacyPolicyLabel.toLowerCase(),e,!1)}else{if(h=Zr(n.initScreenBodyGroup,"partners",i),_)h=R(Qr([h||""],n.privacyPolicyLabel.toLowerCase(),!0,_),1)[0];else h=Xr(h||"",n.privacyPolicyLabel.toLowerCase(),e,!1)}return{bodyText:"string"===typeof h?h:[h],isCustomized:m};case g.VENDORS_PAGE:return 4===a&&u?(f=Xr(u,n.purposeScreenVendorLink.toLowerCase(),e),m=!0):f=n.vendorScreenBody||"",{bodyText:f,isCustomized:m};case g.LEGITIMATE_PAGE:return 4===a&&p?(f=Xr(p,n.purposeScreenVendorLink.toLowerCase(),e),m=!0):f=n.legitimateScreenBody||"",{bodyText:f,isCustomized:m};default:return{bodyText:f,isCustomized:m}}}(hs.coreConfig,t,r,c,a,W),ae=function(e){if(e&&e.target){var n=e.target;n&&n.scrollHeight-n.scrollTop===n.clientHeight?x(!0):E&&x(!1)}},se=null===Es||void 0===Es||null===(n=Es.banner)||void 0===n?void 0:n.description;qe((function(){if(a===g.INIT_PAGE){var e=document.querySelector(".qc-cmp2-summary-info");e&&e.scrollHeight-e.scrollTop===e.clientHeight?x(!0):E&&x(!1)}}),[]),qe((function(){var e=document.querySelector("#qc-cmp2-ui");document.activeElement!==e&&(null===e||void 0===e||e.focus())}),[a]),qe((function(){var e=document.querySelector("#qc-cmp2-ui");return a>g.INIT_PAGE&&(null===e||void 0===e||e.removeEventListener("keydown",ce)),null===e||void 0===e||e.addEventListener("keydown",ce),function(){null===e||void 0===e||e.removeEventListener("keydown",ce)}}),[a]);var ce=function(e){e.keyCode===T&&(Xi(),setTimeout((function(){le()}),0))},le=function(){return a===g.INIT_PAGE?Z():(b({payload:{regulation:"GDPR"},type:"TOGGLE_DISPLAY"}),ds.eventTracker(h.DISMISS_UI,"click"),fs.sendDoneLog(void 0,"",""),ds.notifyUiClosed("GDPR"),void Yr(u,{type:C.CONSENT_RESPONSE,action:k.DISMISS}))};return En.createElement(En.Fragment,null,En.createElement(Er,{active:!B,focusTrapOptions:{fallbackFocus:"#qc-cmp2-ui"},containerElements:[$.current]}),En.createElement(Ki,{ref:$,isPopup:o,isBanner:"banner"===hs.coreConfig.uiLayout&&a===g.INIT_PAGE,isAmp:u,id:"qc-cmp2-ui",page:a,role:"dialog","aria-label":"qc-cmp2-ui","aria-modal":"true",tabIndex:0,borderColor:ms.borderColor,lightestTextColor:ms.lightestTextColor,uxBackgroundColor:ms.uxBackgroundColor,uxPrimaryButtonColor:ms.uxPrimaryButtonColor,uxPrimaryButtonTextColor:ms.uxPrimaryButtonTextColor,uxFontColor:ms.uxFontColor,uxLinkColor:ms.uxLinkColor,warningTextColor:ms.warningTextColor,warningBackgroundColor:ms.warningBackgroundColor,isIE:no(),usesLogo:""!==hs.coreConfig.publisherLogo},(a===g.INIT_PAGE&&l||ds.getDisplayType("GDPR")!==m.MANDATORY&&a!==g.INIT_PAGE)&&En.createElement("div",{className:"qc-cmp2-close"},En.createElement("button",{className:"qc-cmp2-close-icon","aria-label":t.initScreenRejectButton,onClick:function(){Xi(),setTimeout((function(){le()}),0)}}),a===g.INIT_PAGE&&En.createElement("span",{className:"qc-cmp2-close-tooltip"},t.initScreenRejectButton)),function(){var e=En.createElement(wo,{coreUiLabels:t,acceptAllHeader:ne,rejectAllHeader:te,page:a,bodyContent:ie,handleScroll:a===g.INIT_PAGE?ae:void 0,isDesktop:window.screen.width>767,isAmp:u,isLoading:B,acceptAll:S,setAcceptAll:L,gbcDescription:_s&&se}),n=function(e){return En.createElement(ao,Object.assign({removePopup:Xi,acceptAllFunction:Q,acceptSelected:X,coreUiLabels:t,page:a,isLoading:B,handleGoPage:re},e))};switch(a){case g.PURPOSES_PAGE:return H&&j||setTimeout((function(){K()}),0),En.createElement(Bi,{coreUiLabels:t,premiumUiLabels:r,vendorsData:H,nonIabData:i,handleClick:oe,page:a,toggleObj:A,key:q,gbcConfig:d,acceptAllValue:S,coreConfig:v,isGbcEnabled:_s},e,En.createElement(n,null));case g.VENDORS_PAGE:return H&&j||setTimeout((function(){K()}),0),eo("Vendors rendered: ".concat(Object.keys((null===H||void 0===H?void 0:H.vendors)||{}).length)),En.createElement(Gi,{coreUiLabels:t,premiumUiLabels:r,vendorsData:H,nonIabData:i,handleClick:oe,page:a,googleVendors:j,key:q,language:hs.coreConfig.lang_},e,En.createElement(n,null));case g.LEGITIMATE_PAGE:return eo("Vendors rendered: ".concat(Object.keys((null===H||void 0===H?void 0:H.vendors)||{}).length)),En.createElement(Ei,{coreUiLabels:t,premiumUiLabels:r,vendorsData:H,handleClick:oe,page:a,nonIabData:i,key:q},e,En.createElement(n,null));default:return En.createElement(En.Fragment,null,En.createElement("div",{className:"qc-cmp2-summary-section"},e),En.createElement(n,{rejectAllFunction:Z,showRejectButton:c,showOverlay:!0,isScrolled:E,isAmp:u}))}}()))};function Zi(){var e=xr(["\n          align-items: flex-end;\n        "]);return Zi=function(){return e},e}function ea(){var e=xr(["\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 ea=function(){return e},e}var na=Ir.div(ea(),(function(e){var n=e.overlayColor,t=e.isAMP,r=e.page;return t&&r===g.INIT_PAGE?"none":n}),(function(e){return e.height}),(function(e){return e.uxFontColor}),(function(e){return e.font}),(function(e){var n=e.isPopup,t=e.page;return!n&&t===g.INIT_PAGE&&Gt(Zi())})),ta=function(e){var n=e.isPopup,t=e.className,r=e.isOpen,o=e.page,i=e.children,a=e.isAMP,s=R(Ie(window.innerHeight),2),c=s[0],l=s[1];qe((function(){l(window.innerHeight)}),[]),qe((function(){return window.addEventListener("resize",u),function(){window.removeEventListener("resize",u)}}));var u=function(){l(window.innerHeight)};return En.createElement(En.Fragment,null,r&&En.createElement(na,{height:c,isPopup:n,className:t,page:o,overlayColor:ms.overlayColor,uxFontColor:ms.uxFontColor,font:ms.font,isAMP:a},i))},ra=function(e){var n=e.coreConfig,t=e.coreUiLabels,r=e.premiumUiLabels,o=e.nonIabData,i=e.consentGroupHandler,a=e.eventTracker,s=e.setAllConsentsToByPage,c=R(Be(Is),1)[0],l=window.innerWidth<=767||document.documentElement.clientWidth<=767||document.body.clientWidth<767;return En.createElement(ta,{isPopup:"popup"===n.uiLayout||l,isOpen:c.displayGDPR,className:"qc-cmp-cleanslate",page:c.pageGDPR,isAMP:n.isAMP},c.displayGDPR&&En.createElement(Qi,{coreUiLabels:t,isPopup:"popup"===n.uiLayout||l,nonIabData:o,eventTracker:a,consentGroupHandler:i,page:c.pageGDPR,setAllConsentsToByPage:s,showRejectButton:n.initScreenRejectButtonShowing,showCloseButton:n.initScreenCloseButtonShowing,premiumUiLabels:r,isAmp:n.isAMP,gbcConfig:n.gbcConfig,coreConfig:n}))};function oa(){var e=xr(["\n  && {\n    max-width: 770px;\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                margin-left: 15px;\n                width: calc(100% - 50px);\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: 270px;\n        padding: 15px 0;\n        margin: 15px 0;\n        overflow: auto;\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                  margin-left: 15px;\n                  width: calc(100% - 75px);\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n"]);return oa=function(){return e},e}var ia=Ir.div(oa(),(function(e){return e.borderColor}),(function(e){return e.subHeaderColor}),(function(e){return e.uxFontColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.uxPrimaryButtonColor}),(function(e){return e.borderColor}),(function(e){return e.uxFontColor})),aa=function(e){var n,t,r,o=e.coreUiLabels,i=e.premiumUiLabels,a=e.coreConfig,s=e.close,c=e.eventTracker,l=(R(Be(Is),1)[0],R(Ie(!1),2)),u=l[0],p=l[1],d=R(Ie({uspString:""}),2),m=d[0],g=d[1],v=R(Ie({}),2),y=v[0],_=v[1],E=Re(null),w=ms.uxCCPATheme,S=w.uxFontColor,L=w.uxPrimaryButtonColor,P=w.borderColor,T=w.subHeaderColor;Ne((function(){window.__uspapi("getUSPData",1,(function(e){p(e&&"Y"===e.uspString[2]),g(e)}))}),[]),qe((function(){var e=document.querySelector('[aria-labelledby="qc-usp-title"]');document.activeElement!==e&&(null===e||void 0===e||e.focus())}),[]);var A=null===Es||void 0===Es||null===(n=Es.banner)||void 0===n?void 0:n.description;return En.createElement(En.Fragment,null,En.createElement(Er,{active:!0,focusTrapOptions:{fallbackFocus:"#qc-cmp2-usp"},containerElements:[E.current]}),En.createElement(ia,{ref:E,id:"qc-cmp2-usp",role:"dialog","aria-labelledby":"qc-usp-title","aria-modal":"true",tabIndex:0,borderColor:P,subHeaderColor:T,uxFontColor:S,uxPrimaryButtonColor:L},En.createElement("button",{tabIndex:0,"aria-label":"Close","aria-pressed":"false",className:"qc-usp-close-icon",onClick:function(){return Yr(a.isAMP,{type:C.CONSENT_RESPONSE,action:k.DISMISS}),s(),c(h.DISMISS_UI,"click"),void fs.sendDoneLogUsp(b.ACCEPT_PARTIAL,m.uspString)}}),En.createElement("div",{className:"qc-usp-ui-content"},En.createElement("p",{id:"qc-usp-title",className:"qc-usp-title"},a.publisherName&&"".concat(a.publisherName," - "),i.uspDnsTitle),En.createElement("div",{className:"qc-usp-main-messaging",tabIndex:0},Array.isArray(i.uspDnsText)?i.uspDnsText.map((function(e,n){return En.createElement("div",{key:n,dangerouslySetInnerHTML:{__html:e}})})):En.createElement("div",{dangerouslySetInnerHTML:{__html:i.uspDnsText}}),_s&&A&&En.createElement("div",null,En.createElement("br",null),A)),En.createElement("div",{className:"qc-usp-ui-form-content"},En.createElement("div",{className:"qc-usp-container"},En.createElement("div",{className:"qc-usp-container-row"},En.createElement("div",{className:"qc-usp-purpose-info"},En.createElement("label",{id:"toggleDescription",className:"qc-usp-action-description"},i.uspDoNotSellToggleText),En.createElement(Oo,{on:u,"aria-labelledby":"toggleDescription",className:"qc-usp-toggle",onClick:function(){c(h.OPT_OUT_TOGGLE,String(!u)),p(!u)}})),En.createElement("hr",null),En.createElement("div",{className:"qc-cmp2-scrollable-section",style:{maxHeight:"200px",overflowY:"scroll"}},_s?En.createElement(Ui,{id:"Google Basic Consents",title:null!==(t=null===Es||void 0===Es||null===(r=Es.banner)||void 0===r?void 0:r.sectionTitle)&&void 0!==t?t:"Google Basic Consents",handleClick:function(e,n){var t=e.currentTarget.parentNode,r=h.EXPAND_ELEMENT,i=h.COLLAPSE_ELEMENT;t.classList.contains("qc-cmp2-expanded")?(ds.eventTracker(i,n),_((function(e){return U(U({},e),{},f({},n,!1))}))):(ds.eventTracker(r,n),_((function(e){return U(U({},e),{},f({},n,!0))}))),t.classList.toggle("qc-cmp2-expanded"),e.currentTarget.innerHTML===o.showPartners?e.currentTarget.innerHTML=o.hidePartners:e.currentTarget.innerHTML===o.hidePartners&&(e.currentTarget.innerHTML=o.showPartners)},premiumUiLabels:i,toggleObj:y,coreConfig:a}):En.createElement(En.Fragment,null)))),En.createElement(Mr,{"aria-label":i.uspAcceptButton,"aria-pressed":"false",size:"large",theme:ms.uxCCPATheme,onClick:function(){return(null===a||void 0===a?void 0:a.isAMP)||ds.setGBCDataInDataLayerAndLS(),c(h.OPT_OUT_CONFIRM,String(u)),window.__uspapi("setUspData",1,(function(e){var n,t={};null===ds||void 0===ds||null===(n=ds._gbcConsents)||void 0===n||n.forEach((function(e){t[e.id]=e.selected})),Yr(a.isAMP,{type:C.CONSENT_RESPONSE,action:e.doNotSell?k.REJECT:k.ACCEPT,info:e.uspString,consentMetadata:{consentStringType:x.USP,gdprApplies:!1},purposeConsents:t}),fs.sendDoneLogUsp(u?b.REJECT:b.ACCEPT_ALL,e.uspString)}),u),s(),void(_s&&fs.sendDoneLogGbc())}},i.uspAcceptButton))),!a.suppressCcpaLinks&&En.createElement("div",{className:"qc-usp-alt-buttons"},En.createElement(En.Fragment,null,En.createElement("a",{tabIndex:0,id:"qc-usp-delete-link",className:"qc-usp-alt-action qc-usp-center-bottom",href:a.uspDeleteDataLink,title:"Read More about the Data Deletion Policy"},i.uspDeleteDataLinkText),En.createElement("a",{tabIndex:0,id:"qc-usp-access-link",className:"qc-usp-alt-action qc-usp-center-bottom",href:a.uspAccessDataLink,title:"Read More about the Data Access Policy"},i.uspAccessDataLinkText),En.createElement("a",{tabIndex:0,id:"qc-usp-policy-link",className:"qc-usp-alt-action qc-usp-center-bottom",href:a.uspPrivacyPolicyLink,title:"Read More about the Privacy Policy"},i.uspPrivacyPolicyLinkText)))))},sa=function(e){var n=e.coreConfig,t=e.premiumUiLabels,r=e.eventTracker,o=e.coreUiLabels,i=R(Be(Is),2),a=i[0],s=i[1],c=a.displayUSP;return En.createElement(ta,{className:"qc-cmp-cleanslate",isPopup:!0,isOpen:c,isAMP:n.isAMP,page:0},c&&En.createElement(aa,{coreConfig:n,premiumUiLabels:t,eventTracker:r,coreUiLabels:o,close:function(){s({payload:{regulation:"USP"},type:"TOGGLE_DISPLAY"})}}))};function ca(){var e=xr(["\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  }\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 ca=function(){return e},e}var la=Gt(ca()),ua=function(e){return e.GDPR="GDPR",e.USP="USP",e}({}),pa=function(e){var n=e.data,t=(R(Be(Is),1)[0],R(Ie(n.GBC_APPLICABLE_PURPOSES),2)),r=t[0],o=t[1];qe((function(){var e=null===r||void 0===r?void 0:r.map((function(e){return{id:e.id,selected:e.selected}}));ds._gbcConsents=e}),[r]);return qe((function(){n&&o(n.GBC_APPLICABLE_PURPOSES)}),[n]),En.createElement(Po,{className:"qc-cmp2-consent-list",subHeaderColor:ms.subHeaderColor,borderColor:ms.borderColor,lightTextColor:ms.lightTextColor,secondaryTextColor:ms.secondaryTextColor,uxPrimaryButtonColor:ms.uxPrimaryButtonColor},En.createElement("div",{className:"qc-cmp2-scrollable-section"},En.createElement("ul",{className:"qc-cmp2-expandable-list ",style:{display:"block",maxHeight:"200px",overflowY:"scroll"}},null===r||void 0===r?void 0:r.map((function(e){var n;return En.createElement("li",{key:e.id,className:"qc-cmp2-expandable-info",style:{display:"flex",width:"100%",alignContent:"center",marginBottom:"20px",padding:"0 20px"}},En.createElement("p",{style:{flex:1,fontSize:"14px"}},null===e||void 0===e||null===(n=e.banner)||void 0===n?void 0:n.title),En.createElement("div",{className:"qc-cmp2-toggle-switch"},En.createElement(Oo,{on:null===e||void 0===e?void 0:e.selected,className:"qc-cmp2-toggle",onClick:function(n){var t,r;n.preventDefault(),r=e.id,o((function(e){return e.map((function(e){return e.id===r?U(U({},e),{},{selected:!e.selected}):e}))})),null===ds||void 0===ds||null===(t=ds._gbcConsents)||void 0===t||t.push({id:e.id,selected:e.selected})}})))})))))},da=function(e){var n,t,r,o=e.coreConfig,i=(e.coreUiLabels,e.premiumUiLabels),a=e.eventTracker,s=(e.userCountry,ms.uxCCPATheme),c=s.uxFontColor,l=s.uxPrimaryButtonColor,u=s.borderColor,p=s.subHeaderColor,d=Re(null),f=R(Be(Is),2),m=f[0],g=f[1],v=m.displayGBC,y=function(){g({payload:{regulation:"GBC"},type:"TOGGLE_DISPLAY"})},b=null===o||void 0===o?void 0:o.gbcConfig,_=JSON.parse(localStorage.getItem(P)||"[]"),E=null===Es||void 0===Es?void 0:Es.purposes.filter((function(e){var n;return null===b||void 0===b||null===(n=b.applicablePurposes)||void 0===n?void 0:n.some((function(n){return n.id==e.id}))})).map((function(e){var n,t,r,o=null===_||void 0===_?void 0:_.findIndex((function(n){return n.id==e.id})),i=(null===b||void 0===b||null===(n=b.applicablePurposes)||void 0===n||null===(t=n.find((function(n){return n.id==e.id})))||void 0===t?void 0:t.defaultValue.toLowerCase())===I;return U(U({},e),{},{selected:-1!=o?null===_||void 0===_||null===(r=_[o])||void 0===r?void 0:r.selected:i})})),C=null===Es||void 0===Es||null===(n=Es.banner)||void 0===n?void 0:n.title,x=null===Es||void 0===Es||null===(t=Es.banner)||void 0===t?void 0:t.description,k=(null===Es||void 0===Es||null===(r=Es.banner)||void 0===r?void 0:r.confirm)||i.uspAcceptButton;return En.createElement(ta,{className:"qc-cmp-cleanslate",isPopup:!0,isOpen:v,isAMP:o.isAMP,page:0},En.createElement(Er,{active:!0,focusTrapOptions:{fallbackFocus:"#qc-cmp2-usp"},containerElements:[d.current]}),En.createElement(ia,{ref:d,id:"qc-cmp2-usp",role:"dialog","aria-labelledby":"qc-usp-title","aria-modal":"true",tabIndex:0,borderColor:u,subHeaderColor:p,uxFontColor:c,uxPrimaryButtonColor:l},En.createElement("button",{tabIndex:0,"aria-label":"Close","aria-pressed":"false",className:"qc-usp-close-icon",onClick:function(){return y(),void a(h.DISMISS_UI,"click")}}),En.createElement("div",{className:"qc-usp-ui-content"},En.createElement("p",{id:"qc-usp-title",className:"qc-usp-title"},C),En.createElement("div",{className:"qc-usp-main-messaging"},x),En.createElement("div",{className:"qc-usp-ui-form-content"},En.createElement(pa,{data:{GBC_APPLICABLE_PURPOSES:E}})),En.createElement("div",{style:{marginTop:"20px"}},En.createElement(Mr,{"aria-label":k,"aria-pressed":"false",size:"large",theme:ms.uxCCPATheme,onClick:function(){return(null===o||void 0===o?void 0:o.isAMP)||ds.setGBCDataInDataLayerAndLS(),fs.sendDoneLogGbc(),void y()},style:{width:"140px"}},k)))))},fa=jo.a.create({xsrfCookieName:null}),ma=function(e){var n=e.ui,t=e.mode,r=R(Be(Is),1)[0],o=n.consentGroupHandler,i=n.setAllConsentsToByPage,a=n.getCoreConfig(),s=n.getCoreUiLabels(),c=n.getPremiumUiLabels(),l=n.eventTracker,u=R(Ie(void 0),2),p=u[0],d=u[1],f=R(Ie(""),2),m=f[0],h=f[1];qe((function(){(function(){var e=wn(xn.a.mark((function e(){var n,t;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fa.get("https://cmp.inmobi.com/geoip");case 2:t=e.sent,h(null===t||void 0===t||null===(n=t.data)||void 0===n?void 0:n.country);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]);var g=null;return qe((function(){t===ua.GDPR&&d(n.getNonIabData())}),[n,t]),qe((function(){r.changed&&eo("Last changed ".concat(r.changed))}),[r]),qe((function(){var e=function(){var e,n,t;return(null===hs||void 0===hs||null===(e=hs.coreConfig)||void 0===e?void 0:e.isAMP)?(null===hs||void 0===hs||null===(n=hs.ampData)||void 0===n?void 0:n.gbcConsents)?Object.entries(null===hs||void 0===hs||null===(t=hs.ampData)||void 0===t?void 0:t.gbcConsents).map((function(e){var n=R(e,2),t=n[0],r=n[1];return{id:parseInt(t),selected:1!==r}})):[]:(null===Cs||void 0===Cs?void 0:Cs.gbcConsent)?JSON.parse(null===Cs||void 0===Cs?void 0:Cs.gbcConsent):localStorage.getItem(P)?JSON.parse(localStorage.getItem(P)||"[]"):[]}(),t=null===e||void 0===e?void 0:e.map((function(e){return{id:e.id,selected:e.selected}}));n._gbcConsents=t}),[]),t===ua.GDPR&&p&&(g=En.createElement(ra,{coreConfig:a,coreUiLabels:s,nonIabData:p,consentGroupHandler:o,setAllConsentsToByPage:i,premiumUiLabels:c,eventTracker:l})),t===ua.USP&&(g=En.createElement(sa,{coreUiLabels:s,coreConfig:a,premiumUiLabels:c,eventTracker:l})),"GBC"===t&&_s&&(g=En.createElement(da,{coreUiLabels:s,coreConfig:a,premiumUiLabels:c,eventTracker:l,userCountry:m})),En.createElement(En.Fragment,null,(r.displayGDPR||r.displayUSP)&&En.createElement(Bt,{styles:la}),g)};function ha(e,n,t){return(ha=Ht()?Reflect.construct:function(e,n,t){var r=[null];r.push.apply(r,n);var o=new(Function.bind.apply(e,r));return t&&jt(o,t.prototype),o}).apply(null,arguments)}function ga(e){var n="function"===typeof Map?new Map:void 0;return(ga=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 n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return ha(e,arguments,Mt(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),jt(t,e)})(e)}var va=function(e){Ft(t,e);var n=Yt(t);function t(e){var r;return u(this,t),(r=n.call(this,e)).name="DecodingError",r}return t}(ga(Error)),ya=function(e){Ft(t,e);var n=Yt(t);function t(e){var r;return u(this,t),(r=n.call(this,e)).name="EncodingError",r}return t}(ga(Error)),ba=function(e){Ft(t,e);var n=Yt(t);function t(e){var r;return u(this,t),(r=n.call(this,e)).name="GVLError",r}return t}(ga(Error)),_a=function(e){Ft(t,e);var n=Yt(t);function t(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return u(this,t),(o=n.call(this,"invalid value ".concat(r," passed for ").concat(e," ").concat(i))).name="TCModelError",o}return t}(ga(Error)),Ea=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e){if(!/^[0-1]+$/.test(e))throw new ya("Invalid bitField");var n=e.length%this.LCM;e+=n?"0".repeat(this.LCM-n):"";for(var t="",r=0;r<e.length;r+=this.BASIS)t+=this.DICT[parseInt(e.substr(r,this.BASIS),2)];return t}},{key:"decode",value:function(e){if(!/^[A-Za-z0-9\-_]+$/.test(e))throw new va("Invalidly encoded Base64URL string");for(var n="",t=0;t<e.length;t++){var r=this.REVERSE_DICT.get(e[t]).toString(2);n+="0".repeat(this.BASIS-r.length)+r}return n}}]),e}();f(Ea,"DICT","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),f(Ea,"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]])),f(Ea,"BASIS",6),f(Ea,"LCM",24);var Ca=function(){function e(){u(this,e)}return d(e,[{key:"has",value:function(n){return e.langSet.has(n)}},{key:"parseLanguage",value:function(n){var t=(n=n.toUpperCase()).split("-")[0];if(n.length>=2&&2==t.length){if(e.langSet.has(n))return n;if(e.langSet.has(t))return t;var r=t+"-"+t;if(e.langSet.has(r))return r;var o,i=l(e.langSet);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(-1!==a.indexOf(n)||-1!==a.indexOf(t))return a}}catch(s){i.e(s)}finally{i.f()}}throw new Error("unsupported language ".concat(n))}},{key:"forEach",value:function(n){e.langSet.forEach(n)}},{key:"size",get:function(){return e.langSet.size}}]),e}();f(Ca,"langSet",new Set(["AR","BG","BS","CA","CS","DA","DE","EL","EN","ES","ET","EU","FI","FR","GL","HR","HU","IT","JA","LT","LV","MT","NL","NO","PL","PT-BR","PT-PT","RO","RU","SK","SL","SR-LATN","SR-CYRL","SV","TR","ZH"]));var xa=function e(){u(this,e)};f(xa,"cmpId","cmpId"),f(xa,"cmpVersion","cmpVersion"),f(xa,"consentLanguage","consentLanguage"),f(xa,"consentScreen","consentScreen"),f(xa,"created","created"),f(xa,"supportOOB","supportOOB"),f(xa,"isServiceSpecific","isServiceSpecific"),f(xa,"lastUpdated","lastUpdated"),f(xa,"numCustomPurposes","numCustomPurposes"),f(xa,"policyVersion","policyVersion"),f(xa,"publisherCountryCode","publisherCountryCode"),f(xa,"publisherCustomConsents","publisherCustomConsents"),f(xa,"publisherCustomLegitimateInterests","publisherCustomLegitimateInterests"),f(xa,"publisherLegitimateInterests","publisherLegitimateInterests"),f(xa,"publisherConsents","publisherConsents"),f(xa,"publisherRestrictions","publisherRestrictions"),f(xa,"purposeConsents","purposeConsents"),f(xa,"purposeLegitimateInterests","purposeLegitimateInterests"),f(xa,"purposeOneTreatment","purposeOneTreatment"),f(xa,"specialFeatureOptins","specialFeatureOptins"),f(xa,"useNonStandardTexts","useNonStandardTexts"),f(xa,"vendorConsents","vendorConsents"),f(xa,"vendorLegitimateInterests","vendorLegitimateInterests"),f(xa,"vendorListVersion","vendorListVersion"),f(xa,"vendorsAllowed","vendorsAllowed"),f(xa,"vendorsDisclosed","vendorsDisclosed"),f(xa,"version","version");var ka,wa=function(){function e(){u(this,e)}return d(e,[{key:"clone",value:function(){var e=this,n=new this.constructor;return Object.keys(this).forEach((function(t){var r=e.deepClone(e[t]);void 0!==r&&(n[t]=r)})),n}},{key:"deepClone",value:function(e){var n=typeof e;if("number"===n||"string"===n||"boolean"===n)return e;if(null!==e&&"object"===n){if("function"===typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var t,r=[],o=l(e);try{for(o.s();!(t=o.n()).done;){var i=t.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"}(ka||(ka={}));var Sa=function(e){Ft(t,e);var n=Yt(t);function t(e,r){var o;return u(this,t),f(Vt(o=n.call(this)),"purposeId_",void 0),f(Vt(o),"restrictionType",void 0),void 0!==e&&(o.purposeId=e),void 0!==r&&(o.restrictionType=r),o}return d(t,[{key:"isValid",value:function(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===ka.NOT_ALLOWED||this.restrictionType===ka.REQUIRE_CONSENT||this.restrictionType===ka.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(t.hashSeparator).concat(this.restrictionType)}},{key:"purposeId",get:function(){return this.purposeId_},set:function(e){this.purposeId_=e}}],[{key:"unHash",value:function(e){var n=e.split(this.hashSeparator),r=new t;if(2!==n.length)throw new _a("hash",e);return r.purposeId=parseInt(n[0],10),r.restrictionType=parseInt(n[1],10),r}}]),t}(wa);f(Sa,"hashSeparator","-");var La,Pa,Ta,Aa=function(e){Ft(t,e);var n=Yt(t);function t(){var e;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return f(Vt(e=n.call.apply(n,[this].concat(o))),"bitLength",0),f(Vt(e),"map",new Map),f(Vt(e),"gvl_",void 0),e}return d(t,[{key:"has",value:function(e){return this.map.has(e)}},{key:"isOkToHave",value:function(e,n,t){var r,o=!0;if(null===(r=this.gvl)||void 0===r?void 0:r.vendors){var i=this.gvl.vendors[t];if(i)if(e===ka.NOT_ALLOWED)o=i.legIntPurposes.includes(n)||i.purposes.includes(n);else if(i.flexiblePurposes.length)switch(e){case ka.REQUIRE_CONSENT:o=i.flexiblePurposes.includes(n)&&i.legIntPurposes.includes(n);break;case ka.REQUIRE_LI:o=i.flexiblePurposes.includes(n)&&i.purposes.includes(n)}else o=!1;else o=!1}return o}},{key:"add",value:function(e,n){if(this.isOkToHave(n.restrictionType,n.purposeId,e)){var t=n.hash;this.has(t)||(this.map.set(t,new Set),this.bitLength=0),this.map.get(t).add(e)}}},{key:"restrictPurposeToLegalBasis",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Array.from(this.gvl.vendorIds),t=e.hash;if(this.has(t)){var r,o=this.map.get(t),i=l(n);try{for(i.s();!(r=i.n()).done;){var a=r.value;o.add(a)}}catch(s){i.e(s)}finally{i.f()}}else this.map.set(t,new Set(n)),this.bitLength=0}},{key:"getVendors",value:function(e){var n=[];if(e){var t=e.hash;this.has(t)&&(n=Array.from(this.map.get(t)))}else{var r=new Set;this.map.forEach((function(e){Array.from(e).forEach((function(e){r.add(e)}))})),n=Array.from(r)}return n.sort((function(e,n){return e-n}))}},{key:"getRestrictionType",value:function(e,n){var t;return this.getRestrictions(e).forEach((function(e){e.purposeId===n&&(void 0===t||t>e.restrictionType)&&(t=e.restrictionType)})),t}},{key:"vendorHasRestriction",value:function(e,n){for(var t=!1,r=this.getRestrictions(e),o=0;o<r.length&&!t;o++)t=n.isSameAs(r[o]);return t}},{key:"getMaxVendorId",value:function(){var e=0;return this.map.forEach((function(n){var t=Array.from(n);e=Math.max(t[t.length-1],e)})),e}},{key:"getRestrictions",value:function(e){var n=[];return this.map.forEach((function(t,r){e?t.has(e)&&n.push(Sa.unHash(r)):n.push(Sa.unHash(r))})),n}},{key:"getPurposes",value:function(){var e=new Set;return this.map.forEach((function(n,t){e.add(Sa.unHash(t).purposeId)})),Array.from(e)}},{key:"remove",value:function(e,n){var t=n.hash,r=this.map.get(t);r&&(r.delete(e),0==r.size&&(this.map.delete(t),this.bitLength=0))}},{key:"isEmpty",value:function(){return 0===this.map.size}},{key:"gvl",set:function(e){var n=this;this.gvl_||(this.gvl_=e,this.map.forEach((function(e,t){var r=Sa.unHash(t);Array.from(e).forEach((function(t){n.isOkToHave(r.restrictionType,r.purposeId,t)||e.delete(t)}))})))},get:function(){return this.gvl_}},{key:"numRestrictions",get:function(){return this.map.size}}]),t}(wa);!function(e){e.COOKIE="cookie",e.WEB="web",e.APP="app"}(La||(La={})),function(e){e.CORE="core",e.VENDORS_DISCLOSED="vendorsDisclosed",e.VENDORS_ALLOWED="vendorsAllowed",e.PUBLISHER_TC="publisherTC"}(Pa||(Pa={}));var Ia,Oa=function e(){u(this,e)};f(Oa,"ID_TO_KEY",[Pa.CORE,Pa.VENDORS_DISCLOSED,Pa.VENDORS_ALLOWED,Pa.PUBLISHER_TC]),f(Oa,"KEY_TO_ID",(f(Ta={},Pa.CORE,0),f(Ta,Pa.VENDORS_DISCLOSED,1),f(Ta,Pa.VENDORS_ALLOWED,2),f(Ta,Pa.PUBLISHER_TC,3),Ta)),Ia=Symbol.iterator;var qa,Na,Ra,Da,Ua,Ba,Ga,Va,ja,Fa,Ma,Ha,za,$a,Ya,Wa,Ja,Ka=function(e){Ft(t,e);var n=Yt(t);function t(){var e;u(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return f(Vt(e=n.call.apply(n,[this].concat(o))),"bitLength",0),f(Vt(e),"maxId_",0),f(Vt(e),"set_",new Set),e}return d(t,[{key:Ia,value:xn.a.mark((function e(){var n;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=1;case 1:if(!(n<=this.maxId)){e.next=7;break}return e.next=4,[n,this.has(n)];case 4:n++,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 n=this;Array.isArray(e)?e.forEach((function(e){return n.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){n.maxId_=Math.max(n.maxId,e)}))))}},{key:"isIntMap",value:function(e){var n=this,t="object"===typeof e;return t=t&&Object.keys(e).every((function(t){var r=Number.isInteger(parseInt(t,10));return r=(r=r&&n.isValidNumber(e[t].id))&&void 0!==e[t].name}))}},{key:"isValidNumber",value:function(e){return parseInt(e,10)>0}},{key:"isSet",value:function(e){var n=!1;return e instanceof Set&&(n=Array.from(e).every(this.isValidNumber)),n}},{key:"set",value:function(e){var n=this;if(Array.isArray(e))e.forEach((function(e){return n.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 _a("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}},{key:"forEach",value:function(e){for(var n=1;n<=this.maxId;n++)e(this.has(n),n)}},{key:"setAll",value:function(e){this.set(e)}},{key:"maxId",get:function(){return this.maxId_}},{key:"size",get:function(){return this.set_.size}}]),t}(wa);qa=xa.cmpVersion,Na=xa.consentLanguage,Ra=xa.consentScreen,Da=xa.created,Ua=xa.isServiceSpecific,Ba=xa.lastUpdated,Ga=xa.policyVersion,Va=xa.publisherCountryCode,ja=xa.publisherLegitimateInterests,Fa=xa.publisherConsents,Ma=xa.purposeConsents,Ha=xa.purposeLegitimateInterests,za=xa.purposeOneTreatment,$a=xa.specialFeatureOptins,Ya=xa.useNonStandardTexts,Wa=xa.vendorListVersion,Ja=xa.version;var Xa=function e(){u(this,e)};f(Xa,xa.cmpId,12),f(Xa,qa,12),f(Xa,Na,12),f(Xa,Ra,6),f(Xa,Da,36),f(Xa,Ua,1),f(Xa,Ba,36),f(Xa,Ga,6),f(Xa,Va,12),f(Xa,ja,24),f(Xa,Fa,24),f(Xa,Ma,24),f(Xa,Ha,24),f(Xa,za,1),f(Xa,$a,12),f(Xa,Ya,1),f(Xa,Wa,12),f(Xa,Ja,6),f(Xa,"anyBoolean",1),f(Xa,"encodingType",1),f(Xa,"maxId",16),f(Xa,"numCustomPurposes",6),f(Xa,"numEntries",12),f(Xa,"numRestrictions",12),f(Xa,"purposeId",6),f(Xa,"restrictionType",2),f(Xa,"segmentType",3),f(Xa,"singleOrRange",1),f(Xa,"vendorId",16);var Qa,Za=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e){return String(Number(e))}},{key:"decode",value:function(e){return"1"===e}}]),e}(),es=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e,n){var t;if("string"===typeof e&&(e=parseInt(e,10)),(t=e.toString(2)).length>n||e<0)throw new ya("".concat(e," too large to encode into ").concat(n));return t.length<n&&(t="0".repeat(n-t.length)+t),t}},{key:"decode",value:function(e,n){if(n!==e.length)throw new va("invalid bit length");return parseInt(e,2)}}]),e}(),ns=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e,n){return es.encode(Math.round(e.getTime()/100),n)}},{key:"decode",value:function(e,n){if(n!==e.length)throw new va("invalid bit length");var t=new Date;return t.setTime(100*es.decode(e,n)),t}}]),e}(),ts=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e,n){for(var t="",r=1;r<=n;r++)t+=Za.encode(e.has(r));return t}},{key:"decode",value:function(e,n){if(e.length!==n)throw new va("bitfield encoding length mismatch");for(var t=new Ka,r=1;r<=n;r++)Za.decode(e[r-1])&&t.set(r);return t.bitLength=e.length,t}}]),e}(),rs=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e,n){var t=(e=e.toUpperCase()).charCodeAt(0)-65,r=e.charCodeAt(1)-65;if(t<0||t>25||r<0||r>25)throw new ya("invalid language code: ".concat(e));if(n%2===1)throw new ya("numBits must be even, ".concat(n," is not valid"));return n/=2,es.encode(t,n)+es.encode(r,n)}},{key:"decode",value:function(e,n){if(n!==e.length||e.length%2)throw new va("invalid bit length for language");var t=e.length/2,r=es.decode(e.slice(0,t),t)+65,o=es.decode(e.slice(t),t)+65;return String.fromCharCode(r)+String.fromCharCode(o)}}]),e}(),os=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e){var n=es.encode(e.numRestrictions,Xa.numRestrictions);if(!e.isEmpty()){var t=Array.from(e.gvl.vendorIds),r=function(e,n){var r=t.indexOf(e);return t.indexOf(n)-r>1};e.getRestrictions().forEach((function(t){n+=es.encode(t.purposeId,Xa.purposeId),n+=es.encode(t.restrictionType,Xa.restrictionType);for(var o=e.getVendors(t),i=o.length,a=0,s=0,c="",l=0;l<i;l++){var u=o[l];if(0===s&&(a++,s=u),l===i-1||r(u,o[l+1])){var p=!(u===s);c+=Za.encode(p),c+=es.encode(s,Xa.vendorId),p&&(c+=es.encode(u,Xa.vendorId)),s=0}}n+=es.encode(a,Xa.numEntries),n+=c}))}return n}},{key:"decode",value:function(e){var n=0,t=new Aa,r=es.decode(e.substr(n,Xa.numRestrictions),Xa.numRestrictions);n+=Xa.numRestrictions;for(var o=0;o<r;o++){var i=es.decode(e.substr(n,Xa.purposeId),Xa.purposeId);n+=Xa.purposeId;var a=es.decode(e.substr(n,Xa.restrictionType),Xa.restrictionType);n+=Xa.restrictionType;var s=new Sa(i,a),c=es.decode(e.substr(n,Xa.numEntries),Xa.numEntries);n+=Xa.numEntries;for(var l=function(r){var o=Za.decode(e.substr(n,Xa.anyBoolean));n+=Xa.anyBoolean;var i=es.decode(e.substr(n,Xa.vendorId),Xa.vendorId);if(n+=Xa.vendorId,o){var a=es.decode(e.substr(n,Xa.vendorId),Xa.vendorId);if(n+=Xa.vendorId,a<i)throw new va("Invalid RangeEntry: endVendorId ".concat(a," is less than ").concat(i));var c=Array.from({length:a-i+1},(function(e,n){return i+n}));t.restrictPurposeToLegalBasis(s,c)}else t.restrictPurposeToLegalBasis(s,[i])},u=0;u<c;u++)l()}return t.bitLength=n,t}}]),e}();!function(e){e[e.FIELD=0]="FIELD",e[e.RANGE=1]="RANGE"}(Qa||(Qa={}));var is=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e){var n,t=[],r=[],o=es.encode(e.maxId,Xa.maxId),i="",a=Xa.maxId+Xa.encodingType,s=a+e.maxId,c=2*Xa.vendorId+Xa.singleOrRange+Xa.numEntries,l=a+Xa.numEntries;return e.forEach((function(o,a){(i+=Za.encode(o),(n=e.maxId>c&&l<s)&&o)&&(e.has(a+1)?0===r.length&&(r.push(a),l+=Xa.singleOrRange,l+=Xa.vendorId):(r.push(a),l+=Xa.vendorId,t.push(r),r=[]))})),n?(o+=String(Qa.RANGE),o+=this.buildRangeEncoding(t)):(o+=String(Qa.FIELD),o+=i),o}},{key:"decode",value:function(e,n){var t,r=0,o=es.decode(e.substr(r,Xa.maxId),Xa.maxId);r+=Xa.maxId;var i=es.decode(e.charAt(r),Xa.encodingType);if(r+=Xa.encodingType,i===Qa.RANGE){if(t=new Ka,1===n){if("1"===e.substr(r,1))throw new va("Unable to decode default consent=1");r++}var a=es.decode(e.substr(r,Xa.numEntries),Xa.numEntries);r+=Xa.numEntries;for(var s=0;s<a;s++){var c=Za.decode(e.charAt(r));r+=Xa.singleOrRange;var l=es.decode(e.substr(r,Xa.vendorId),Xa.vendorId);if(r+=Xa.vendorId,c){var u=es.decode(e.substr(r,Xa.vendorId),Xa.vendorId);r+=Xa.vendorId;for(var p=l;p<=u;p++)t.set(p)}else t.set(l)}}else{var d=e.substr(r,o);r+=o,t=ts.decode(d,o)}return t.bitLength=r,t}},{key:"buildRangeEncoding",value:function(e){var n=e.length,t=es.encode(n,Xa.numEntries);return e.forEach((function(e){var n=1===e.length;t+=Za.encode(!n),t+=es.encode(e[0],Xa.vendorId),n||(t+=es.encode(e[1],Xa.vendorId))})),t}}]),e}();function as(){var e;return f(e={},xa.version,es),f(e,xa.created,ns),f(e,xa.lastUpdated,ns),f(e,xa.cmpId,es),f(e,xa.cmpVersion,es),f(e,xa.consentScreen,es),f(e,xa.consentLanguage,rs),f(e,xa.vendorListVersion,es),f(e,xa.policyVersion,es),f(e,xa.isServiceSpecific,Za),f(e,xa.useNonStandardTexts,Za),f(e,xa.specialFeatureOptins,ts),f(e,xa.purposeConsents,ts),f(e,xa.purposeLegitimateInterests,ts),f(e,xa.purposeOneTreatment,Za),f(e,xa.publisherCountryCode,rs),f(e,xa.vendorConsents,is),f(e,xa.vendorLegitimateInterests,is),f(e,xa.publisherRestrictions,os),f(e,"segmentType",es),f(e,xa.vendorsDisclosed,is),f(e,xa.vendorsAllowed,is),f(e,xa.publisherConsents,ts),f(e,xa.publisherLegitimateInterests,ts),f(e,xa.numCustomPurposes,es),f(e,xa.publisherCustomConsents,ts),f(e,xa.publisherCustomLegitimateInterests,ts),e}var ss=function(){function e(){u(this,e)}return d(e,null,[{key:"encode",value:function(e,n){var t,r=this;try{t=this.fieldSequence[String(e.version)][n]}catch(a){throw new ya("Unable to encode version: ".concat(e.version,", segment: ").concat(n))}var o="";n!==Pa.CORE&&(o=es.encode(Oa.KEY_TO_ID[n],Xa.segmentType));var i=as();return t.forEach((function(t){var s=e[t],c=i[t],l=Xa[t];void 0===l&&r.isPublisherCustom(t)&&(l=Number(e[xa.numCustomPurposes]));try{o+=c.encode(s,l)}catch(a){throw new ya("Error encoding ".concat(n,"->").concat(t,": ").concat(a.message))}})),Ea.encode(o)}},{key:"decode",value:function(e,n,t){var r=this,o=Ea.decode(e),i=0;t===Pa.CORE&&(n.version=es.decode(o.substr(i,Xa[xa.version]),Xa[xa.version])),t!==Pa.CORE&&(i+=Xa.segmentType);var a=this.fieldSequence[String(n.version)][t],s=as();return a.forEach((function(e){var t=s[e],a=Xa[e];if(void 0===a&&r.isPublisherCustom(e)&&(a=Number(n[xa.numCustomPurposes])),0!==a){var c=o.substr(i,a);if(n[e]=t===is?t.decode(c,n.version):t.decode(c,a),Number.isInteger(a))i+=a;else{if(!Number.isInteger(n[e].bitLength))throw new va(e);i+=n[e].bitLength}}})),n}},{key:"isPublisherCustom",value:function(e){return 0===e.indexOf("publisherCustom")}}]),e}();f(ss,"fieldSequence",new function e(){var n;u(this,e),f(this,"1",f({},Pa.CORE,[xa.version,xa.created,xa.lastUpdated,xa.cmpId,xa.cmpVersion,xa.consentScreen,xa.consentLanguage,xa.vendorListVersion,xa.purposeConsents,xa.vendorConsents])),f(this,"2",(f(n={},Pa.CORE,[xa.version,xa.created,xa.lastUpdated,xa.cmpId,xa.cmpVersion,xa.consentScreen,xa.consentLanguage,xa.vendorListVersion,xa.policyVersion,xa.isServiceSpecific,xa.useNonStandardTexts,xa.specialFeatureOptins,xa.purposeConsents,xa.purposeLegitimateInterests,xa.purposeOneTreatment,xa.publisherCountryCode,xa.vendorConsents,xa.vendorLegitimateInterests,xa.publisherRestrictions]),f(n,Pa.PUBLISHER_TC,[xa.publisherConsents,xa.publisherLegitimateInterests,xa.numCustomPurposes,xa.publisherCustomConsents,xa.publisherCustomLegitimateInterests]),f(n,Pa.VENDORS_ALLOWED,[xa.vendorsAllowed]),f(n,Pa.VENDORS_DISCLOSED,[xa.vendorsDisclosed]),n))});var cs=function(){function e(){u(this,e)}return d(e,null,[{key:"process",value:function(e,n){var t=e.gvl;if(!t)throw new ya("Unable to encode TCModel without a GVL");if(!t.isReady)throw new ya("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=t.language.slice(0,2).toUpperCase(),(null===n||void 0===n?void 0:n.version)>0&&(null===n||void 0===n?void 0:n.version)<=this.processor.length?e.version=n.version:e.version=this.processor.length;var r=e.version-1;if(!this.processor[r])throw new ya("Invalid version: ".concat(e.version));return this.processor[r](e,t)}}]),e}();f(cs,"processor",[function(e){return e},function(e,n){e.publisherRestrictions.gvl=n,e.purposeLegitimateInterests.unset([1,3,4,5,6]);var t=new Map;return t.set("legIntPurposes",e.vendorLegitimateInterests),t.set("purposes",e.vendorConsents),t.forEach((function(t,r){t.forEach((function(o,i){if(o){var a=n.vendors[i];if(!a||a.deletedDate)t.unset(i);else if(0===a[r].length)if("legIntPurposes"===r&&0===a.purposes.length&&0===a.legIntPurposes.length&&a.specialPurposes.length>0);else if(e.isServiceSpecific)if(0===a.flexiblePurposes.length)t.unset(i);else{for(var s=e.publisherRestrictions.getRestrictions(i),c=!1,l=0,u=s.length;l<u&&!c;l++)c=s[l].restrictionType===ka.REQUIRE_CONSENT&&"purposes"===r||s[l].restrictionType===ka.REQUIRE_LI&&"legIntPurposes"===r;c||t.unset(i)}else t.unset(i)}}))})),e.vendorsDisclosed.set(n.vendors),e}]);var ls=function(){function e(){u(this,e)}return d(e,null,[{key:"absCall",value:function(e,n,t,r){return new Promise((function(o,i){var a=new XMLHttpRequest;a.withCredentials=t,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(n){}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===n?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(n)}))}},{key:"post",value:function(e,n){var t=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(n),t,r)}},{key:"fetch",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return this.absCall(e,null,n,t)}}]),e}(),us=function(e){Ft(t,e);var n=Yt(t);function t(e){var r;u(this,t),f(Vt(r=n.call(this)),"readyPromise",void 0),f(Vt(r),"gvlSpecificationVersion",void 0),f(Vt(r),"vendorListVersion",void 0),f(Vt(r),"tcfPolicyVersion",void 0),f(Vt(r),"lastUpdated",void 0),f(Vt(r),"purposes",void 0),f(Vt(r),"specialPurposes",void 0),f(Vt(r),"features",void 0),f(Vt(r),"specialFeatures",void 0),f(Vt(r),"isReady_",!1),f(Vt(r),"vendors_",void 0),f(Vt(r),"vendorIds",void 0),f(Vt(r),"fullVendorList",void 0),f(Vt(r),"byPurposeVendorMap",void 0),f(Vt(r),"bySpecialPurposeVendorMap",void 0),f(Vt(r),"byFeatureVendorMap",void 0),f(Vt(r),"bySpecialFeatureVendorMap",void 0),f(Vt(r),"stacks",void 0),f(Vt(r),"dataCategories",void 0),f(Vt(r),"lang_",void 0),f(Vt(r),"cacheLang_",void 0),f(Vt(r),"isLatest",!1);var o=t.baseUrl;if(r.lang_=t.DEFAULT_LANGUAGE,r.cacheLang_=t.DEFAULT_LANGUAGE,r.isVendorList(e))r.populate(e),r.readyPromise=Promise.resolve();else{if(!o)throw new ba("must specify GVL.baseUrl before loading GVL json");if(e>0){var i=e;t.CACHE.has(i)?(r.populate(t.CACHE.get(i)),r.readyPromise=Promise.resolve()):(o+=t.versionedFilename.replace("[VERSION]",String(i)),r.readyPromise=r.fetchJson(o))}else t.CACHE.has(t.LATEST_CACHE_KEY)?(r.populate(t.CACHE.get(t.LATEST_CACHE_KEY)),r.readyPromise=Promise.resolve()):(r.isLatest=!0,r.readyPromise=r.fetchJson(o+t.latestFilename))}return r}return d(t,null,[{key:"baseUrl",set:function(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new ba("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_}}]),d(t,[{key:"cacheLanguage",value:function(){t.LANGUAGE_CACHE.has(this.cacheLang_)||t.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=wn(xn.a.mark((function e(n){return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.t0=this,e.next=4,ls.fetch(n);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 ba(e.t2.message);case 11:case"end":return e.stop()}}),e,this,[[0,8]])})));return function(n){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:"changeLanguage",value:function(){var e=wn(xn.a.mark((function e(n){var r,o,i,a,s;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=n,e.prev=1,r=t.consentLanguages.parseLanguage(n),e.next=8;break;case 5:throw e.prev=5,e.t0=e.catch(1),new ba("Error during parsing the language: "+e.t0.message);case 8:if(o=n.toUpperCase(),r.toLowerCase()!==t.DEFAULT_LANGUAGE.toLowerCase()||t.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,!t.LANGUAGE_CACHE.has(o)){e.next=18;break}for(a in i=t.LANGUAGE_CACHE.get(o))i.hasOwnProperty(a)&&(this[a]=i[a]);e.next=29;break;case 18:return s=t.baseUrl+t.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 ba("unable to load language: "+e.t1.message);case 29:case"end":return e.stop()}}),e,this,[[1,5],[19,26]])})));return function(n){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&&t.CACHE.set(t.LATEST_CACHE_KEY,this.getJson()),t.CACHE.has(this.vendorListVersion)||t.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()}},{key:"mapVendors",value:function(e){var n=this;this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((function(e){n.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((function(e){n.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((function(e){n.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((function(e){n.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((function(e){return+e}))),this.vendorIds=new Set(e),this.vendors_=e.reduce((function(e,t){var r=n.vendors_[String(t)];return r&&void 0===r.deletedDate&&(r.purposes.forEach((function(e){n.byPurposeVendorMap[String(e)].consent.add(t)})),r.specialPurposes.forEach((function(e){n.bySpecialPurposeVendorMap[String(e)].add(t)})),r.legIntPurposes.forEach((function(e){n.byPurposeVendorMap[String(e)].legInt.add(t)})),r.flexiblePurposes&&r.flexiblePurposes.forEach((function(e){n.byPurposeVendorMap[String(e)].flexible.add(t)})),r.features.forEach((function(e){n.byFeatureVendorMap[String(e)].add(t)})),r.specialFeatures.forEach((function(e){n.bySpecialFeatureVendorMap[String(e)].add(t)})),e[t]=r),e}),{})}},{key:"getFilteredVendors",value:function(e,n,t,r){var o=this,i=e.charAt(0).toUpperCase()+e.slice(1),a={};return("purpose"===e&&t?this["by"+i+"VendorMap"][String(n)][t]:this["by"+(r?"Special":"")+i+"VendorMap"][String(n)]).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 t(this.getJson());return this.lang_!==t.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 n=!1;return null==e&&t.LANGUAGE_CACHE.size>0?(t.LANGUAGE_CACHE=new Map,n=!0):"string"===typeof e&&this.consentLanguages.has(e.toUpperCase())&&(t.LANGUAGE_CACHE.delete(e.toUpperCase()),n=!0),n}},{key:"emptyCache",value:function(e){var n=!1;return Number.isInteger(e)&&e>=0?(t.CACHE.delete(e),n=!0):void 0===e&&(t.CACHE=new Map,n=!0),n}},{key:"isInstanceOf",value:function(e){return"object"===typeof e&&"function"===typeof e.narrowVendorsTo}}]),t}(wa);f(us,"LANGUAGE_CACHE",new Map),f(us,"CACHE",new Map),f(us,"LATEST_CACHE_KEY",0),f(us,"DEFAULT_LANGUAGE","EN"),f(us,"consentLanguages",new Ca),f(us,"baseUrl_",void 0),f(us,"latestFilename","vendor-list.json"),f(us,"versionedFilename","archives/vendor-list-v[VERSION].json"),f(us,"languageFilename","purposes-[LANG].json");var ps=function(e){Ft(t,e);var n=Yt(t);function t(e){var r;return u(this,t),f(Vt(r=n.call(this)),"isServiceSpecific_",!1),f(Vt(r),"supportOOB_",!0),f(Vt(r),"useNonStandardTexts_",!1),f(Vt(r),"purposeOneTreatment_",!1),f(Vt(r),"publisherCountryCode_","AA"),f(Vt(r),"version_",2),f(Vt(r),"consentScreen_",0),f(Vt(r),"policyVersion_",4),f(Vt(r),"consentLanguage_","EN"),f(Vt(r),"cmpId_",0),f(Vt(r),"cmpVersion_",0),f(Vt(r),"vendorListVersion_",0),f(Vt(r),"numCustomPurposes_",0),f(Vt(r),"gvl_",void 0),f(Vt(r),"created",void 0),f(Vt(r),"lastUpdated",void 0),f(Vt(r),"specialFeatureOptins",new Ka),f(Vt(r),"purposeConsents",new Ka),f(Vt(r),"purposeLegitimateInterests",new Ka),f(Vt(r),"publisherConsents",new Ka),f(Vt(r),"publisherLegitimateInterests",new Ka),f(Vt(r),"publisherCustomConsents",new Ka),f(Vt(r),"publisherCustomLegitimateInterests",new Ka),f(Vt(r),"customPurposes",void 0),f(Vt(r),"vendorConsents",new Ka),f(Vt(r),"vendorLegitimateInterests",new Ka),f(Vt(r),"vendorsDisclosed",new Ka),f(Vt(r),"vendorsAllowed",new Ka),f(Vt(r),"publisherRestrictions",new Aa),e&&(r.gvl=e),r.updated(),r}return d(t,[{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,n=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=n,this.lastUpdated=n}},{key:"gvl",set:function(e){us.isInstanceOf(e)||(e=new us(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 _a("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 _a("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 _a("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 _a("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()},get:function(){return this.publisherCountryCode_}},{key:"vendorListVersion",set:function(e){if((e=Number(e)>>0)<0)throw new _a("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 _a("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 n=Object.keys(this.customPurposes).sort((function(e,n){return Number(e)-Number(n)}));e=parseInt(n.pop(),10)}return e},set:function(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new _a("numCustomPurposes",e)}}]),t}(wa);f(ps,"consentLanguages",us.consentLanguages);var ds,fs,ms,hs,gs,vs,ys,bs,_s,Es,Cs,xs=function(e,n,t,r){var o=e[r];return n.length&&n.forEach((function(n){!o.includes(n)&&e.flexiblePurposes.includes(n)&&("purposes"===r&&e.legIntPurposes.includes(n)||"legIntPurposes"===r&&e.purposes.includes(n))&&o.push(n)})),t.length&&(o=o.filter((function(n){return 0===e.flexiblePurposes.length||!(t.includes(n)&&e.flexiblePurposes.includes(n))}))),o},ks=function(){function e(n){u(this,e),f(this,"_config",void 0),f(this,"_data",{features:{},legitimatePurposes:{},legitimateVendors:{},purposes:{},specialPurposes:{},stacks:{},specialFeatures:{},unfilteredSpecialPurposes:{},unfilteredSpecialFeatures:{},unfilteredPurposes:{},unfilteredFeatures:{},vendors:{},iabVendors:{},dataCategories:{}}),this._config=n}return d(e,[{key:"updateData",value:function(e){if(e){var n,t=E.STACKS,r=E.SPECIAL_FEATURES,o=E.SPECIAL_PURPOSES,i=E.FEATURES,a=e.stacks,s=e.features,c=e.purposes,l=e.vendors,u=e.specialPurposes,p=e.specialFeatures,d=$r(this._config),m=d.specialFeaturesIds,h=d.specialPurposesIds,g=d.featuresIds,v=this._config.coreConfig,y=v.stacks,b=v.publisherPurposeIds,_=v.publisherPurposeLegitimateInterestIds,C=v.publisherFeaturesIds,x=v.publisherSpecialFeaturesIds,k=v.publisherSpecialPurposesIds,w=v.consentScope,S=this._config.coreConfig.publisherName||this._config.coreConfig.cookieDomain||"",L={id:S,name:S,specialPurposes:k,features:C,flexiblePurposes:[],legIntPurposes:_,specialFeatures:x,purposes:b},P=l;(L.purposes||L.legIntPurposes)&&(["service","service group"].includes(w||"")?P=U(f({},S,L),l):console.warn("You can't use publisher legal basis on ".concat(w," consent scope.")));var T=this.filterVendors(P),A=T.vendors,I=T.legitimateVendors,O=this.filterStacksAndSpecial(y||[],t,a).stacks,q=this.filterPurposes(c),N=q.purposes,R=q.legitimatePurposes,D=this.filterStacksAndSpecial(g,i,s).features,B=this.filterStacksAndSpecial(m,r,p).specialFeatures,G=this.filterStacksAndSpecial(h,o,u).specialPurposes;this._data={stacks:O,vendors:A,features:D,purposes:N,specialFeatures:B,specialPurposes:G,legitimateVendors:I,legitimatePurposes:R,unfilteredFeatures:s,unfilteredPurposes:c,unfilteredSpecialFeatures:p,unfilteredSpecialPurposes:u,iabVendors:l,dataCategories:null!==(n=e.dataCategories)&&void 0!==n?n:{}}}}},{key:"filterVendors",value:function(e){var n=$r(this._config),t=n.purposeIds,r=n.purposeLegitimateInterestIds,o=E.VENDORS,i=E.LEGITIMATE_VENDORS,a={},s=this._config.coreConfig.publisherConsentRestrictionIds||[],c=this._config.coreConfig.publisherLIRestrictionIds||[];a[o]={},a[i]={};var l=function(n){var l=e[n],u=l.legIntPurposes,p=l.purposes,d=l.flexiblePurposes,f=l.specialPurposes,m=l.id,h=!p.length&&!u.length&&f.length>0;d.forEach((function(e){var n=new Sa;n.purposeId=e,s.includes(e)&&u.includes(e)&&(n.restrictionType=ka.REQUIRE_CONSENT),c.includes(e)&&p.includes(e)&&(n.restrictionType=ka.REQUIRE_LI),void 0!==n.restrictionType&&window.__tcfapi("setPublisherRestriction",2,(function(){return eo("Setting publisher restriction ".concat(n.restrictionType," - Vendor: ").concat(m," Purpose: ").concat(e))}),{id:m,purposeRestriction:n})}));var g=xs(l,s,c,"purposes"),v=xs(l,c,s,"legIntPurposes");(g.length>0&&(g.some((function(e){return t.includes(e)}))||g.some((function(e){return r.includes(e)})))||h)&&(a[o][n]=U(U({},l),{},{purposes:g,isSpecialPurposesOnly:h})),v.length>0&&(v.some((function(e){return t.includes(e)}))||v.some((function(e){return r.includes(e)})))&&(a[i][n]=U(U({},l),{},{legIntPurposes:v}))};for(var u in e)l(u);return eo("Regular vendors loaded: ".concat(Object.keys(a[o]).length)),eo("Legitimate vendors loaded: ".concat(Object.keys(a[i]).length)),a[o]=JSON.parse(JSON.stringify(a[o])),a[i]=JSON.parse(JSON.stringify(a[i])),a}},{key:"filterPurposes",value:function(e){var n=E.PURPOSES,t=E.LEGITIMATE_PURPOSES,r={};if(r[n]={},r[t]={},e){var o=$r(this._config),i=o.purposeIds,a=o.purposeLegitimateInterestIds;i.forEach((function(t){r[n][t]=U({},e[t])})),a.forEach((function(n){1!==n&&(r[t][n]=U({},e[n]))}))}return r}},{key:"filterStacksAndSpecial",value:function(e,n,t){var r={};return r[n]={},t&&e.length&&e.forEach((function(e){r[n][e]=t[e]})),r}},{key:"updateStatus",value:function(e,n,t){this._data[n][e].status=t}},{key:"data",get:function(){return this._data},set:function(e){this._data=e}},{key:"config",get:function(){return this._config}}]),e}(),ws=function(){function e(){var n=this;u(this,e),f(this,"_cmpInfo",void 0),f(this,"_nonIabConsents",void 0),f(this,"_vendorConsents",void 0),f(this,"_vendorLegitimateInterest",void 0),f(this,"_purposesConsents",void 0),f(this,"_legitimatePurposesConsents",void 0),f(this,"_stacksConsents",void 0),f(this,"_specialPurposesConsents",void 0),f(this,"_specialFeaturesConsents",void 0),f(this,"_googleConsents",void 0),f(this,"_repromptData",void 0),f(this,"_gbcConsents",void 0),f(this,"sessionId",void 0),f(this,"gbcSessionId",void 0),f(this,"allConsents",void 0),f(this,"consentPage",void 0),f(this,"displayType",void 0),f(this,"gbcDisplayType",void 0),f(this,"_nonIabVendorsInitialized",!1),f(this,"_googleVendorsInitialized",!1),f(this,"_GVLVendorsDataInitialized",!1),f(this,"_googleData",void 0),f(this,"stacks",{}),f(this,"getGVLVersion",(function(){return n._cmpInfo.config.coreConfig.gvlVersion})),this._nonIabConsents={},this._vendorConsents={},this._purposesConsents={},this._cmpInfo=new ks(hs),this._legitimatePurposesConsents={},this._stacksConsents={},this._specialPurposesConsents={},this._vendorLegitimateInterest={},this._specialFeaturesConsents={},this._googleConsents={},this._gbcConsents=[],this.consentGroupHandler=this.consentGroupHandler.bind(this),this.handleSetConsentInfoCallback=this.handleSetConsentInfoCallback.bind(this),this.setAllConsentsToByPage=this.setAllConsentsToByPage.bind(this),this.allConsents=!0,this.sessionId="",this.gbcSessionId="",this.displayType=m.CHANGE_OF_CONSENT,this.gbcDisplayType=m.GBC_CHANGE_OF_CONSENT;var t=this._cmpInfo.data.legitimatePurposes;for(var r in t)this._legitimatePurposesConsents[r]=!0}return d(e,[{key:"getCoreConfig",value:function(){return hs.coreConfig}},{key:"getPremiumUiLabels",value:function(){return hs.premiumUiLabels}},{key:"getCoreUiLabels",value:function(){return hs.coreUiLabels}},{key:"getDisplayType",value:function(e){return"GBC"===e?this.gbcDisplayType:this.displayType}},{key:"getNonIabData",value:function(){var e=v.NON_IAB,n=!1;return n="object"===typeof hs.nonIabVendorsInfo?Object.keys(hs.nonIabVendorsInfo).length>0:!!hs.premiumProperties.nonIabVendorListUrl,this.populateConsents(!this._nonIabVendorsInitialized,e,ys,vs),this._nonIabVendorsInitialized||(this._nonIabVendorsInitialized=!0),{isEnabled:n,vendors:ys}}},{key:"getGoogleVendors",value:function(){var e=this,n=v.GOOGLE;return bs?bs.then((function(t){return e._googleData=t,e.populateConsents(!e._googleVendorsInitialized,n,e._googleData,vs),!e._googleVendorsInitialized&&e._googleData&&e._googleData.length&&(e._googleVendorsInitialized=!0),{isEnabled:hs.coreConfig.googleEnabled,data:e._googleData}})):Promise.resolve({isEnabled:!1,data:void 0})}},{key:"getIabAndGoogleVendorsCount",value:function(){var e=wn(xn.a.mark((function e(){var n,t,r,o;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([gs.then((function(e){return e.vendorIds})),bs?bs.then((function(e){return e})):[]]);case 2:return n=e.sent,t=R(n,2),r=t[0],o=t[1],e.abrupt("return",r.size+o.length);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()},{key:"getGVLVendorsData",value:function(){var e=this,n=v.VENDORS,t=v.LEGITIMATE_VENDORS,r=v.LEGITIMATE_PURPOSES,o=v.PURPOSES,i=v.SPECIAL_FEATURES,a=v.STACKS;return gs.then((function(s){e._cmpInfo.updateData(s),e.stacks=s.stacks;var c=!e._GVLVendorsDataInitialized;return e.populateConsents(c,n,e._cmpInfo.data.vendors,vs),e.populateConsents(c,o,e._cmpInfo.data.purposes,vs),e.populateConsents(c,i,e._cmpInfo.data.specialFeatures,vs),e.populateConsents(c,t,e._cmpInfo.data.legitimateVendors,vs),e.populateConsents(c,r,e._cmpInfo.data.legitimatePurposes,vs),e.populateConsents(!0,a,e._cmpInfo.data.stacks,vs),e.populateStacksLabels(e._cmpInfo.data.stacks),e._GVLVendorsDataInitialized=!0,e._cmpInfo.data}))}},{key:"populateStacksLabels",value:function(e){var n=this,t=hs.coreUiLabels,r=t.onLabel,o=t.offLabel,i=t.multiLabel;for(var a in e){var s=e[a],c=s.purposes.reduce((function(e,t){return e||n._purposesConsents[t]}),!1),l=!!s.specialFeatures&&s.specialFeatures.reduce((function(e,t){return e||n._specialFeaturesConsents[t]}),!1),u=void 0;u=this._stacksConsents[a]?r:c||l?i:o,s.stateLabel=u}}},{key:"setAllConsentsTo",value:function(e){var n,t=this.getConsentsToIterate(),r=t.objectsToIterate,o=t.GVLObjectsToIterate,i=l(r);try{for(i.s();!(n=i.n()).done;){var a=n.value;for(var s in a)a[s]=e}}catch(c){i.e(c)}finally{i.f()}o.forEach((function(n){for(var t in n)n[t].status=e})),Object.keys(this._cmpInfo.data.stacks).length&&(this.updateStacksConsent(),this.populateStacksLabels(this._cmpInfo.data.stacks))}},{key:"setAllConsentsToByPage",value:function(e,n){var t,r,o,i=h.ACCEPT_ALL_PURPOSES,a=h.REJECT_ALL_PURPOSES,s=h.ACCEPT_ALL_VENDORS,c=h.REJECT_ALL_VENDORS,l=h.ACCEPT_ALL_LEGITIMATE,u=h.OBJECT_ALL_LEGITIMATE,p=this.getConsentsToIterate(n),d=p.objectsToIterate,f=p.GVLObjectsToIterate;switch(n){case g.PURPOSES_PAGE:t=i,r=a,o="allPurposes-".concat(e);break;case g.VENDORS_PAGE:t=s,r=c,o="allVendors-".concat(e);break;case g.LEGITIMATE_PAGE:t=l,r=u,o="allLegitimates-".concat(e)}this.eventTracker(e?t:r,"click"),d.forEach((function(n){for(var t in n)n[t]=e})),f.forEach((function(n){for(var t in n)n[t].hasOwnProperty("status")&&(n[t].status=e)})),As&&As({type:"TOGGLE_CHANGE",payload:o})}},{key:"consentGroupHandler",value:function(){var e=wn(xn.a.mark((function e(n,t){var r,o,i,a;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(a in this.allConsents=t,this.consentPage=n,void 0!==t&&this.setAllConsentsTo(t),o={vendorConsents:this.vendorConsents,purposesConsents:this.purposesConsents,specialFeatures:this.specialFeaturesConsents,vendorLegitimateInterest:this.vendorLegitimateInterest,legitimatePurposesConsents:this.legitimatePurposesConsents,nonIabConsents:this.nonIabConsents,googleConsents:this._googleConsents,consentScreen:this.consentPage,allConsents:this.allConsents,gbcConsent:JSON.stringify(this._gbcConsents)},i=this._cmpInfo.data.vendors)i[a].isSpecialPurposesOnly&&(delete o.vendorConsents[a],o.vendorLegitimateInterest[a]=!0);(null===hs||void 0===hs||null===(r=hs.coreConfig)||void 0===r?void 0:r.isAMP)||this.setGBCDataInDataLayerAndLS(),window.__tcfapi("setConsentInfo",2,this.handleSetConsentInfoCallback,o),this.toggleDisplayUi();case 9:case"end":return e.stop()}}),e,this)})));return function(n,t){return e.apply(this,arguments)}}()},{key:"toggleDisplayUi",value:function(e){As&&As({type:"TOGGLE_DISPLAY",payload:e||{regulation:"GDPR"}})}},{key:"notifyUiClosed",value:function(e){window.__tcfapi("notifyUiState",2,(function(){}),{regulation:e,visible:!1})}},{key:"getConsentsToIterate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g.INIT_PAGE,n=[],t=[];return e===g.LEGITIMATE_PAGE?(n.push.apply(n,[this._legitimatePurposesConsents,this._vendorLegitimateInterest]),t.push.apply(t,[this._cmpInfo.data.legitimateVendors,this._cmpInfo.data.legitimatePurposes])):(n.push.apply(n,[this._purposesConsents,this._stacksConsents,this._specialFeaturesConsents,this._vendorConsents,this._nonIabConsents,this._googleConsents]),t.push.apply(t,[this._cmpInfo.data.purposes,this._cmpInfo.data.specialFeatures,this._cmpInfo.data.vendors]),this._nonIabVendorsInitialized&&ys&&ys.length&&t.push(ys),this._googleVendorsInitialized&&this._googleData&&this._googleData.length&&t.push(this._googleData)),{objectsToIterate:n,GVLObjectsToIterate:t}}},{key:"isManuallyRejected",value:function(){var e=this.getConsentsToIterate(),n=e.objectsToIterate,t=e.GVLObjectsToIterate,r=n.every((function(e){return Object.values(e).every((function(e){return!1===e}))})),o=t.every((function(e){return Object.values(e).every((function(e){return!1===e.status}))}));return r&&o}},{key:"handleSetConsentInfoCallback",value:function(e){var n=h.ACCEPT_ALL,t=h.SAVE_AND_EXIT,r=h.REJECT_ALL,o=k.ACCEPT;this._repromptData=e,this.eventTracker(void 0!==this.allConsents?this.allConsents?n:r:t,"click"),fs.sendDoneLog(this.allConsents,e.euconsent,e.nonIabVendorConsent),o=void 0!==this.allConsents?this.allConsents?k.ACCEPT:k.REJECT:this.isManuallyRejected()?k.REJECT:k.ACCEPT;var i={};JSON.parse((null===e||void 0===e?void 0:e.gbcConsent)||"[]").forEach((function(e){i[e.id]=e.selected})),Yr(hs.coreConfig.isAMP,{type:C.CONSENT_RESPONSE,action:o,info:e.euconsent,consentMetadata:{additionalConsent:e.googleCookieValue,consentStringType:x.GDPR,gdprApplies:!0},purposeConsents:i}),_s&&fs.sendDoneLogGbc()}},{key:"populateConsents",value:function(e,n,t,r){var o,i=v.NON_IAB,a=v.PURPOSES,s=v.LEGITIMATE_PURPOSES,c=v.LEGITIMATE_VENDORS,u=v.VENDORS,p=v.SPECIAL_FEATURES,d=v.STACKS,f=v.GOOGLE,m="";switch(n){case i:o="_nonIabConsents",m="nonIabConsents";break;case u:o="_vendorConsents",m="vendorConsents";break;case a:o="_purposesConsents",m="purposesConsents";break;case s:o="_legitimatePurposesConsents",m="legitimatePurposesConsents";break;case c:o="_vendorLegitimateInterest",m="vendorLegitimateInterest";break;case p:o="_specialFeaturesConsents",m="specialFeatures";break;case d:o="_stacksConsents",m="purposesConsents";break;case f:o="_googleConsents",m="googleConsents";break;default:o=""}var h=r[m].hasCookie,g=n===s||n===c||"on"===hs.coreConfig.defaultToggleValue,y=!h||n===d;if(n===i){if(t){var b,_=l(t);try{for(_.s();!(b=_.n()).done;){var E=b.value;if(e){var C=y?g:r[m][E.id];this[o][E.id]=Boolean(C),E.status=Boolean(C)}else E.status=this[o][E.id]}}catch(A){_.e(A)}finally{_.f()}}}else if(n===f){if(t){var x,k=l(t);try{for(k.s();!(x=k.n()).done;){var w=x.value,S=parseInt(w.id,10);if(e){var L=y?g:r[m][S];this[o][S]=L,w.status=L}else w.status=this[o][S]}}catch(A){k.e(A)}finally{k.f()}}}else{for(var P in t)if(e){var T=y?g:r[m][P];this[o][P]=T,t[P].status=T}else t[P].status=this[o][P];n===d&&h&&this.updateStacksConsent()}}},{key:"handleConsent",value:function(e,n){var t,r,o,i,a=h.VENDOR,s=h.PURPOSE,c=h.LEGITIMATE_PURPOSE,l=h.NON_IAB_VENDOR,u=h.SPECIAL_FEATURE,p=h.STACK,d=h.LEGITIMATE_VENDOR,f=h.GOOGLE,m=!1;switch(n){case v.NON_IAB:t="_nonIabConsents",i=ys,r="".concat(l,"_").concat(e);break;case v.VENDORS:t="_vendorConsents",o="vendors",r="".concat(a,"_").concat(e);break;case v.PURPOSES:t="_purposesConsents",o="purposes",r="".concat(s,"_").concat(e),m=!0;break;case v.LEGITIMATE_PURPOSES:t="_legitimatePurposesConsents",o="legitimatePurposes",r="".concat(c,"_").concat(e);break;case v.LEGITIMATE_VENDORS:t="_vendorLegitimateInterest",o="legitimateVendors",r="".concat(d,"_").concat(e);break;case v.SPECIAL_FEATURES:t="_specialFeaturesConsents",o="specialFeatures",r="".concat(u,"_").concat(e),m=!0;break;case v.SPECIAL_PURPOSES:t="_specialPurposesConsents",o="specialPurposes",r="".concat(u,"_").concat(e);break;case v.STACKS:t="_stacksConsents",o="stacks",r="".concat(p,"_").concat(e),m=!0,this.handleStackConsent(e);break;case v.GOOGLE:t="_googleConsents",i=this._googleData,r="".concat(f,"_").concat(e);break;default:t=""}if(this[t]){var g=!this[t][e];if(i)R(i.filter((function(n){return n.id===e})),1)[0].status=g;else this._cmpInfo.updateStatus(e,o,g);this[t][e]=g,this.eventTracker(r,this[t][e])}Object.keys(this._cmpInfo.data.stacks).length&&m&&this.populateStacksLabels(this._cmpInfo.data.stacks)}},{key:"handleStackConsent",value:function(e){var n,t=this.stacks[e],r=!this._stacksConsents[e],o=l(t.purposes);try{for(o.s();!(n=o.n()).done;){var i=n.value;this._purposesConsents[i]=r,this._cmpInfo.updateStatus(i,"purposes",r)}}catch(u){o.e(u)}finally{o.f()}if(t.specialFeatures){var a,s=l(t.specialFeatures);try{for(s.s();!(a=s.n()).done;){var c=a.value;this._specialFeaturesConsents[c]=r,this._cmpInfo.updateStatus(c,"specialFeatures",r)}}catch(u){s.e(u)}finally{s.f()}}}},{key:"updateStacksConsent",value:function(){var e=this;for(var n in this._cmpInfo.data.stacks){var t=this._cmpInfo.data.stacks[n],r=t.purposes.reduce((function(n,t){return n&&e._purposesConsents[t]}),!0),o=!t.specialFeaturesConsents||t.specialFeatures.reduce((function(n,t){return n&&e._specialFeaturesConsents[t]}),!0);t.status=r&&o,this._stacksConsents[n]=t.status}}},{key:"formatConsents",value:function(e){var n=0;return{consentArray:Object.keys(e).map((function(t){var r=parseInt(t);return n=r,{consent:e[r],id:+t}})),maxVendorId:n}}},{key:"displayConsentUi",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.PURPOSES_PAGE,t=arguments.length>2&&void 0!==arguments[2]&&arguments[2];"GDPR"===e?(this.displayType=t?m.MANDATORY:m.CHANGE_OF_CONSENT,_s&&(this.gbcDisplayType=t?m.GBC_MANDATORY:m.GBC_CHANGE_OF_CONSENT),As&&As({type:"PAGE_CHANGE",payload:{page:n,onInit:!0}})):"USP"===e&&(this.displayType=m.CCPA,_s&&(this.gbcDisplayType=m.GBC_US),n=g.PURPOSES_PAGE);var r="GBC"===e;r&&(this.gbcDisplayType=m.GBC_STANDALONE),this.toggleDisplayUi({regulation:e,isMandatory:t}),this.generateSessionId(e),!r&&_s&&this.generateSessionId("GBC"),fs.clearUserEvents(),this.eventTracker(h.START_ON_PAGE,"".concat(e,"_").concat(n)),r||fs.sendInitLog(e),_s&&fs.sentGbcInitLog()}},{key:"generateSessionId",value:function(e){var n=window.navigator.userAgent.indexOf("Trident/"),t=new Int32Array(4),r="".concat(e,"-");try{t=(-1!==n?msCrypto:crypto).getRandomValues(t);for(var o=0;o<4;o++)r+=t[o].toString(36).substring(1,6)}catch(i){}return"GBC"===e?this.gbcSessionId=r:this.sessionId=r,r}},{key:"getSessionId",value:function(e){return"GBC"===e?this.gbcSessionId:this.sessionId}},{key:"eventTracker",value:function(e,n){fs.pushEvent(e,n)}},{key:"setGBCDataInDataLayerAndLS",value:function(){if(this._gbcConsents&&this._gbcConsents.length>0){var e,n={};this._gbcConsents.forEach((function(e){var t=A[e.id.toString().trim()];t&&(n[t]=e.selected?I:O)})),localStorage.setItem(P,JSON.stringify(this._gbcConsents)),window.gtag(q,N,n),null===(e=window.dataLayer)||void 0===e||e.push({event:"consent_cookie_update"})}}},{key:"nonIabConsents",get:function(){return this._nonIabConsents},set:function(e){this._nonIabConsents=e}},{key:"vendorConsents",get:function(){return this._vendorConsents},set:function(e){this._vendorConsents=e}},{key:"purposesConsents",get:function(){return this._purposesConsents},set:function(e){this._purposesConsents=e}},{key:"legitimatePurposesConsents",get:function(){return this._legitimatePurposesConsents},set:function(e){this._legitimatePurposesConsents=e}},{key:"vendorLegitimateInterest",get:function(){return this._vendorLegitimateInterest},set:function(e){this._vendorLegitimateInterest=e}},{key:"stacksConsents",get:function(){return this._stacksConsents},set:function(e){this._stacksConsents=e}},{key:"specialFeaturesConsents",get:function(){return this._specialFeaturesConsents},set:function(e){this._specialFeaturesConsents=e}},{key:"GVLVendorsDataInitialized",get:function(){return this._GVLVendorsDataInitialized}},{key:"cmpInfo",get:function(){return this._cmpInfo},set:function(e){this._cmpInfo=e}}],[{key:"initLabels",value:function(){var e=wn(xn.a.mark((function e(){var n,r,o,i,a;return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:n=hs.getCustomCoreUiLabels(),r=hs.getCustomPremiumUiLabels(),o=t(12),i=t(12),(a=hs.coreConfig.privacyMode)&&a.includes("GDPR")&&(hs.coreUiLabels=U(U(U({},i.coreUiLabels),o.coreUiLabels),n)),hs.premiumUiLabels=U(U(U({},i.premiumUiLabels),o.premiumUiLabels),r);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()}]),e}(),Ss=function(){function e(){u(this,e),f(this,"userEvents",void 0),this.userEvents=[]}return d(e,[{key:"pushEvent",value:function(e,n){eo(JSON.stringify({identifier:e,value:n})),this.userEvents.push({clientTimestamp:(new Date).getTime(),event:"".concat(e,":").concat(n)})}},{key:"resolveAcceptanceState",value:function(e){var n=b.ACCEPT_ALL,t=b.ACCEPT_PARTIAL,r=b.REJECT,o=_.ALL_OBJECTED,i=_.NONE_OBJECTED,a="legitimate"===e,s=a?[Object.values(ds.legitimatePurposesConsents),Object.values(ds.vendorLegitimateInterest)].flat():[Object.values(ds.purposesConsents),Object.values(ds.specialFeaturesConsents),Object.values(ds.vendorConsents),Object.values(ds.nonIabConsents)].flat();return s.every((function(e){return!0===e}))?a?i:n:s.every((function(e){return!1===e}))?a?o:r:t}},{key:"sendInitLog",value:function(e){var n=hs.coreConfig,t=n.inmobiAccountId,r=n.publisherName,o=n.hashCode,i=n.gvlVersion,a={accountId:t,domain:window.location!==window.parent.location&&document.referrer?qr(document.referrer):window.location.host,publisher:r,cmpId:10,cmpVersion:"2.".concat(L),displayType:ds.getDisplayType("GDPR"),configurationHashCode:o,tagVersion:hs.tagVersion,gvlVersion:i};this.log(y.INIT,a,e)}},{key:"sentGbcInitLog",value:function(){var e=hs.coreConfig,n=e.inmobiAccountId,t=e.publisherName,r=e.hashCode,o=(e.gvlVersion,{accountId:n,domain:window.location!==window.parent.location&&document.referrer?qr(document.referrer):window.location.host,publisher:t,cmpId:10,cmpVersion:"2.".concat(L),displayType:ds.getDisplayType("GBC"),configurationHashCode:r,tagVersion:hs.tagVersion});this.log(y.INIT,o,"GBC")}},{key:"sendNavigationLog",value:function(){var e={userEvents:this.userEvents};this.userEvents=[],this.log(y.NAVIGATION,e,"GDPR")}},{key:"sendDoneLog",value:function(e,n,t,r){var o=e?b.ACCEPT_ALL:this.resolveAcceptanceState(),i=e?_.NONE_OBJECTED:this.resolveAcceptanceState("legitimate"),a={userEvents:this.userEvents,acceptanceState:o,objectionState:i,tcData:n,nonIabConsentData:t,uspData:r};this.log(y.DONE,a,"GDPR")}},{key:"sendDoneLogUsp",value:function(e,n){var t={userEvents:this.userEvents,acceptanceState:e,uspData:n};this.log(y.DONE,t,"USP")}},{key:"sendDoneLogGbc",value:function(){var e,n,t;if((null===hs||void 0===hs||null===(e=hs.coreConfig)||void 0===e||null===(n=e.gbcConfig)||void 0===n?void 0:n.enabled)&&!(null===hs||void 0===hs||null===(t=hs.coreConfig)||void 0===t?void 0:t.isAMP)){var r=JSON.parse(localStorage.getItem(P)||"[]"),o=r.some((function(e){return e.selected})),i=r.every((function(e){return null===e||void 0===e?void 0:e.selected})),a=b.REJECT;a=i?b.ACCEPT_ALL:o?b.ACCEPT_PARTIAL:b.REJECT;var s={};r.forEach((function(e){var n=e.id.toString().trim();s[n]=e.selected?I:O}));var c={userEvents:this.userEvents,acceptanceState:a,gbcData:JSON.stringify(s)};this.log(y.DONE,c,"GBC")}}},{key:"log",value:function(e,n,t){n=U(U({},n),{},{clientTimestamp:(new Date).getTime(),operationType:e,sessionId:ds.getSessionId(t)});var r=encodeURIComponent(JSON.stringify(n));fa.get("".concat("https://api.cmp.inmobi.com","/?log=").concat(r)).catch((function(e){return console.error(e)})),eo("".concat(e," sent"))}},{key:"clearUserEvents",value:function(){this.userEvents=[]}}]),e}(),Ls=function(e){var n;hs=e.config,gs=e.gvl,vs=e.consentInfo,ys=e.nonIabVendorList,bs=e.googleData,_s=null!==(n=e.gbcEnabled)&&void 0!==n&&n,Es=e.gbcPurposesData,Cs=e.cookieValues||{};var t=e.regulation,r=e.page,o=function(){var e=wn(xn.a.mark((function e(){return xn.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ws.initLabels();case 2:return e.next=4,new ws;case 4:ds=e.sent;case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();fs=new Ss,ms=new Rr;var i=function(){var e="qc-cmp2-container";return zr("div",e,e,document.body)}(),a="qc-cmp2-main",s=zr("div",a,a,i);o().then((function(){En.render(En.createElement(Os,null,En.createElement(ma,{ui:ds,mode:t})),s),ds.displayConsentUi(t,r,e.isMandatory)}))},Ps={displayGDPR:!1,displayUSP:!1,displayGBC:!1,pageChanged:!1,pageGDPR:1,disableAcceptButton:!1,changed:""},Ts=function(e,n){switch(n.type){case"TOGGLE_DISPLAY":var t=!1,r=!1,o=!1,i=!1;switch(n.payload.regulation){case"USP":r&&(r=!1),t=!e.displayUSP;break;case"GBC":o&&(o=!1),o=!e.displayGBC;break;case"GDPR":t&&(t=!1),i=!1,r=!e.displayGDPR;break;default:return e}return U(U({},e),{},{displayGDPR:r,displayGBC:o,displayUSP:t,disableAcceptButton:i});case"TOGGLE_CHANGE":var a=n.payload;return U(U({},e),{},{changed:a});case"PAGE_CHANGE":var s=n.payload.page,c=s!==g.PURPOSES_PAGE||s!==e.pageGDPR;return n.payload.onInit||(ds.eventTracker(h.GO_TO_PAGE,s),fs.sendNavigationLog()),U(U({},e),{},{pageGDPR:s,pageChanged:c,disableAcceptButton:!c});default:return e}},As=function(e){},Is=be([{},function(){return null}]),Os=function(e){var n=e.children,t=R(Oe(Ts,Ps),2),r=t[0],o=t[1];return As=o,En.createElement(Is.Provider,{value:[r,o]},n)},qs=new(function(){function e(){var n=this;u(this,e),f(this,"__tcfapiui",void 0),f(this,"goToPage",(function(e){S.includes(e)?As&&As({type:"PAGE_CHANGE",payload:{page:e,onInit:!1}}):console.warn("".concat(e," is not a supported page"))})),f(this,"initApiUi",(function(){var e=n.__tcfapiui,t=[],r=window;r.__tcfapiui&&r.__tcfapiui.a&&(t=r.__tcfapiui.a),Object.assign(window,{__tcfapiui:e});var u,p,d=l(t);try{for(d.s();!(u=d.n()).done;){var f=u.value,m=s(p=f)||o(p)||i(p)||c(),h=m[0],g=m.slice(1);n[h].apply(n,a(g))}}catch(v){d.e(v)}finally{d.f()}})),this.__tcfapiui=function(e){try{for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n[e].apply(n,r)}catch(i){console.error("The function ".concat(e," is not defined"))}}}return d(e,[{key:"displayUi",value:function(e){Ls(e)}}]),e}());qs.initApiUi()}]);