(this.dmpJsonp=this.dmpJsonp||[]).push([[758],{5186:function(e,t){"use strict";var n=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){}return e.prototype.clone=function(){var e=this,t=new this.constructor;return Object.keys(this).forEach((function(n){var r=e.deepClone(e[n]);void 0!==r&&(t[n]=r)})),t},e.prototype.deepClone=function(e){var t,r,o=typeof e;if("number"===o||"string"===o||"boolean"===o)return e;if(null!==e&&"object"===o){if("function"==typeof e.clone)return e.clone();if(e instanceof Date)return new Date(e.getTime());if(void 0!==e[Symbol.iterator]){var i=[];try{for(var s=n(e),a=s.next();!a.done;a=s.next()){var u=a.value;i.push(this.deepClone(u))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return e instanceof Array?i:new e.constructor(i)}var c={};for(var l in e)e.hasOwnProperty(l)&&(c[l]=this.deepClone(e[l]));return c}},e}();t.Cloneable=r},7061:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function s(e){try{u(r.next(e))}catch(e){i(e)}}function a(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(s,a)}u((r=r.apply(e,t||[])).next())}))},s=this&&this.__generator||function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0){var i=n;t.CACHE.has(i)?(r.populate(t.CACHE.get(i)),r.readyPromise=Promise.resolve()):(o+=t.versionedFilename.replace("[VERSION]",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 o(t,e),Object.defineProperty(t,"baseUrl",{get:function(){return this.baseUrl_},set:function(e){if(/^https?:\/\/vendorlist\.consensu\.org\//.test(e))throw new u.GVLError("Invalid baseUrl! You may not pull directly from vendorlist.consensu.org and must provide your own cache");e.length>0&&"/"!==e[e.length-1]&&(e+="/"),this.baseUrl_=e},enumerable:!0,configurable:!0}),t.emptyLanguageCache=function(e){var n=!1;return void 0===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},t.emptyCache=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},t.prototype.cacheLanguage=function(){t.LANGUAGE_CACHE.has(this.lang_)||t.LANGUAGE_CACHE.set(this.lang_,{purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks})},t.prototype.fetchJson=function(e){return i(this,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),t=this.populate,[4,c.Json.fetch(e)];case 1:return t.apply(this,[r.sent()]),[3,3];case 2:throw n=r.sent(),new u.GVLError(n.message);case 3:return[2]}}))}))},t.prototype.getJson=function(){return JSON.parse(JSON.stringify({gvlSpecificationVersion:this.gvlSpecificationVersion,vendorListVersion:this.vendorListVersion,tcfPolicyVersion:this.tcfPolicyVersion,lastUpdated:this.lastUpdated,purposes:this.purposes,specialPurposes:this.specialPurposes,features:this.features,specialFeatures:this.specialFeatures,stacks:this.stacks,vendors:this.fullVendorList}))},t.prototype.changeLanguage=function(e){return i(this,void 0,void 0,(function(){var n,r,o,i,a;return s(this,(function(s){switch(s.label){case 0:if(n=e.toUpperCase(),!t.consentLanguages.has(n))return[3,6];if(n===this.lang_)return[3,5];if(this.lang_=n,!t.LANGUAGE_CACHE.has(n))return[3,1];for(o in r=t.LANGUAGE_CACHE.get(n))r.hasOwnProperty(o)&&(this[o]=r[o]);return[3,5];case 1:i=t.baseUrl+t.languageFilename.replace("[LANG]",e),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,this.fetchJson(i)];case 3:return s.sent(),this.cacheLanguage(),[3,5];case 4:throw a=s.sent(),new u.GVLError("unable to load language: "+a.message);case 5:return[3,7];case 6:throw new u.GVLError("unsupported language "+e);case 7:return[2]}}))}))},Object.defineProperty(t.prototype,"language",{get:function(){return this.lang_},enumerable:!0,configurable:!0}),t.prototype.isVendorList=function(e){return void 0!==e&&void 0!==e.vendors},t.prototype.populate=function(e){this.purposes=e.purposes,this.specialPurposes=e.specialPurposes,this.features=e.features,this.specialFeatures=e.specialFeatures,this.stacks=e.stacks,this.isVendorList(e)&&(this.gvlSpecificationVersion=e.gvlSpecificationVersion,this.tcfPolicyVersion=e.tcfPolicyVersion,this.vendorListVersion=e.vendorListVersion,this.lastUpdated=e.lastUpdated,"string"==typeof this.lastUpdated&&(this.lastUpdated=new Date(this.lastUpdated)),this.vendors_=e.vendors,this.fullVendorList=e.vendors,this.mapVendors(),this.isReady_=!0,this.isLatest&&t.CACHE.set(t.LATEST_CACHE_KEY,this.getJson()),t.CACHE.has(this.vendorListVersion)||t.CACHE.set(this.vendorListVersion,this.getJson())),this.cacheLanguage()},t.prototype.mapVendors=function(e){var t=this;this.byPurposeVendorMap={},this.bySpecialPurposeVendorMap={},this.byFeatureVendorMap={},this.bySpecialFeatureVendorMap={},Object.keys(this.purposes).forEach((function(e){t.byPurposeVendorMap[e]={legInt:new Set,consent:new Set,flexible:new Set}})),Object.keys(this.specialPurposes).forEach((function(e){t.bySpecialPurposeVendorMap[e]=new Set})),Object.keys(this.features).forEach((function(e){t.byFeatureVendorMap[e]=new Set})),Object.keys(this.specialFeatures).forEach((function(e){t.bySpecialFeatureVendorMap[e]=new Set})),Array.isArray(e)||(e=Object.keys(this.fullVendorList).map((function(e){return+e}))),this.vendorIds=new Set(e),this.vendors_=e.reduce((function(e,n){var r=t.vendors_[""+n];return r&&void 0===r.deletedDate&&(r.purposes.forEach((function(e){t.byPurposeVendorMap[e+""].consent.add(n)})),r.specialPurposes.forEach((function(e){t.bySpecialPurposeVendorMap[e+""].add(n)})),r.legIntPurposes.forEach((function(e){t.byPurposeVendorMap[e+""].legInt.add(n)})),r.flexiblePurposes&&r.flexiblePurposes.forEach((function(e){t.byPurposeVendorMap[e+""].flexible.add(n)})),r.features.forEach((function(e){t.byFeatureVendorMap[e+""].add(n)})),r.specialFeatures.forEach((function(e){t.bySpecialFeatureVendorMap[e+""].add(n)})),e[n]=r),e}),{})},t.prototype.getFilteredVendors=function(e,t,n,r){var o=this,i=e.charAt(0).toUpperCase()+e.slice(1),s={};return("purpose"===e&&n?this["by"+i+"VendorMap"][t+""][n]:this["by"+(r?"Special":"")+i+"VendorMap"][t+""]).forEach((function(e){s[e+""]=o.vendors[e+""]})),s},t.prototype.getVendorsWithConsentPurpose=function(e){return this.getFilteredVendors("purpose",e,"consent")},t.prototype.getVendorsWithLegIntPurpose=function(e){return this.getFilteredVendors("purpose",e,"legInt")},t.prototype.getVendorsWithFlexiblePurpose=function(e){return this.getFilteredVendors("purpose",e,"flexible")},t.prototype.getVendorsWithSpecialPurpose=function(e){return this.getFilteredVendors("purpose",e,void 0,!0)},t.prototype.getVendorsWithFeature=function(e){return this.getFilteredVendors("feature",e)},t.prototype.getVendorsWithSpecialFeature=function(e){return this.getFilteredVendors("feature",e,void 0,!0)},Object.defineProperty(t.prototype,"vendors",{get:function(){return this.vendors_},enumerable:!0,configurable:!0}),t.prototype.narrowVendorsTo=function(e){this.mapVendors(e)},Object.defineProperty(t.prototype,"isReady",{get:function(){return this.isReady_},enumerable:!0,configurable:!0}),t.prototype.clone=function(){var e=new t(this.getJson());return this.lang_!==t.DEFAULT_LANGUAGE&&e.changeLanguage(this.lang_),e},t.isInstanceOf=function(e){return"object"==typeof e&&"function"==typeof e.narrowVendorsTo},t.LANGUAGE_CACHE=new Map,t.CACHE=new Map,t.LATEST_CACHE_KEY=0,t.DEFAULT_LANGUAGE="EN",t.consentLanguages=new l.ConsentLanguages,t.latestFilename="vendor-list.json",t.versionedFilename="archives/vendor-list-v[VERSION].json",t.languageFilename="purposes-[LANG].json",t}(a.Cloneable);t.GVL=p},6056:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.absCall=function(e,t,n,r){return new Promise((function(o,i){var s=new XMLHttpRequest;s.withCredentials=n,s.addEventListener("load",(function(){if(s.readyState==XMLHttpRequest.DONE)if(s.status>=200&&s.status<300){var e=s.response;if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}o(e)}else i(new Error("HTTP Status: "+s.status+" response type: "+s.responseType))})),s.addEventListener("error",(function(){i(new Error("error"))})),s.addEventListener("abort",(function(){i(new Error("aborted"))})),null===t?s.open("GET",e,!0):s.open("POST",e,!0),s.responseType="json",s.timeout=r,s.ontimeout=function(){i(new Error("Timeout "+r+"ms "+e))},s.send(t)}))},e.post=function(e,t,n,r){return void 0===n&&(n=!1),void 0===r&&(r=0),this.absCall(e,JSON.stringify(t),n,r)},e.fetch=function(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n=0),this.absCall(e,null,t,n)},e}();t.Json=n},6382:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(5186),s=n(5458),a=n(7061),u=n(250),c=function(e){function t(t){var n=e.call(this)||this;return n.isServiceSpecific_=!1,n.supportOOB_=!0,n.useNonStandardStacks_=!1,n.purposeOneTreatment_=!1,n.publisherCountryCode_="AA",n.version_=2,n.consentScreen_=0,n.policyVersion_=2,n.consentLanguage_="EN",n.cmpId_=0,n.cmpVersion_=0,n.vendorListVersion_=0,n.numCustomPurposes_=0,n.specialFeatureOptins=new u.Vector,n.purposeConsents=new u.Vector,n.purposeLegitimateInterests=new u.Vector,n.publisherConsents=new u.Vector,n.publisherLegitimateInterests=new u.Vector,n.publisherCustomConsents=new u.Vector,n.publisherCustomLegitimateInterests=new u.Vector,n.vendorConsents=new u.Vector,n.vendorLegitimateInterests=new u.Vector,n.vendorsDisclosed=new u.Vector,n.vendorsAllowed=new u.Vector,n.publisherRestrictions=new u.PurposeRestrictionVector,t&&(n.gvl=t),n.updated(),n}return o(t,e),Object.defineProperty(t.prototype,"gvl",{get:function(){return this.gvl_},set:function(e){a.GVL.isInstanceOf(e)||(e=new a.GVL(e)),this.gvl_=e,this.publisherRestrictions.gvl=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cmpId",{get:function(){return this.cmpId_},set:function(e){if(!(Number.isInteger(+e)&&e>1))throw new s.TCModelError("cmpId",e);this.cmpId_=+e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"cmpVersion",{get:function(){return this.cmpVersion_},set:function(e){if(!(Number.isInteger(+e)&&e>-1))throw new s.TCModelError("cmpVersion",e);this.cmpVersion_=+e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"consentScreen",{get:function(){return this.consentScreen_},set:function(e){if(!(Number.isInteger(+e)&&e>-1))throw new s.TCModelError("consentScreen",e);this.consentScreen_=+e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"consentLanguage",{get:function(){return this.consentLanguage_},set:function(e){this.consentLanguage_=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"publisherCountryCode",{get:function(){return this.publisherCountryCode_},set:function(e){if(!/^([A-z]){2}$/.test(e))throw new s.TCModelError("publisherCountryCode",e);this.publisherCountryCode_=e.toUpperCase()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"vendorListVersion",{get:function(){return this.gvl?this.gvl.vendorListVersion:this.vendorListVersion_},set:function(e){if((e=+e>>0)<0)throw new s.TCModelError("vendorListVersion",e);this.vendorListVersion_=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"policyVersion",{get:function(){return this.gvl?this.gvl.tcfPolicyVersion:this.policyVersion_},set:function(e){if(this.policyVersion_=parseInt(e,10),this.policyVersion_<0)throw new s.TCModelError("policyVersion",e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"version",{get:function(){return this.version_},set:function(e){this.version_=parseInt(e,10)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isServiceSpecific",{get:function(){return this.isServiceSpecific_},set:function(e){this.isServiceSpecific_=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"useNonStandardStacks",{get:function(){return this.useNonStandardStacks_},set:function(e){this.useNonStandardStacks_=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"supportOOB",{get:function(){return this.supportOOB_},set:function(e){this.supportOOB_=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"purposeOneTreatment",{get:function(){return this.purposeOneTreatment_},set:function(e){this.purposeOneTreatment_=e},enumerable:!0,configurable:!0}),t.prototype.setAllVendorConsents=function(){this.vendorConsents.set(this.gvl.vendors)},t.prototype.unsetAllVendorConsents=function(){this.vendorConsents.empty()},t.prototype.setAllVendorsDisclosed=function(){this.vendorsDisclosed.set(this.gvl.vendors)},t.prototype.unsetAllVendorsDisclosed=function(){this.vendorsDisclosed.empty()},t.prototype.setAllVendorsAllowed=function(){this.vendorsAllowed.set(this.gvl.vendors)},t.prototype.unsetAllVendorsAllowed=function(){this.vendorsAllowed.empty()},t.prototype.setAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.set(this.gvl.vendors)},t.prototype.unsetAllVendorLegitimateInterests=function(){this.vendorLegitimateInterests.empty()},t.prototype.setAllPurposeConsents=function(){this.purposeConsents.set(this.gvl.purposes)},t.prototype.unsetAllPurposeConsents=function(){this.purposeConsents.empty()},t.prototype.setAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.set(this.gvl.purposes)},t.prototype.unsetAllPurposeLegitimateInterests=function(){this.purposeLegitimateInterests.empty()},t.prototype.setAllSpecialFeatureOptins=function(){this.specialFeatureOptins.set(this.gvl.specialFeatures)},t.prototype.unsetAllSpecialFeatureOptins=function(){this.specialFeatureOptins.empty()},t.prototype.setAll=function(){this.setAllVendorConsents(),this.setAllPurposeLegitimateInterests(),this.setAllSpecialFeatureOptins(),this.setAllPurposeConsents(),this.setAllVendorLegitimateInterests()},t.prototype.unsetAll=function(){this.unsetAllVendorConsents(),this.unsetAllPurposeLegitimateInterests(),this.unsetAllSpecialFeatureOptins(),this.unsetAllPurposeConsents(),this.unsetAllVendorLegitimateInterests()},Object.defineProperty(t.prototype,"numCustomPurposes",{get:function(){var e=this.numCustomPurposes_;if("object"==typeof this.customPurposes){var t=Object.keys(this.customPurposes).sort((function(e,t){return+e-+t}));e=parseInt(t.pop(),10)}return e},set:function(e){if(this.numCustomPurposes_=parseInt(e,10),this.numCustomPurposes_<0)throw new s.TCModelError("numCustomPurposes",e)},enumerable:!0,configurable:!0}),t.prototype.updated=function(){var e=new Date,t=new Date(Date.UTC(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()));this.created=t,this.lastUpdated=t},t.consentLanguages=a.GVL.consentLanguages,t}(i.Cloneable);t.TCModel=c},2381:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7170),o=n(250),i=n(2082),s=n(6382),a=function(){function e(){}return e.encode=function(e,t){var n,o,i="";return e=r.SemanticPreEncoder.process(e,t),(o=Array.isArray(null===(n=t)||void 0===n?void 0:n.segments)?t.segments:new r.SegmentSequence(e,t)[""+e.version]).forEach((function(t,n){var s="";n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5458),o=function(){function e(){}return e.encode=function(e){if(!/^[0-1]+$/.test(e))throw new r.EncodingError("Invalid bitField");var t=e.length%this.LCM;e+=t?"0".repeat(this.LCM-t):"";for(var n="",o=0;o{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(250),o=function(){function e(){}var t,n,o,i,s,a,u,c,l,p,f,d,h,_,v,m,y,g;return t=r.Fields.cmpId,n=r.Fields.cmpVersion,o=r.Fields.consentLanguage,i=r.Fields.consentScreen,s=r.Fields.created,a=r.Fields.isServiceSpecific,u=r.Fields.lastUpdated,c=r.Fields.policyVersion,l=r.Fields.publisherCountryCode,p=r.Fields.publisherLegitimateInterests,f=r.Fields.publisherConsents,d=r.Fields.purposeConsents,h=r.Fields.purposeLegitimateInterests,_=r.Fields.purposeOneTreatment,v=r.Fields.specialFeatureOptins,m=r.Fields.useNonStandardStacks,y=r.Fields.vendorListVersion,g=r.Fields.version,e[t]=12,e[n]=12,e[o]=12,e[i]=6,e[s]=36,e[a]=1,e[u]=36,e[c]=6,e[l]=12,e[p]=24,e[f]=24,e[d]=24,e[h]=24,e[_]=1,e[v]=12,e[m]=1,e[y]=12,e[g]=6,e.anyBoolean=1,e.encodingType=1,e.maxId=16,e.numCustomPurposes=6,e.numEntries=12,e.numRestrictions=12,e.purposeId=6,e.restrictionType=2,e.segmentType=3,e.singleOrRange=1,e.vendorId=16,e}();t.BitLength=o},3858:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(4479),o=n(2219),i=n(9836),s=n(8780),a=n(5458),u=n(4731),c=n(250),l=function(){function e(){}return e.encode=function(e,t){var n,s=this;try{n=this.fieldSequence[""+e.version][t]}catch(n){throw new a.EncodingError("Unable to encode version: "+e.version+", segment: "+t)}var l="";return t!==c.Segment.CORE&&(l=i.IntEncoder.encode(c.SegmentIDs.KEY_TO_ID[t],o.BitLength.segmentType)),n.forEach((function(n){var r=e[n],c=i.FieldEncoderMap[n],p=o.BitLength[n];void 0===p&&s.isPublisherCustom(n)&&(p=+e[u.Fields.numCustomPurposes]);try{l+=c.encode(r,p)}catch(e){throw new a.EncodingError("Error encoding "+t+"->"+n+": "+e.message)}})),r.Base64Url.encode(l)},e.decode=function(e,t,n){var s=this,l=r.Base64Url.decode(e),p=0;return n===c.Segment.CORE&&(t.version=i.IntEncoder.decode(l.substr(p,o.BitLength[u.Fields.version]),o.BitLength[u.Fields.version])),n!==c.Segment.CORE&&(p+=o.BitLength.segmentType),this.fieldSequence[""+t.version][n].forEach((function(e){var n=i.FieldEncoderMap[e],r=o.BitLength[e];if(void 0===r&&s.isPublisherCustom(e)&&(r=+t[u.Fields.numCustomPurposes]),0!==r){var c=l.substr(p,r);if(n===i.VendorVectorEncoder?t[e]=n.decode(c,t.version):t[e]=n.decode(c,r),Number.isInteger(r))p+=r;else{if(!Number.isInteger(t[e].bitLength))throw new a.DecodingError(e);p+=t[e].bitLength}}})),t},e.isPublisherCustom=function(e){return 0===e.indexOf("publisherCustom")},e.fieldSequence=new s.FieldSequence,e}();t.SegmentEncoder=l},818:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5458),o=n(250),i=function(){function e(){}return e.process=function(e,t){var n,o,i=e.gvl;if(!i)throw new r.EncodingError("Unable to encode TCModel without a GVL");if(!i.isReady)throw new r.EncodingError("Unable to encode TCModel tcModel.gvl.readyPromise is not resolved");(e=e.clone()).consentLanguage=i.language.toUpperCase(),(null===(n=t)||void 0===n?void 0:n.version)>0&&(null===(o=t)||void 0===o?void 0:o.version)<=this.processor.length?e.version=t.version:e.version=this.processor.length;var s=e.version-1;if(!this.processor[s])throw new r.EncodingError("Invalid version: "+e.version);return this.processor[s](e,i)},e.processor=[function(e){return e},function(e,t){e.publisherRestrictions.gvl=t,e.purposeLegitimateInterests.unset(1);var n=new Map;return n.set("legIntPurposes",e.vendorLegitimateInterests),n.set("purposes",e.vendorConsents),n.forEach((function(n,r){n.forEach((function(i,s){if(i){var a=t.vendors[s];if(!a||a.deletedDate)n.unset(s);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)n.unset(s);else{for(var u=e.publisherRestrictions.getRestrictions(s),c=!1,l=0,p=u.length;l{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.encode=function(e){return+e+""},e.decode=function(e){return"1"===e},e}();t.BooleanEncoder=n},3101:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2082),o=n(5458),i=function(){function e(){}return e.encode=function(e,t){return r.IntEncoder.encode(Math.round(e.getTime()/100),t)},e.decode=function(e,t){if(t!==e.length)throw new o.DecodingError("invalid bit length");var n=new Date;return n.setTime(100*r.IntEncoder.decode(e,t)),n},e}();t.DateEncoder=i},286:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(250),o=n(632),i=n(3101),s=n(8937),a=n(2082),u=n(835),c=n(5889),l=n(3283),p=function(){function e(){}var t,n,p,f,d,h,_,v,m,y,g,b,E,S,w,O,I,T,C,A,N,P,L,D,R,M;return t=r.Fields.version,n=r.Fields.created,p=r.Fields.lastUpdated,f=r.Fields.cmpId,d=r.Fields.cmpVersion,h=r.Fields.consentScreen,_=r.Fields.consentLanguage,v=r.Fields.vendorListVersion,m=r.Fields.policyVersion,y=r.Fields.isServiceSpecific,g=r.Fields.useNonStandardStacks,b=r.Fields.specialFeatureOptins,E=r.Fields.purposeConsents,S=r.Fields.purposeLegitimateInterests,w=r.Fields.purposeOneTreatment,O=r.Fields.publisherCountryCode,I=r.Fields.vendorConsents,T=r.Fields.vendorLegitimateInterests,C=r.Fields.publisherRestrictions,A=r.Fields.vendorsDisclosed,N=r.Fields.vendorsAllowed,P=r.Fields.publisherConsents,L=r.Fields.publisherLegitimateInterests,D=r.Fields.numCustomPurposes,R=r.Fields.publisherCustomConsents,M=r.Fields.publisherCustomLegitimateInterests,e[t]=a.IntEncoder,e[n]=i.DateEncoder,e[p]=i.DateEncoder,e[f]=a.IntEncoder,e[d]=a.IntEncoder,e[h]=a.IntEncoder,e[_]=u.LangEncoder,e[v]=a.IntEncoder,e[m]=a.IntEncoder,e[y]=o.BooleanEncoder,e[g]=o.BooleanEncoder,e[b]=s.FixedVectorEncoder,e[E]=s.FixedVectorEncoder,e[S]=s.FixedVectorEncoder,e[w]=o.BooleanEncoder,e[O]=u.LangEncoder,e[I]=l.VendorVectorEncoder,e[T]=l.VendorVectorEncoder,e[C]=c.PurposeRestrictionVectorEncoder,e.segmentType=a.IntEncoder,e[A]=l.VendorVectorEncoder,e[N]=l.VendorVectorEncoder,e[P]=s.FixedVectorEncoder,e[L]=s.FixedVectorEncoder,e[D]=a.IntEncoder,e[R]=s.FixedVectorEncoder,e[M]=s.FixedVectorEncoder,e}();t.FieldEncoderMap=p},8937:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(632),o=n(5458),i=n(250),s=function(){function e(){}return e.encode=function(e,t){for(var n="",o=1;o<=t;o++)n+=r.BooleanEncoder.encode(e.has(o));return n},e.decode=function(e,t){if(e.length!==t)throw new o.DecodingError("bitfield encoding length mismatch");for(var n=new i.Vector,s=1;s<=t;s++)r.BooleanEncoder.decode(e[s-1])&&n.set(s);return n.bitLength=e.length,n},e}();t.FixedVectorEncoder=s},2082:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5458),o=function(){function e(){}return e.encode=function(e,t){var n;if("string"==typeof e&&(e=parseInt(e,10)),(n=e.toString(2)).length>t||e<0)throw new r.EncodingError(e+" too large to encode into "+t);return n.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2082),o=n(5458),i=function(){function e(){}return e.encode=function(e,t){var n=(e=e.toUpperCase()).charCodeAt(0)-65,i=e.charCodeAt(1)-65;if(n<0||n>25||i<0||i>25)throw new o.EncodingError("invalid language code: "+e);if(t%2==1)throw new o.EncodingError("numBits must be even, "+t+" is not valid");return t/=2,r.IntEncoder.encode(n,t)+r.IntEncoder.encode(i,t)},e.decode=function(e,t){if(t!==e.length||e.length%2)throw new o.DecodingError("invalid bit length for language");var n=e.length/2,i=r.IntEncoder.decode(e.slice(0,n),n)+65,s=r.IntEncoder.decode(e.slice(n),n)+65;return String.fromCharCode(i)+String.fromCharCode(s)},e}();t.LangEncoder=i},5889:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2219),o=n(632),i=n(5458),s=n(2082),a=n(250),u=function(){function e(){}return e.encode=function(e){var t=s.IntEncoder.encode(e.numRestrictions,r.BitLength.numRestrictions);return e.isEmpty()||e.getRestrictions().forEach((function(n){t+=s.IntEncoder.encode(n.purposeId,r.BitLength.purposeId),t+=s.IntEncoder.encode(n.restrictionType,r.BitLength.restrictionType);for(var i=e.getVendors(n),a=i.length,u=0,c=0,l="",p=function(t){var n=i[t];0===c&&(u++,c=n);var p=i[a-1],f=e.gvl.vendorIds;if(t===a-1||i[t+1]>function(e){for(;++e<=p&&!f.has(e););return e}(n)){var d=!(n===c);l+=o.BooleanEncoder.encode(d),l+=s.IntEncoder.encode(c,r.BitLength.vendorId),d&&(l+=s.IntEncoder.encode(n,r.BitLength.vendorId)),c=0}},f=0;f{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.VectorEncodingType||(t.VectorEncodingType={}))[n.FIELD=0]="FIELD",n[n.RANGE=1]="RANGE"},3283:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(250),o=n(7170),i=n(2082),s=n(632),a=n(8937),u=n(1938),c=n(5458),l=function(){function e(){}return e.encode=function(e){var t,n=[],r=[],a=i.IntEncoder.encode(e.maxId,o.BitLength.maxId),c="",l=o.BitLength.maxId+o.BitLength.encodingType,p=l+e.maxId,f=2*o.BitLength.vendorId+o.BitLength.singleOrRange+o.BitLength.numEntries,d=l+o.BitLength.numEntries;return e.forEach((function(i,a){c+=s.BooleanEncoder.encode(i),(t=e.maxId>f&&d{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(632)),r(n(3101)),r(n(286)),r(n(8937)),r(n(2082)),r(n(835)),r(n(5889)),r(n(1938)),r(n(3283))},7170:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(4479)),r(n(2219)),r(n(3858)),r(n(818)),r(n(9836)),r(n(8780))},4014:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(250);t.FieldSequence=function(){var e,t;this[1]=((e={})[r.Segment.CORE]=[r.Fields.version,r.Fields.created,r.Fields.lastUpdated,r.Fields.cmpId,r.Fields.cmpVersion,r.Fields.consentScreen,r.Fields.consentLanguage,r.Fields.vendorListVersion,r.Fields.purposeConsents,r.Fields.vendorConsents],e),this[2]=((t={})[r.Segment.CORE]=[r.Fields.version,r.Fields.created,r.Fields.lastUpdated,r.Fields.cmpId,r.Fields.cmpVersion,r.Fields.consentScreen,r.Fields.consentLanguage,r.Fields.vendorListVersion,r.Fields.policyVersion,r.Fields.isServiceSpecific,r.Fields.useNonStandardStacks,r.Fields.specialFeatureOptins,r.Fields.purposeConsents,r.Fields.purposeLegitimateInterests,r.Fields.purposeOneTreatment,r.Fields.publisherCountryCode,r.Fields.vendorConsents,r.Fields.vendorLegitimateInterests,r.Fields.publisherRestrictions],t[r.Segment.PUBLISHER_TC]=[r.Fields.publisherConsents,r.Fields.publisherLegitimateInterests,r.Fields.numCustomPurposes,r.Fields.publisherCustomConsents,r.Fields.publisherCustomLegitimateInterests],t[r.Segment.VENDORS_ALLOWED]=[r.Fields.vendorsAllowed],t[r.Segment.VENDORS_DISCLOSED]=[r.Fields.vendorsDisclosed],t)}},1333:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(250);t.SegmentSequence=function(e,t){if(this[1]=[r.Segment.CORE],this[2]=[r.Segment.CORE],2===e.version)if(e.isServiceSpecific)this[2].push(r.Segment.PUBLISHER_TC);else{var n=!(!t||!t.isForVendors);n&&!0!==e[r.Fields.supportOOB]||this[2].push(r.Segment.VENDORS_DISCLOSED),n&&(e[r.Fields.supportOOB]&&e[r.Fields.vendorsAllowed].size>0&&this[2].push(r.Segment.VENDORS_ALLOWED),this[2].push(r.Segment.PUBLISHER_TC))}}},8780:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(4014)),r(n(1333))},1265:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="DecodingError",n}return r(t,e),t}(Error);t.DecodingError=o},5181:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="EncodingError",n}return r(t,e),t}(Error);t.EncodingError=o},9565:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t){var n=e.call(this,t)||this;return n.name="GVLError",n}return r(t,e),t}(Error);t.GVLError=o},9995:function(e,t){"use strict";var n,r=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0});var o=function(e){function t(t,n,r){void 0===r&&(r="");var o=e.call(this,"invalid value "+n+" passed for "+t+" "+r)||this;return o.name="TCModelError",o}return r(t,e),t}(Error);t.TCModelError=o},5458:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(1265)),r(n(5181)),r(n(9565)),r(n(9995))},5088:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(7170)),r(n(5458)),r(n(250)),r(n(5186)),r(n(7061)),r(n(6056)),r(n(6382)),r(n(2381))},5995:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.root=null,t}return o(t,e),t.prototype.isEmpty=function(){return!this.root},t.prototype.add=function(e){var t,n={value:e,left:null,right:null};if(this.isEmpty())this.root=n;else for(t=this.root;;)if(et.value))break;if(null===t.right){t.right=n;break}t=t.right}},t.prototype.get=function(){for(var e=[],t=this.root;t;)if(t.left){for(var n=t.left;n.right&&n.right!=t;)n=n.right;n.right==t?(n.right=null,e.push(t.value),t=t.right):(n.right=t,t=t.left)}else e.push(t.value),t=t.right;return e},t.prototype.contains=function(e){for(var t=!1,n=this.root;n;){if(n.value===e){t=!0;break}e>n.value?n=n.right:et.value)n=t,t=t.right,r="right";else{if(t.left||t.right)if(t.left)if(t.right){var o=this.min(t.right);this.remove(o,t.right),t.value=o}else n?n[r]=t.left:this.root=t.left;else n?n[r]=t.right:this.root=t.right;else n?n[r]=null:this.root=null;t=null}},t}(n(5186).Cloneable);t.BinarySearchTree=i},5301:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.prototype.has=function(t){return e.langSet.has(t)},e.prototype.forEach=function(t){e.langSet.forEach(t)},Object.defineProperty(e.prototype,"size",{get:function(){return e.langSet.size},enumerable:!0,configurable:!0}),e.langSet=new Set(["BG","CA","CS","DA","DE","EL","EN","ES","ET","FI","FR","HR","HU","IT","JA","LT","LV","MT","NL","NO","PL","PT","RO","RU","SK","SL","SV","TR","ZH"]),e}();t.ConsentLanguages=n},4243:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.DeviceDisclosureStorageAccessType||(t.DeviceDisclosureStorageAccessType={})).COOKIE="cookie",n.WEB="web",n.APP="app"},4731:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.cmpId="cmpId",e.cmpVersion="cmpVersion",e.consentLanguage="consentLanguage",e.consentScreen="consentScreen",e.created="created",e.supportOOB="supportOOB",e.isServiceSpecific="isServiceSpecific",e.lastUpdated="lastUpdated",e.numCustomPurposes="numCustomPurposes",e.policyVersion="policyVersion",e.publisherCountryCode="publisherCountryCode",e.publisherCustomConsents="publisherCustomConsents",e.publisherCustomLegitimateInterests="publisherCustomLegitimateInterests",e.publisherLegitimateInterests="publisherLegitimateInterests",e.publisherConsents="publisherConsents",e.publisherRestrictions="publisherRestrictions",e.purposeConsents="purposeConsents",e.purposeLegitimateInterests="purposeLegitimateInterests",e.purposeOneTreatment="purposeOneTreatment",e.specialFeatureOptins="specialFeatureOptins",e.useNonStandardStacks="useNonStandardStacks",e.vendorConsents="vendorConsents",e.vendorLegitimateInterests="vendorLegitimateInterests",e.vendorListVersion="vendorListVersion",e.vendorsAllowed="vendorsAllowed",e.vendorsDisclosed="vendorsDisclosed",e.version="version",e}();t.Fields=n},8626:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(5186),s=n(5458),a=n(2473),u=function(e){function t(t,n){var r=e.call(this)||this;return void 0!==t&&(r.purposeId=t),void 0!==n&&(r.restrictionType=n),r}return o(t,e),t.unHash=function(e){var n=e.split(this.hashSeparator),r=new t;if(2!==n.length)throw new s.TCModelError("hash",e);return r.purposeId=parseInt(n[0],10),r.restrictionType=parseInt(n[1],10),r},Object.defineProperty(t.prototype,"hash",{get:function(){if(!this.isValid())throw new Error("cannot hash invalid PurposeRestriction");return""+this.purposeId+t.hashSeparator+this.restrictionType},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"purposeId",{get:function(){return this.purposeId_},set:function(e){this.purposeId_=e},enumerable:!0,configurable:!0}),t.prototype.isValid=function(){return Number.isInteger(this.purposeId)&&this.purposeId>0&&(this.restrictionType===a.RestrictionType.NOT_ALLOWED||this.restrictionType===a.RestrictionType.REQUIRE_CONSENT||this.restrictionType===a.RestrictionType.REQUIRE_LI)},t.prototype.isSameAs=function(e){return this.purposeId===e.purposeId&&this.restrictionType===e.restrictionType},t.hashSeparator="-",t}(i.Cloneable);t.PurposeRestriction=u},7096:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(t,"__esModule",{value:!0});var s=n(8626),a=n(5995),u=n(2473),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.bitLength=0,t.map=new Map,t}return o(t,e),t.prototype.has=function(e){return this.map.has(e)},t.prototype.isOkToHave=function(e,t,n){var r,o=!0;if(null===(r=this.gvl)||void 0===r?void 0:r.vendors){var i=this.gvl.vendors[n];if(i)if(e===u.RestrictionType.NOT_ALLOWED)o=i.legIntPurposes.includes(t)||i.purposes.includes(t);else if(i.flexiblePurposes.length)switch(e){case u.RestrictionType.REQUIRE_CONSENT:o=i.flexiblePurposes.includes(t)&&i.legIntPurposes.includes(t);break;case u.RestrictionType.REQUIRE_LI:o=i.flexiblePurposes.includes(t)&&i.purposes.includes(t)}else o=!1;else o=!1}return o},t.prototype.add=function(e,t){if(this.isOkToHave(t.restrictionType,t.purposeId,e)){var n=t.hash;this.has(n)||(this.map.set(n,new a.BinarySearchTree),this.bitLength=0),this.map.get(n).add(e)}},t.prototype.restrictPurposeToLegalBasis=function(e){for(var t=this.gvl.vendorIds,n=e.hash,r=function(){var e,n,r;try{for(var o=i(t),s=o.next();!s.done;s=o.next())r=s.value}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(e)throw e.error}}return r}(),o=1;o<=r;o++)this.has(n)||(this.map.set(n,new a.BinarySearchTree),this.bitLength=0),this.map.get(n).add(o)},t.prototype.getVendors=function(e){var t=[];if(e){var n=e.hash;this.has(n)&&(t=this.map.get(n).get())}else{var r=new Set;this.map.forEach((function(e){e.get().forEach((function(e){r.add(e)}))})),t=Array.from(r)}return t},t.prototype.getRestrictionType=function(e,t){var n;return this.getRestrictions(e).forEach((function(e){e.purposeId===t&&(void 0===n||n>e.restrictionType)&&(n=e.restrictionType)})),n},t.prototype.vendorHasRestriction=function(e,t){for(var n=!1,r=this.getRestrictions(e),o=0;o{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.RestrictionType||(t.RestrictionType={}))[n.NOT_ALLOWED=0]="NOT_ALLOWED",n[n.REQUIRE_CONSENT=1]="REQUIRE_CONSENT",n[n.REQUIRE_LI=2]="REQUIRE_LI"},4858:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.Segment||(t.Segment={})).CORE="core",n.VENDORS_DISCLOSED="vendorsDisclosed",n.VENDORS_ALLOWED="vendorsAllowed",n.PUBLISHER_TC="publisherTC"},6130:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(4858),i=function(){function e(){}return e.ID_TO_KEY=[o.Segment.CORE,o.Segment.VENDORS_DISCLOSED,o.Segment.VENDORS_ALLOWED,o.Segment.PUBLISHER_TC],e.KEY_TO_ID=((r={})[o.Segment.CORE]=0,r[o.Segment.VENDORS_DISCLOSED]=1,r[o.Segment.VENDORS_ALLOWED]=2,r[o.Segment.PUBLISHER_TC]=3,r),e}();t.SegmentIDs=i},6315:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__generator||function(e,t){var n,r,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!(o=(o=s.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0},t.prototype.isSet=function(e){var t=!1;return e instanceof Set&&(t=Array.from(e).every(this.isValidNumber)),t},t.prototype.set=function(e){var t=this;if(Array.isArray(e))e.forEach((function(e){return t.set(e)}));else if(this.isSet(e))this.set(Array.from(e));else if(this.isIntMap(e))this.set(Object.keys(e).map((function(e){return+e})));else{if(!this.isValidNumber(e))throw new a.TCModelError("set()",e,"must be positive integer array, positive integer, Set, or IntMap");this.set_.add(e),this.maxId_=Math.max(this.maxId,e),this.bitLength=0}},t.prototype.empty=function(){this.set_=new Set},t.prototype.forEach=function(e){for(var t=1;t<=this.maxId;t++)e(this.has(t),t)},Object.defineProperty(t.prototype,"size",{get:function(){return this.set_.size},enumerable:!0,configurable:!0}),t.prototype.setAll=function(e){this.set(e)},t}(s.Cloneable);t.Vector=u},250:(e,t,n)=>{"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n(5995)),r(n(5301)),r(n(4731)),r(n(8626)),r(n(7096)),r(n(4243)),r(n(2473)),r(n(4858)),r(n(6130)),r(n(6315))},2328:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>S,cE:()=>C,td:()=>m,vc:()=>R,qs:()=>D,bF:()=>M});var r=n(6400),o=n(396);function i(){throw new Error("Cycle detected")}var s=Symbol.for("preact-signals");function a(){if(f>1)f--;else{for(var e,t=!1;void 0!==p;){var n=p;for(p=void 0,d++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&y(n))try{n.c()}catch(n){t||(e=n,t=!0)}n=r}}if(d=0,f--,t)throw e}}var u=void 0;var c,l,p=void 0,f=0,d=0,h=0;function _(e){if(void 0!==u){var t=e.n;if(void 0===t||t.t!==u)return t={i:0,S:e,p:u.s,n:void 0,t:u,e:void 0,x:void 0,r:t},void 0!==u.s&&(u.s.n=t),u.s=t,e.n=t,32&u.f&&e.S(t),t;if(-1===t.i)return t.i=0,void 0!==t.n&&(t.n.p=t.p,void 0!==t.p&&(t.p.n=t.n),t.p=u.s,t.n=void 0,u.s.n=t,u.s=t),t}}function v(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}function m(e){return new v(e)}function y(e){for(var t=e.s;void 0!==t;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function g(e){for(var t=e.s;void 0!==t;t=t.n){var n=t.S.n;if(void 0!==n&&(t.r=n),t.S.n=t,t.i=-1,void 0===t.n){e.s=t;break}}}function b(e){for(var t=e.s,n=void 0;void 0!==t;){var r=t.p;-1===t.i?(t.S.U(t),void 0!==r&&(r.n=t.n),void 0!==t.n&&(t.n.p=r)):n=t,t.S.n=t.r,void 0!==t.r&&(t.r=void 0),t=r}e.s=n}function E(e){v.call(this,void 0),this.x=e,this.s=void 0,this.g=h-1,this.f=4}function S(e){return new E(e)}function w(e){var t=e.u;if(e.u=void 0,"function"==typeof t){f++;var n=u;u=void 0;try{t()}catch(t){throw e.f&=-2,e.f|=8,O(e),t}finally{u=n,a()}}}function O(e){for(var t=e.s;void 0!==t;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,w(e)}function I(e){if(u!==this)throw new Error("Out-of-order effect");b(this),u=e,this.f&=-2,8&this.f&&O(this),a()}function T(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}function C(e){var t=new T(e);try{t.c()}catch(e){throw t.d(),e}return t.d.bind(t)}function A(e,t){r.YM[e]=t.bind(null,r.YM[e]||function(){})}function N(e){l&&l(),l=e&&e.S()}function P(e){var t=this,n=e.data,i=D(n);i.value=n;var s=(0,o.Ye)((function(){for(var e=t.__v;e=e.__;)if(e.__c){e.__c.__$f|=4;break}return t.__$u.c=function(){var e;(0,r.l$)(s.peek())||3!==(null==(e=t.base)?void 0:e.nodeType)?(t.__$f|=1,t.setState({})):t.base.data=s.peek()},S((function(){var e=i.value.value;return 0===e?0:!0===e?"":e||""}))}),[]);return s.value}function L(e,t,n,r){var o=t in e&&void 0===e.ownerSVGElement,i=m(n);return{o:function(e,t){i.value=e,r=t},d:C((function(){var n=i.value.value;r[t]!==n&&(r[t]=n,o?e[t]=n:n?e.setAttribute(t,n):e.removeAttribute(t))}))}}function D(e){return(0,o.Ye)((function(){return m(e)}),[])}function R(e){var t=(0,o.sO)(e);return t.current=e,c.__$f|=4,(0,o.Ye)((function(){return S((function(){return t.current()}))}),[])}function M(e){var t=(0,o.sO)(e);t.current=e,(0,o.d4)((function(){return C((function(){return t.current()}))}),[])}v.prototype.brand=s,v.prototype.h=function(){return!0},v.prototype.S=function(e){this.t!==e&&void 0===e.e&&(e.x=this.t,void 0!==this.t&&(this.t.e=e),this.t=e)},v.prototype.U=function(e){if(void 0!==this.t){var t=e.e,n=e.x;void 0!==t&&(t.x=n,e.e=void 0),void 0!==n&&(n.e=t,e.x=void 0),e===this.t&&(this.t=n)}},v.prototype.subscribe=function(e){var t=this;return C((function(){var n=t.value,r=32&this.f;this.f&=-33;try{e(n)}finally{this.f|=r}}))},v.prototype.valueOf=function(){return this.value},v.prototype.toString=function(){return this.value+""},v.prototype.toJSON=function(){return this.value},v.prototype.peek=function(){return this.v},Object.defineProperty(v.prototype,"value",{get:function(){var e=_(this);return void 0!==e&&(e.i=this.i),this.v},set:function(e){if(u instanceof E&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){d>100&&i(),this.v=e,this.i++,h++,f++;try{for(var t=this.t;void 0!==t;t=t.x)t.t.N()}finally{a()}}}}),(E.prototype=new v).h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===h)return!0;if(this.g=h,this.f|=1,this.i>0&&!y(this))return this.f&=-2,!0;var e=u;try{g(this),u=this;var t=this.x();(16&this.f||this.v!==t||0===this.i)&&(this.v=t,this.f&=-17,this.i++)}catch(e){this.v=e,this.f|=16,this.i++}return u=e,b(this),this.f&=-2,!0},E.prototype.S=function(e){if(void 0===this.t){this.f|=36;for(var t=this.s;void 0!==t;t=t.n)t.S.S(t)}v.prototype.S.call(this,e)},E.prototype.U=function(e){if(void 0!==this.t&&(v.prototype.U.call(this,e),void 0===this.t)){this.f&=-33;for(var t=this.s;void 0!==t;t=t.n)t.S.U(t)}},E.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;void 0!==e;e=e.x)e.t.N()}},E.prototype.peek=function(){if(this.h()||i(),16&this.f)throw this.v;return this.v},Object.defineProperty(E.prototype,"value",{get:function(){1&this.f&&i();var e=_(this);if(this.h(),void 0!==e&&(e.i=this.i),16&this.f)throw this.v;return this.v}}),T.prototype.c=function(){var e=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var t=this.x();"function"==typeof t&&(this.u=t)}finally{e()}},T.prototype.S=function(){1&this.f&&i(),this.f|=1,this.f&=-9,w(this),g(this),f++;var e=u;return u=this,I.bind(this,e)},T.prototype.N=function(){2&this.f||(this.f|=2,this.o=p,p=this)},T.prototype.d=function(){this.f|=8,1&this.f||O(this)},P.displayName="_st",Object.defineProperties(v.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:P},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),A("__b",(function(e,t){if("string"==typeof t.type){var n,r=t.props;for(var o in r)if("children"!==o){var i=r[o];i instanceof v&&(n||(t.__np=n={}),n[o]=i,r[o]=i.peek())}}e(t)})),A("__r",(function(e,t){N();var n,r=t.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(e){var t;return C((function(){t=this})),t.c=function(){r.__$f|=1,r.setState({})},t}())),c=r,N(n),e(t)})),A("__e",(function(e,t,n,r){N(),c=void 0,e(t,n,r)})),A("diffed",(function(e,t){var n;if(N(),c=void 0,"string"==typeof t.type&&(n=t.__e)){var r=t.__np,o=t.props;if(r){var i=n.U;if(i)for(var s in i){var a=i[s];void 0===a||s in r||(a.d(),i[s]=void 0)}else n.U=i={};for(var u in r){var l=i[u],p=r[u];void 0===l?(l=L(n,u,p,o),i[u]=l):l.o(p,o)}}}e(t)})),A("unmount",(function(e,t){if("string"==typeof t.type){var n=t.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}}else{var s=t.__c;if(s){var a=s.__$u;a&&(s.__$u=void 0,a.d())}}e(t)})),A("__h",(function(e,t,n,r){(r<3||9===r)&&(t.__$f|=2),e(t,n,r)})),r.wA.prototype.shouldComponentUpdate=function(e,t){var n=this.__$u;if(!(n&&void 0!==n.s||4&this.__$f))return!0;if(3&this.__$f)return!0;for(var r in t)return!0;for(var o in e)if("__source"!==o&&e[o]!==this.props[o])return!0;for(var i in this.props)if(!(i in e))return!0;return!1}},2413:e=>{e.exports=function(e){var t,n,r,o,i=(n=function(){var e=function(e){return void 0!==e},t=function(){var t="u";try{e(y.getWindow().opera)&&e(y.getWindow().opera.buildNumber)?t="o":e(y.getWindow().mozInnerScreenY)?t="g":e(y.getWindow().chrome)&&e(y.getWindow().chrome.csi)?t="c":e(y.getWindow().msWriteProfilerMark)&&e(y.getWindow().crypto)?t="e":e(y.getWindow().attachEvent)||e(y.getWindow().msCrypto)?t="i":e(y.getWindow().WebKitPoint)&&(t="w")}catch(e){}return t}(),n=function(){var t,n=function(){var t={g:"",q:""};try{t.q=y.getWindow().parent.parent.parent.parent.parent.parent.parent.parent.parent.parent.location.href}catch(i){var n,r=(r=i.message).substring(r.lastIndexOf("<")+1,r.lastIndexOf(">"));if((n=e(r))&&(n=!1,e(y.getWindow().navigator)&&e(y.getWindow().navigator.userAgent))){y.getWindow();var o=y.getWindow().navigator.userAgent.match(/Firefox\/([\.0-9]+)/);null!==o&&2==o.length&&(o=o[1].split("."),3==parseInt(o[0],10)&&6>=parseInt(o[1],10)&&(3==o.length?13>=parseInt(o[2],10)&&(n=!0):n=!0))}n&&(t.g=r)}return t},r={};try{r.a=encodeURIComponent(y.getWindow().top.location.href)}catch(e){}try{r.b=encodeURIComponent(y.getWindow().parent.location.href)}catch(e){}if(!y.windowIsTop()){try{r.c=encodeURIComponent(y.getWindow().parent.document.referrer)}catch(e){}try{r.e=encodeURIComponent(y.getWindow().document.referrer)}catch(e){}}try{r.d=encodeURIComponent(y.getWindow().location.href)}catch(e){}try{var o=n();r.g=encodeURIComponent(o.g||""),r.q=encodeURIComponent(o.q||"");var i=function(){var e=y.getWindow().location;return e&&e.ancestorOrigins?e.ancestorOrigins:[]}();!a.isFriendly()&&1t.val.length?1:e.val.length{"use strict";var r=n(9864),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},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?s:a[e.$$typeof]||o}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var s=l(n);p&&(s=s.concat(p(n)));for(var a=u(t),_=u(n),v=0;v{var r,o=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",r={};function o(e,t){if(!r[e]){r[e]={};for(var n=0;n>>8,n[2*r+1]=s%256}return n},decompressFromUint8Array:function(t){if(null==t)return i.decompress(t);for(var n=new Array(t.length/2),r=0,o=n.length;r>=1}else{for(o=1,r=0;r>=1}0==--p&&(p=Math.pow(2,d),d++),delete a[l]}else for(o=s[l],r=0;r>=1;0==--p&&(p=Math.pow(2,d),d++),s[c]=f++,l=String(u)}if(""!==l){if(Object.prototype.hasOwnProperty.call(a,l)){if(l.charCodeAt(0)<256){for(r=0;r>=1}else{for(o=1,r=0;r>=1}0==--p&&(p=Math.pow(2,d),d++),delete a[l]}else for(o=s[l],r=0;r>=1;0==--p&&(p=Math.pow(2,d),d++)}for(o=2,r=0;r>=1;for(;;){if(_<<=1,v==t-1){h.push(n(_));break}v++}return h.join("")},decompress:function(e){return null==e?"":""==e?null:i._decompress(e.length,32768,(function(t){return e.charCodeAt(t)}))},_decompress:function(t,n,r){var o,i,s,a,u,c,l,p=[],f=4,d=4,h=3,_="",v=[],m={val:r(0),position:n,index:1};for(o=0;o<3;o+=1)p[o]=o;for(s=0,u=Math.pow(2,2),c=1;c!=u;)a=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=r(m.index++)),s|=(a>0?1:0)*c,c<<=1;switch(s){case 0:for(s=0,u=Math.pow(2,8),c=1;c!=u;)a=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=r(m.index++)),s|=(a>0?1:0)*c,c<<=1;l=e(s);break;case 1:for(s=0,u=Math.pow(2,16),c=1;c!=u;)a=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=r(m.index++)),s|=(a>0?1:0)*c,c<<=1;l=e(s);break;case 2:return""}for(p[3]=l,i=l,v.push(l);;){if(m.index>t)return"";for(s=0,u=Math.pow(2,h),c=1;c!=u;)a=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=r(m.index++)),s|=(a>0?1:0)*c,c<<=1;switch(l=s){case 0:for(s=0,u=Math.pow(2,8),c=1;c!=u;)a=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=r(m.index++)),s|=(a>0?1:0)*c,c<<=1;p[d++]=e(s),l=d-1,f--;break;case 1:for(s=0,u=Math.pow(2,16),c=1;c!=u;)a=m.val&m.position,m.position>>=1,0==m.position&&(m.position=n,m.val=r(m.index++)),s|=(a>0?1:0)*c,c<<=1;p[d++]=e(s),l=d-1,f--;break;case 2:return v.join("")}if(0==f&&(f=Math.pow(2,h),h++),p[l])_=p[l];else{if(l!==d)return null;_=i+i.charAt(0)}v.push(_),p[d++]=i+_.charAt(0),i=_,0==--f&&(f=Math.pow(2,h),h++)}}};return i}();void 0===(r=function(){return o}.call(t,n,t,e))||(e.exports=r)},8661:(e,t,n)=>{"use strict";n.d(t,{Ye:()=>o.Ye,ZP:()=>K,_Y:()=>o._Y,bt:()=>o.bt,d4:()=>o.d4,jz:()=>S,mm:()=>j,qp:()=>o.qp,sO:()=>o.sO});var r=n(6400),o=n(396);function i(e,t){for(var n in t)e[n]=t[n];return e}function s(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function a(e,t){this.props=e,this.context=t}(a.prototype=new r.wA).isPureReactComponent=!0,a.prototype.shouldComponentUpdate=function(e,t){return s(this.props,e)||s(this.state,t)};var u=r.YM.__b;r.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),u&&u(e)};var c="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var l=function(e,t){return null==e?null:(0,r.bR)((0,r.bR)(e).map(t))},p={map:l,forEach:l,count:function(e){return e?(0,r.bR)(e).length:0},only:function(e){var t=(0,r.bR)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:r.bR},f=r.YM.__e;r.YM.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);f(e,t,n,r)};var d=r.YM.unmount;function h(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=i({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return h(e,t,n)}))),e}function _(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return _(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function v(){this.__u=0,this.t=null,this.__b=null}function m(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function y(){this.u=null,this.o=null}r.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),d&&d(e)},(v.prototype=new r.wA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=m(r.__v),i=!1,s=function(){i||(i=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=_(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(s,s)},v.prototype.componentWillUnmount=function(){this.t=[]},v.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=h(this.__b,n,o.__O=o.__P)}this.__b=null}var i=t.__a&&(0,r.az)(r.HY,null,e.fallback);return i&&(i.__u&=-33),[(0,r.az)(r.HY,null,t.__a?null:e.children),i]};var g=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]>>1,1),t.i.removeChild(e)}}),(0,r.sY)((0,r.az)(b,{context:t.context},e.__v),t.l)}function S(e,t){var n=(0,r.az)(E,{__v:e,i:t});return n.containerInfo=t,n}(y.prototype=new r.wA).__a=function(e){var t=this,n=m(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),g(t,e,r)):o()};n?n(i):i()}},y.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,r.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},y.prototype.componentDidUpdate=y.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){g(e,n,t)}))};var w="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,O=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,I=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,T=/[A-Z0-9]/g,C="undefined"!=typeof document,A=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};r.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var N=r.YM.event;function P(){}function L(){return this.cancelBubble}function D(){return this.defaultPrevented}r.YM.event=function(e){return N&&(e=N(e)),e.persist=P,e.isPropagationStopped=L,e.isDefaultPrevented=D,e.nativeEvent=e};var R,M={enumerable:!1,configurable:!0,get:function(){return this.class}},x=r.YM.vnode;r.YM.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,o={};for(var i in t){var s=t[i];if(!("value"===i&&"defaultValue"in t&&null==s||C&&"children"===i&&"noscript"===n||"class"===i||"className"===i)){var a=i.toLowerCase();"defaultValue"===i&&"value"in t&&null==t.value?i="value":"download"===i&&!0===s?s="":"translate"===a&&"no"===s?s=!1:"ondoubleclick"===a?i="ondblclick":"onchange"!==a||"input"!==n&&"textarea"!==n||A(t.type)?"onfocus"===a?i="onfocusin":"onblur"===a?i="onfocusout":I.test(i)?i=a:-1===n.indexOf("-")&&O.test(i)?i=i.replace(T,"-$&").toLowerCase():null===s&&(s=void 0):a=i="oninput","oninput"===a&&o[i=a]&&(i="oninputCapture"),o[i]=s}}"select"==n&&o.multiple&&Array.isArray(o.value)&&(o.value=(0,r.bR)(t.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==n&&null!=o.defaultValue&&(o.value=(0,r.bR)(t.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),t.class&&!t.className?(o.class=t.class,Object.defineProperty(o,"className",M)):(t.className&&!t.class||t.class&&t.className)&&(o.class=o.className=t.className),e.props=o}(e),e.$$typeof=w,x&&x(e)};var k=r.YM.__r;r.YM.__r=function(e){k&&k(e),R=e.__c};var F=r.YM.diffed;r.YM.diffed=function(e){F&&F(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),R=null};var U={ReactCurrentDispatcher:{current:{readContext:function(e){return R.__n[e.__c].props.value},useCallback:o.I4,useContext:o.qp,useDebugValue:o.Qb,useDeferredValue:G,useEffect:o.d4,useId:o.Me,useImperativeHandle:o.aP,useInsertionEffect:Y,useLayoutEffect:o.bt,useMemo:o.Ye,useReducer:o._Y,useRef:o.sO,useState:o.eJ,useSyncExternalStore:$,useTransition:W}}};function V(e){return!!e&&e.$$typeof===w}var j=function(e,t){return e(t)},B=r.HY;function H(e){e()}function G(e){return e}function W(){return[!1,H]}var Y=o.bt,z=V;function $(e,t){var n=t(),r=(0,o.eJ)({h:{__:n,v:t}}),i=r[0].h,s=r[1];return(0,o.bt)((function(){i.__=n,i.v=t,q(i)&&s({h:i})}),[e,n,t]),(0,o.d4)((function(){return q(i)&&s({h:i}),e((function(){q(i)&&s({h:i})}))}),[e]),n}function q(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var K={useState:o.eJ,useId:o.Me,useReducer:o._Y,useEffect:o.d4,useLayoutEffect:o.bt,useInsertionEffect:Y,useTransition:W,useDeferredValue:G,useSyncExternalStore:$,startTransition:H,useRef:o.sO,useImperativeHandle:o.aP,useMemo:o.Ye,useCallback:o.I4,useContext:o.qp,useDebugValue:o.Qb,version:"17.0.2",Children:p,render:function(e,t,n){return null==t.__k&&(t.textContent=""),(0,r.sY)(e,t),"function"==typeof n&&n(),e?e.__c:null},hydrate:function(e,t,n){return(0,r.ZB)(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&((0,r.sY)(null,e),!0)},createPortal:S,createElement:r.az,createContext:r.kr,createFactory:function(e){return r.az.bind(null,e)},cloneElement:function(e){return V(e)?r.Tm.apply(null,arguments):e},createRef:r.Vf,Fragment:r.HY,isValidElement:V,isElement:z,isFragment:function(e){return V(e)&&e.type===r.HY},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:r.wA,PureComponent:a,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:s(this.props,e)}function o(t){return this.shouldComponentUpdate=n,(0,r.az)(e,t)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o},forwardRef:function(e){function t(t){var n=i({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=c,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:j,StrictMode:B,Suspense:v,SuspenseList:y,lazy:function(e){var t,n,o;function i(i){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){o=e})),o)throw o;if(!n)throw t;return(0,r.az)(n,i)}return i.displayName="Lazy",i.__f=!0,i},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:U}},8432:(e,t,n)=>{"use strict";var r=n(6400);"undefined"!=typeof window&&window.__PREACT_DEVTOOLS__&&window.__PREACT_DEVTOOLS__.attachPreact("10.22.0",r.YM,{Fragment:r.HY,Component:r.wA});var o={};function i(e){return e.type===r.HY?"Fragment":"function"==typeof e.type?e.type.displayName||e.type.name:"string"==typeof e.type?e.type:"#text"}var s=[],a=[];function u(){return s.length>0?s[s.length-1]:null}var c=!0;function l(e){return"function"==typeof e.type&&e.type!=r.HY}function p(e){for(var t=[e],n=e;null!=n.__o;)t.push(n.__o),n=n.__o;return t.reduce((function(e,t){e+=" in "+i(t);var n=t.__source;return n?e+=" (at "+n.fileName+":"+n.lineNumber+")":c&&console.warn("Add @babel/plugin-transform-react-jsx-source to get a more detailed component stack. Note that you should not add it to production builds of your App for bundle size reasons."),c=!1,e+"\n"}),"")}var f="function"==typeof WeakMap;function d(e){var t=[];return e.__k?(e.__k.forEach((function(e){e&&"function"==typeof e.type?t.push.apply(t,d(e)):e&&"string"==typeof e.type&&t.push(e.type)})),t):t}function h(e){return e?"function"==typeof e.type?null===e.__?null!==e.__e&&null!==e.__e.parentNode?e.__e.parentNode.localName:"":h(e.__):e.type:""}var _=r.wA.prototype.setState;function v(e){return"table"===e||"tfoot"===e||"tbody"===e||"thead"===e||"td"===e||"tr"===e||"th"===e}r.wA.prototype.setState=function(e,t){return null==this.__v&&null==this.state&&console.warn('Calling "this.setState" inside the constructor of a component is a no-op and might be a bug in your application. Instead, set "this.state = {}" directly.\n\n'+p(u())),_.call(this,e,t)};var m=/^(address|article|aside|blockquote|details|div|dl|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hgroup|hr|main|menu|nav|ol|p|pre|search|section|table|ul)$/,y=r.wA.prototype.forceUpdate;function g(e){var t=e.props,n=i(e),r="";for(var o in t)if(t.hasOwnProperty(o)&&"children"!==o){var s=t[o];"function"==typeof s&&(s="function "+(s.displayName||s.name)+"() {}"),s=Object(s)!==s||s.toString?s+"":Object.prototype.toString.call(s),r+=" "+o+"="+JSON.stringify(s)}var a=t.children;return"<"+n+r+(a&&a.length?">..":" />")}r.wA.prototype.forceUpdate=function(e){return null==this.__v?console.warn('Calling "this.forceUpdate" inside the constructor of a component is a no-op and might be a bug in your application.\n\n'+p(u())):null==this.__P&&console.warn('Can\'t call "this.forceUpdate" on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.\n\n'+p(this.__v)),y.call(this,e)},function(){!function(){var e=r.YM.__b,t=r.YM.diffed,n=r.YM.__,o=r.YM.vnode,i=r.YM.__r;r.YM.diffed=function(e){l(e)&&a.pop(),s.pop(),t&&t(e)},r.YM.__b=function(t){l(t)&&s.push(t),e&&e(t)},r.YM.__=function(e,t){a=[],n&&n(e,t)},r.YM.vnode=function(e){e.__o=a.length>0?a[a.length-1]:null,o&&o(e)},r.YM.__r=function(e){l(e)&&a.push(e),i&&i(e)}}();var e=!1,t=r.YM.__b,n=r.YM.diffed,u=r.YM.vnode,c=r.YM.__r,_=r.YM.__e,y=r.YM.__,b=r.YM.__h,E=f?{useEffect:new WeakMap,useLayoutEffect:new WeakMap,lazyPropTypes:new WeakMap}:null,S=[];r.YM.__e=function(e,t,n,r){if(t&&t.__c&&"function"==typeof e.then){var o=e;e=new Error("Missing Suspense. The throwing component was: "+i(t));for(var s=t;s;s=s.__)if(s.__c&&s.__c.__c){e=o;break}if(e instanceof Error)throw e}try{(r=r||{}).componentStack=p(t),_(e,t,n,r),"function"!=typeof e.then&&setTimeout((function(){throw e}))}catch(e){throw e}},r.YM.__=function(e,t){if(!t)throw new Error("Undefined parent passed to render(), this is the second argument.\nCheck if the element is available in the DOM/has the correct id.");var n;switch(t.nodeType){case 1:case 11:case 9:n=!0;break;default:n=!1}if(!n){var r=i(e);throw new Error("Expected a valid HTML node as a second argument to render.\tReceived "+t+" instead: render(<"+r+" />, "+t+");")}y&&y(e,t)},r.YM.__b=function(n){var r=n.type;if(e=!0,void 0===r)throw new Error("Undefined component passed to createElement()\n\nYou likely forgot to export your component or might have mixed up default and named imports"+g(n)+"\n\n"+p(n));if(null!=r&&"object"==typeof r){if(void 0!==r.__k&&void 0!==r.__e)throw new Error("Invalid type passed to createElement(): "+r+"\n\nDid you accidentally pass a JSX literal as JSX twice?\n\n let My"+i(n)+" = "+g(r)+";\n let vnode = ;\n\nThis usually happens when you export a JSX literal and not the component.\n\n"+p(n));throw new Error("Invalid type passed to createElement(): "+(Array.isArray(r)?"array":r))}if(void 0!==n.ref&&"function"!=typeof n.ref&&"object"!=typeof n.ref&&!("$$typeof"in n))throw new Error('Component\'s "ref" property should be a function, or an object created by createRef(), but got ['+typeof n.ref+"] instead\n"+g(n)+"\n\n"+p(n));if("string"==typeof n.type)for(var s in n.props)if("o"===s[0]&&"n"===s[1]&&"function"!=typeof n.props[s]&&null!=n.props[s])throw new Error("Component's \""+s+'" property should be a function, but got ['+typeof n.props[s]+"] instead\n"+g(n)+"\n\n"+p(n));if("function"==typeof n.type&&n.type.propTypes){if("Lazy"===n.type.displayName&&E&&!E.lazyPropTypes.has(n.type)){var a="PropTypes are not supported on lazy(). Use propTypes on the wrapped component itself. ";try{var u=n.type();E.lazyPropTypes.set(n.type,!0),console.warn(a+"Component wrapped in lazy() is "+i(u))}catch(e){console.warn(a+"We will log the wrapped component's name once it is loaded.")}}var c=n.props;n.type.__f&&delete(c=function(e,t){for(var n in t)e[n]=t[n];return e}({},c)).ref,function(e,t,n,r,i){Object.keys(e).forEach((function(n){var s;try{s=e[n](t,n,r,"prop",null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}s&&!(s.message in o)&&(o[s.message]=!0,console.error("Failed prop type: "+s.message+(i&&"\n"+i()||"")))}))}(n.type.propTypes,c,0,i(n),(function(){return p(n)}))}t&&t(n)};var w,O=0;r.YM.__r=function(t){c&&c(t),e=!0;var n=t.__c;if(n===w?O++:O=1,O>=25)throw new Error("Too many re-renders. This is limited to prevent an infinite loop which may lock up your browser. The component causing this is: "+i(t));w=n},r.YM.__h=function(t,n,r){if(!t||!e)throw new Error("Hook can only be invoked from render methods.");b&&b(t,n,r)};var I=function(e,t){return{get:function(){var n="get"+e+t;S&&S.indexOf(n)<0&&(S.push(n),console.warn("getting vnode."+e+" is deprecated, "+t))},set:function(){var n="set"+e+t;S&&S.indexOf(n)<0&&(S.push(n),console.warn("setting vnode."+e+" is not allowed, "+t))}}},T={nodeName:I("nodeName","use vnode.type"),attributes:I("attributes","use vnode.props"),children:I("children","use vnode.props.children")},C=Object.create({},T);r.YM.vnode=function(e){var t=e.props;if(null!==e.type&&null!=t&&("__source"in t||"__self"in t)){var n=e.props={};for(var r in t){var o=t[r];"__source"===r?e.__source=o:"__self"===r?e.__self=o:n[r]=o}}e.__proto__=C,u&&u(e)},r.YM.diffed=function(t){var r,o=t.type,s=t.__;if(t.__k&&t.__k.forEach((function(e){if("object"==typeof e&&e&&void 0===e.type){var n=Object.keys(e).join(",");throw new Error("Objects are not valid as a child. Encountered an object with the keys {"+n+"}.\n\n"+p(t))}})),t.__c===w&&(O=0),"string"==typeof o&&(v(o)||"p"===o||"a"===o||"button"===o)){var a=h(s);if(""!==a)"table"===o&&"td"!==a&&v(a)?(console.log(a,s.__e),console.error("Improper nesting of table. Your should not have a table-node parent."+g(t)+"\n\n"+p(t))):"thead"!==o&&"tfoot"!==o&&"tbody"!==o||"table"===a?"tr"===o&&"thead"!==a&&"tfoot"!==a&&"tbody"!==a?console.error("Improper nesting of table. Your should have a parent."+g(t)+"\n\n"+p(t)):"td"===o&&"tr"!==a?console.error("Improper nesting of table. Your parent."+g(t)+"\n\n"+p(t)):"th"===o&&"tr"!==a&&console.error("Improper nesting of table. Your ."+g(t)+"\n\n"+p(t)):console.error("Improper nesting of table. Your should have a
should have a
should have a
parent."+g(t)+"\n\n"+p(t));else if("p"===o){var u=d(t).filter((function(e){return m.test(e)}));u.length&&console.error("Improper nesting of paragraph. Your

should not have "+u.join(", ")+"as child-elements."+g(t)+"\n\n"+p(t))}else"a"!==o&&"button"!==o||-1!==d(t).indexOf(o)&&console.error("Improper nesting of interactive content. Your <"+o+"> should not have other "+("a"===o?"anchor":"button")+" tags as child-elements."+g(t)+"\n\n"+p(t))}if(e=!1,n&&n(t),null!=t.__k)for(var c=[],l=0;l{"use strict";n.d(t,{HY:()=>O,Tm:()=>z,Vf:()=>w,YM:()=>o,ZB:()=>Y,az:()=>E,bR:()=>R,h:()=>E,kr:()=>$,l$:()=>s,sY:()=>W,wA:()=>I});var r,o,i,s,a,u,c,l,p,f,d,h,_={},v=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,y=Array.isArray;function g(e,t){for(var n in t)e[n]=t[n];return e}function b(e){var t=e.parentNode;t&&t.removeChild(e)}function E(e,t,n){var o,i,s,a={};for(s in t)"key"==s?o=t[s]:"ref"==s?i=t[s]:a[s]=t[s];if(arguments.length>2&&(a.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return S(e,a,o,i,null)}function S(e,t,n,r,s){var a={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==s?++i:s,__i:-1,__u:0};return null==s&&null!=o.vnode&&o.vnode(a),a}function w(){return{current:null}}function O(e){return e.children}function I(e,t){this.props=e,this.context=t}function T(e,t){if(null==t)return e.__?T(e.__,e.__i+1):null;for(var n;tt&&a.sort(l));N.__r=0}function P(e,t,n,r,o,i,s,a,u,c,l){var p,f,d,h,m,y=r&&r.__k||v,g=t.length;for(n.__d=u,L(n,t,y),u=n.__d,p=0;p0?S(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,a=M(o,n,s,l),o.__i=a,i=null,-1!==a&&(l--,(i=n[a])&&(i.__u|=131072)),null==i||null===i.__v?(-1==a&&p--,"function"!=typeof o.type&&(o.__u|=65536)):a!==s&&(a===s+1?p++:a>s?l>u-s?p+=a-s:p--:a(null!=u&&0==(131072&u.__u)?1:0))for(;s>=0||a=0){if((u=t[s])&&0==(131072&u.__u)&&o==u.key&&i===u.type)return s;s--}if(a2&&(u.children=arguments.length>3?r.call(arguments,2):n),S(e.type,u,o||e.key,i||e.ref,null)}function $(e,t){var n={__c:t="__cC"+h++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,A(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=v.slice,o={__e:function(e,t,n,r){for(var o,i,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),s=o.__d),s)return o.__E=o}catch(t){e=t}throw e}},i=0,s=function(e){return null!=e&&null==e.constructor},I.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=g({},this.state),"function"==typeof e&&(e=e(g({},n),this.props)),e&&g(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),A(this))},I.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),A(this))},I.prototype.render=O,a=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,l=function(e,t){return e.__v.__b-t.__v.__b},N.__r=0,p=0,f=F(!1),d=F(!0),h=0},396:(e,t,n)=>{"use strict";n.d(t,{I4:()=>T,Me:()=>N,Qb:()=>A,Ye:()=>I,_Y:()=>b,aP:()=>O,bt:()=>S,d4:()=>E,eJ:()=>g,qp:()=>C,sO:()=>w});var r,o,i,s,a=n(6400),u=0,c=[],l=[],p=a.YM,f=p.__b,d=p.__r,h=p.diffed,_=p.__c,v=p.unmount,m=p.__;function y(e,t){p.__h&&p.__h(o,e,u||t),u=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:l}),n.__[e]}function g(e){return u=1,b(k,e)}function b(e,t,n){var i=y(r++,2);if(i.t=e,!i.__c&&(i.__=[n?n(t):k(void 0,t),function(e){var t=i.__N?i.__N[0]:i.__[0],n=i.t(t,e);t!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=o,!o.u)){var s=function(e,t,n){if(!i.__c.__H)return!0;var r=i.__c.__H.__.filter((function(e){return!!e.__c}));if(r.every((function(e){return!e.__N})))return!a||a.call(this,e,t,n);var o=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}})),!(!o&&i.__c.props===e)&&(!a||a.call(this,e,t,n))};o.u=!0;var a=o.shouldComponentUpdate,u=o.componentWillUpdate;o.componentWillUpdate=function(e,t,n){if(this.__e){var r=a;a=void 0,s(e,t,n),a=r}u&&u.call(this,e,t,n)},o.shouldComponentUpdate=s}return i.__N||i.__}function E(e,t){var n=y(r++,3);!p.__s&&x(n.__H,t)&&(n.__=e,n.i=t,o.__H.__h.push(n))}function S(e,t){var n=y(r++,4);!p.__s&&x(n.__H,t)&&(n.__=e,n.i=t,o.__h.push(n))}function w(e){return u=5,I((function(){return{current:e}}),[])}function O(e,t,n){u=6,S((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function I(e,t){var n=y(r++,7);return x(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function T(e,t){return u=8,I((function(){return e}),t)}function C(e){var t=o.context[e.__c],n=y(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function A(e,t){p.useDebugValue&&p.useDebugValue(t?t(e):e)}function N(){var e=y(r++,11);if(!e.__){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function P(){for(var e;e=c.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(R),e.__H.__h.forEach(M),e.__H.__h=[]}catch(t){e.__H.__h=[],p.__e(t,e.__v)}}p.__b=function(e){o=null,f&&f(e)},p.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),m&&m(e,t)},p.__r=function(e){d&&d(e),r=0;var t=(o=e.__c).__H;t&&(i===o?(t.__h=[],o.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=l,e.__N=e.i=void 0}))):(t.__h.forEach(R),t.__h.forEach(M),t.__h=[],r=0)),i=o},p.diffed=function(e){h&&h(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==c.push(t)&&s===p.requestAnimationFrame||((s=p.requestAnimationFrame)||D)(P)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==l&&(e.__=e.__V),e.i=void 0,e.__V=l}))),i=o=null},p.__c=function(e,t){t.some((function(e){try{e.__h.forEach(R),e.__h=e.__h.filter((function(e){return!e.__||M(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],p.__e(n,e.__v)}})),_&&_(e,t)},p.unmount=function(e){v&&v(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{R(e)}catch(e){t=e}})),n.__H=void 0,t&&p.__e(t,n.__v))};var L="function"==typeof requestAnimationFrame;function D(e){var t,n=function(){clearTimeout(r),L&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);L&&(t=requestAnimationFrame(n))}function R(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function M(e){var t=o;e.__c=e.__(),o=t}function x(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function k(e,t){return"function"==typeof t?t(e):t}},4155:e=>{var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!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:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var a,u=[],c=!1,l=-1;function p(){c&&a&&(c=!1,a.length?u=a.concat(u):l=-1,u.length&&f())}function f(){if(!c){var e=s(p);c=!0;for(var t=u.length;t;){for(a=u,u=[];++l1)for(var n=1;n{"use strict"; /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,s=n?Symbol.for("react.strict_mode"):60108,a=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,p=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,_=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,m=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,g=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case l:case p:case i:case a:case s:case d:return e;default:switch(e=e&&e.$$typeof){case c:case f:case v:case _:case u:return e;default:return t}}case o:return t}}}function S(e){return E(e)===p}t.AsyncMode=l,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=v,t.Memo=_,t.Portal=o,t.Profiler=a,t.StrictMode=s,t.Suspense=d,t.isAsyncMode=function(e){return S(e)||E(e)===l},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===i},t.isLazy=function(e){return E(e)===v},t.isMemo=function(e){return E(e)===_},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===a},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===a||e===s||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===_||e.$$typeof===u||e.$$typeof===c||e.$$typeof===f||e.$$typeof===y||e.$$typeof===g||e.$$typeof===b||e.$$typeof===m)},t.typeOf=E},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},5977:(e,t,n)=>{"use strict";n.d(t,{zt:()=>c,$j:()=>j,I0:()=>Y,v9:()=>K});var r=n(8661),o=r.ZP.createContext(null);var i=function(e){e()},s=function(){return i},a={notify:function(){}};var u=function(){function e(e,t){this.store=e,this.parentSub=t,this.unsubscribe=null,this.listeners=a,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=function(){var e=s(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=a)},e}();const c=function(e){var t=e.store,n=e.context,i=e.children,s=(0,r.Ye)((function(){var e=new u(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),a=(0,r.Ye)((function(){return t.getState()}),[t]);(0,r.d4)((function(){var e=s.subscription;return e.trySubscribe(),a!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[s,a]);var c=n||o;return r.ZP.createElement(c.Provider,{value:s},i)};var l=n(7462);function p(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}var f=n(8679),d=n.n(f),h=n(9864),_="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.bt:r.d4,v=[],m=[null,null];function y(e,t){var n=e[1];return[t.payload,n+1]}function g(e,t,n){_((function(){return e.apply(void 0,t)}),n)}function b(e,t,n,r,o,i,s){e.current=r,t.current=o,n.current=!1,i.current&&(i.current=null,s())}function E(e,t,n,r,o,i,s,a,u,c){if(e){var l=!1,p=null,f=function(){if(!l){var e,n,f=t.getState();try{e=r(f,o.current)}catch(e){n=e,p=e}n||(p=null),e===i.current?s.current||u():(i.current=e,a.current=e,s.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=f,n.trySubscribe(),f();return function(){if(l=!0,n.tryUnsubscribe(),n.onStateChange=null,p)throw p}}}var S=function(){return[null,0]};function w(e,t){void 0===t&&(t={});var n=t,i=n.getDisplayName,s=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,a=n.methodName,c=void 0===a?"connectAdvanced":a,f=n.renderCountProp,_=void 0===f?void 0:f,w=n.shouldHandleStateChanges,O=void 0===w||w,I=n.storeKey,T=void 0===I?"store":I,C=(n.withRef,n.forwardRef),A=void 0!==C&&C,N=n.context,P=void 0===N?o:N,L=p(n,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]),D=P;return function(t){var n=t.displayName||t.name||"Component",o=s(n),i=(0,l.Z)({},L,{getDisplayName:s,methodName:c,renderCountProp:_,shouldHandleStateChanges:O,storeKey:T,displayName:o,wrappedComponentName:n,WrappedComponent:t}),a=L.pure;var f=a?r.Ye:function(e){return e()};function w(n){var o=(0,r.Ye)((function(){var e=n.forwardedRef,t=p(n,["forwardedRef"]);return[n.context,e,t]}),[n]),s=o[0],a=o[1],c=o[2],d=(0,r.Ye)((function(){return s&&s.Consumer&&(0,h.isContextConsumer)(r.ZP.createElement(s.Consumer,null))?s:D}),[s,D]),_=(0,r.qp)(d),w=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(_)&&Boolean(_.store);var I=w?n.store:_.store,T=(0,r.Ye)((function(){return function(t){return e(t.dispatch,i)}(I)}),[I]),C=(0,r.Ye)((function(){if(!O)return m;var e=new u(I,w?null:_.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[I,w,_]),A=C[0],N=C[1],P=(0,r.Ye)((function(){return w?_:(0,l.Z)({},_,{subscription:A})}),[w,_,A]),L=(0,r._Y)(y,v,S),R=L[0][0],M=L[1];if(R&&R.error)throw R.error;var x=(0,r.sO)(),k=(0,r.sO)(c),F=(0,r.sO)(),U=(0,r.sO)(!1),V=f((function(){return F.current&&c===k.current?F.current:T(I.getState(),c)}),[I,R,c]);g(b,[k,x,U,c,V,F,N]),g(E,[O,I,A,T,k,x,U,F,N,M],[I,A,T]);var j=(0,r.Ye)((function(){return r.ZP.createElement(t,(0,l.Z)({},V,{ref:a}))}),[a,t,V]);return(0,r.Ye)((function(){return O?r.ZP.createElement(d.Provider,{value:P},j):j}),[d,j,P])}var I=a?r.ZP.memo(w):w;if(I.WrappedComponent=t,I.displayName=o,A){var C=r.ZP.forwardRef((function(e,t){return r.ZP.createElement(I,(0,l.Z)({},e,{forwardedRef:t}))}));return C.displayName=o,C.WrappedComponent=t,d()(C,t)}return d()(I,t)}}function O(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function I(e,t){if(O(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function U(e,t){return e===t}function V(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?w:n,o=t.mapStateToPropsFactories,i=void 0===o?L:o,s=t.mapDispatchToPropsFactories,a=void 0===s?P:s,u=t.mergePropsFactories,c=void 0===u?R:u,f=t.selectorFactory,d=void 0===f?k:f;return function(e,t,n,o){void 0===o&&(o={});var s=o,u=s.pure,f=void 0===u||u,h=s.areStatesEqual,_=void 0===h?U:h,v=s.areOwnPropsEqual,m=void 0===v?I:v,y=s.areStatePropsEqual,g=void 0===y?I:y,b=s.areMergedPropsEqual,E=void 0===b?I:b,S=p(s,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),w=F(e,i,"mapStateToProps"),O=F(t,a,"mapDispatchToProps"),T=F(n,c,"mergeProps");return r(d,(0,l.Z)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:w,initMapDispatchToProps:O,initMergeProps:T,pure:f,areStatesEqual:_,areOwnPropsEqual:m,areStatePropsEqual:g,areMergedPropsEqual:E},S))}}const j=V();function B(){return(0,r.qp)(o)}function H(e){void 0===e&&(e=o);var t=e===o?B:function(){return(0,r.qp)(e)};return function(){return t().store}}var G=H();function W(e){void 0===e&&(e=o);var t=e===o?G:H(e);return function(){return t().dispatch}}var Y=W(),z=function(e,t){return e===t};function $(e){void 0===e&&(e=o);var t=e===o?B:function(){return(0,r.qp)(e)};return function(e,n){void 0===n&&(n=z);var o=t();return function(e,t,n,o){var i,s=(0,r._Y)((function(e){return e+1}),0)[1],a=(0,r.Ye)((function(){return new u(n,o)}),[n,o]),c=(0,r.sO)(),l=(0,r.sO)(),p=(0,r.sO)();try{i=e!==l.current||c.current?e(n.getState()):p.current}catch(e){throw c.current&&(e.message+="\nThe error may be correlated with this previous error:\n"+c.current.stack+"\n\n"),e}return _((function(){l.current=e,p.current=i,c.current=void 0})),_((function(){function e(){try{var e=l.current(n.getState());if(t(e,p.current))return;p.current=e}catch(e){c.current=e}s({})}return a.onStateChange=e,a.trySubscribe(),e(),function(){return a.tryUnsubscribe()}}),[n,a]),i}(e,n,o.store,o.subscription)}}var q,K=$();q=r.mm,i=q},3894:(e,t,n)=>{"use strict";function r(e){return function(t){var n=t.dispatch,r=t.getState;return function(t){return function(o){return"function"==typeof o?o(n,r,e):t(o)}}}}n.d(t,{Z:()=>i});var o=r();o.withExtraArgument=r;const i=o},6983:(e,t,n)=>{"use strict";n.d(t,{md:()=>D,DE:()=>N,UY:()=>C,qC:()=>P,MT:()=>I});const r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;var o="object"==typeof self&&self&&self.Object===Object&&self;const i=(r||o||Function("return this")()).Symbol;var s=Object.prototype,a=s.hasOwnProperty,u=s.toString,c=i?i.toStringTag:void 0;const l=function(e){var t=a.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[c]=n:delete e[c]),o};var p=Object.prototype.toString;const f=function(e){return p.call(e)};var d=i?i.toStringTag:void 0;const h=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":d&&d in Object(e)?l(e):f(e)};const _=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object);const v=function(e){return null!=e&&"object"==typeof e};var m=Function.prototype,y=Object.prototype,g=m.toString,b=y.hasOwnProperty,E=g.call(Object);const S=function(e){if(!v(e)||"[object Object]"!=h(e))return!1;var t=_(e);if(null===t)return!0;var n=b.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&g.call(n)==E};var w=n(7121),O={INIT:"@@redux/INIT"};function I(e,t,n){var r;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(I)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,s=[],a=s,u=!1;function c(){a===s&&(a=s.slice())}function l(){return i}function p(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return c(),a.push(e),function(){if(t){t=!1,c();var n=a.indexOf(e);a.splice(n,1)}}}function f(e){if(!S(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,i=o(i,e)}finally{u=!1}for(var t=s=a,n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(s)throw s;for(var r=!1,o={},a=0;a{"use strict";function n(e,t){return e===t}function r(e){var t=arguments.length<=1||void 0===arguments[1]?n:arguments[1],r=null,o=null;return function(){for(var n=arguments.length,i=Array(n),s=0;s1?t-1:0),r=1;r2?n-2:0),o=2;o{e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var i=Object.keys(e),s=Object.keys(t);if(i.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),u=0;u{"use strict";n.d(t,{Z:()=>r}),e=n.hmd(e);const r=function(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:e)},8721:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});const r={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};var o,i=new Uint8Array(16);function s(){if(!o&&!(o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return o(i)}for(var a=[],u=0;u<256;++u)a.push((u+256).toString(16).slice(1));function c(e,t=0){return(a[e[t+0]]+a[e[t+1]]+a[e[t+2]]+a[e[t+3]]+"-"+a[e[t+4]]+a[e[t+5]]+"-"+a[e[t+6]]+a[e[t+7]]+"-"+a[e[t+8]]+a[e[t+9]]+"-"+a[e[t+10]]+a[e[t+11]]+a[e[t+12]]+a[e[t+13]]+a[e[t+14]]+a[e[t+15]]).toLowerCase()}const l=function(e,t,n){if(r.randomUUID&&!t&&!e)return r.randomUUID();var o=(e=e||{}).random||(e.rng||s)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=o[i];return t}return c(o)}},7738:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});const r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-8][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/i;const o=function(e){return"string"==typeof e&&r.test(e)}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},242:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var r=Object.defineProperty,o=(e,t,n)=>((e,t,n)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),i=(e=>(e.AD_BREAK_START="AD_BREAK_START",e.AD_BREAK_END="AD_BREAK_END",e.AD_LOAD="AD_LOAD",e.AD_START="AD_START",e.AD_PLAY="AD_PLAY",e.AD_PAUSE="AD_PAUSE",e.AD_END="AD_END",e.AD_ERROR="AD_ERROR",e.CONTENT_PAUSE_REQUESTED="CONTENT_PAUSE_REQUESTED",e.CONTENT_RESUME_REQUESTED="CONTENT_RESUME_REQUESTED",e.AD_READY_TO_FETCH="AD_READY_TO_FETCH",e.AD_DEBUG_LOG="AD_DEBUG_LOG",e.ADS_SEQUENCE_LOADED="ADS_SEQUENCE_LOADED",e.VOLUME_CHANGE="VOLUME_CHANGE",e))(i||{});const s={useFakeAd:!1,vmapUrl:"",featureFlipping:[]};class a{constructor(){o(this,"adVideoElement",null),o(this,"adContainer",null),o(this,"playerContainer"),o(this,"scriptLoaded",!1),o(this,"Events",i),this.adVideoElement=null,this.adContainer=null,this.playerContainer=null,this.scriptLoaded=!1}async initialize(e){if(!this.playerContainer){if(!e)throw new Error("No container provided");this.playerContainer=e,this.createAdContainer(),this.createAdVideoElement();try{await this.loadScript("https://asw.dmcdn.net/2.0.0/core.js",this.playerContainer),this.scriptLoaded=!0}catch(e){throw this.scriptLoaded=!1,this.destroyAdElements(),this.playerContainer=null,e}}}async loadAdsSequence(e,t){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");const n={adContainer:this.adContainer,adVideoTag:this.adVideoElement,appState:e,developmentOptions:{...s,...t}};await AdSdk.loadAdsSequence(n)}async startAdsSequence(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");await AdSdk.startAdsSequence()}playAd(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.playAd()}pauseAd(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.pauseAd()}skipAd(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.skipAd()}startLiveAdBreak(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.startLiveAdBreak()}async catchUserAction(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");await AdSdk.catchUserAction()}getAdDetails(){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");return AdSdk.getAdDetails()}on(e,t){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.on(e,t)}off(e,t){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.off(e,t)}updateAppState(e){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.updateAppState(e)}setCustomConfig(e){if(!this.scriptLoaded)throw new Error("Ad SDK not initialized");AdSdk.setCustomConfig(e)}reset(){this.scriptLoaded&&AdSdk.reset()}createAdVideoElement(){var e;this.adVideoElement=document.createElement("video"),this.adVideoElement.classList.add("ad-video"),this.adVideoElement.setAttribute("playsinline",""),this.adVideoElement.setAttribute("webkit-playsinline",""),null==(e=this.adContainer)||e.appendChild(this.adVideoElement)}createAdContainer(){var e;this.adContainer=document.createElement("div"),this.adContainer.classList.add("ad-container"),null==(e=this.playerContainer)||e.appendChild(this.adContainer)}destroyAdElements(){var e;null==(e=this.adContainer)||e.remove(),this.adContainer=null,this.adVideoElement=null}loadScript(e,t){return t?new Promise(((n,r)=>{const o=document.createElement("script");o.src=e,o.onload=()=>n(),o.onerror=()=>{o.remove(),r(new Error(`Failed to load script: ${e}`))},t.appendChild(o)})):Promise.reject(new Error("Container is empty"))}}},2424:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ae}); /*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */ const{entries:r,setPrototypeOf:o,isFrozen:i,getPrototypeOf:s,getOwnPropertyDescriptor:a}=Object;let{freeze:u,seal:c,create:l}=Object,{apply:p,construct:f}="undefined"!=typeof Reflect&&Reflect;u||(u=function(e){return e}),c||(c=function(e){return e}),p||(p=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o1?t-1:0),r=1;r1?n-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:y;o&&o(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(i(t)||(t[r]=e),o=e)}e[o]=!0}return e}function P(e){for(let t=0;t/gm),z=c(/\$\{[\w\W]*/gm),$=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=c(/^aria-[\-\w]+$/),K=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),J=c(/^(?:\w+script|data):/i),Q=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=c(/^html$/i),X=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var ee=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:X,DATA_ATTR:$,DOCTYPE_NAME:Z,ERB_EXPR:Y,IS_ALLOWED_URI:K,IS_SCRIPT_OR_DATA:J,MUSTACHE_EXPR:W,TMPLIT_EXPR:z});const te=1,ne=3,re=7,oe=8,ie=9,se=function(){return"undefined"==typeof window?null:window};var ae=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:se();const n=t=>e(t);if(n.version="3.3.0",n.removed=[],!t||!t.document||t.document.nodeType!==ie||!t.Element)return n.isSupported=!1,n;let{document:o}=t;const i=o,s=i.currentScript,{DocumentFragment:a,HTMLTemplateElement:c,Node:p,Element:f,NodeFilter:C,NamedNodeMap:A=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:P,DOMParser:W,trustedTypes:Y}=t,z=f.prototype,$=D(z,"cloneNode"),q=D(z,"remove"),J=D(z,"nextSibling"),Q=D(z,"childNodes"),X=D(z,"parentNode");if("function"==typeof c){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let ae,ue="";const{implementation:ce,createNodeIterator:le,createDocumentFragment:pe,getElementsByTagName:fe}=o,{importNode:de}=i;let he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof r&&"function"==typeof X&&ce&&void 0!==ce.createHTMLDocument;const{MUSTACHE_EXPR:_e,ERB_EXPR:ve,TMPLIT_EXPR:me,DATA_ATTR:ye,ARIA_ATTR:ge,IS_SCRIPT_OR_DATA:be,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:Se}=ee;let{IS_ALLOWED_URI:we}=ee,Oe=null;const Ie=N({},[...R,...M,...x,...F,...V]);let Te=null;const Ce=N({},[...j,...B,...H,...G]);let Ae=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ne=null,Pe=null;const Le=Object.seal(l(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let De=!0,Re=!0,Me=!1,xe=!0,ke=!1,Fe=!0,Ue=!1,Ve=!1,je=!1,Be=!1,He=!1,Ge=!1,We=!0,Ye=!1,ze=!0,$e=!1,qe={},Ke=null;const Je=N({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Qe=null;const Ze=N({},["audio","video","img","source","image","track"]);let Xe=null;const et=N({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tt="http://www.w3.org/1998/Math/MathML",nt="http://www.w3.org/2000/svg",rt="http://www.w3.org/1999/xhtml";let ot=rt,it=!1,st=null;const at=N({},[tt,nt,rt],g);let ut=N({},["mi","mo","mn","ms","mtext"]),ct=N({},["annotation-xml"]);const lt=N({},["title","style","font","a","script"]);let pt=null;const ft=["application/xhtml+xml","text/html"];let dt=null,ht=null;const _t=o.createElement("form"),vt=function(e){return e instanceof RegExp||e instanceof Function},mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ht||ht!==e){if(e&&"object"==typeof e||(e={}),e=L(e),pt=-1===ft.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,dt="application/xhtml+xml"===pt?g:y,Oe=O(e,"ALLOWED_TAGS")?N({},e.ALLOWED_TAGS,dt):Ie,Te=O(e,"ALLOWED_ATTR")?N({},e.ALLOWED_ATTR,dt):Ce,st=O(e,"ALLOWED_NAMESPACES")?N({},e.ALLOWED_NAMESPACES,g):at,Xe=O(e,"ADD_URI_SAFE_ATTR")?N(L(et),e.ADD_URI_SAFE_ATTR,dt):et,Qe=O(e,"ADD_DATA_URI_TAGS")?N(L(Ze),e.ADD_DATA_URI_TAGS,dt):Ze,Ke=O(e,"FORBID_CONTENTS")?N({},e.FORBID_CONTENTS,dt):Je,Ne=O(e,"FORBID_TAGS")?N({},e.FORBID_TAGS,dt):L({}),Pe=O(e,"FORBID_ATTR")?N({},e.FORBID_ATTR,dt):L({}),qe=!!O(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,Re=!1!==e.ALLOW_DATA_ATTR,Me=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Fe=!1!==e.SAFE_FOR_XML,Ue=e.WHOLE_DOCUMENT||!1,Be=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,Ge=e.RETURN_TRUSTED_TYPE||!1,je=e.FORCE_BODY||!1,We=!1!==e.SANITIZE_DOM,Ye=e.SANITIZE_NAMED_PROPS||!1,ze=!1!==e.KEEP_CONTENT,$e=e.IN_PLACE||!1,we=e.ALLOWED_URI_REGEXP||K,ot=e.NAMESPACE||rt,ut=e.MATHML_TEXT_INTEGRATION_POINTS||ut,ct=e.HTML_INTEGRATION_POINTS||ct,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&vt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&vt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Re=!1),He&&(Be=!0),qe&&(Oe=N({},V),Te=[],!0===qe.html&&(N(Oe,R),N(Te,j)),!0===qe.svg&&(N(Oe,M),N(Te,B),N(Te,G)),!0===qe.svgFilters&&(N(Oe,x),N(Te,B),N(Te,G)),!0===qe.mathMl&&(N(Oe,F),N(Te,H),N(Te,G))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?Le.tagCheck=e.ADD_TAGS:(Oe===Ie&&(Oe=L(Oe)),N(Oe,e.ADD_TAGS,dt))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?Le.attributeCheck=e.ADD_ATTR:(Te===Ce&&(Te=L(Te)),N(Te,e.ADD_ATTR,dt))),e.ADD_URI_SAFE_ATTR&&N(Xe,e.ADD_URI_SAFE_ATTR,dt),e.FORBID_CONTENTS&&(Ke===Je&&(Ke=L(Ke)),N(Ke,e.FORBID_CONTENTS,dt)),ze&&(Oe["#text"]=!0),Ue&&N(Oe,["html","head","body"]),Oe.table&&(N(Oe,["tbody"]),delete Ne.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw T('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ae=e.TRUSTED_TYPES_POLICY,ue=ae.createHTML("")}else void 0===ae&&(ae=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(Y,s)),null!==ae&&"string"==typeof ue&&(ue=ae.createHTML(""));u&&u(e),ht=e}},yt=N({},[...M,...x,...k]),gt=N({},[...F,...U]),bt=function(e){v(n.removed,{element:e});try{X(e).removeChild(e)}catch(t){q(e)}},Et=function(e,t){try{v(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(Be||He)try{bt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},St=function(e){let t=null,n=null;if(je)e=""+e;else{const t=b(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===pt&&ot===rt&&(e=''+e+"");const r=ae?ae.createHTML(e):e;if(ot===rt)try{t=(new W).parseFromString(r,pt)}catch(e){}if(!t||!t.documentElement){t=ce.createDocument(ot,"template",null);try{t.documentElement.innerHTML=it?ue:r}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),ot===rt?fe.call(t,Ue?"html":"body")[0]:Ue?t.documentElement:i},wt=function(e){return le.call(e.ownerDocument||e,e,C.SHOW_ELEMENT|C.SHOW_COMMENT|C.SHOW_TEXT|C.SHOW_PROCESSING_INSTRUCTION|C.SHOW_CDATA_SECTION,null)},Ot=function(e){return e instanceof P&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof A)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},It=function(e){return"function"==typeof p&&e instanceof p};function Tt(e,t,r){d(e,(e=>{e.call(n,t,r,ht)}))}const Ct=function(e){let t=null;if(Tt(he.beforeSanitizeElements,e,null),Ot(e))return bt(e),!0;const r=dt(e.nodeName);if(Tt(he.uponSanitizeElement,e,{tagName:r,allowedTags:Oe}),Fe&&e.hasChildNodes()&&!It(e.firstElementChild)&&I(/<[/\w!]/g,e.innerHTML)&&I(/<[/\w!]/g,e.textContent))return bt(e),!0;if(e.nodeType===re)return bt(e),!0;if(Fe&&e.nodeType===oe&&I(/<[/\w]/g,e.data))return bt(e),!0;if(!(Le.tagCheck instanceof Function&&Le.tagCheck(r))&&(!Oe[r]||Ne[r])){if(!Ne[r]&&Nt(r)){if(Ae.tagNameCheck instanceof RegExp&&I(Ae.tagNameCheck,r))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))return!1}if(ze&&!Ke[r]){const t=X(e)||e.parentNode,n=Q(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const o=$(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,J(e))}}}return bt(e),!0}return e instanceof f&&!function(e){let t=X(e);t&&t.tagName||(t={namespaceURI:ot,tagName:"template"});const n=y(e.tagName),r=y(t.tagName);return!!st[e.namespaceURI]&&(e.namespaceURI===nt?t.namespaceURI===rt?"svg"===n:t.namespaceURI===tt?"svg"===n&&("annotation-xml"===r||ut[r]):Boolean(yt[n]):e.namespaceURI===tt?t.namespaceURI===rt?"math"===n:t.namespaceURI===nt?"math"===n&&ct[r]:Boolean(gt[n]):e.namespaceURI===rt?!(t.namespaceURI===nt&&!ct[r])&&!(t.namespaceURI===tt&&!ut[r])&&!gt[n]&&(lt[n]||!yt[n]):!("application/xhtml+xml"!==pt||!st[e.namespaceURI]))}(e)?(bt(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!I(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===ne&&(t=e.textContent,d([_e,ve,me],(e=>{t=E(t,e," ")})),e.textContent!==t&&(v(n.removed,{element:e.cloneNode()}),e.textContent=t)),Tt(he.afterSanitizeElements,e,null),!1):(bt(e),!0)},At=function(e,t,n){if(We&&("id"===t||"name"===t)&&(n in o||n in _t))return!1;if(Re&&!Pe[t]&&I(ye,t));else if(De&&I(ge,t));else if(Le.attributeCheck instanceof Function&&Le.attributeCheck(t,e));else if(!Te[t]||Pe[t]){if(!(Nt(e)&&(Ae.tagNameCheck instanceof RegExp&&I(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&I(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t,e))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&I(Ae.tagNameCheck,n)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))))return!1}else if(Xe[t]);else if(I(we,E(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==S(n,"data:")||!Qe[e]){if(Me&&!I(be,E(n,Ee,"")));else if(n)return!1}else;return!0},Nt=function(e){return"annotation-xml"!==e&&b(e,Se)},Pt=function(e){Tt(he.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ot(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Te,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:s,namespaceURI:a,value:u}=i,c=dt(s),l=u;let p="value"===s?l:w(l);if(r.attrName=c,r.attrValue=p,r.keepAttr=!0,r.forceKeepAttr=void 0,Tt(he.uponSanitizeAttribute,e,r),p=r.attrValue,!Ye||"id"!==c&&"name"!==c||(Et(s,e),p="user-content-"+p),Fe&&I(/((--!?|])>)|<\/(style|title|textarea)/i,p)){Et(s,e);continue}if("attributename"===c&&b(p,"href")){Et(s,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Et(s,e);continue}if(!xe&&I(/\/>/i,p)){Et(s,e);continue}ke&&d([_e,ve,me],(e=>{p=E(p,e," ")}));const f=dt(e.nodeName);if(At(f,c,p)){if(ae&&"object"==typeof Y&&"function"==typeof Y.getAttributeType)if(a);else switch(Y.getAttributeType(f,c)){case"TrustedHTML":p=ae.createHTML(p);break;case"TrustedScriptURL":p=ae.createScriptURL(p)}if(p!==l)try{a?e.setAttributeNS(a,s,p):e.setAttribute(s,p),Ot(e)?bt(e):_(n.removed)}catch(t){Et(s,e)}}else Et(s,e)}Tt(he.afterSanitizeAttributes,e,null)},Lt=function e(t){let n=null;const r=wt(t);for(Tt(he.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Tt(he.uponSanitizeShadowNode,n,null),Ct(n),Pt(n),n.content instanceof a&&e(n.content);Tt(he.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,s=null,u=null;if(it=!e,it&&(e="\x3c!--\x3e"),"string"!=typeof e&&!It(e)){if("function"!=typeof e.toString)throw T("toString is not a function");if("string"!=typeof(e=e.toString()))throw T("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Ve||mt(t),n.removed=[],"string"==typeof e&&($e=!1),$e){if(e.nodeName){const t=dt(e.nodeName);if(!Oe[t]||Ne[t])throw T("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof p)r=St("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===te&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Be&&!ke&&!Ue&&-1===e.indexOf("<"))return ae&&Ge?ae.createHTML(e):e;if(r=St(e),!r)return Be?null:Ge?ue:""}r&&je&&bt(r.firstChild);const c=wt($e?e:r);for(;s=c.nextNode();)Ct(s),Pt(s),s.content instanceof a&&Lt(s.content);if($e)return e;if(Be){if(He)for(u=pe.call(r.ownerDocument);r.firstChild;)u.appendChild(r.firstChild);else u=r;return(Te.shadowroot||Te.shadowrootmode)&&(u=de.call(i,u,!0)),u}let l=Ue?r.outerHTML:r.innerHTML;return Ue&&Oe["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&I(Z,r.ownerDocument.doctype.name)&&(l="\n"+l),ke&&d([_e,ve,me],(e=>{l=E(l,e," ")})),ae&&Ge?ae.createHTML(l):l},n.setConfig=function(){mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ve=!0},n.clearConfig=function(){ht=null,Ve=!1},n.isValidAttribute=function(e,t,n){ht||mt({});const r=dt(e),o=dt(t);return At(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&v(he[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=h(he[e],t);return-1===n?void 0:m(he[e],n,1)[0]}return _(he[e])},n.removeHooks=function(e){he[e]=[]},n.removeAllHooks=function(){he={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()}}]);