prebid.js 8.52.1 → 8.52.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/33acrossAnalyticsAdapter.js +1 -1
- package/dist/33acrossBidAdapter.js +1 -1
- package/dist/33acrossIdSystem.js +1 -1
- package/dist/BTBidAdapter.js +1 -1
- package/dist/adagioAnalyticsAdapter.js +1 -1
- package/dist/adagioBidAdapter.js +1 -1
- package/dist/adbookpspBidAdapter.js +1 -1
- package/dist/adgenerationBidAdapter.js +1 -1
- package/dist/adqueryBidAdapter.js +1 -1
- package/dist/adrelevantisBidAdapter.js +1 -1
- package/dist/adstirBidAdapter.js +1 -1
- package/dist/adtrgtmeBidAdapter.js +1 -1
- package/dist/adxcgBidAdapter.js +1 -1
- package/dist/adyoulikeBidAdapter.js +1 -1
- package/dist/agmaAnalyticsAdapter.js +1 -1
- package/dist/ajaBidAdapter.js +1 -1
- package/dist/amxBidAdapter.js +1 -1
- package/dist/amxIdSystem.js +1 -1
- package/dist/appierAnalyticsAdapter.js +1 -1
- package/dist/appnexusBidAdapter.js +1 -1
- package/dist/asoBidAdapter.js +1 -1
- package/dist/axonixBidAdapter.js +1 -1
- package/dist/bidglassBidAdapter.js +1 -1
- package/dist/big-richmediaBidAdapter.js +1 -1
- package/dist/bridBidAdapter.js +1 -1
- package/dist/bridgewellBidAdapter.js +1 -1
- package/dist/brightMountainMediaBidAdapter.js +1 -1
- package/dist/carodaBidAdapter.js +1 -1
- package/dist/chtnwBidAdapter.js +1 -1
- package/dist/chunk-core.js +1 -1
- package/dist/chunk-paapi.js +1 -1
- package/dist/concertBidAdapter.js +1 -1
- package/dist/connectadBidAdapter.js +1 -1
- package/dist/consumableBidAdapter.js +1 -1
- package/dist/conversantAnalyticsAdapter.js +1 -1
- package/dist/conversantBidAdapter.js +1 -1
- package/dist/craftBidAdapter.js +1 -1
- package/dist/criteoBidAdapter.js +1 -1
- package/dist/cwireBidAdapter.js +1 -1
- package/dist/dailymotionBidAdapter.js +1 -1
- package/dist/dspxBidAdapter.js +1 -1
- package/dist/dxkultureBidAdapter.js +1 -1
- package/dist/eplanningBidAdapter.js +1 -1
- package/dist/euidIdSystem.js +1 -1
- package/dist/exadsBidAdapter.js +1 -1
- package/dist/feedadBidAdapter.js +1 -1
- package/dist/finativeBidAdapter.js +1 -1
- package/dist/freewheel-sspBidAdapter.js +1 -1
- package/dist/gmosspBidAdapter.js +1 -1
- package/dist/goldbachBidAdapter.js +1 -1
- package/dist/greenbidsAnalyticsAdapter.js +1 -1
- package/dist/greenbidsRtdProvider.js +1 -1
- package/dist/gridBidAdapter.js +1 -1
- package/dist/gumgumBidAdapter.js +1 -1
- package/dist/h12mediaBidAdapter.js +1 -1
- package/dist/hypelabBidAdapter.js +1 -1
- package/dist/id5IdSystem.js +1 -1
- package/dist/illuminBidAdapter.js +1 -1
- package/dist/imdsBidAdapter.js +1 -1
- package/dist/improvedigitalBidAdapter.js +1 -1
- package/dist/insticatorBidAdapter.js +1 -1
- package/dist/ixBidAdapter.js +1 -1
- package/dist/jixieBidAdapter.js +1 -1
- package/dist/justpremiumBidAdapter.js +1 -1
- package/dist/kargoBidAdapter.js +1 -1
- package/dist/kimberliteBidAdapter.js +1 -1
- package/dist/konduitAnalyticsAdapter.js +1 -1
- package/dist/kueezBidAdapter.js +1 -1
- package/dist/kueezRtbBidAdapter.js +1 -1
- package/dist/lassoBidAdapter.js +1 -1
- package/dist/lifestreetBidAdapter.js +1 -1
- package/dist/liveIntentIdSystem.js +1 -1
- package/dist/logicadBidAdapter.js +1 -1
- package/dist/loglyliftBidAdapter.js +1 -1
- package/dist/luceadBidAdapter.js +1 -1
- package/dist/magniteAnalyticsAdapter.js +1 -1
- package/dist/malltvAnalyticsAdapter.js +1 -1
- package/dist/marsmediaBidAdapter.js +1 -1
- package/dist/mediafuseBidAdapter.js +1 -1
- package/dist/mediasquareBidAdapter.js +1 -1
- package/dist/mgidBidAdapter.js +1 -1
- package/dist/minutemediaBidAdapter.js +1 -1
- package/dist/minutemediaplusBidAdapter.js +1 -1
- package/dist/missenaBidAdapter.js +1 -1
- package/dist/nexx360BidAdapter.js +1 -1
- package/dist/nobidAnalyticsAdapter.js +1 -1
- package/dist/nobidBidAdapter.js +1 -1
- package/dist/not-for-prod/prebid.js +150 -150
- package/dist/oguryBidAdapter.js +1 -1
- package/dist/onetagBidAdapter.js +1 -1
- package/dist/ooloAnalyticsAdapter.js +1 -1
- package/dist/openwebBidAdapter.js +1 -1
- package/dist/openxBidAdapter.js +1 -1
- package/dist/optidigitalBidAdapter.js +1 -1
- package/dist/outbrainBidAdapter.js +1 -1
- package/dist/parrableIdSystem.js +1 -1
- package/dist/pixfutureBidAdapter.js +1 -1
- package/dist/publinkIdSystem.js +1 -1
- package/dist/publirBidAdapter.js +1 -1
- package/dist/pubmaticBidAdapter.js +1 -1
- package/dist/pubwiseAnalyticsAdapter.js +1 -1
- package/dist/pxyzBidAdapter.js +1 -1
- package/dist/quantcastBidAdapter.js +1 -1
- package/dist/readpeakBidAdapter.js +1 -1
- package/dist/relaidoBidAdapter.js +1 -1
- package/dist/retailspotBidAdapter.js +1 -1
- package/dist/rhythmoneBidAdapter.js +1 -1
- package/dist/riseBidAdapter.js +1 -1
- package/dist/rubiconBidAdapter.js +1 -1
- package/dist/seedingAllianceBidAdapter.js +1 -1
- package/dist/seedtagBidAdapter.js +1 -1
- package/dist/sharethroughAnalyticsAdapter.js +1 -1
- package/dist/sharethroughBidAdapter.js +1 -1
- package/dist/shinezBidAdapter.js +1 -1
- package/dist/shinezRtbBidAdapter.js +1 -1
- package/dist/smaatoBidAdapter.js +1 -1
- package/dist/smartadserverBidAdapter.js +1 -1
- package/dist/smartxBidAdapter.js +1 -1
- package/dist/smilewantedBidAdapter.js +1 -1
- package/dist/sonobiBidAdapter.js +1 -1
- package/dist/sovrnAnalyticsAdapter.js +1 -1
- package/dist/sovrnBidAdapter.js +1 -1
- package/dist/sspBCBidAdapter.js +1 -1
- package/dist/stnBidAdapter.js +1 -1
- package/dist/stvBidAdapter.js +1 -1
- package/dist/sublimeBidAdapter.js +1 -1
- package/dist/taboolaBidAdapter.js +1 -1
- package/dist/tagorasBidAdapter.js +1 -1
- package/dist/targetVideoBidAdapter.js +1 -1
- package/dist/teadsBidAdapter.js +1 -1
- package/dist/themoneytizerBidAdapter.js +1 -1
- package/dist/trionBidAdapter.js +1 -1
- package/dist/tripleliftBidAdapter.js +1 -1
- package/dist/ttdBidAdapter.js +1 -1
- package/dist/twistDigitalBidAdapter.js +1 -1
- package/dist/ucfunnelAnalyticsAdapter.js +1 -1
- package/dist/uid2IdSystem.js +1 -1
- package/dist/underdogmediaBidAdapter.js +1 -1
- package/dist/undertoneBidAdapter.js +1 -1
- package/dist/unrulyBidAdapter.js +1 -1
- package/dist/vidazooBidAdapter.js +1 -1
- package/dist/videobyteBidAdapter.js +1 -1
- package/dist/visxBidAdapter.js +1 -1
- package/dist/vuukleBidAdapter.js +1 -1
- package/dist/widespaceBidAdapter.js +1 -1
- package/dist/winrBidAdapter.js +1 -1
- package/dist/yahoosspBidAdapter.js +1 -1
- package/dist/yieldmoBidAdapter.js +1 -1
- package/dist/yieldoneAnalyticsAdapter.js +1 -1
- package/modules/paapi.js +2 -1
- package/package.json +1 -1
- package/src/secureCreatives.js +1 -1
package/dist/kueezBidAdapter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[6351],{56845:function(e,r,t){var n=t(42982),i=t(70885),a=t(78640),o=t(64358),s=t(20265),d=t(14699),u=t(24679),p=t(3193);function c(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(!e)return;if("string"==typeof e)return m(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,r)}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw a}}}}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var l="USD",f=[u.Mk,u.pX],y="1.0.0",v="iframe",g="pixel",b={code:"kueez",version:y,supportedMediaTypes:f,isBidRequestValid:function(e){return function(e){var r=!0;e.params||((0,o.logWarn)("Kueez adapter - missing params"),r=!1);e.params.org||((0,o.logWarn)("Kueez adapter - org is a required param"),r=!1);return r}(e)},buildRequests:function(e,r){var t=(0,i.Z)(e,1)[0],n=t.params.testMode,a=function(e,r,t){return{params:C(r,t),bids:w(e,t)}}(e,t,r);return{method:"POST",url:k(n),data:a}},interpretResponse:function(e){var r=e.body,t=null==r?void 0:r.bids;return t&&t.length?t.map((function(e){var r={cpm:e.cpm,creativeId:e.requestId,currency:e.currency||l,height:e.height,mediaType:e.mediaType,meta:{mediaType:e.mediaType},netRevenue:e.netRevenue||!0,nurl:e.nurl,requestId:e.requestId,ttl:e.ttl||420,width:e.width};return e.adomain&&e.adomain.length&&(r.meta.advertiserDomains=e.adomain),e.mediaType===u.pX?r.vastXml=e.vastXml:e.mediaType===u.Mk&&(r.ad=e.ad),r})):[]},getUserSyncs:function(e,r){var t,i=[],a=c(r);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(e.pixelEnabled&&(0,o.isArray)(s.body.params.userSyncPixels)){var d=s.body.params.userSyncPixels.map((function(e){return{type:"image",url:e}}));i.push.apply(i,(0,n.Z)(d))}e.iframeEnabled&&s.body.params.userSyncURL&&i.push({type:"iframe",url:s.body.params.userSyncURL})}}catch(e){a.e(e)}finally{a.f()}return i},onBidWon:function(e){null!=e&&((0,o.logInfo)("onBidWon:",e),e.hasOwnProperty("nurl")&&e.nurl.length>0&&(0,o.triggerPixel)(e.nurl))}};function h(e){return(0,o.isEmpty)(e)?"":encodeURIComponent(e)}function I(e,r){var t=0;if((0,o.isFn)(e.getFloor)){var n=e.getFloor({currency:l,mediaType:r,size:"*"});t=n.currency===l&&n.floor?n.floor:0}return t}function T(e,r){if(!e)return!1;var t=(0,o.isArray)(e.bidders)?e.bidders:[r];return"include"===e.filter&&(0,o.contains)(t,r)}function k(e){return e?"https://hb.kueezssp.com/hb-multi-kz-test":"https://hb.kueezssp.com/hb-kz-multi"}function w(e,r){var t=[];return e.length&&e.forEach((function(e){t.push(function(e,r){var t,n,i=e.params,a=function(e){return e.mediaTypes&&e.mediaTypes.banner}(e)?u.Mk:u.pX,d=function(e,r){var t=[];return(0,s.Z)(e,"mediaTypes.".concat(r,".sizes"))?t=e.mediaTypes[r].sizes:Array.isArray(e.sizes)&&e.sizes.length>0&&(t=e.sizes),t}(e,a),p=(0,s.Z)(e,"ortb2Imp.ext.gpid"),c=(0,s.Z)(e,"mediaTypes.".concat(a,".pos")),m=i.placementId||(0,s.Z)(e,"mediaTypes.".concat(a,".name")),l=isNaN(i.floorPrice)?0:i.floorPrice,f={adUnitCode:(0,o.getBidIdParameter)("adUnitCode",e),bidId:(0,o.getBidIdParameter)("bidId",e),loop:(0,o.getBidIdParameter)("bidderRequestsCount",e),bidderRequestId:(0,o.getBidIdParameter)("bidderRequestId",e),floorPrice:Math.max(I(e,a),l),mediaType:a,sizes:d,transactionId:(null===(t=e.ortb2Imp)||void 0===t||null===(n=t.ext)||void 0===n?void 0:n.tid)||""};c&&(f.pos=c);p&&(f.gpid=p);m&&(f.placementId=m);a===u.pX&&function(e,r){var t=(0,s.Z)(r,"mediaTypes.video.linearity"),n=(0,s.Z)(r,"mediaTypes.video.maxduration"),i=(0,s.Z)(r,"mediaTypes.video.minduration"),a=(0,s.Z)(r,"mediaTypes.video.placement"),d=function(e){var r=(0,s.Z)(e,"mediaTypes.video.playbackmethod");if(Array.isArray(r)&&(0,o.isInteger)(r[0]))return r[0];if((0,o.isInteger)(r))return r}(r),u=(0,s.Z)(r,"mediaTypes.video.skip");t&&(e.linearity=t);n&&(e.maxDuration=n);i&&(e.minDuration=i);a&&(e.placement=a);d&&(e.playbackMethod=d);u&&(e.skip=u)}(f,e);return f}(e))})),t}function C(e,r){var t,n=r.bidderCode,i=p.vc.getConfig("userSync")||{},a=i.syncEnabled,d=i.filterSettings,u=window.location.hostname,c=(0,o.getBidIdParameter)("params",e),m=(0,o.getBidIdParameter)("userId",e),l=r.ortb2||{},f=r.timeout,b={adapter_version:y,auction_start:(0,o.timestamp)(),device_type:(t=navigator.userAgent,/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(t.toLowerCase())?"5":/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(t.toLowerCase())?"4":/smart[-_\s]?tv|hbbtv|appletv|googletv|hdmi|netcast|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b/i.test(t.toLowerCase())?"3":"1"),dnt:"yes"===navigator.doNotTrack||"1"===navigator.doNotTrack||"1"===navigator.msDoNotTrack?1:0,publisher_id:c.org,publisher_name:u,session_id:(0,o.getBidIdParameter)("auctionId",e),site_domain:u,tmax:f,ua:navigator.userAgent,wrapper_type:"prebidjs",wrapper_vendor:"pbjs",wrapper_version:"8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[6351],{56845:function(e,r,t){var n=t(42982),i=t(70885),a=t(78640),o=t(64358),s=t(20265),d=t(14699),u=t(24679),p=t(3193);function c(e,r){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,r){if(!e)return;if("string"==typeof e)return m(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return m(e,r)}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==t.return||t.return()}finally{if(s)throw a}}}}function m(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}var l="USD",f=[u.Mk,u.pX],y="1.0.0",v="iframe",g="pixel",b={code:"kueez",version:y,supportedMediaTypes:f,isBidRequestValid:function(e){return function(e){var r=!0;e.params||((0,o.logWarn)("Kueez adapter - missing params"),r=!1);e.params.org||((0,o.logWarn)("Kueez adapter - org is a required param"),r=!1);return r}(e)},buildRequests:function(e,r){var t=(0,i.Z)(e,1)[0],n=t.params.testMode,a=function(e,r,t){return{params:C(r,t),bids:w(e,t)}}(e,t,r);return{method:"POST",url:k(n),data:a}},interpretResponse:function(e){var r=e.body,t=null==r?void 0:r.bids;return t&&t.length?t.map((function(e){var r={cpm:e.cpm,creativeId:e.requestId,currency:e.currency||l,height:e.height,mediaType:e.mediaType,meta:{mediaType:e.mediaType},netRevenue:e.netRevenue||!0,nurl:e.nurl,requestId:e.requestId,ttl:e.ttl||420,width:e.width};return e.adomain&&e.adomain.length&&(r.meta.advertiserDomains=e.adomain),e.mediaType===u.pX?r.vastXml=e.vastXml:e.mediaType===u.Mk&&(r.ad=e.ad),r})):[]},getUserSyncs:function(e,r){var t,i=[],a=c(r);try{for(a.s();!(t=a.n()).done;){var s=t.value;if(e.pixelEnabled&&(0,o.isArray)(s.body.params.userSyncPixels)){var d=s.body.params.userSyncPixels.map((function(e){return{type:"image",url:e}}));i.push.apply(i,(0,n.Z)(d))}e.iframeEnabled&&s.body.params.userSyncURL&&i.push({type:"iframe",url:s.body.params.userSyncURL})}}catch(e){a.e(e)}finally{a.f()}return i},onBidWon:function(e){null!=e&&((0,o.logInfo)("onBidWon:",e),e.hasOwnProperty("nurl")&&e.nurl.length>0&&(0,o.triggerPixel)(e.nurl))}};function h(e){return(0,o.isEmpty)(e)?"":encodeURIComponent(e)}function I(e,r){var t=0;if((0,o.isFn)(e.getFloor)){var n=e.getFloor({currency:l,mediaType:r,size:"*"});t=n.currency===l&&n.floor?n.floor:0}return t}function T(e,r){if(!e)return!1;var t=(0,o.isArray)(e.bidders)?e.bidders:[r];return"include"===e.filter&&(0,o.contains)(t,r)}function k(e){return e?"https://hb.kueezssp.com/hb-multi-kz-test":"https://hb.kueezssp.com/hb-kz-multi"}function w(e,r){var t=[];return e.length&&e.forEach((function(e){t.push(function(e,r){var t,n,i=e.params,a=function(e){return e.mediaTypes&&e.mediaTypes.banner}(e)?u.Mk:u.pX,d=function(e,r){var t=[];return(0,s.Z)(e,"mediaTypes.".concat(r,".sizes"))?t=e.mediaTypes[r].sizes:Array.isArray(e.sizes)&&e.sizes.length>0&&(t=e.sizes),t}(e,a),p=(0,s.Z)(e,"ortb2Imp.ext.gpid"),c=(0,s.Z)(e,"mediaTypes.".concat(a,".pos")),m=i.placementId||(0,s.Z)(e,"mediaTypes.".concat(a,".name")),l=isNaN(i.floorPrice)?0:i.floorPrice,f={adUnitCode:(0,o.getBidIdParameter)("adUnitCode",e),bidId:(0,o.getBidIdParameter)("bidId",e),loop:(0,o.getBidIdParameter)("bidderRequestsCount",e),bidderRequestId:(0,o.getBidIdParameter)("bidderRequestId",e),floorPrice:Math.max(I(e,a),l),mediaType:a,sizes:d,transactionId:(null===(t=e.ortb2Imp)||void 0===t||null===(n=t.ext)||void 0===n?void 0:n.tid)||""};c&&(f.pos=c);p&&(f.gpid=p);m&&(f.placementId=m);a===u.pX&&function(e,r){var t=(0,s.Z)(r,"mediaTypes.video.linearity"),n=(0,s.Z)(r,"mediaTypes.video.maxduration"),i=(0,s.Z)(r,"mediaTypes.video.minduration"),a=(0,s.Z)(r,"mediaTypes.video.placement"),d=function(e){var r=(0,s.Z)(e,"mediaTypes.video.playbackmethod");if(Array.isArray(r)&&(0,o.isInteger)(r[0]))return r[0];if((0,o.isInteger)(r))return r}(r),u=(0,s.Z)(r,"mediaTypes.video.skip");t&&(e.linearity=t);n&&(e.maxDuration=n);i&&(e.minDuration=i);a&&(e.placement=a);d&&(e.playbackMethod=d);u&&(e.skip=u)}(f,e);return f}(e))})),t}function C(e,r){var t,n=r.bidderCode,i=p.vc.getConfig("userSync")||{},a=i.syncEnabled,d=i.filterSettings,u=window.location.hostname,c=(0,o.getBidIdParameter)("params",e),m=(0,o.getBidIdParameter)("userId",e),l=r.ortb2||{},f=r.timeout,b={adapter_version:y,auction_start:(0,o.timestamp)(),device_type:(t=navigator.userAgent,/ipad|android 3.0|xoom|sch-i800|playbook|tablet|kindle/i.test(t.toLowerCase())?"5":/iphone|ipod|android|blackberry|opera|mini|windows\sce|palm|smartphone|iemobile/i.test(t.toLowerCase())?"4":/smart[-_\s]?tv|hbbtv|appletv|googletv|hdmi|netcast|viera|nettv|roku|\bdtv\b|sonydtv|inettvbrowser|\btv\b/i.test(t.toLowerCase())?"3":"1"),dnt:"yes"===navigator.doNotTrack||"1"===navigator.doNotTrack||"1"===navigator.msDoNotTrack?1:0,publisher_id:c.org,publisher_name:u,session_id:(0,o.getBidIdParameter)("auctionId",e),site_domain:u,tmax:f,ua:navigator.userAgent,wrapper_type:"prebidjs",wrapper_vendor:"pbjs",wrapper_version:"8.52.2"};if(a){var I=function(e,r){return e&&["all","iframe"].some((function(t){return T(e[t],r)}))?v:e&&e.image&&!T(e.image,r)?void 0:g}(d,n);I&&(b.cs_method=I)}return r&&r.gdprConsent&&r.gdprConsent.gdprApplies&&(b.gdpr=r.gdprConsent.gdprApplies,b.gdpr_consent=r.gdprConsent.consentString),r.uspConsent&&(b.us_privacy=r.uspConsent),c.ifa&&(b.ifa=c.ifa),l.site&&(b.site_metadata=JSON.stringify(l.site)),l.user&&(b.user_metadata=JSON.stringify(l.user)),r&&r.refererInfo&&(b.referrer=(0,s.Z)(r,"refererInfo.ref"),b.page_url=(0,s.Z)(r,"refererInfo.page")||(0,s.Z)(window,"location.href")),e.schain&&(b.schain=function(e){if((0,o.isEmpty)(e))return"";var r="".concat(e.ver,",").concat(e.complete);return e.nodes.forEach((function(e){r+="!",r+="".concat(h(e.asi),","),r+="".concat(h(e.sid),","),r+="".concat(e.hp?encodeURIComponent(e.hp):"",","),r+="".concat(h(e.rid),","),r+="".concat(h(e.name),","),r+="".concat(h(e.domain))})),r}(e.schain)),m&&(b.userIds=JSON.stringify(m)),b}(0,d.dX)(b),(0,a.z)("kueezBidAdapter")}},function(e){e.O(0,[25823,79270],(function(){return r=56845,e(e.s=r);var r}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[25307],{24283:function(e,n,t){var r=t(78640),i=t(64358),o=t(20265),a=t(14699),d=t(24679),c=t(15164),s=t(3193),u="exchange",p="kueezrtb",g="1.0.0",l=9e5,b=(0,c.df)({bidderCode:p});function f(){try{return(0,i.parseUrl)(window.top.document.URL,{decodeSearchAsString:!0}).search}catch(e){return""}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;return"https://".concat(e,".kueezrtb.com")}function h(e){return e.cId||e.CID||e.cID||e.CId||e.cid||e.ciD||e.Cid||e.CiD}function m(e){return e.pId||e.PID||e.pID||e.PId||e.pid||e.piD||e.Pid||e.PiD}function I(e,n,t,r,a){var d,c,s=e.params,u=e.bidId,p=e.userId,b=e.adUnitCode,I=e.schain,S=e.mediaTypes,D=e.auctionId,R=e.transactionId,U=e.bidderRequestId,k=e.bidRequestsCount,q=e.bidderRequestsCount,O=e.bidderWinsCount,z=s.bidFloor,w=s.ext,T=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_",t=e.length,r=0,i=0;if(t>0)for(;i<t;)r=(r<<5)-r+e.charCodeAt(i++)|0;return n+r}(n),_=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,r="u_".concat(e),i=Date.now(),o=C(r);!o||!o.value||i-o.created>t?y(r,n="".concat(e,"_").concat(i.toString())):n=o.value;return n}(T),j=h(s),x=m(s),A=function(e){return e.subDomain||e.SubDomain||e.Subdomain||e.subdomain||e.SUBDOMAIN||e.subDOMAIN}(s),F=(0,o.Z)(e,"ortb2Imp.ext.gpid")||(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot","");if((0,i.isFn)(e.getFloor)){var M=e.getFloor({currency:"USD",mediaType:"*",size:"*"});"USD"===M.currency&&(z=M.floor)}var P,Z,E,L={url:encodeURIComponent(n),uqs:f(),cb:Date.now(),bidFloor:z,bidId:u,referrer:r.refererInfo.ref,adUnitCode:b,publisherId:x,sizes:t,uniqueDealId:_,bidderVersion:g,prebidVersion:"8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[25307],{24283:function(e,n,t){var r=t(78640),i=t(64358),o=t(20265),a=t(14699),d=t(24679),c=t(15164),s=t(3193),u="exchange",p="kueezrtb",g="1.0.0",l=9e5,b=(0,c.df)({bidderCode:p});function f(){try{return(0,i.parseUrl)(window.top.document.URL,{decodeSearchAsString:!0}).search}catch(e){return""}}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;return"https://".concat(e,".kueezrtb.com")}function h(e){return e.cId||e.CID||e.cID||e.CId||e.cid||e.ciD||e.Cid||e.CiD}function m(e){return e.pId||e.PID||e.pID||e.PId||e.pid||e.piD||e.Pid||e.PiD}function I(e,n,t,r,a){var d,c,s=e.params,u=e.bidId,p=e.userId,b=e.adUnitCode,I=e.schain,S=e.mediaTypes,D=e.auctionId,R=e.transactionId,U=e.bidderRequestId,k=e.bidRequestsCount,q=e.bidderRequestsCount,O=e.bidderWinsCount,z=s.bidFloor,w=s.ext,T=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"_",t=e.length,r=0,i=0;if(t>0)for(;i<t;)r=(r<<5)-r+e.charCodeAt(i++)|0;return n+r}(n),_=function(e){var n,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,r="u_".concat(e),i=Date.now(),o=C(r);!o||!o.value||i-o.created>t?y(r,n="".concat(e,"_").concat(i.toString())):n=o.value;return n}(T),j=h(s),x=m(s),A=function(e){return e.subDomain||e.SubDomain||e.Subdomain||e.subdomain||e.SUBDOMAIN||e.subDOMAIN}(s),F=(0,o.Z)(e,"ortb2Imp.ext.gpid")||(0,o.Z)(e,"ortb2Imp.ext.data.pbadslot","");if((0,i.isFn)(e.getFloor)){var M=e.getFloor({currency:"USD",mediaType:"*",size:"*"});"USD"===M.currency&&(z=M.floor)}var P,Z,E,L={url:encodeURIComponent(n),uqs:f(),cb:Date.now(),bidFloor:z,bidId:u,referrer:r.refererInfo.ref,adUnitCode:b,publisherId:x,sizes:t,uniqueDealId:_,bidderVersion:g,prebidVersion:"8.52.2",res:"".concat(screen.width,"x").concat(screen.height),schain:I,mediaTypes:S,gpid:F,auctionId:D,transactionId:R,bidderRequestId:U,bidRequestsCount:k,bidderRequestsCount:q,bidderWinsCount:O,bidderTimeout:a};P=L,Z=p,(0,i._each)(Z,(function(e,n){switch(E="uid.".concat(n),n){case"digitrustid":P[E]=(0,o.Z)(e,"data.id");break;case"lipb":P[E]=e.lipbid;break;case"parrableId":P[E]=e.eid;break;case"id5id":P[E]=e.uid;break;default:P[E]=e}}));var N=(0,o.Z)(r,"ortb2.device.sua");N&&(L.sua=N),r.gdprConsent&&(r.gdprConsent.consentString&&(L.gdprConsent=r.gdprConsent.consentString),void 0!==r.gdprConsent.gdprApplies&&(L.gdpr=r.gdprConsent.gdprApplies?1:0)),r.uspConsent&&(L.usPrivacy=r.uspConsent),r.gppConsent?(L.gppString=r.gppConsent.gppString,L.gppSid=r.gppConsent.applicableSections):null!==(d=r.ortb2)&&void 0!==d&&null!==(c=d.regs)&&void 0!==c&&c.gpp&&(L.gppString=r.ortb2.regs.gpp,L.gppSid=r.ortb2.regs.gpp_sid);var X={method:"POST",url:"".concat(v(A),"/prebid/multi/").concat(j),data:L};return(0,i._each)(w,(function(e,n){X.data["ext."+n]=e})),X}function C(e){try{return function(e){try{return JSON.parse(e)}catch(n){return e}}(b.getDataFromLocalStorage(e))}catch(e){}return null}function y(e,n,t){try{var r=t||Date.now(),i=JSON.stringify({value:n,created:r});b.setDataInLocalStorage(e,i)}catch(e){}}var S={code:p,version:g,gvlid:1165,supportedMediaTypes:[d.Mk,d.pX],isBidRequestValid:function(e){var n=e.params||{};return!(!h(n)||!m(n))},buildRequests:function(e,n){var t,r=n.refererInfo.page||n.refererInfo.topmostLocation,o=null!==(t=n.timeout)&&void 0!==t?t:s.vc.getConfig("bidderTimeout"),a=[];return e.forEach((function(e){var t=(0,i.parseSizesInput)(e.sizes),d=I(e,r,t,n,o);a.push(d)})),a},interpretResponse:function(e,n){if(!e||!e.body)return[];var t=n.data.bidId,r=e.body.results,i=[];try{return r.forEach((function(e){var n=e.creativeId,r=e.ad,o=e.price,a=e.exp,c=e.width,s=e.height,u=e.currency,p=e.metaData,g=e.advertiserDomains,l=e.mediaType,b=void 0===l?d.Mk:l;if(r&&o){var f={requestId:t,cpm:o,width:c,height:s,creativeId:n,currency:u||"USD",netRevenue:!0,ttl:a||300};p?Object.assign(f,{meta:p}):Object.assign(f,{meta:{advertiserDomains:g||[]}}),b===d.Mk?Object.assign(f,{ad:r}):Object.assign(f,{vastXml:r,mediaType:d.pX}),i.push(f)}})),i}catch(e){return[]}},getUserSyncs:function(e,n){var t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},d=[],c=e.iframeEnabled,s=e.pixelEnabled,u=t.gdprApplies,p=t.consentString,g=void 0===p?"":p,l=a.gppString,b=a.applicableSections,f=n.filter((function(e){return(0,o.Z)(e,"body.cid")})).map((function(e){return e.body.cid})).filter(i.uniques),v="?cid=".concat(encodeURIComponent(f.join(",")),"&gdpr=").concat(u?1:0,"&gdpr_consent=").concat(encodeURIComponent(g||""),"&us_privacy=").concat(encodeURIComponent(r||""));return l&&null!=b&&b.length&&(v+="&gpp="+encodeURIComponent(l),v+="&gpp_sid="+encodeURIComponent(b.join(","))),c&&d.push({type:"iframe",url:"https://sync.kueezrtb.com/api/sync/iframe/".concat(v)}),s&&d.push({type:"image",url:"https://sync.kueezrtb.com/api/sync/image/".concat(v)}),d}};(0,a.dX)(S),(0,r.z)("kueezRtbBidAdapter")}},function(e){e.O(0,[25823,79270],(function(){return n=24283,e(e.s=n);var n}));e.O()}]);
|
package/dist/lassoBidAdapter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[1146],{90069:function(e,i,t){var n=t(78640),d=t(14699),r=t(24679),a=t(15164),o=t(48928),s=t(3193),u="lasso",p="https://trc.lhmos.com/prebid",c=(0,a.df)({bidderCode:u}),m={code:u,isBidRequestValid:function(e){return!(!e.params||!e.params.adUnitId)},buildRequests:function(e,i){if(0===e.length)return[];var t="";return c.cookiesAreEnabled&&(t=c.getCookie("aim-xr",void 0)),e.map((function(e){var n,d,a=[];e.mediaTypes&&e.mediaTypes[r.Mk]&&e.mediaTypes[r.Mk].sizes&&(a=e.mediaTypes[r.Mk].sizes);var o,u={auctionStart:i.auctionStart,url:encodeURIComponent(window.location.href),bidderRequestId:e.bidderRequestId,adUnitCode:e.adUnitCode,auctionId:e.auctionId,bidId:e.bidId,transactionId:null===(n=e.ortb2Imp)||void 0===n||null===(d=n.ext)||void 0===d?void 0:d.tid,device:encodeURIComponent(JSON.stringify((o=window.top,{ua:navigator.userAgent,width:o.innerWidth||o.document.documentElement.clientWidth||o.document.body.clientWidth,height:o.innerHeight||o.document.documentElement.clientHeight||o.document.body.clientHeight,browserLanguage:navigator.language}))),sizes:a,aimXR:t,uid:"$UID",params:JSON.stringify(e.params),crumbs:JSON.stringify(e.crumbs),prebidVersion:"8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[1146],{90069:function(e,i,t){var n=t(78640),d=t(14699),r=t(24679),a=t(15164),o=t(48928),s=t(3193),u="lasso",p="https://trc.lhmos.com/prebid",c=(0,a.df)({bidderCode:u}),m={code:u,isBidRequestValid:function(e){return!(!e.params||!e.params.adUnitId)},buildRequests:function(e,i){if(0===e.length)return[];var t="";return c.cookiesAreEnabled&&(t=c.getCookie("aim-xr",void 0)),e.map((function(e){var n,d,a=[];e.mediaTypes&&e.mediaTypes[r.Mk]&&e.mediaTypes[r.Mk].sizes&&(a=e.mediaTypes[r.Mk].sizes);var o,u={auctionStart:i.auctionStart,url:encodeURIComponent(window.location.href),bidderRequestId:e.bidderRequestId,adUnitCode:e.adUnitCode,auctionId:e.auctionId,bidId:e.bidId,transactionId:null===(n=e.ortb2Imp)||void 0===n||null===(d=n.ext)||void 0===d?void 0:d.tid,device:encodeURIComponent(JSON.stringify((o=window.top,{ua:navigator.userAgent,width:o.innerWidth||o.document.documentElement.clientWidth||o.document.body.clientWidth,height:o.innerHeight||o.document.documentElement.clientHeight||o.document.body.clientHeight,browserLanguage:navigator.language}))),sizes:a,aimXR:t,uid:"$UID",params:JSON.stringify(e.params),crumbs:JSON.stringify(e.crumbs),prebidVersion:"8.52.2",version:4,coppa:1==s.vc.getConfig("coppa")?1:0,ccpa:i.uspConsent||void 0};return i&&i.gppConsent&&i.gppConsent.gppString&&(u.gpp=i.gppConsent.gppString,u.gppSid=i.gppConsent.applicableSections),{method:"GET",url:l(t,e.params),data:u,options:{withCredentials:!0}}}))},interpretResponse:function(e){var i=e&&e.body,t=[];if(!i||!i.bid.ad)return t;var n={requestId:i.bidid,bidId:i.bidid,cpm:i.bid.price,currency:i.cur,width:i.bid.w,height:i.bid.h,creativeId:i.bid.crid,netRevenue:i.netRevenue,ttl:i.ttl,ad:i.bid.ad,mediaType:i.bid.mediaType,meta:{secondaryCatIds:i.bid.cat,advertiserDomains:i.bid.advertiserDomains,advertiserName:i.meta.advertiserName,mediaType:i.bid.mediaType}};return t.push(n),t},onTimeout:function(e){null!==e&&(0,o.hj)(p+"/timeout",null,JSON.stringify(e),{method:"POST",withCredentials:!1})},onBidWon:function(e){(0,o.hj)(p+"/won",null,JSON.stringify(e),{method:"POST",withCredentials:!1})},supportedMediaTypes:[r.Mk]};function l(e,i){var t="/request";return i&&i.dtc&&(t="/dtc-request"),e?p+t:"https://secure.adnxs.com/getuid?"+p+t}(0,d.dX)(m),(0,n.z)("lassoBidAdapter")}},function(e){e.O(0,[25823,79270],(function(){return i=90069,e(e.s=i);var i}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[86533],{74868:function(e,t,n){var r,i,s,a=n(78640),d=n(64358),o=n(14699),f=n(24679),p="8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[86533],{74868:function(e,t,n){var r,i,s,a=n(78640),d=n(64358),o=n(14699),f=n(24679),p="8.52.2",c=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=new Array(t),i=0;i<t;i++)r[i]=arguments[i];var s=r[r.length-1]||{},a=[e[0]];return n.forEach((function(t,n){var i=(0,d.isInteger)(t)?r[t]:s[t];a.push(i,e[n+1])})),a.join("")}}(r||(i=["https://ads.lfstmedia.com/gate/","/","?adkey=","&ad_size=","&__location=","&__referrer=","&__wn=","&__sf=","&__fif=","&__if=","&__stamp=","&__pp=1&__hb=1&_prebid_json=1&__gz=1&deferred_format=vast_2_0,vast_3_0&__hbver=",""],s||(s=i.slice(0)),r=Object.freeze(Object.defineProperties(i,{raw:{value:Object.freeze(s)}}))),"adapter","slot","adkey","ad_size","location","referrer","wn","sf","fif","if","stamp","hbver");function u(e){return e?"1":"0"}var _={code:"lifestreet",aliases:["lsm"],supportedMediaTypes:[f.Mk,f.pX],isBidRequestValid:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.params,n=void 0===t?{}:t;return!!(n.slot&&n.adkey&&n.ad_size)},buildRequests:function(e,t){return e.map((function(e){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.params,r=(t.refererInfo||{}).referer,i=c({adapter:"prebid",slot:n.slot,adkey:n.adkey,ad_size:n.ad_size,location:r,referrer:r,wn:u(/fb_http/i.test(window.name)),sf:u(window.sfAPI||window.$sf),fif:u(!0===window.inDapIF),if:u(window!==window.top),stamp:(new Date).getTime(),hbver:p});if(t.gdprConsent){if(void 0!==t.gdprConsent.gdprApplies)i+="&__gdpr="+(t.gdprConsent.gdprApplies?"1":"0");void 0!==t.gdprConsent.consentString&&(i+="&__consent=".concat(t.gdprConsent.consentString))}return t.uspConsent&&(i+="&__us_privacy=".concat(t.uspConsent)),{method:"GET",url:i,bidId:e.bidId}}(e,t)}))},interpretResponse:function(e,t){var n=[],r=e.body;if(!function(e){return!/^\s*\{\s*"advertisementAvailable"\s*:\s*false/i.test(e.content)&&-1===e.content.indexOf('<VAST version="2.0"></VAST>')&&1===e.status}(r))return n;var i=r.content_type.indexOf("vast")>-1,s=i?f.pX:f.Mk,a={requestId:t.bidId,cpm:r.cpm,currency:r.currency?r.currency:"USD",width:r.width,height:r.height,creativeId:r.creativeId,netRevenue:!r.netRevenue||r.netRevenue,ttl:r.ttl?r.ttl:86400,mediaType:s,meta:{mediaType:s,advertiserDomains:r.advertiserDomains}};return r.hasOwnProperty("dealId")&&(a.dealId=r.dealId),i?void 0!==r.vastUrl?a.vastUrl=r.vastUrl:a.vastXml=r.content:a.ad=r.content,n.push(a),n}};(0,o.dX)(_),(0,a.z)("lifestreetBidAdapter")}},function(e){e.O(0,[25823,79270],(function(){return t=74868,e(e.s=t);var t}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[93390],{15424:function(t,e,r){var n=r(4942),o=r(71002),i=r(70885),a=r(78640),s=r(64358),c=r(48928),u=r(92797),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var f={exports:{}},h=function(t){return t&&t.Math===Math&&t},p=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof l&&l)||h("object"==typeof l&&l)||function(){return this}()||Function("return this")(),g=function(t){try{return!!t()}catch(t){return!0}},m=!g((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=m,y=Function.prototype,b=y.apply,w=y.call,S="object"==typeof Reflect&&Reflect.apply||(v?w.bind(b):function(){return w.apply(b,arguments)}),O=m,x=Function.prototype,C=x.call,E=O&&x.bind.bind(C,C),I=O?E:function(t){return function(){return C.apply(t,arguments)}},k=I,j=k({}.toString),A=k("".slice),L=function(t){return A(j(t),8,-1)},D=L,P=I,F=function(t){if("Function"===D(t))return P(t)},M="object"==typeof document&&document.all,R=void 0===M&&void 0!==M?function(t){return"function"==typeof t||t===M}:function(t){return"function"==typeof t},N={},T=!g((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),_=m,U=Function.prototype.call,V=_?U.bind(U):function(){return U.apply(U,arguments)},B={},W={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,q=G&&!W.call({1:2},1);B.f=q?function(t){var e=G(this,t);return!!e&&e.enumerable}:W;var Q,z,H=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},J=g,K=L,$=Object,X=I("".split),Y=J((function(){return!$("z").propertyIsEnumerable(0)}))?function(t){return"String"===K(t)?X(t,""):$(t)}:$,Z=function(t){return null==t},tt=Z,et=TypeError,rt=function(t){if(tt(t))throw new et("Can't call method on "+t);return t},nt=Y,ot=rt,it=function(t){return nt(ot(t))},at=R,st=function(t){return"object"==typeof t?null!==t:at(t)},ct={},ut=ct,lt=p,dt=R,ft=function(t){return dt(t)?t:void 0},ht=function(t,e){return arguments.length<2?ft(ut[t])||ft(lt[t]):ut[t]&&ut[t][e]||lt[t]&<[t][e]},pt=I({}.isPrototypeOf),gt=p,mt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",vt=gt.process,yt=gt.Deno,bt=vt&&vt.versions||yt&&yt.version,wt=bt&&bt.v8;wt&&(z=(Q=wt.split("."))[0]>0&&Q[0]<4?1:+(Q[0]+Q[1])),!z&&mt&&(!(Q=mt.match(/Edge\/(\d+)/))||Q[1]>=74)&&(Q=mt.match(/Chrome\/(\d+)/))&&(z=+Q[1]);var St=z,Ot=St,xt=g,Ct=p.String,Et=!!Object.getOwnPropertySymbols&&!xt((function(){var t=Symbol("symbol detection");return!Ct(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Ot&&Ot<41})),It=Et&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,kt=ht,jt=R,At=pt,Lt=Object,Dt=It?function(t){return"symbol"==typeof t}:function(t){var e=kt("Symbol");return jt(e)&&At(e.prototype,Lt(t))},Pt=String,Ft=function(t){try{return Pt(t)}catch(t){return"Object"}},Mt=R,Rt=Ft,Nt=TypeError,Tt=function(t){if(Mt(t))return t;throw new Nt(Rt(t)+" is not a function")},_t=Tt,Ut=Z,Vt=V,Bt=R,Wt=st,Gt=TypeError,qt={exports:{}},Qt=p,zt=Object.defineProperty,Ht=p,Jt=function(t,e){try{zt(Qt,t,{value:e,configurable:!0,writable:!0})}catch(r){Qt[t]=e}return e},Kt="__core-js_shared__",$t=qt.exports=Ht[Kt]||Jt(Kt,{});($t.versions||($t.versions=[])).push({version:"3.37.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Xt=qt.exports,Yt=Xt,Zt=function(t,e){return Yt[t]||(Yt[t]=e||{})},te=rt,ee=Object,re=function(t){return ee(te(t))},ne=re,oe=I({}.hasOwnProperty),ie=Object.hasOwn||function(t,e){return oe(ne(t),e)},ae=I,se=0,ce=Math.random(),ue=ae(1..toString),le=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ue(++se+ce,36)},de=Zt,fe=ie,he=le,pe=Et,ge=It,me=p.Symbol,ve=de("wks"),ye=ge?me.for||me:me&&me.withoutSetter||he,be=function(t){return fe(ve,t)||(ve[t]=pe&&fe(me,t)?me[t]:ye("Symbol."+t)),ve[t]},we=V,Se=st,Oe=Dt,xe=function(t,e){var r=t[e];return Ut(r)?void 0:_t(r)},Ce=function(t,e){var r,n;if("string"===e&&Bt(r=t.toString)&&!Wt(n=Vt(r,t)))return n;if(Bt(r=t.valueOf)&&!Wt(n=Vt(r,t)))return n;if("string"!==e&&Bt(r=t.toString)&&!Wt(n=Vt(r,t)))return n;throw new Gt("Can't convert object to primitive value")},Ee=TypeError,Ie=be("toPrimitive"),ke=function(t,e){if(!Se(t)||Oe(t))return t;var r,n=xe(t,Ie);if(n){if(void 0===e&&(e="default"),r=we(n,t,e),!Se(r)||Oe(r))return r;throw new Ee("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ce(t,e)},je=Dt,Ae=function(t){var e=ke(t,"string");return je(e)?e:e+""},Le=st,De=p.document,Pe=Le(De)&&Le(De.createElement),Fe=function(t){return Pe?De.createElement(t):{}},Me=Fe,Re=!T&&!g((function(){return 7!==Object.defineProperty(Me("div"),"a",{get:function(){return 7}}).a})),Ne=T,Te=V,_e=B,Ue=H,Ve=it,Be=Ae,We=ie,Ge=Re,qe=Object.getOwnPropertyDescriptor;N.f=Ne?qe:function(t,e){if(t=Ve(t),e=Be(e),Ge)try{return qe(t,e)}catch(t){}if(We(t,e))return Ue(!Te(_e.f,t,e),t[e])};var Qe=g,ze=R,He=/#|\.prototype\./,Je=function(t,e){var r=$e[Ke(t)];return r===Ye||r!==Xe&&(ze(e)?Qe(e):!!e)},Ke=Je.normalize=function(t){return String(t).replace(He,".").toLowerCase()},$e=Je.data={},Xe=Je.NATIVE="N",Ye=Je.POLYFILL="P",Ze=Je,tr=Tt,er=m,rr=F(F.bind),nr=function(t,e){return tr(t),void 0===e?t:er?rr(t,e):function(){return t.apply(e,arguments)}},or={},ir=T&&g((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ar=st,sr=String,cr=TypeError,ur=function(t){if(ar(t))return t;throw new cr(sr(t)+" is not an object")},lr=T,dr=Re,fr=ir,hr=ur,pr=Ae,gr=TypeError,mr=Object.defineProperty,vr=Object.getOwnPropertyDescriptor,yr="enumerable",br="configurable",wr="writable";or.f=lr?fr?function(t,e,r){if(hr(t),e=pr(e),hr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&wr in r&&!r.writable){var n=vr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:br in r?r.configurable:n.configurable,enumerable:yr in r?r.enumerable:n.enumerable,writable:!1})}return mr(t,e,r)}:mr:function(t,e,r){if(hr(t),e=pr(e),hr(r),dr)try{return mr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new gr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Sr=or,Or=H,xr=T?function(t,e,r){return Sr.f(t,e,Or(1,r))}:function(t,e,r){return t[e]=r,t},Cr=p,Er=S,Ir=F,kr=R,jr=N.f,Ar=Ze,Lr=ct,Dr=nr,Pr=xr,Fr=ie,Mr=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return Er(t,this,arguments)};return e.prototype=t.prototype,e},Rr=function(t,e){var r,n,o,i,a,s,c,u,l,d=t.target,f=t.global,h=t.stat,p=t.proto,g=f?Cr:h?Cr[d]:Cr[d]&&Cr[d].prototype,m=f?Lr:Lr[d]||Pr(Lr,d,{})[d],v=m.prototype;for(i in e)n=!(r=Ar(f?i:d+(h?".":"#")+i,t.forced))&&g&&Fr(g,i),s=m[i],n&&(c=t.dontCallGetSet?(l=jr(g,i))&&l.value:g[i]),a=n&&c?c:e[i],(r||p||typeof s!=typeof a)&&(u=t.bind&&n?Dr(a,Cr):t.wrap&&n?Mr(a):p&&kr(a)?Ir(a):a,(t.sham||a&&a.sham||s&&s.sham)&&Pr(u,"sham",!0),Pr(m,i,u),p&&(Fr(Lr,o=d+"Prototype")||Pr(Lr,o,{}),Pr(Lr[o],i,a),t.real&&v&&(r||!v[i])&&Pr(v,i,a)))},Nr=Rr,Tr=T,_r=or.f;Nr({target:"Object",stat:!0,forced:Object.defineProperty!==_r,sham:!Tr},{defineProperty:_r});var Ur=ct.Object,Vr=f.exports=function(t,e,r){return Ur.defineProperty(t,e,r)};Ur.defineProperty.sham&&(Vr.sham=!0);var Br=d(f.exports),Wr=L,Gr=Array.isArray||function(t){return"Array"===Wr(t)},qr=Math.ceil,Qr=Math.floor,zr=Math.trunc||function(t){var e=+t;return(e>0?Qr:qr)(e)},Hr=zr,Jr=function(t){var e=+t;return e!=e||0===e?0:Hr(e)},Kr=Jr,$r=Math.min,Xr=function(t){var e=Kr(t);return e>0?$r(e,9007199254740991):0},Yr=function(t){return Xr(t.length)},Zr=TypeError,tn=T,en=or,rn=H,nn={};nn[be("toStringTag")]="z";var on="[object z]"===String(nn),an=on,sn=R,cn=L,un=be("toStringTag"),ln=Object,dn="Arguments"===cn(function(){return arguments}()),fn=an?cn:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=ln(t),un))?r:dn?cn(e):"Object"===(n=cn(e))&&sn(e.callee)?"Arguments":n},hn=R,pn=Xt,gn=I(Function.toString);hn(pn.inspectSource)||(pn.inspectSource=function(t){return gn(t)});var mn=pn.inspectSource,vn=I,yn=g,bn=R,wn=fn,Sn=mn,On=function(){},xn=ht("Reflect","construct"),Cn=/^\s*(?:class|function)\b/,En=vn(Cn.exec),In=!Cn.test(On),kn=function(t){if(!bn(t))return!1;try{return xn(On,[],t),!0}catch(t){return!1}},jn=function(t){if(!bn(t))return!1;switch(wn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return In||!!En(Cn,Sn(t))}catch(t){return!0}};jn.sham=!0;var An=!xn||yn((function(){var t;return kn(kn.call)||!kn(Object)||!kn((function(){t=!0}))||t}))?jn:kn,Ln=Gr,Dn=An,Pn=st,Fn=be("species"),Mn=Array,Rn=function(t){var e;return Ln(t)&&(e=t.constructor,(Dn(e)&&(e===Mn||Ln(e.prototype))||Pn(e)&&null===(e=e[Fn]))&&(e=void 0)),void 0===e?Mn:e},Nn=function(t,e){return new(Rn(t))(0===e?0:e)},Tn=g,_n=St,Un=be("species"),Vn=Rr,Bn=g,Wn=Gr,Gn=st,qn=re,Qn=Yr,zn=function(t){if(t>9007199254740991)throw Zr("Maximum allowed index exceeded");return t},Hn=function(t,e,r){tn?en.f(t,e,rn(0,r)):t[e]=r},Jn=Nn,Kn=function(t){return _n>=51||!Tn((function(){var e=[];return(e.constructor={})[Un]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},$n=St,Xn=be("isConcatSpreadable"),Yn=$n>=51||!Bn((function(){var t=[];return t[Xn]=!1,t.concat()[0]!==t})),Zn=function(t){if(!Gn(t))return!1;var e=t[Xn];return void 0!==e?!!e:Wn(t)};Vn({target:"Array",proto:!0,arity:1,forced:!Yn||!Kn("concat")},{concat:function(t){var e,r,n,o,i,a=qn(this),s=Jn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Zn(i=-1===e?a:arguments[e]))for(o=Qn(i),zn(c+o),r=0;r<o;r++,c++)r in i&&Hn(s,c,i[r]);else zn(c+1),Hn(s,c++,i);return s.length=c,s}});var to=fn,eo=String,ro=function(t){if("Symbol"===to(t))throw new TypeError("Cannot convert a Symbol value to a string");return eo(t)},no={},oo=Jr,io=Math.max,ao=Math.min,so=it,co=function(t,e){var r=oo(t);return r<0?io(r+e,0):ao(r,e)},uo=Yr,lo=function(t){return function(e,r,n){var o=so(e),i=uo(o);if(0===i)return!t&&-1;var a,s=co(n,i);if(t&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},fo={includes:lo(!0),indexOf:lo(!1)},ho={},po=ie,go=it,mo=fo.indexOf,vo=ho,yo=I([].push),bo=function(t,e){var r,n=go(t),o=0,i=[];for(r in n)!po(vo,r)&&po(n,r)&&yo(i,r);for(;e.length>o;)po(n,r=e[o++])&&(~mo(i,r)||yo(i,r));return i},wo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],So=bo,Oo=wo,xo=Object.keys||function(t){return So(t,Oo)},Co=T,Eo=ir,Io=or,ko=ur,jo=it,Ao=xo;no.f=Co&&!Eo?Object.defineProperties:function(t,e){ko(t);for(var r,n=jo(e),o=Ao(e),i=o.length,a=0;i>a;)Io.f(t,r=o[a++],n[r]);return t};var Lo,Do=ht("document","documentElement"),Po=le,Fo=Zt("keys"),Mo=function(t){return Fo[t]||(Fo[t]=Po(t))},Ro=ur,No=no,To=wo,_o=ho,Uo=Do,Vo=Fe,Bo=Mo("IE_PROTO"),Wo=function(){},Go=function(t){return"<script>"+t+"</"+"script>"},qo=function(t){t.write(Go("")),t.close();var e=t.parentWindow.Object;return t=null,e},Qo=function(){try{Lo=new ActiveXObject("htmlfile")}catch(t){}var t,e;Qo="undefined"!=typeof document?document.domain&&Lo?qo(Lo):((e=Vo("iframe")).style.display="none",Uo.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Go("document.F=Object")),t.close(),t.F):qo(Lo);for(var r=To.length;r--;)delete Qo.prototype[To[r]];return Qo()};_o[Bo]=!0;var zo=Object.create||function(t,e){var r;return null!==t?(Wo.prototype=Ro(t),r=new Wo,Wo.prototype=null,r[Bo]=t):r=Qo(),void 0===e?r:No.f(r,e)},Ho={},Jo=bo,Ko=wo.concat("length","prototype");Ho.f=Object.getOwnPropertyNames||function(t){return Jo(t,Ko)};var $o={},Xo=I([].slice),Yo=L,Zo=it,ti=Ho.f,ei=Xo,ri="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];$o.f=function(t){return ri&&"Window"===Yo(t)?function(t){try{return ti(t)}catch(t){return ei(ri)}}(t):ti(Zo(t))};var ni={};ni.f=Object.getOwnPropertySymbols;var oi=xr,ii=function(t,e,r,n){return n&&n.enumerable?t[e]=r:oi(t,e,r),t},ai=or,si={},ci=be;si.f=ci;var ui,li,di,fi=ct,hi=ie,pi=si,gi=or.f,mi=function(t){var e=fi.Symbol||(fi.Symbol={});hi(e,t)||gi(e,t,{value:pi.f(t)})},vi=V,yi=ht,bi=be,wi=ii,Si=function(){var t=yi("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=bi("toPrimitive");e&&!e[n]&&wi(e,n,(function(t){return vi(r,this)}),{arity:1})},Oi=fn,xi=on?{}.toString:function(){return"[object "+Oi(this)+"]"},Ci=on,Ei=or.f,Ii=xr,ki=ie,ji=xi,Ai=be("toStringTag"),Li=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(ki(o,Ai)||Ei(o,Ai,{configurable:!0,value:e}),n&&!Ci&&Ii(o,"toString",ji))},Di=R,Pi=p.WeakMap,Fi=Di(Pi)&&/native code/.test(String(Pi)),Mi=p,Ri=st,Ni=xr,Ti=ie,_i=Xt,Ui=Mo,Vi=ho,Bi="Object already initialized",Wi=Mi.TypeError,Gi=Mi.WeakMap;if(Fi||_i.state){var qi=_i.state||(_i.state=new Gi);qi.get=qi.get,qi.has=qi.has,qi.set=qi.set,ui=function(t,e){if(qi.has(t))throw new Wi(Bi);return e.facade=t,qi.set(t,e),e},li=function(t){return qi.get(t)||{}},di=function(t){return qi.has(t)}}else{var Qi=Ui("state");Vi[Qi]=!0,ui=function(t,e){if(Ti(t,Qi))throw new Wi(Bi);return e.facade=t,Ni(t,Qi,e),e},li=function(t){return Ti(t,Qi)?t[Qi]:{}},di=function(t){return Ti(t,Qi)}}var zi={set:ui,get:li,has:di,enforce:function(t){return di(t)?li(t):ui(t,{})},getterFor:function(t){return function(e){var r;if(!Ri(e)||(r=li(e)).type!==t)throw new Wi("Incompatible receiver, "+t+" required");return r}}},Hi=nr,Ji=Y,Ki=re,$i=Yr,Xi=Nn,Yi=I([].push),Zi=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(c,u,l,d){for(var f,h,p=Ki(c),g=Ji(p),m=$i(g),v=Hi(u,l),y=0,b=d||Xi,w=e?b(c,m):r||a?b(c,0):void 0;m>y;y++)if((s||y in g)&&(h=v(f=g[y],y,p),t))if(e)w[y]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return y;case 2:Yi(w,f)}else switch(t){case 4:return!1;case 7:Yi(w,f)}return i?-1:n||o?o:w}},ta={forEach:Zi(0),map:Zi(1),filter:Zi(2),some:Zi(3),every:Zi(4),find:Zi(5),findIndex:Zi(6),filterReject:Zi(7)},ea=Rr,ra=p,na=V,oa=I,ia=T,aa=Et,sa=g,ca=ie,ua=pt,la=ur,da=it,fa=Ae,ha=ro,pa=H,ga=zo,ma=xo,va=Ho,ya=$o,ba=ni,wa=N,Sa=or,Oa=no,xa=B,Ca=ii,Ea=function(t,e,r){return ai.f(t,e,r)},Ia=Zt,ka=ho,ja=le,Aa=be,La=si,Da=mi,Pa=Si,Fa=Li,Ma=zi,Ra=ta.forEach,Na=Mo("hidden"),Ta="Symbol",_a=Ma.set,Ua=Ma.getterFor(Ta),Va=Object.prototype,Ba=ra.Symbol,Wa=Ba&&Ba.prototype,Ga=ra.RangeError,qa=ra.TypeError,Qa=ra.QObject,za=wa.f,Ha=Sa.f,Ja=ya.f,Ka=xa.f,$a=oa([].push),Xa=Ia("symbols"),Ya=Ia("op-symbols"),Za=Ia("wks"),ts=!Qa||!Qa.prototype||!Qa.prototype.findChild,es=function(t,e,r){var n=za(Va,e);n&&delete Va[e],Ha(t,e,r),n&&t!==Va&&Ha(Va,e,n)},rs=ia&&sa((function(){return 7!==ga(Ha({},"a",{get:function(){return Ha(this,"a",{value:7}).a}})).a}))?es:Ha,ns=function(t,e){var r=Xa[t]=ga(Wa);return _a(r,{type:Ta,tag:t,description:e}),ia||(r.description=e),r},os=function(t,e,r){t===Va&&os(Ya,e,r),la(t);var n=fa(e);return la(r),ca(Xa,n)?(r.enumerable?(ca(t,Na)&&t[Na][n]&&(t[Na][n]=!1),r=ga(r,{enumerable:pa(0,!1)})):(ca(t,Na)||Ha(t,Na,pa(1,ga(null))),t[Na][n]=!0),rs(t,n,r)):Ha(t,n,r)},is=function(t,e){la(t);var r=da(e),n=ma(r).concat(us(r));return Ra(n,(function(e){ia&&!na(as,r,e)||os(t,e,r[e])})),t},as=function(t){var e=fa(t),r=na(Ka,this,e);return!(this===Va&&ca(Xa,e)&&!ca(Ya,e))&&(!(r||!ca(this,e)||!ca(Xa,e)||ca(this,Na)&&this[Na][e])||r)},ss=function(t,e){var r=da(t),n=fa(e);if(r!==Va||!ca(Xa,n)||ca(Ya,n)){var o=za(r,n);return!o||!ca(Xa,n)||ca(r,Na)&&r[Na][n]||(o.enumerable=!0),o}},cs=function(t){var e=Ja(da(t)),r=[];return Ra(e,(function(t){ca(Xa,t)||ca(ka,t)||$a(r,t)})),r},us=function(t){var e=t===Va,r=Ja(e?Ya:da(t)),n=[];return Ra(r,(function(t){!ca(Xa,t)||e&&!ca(Va,t)||$a(n,Xa[t])})),n};aa||(Ba=function(){if(ua(Wa,this))throw new qa("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?ha(arguments[0]):void 0,e=ja(t),r=function(t){var n=void 0===this?ra:this;n===Va&&na(r,Ya,t),ca(n,Na)&&ca(n[Na],e)&&(n[Na][e]=!1);var o=pa(1,t);try{rs(n,e,o)}catch(t){if(!(t instanceof Ga))throw t;es(n,e,o)}};return ia&&ts&&rs(Va,e,{configurable:!0,set:r}),ns(e,t)},Ca(Wa=Ba.prototype,"toString",(function(){return Ua(this).tag})),Ca(Ba,"withoutSetter",(function(t){return ns(ja(t),t)})),xa.f=as,Sa.f=os,Oa.f=is,wa.f=ss,va.f=ya.f=cs,ba.f=us,La.f=function(t){return ns(Aa(t),t)},ia&&Ea(Wa,"description",{configurable:!0,get:function(){return Ua(this).description}})),ea({global:!0,constructor:!0,wrap:!0,forced:!aa,sham:!aa},{Symbol:Ba}),Ra(ma(Za),(function(t){Da(t)})),ea({target:Ta,stat:!0,forced:!aa},{useSetter:function(){ts=!0},useSimple:function(){ts=!1}}),ea({target:"Object",stat:!0,forced:!aa,sham:!ia},{create:function(t,e){return void 0===e?ga(t):is(ga(t),e)},defineProperty:os,defineProperties:is,getOwnPropertyDescriptor:ss}),ea({target:"Object",stat:!0,forced:!aa},{getOwnPropertyNames:cs}),Pa(),Fa(Ba,Ta),ka[Na]=!0;var ls=Et&&!!Symbol.for&&!!Symbol.keyFor,ds=Rr,fs=ht,hs=ie,ps=ro,gs=Zt,ms=ls,vs=gs("string-to-symbol-registry"),ys=gs("symbol-to-string-registry");ds({target:"Symbol",stat:!0,forced:!ms},{for:function(t){var e=ps(t);if(hs(vs,e))return vs[e];var r=fs("Symbol")(e);return vs[e]=r,ys[r]=e,r}});var bs=Rr,ws=ie,Ss=Dt,Os=Ft,xs=ls,Cs=Zt("symbol-to-string-registry");bs({target:"Symbol",stat:!0,forced:!xs},{keyFor:function(t){if(!Ss(t))throw new TypeError(Os(t)+" is not a symbol");if(ws(Cs,t))return Cs[t]}});var Es=Gr,Is=R,ks=L,js=ro,As=I([].push),Ls=Rr,Ds=ht,Ps=S,Fs=V,Ms=I,Rs=g,Ns=R,Ts=Dt,_s=Xo,Us=function(t){if(Is(t))return t;if(Es(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?As(r,o):"number"!=typeof o&&"Number"!==ks(o)&&"String"!==ks(o)||As(r,js(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Es(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Vs=Et,Bs=String,Ws=Ds("JSON","stringify"),Gs=Ms(/./.exec),qs=Ms("".charAt),Qs=Ms("".charCodeAt),zs=Ms("".replace),Hs=Ms(1..toString),Js=/[\uD800-\uDFFF]/g,Ks=/^[\uD800-\uDBFF]$/,$s=/^[\uDC00-\uDFFF]$/,Xs=!Vs||Rs((function(){var t=Ds("Symbol")("stringify detection");return"[null]"!==Ws([t])||"{}"!==Ws({a:t})||"{}"!==Ws(Object(t))})),Ys=Rs((function(){return'"\\udf06\\ud834"'!==Ws("\udf06\ud834")||'"\\udead"'!==Ws("\udead")})),Zs=function(t,e){var r=_s(arguments),n=Us(e);if(Ns(n)||void 0!==t&&!Ts(t))return r[1]=function(t,e){if(Ns(n)&&(e=Fs(n,this,Bs(t),e)),!Ts(e))return e},Ps(Ws,null,r)},tc=function(t,e,r){var n=qs(r,e-1),o=qs(r,e+1);return Gs(Ks,t)&&!Gs($s,o)||Gs($s,t)&&!Gs(Ks,n)?"\\u"+Hs(Qs(t,0),16):t};Ws&&Ls({target:"JSON",stat:!0,arity:3,forced:Xs||Ys},{stringify:function(t,e,r){var n=_s(arguments),o=Ps(Xs?Zs:Ws,null,n);return Ys&&"string"==typeof o?zs(o,Js,tc):o}});var ec=ni,rc=re;Rr({target:"Object",stat:!0,forced:!Et||g((function(){ec.f(1)}))},{getOwnPropertySymbols:function(t){var e=ec.f;return e?e(rc(t)):[]}}),mi("asyncIterator"),mi("hasInstance"),mi("isConcatSpreadable"),mi("iterator"),mi("match"),mi("matchAll"),mi("replace"),mi("search"),mi("species"),mi("split");var nc=Si;mi("toPrimitive"),nc();var oc=ht,ic=Li;mi("toStringTag"),ic(oc("Symbol"),"Symbol"),mi("unscopables"),Li(p.JSON,"JSON",!0);var ac,sc,cc,uc=ct.Symbol,lc={},dc=T,fc=ie,hc=Function.prototype,pc=dc&&Object.getOwnPropertyDescriptor,gc=fc(hc,"name"),mc={EXISTS:gc,PROPER:gc&&"something"===function(){}.name,CONFIGURABLE:gc&&(!dc||dc&&pc(hc,"name").configurable)},vc=!g((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yc=ie,bc=R,wc=re,Sc=vc,Oc=Mo("IE_PROTO"),xc=Object,Cc=xc.prototype,Ec=Sc?xc.getPrototypeOf:function(t){var e=wc(t);if(yc(e,Oc))return e[Oc];var r=e.constructor;return bc(r)&&e instanceof r?r.prototype:e instanceof xc?Cc:null},Ic=g,kc=R,jc=st,Ac=zo,Lc=Ec,Dc=ii,Pc=be("iterator"),Fc=!1;[].keys&&("next"in(cc=[].keys())?(sc=Lc(Lc(cc)))!==Object.prototype&&(ac=sc):Fc=!0);var Mc=!jc(ac)||Ic((function(){var t={};return ac[Pc].call(t)!==t}));kc((ac=Mc?{}:Ac(ac))[Pc])||Dc(ac,Pc,(function(){return this}));var Rc={IteratorPrototype:ac,BUGGY_SAFARI_ITERATORS:Fc},Nc=Rc.IteratorPrototype,Tc=zo,_c=H,Uc=Li,Vc=lc,Bc=function(){return this},Wc=Rr,Gc=V,qc=mc,Qc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Tc(Nc,{next:_c(+!n,r)}),Uc(t,o,!1,!0),Vc[o]=Bc,t},zc=Ec,Hc=Li,Jc=ii,Kc=lc,$c=Rc,Xc=qc.PROPER,Yc=$c.BUGGY_SAFARI_ITERATORS,Zc=be("iterator"),tu="keys",eu="values",ru="entries",nu=function(){return this},ou=function(t,e,r,n,o,i,a){Qc(r,e,n);var s,c,u,l=function(t){if(t===o&&g)return g;if(!Yc&&t&&t in h)return h[t];switch(t){case tu:case eu:case ru:return function(){return new r(this,t)}}return function(){return new r(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Zc]||h["@@iterator"]||o&&h[o],g=!Yc&&p||l(o),m="Array"===e&&h.entries||p;if(m&&(s=zc(m.call(new t)))!==Object.prototype&&s.next&&(Hc(s,d,!0,!0),Kc[d]=nu),Xc&&o===eu&&p&&p.name!==eu&&(f=!0,g=function(){return Gc(p,this)}),o)if(c={values:l(eu),keys:i?g:l(tu),entries:l(ru)},a)for(u in c)(Yc||f||!(u in h))&&Jc(h,u,c[u]);else Wc({target:e,proto:!0,forced:Yc||f},c);return a&&h[Zc]!==g&&Jc(h,Zc,g,{name:o}),Kc[e]=g,c},iu=function(t,e){return{value:t,done:e}},au=it,su=lc,cu=zi;or.f;var uu=ou,lu=iu,du="Array Iterator",fu=cu.set,hu=cu.getterFor(du);uu(Array,"Array",(function(t,e){fu(this,{type:du,target:au(t),index:0,kind:e})}),(function(){var t=hu(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,lu(void 0,!0);switch(t.kind){case"keys":return lu(r,!1);case"values":return lu(e[r],!1)}return lu([r,e[r]],!1)}),"values"),su.Arguments=su.Array;var pu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gu=p,mu=Li,vu=lc;for(var yu in pu)mu(gu[yu],yu),vu[yu]=vu.Array;var bu=uc,wu=be,Su=or.f,Ou=wu("metadata"),xu=Function.prototype;void 0===xu[Ou]&&Su(xu,Ou,{value:null}),mi("asyncDispose"),mi("dispose"),mi("metadata");var Cu=bu,Eu=I,Iu=ht("Symbol"),ku=Iu.keyFor,ju=Eu(Iu.prototype.valueOf),Au=Iu.isRegisteredSymbol||function(t){try{return void 0!==ku(ju(t))}catch(t){return!1}};Rr({target:"Symbol",stat:!0},{isRegisteredSymbol:Au});for(var Lu=Zt,Du=ht,Pu=I,Fu=Dt,Mu=be,Ru=Du("Symbol"),Nu=Ru.isWellKnownSymbol,Tu=Du("Object","getOwnPropertyNames"),_u=Pu(Ru.prototype.valueOf),Uu=Lu("wks"),Vu=0,Bu=Tu(Ru),Wu=Bu.length;Vu<Wu;Vu++)try{var Gu=Bu[Vu];Fu(Ru[Gu])&&Mu(Gu)}catch(t){}var qu=function(t){if(Nu&&Nu(t))return!0;try{for(var e=_u(t),r=0,n=Tu(Uu),o=n.length;r<o;r++)if(Uu[n[r]]==e)return!0}catch(t){}return!1};Rr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:qu}),mi("customMatcher"),mi("observable"),Rr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Au}),Rr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:qu}),mi("matcher"),mi("metadataKey"),mi("patternMatch"),mi("replaceAll");var Qu=d(Cu),zu=I,Hu=Jr,Ju=ro,Ku=rt,$u=zu("".charAt),Xu=zu("".charCodeAt),Yu=zu("".slice),Zu=function(t){return function(e,r){var n,o,i=Ju(Ku(e)),a=Hu(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Xu(i,a))<55296||n>56319||a+1===s||(o=Xu(i,a+1))<56320||o>57343?t?$u(i,a):n:t?Yu(i,a,a+2):o-56320+(n-55296<<10)+65536}},tl={codeAt:Zu(!1),charAt:Zu(!0)}.charAt,el=ro,rl=zi,nl=ou,ol=iu,il="String Iterator",al=rl.set,sl=rl.getterFor(il);nl(String,"String",(function(t){al(this,{type:il,string:el(t),index:0})}),(function(){var t,e=sl(this),r=e.string,n=e.index;return n>=r.length?ol(void 0,!0):(t=tl(r,n),e.index+=t.length,ol(t,!1))}));var cl=d(si.f("iterator"));function ul(t){return ul="function"==typeof Qu&&"symbol"==typeof cl?function(t){return typeof t}:function(t){return t&&"function"==typeof Qu&&t.constructor===Qu&&t!==Qu.prototype?"symbol":typeof t},ul(t)}var ll=d(si.f("toPrimitive"));function dl(t){var e=function(t,e){if("object"!=ul(t)||!t)return t;var r=t[ll];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ul(e)?e:e+""}function fl(t,e,r){return(e=dl(e))in t?Br(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const hl=new RegExp("^".concat("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}","$"),"i"),pl=!!String.prototype.trim;function gl(t,e){return null!=t?e(t):t}function ml(t){return"object"==typeof t?JSON.stringify(t):""+t}function vl(t){return null!=t}function yl(t){return!!t&&hl.test(wl(t))}function bl(t){return"[object Array]"===Object.prototype.toString.call(t)}function wl(t){return pl?(""+t).trim():(""+t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function Sl(t){return"string"==typeof t}function Ol(t,e){return Sl(t)&&Sl(e)&&wl(t.toLowerCase())===wl(e.toLowerCase())}function xl(t){return!!t&&"object"==typeof t&&!bl(t)}function Cl(t){return!!t&&"function"==typeof t}function El(t){return function(t,e){return new Date((new Date).getTime()+t*e)}(t,864e5)}function Il(t,e,r){if(xl(e)){let n;return n="message"in e&&"string"==typeof e.message?new Error(r||e.message):new Error(r),n.name=t,"stack"in e&&"string"==typeof e.stack&&(n.stack=e.stack),"lineNumber"in e&&"number"==typeof e.lineNumber&&(n.lineNumber=e.lineNumber),"columnNumber"in e&&"number"==typeof e.columnNumber&&(n.columnNumber=e.columnNumber),n}{const e=Error(r);return e.name=t,e}}const kl="li_errors";class jl{constructor(t){fl(this,"data",void 0);const e=parseInt(t.toString())||5;this.data={h:{},q:{},size:e}}on(t,e,r){const n={callback:e.bind(r),unbound:e};return this.data={...this.data,h:{...this.data.h,[t]:[...this.data.h[t]||[],n]}},(this.data.q[t]||[]).forEach((t=>e.call(r,t))),this}once(t,e,r){const n=this.data.q[t]||[];if(n.length>0)return e.call(r,n[0]),this;{const n=o=>{this.off(t,n),e.call(r,o)};return n._=e,this.on(t,n,r)}}emit(t,e){(this.data.h[t]||[]).forEach((t=>t.callback(e)));const r=this.data.q[t]||[];return this.data={...this.data,q:{...this.data.q,[t]:[...r.length<this.data.size?r:r.slice(1),e]}},this}off(t,e){const r=this.data.h[t],n=r&&e&&r.filter((t=>t.unbound!==e))||[];if(n.length)this.data={...this.data,h:{...this.data.h,[t]:n}};else{const{[t]:e,...r}=this.data.h;this.data={...this.data,h:r}}return this}emitErrorWithMessage(t,e,r){const n=Il(t,r,e);return this.emit(kl,n)}emitError(t,e){const r=Il(t,e);return this.emit(kl,r)}}class Al{constructor(t){var e,r,n;fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"calls",void 0),fl(this,"eventBus",void 0),fl(this,"retries",void 0),this.url=null!==(e=t.collectorUrl)&&void 0!==e?e:"https://rp.liadm.com",this.timeout=null!==(r=t.ajaxTimeout)&&void 0!==r?r:0,this.calls=t.callHandler,this.eventBus=t.eventBus,this.retries=null!==(n=t.ajaxRetries)&&void 0!==n?n:3}callBakers(t){try{const e=JSON.parse(t).bakers;if(bl(e))for(let t=0;t<e.length;t++)this.calls.pixelGet("".concat(e[t],"?dtstmp=").concat(Date.now()))}catch(e){this.eventBus.emitErrorWithMessage("CallBakers","Error while calling bakers with ".concat(t),e)}}sendState(t,e,r,n){if(t.sendsPixel()){n&&Cl(n)&&n();const o=t.asQuery().add("dtstmp",Date.now(),{prepend:!0}).toQueryString();r("".concat(this.url,"/").concat(e).concat(o))}}sendAjax(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"j",(r=>{const n=o=>{this.calls.ajaxGet(r,(t=>{e.onLoad&&Cl(e.onLoad)&&e.onLoad(),this.callBakers(t)}),(r=>{o<=0?(this.sendPixel(t,e),this.eventBus.emitError("AjaxFailed",r)):n(o-1)}),this.timeout)};n(this.retries)}),e.onPreSend)}sendPixel(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"p",(t=>this.calls.pixelGet(t,e.onLoad)),e.onPreSend)}}const Ll="lips",Dl="pre_lips",Pl="_li_duid",Fl="https://idx.liadm.com/idex",Ml=[];function Rl(t){const e=function(t){t="".concat(t);for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>255)return null;let e="";for(let n=0;n<t.length;n+=3){const o=[void 0,void 0,void 0,void 0];o[0]=t.charCodeAt(n)>>2,o[1]=(3&t.charCodeAt(n))<<4,t.length>n+2?(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2,o[2]|=t.charCodeAt(n+2)>>6,o[3]=63&t.charCodeAt(n+2)):t.length>n+1&&(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2);for(let t=0;t<o.length;t++){const n=o[t];e+=void 0===n?"=":(r=n)>=0&&r<64?"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[r]:void 0}}var r;return e}(t);return e||""}const Nl=/[+/]|=+$/g,Tl={"+":"-","/":"_"};function _l(t){return Tl[t]||""}function Ul(t){let e=null;const r=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((t,e)=>String.fromCharCode(parseInt("0x"+e,16))));try{e=window&&Cl(window.btoa)?window.btoa:Rl}catch(t){e=Rl}return e(r).replace(Nl,_l)}for(var Vl=[],Bl=0;Bl<64;)Vl[Bl]=0|4294967296*Math.sin(++Bl%Math.PI);function Wl(t){var e,r,n,o=[e=1732584193,r=4023233417,~e,~r],i=[],a=unescape(encodeURI(t))+"",s=a.length;for(t=--s/4+2|15,i[--t]=8*s;~s;)i[s>>2]|=a.charCodeAt(s)<<8*s--;for(Bl=a=0;Bl<t;Bl+=16){for(s=o;a<64;s=[n=s[3],e+((n=s[0]+[e&r|~e&n,n&e|~n&r,e^r^n,r^(e|~n)][s=a>>4]+Vl[a]+~~i[Bl|15&[a,5*a+1,3*a+5,7*a][s]])<<(s=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*s+a++%4])|n>>>-s),e,r])e=0|s[1],r=s[2];for(a=4;a;)o[--a]+=s[a]}for(t="";a<32;)t+=(o[a>>3]>>4*(1^a++)&15).toString(16);return t}function Gl(t){var e,r,n,o,i,a=[],s=[r=1732584193,n=4023233417,~r,~n,3285377520],c=[],u=unescape(encodeURI(t))+"",l=u.length;for(c[t=--l/4+2|15]=8*l;~l;)c[l>>2]|=u.charCodeAt(l)<<8*~l--;for(e=l=0;e<t;e+=16){for(r=s;l<80;r=[r[4]+(a[l]=l<16?~~c[e+l]:2*u|u<0)+1518500249+[n&o|~n&i,u=341275144+(n^o^i),882459459+(n&o|n&i|o&i),u+1535694389][l++/5>>2]+((u=r[0])<<5|u>>>27),u,n<<30|n>>>2,o,i])u=a[l-3]^a[l-8]^a[l-14]^a[l-16],n=r[1],o=r[2],i=r[3];for(l=5;l;)s[--l]+=r[l]}for(u="";l<40;)u+=(s[l>>3]>>4*(7-l++)&15).toString(16);return u}for(var ql,Ql=18,zl=[],Hl=[];Ql>1;Ql--)for(ql=Ql;ql<320;)zl[ql+=Ql]=1;function Jl(t,e){return 4294967296*Math.pow(t,1/e)|0}for(ql=0;ql<64;)zl[++Ql]||(Hl[ql]=Jl(Ql,2),zl[ql++]=Jl(Ql,3));function Kl(t,e){return t>>>e|t<<-e}function $l(t){var e=Hl.slice(Ql=ql=0,8),r=[],n=unescape(encodeURI(t))+"",o=n.length;for(r[t=--o/4+2|15]=8*o;~o;)r[o>>2]|=n.charCodeAt(o)<<8*~o--;for(o=[];Ql<t;Ql+=16){for(Jl=e.slice();ql<64;Jl.unshift(n+(Kl(n=Jl[0],2)^Kl(n,13)^Kl(n,22))+(n&Jl[1]^Jl[1]&Jl[2]^Jl[2]&n)))Jl[3]+=n=0|(o[ql]=ql<16?~~r[ql+Ql]:(Kl(n=o[ql-2],17)^Kl(n,19)^n>>>10)+o[ql-7]+(Kl(n=o[ql-15],7)^Kl(n,18)^n>>>3)+o[ql-16])+Jl.pop()+(Kl(n=Jl[4],6)^Kl(n,11)^Kl(n,25))+(n&Jl[5]^~n&Jl[6])+zl[ql++];for(ql=8;ql;)e[--ql]+=Jl[ql]}for(n="";ql<64;)n+=(e[ql>>3]>>4*(7-ql++)&15).toString(16);return n}const Xl=new Map([[32,"md5"],[40,"sha1"],[64,"sha256"]]);function Yl(t){const e=Zl(t);return!!e&&Xl.has(e.length)}function Zl(t){const e=t.match(/(\s+)?[a-f0-9]{32,64}(\s+)?/gi);return e&&e.map(wl)[0]}function td(t){const e=t.toLowerCase();return{md5:Wl(e),sha1:Gl(e),sha256:$l(e)}}function ed(t){return/\S+(@|%40)\S+\.\S+/.test(t)}function rd(t){const e=t.match(/\S+(@|%40)\S+\.\S+/);return e&&e.map(wl)[0]}function nd(t){const e=function(t){const e=[],r=new RegExp("([\\w\\d.+-]+(@|%40)[\\w\\d-]+.[\\w\\d.-]+)","g");let n=r.exec(t);for(;n;)e.push(wl(n[1])),n=r.exec(t);return e}(t),r=[];let n=t;for(let t=0;t<e.length;t++){const o=e[t],i=td(o);n=n.replace(o,i.md5),r.push(i)}return{stringWithoutRawEmails:n,hashesFromOriginalString:r}}function od(t,e){return"string"==typeof e&&ed(wl(e))?"*********":e}function id(t){return function(t){return"false"!==t&&("true"===t||t)}(function(t){return"null"===t||"undefined"===t?null:t}(function(t){return isNaN(+t)?t:+t}(t)))}function ad(t,e){if(e in t){const r=t[e];return bl(r)?r.map((t=>id(cd(t)))):id(cd(r))}}function sd(t){let e,r,n;const o={};return t&&-1!==(e=t.indexOf("?"))&&(r=t.slice(e+1))&&(-1===(n=r.indexOf("#"))||(r=r.slice(0,n)))?(r.split("&").forEach((function(t){if(t){let e;const r=t.split("=");e=r[0];const n=2===r.length?r[1]:"true";if("[]"===e.slice(-2)&&(e=e.slice(0,-2)),e in o){const t=o[e];bl(t)?t.push(n):o[e]=[t,n]}else o[e]=n}})),o):o}function cd(t){return t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)}class ud{constructor(t){fl(this,"hash",void 0),fl(this,"host",void 0),fl(this,"hostname",void 0),fl(this,"pathname",void 0),fl(this,"port",void 0),fl(this,"protocol",void 0),fl(this,"search",void 0);const e=t.match(/^(https?\:\/\/)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(null===e)throw new TypeError("Failed to parse URL: ".concat(t));this.protocol=e[1]||"",this.host=e[2]||"",this.hostname=e[3]||"",this.port=e[4]||"",this.pathname=e[5]||"",this.search=e[6]||"",this.hash=e[7]||""}toString(){return"".concat(this.protocol).concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)}}const ld=["items","itemids"],dd=["email","emailhash","hash","hashedemail"];const fd=[function(t){const e=t.eventSource||{},r=Object.keys(e);for(const n of r){const r=n.toLowerCase();if(dd.indexOf(r)>-1){const r=wl(ml(e[n])),o=rd(r),i=Zl(r);if(o){const e=td(cd(o));return hd({hashedEmail:[e.md5,e.sha1,e.sha256]},t)}if(i&&Yl(i))return hd({hashedEmail:[i.toLowerCase()]},t)}}return t},function(t){const e=t.eventSource||{};return Object.keys(e).forEach((t=>{const r=t.toLowerCase(),n=e[t];ld.indexOf(r)>-1&&bl(n)&&n.length>10&&(n.length=10)})),{}}];function hd(t,e){const r={};function n(t){return xl(t)?t:{}}function o(t){return Object.keys(t)}const i=n(t),a=n(e);return o(i).forEach((t=>{r[t]=i[t]})),o(a).forEach((t=>{r[t]=a[t]})),r}class pd{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];fl(this,"tuples",void 0),this.tuples=t}add(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{stripEmpty:n=!0,prepend:o=!1}=r;return""===t||n&&""===e?this:o?(this.tuples.unshift([t,e]),this):(this.tuples.push([t,e]),this)}addOptional(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vl(e)?this.add(t,e,r):this}addParamsMap(t){return Object.keys(t).forEach((e=>{const r=t[e];vl(r)&&(bl(r)?r.forEach((t=>this.add(e,t))):this.add(e,r))})),this}copy(){return new pd(this.tuples.slice())}filteredCopy(t){return new pd(this.tuples.filter((e=>{let[r,n]=e;return t(r,n)})))}toQueryString(){let t="";return this.tuples.forEach((e=>{let[r,n]=e;const o=0===t.length?"?":"&";t="".concat(t).concat(o).concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})),t}}function gd(t){return null===t?"":t}const md="full",vd="no_path";function yd(t){if(void 0===t.pageUrl||0===t.pageUrl.length)return["",!1,[]];if(function(t){return!(void 0!==t.urlCollectionMode&&t.urlCollectionMode!==md||void 0!==t.queryParametersFilter&&""!==t.queryParametersFilter)}(t))return[t.pageUrl,!1,[]];const e=new ud(t.pageUrl),r=function(t){const e=sd(t),r=[];return Object.keys(e).forEach((t=>{r.push([t,ad(e,t)])})),r}(e.search),n=function(t,e){return e.urlCollectionMode===vd&&t.pathname.length>1}(e,t),o=function(t,e){if(void 0===e.queryParametersFilter||""===e.queryParametersFilter)return[];const r=new RegExp(e.queryParametersFilter);return t.map((t=>t[0])).filter((t=>r.test(t)))}(r,t);return n&&(e.pathname="/"),o.length>0&&(e.search=function(t,e){const r=t.filter((t=>-1===e.indexOf(t[0]))).map((t=>"".concat(t[0],"=").concat(t[1])));return r.length>0?"?".concat(r.join("&")):""}(r,o)),[e.toString(),n,o]}function bd(t){if(0!==t.length){const e=new ud(t);return e.pathname="",e.search="",e.toString()}}const wd=["setemail","setemailhash","sethashedemail"];class Sd{constructor(t,e){fl(this,"data",void 0),fl(this,"eventBus",void 0),this.data=Sd.safeFiddle(t,e),this.eventBus=e}static safeFiddle(t,e){try{return xl((r=JSON.parse(JSON.stringify(t))).eventSource)?fd.reduce((function(t,e){return hd(t,e(t))}),r):r}catch(t){return console.error(t),e.emitErrorWithMessage("StateCombineWith","Error while extracting event data",t),{}}var r}combineWith(t){return new Sd(hd(this.data,t),this.eventBus)}sendsPixel(){const t=xl(this.data.eventSource)?this.data.eventSource:{},e=Object.keys(t).filter((t=>"eventname"===t.toLowerCase()||"event"===t.toLowerCase())),r=e&&e.length>=1&&e[0],n=r&&wl(t[r]);return!n||-1===wd.indexOf(n.toLowerCase())}asQuery(){var t,e,r;const n=this.data,o=(new pd).addOptional("aid",n.appId).addOptional("did",n.distributorId).addOptional("se",gl(n.eventSource,(t=>Ul(JSON.stringify(t,od))))).addOptional("duid",n.liveConnectId).addOptional("tv",n.trackerVersion);if(vl(n.pageUrl)){const[t,e,r]=yd(n);o.add("pu",t).addOptional("pu_rp",e?"1":void 0).add("pu_rqp",r.join(","))}return o.addOptional("ae",gl(n.errorDetails,(t=>Ul(JSON.stringify(t))))),bl(n.retrievedIdentifiers)&&n.retrievedIdentifiers.forEach((t=>o.add("ext_".concat(t.name),t.value))),bl(n.hashesFromIdentifiers)&&n.hashesFromIdentifiers.forEach((t=>o.add("scre","".concat(t.md5,",").concat(t.sha1,",").concat(t.sha256)))),o.addOptional("li_did",null===(t=n.decisionIds)||void 0===t?void 0:t.join(",")).addOptional("e",null===(e=n.hashedEmail)||void 0===e?void 0:e.join(",")).addOptional("us_privacy",n.usPrivacyString).addOptional("wpn",n.wrapperName).addOptional("gdpr",gl(n.gdprApplies,(t=>t?"1":"0"))).addOptional("gdpr_consent",n.gdprConsent).addOptional("refr",n.referrer).addOptional("gpp_s",n.gppString).addOptional("gpp_as",null===(r=n.gppApplicableSections)||void 0===r?void 0:r.join(",")).addOptional("cd",n.cookieDomain).addOptional("ic",gd(n.resolvedIdCookie),{stripEmpty:!1}).addOptional("c",n.contextElements),o}}function Od(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return Id((()=>t.top.document.referrer))}function xd(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const e=Id((()=>t.location.ancestorOrigins))||[],r=[];let n,o=t;for(;o!==top;)r.push(o),o=o.parent;r.push(o);for(let t=r.length-1;t>=0&&!n;t--)n=Id((()=>r[t].location.href)),0!==t&&(n||(n=Id((()=>r[t-1].document.referrer))),n||(n=e[t-1]));return n}function Cd(t,e,r){if(!t&&e&&""!==e&&r){const t=function(t,e){const r=window.document.querySelectorAll(t);let n="";for(let t=0;t<r.length;t++){const o=n+nd(r[t].outerHTML).stringWithoutRawEmails;if(!(Ed(o)<=e))return n;n=o}return n}(e,r);return Ul(t)}return""}function Ed(t){return Math.ceil(4*new Blob([t]).size/3)}function Id(t){try{return t()}catch(t){return}}function kd(t){let e=[];t&&(bl(t)?e=t:Sl(t)&&(e=t.split(",")));for(let t=0;t<e.length;t++)e[t]=e[t].trim();return e}function jd(t,e){const r=[];let n=[];for(let o=0;o<t.length;o++){const i=t[o],a=e.getCookie(i)||e.getDataFromLocalStorage(i);if(a){const t=nd(ml(a));r.push({name:i,value:t.stringWithoutRawEmails}),n=n.concat(t.hashesFromOriginalString)}}return{retrievedIdentifiers:r,hashesFromIdentifiers:Ad(n)}}function Ad(t){const e=new Set,r=[];for(let n=0;n<t.length;n++)e.has(t[n].md5)||(r.push(t[n]),e.add(t[n].md5));return r}const Ld=t=>{var e;return{...t,privacyMode:!!t.gdprApplies||(null!==(e=t.gppApplicableSections)&&void 0!==e?e:[]).indexOf(2)>-1}};function Dd(t,e){if(t&&t.appId&&t.distributorId){const r=t.distributorId;delete t.distributorId,e.emitError("AppIdAndDistributorIdPresent",new Error("Event contains both appId: ".concat(t.appId," and distributorId: ").concat(r,". Ignoring distributorId")))}return t}const Pd="idCookie";class Fd{constructor(t,e,r){var n,o;fl(this,"eventBus",void 0),fl(this,"calls",void 0),fl(this,"idexConfig",void 0),fl(this,"externalIds",void 0),fl(this,"source",void 0),fl(this,"publisherId",void 0),fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"requestedAttributes",void 0),fl(this,"query",void 0),fl(this,"privacyMode",void 0),fl(this,"resolvedIdCookie",void 0),fl(this,"generateIdCookie",void 0),fl(this,"peopleVerifiedId",void 0),fl(this,"pageUrl",void 0);const i=t||{identityResolutionConfig:{}};this.eventBus=r,this.calls=e,this.idexConfig=i.identityResolutionConfig||{},this.externalIds=i.retrievedIdentifiers||[],this.source=this.idexConfig.source||"unknown",this.publisherId=this.idexConfig.publisherId||"any",this.url=this.idexConfig.url||Fl,this.timeout=this.idexConfig.ajaxTimeout||i.ajaxTimeout||5e3,this.requestedAttributes=this.idexConfig.requestedAttributes||Ml,this.privacyMode=null!==(n=i.privacyMode)&&void 0!==n&&n,this.resolvedIdCookie=i.resolvedIdCookie,this.generateIdCookie="generated"===this.idexConfig.idCookieMode,this.peopleVerifiedId=i.peopleVerifiedId,this.pageUrl=i.pageUrl,this.query=(new pd).addOptional("duid",i.peopleVerifiedId).addOptional("us_privacy",i.usPrivacyString).addOptional("gdpr",gl(i.gdprApplies,(t=>t?1:0))).addOptional("gdpr_consent",i.gdprConsent).addOptional("did",i.distributorId).addOptional("gpp_s",i.gppString).addOptional("gpp_as",null===(o=i.gppApplicableSections)||void 0===o?void 0:o.join(",")).addOptional("cd",i.cookieDomain).addOptional("ic",gd(i.resolvedIdCookie),{stripEmpty:!1}).addOptional("pu",gl(i.pageUrl,bd)),this.externalIds.forEach((t=>{this.query.add(t.name,t.value)})),this.requestedAttributes.forEach((t=>{this.query.add("resolve",t)}))}attributeResolutionAllowed(t){return"uid2"===t?!this.privacyMode:t!==Pd}filterParams(t){return t.filteredCopy(((t,e)=>"resolve"!==t||!!Sl(e)&&this.attributeResolutionAllowed(e)))}enrichExtraIdentifiers(t,e){const r=e.tuples.filter((t=>{let[e]=t;return"resolve"===e})).map((t=>{let[,e]=t;return e}));const n={...t};var o;return o=Pd,r.indexOf(o)>-1&&(this.generateIdCookie&&this.peopleVerifiedId?n.idCookie=this.peopleVerifiedId:this.resolvedIdCookie&&(n.idCookie=this.resolvedIdCookie)),n}responseReceived(t,e){return(r,n)=>{let o={};if(r)try{const t=JSON.parse(r);xl(t)&&(o=t)}catch(t){console.error("Error parsing response",t),this.eventBus.emitError("IdentityResolverParser",t)}const i=function(t){if(xl(t)&&"getResponseHeader"in t&&Cl(t.getResponseHeader)){const e=t.getResponseHeader("expires");if(e)return new Date(e)}}(n);t(this.enrichExtraIdentifiers(o,e),{expiresAt:i})}}buildUrl(t){return"".concat(this.url,"/").concat(this.source,"/").concat(this.publisherId).concat(this.filterParams(t).toQueryString())}getUrl(t){const e=this.query.copy().addParamsMap(null!=t?t:{});return this.buildUrl(e)}resolve(t,e,r){try{const n=this.query.copy().addParamsMap(null!=r?r:{});this.calls.ajaxGet(this.buildUrl(n),this.responseReceived(t,n),e,this.timeout)}catch(t){console.error("IdentityResolve",t),e&&Cl(e)&&e(t),this.eventBus&&this.eventBus.emitError("IdentityResolve",t)}}}function Md(t){return new jl("number"==typeof t&&t>=0?t:5)}function Rd(t){Cl(t.emitErrorWithMessage)&&Cl(t.emitError)||(t.emitErrorWithMessage=function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=Il(e,r,n);return t.emit(kl,o)},t.emitError=function(e,r){return t.emitErrorWithMessage(e,r.message,r)})}function Nd(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return Md(t)}function Td(t){const e=window[t].eventBus||window.__li__evt_bus;return Rd(e),e}const _d="_li_dcdm_c";function Ud(t){const e=t.getCookie(_d);if(e)return e;const r=document.domain||document.location&&document.location.host||window&&window.location&&window.location.host||"localhost",n=r.split(".");for(let e=n.length;e>0;e--){const r=".".concat(n.slice(e-1,n.length).join("."));if(t.setCookie(_d,r,void 0,"Lax",r),t.getCookie(_d))return r}return".".concat(r)}const Vd="cookie",Bd="none",Wd="disabled",Gd=t=>{const e=t.privacyMode?Wd:t.storageStrategy||Vd;return{...t,storageStrategy:e}},qd=El(30),Qd="lidids.",zd=(t,e,r)=>r.indexOf(t)===e,Hd=t=>t&&wl(t).length>0;function Jd(t,e){return r=>{function n(t,r){try{return r()}catch(r){return e.emitErrorWithMessage("DecisionsResolve",t,r),[]}}const o=n("Error while extracting new decision ids",(()=>{var t,e;return[].concat(r.pageUrl&&(t=r.pageUrl,e="li_did",ad(sd(t),e))||[]).map(wl).filter(Hd).filter(yl).filter(zd)})),i=n("Error while retrieving stored decision ids",(()=>t.findSimilarCookies(Qd).map(wl).filter(Hd).filter(yl)));return o.forEach((n=>{try{(o=n)&&t.setCookie("".concat(Qd).concat(o),o,qd,"Lax",r.cookieDomain)}catch(t){e.emitErrorWithMessage("DecisionsResolve","Error while storing new decision id",t)}var o})),{...r,decisionIds:o.concat(i).filter(zd)}}}const Kd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",$d=Kd.length,Xd=Math.pow(2,48)-1,Yd=function(){const t="undefined"!=typeof window?window:null,e=t&&(t.crypto||t.msCrypto);if(e)return()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]/255};return()=>Math.random()}();function Zd(t,e){if(t>Xd)throw function(t){const e=new Error(t);return e.source="Ulid",e}("cannot encode time greater than "+Xd);let r,n="";for(;e>0;e--)r=t%$d,n=Kd.charAt(r)+n,t=(t-r)/$d;return n}function tf(){let t=Math.floor(Yd()*$d);return t===$d&&(t=$d-1),Kd.charAt(t)}function ef(){return Zd(Date.now(),10)+function(t){let e="";for(;t>0;t--)e=tf()+e;return e}(16)}const rf="_lc2_fpi";function nf(t,e){return r=>{let n;const o=t.get(rf);if(o)n=o.data;else{const o=e.getCookie(rf);if(o)t.set(rf,o),n=o;else{var i;const e="".concat(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return Gl(t.replace(/^\./,"")).substring(0,e)}(r.cookieDomain),"--").concat(ef()).toLocaleLowerCase();t.set(rf,e),n=null===(i=t.get(rf))||void 0===i?void 0:i.data}}return n&&e.setDataInLocalStorage(Pl,n),{...r,liveConnectId:n,peopleVerifiedId:n}}}const of={errorDetails:{message:"Unknown message",name:"Unknown name"}};function af(t){try{const e=1*t;return isNaN(e)?void 0:e}catch{}}function sf(t){try{return Sl(t)&&t.length&&t.length>120?"".concat(t.substr(0,120),"..."):"".concat(t)}catch{}}function cf(t){return xl(t)?{errorDetails:{message:sf(t.message)||"",name:sf(t.name)||"",stackTrace:sf(t.stack),lineNumber:af(t.lineNumber),columnNumber:af(t.columnNumber),fileName:sf(t.fileName)}}:of}const uf=()=>{};class lf{constructor(t,e,r){fl(this,"obj",void 0),fl(this,"name",void 0),fl(this,"errors",void 0),fl(this,"eventBus",void 0),this.obj=t,this.name=e,this.errors=[],this.eventBus=r}wrap(t){var e=this;if(xl(this.obj)){const r=this.obj[t];if(Cl(r))return function(){try{for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r.call(e.obj,...o)}catch(r){e.eventBus.emitErrorWithMessage(e.name,"Failed calling ".concat(t),r)}}}return this.errors.push(t),uf}reportErrors(){this.errors.length>0&&this.eventBus.emitErrorWithMessage(this.name,"The functions '".concat(JSON.stringify(this.errors),"' were not provided"))}}const df=()=>{};function ff(t,e,r){return Ol(e,Wd)?df:t.wrap(r)}function hf(t,e,r){return Ol(e,Bd)?df:ff(t,e,r)}class pf{constructor(t,e){fl(this,"minimalFunctions",void 0),this.minimalFunctions={getCookie:ff(e,t,"getCookie"),getDataFromLocalStorage:ff(e,t,"getDataFromLocalStorage"),localStorageIsEnabled:hf(e,t,"localStorageIsEnabled")}}static make(t,e,r){const n=new lf(e,"ReadOnlyStorageHandler",r),o=new pf(t,n);return n.reportErrors(),o}localStorageIsEnabled(){return!!this.minimalFunctions.localStorageIsEnabled()}getCookie(t){return this.minimalFunctions.getCookie(t)||null}getDataFromLocalStorage(t){return this.minimalFunctions.getDataFromLocalStorage(t)||null}}class gf extends pf{constructor(t,e){super(t,e),fl(this,"storageStrategy",void 0),fl(this,"functions",void 0),this.storageStrategy=t,this.functions={setCookie:hf(e,t,"setCookie"),removeDataFromLocalStorage:hf(e,t,"removeDataFromLocalStorage"),setDataInLocalStorage:hf(e,t,"setDataInLocalStorage"),findSimilarCookies:ff(e,t,"findSimilarCookies")}}static make(t,e,r){const n=new lf(e,"StorageHandler",r),o=new gf(t,n);return n.reportErrors(),o}setCookie(t,e,r,n,o){this.functions.setCookie(t,e,r,n,o)}setDataInLocalStorage(t,e){this.functions.setDataInLocalStorage(t,e)}removeDataFromLocalStorage(t){this.functions.removeDataFromLocalStorage(t)}findSimilarCookies(t){return this.functions.findSimilarCookies(t)||[]}}class mf extends Error{constructor(t){super(t),this.name="ParseError"}}class vf{constructor(t){fl(this,"handler",void 0),fl(this,"cookieDomain",void 0),fl(this,"eventBus",void 0),this.handler=t.storageHandler,this.cookieDomain=t.cookieDomain,this.eventBus=t.eventBus}deleteCookie(t){this.handler.setCookie(t,"",new Date(0),"Lax",this.cookieDomain)}parseMetaRecord(t){const e=JSON.parse(t);if(!xl(e))throw new mf("Meta record is not an object");let r;if("e"in e&&(r=new Date(e.e),isNaN(r.getTime())))throw new mf("Invalid expiresAt");if(!("w"in e))throw new mf("Missing writtenAt");const n=new Date(e.w);if(isNaN(n.getTime()))throw new mf("Invalid writtenAt");return{expiresAt:r,writtenAt:n}}serializeMetaRecord(t){let e;return t.expiresAt&&(e=t.expiresAt.getTime()),JSON.stringify({w:t.writtenAt.getTime(),e:e})}getCookieRecord(t,e){const r=this.handler.getCookie(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from cookies",r),this.deleteCookie(t),this.deleteCookie(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return null;const i=this.handler.getCookie(t);return i?{data:i,meta:n}:null}getLSRecord(t,e){const r=this.handler.getDataFromLocalStorage(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from ls",r),this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null;const i=this.handler.getDataFromLocalStorage(t);return i?{data:i,meta:n}:null}get(t){const e=yf(t),r=this.getCookieRecord(t,e),n=this.getLSRecord(t,e);return r&&n?r.meta.writtenAt.getTime()===n.meta.writtenAt.getTime()?r:r.meta.writtenAt>n.meta.writtenAt?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):r?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):n?(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):null}set(t,e,r){const n=yf(t),o=this.serializeMetaRecord({writtenAt:new Date,expiresAt:r});this.handler.setDataInLocalStorage(t,e),this.handler.setDataInLocalStorage(n,o);const i=r||El(730);this.handler.setCookie(t,e,i,"Lax",this.cookieDomain),this.handler.setCookie(n,o,i,"Lax",this.cookieDomain)}}function yf(t){return"".concat(t,"_meta")}const bf=()=>{};function wf(t,e,r){return e?bf:t.wrap(r)}class Sf{constructor(t,e,r){fl(this,"functions",void 0);const n=new lf(t,"CallHandler",e);this.functions={ajaxGet:wf(n,r,"ajaxGet"),pixelGet:wf(n,r,"pixelGet")},n.reportErrors()}ajaxGet(t,e,r,n){this.functions.ajaxGet(t,e,r,n)}pixelGet(t,e){this.functions.pixelGet(t,e)}}function Of(t){return e=>{var r,n,o,i;return"cookie"===(null===(r=e.idCookie)||void 0===r?void 0:r.strategy)&&"string"==typeof(null===(n=e.idCookie)||void 0===n?void 0:n.name)?{...e,resolvedIdCookie:t.getCookie(e.idCookie.name)}:"localStorage"===(null===(o=e.idCookie)||void 0===o?void 0:o.strategy)&&"string"==typeof(null===(i=e.idCookie)||void 0===i?void 0:i.name)?{...e,resolvedIdCookie:t.getDataFromLocalStorage(e.idCookie.name)}:e}}const xf={};function Cf(t,e,r,n){if(t&&xl(t))if("config"in t)n.emitErrorWithMessage("StrayConfig","Received a config after LC has already been initialised",new Error(JSON.stringify(t)));else{const o=new Sd(r,n),i=o.combineWith({eventSource:t});xf.hashedEmail=xf.hashedEmail||i.data.hashedEmail;const a=hd({eventSource:t},xf),s=()=>n.emit(Dl,"0"),c=()=>n.emit(Ll,r);e.sendAjax(o.combineWith(a),{onPreSend:s,onLoad:c})}else n.emitErrorWithMessage("EventNotAnObject","Received event was not an object",new Error(t))}function Ef(t,e,r,n){try{t.forEach((t=>{const o=t;bl(o)?o.forEach((t=>Cf(t,e,r,n))):Cf(o,e,r,n)}))}catch(t){console.error("Error sending events",t),n.emitErrorWithMessage("LCPush","Failed sending an event",t)}}function If(t,e,r,n){try{const i={...Dd(t,n),identifiersToResolve:t.identifiersToResolve||[],contextSelectors:t.contextSelectors||"",contextElementsLength:t.contextElementsLength||0},a=(o=Gd(Ld(i)),{...o,pageUrl:xd(),referrer:Od(),contextElements:Cd(o.privacyMode,o.contextSelectors,o.contextElementsLength)}),s=new Sf(r,n,a.privacyMode),c=gf.make(a.storageStrategy,e,n),u=function(t){return e=>({...e,cookieDomain:Ud(t)})}(c)(a),l=new vf({storageHandler:c,eventBus:n,cookieDomain:u.cookieDomain}),d=Of(c)(nf(l,c)(Jd(c,n)(function(t,e){return r=>{try{return{...r,...jd(kd(r.identifiersToResolve),t)}}catch(t){return e.emitError("IdentifiersEnricher",t),{...r,retrievedIdentifiers:[],hashesFromIdentifiers:[]}}}}(c,n)(u)))),f=new Al({collectorUrl:i.collectorUrl,ajaxTimeout:i.ajaxTimeout,eventBus:n,callHandler:s});!function(t,e,r){try{r.on(kl,(n=>{e.sendPixel(new Sd({...t,...cf(n)},r))}))}catch(t){console.error("handlers.error.register",t)}}(d,f,n);const h=new Fd(d,s,n),p=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Ef(e,f,d,n)};return{push:p,fire:()=>p({}),peopleVerifiedId:d.peopleVerifiedId,ready:!0,resolve:h.resolve.bind(h),resolutionCallUrl:h.getUrl.bind(h),config:i,eventBus:n,storageHandler:c,cache:l}}catch(t){console.error(t),n.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}var o}function kf(t,e,r,n){const o=window[t.globalVarName]||[],i=function(t){try{if(window&&window[t.globalVarName]&&window[t.globalVarName].ready){const e=window[t.globalVarName].config&&function(t,e){if(t.appId!==e.appId||t.wrapperName!==e.wrapperName||t.collectorUrl!==e.collectorUrl)return{appId:[t.appId,e.appId],wrapperName:[t.wrapperName,e.wrapperName],collectorUrl:[t.collectorUrl,e.collectorUrl]}}(window[t.globalVarName].config,t);if(e){const r=new Error;r.name="ConfigSent",r.message="Additional configuration received";const n=Td(t.globalVarName);window[t.globalVarName].eventBus=n,n.emitErrorWithMessage("LCDuplication",JSON.stringify(e),r)}return window[t.globalVarName]}}catch(t){console.error("Could not initialize error bus")}}(t)||If(t,e,r,n)||o;if(bl(o))for(let t=0;t<o.length;t++)i.push(o[t]);return window[i.config.globalVarName]=i,window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}function jf(t,e,r,n){const o=xl(t)&&t||{},i=n||Nd();let a;try{a=o.globalVarName?kf(o,e,r,i):function(t,e,r,n){const o=If(t,e,r,n);return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t),i.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}return a}function Af(t,e){const r=bl(t)?t:ml(t).split(","),n=[];for(let t=0;t<r.length;t++){const i=wl(r[t]),a=e.getCookie(i)||e.getDataFromLocalStorage(i);!a||(o=ml(a),/\S+(@|%40)\S+\.\S+/.test(o))||ed(ml(a))||n.push({name:i,value:ml(a)})}var o;return n}function Lf(t,e,r,n,o){try{const i={...Dd(t,n),identifiersToResolve:t.identifiersToResolve||[]},a=Gd(Ld(i)),s=pf.make(a.storageStrategy,e,n),c=new Sf(r,n,a.privacyMode),u=function(t,e){return r=>{try{return{...r,retrievedIdentifiers:Af(r.identifiersToResolve,t)}}catch(t){return e.emitError("IdentifiersEnrich",t),{...r,retrievedIdentifiers:[]}}}}(s,n)(Of(s)(function(t,e){return r=>{try{return{...r,peopleVerifiedId:r.peopleVerifiedId||t.getDataFromLocalStorage(Pl)||void 0}}catch(t){return e.emitError("PeopleVerifiedEnrich",t),r}}}(s,n)(a))),l=new Fd(u,c,n);return{push:t=>o(t),fire:()=>o({}),peopleVerifiedId:u.peopleVerifiedId,ready:!0,resolve:l.resolve.bind(l),resolutionCallUrl:l.getUrl.bind(l),config:i,eventBus:n,storageHandler:s}}catch(t){console.error(t)}}function Df(t,e,r,n){const o=xl(t)&&t||{},i=n||Nd();try{return o.globalVarName?function(t,e,r,n){const o=window[t.globalVarName]=window[t.globalVarName]||[],i=Lf(t,e,r,n,o.push.bind(o));return window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}(o,e,r,i):function(t,e,r,n){const o=Lf(t,e,r,n,(()=>{}));return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t)}return{}}const Pf=function(t,e,r,n,o){const i="minimal"===n,a=o||Nd();return(i?Df:jf)(xl(t)&&t||{},e,r,a)};var Ff=r(34516),Mf=r(15164),Rf=r(9633),Nf=r(21138),Tf=r(93253),_f=r(25102);function Uf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uf(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Bf="pre_lips",Wf="liveIntentId",Gf="liveintent.com",qf=(0,Mf.df)({moduleType:Rf.y2,moduleName:Wf}),Qf={nonId:!0},zf={ajaxGet:function(t,e,r,n){(0,c.OI)(n)(t,{success:e,error:r},void 0,{method:"GET",withCredentials:!0})},pixelGet:function(t,e){return(0,s.triggerPixel)(t,e)}},Hf=!1,Jf=null;function Kf(){Hf=!0}function $f(t){function e(t){return Object.entries(t).flatMap((function(t){var e,r=(0,i.Z)(t,2),n=r[0],o=r[1];return"boolean"==typeof o&&o?[(e=n,"fpid"===e?"idCookie":e)]:[]}))}return"object"===(0,o.Z)(t)?e(Vf(Vf({},Qf),t)):e(Qf)}function Xf(t){if(Jf)return Jf;var e=(t=t||{}).fpid||{},r={publisherId:t.publisherId||"any",requestedAttributes:$f(t.requestedAttributesOverrides)};t.url&&(r.url=t.url),r.ajaxTimeout=t.ajaxTimeout||5e3;var n,o,i=(n=t.liCollectConfig,o={},(n=n||{}).appId&&(o.appId=n.appId),n.fpiStorageStrategy&&(o.storageStrategy=n.fpiStorageStrategy),n.fpiExpirationDays&&(o.expirationDays=n.fpiExpirationDays),n.collectorUrl&&(o.collectorUrl=n.collectorUrl),o.ajaxTimeout=n.ajaxTimeout||5e3,o);!i.appId&&t.distributorId?(i.distributorId=t.distributorId,r.source=t.distributorId):r.source=t.partner||"prebid",i.wrapperName="prebid",i.trackerVersion="8.52.1",i.identityResolutionConfig=r,i.identifiersToResolve=t.identifiersToResolve||[],i.fireEventDelay=t.fireEventDelay,i.idCookie={},i.idCookie.name=e.name,i.idCookie.strategy="html5"==e.strategy?"localStorage":e.strategy;var a=Ff.nX.getConsentData();a&&(i.usPrivacyString=a);var s=Ff.rp.getConsentData();s&&(i.gdprApplies=s.gdprApplies,i.gdprConsent=s.consentString);var c=Ff.TJ.getConsentData();return c&&(i.gppString=c.gppString,i.gppApplicableSections=c.applicableSections),Jf=Zf.getInitializer()(i,qf,zf),t.emailHash&&Jf.push({hash:t.emailHash}),Jf}function Yf(){if(!Hf&&Jf){var t=Jf.config.fireEventDelay||500;setTimeout((function(){window.liQ_instances.forEach((function(t){return t.eventBus.once(Bf,Kf)})),!Hf&&Jf&&Jf.fire()}),t)}}var Zf={moduleMode:"standard",name:Wf,setModuleMode:function(t){this.moduleMode=t},getInitializer:function(){var t=this;return function(e,r,n){return Pf(e,r,n,t.moduleMode)}},decode:function(t,e){var r=e&&e.params||{};return Jf||Xf(r),Yf(),function(t){var e={},r=t.nonId||t.unifiedId;if(r){var n=Vf(Vf({},t),{},{lipbid:r});delete n.unifiedId,e.lipb=n}return t.uid2&&(e.uid2={id:t.uid2,ext:{provider:Gf}}),t.bidswitch&&(e.bidswitch={id:t.bidswitch,ext:{provider:Gf}}),t.medianet&&(e.medianet={id:t.medianet,ext:{provider:Gf}}),t.magnite&&(e.magnite={id:t.magnite,ext:{provider:Gf}}),t.index&&(e.index={id:t.index,ext:{provider:Gf}}),t.openx&&(e.openx={id:t.openx,ext:{provider:Gf}}),t.pubmatic&&(e.pubmatic={id:t.pubmatic,ext:{provider:Gf}}),t.sovrn&&(e.sovrn={id:t.sovrn,ext:{provider:Gf}}),t.idCookie&&(Ff.VP.getCoppa()||(e.lipb=Vf(Vf({},e.lipb),{},{fpid:t.idCookie}),e.fpid={id:t.idCookie}),delete e.lipb.idCookie),t.thetradedesk&&(e.lipb=Vf(Vf({},e.lipb),{},{tdid:t.thetradedesk}),e.tdid={id:t.thetradedesk,ext:{rtiPartner:"TDID",provider:(0,_f.nH)().domain||Gf}},delete e.lipb.thetradedesk),e}(t)},getId:function(t){var e=Xf(t&&t.params||{});if(e){Yf();return{callback:function(t){e.resolve((function(e){t(e)}),(function(e){(0,s.logError)("".concat(Wf,": ID fetch encountered an error: "),e),t()}))}}}},eids:Vf(Vf(Vf({},Tf.u),Nf.l),{},{lipb:{getValue:function(t){return t.lipbid},source:"liveintent.com",atype:3,getEidExt:function(t){if(Array.isArray(t.segments)&&t.segments.length)return{segments:t.segments}}},bidswitch:{source:"bidswitch.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},medianet:{source:"media.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},magnite:{source:"rubiconproject.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},index:{source:"liveintent.indexexchange.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},openx:{source:"openx.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},pubmatic:{source:"pubmatic.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},sovrn:{source:"liveintent.sovrn.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},fpid:{source:"fpid.liveintent.com",atype:1,getValue:function(t){return t.id}}})};(0,u.Bx)("userId",Zf),(0,a.z)("liveIntentIdSystem")}},function(t){t.O(0,[85240,67292,25823,79270],(function(){return e=15424,t(t.s=e);var e}));t.O()}]);
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[93390],{15424:function(t,e,r){var n=r(4942),o=r(71002),i=r(70885),a=r(78640),s=r(64358),c=r(48928),u=r(92797),l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function d(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var f={exports:{}},h=function(t){return t&&t.Math===Math&&t},p=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof l&&l)||h("object"==typeof l&&l)||function(){return this}()||Function("return this")(),g=function(t){try{return!!t()}catch(t){return!0}},m=!g((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),v=m,y=Function.prototype,b=y.apply,w=y.call,S="object"==typeof Reflect&&Reflect.apply||(v?w.bind(b):function(){return w.apply(b,arguments)}),O=m,x=Function.prototype,C=x.call,E=O&&x.bind.bind(C,C),I=O?E:function(t){return function(){return C.apply(t,arguments)}},k=I,j=k({}.toString),A=k("".slice),L=function(t){return A(j(t),8,-1)},D=L,P=I,F=function(t){if("Function"===D(t))return P(t)},M="object"==typeof document&&document.all,R=void 0===M&&void 0!==M?function(t){return"function"==typeof t||t===M}:function(t){return"function"==typeof t},N={},T=!g((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),_=m,U=Function.prototype.call,V=_?U.bind(U):function(){return U.apply(U,arguments)},B={},W={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,q=G&&!W.call({1:2},1);B.f=q?function(t){var e=G(this,t);return!!e&&e.enumerable}:W;var Q,z,H=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},J=g,K=L,$=Object,X=I("".split),Y=J((function(){return!$("z").propertyIsEnumerable(0)}))?function(t){return"String"===K(t)?X(t,""):$(t)}:$,Z=function(t){return null==t},tt=Z,et=TypeError,rt=function(t){if(tt(t))throw new et("Can't call method on "+t);return t},nt=Y,ot=rt,it=function(t){return nt(ot(t))},at=R,st=function(t){return"object"==typeof t?null!==t:at(t)},ct={},ut=ct,lt=p,dt=R,ft=function(t){return dt(t)?t:void 0},ht=function(t,e){return arguments.length<2?ft(ut[t])||ft(lt[t]):ut[t]&&ut[t][e]||lt[t]&<[t][e]},pt=I({}.isPrototypeOf),gt=p,mt="undefined"!=typeof navigator&&String(navigator.userAgent)||"",vt=gt.process,yt=gt.Deno,bt=vt&&vt.versions||yt&&yt.version,wt=bt&&bt.v8;wt&&(z=(Q=wt.split("."))[0]>0&&Q[0]<4?1:+(Q[0]+Q[1])),!z&&mt&&(!(Q=mt.match(/Edge\/(\d+)/))||Q[1]>=74)&&(Q=mt.match(/Chrome\/(\d+)/))&&(z=+Q[1]);var St=z,Ot=St,xt=g,Ct=p.String,Et=!!Object.getOwnPropertySymbols&&!xt((function(){var t=Symbol("symbol detection");return!Ct(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Ot&&Ot<41})),It=Et&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,kt=ht,jt=R,At=pt,Lt=Object,Dt=It?function(t){return"symbol"==typeof t}:function(t){var e=kt("Symbol");return jt(e)&&At(e.prototype,Lt(t))},Pt=String,Ft=function(t){try{return Pt(t)}catch(t){return"Object"}},Mt=R,Rt=Ft,Nt=TypeError,Tt=function(t){if(Mt(t))return t;throw new Nt(Rt(t)+" is not a function")},_t=Tt,Ut=Z,Vt=V,Bt=R,Wt=st,Gt=TypeError,qt={exports:{}},Qt=p,zt=Object.defineProperty,Ht=p,Jt=function(t,e){try{zt(Qt,t,{value:e,configurable:!0,writable:!0})}catch(r){Qt[t]=e}return e},Kt="__core-js_shared__",$t=qt.exports=Ht[Kt]||Jt(Kt,{});($t.versions||($t.versions=[])).push({version:"3.37.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Xt=qt.exports,Yt=Xt,Zt=function(t,e){return Yt[t]||(Yt[t]=e||{})},te=rt,ee=Object,re=function(t){return ee(te(t))},ne=re,oe=I({}.hasOwnProperty),ie=Object.hasOwn||function(t,e){return oe(ne(t),e)},ae=I,se=0,ce=Math.random(),ue=ae(1..toString),le=function(t){return"Symbol("+(void 0===t?"":t)+")_"+ue(++se+ce,36)},de=Zt,fe=ie,he=le,pe=Et,ge=It,me=p.Symbol,ve=de("wks"),ye=ge?me.for||me:me&&me.withoutSetter||he,be=function(t){return fe(ve,t)||(ve[t]=pe&&fe(me,t)?me[t]:ye("Symbol."+t)),ve[t]},we=V,Se=st,Oe=Dt,xe=function(t,e){var r=t[e];return Ut(r)?void 0:_t(r)},Ce=function(t,e){var r,n;if("string"===e&&Bt(r=t.toString)&&!Wt(n=Vt(r,t)))return n;if(Bt(r=t.valueOf)&&!Wt(n=Vt(r,t)))return n;if("string"!==e&&Bt(r=t.toString)&&!Wt(n=Vt(r,t)))return n;throw new Gt("Can't convert object to primitive value")},Ee=TypeError,Ie=be("toPrimitive"),ke=function(t,e){if(!Se(t)||Oe(t))return t;var r,n=xe(t,Ie);if(n){if(void 0===e&&(e="default"),r=we(n,t,e),!Se(r)||Oe(r))return r;throw new Ee("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ce(t,e)},je=Dt,Ae=function(t){var e=ke(t,"string");return je(e)?e:e+""},Le=st,De=p.document,Pe=Le(De)&&Le(De.createElement),Fe=function(t){return Pe?De.createElement(t):{}},Me=Fe,Re=!T&&!g((function(){return 7!==Object.defineProperty(Me("div"),"a",{get:function(){return 7}}).a})),Ne=T,Te=V,_e=B,Ue=H,Ve=it,Be=Ae,We=ie,Ge=Re,qe=Object.getOwnPropertyDescriptor;N.f=Ne?qe:function(t,e){if(t=Ve(t),e=Be(e),Ge)try{return qe(t,e)}catch(t){}if(We(t,e))return Ue(!Te(_e.f,t,e),t[e])};var Qe=g,ze=R,He=/#|\.prototype\./,Je=function(t,e){var r=$e[Ke(t)];return r===Ye||r!==Xe&&(ze(e)?Qe(e):!!e)},Ke=Je.normalize=function(t){return String(t).replace(He,".").toLowerCase()},$e=Je.data={},Xe=Je.NATIVE="N",Ye=Je.POLYFILL="P",Ze=Je,tr=Tt,er=m,rr=F(F.bind),nr=function(t,e){return tr(t),void 0===e?t:er?rr(t,e):function(){return t.apply(e,arguments)}},or={},ir=T&&g((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ar=st,sr=String,cr=TypeError,ur=function(t){if(ar(t))return t;throw new cr(sr(t)+" is not an object")},lr=T,dr=Re,fr=ir,hr=ur,pr=Ae,gr=TypeError,mr=Object.defineProperty,vr=Object.getOwnPropertyDescriptor,yr="enumerable",br="configurable",wr="writable";or.f=lr?fr?function(t,e,r){if(hr(t),e=pr(e),hr(r),"function"==typeof t&&"prototype"===e&&"value"in r&&wr in r&&!r.writable){var n=vr(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:br in r?r.configurable:n.configurable,enumerable:yr in r?r.enumerable:n.enumerable,writable:!1})}return mr(t,e,r)}:mr:function(t,e,r){if(hr(t),e=pr(e),hr(r),dr)try{return mr(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new gr("Accessors not supported");return"value"in r&&(t[e]=r.value),t};var Sr=or,Or=H,xr=T?function(t,e,r){return Sr.f(t,e,Or(1,r))}:function(t,e,r){return t[e]=r,t},Cr=p,Er=S,Ir=F,kr=R,jr=N.f,Ar=Ze,Lr=ct,Dr=nr,Pr=xr,Fr=ie,Mr=function(t){var e=function(r,n,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,o)}return Er(t,this,arguments)};return e.prototype=t.prototype,e},Rr=function(t,e){var r,n,o,i,a,s,c,u,l,d=t.target,f=t.global,h=t.stat,p=t.proto,g=f?Cr:h?Cr[d]:Cr[d]&&Cr[d].prototype,m=f?Lr:Lr[d]||Pr(Lr,d,{})[d],v=m.prototype;for(i in e)n=!(r=Ar(f?i:d+(h?".":"#")+i,t.forced))&&g&&Fr(g,i),s=m[i],n&&(c=t.dontCallGetSet?(l=jr(g,i))&&l.value:g[i]),a=n&&c?c:e[i],(r||p||typeof s!=typeof a)&&(u=t.bind&&n?Dr(a,Cr):t.wrap&&n?Mr(a):p&&kr(a)?Ir(a):a,(t.sham||a&&a.sham||s&&s.sham)&&Pr(u,"sham",!0),Pr(m,i,u),p&&(Fr(Lr,o=d+"Prototype")||Pr(Lr,o,{}),Pr(Lr[o],i,a),t.real&&v&&(r||!v[i])&&Pr(v,i,a)))},Nr=Rr,Tr=T,_r=or.f;Nr({target:"Object",stat:!0,forced:Object.defineProperty!==_r,sham:!Tr},{defineProperty:_r});var Ur=ct.Object,Vr=f.exports=function(t,e,r){return Ur.defineProperty(t,e,r)};Ur.defineProperty.sham&&(Vr.sham=!0);var Br=d(f.exports),Wr=L,Gr=Array.isArray||function(t){return"Array"===Wr(t)},qr=Math.ceil,Qr=Math.floor,zr=Math.trunc||function(t){var e=+t;return(e>0?Qr:qr)(e)},Hr=zr,Jr=function(t){var e=+t;return e!=e||0===e?0:Hr(e)},Kr=Jr,$r=Math.min,Xr=function(t){var e=Kr(t);return e>0?$r(e,9007199254740991):0},Yr=function(t){return Xr(t.length)},Zr=TypeError,tn=T,en=or,rn=H,nn={};nn[be("toStringTag")]="z";var on="[object z]"===String(nn),an=on,sn=R,cn=L,un=be("toStringTag"),ln=Object,dn="Arguments"===cn(function(){return arguments}()),fn=an?cn:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=ln(t),un))?r:dn?cn(e):"Object"===(n=cn(e))&&sn(e.callee)?"Arguments":n},hn=R,pn=Xt,gn=I(Function.toString);hn(pn.inspectSource)||(pn.inspectSource=function(t){return gn(t)});var mn=pn.inspectSource,vn=I,yn=g,bn=R,wn=fn,Sn=mn,On=function(){},xn=ht("Reflect","construct"),Cn=/^\s*(?:class|function)\b/,En=vn(Cn.exec),In=!Cn.test(On),kn=function(t){if(!bn(t))return!1;try{return xn(On,[],t),!0}catch(t){return!1}},jn=function(t){if(!bn(t))return!1;switch(wn(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return In||!!En(Cn,Sn(t))}catch(t){return!0}};jn.sham=!0;var An=!xn||yn((function(){var t;return kn(kn.call)||!kn(Object)||!kn((function(){t=!0}))||t}))?jn:kn,Ln=Gr,Dn=An,Pn=st,Fn=be("species"),Mn=Array,Rn=function(t){var e;return Ln(t)&&(e=t.constructor,(Dn(e)&&(e===Mn||Ln(e.prototype))||Pn(e)&&null===(e=e[Fn]))&&(e=void 0)),void 0===e?Mn:e},Nn=function(t,e){return new(Rn(t))(0===e?0:e)},Tn=g,_n=St,Un=be("species"),Vn=Rr,Bn=g,Wn=Gr,Gn=st,qn=re,Qn=Yr,zn=function(t){if(t>9007199254740991)throw Zr("Maximum allowed index exceeded");return t},Hn=function(t,e,r){tn?en.f(t,e,rn(0,r)):t[e]=r},Jn=Nn,Kn=function(t){return _n>=51||!Tn((function(){var e=[];return(e.constructor={})[Un]=function(){return{foo:1}},1!==e[t](Boolean).foo}))},$n=St,Xn=be("isConcatSpreadable"),Yn=$n>=51||!Bn((function(){var t=[];return t[Xn]=!1,t.concat()[0]!==t})),Zn=function(t){if(!Gn(t))return!1;var e=t[Xn];return void 0!==e?!!e:Wn(t)};Vn({target:"Array",proto:!0,arity:1,forced:!Yn||!Kn("concat")},{concat:function(t){var e,r,n,o,i,a=qn(this),s=Jn(a,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(Zn(i=-1===e?a:arguments[e]))for(o=Qn(i),zn(c+o),r=0;r<o;r++,c++)r in i&&Hn(s,c,i[r]);else zn(c+1),Hn(s,c++,i);return s.length=c,s}});var to=fn,eo=String,ro=function(t){if("Symbol"===to(t))throw new TypeError("Cannot convert a Symbol value to a string");return eo(t)},no={},oo=Jr,io=Math.max,ao=Math.min,so=it,co=function(t,e){var r=oo(t);return r<0?io(r+e,0):ao(r,e)},uo=Yr,lo=function(t){return function(e,r,n){var o=so(e),i=uo(o);if(0===i)return!t&&-1;var a,s=co(n,i);if(t&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((t||s in o)&&o[s]===r)return t||s||0;return!t&&-1}},fo={includes:lo(!0),indexOf:lo(!1)},ho={},po=ie,go=it,mo=fo.indexOf,vo=ho,yo=I([].push),bo=function(t,e){var r,n=go(t),o=0,i=[];for(r in n)!po(vo,r)&&po(n,r)&&yo(i,r);for(;e.length>o;)po(n,r=e[o++])&&(~mo(i,r)||yo(i,r));return i},wo=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],So=bo,Oo=wo,xo=Object.keys||function(t){return So(t,Oo)},Co=T,Eo=ir,Io=or,ko=ur,jo=it,Ao=xo;no.f=Co&&!Eo?Object.defineProperties:function(t,e){ko(t);for(var r,n=jo(e),o=Ao(e),i=o.length,a=0;i>a;)Io.f(t,r=o[a++],n[r]);return t};var Lo,Do=ht("document","documentElement"),Po=le,Fo=Zt("keys"),Mo=function(t){return Fo[t]||(Fo[t]=Po(t))},Ro=ur,No=no,To=wo,_o=ho,Uo=Do,Vo=Fe,Bo=Mo("IE_PROTO"),Wo=function(){},Go=function(t){return"<script>"+t+"</"+"script>"},qo=function(t){t.write(Go("")),t.close();var e=t.parentWindow.Object;return t=null,e},Qo=function(){try{Lo=new ActiveXObject("htmlfile")}catch(t){}var t,e;Qo="undefined"!=typeof document?document.domain&&Lo?qo(Lo):((e=Vo("iframe")).style.display="none",Uo.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(Go("document.F=Object")),t.close(),t.F):qo(Lo);for(var r=To.length;r--;)delete Qo.prototype[To[r]];return Qo()};_o[Bo]=!0;var zo=Object.create||function(t,e){var r;return null!==t?(Wo.prototype=Ro(t),r=new Wo,Wo.prototype=null,r[Bo]=t):r=Qo(),void 0===e?r:No.f(r,e)},Ho={},Jo=bo,Ko=wo.concat("length","prototype");Ho.f=Object.getOwnPropertyNames||function(t){return Jo(t,Ko)};var $o={},Xo=I([].slice),Yo=L,Zo=it,ti=Ho.f,ei=Xo,ri="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];$o.f=function(t){return ri&&"Window"===Yo(t)?function(t){try{return ti(t)}catch(t){return ei(ri)}}(t):ti(Zo(t))};var ni={};ni.f=Object.getOwnPropertySymbols;var oi=xr,ii=function(t,e,r,n){return n&&n.enumerable?t[e]=r:oi(t,e,r),t},ai=or,si={},ci=be;si.f=ci;var ui,li,di,fi=ct,hi=ie,pi=si,gi=or.f,mi=function(t){var e=fi.Symbol||(fi.Symbol={});hi(e,t)||gi(e,t,{value:pi.f(t)})},vi=V,yi=ht,bi=be,wi=ii,Si=function(){var t=yi("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,n=bi("toPrimitive");e&&!e[n]&&wi(e,n,(function(t){return vi(r,this)}),{arity:1})},Oi=fn,xi=on?{}.toString:function(){return"[object "+Oi(this)+"]"},Ci=on,Ei=or.f,Ii=xr,ki=ie,ji=xi,Ai=be("toStringTag"),Li=function(t,e,r,n){var o=r?t:t&&t.prototype;o&&(ki(o,Ai)||Ei(o,Ai,{configurable:!0,value:e}),n&&!Ci&&Ii(o,"toString",ji))},Di=R,Pi=p.WeakMap,Fi=Di(Pi)&&/native code/.test(String(Pi)),Mi=p,Ri=st,Ni=xr,Ti=ie,_i=Xt,Ui=Mo,Vi=ho,Bi="Object already initialized",Wi=Mi.TypeError,Gi=Mi.WeakMap;if(Fi||_i.state){var qi=_i.state||(_i.state=new Gi);qi.get=qi.get,qi.has=qi.has,qi.set=qi.set,ui=function(t,e){if(qi.has(t))throw new Wi(Bi);return e.facade=t,qi.set(t,e),e},li=function(t){return qi.get(t)||{}},di=function(t){return qi.has(t)}}else{var Qi=Ui("state");Vi[Qi]=!0,ui=function(t,e){if(Ti(t,Qi))throw new Wi(Bi);return e.facade=t,Ni(t,Qi,e),e},li=function(t){return Ti(t,Qi)?t[Qi]:{}},di=function(t){return Ti(t,Qi)}}var zi={set:ui,get:li,has:di,enforce:function(t){return di(t)?li(t):ui(t,{})},getterFor:function(t){return function(e){var r;if(!Ri(e)||(r=li(e)).type!==t)throw new Wi("Incompatible receiver, "+t+" required");return r}}},Hi=nr,Ji=Y,Ki=re,$i=Yr,Xi=Nn,Yi=I([].push),Zi=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,s=5===t||i;return function(c,u,l,d){for(var f,h,p=Ki(c),g=Ji(p),m=$i(g),v=Hi(u,l),y=0,b=d||Xi,w=e?b(c,m):r||a?b(c,0):void 0;m>y;y++)if((s||y in g)&&(h=v(f=g[y],y,p),t))if(e)w[y]=h;else if(h)switch(t){case 3:return!0;case 5:return f;case 6:return y;case 2:Yi(w,f)}else switch(t){case 4:return!1;case 7:Yi(w,f)}return i?-1:n||o?o:w}},ta={forEach:Zi(0),map:Zi(1),filter:Zi(2),some:Zi(3),every:Zi(4),find:Zi(5),findIndex:Zi(6),filterReject:Zi(7)},ea=Rr,ra=p,na=V,oa=I,ia=T,aa=Et,sa=g,ca=ie,ua=pt,la=ur,da=it,fa=Ae,ha=ro,pa=H,ga=zo,ma=xo,va=Ho,ya=$o,ba=ni,wa=N,Sa=or,Oa=no,xa=B,Ca=ii,Ea=function(t,e,r){return ai.f(t,e,r)},Ia=Zt,ka=ho,ja=le,Aa=be,La=si,Da=mi,Pa=Si,Fa=Li,Ma=zi,Ra=ta.forEach,Na=Mo("hidden"),Ta="Symbol",_a=Ma.set,Ua=Ma.getterFor(Ta),Va=Object.prototype,Ba=ra.Symbol,Wa=Ba&&Ba.prototype,Ga=ra.RangeError,qa=ra.TypeError,Qa=ra.QObject,za=wa.f,Ha=Sa.f,Ja=ya.f,Ka=xa.f,$a=oa([].push),Xa=Ia("symbols"),Ya=Ia("op-symbols"),Za=Ia("wks"),ts=!Qa||!Qa.prototype||!Qa.prototype.findChild,es=function(t,e,r){var n=za(Va,e);n&&delete Va[e],Ha(t,e,r),n&&t!==Va&&Ha(Va,e,n)},rs=ia&&sa((function(){return 7!==ga(Ha({},"a",{get:function(){return Ha(this,"a",{value:7}).a}})).a}))?es:Ha,ns=function(t,e){var r=Xa[t]=ga(Wa);return _a(r,{type:Ta,tag:t,description:e}),ia||(r.description=e),r},os=function(t,e,r){t===Va&&os(Ya,e,r),la(t);var n=fa(e);return la(r),ca(Xa,n)?(r.enumerable?(ca(t,Na)&&t[Na][n]&&(t[Na][n]=!1),r=ga(r,{enumerable:pa(0,!1)})):(ca(t,Na)||Ha(t,Na,pa(1,ga(null))),t[Na][n]=!0),rs(t,n,r)):Ha(t,n,r)},is=function(t,e){la(t);var r=da(e),n=ma(r).concat(us(r));return Ra(n,(function(e){ia&&!na(as,r,e)||os(t,e,r[e])})),t},as=function(t){var e=fa(t),r=na(Ka,this,e);return!(this===Va&&ca(Xa,e)&&!ca(Ya,e))&&(!(r||!ca(this,e)||!ca(Xa,e)||ca(this,Na)&&this[Na][e])||r)},ss=function(t,e){var r=da(t),n=fa(e);if(r!==Va||!ca(Xa,n)||ca(Ya,n)){var o=za(r,n);return!o||!ca(Xa,n)||ca(r,Na)&&r[Na][n]||(o.enumerable=!0),o}},cs=function(t){var e=Ja(da(t)),r=[];return Ra(e,(function(t){ca(Xa,t)||ca(ka,t)||$a(r,t)})),r},us=function(t){var e=t===Va,r=Ja(e?Ya:da(t)),n=[];return Ra(r,(function(t){!ca(Xa,t)||e&&!ca(Va,t)||$a(n,Xa[t])})),n};aa||(Ba=function(){if(ua(Wa,this))throw new qa("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?ha(arguments[0]):void 0,e=ja(t),r=function(t){var n=void 0===this?ra:this;n===Va&&na(r,Ya,t),ca(n,Na)&&ca(n[Na],e)&&(n[Na][e]=!1);var o=pa(1,t);try{rs(n,e,o)}catch(t){if(!(t instanceof Ga))throw t;es(n,e,o)}};return ia&&ts&&rs(Va,e,{configurable:!0,set:r}),ns(e,t)},Ca(Wa=Ba.prototype,"toString",(function(){return Ua(this).tag})),Ca(Ba,"withoutSetter",(function(t){return ns(ja(t),t)})),xa.f=as,Sa.f=os,Oa.f=is,wa.f=ss,va.f=ya.f=cs,ba.f=us,La.f=function(t){return ns(Aa(t),t)},ia&&Ea(Wa,"description",{configurable:!0,get:function(){return Ua(this).description}})),ea({global:!0,constructor:!0,wrap:!0,forced:!aa,sham:!aa},{Symbol:Ba}),Ra(ma(Za),(function(t){Da(t)})),ea({target:Ta,stat:!0,forced:!aa},{useSetter:function(){ts=!0},useSimple:function(){ts=!1}}),ea({target:"Object",stat:!0,forced:!aa,sham:!ia},{create:function(t,e){return void 0===e?ga(t):is(ga(t),e)},defineProperty:os,defineProperties:is,getOwnPropertyDescriptor:ss}),ea({target:"Object",stat:!0,forced:!aa},{getOwnPropertyNames:cs}),Pa(),Fa(Ba,Ta),ka[Na]=!0;var ls=Et&&!!Symbol.for&&!!Symbol.keyFor,ds=Rr,fs=ht,hs=ie,ps=ro,gs=Zt,ms=ls,vs=gs("string-to-symbol-registry"),ys=gs("symbol-to-string-registry");ds({target:"Symbol",stat:!0,forced:!ms},{for:function(t){var e=ps(t);if(hs(vs,e))return vs[e];var r=fs("Symbol")(e);return vs[e]=r,ys[r]=e,r}});var bs=Rr,ws=ie,Ss=Dt,Os=Ft,xs=ls,Cs=Zt("symbol-to-string-registry");bs({target:"Symbol",stat:!0,forced:!xs},{keyFor:function(t){if(!Ss(t))throw new TypeError(Os(t)+" is not a symbol");if(ws(Cs,t))return Cs[t]}});var Es=Gr,Is=R,ks=L,js=ro,As=I([].push),Ls=Rr,Ds=ht,Ps=S,Fs=V,Ms=I,Rs=g,Ns=R,Ts=Dt,_s=Xo,Us=function(t){if(Is(t))return t;if(Es(t)){for(var e=t.length,r=[],n=0;n<e;n++){var o=t[n];"string"==typeof o?As(r,o):"number"!=typeof o&&"Number"!==ks(o)&&"String"!==ks(o)||As(r,js(o))}var i=r.length,a=!0;return function(t,e){if(a)return a=!1,e;if(Es(this))return e;for(var n=0;n<i;n++)if(r[n]===t)return e}}},Vs=Et,Bs=String,Ws=Ds("JSON","stringify"),Gs=Ms(/./.exec),qs=Ms("".charAt),Qs=Ms("".charCodeAt),zs=Ms("".replace),Hs=Ms(1..toString),Js=/[\uD800-\uDFFF]/g,Ks=/^[\uD800-\uDBFF]$/,$s=/^[\uDC00-\uDFFF]$/,Xs=!Vs||Rs((function(){var t=Ds("Symbol")("stringify detection");return"[null]"!==Ws([t])||"{}"!==Ws({a:t})||"{}"!==Ws(Object(t))})),Ys=Rs((function(){return'"\\udf06\\ud834"'!==Ws("\udf06\ud834")||'"\\udead"'!==Ws("\udead")})),Zs=function(t,e){var r=_s(arguments),n=Us(e);if(Ns(n)||void 0!==t&&!Ts(t))return r[1]=function(t,e){if(Ns(n)&&(e=Fs(n,this,Bs(t),e)),!Ts(e))return e},Ps(Ws,null,r)},tc=function(t,e,r){var n=qs(r,e-1),o=qs(r,e+1);return Gs(Ks,t)&&!Gs($s,o)||Gs($s,t)&&!Gs(Ks,n)?"\\u"+Hs(Qs(t,0),16):t};Ws&&Ls({target:"JSON",stat:!0,arity:3,forced:Xs||Ys},{stringify:function(t,e,r){var n=_s(arguments),o=Ps(Xs?Zs:Ws,null,n);return Ys&&"string"==typeof o?zs(o,Js,tc):o}});var ec=ni,rc=re;Rr({target:"Object",stat:!0,forced:!Et||g((function(){ec.f(1)}))},{getOwnPropertySymbols:function(t){var e=ec.f;return e?e(rc(t)):[]}}),mi("asyncIterator"),mi("hasInstance"),mi("isConcatSpreadable"),mi("iterator"),mi("match"),mi("matchAll"),mi("replace"),mi("search"),mi("species"),mi("split");var nc=Si;mi("toPrimitive"),nc();var oc=ht,ic=Li;mi("toStringTag"),ic(oc("Symbol"),"Symbol"),mi("unscopables"),Li(p.JSON,"JSON",!0);var ac,sc,cc,uc=ct.Symbol,lc={},dc=T,fc=ie,hc=Function.prototype,pc=dc&&Object.getOwnPropertyDescriptor,gc=fc(hc,"name"),mc={EXISTS:gc,PROPER:gc&&"something"===function(){}.name,CONFIGURABLE:gc&&(!dc||dc&&pc(hc,"name").configurable)},vc=!g((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),yc=ie,bc=R,wc=re,Sc=vc,Oc=Mo("IE_PROTO"),xc=Object,Cc=xc.prototype,Ec=Sc?xc.getPrototypeOf:function(t){var e=wc(t);if(yc(e,Oc))return e[Oc];var r=e.constructor;return bc(r)&&e instanceof r?r.prototype:e instanceof xc?Cc:null},Ic=g,kc=R,jc=st,Ac=zo,Lc=Ec,Dc=ii,Pc=be("iterator"),Fc=!1;[].keys&&("next"in(cc=[].keys())?(sc=Lc(Lc(cc)))!==Object.prototype&&(ac=sc):Fc=!0);var Mc=!jc(ac)||Ic((function(){var t={};return ac[Pc].call(t)!==t}));kc((ac=Mc?{}:Ac(ac))[Pc])||Dc(ac,Pc,(function(){return this}));var Rc={IteratorPrototype:ac,BUGGY_SAFARI_ITERATORS:Fc},Nc=Rc.IteratorPrototype,Tc=zo,_c=H,Uc=Li,Vc=lc,Bc=function(){return this},Wc=Rr,Gc=V,qc=mc,Qc=function(t,e,r,n){var o=e+" Iterator";return t.prototype=Tc(Nc,{next:_c(+!n,r)}),Uc(t,o,!1,!0),Vc[o]=Bc,t},zc=Ec,Hc=Li,Jc=ii,Kc=lc,$c=Rc,Xc=qc.PROPER,Yc=$c.BUGGY_SAFARI_ITERATORS,Zc=be("iterator"),tu="keys",eu="values",ru="entries",nu=function(){return this},ou=function(t,e,r,n,o,i,a){Qc(r,e,n);var s,c,u,l=function(t){if(t===o&&g)return g;if(!Yc&&t&&t in h)return h[t];switch(t){case tu:case eu:case ru:return function(){return new r(this,t)}}return function(){return new r(this)}},d=e+" Iterator",f=!1,h=t.prototype,p=h[Zc]||h["@@iterator"]||o&&h[o],g=!Yc&&p||l(o),m="Array"===e&&h.entries||p;if(m&&(s=zc(m.call(new t)))!==Object.prototype&&s.next&&(Hc(s,d,!0,!0),Kc[d]=nu),Xc&&o===eu&&p&&p.name!==eu&&(f=!0,g=function(){return Gc(p,this)}),o)if(c={values:l(eu),keys:i?g:l(tu),entries:l(ru)},a)for(u in c)(Yc||f||!(u in h))&&Jc(h,u,c[u]);else Wc({target:e,proto:!0,forced:Yc||f},c);return a&&h[Zc]!==g&&Jc(h,Zc,g,{name:o}),Kc[e]=g,c},iu=function(t,e){return{value:t,done:e}},au=it,su=lc,cu=zi;or.f;var uu=ou,lu=iu,du="Array Iterator",fu=cu.set,hu=cu.getterFor(du);uu(Array,"Array",(function(t,e){fu(this,{type:du,target:au(t),index:0,kind:e})}),(function(){var t=hu(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,lu(void 0,!0);switch(t.kind){case"keys":return lu(r,!1);case"values":return lu(e[r],!1)}return lu([r,e[r]],!1)}),"values"),su.Arguments=su.Array;var pu={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gu=p,mu=Li,vu=lc;for(var yu in pu)mu(gu[yu],yu),vu[yu]=vu.Array;var bu=uc,wu=be,Su=or.f,Ou=wu("metadata"),xu=Function.prototype;void 0===xu[Ou]&&Su(xu,Ou,{value:null}),mi("asyncDispose"),mi("dispose"),mi("metadata");var Cu=bu,Eu=I,Iu=ht("Symbol"),ku=Iu.keyFor,ju=Eu(Iu.prototype.valueOf),Au=Iu.isRegisteredSymbol||function(t){try{return void 0!==ku(ju(t))}catch(t){return!1}};Rr({target:"Symbol",stat:!0},{isRegisteredSymbol:Au});for(var Lu=Zt,Du=ht,Pu=I,Fu=Dt,Mu=be,Ru=Du("Symbol"),Nu=Ru.isWellKnownSymbol,Tu=Du("Object","getOwnPropertyNames"),_u=Pu(Ru.prototype.valueOf),Uu=Lu("wks"),Vu=0,Bu=Tu(Ru),Wu=Bu.length;Vu<Wu;Vu++)try{var Gu=Bu[Vu];Fu(Ru[Gu])&&Mu(Gu)}catch(t){}var qu=function(t){if(Nu&&Nu(t))return!0;try{for(var e=_u(t),r=0,n=Tu(Uu),o=n.length;r<o;r++)if(Uu[n[r]]==e)return!0}catch(t){}return!1};Rr({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:qu}),mi("customMatcher"),mi("observable"),Rr({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:Au}),Rr({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:qu}),mi("matcher"),mi("metadataKey"),mi("patternMatch"),mi("replaceAll");var Qu=d(Cu),zu=I,Hu=Jr,Ju=ro,Ku=rt,$u=zu("".charAt),Xu=zu("".charCodeAt),Yu=zu("".slice),Zu=function(t){return function(e,r){var n,o,i=Ju(Ku(e)),a=Hu(r),s=i.length;return a<0||a>=s?t?"":void 0:(n=Xu(i,a))<55296||n>56319||a+1===s||(o=Xu(i,a+1))<56320||o>57343?t?$u(i,a):n:t?Yu(i,a,a+2):o-56320+(n-55296<<10)+65536}},tl={codeAt:Zu(!1),charAt:Zu(!0)}.charAt,el=ro,rl=zi,nl=ou,ol=iu,il="String Iterator",al=rl.set,sl=rl.getterFor(il);nl(String,"String",(function(t){al(this,{type:il,string:el(t),index:0})}),(function(){var t,e=sl(this),r=e.string,n=e.index;return n>=r.length?ol(void 0,!0):(t=tl(r,n),e.index+=t.length,ol(t,!1))}));var cl=d(si.f("iterator"));function ul(t){return ul="function"==typeof Qu&&"symbol"==typeof cl?function(t){return typeof t}:function(t){return t&&"function"==typeof Qu&&t.constructor===Qu&&t!==Qu.prototype?"symbol":typeof t},ul(t)}var ll=d(si.f("toPrimitive"));function dl(t){var e=function(t,e){if("object"!=ul(t)||!t)return t;var r=t[ll];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ul(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ul(e)?e:e+""}function fl(t,e,r){return(e=dl(e))in t?Br(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const hl=new RegExp("^".concat("[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}","$"),"i"),pl=!!String.prototype.trim;function gl(t,e){return null!=t?e(t):t}function ml(t){return"object"==typeof t?JSON.stringify(t):""+t}function vl(t){return null!=t}function yl(t){return!!t&&hl.test(wl(t))}function bl(t){return"[object Array]"===Object.prototype.toString.call(t)}function wl(t){return pl?(""+t).trim():(""+t).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function Sl(t){return"string"==typeof t}function Ol(t,e){return Sl(t)&&Sl(e)&&wl(t.toLowerCase())===wl(e.toLowerCase())}function xl(t){return!!t&&"object"==typeof t&&!bl(t)}function Cl(t){return!!t&&"function"==typeof t}function El(t){return function(t,e){return new Date((new Date).getTime()+t*e)}(t,864e5)}function Il(t,e,r){if(xl(e)){let n;return n="message"in e&&"string"==typeof e.message?new Error(r||e.message):new Error(r),n.name=t,"stack"in e&&"string"==typeof e.stack&&(n.stack=e.stack),"lineNumber"in e&&"number"==typeof e.lineNumber&&(n.lineNumber=e.lineNumber),"columnNumber"in e&&"number"==typeof e.columnNumber&&(n.columnNumber=e.columnNumber),n}{const e=Error(r);return e.name=t,e}}const kl="li_errors";class jl{constructor(t){fl(this,"data",void 0);const e=parseInt(t.toString())||5;this.data={h:{},q:{},size:e}}on(t,e,r){const n={callback:e.bind(r),unbound:e};return this.data={...this.data,h:{...this.data.h,[t]:[...this.data.h[t]||[],n]}},(this.data.q[t]||[]).forEach((t=>e.call(r,t))),this}once(t,e,r){const n=this.data.q[t]||[];if(n.length>0)return e.call(r,n[0]),this;{const n=o=>{this.off(t,n),e.call(r,o)};return n._=e,this.on(t,n,r)}}emit(t,e){(this.data.h[t]||[]).forEach((t=>t.callback(e)));const r=this.data.q[t]||[];return this.data={...this.data,q:{...this.data.q,[t]:[...r.length<this.data.size?r:r.slice(1),e]}},this}off(t,e){const r=this.data.h[t],n=r&&e&&r.filter((t=>t.unbound!==e))||[];if(n.length)this.data={...this.data,h:{...this.data.h,[t]:n}};else{const{[t]:e,...r}=this.data.h;this.data={...this.data,h:r}}return this}emitErrorWithMessage(t,e,r){const n=Il(t,r,e);return this.emit(kl,n)}emitError(t,e){const r=Il(t,e);return this.emit(kl,r)}}class Al{constructor(t){var e,r,n;fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"calls",void 0),fl(this,"eventBus",void 0),fl(this,"retries",void 0),this.url=null!==(e=t.collectorUrl)&&void 0!==e?e:"https://rp.liadm.com",this.timeout=null!==(r=t.ajaxTimeout)&&void 0!==r?r:0,this.calls=t.callHandler,this.eventBus=t.eventBus,this.retries=null!==(n=t.ajaxRetries)&&void 0!==n?n:3}callBakers(t){try{const e=JSON.parse(t).bakers;if(bl(e))for(let t=0;t<e.length;t++)this.calls.pixelGet("".concat(e[t],"?dtstmp=").concat(Date.now()))}catch(e){this.eventBus.emitErrorWithMessage("CallBakers","Error while calling bakers with ".concat(t),e)}}sendState(t,e,r,n){if(t.sendsPixel()){n&&Cl(n)&&n();const o=t.asQuery().add("dtstmp",Date.now(),{prepend:!0}).toQueryString();r("".concat(this.url,"/").concat(e).concat(o))}}sendAjax(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"j",(r=>{const n=o=>{this.calls.ajaxGet(r,(t=>{e.onLoad&&Cl(e.onLoad)&&e.onLoad(),this.callBakers(t)}),(r=>{o<=0?(this.sendPixel(t,e),this.eventBus.emitError("AjaxFailed",r)):n(o-1)}),this.timeout)};n(this.retries)}),e.onPreSend)}sendPixel(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.sendState(t,"p",(t=>this.calls.pixelGet(t,e.onLoad)),e.onPreSend)}}const Ll="lips",Dl="pre_lips",Pl="_li_duid",Fl="https://idx.liadm.com/idex",Ml=[];function Rl(t){const e=function(t){t="".concat(t);for(let e=0;e<t.length;e++)if(t.charCodeAt(e)>255)return null;let e="";for(let n=0;n<t.length;n+=3){const o=[void 0,void 0,void 0,void 0];o[0]=t.charCodeAt(n)>>2,o[1]=(3&t.charCodeAt(n))<<4,t.length>n+2?(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2,o[2]|=t.charCodeAt(n+2)>>6,o[3]=63&t.charCodeAt(n+2)):t.length>n+1&&(o[1]|=t.charCodeAt(n+1)>>4,o[2]=(15&t.charCodeAt(n+1))<<2);for(let t=0;t<o.length;t++){const n=o[t];e+=void 0===n?"=":(r=n)>=0&&r<64?"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[r]:void 0}}var r;return e}(t);return e||""}const Nl=/[+/]|=+$/g,Tl={"+":"-","/":"_"};function _l(t){return Tl[t]||""}function Ul(t){let e=null;const r=encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((t,e)=>String.fromCharCode(parseInt("0x"+e,16))));try{e=window&&Cl(window.btoa)?window.btoa:Rl}catch(t){e=Rl}return e(r).replace(Nl,_l)}for(var Vl=[],Bl=0;Bl<64;)Vl[Bl]=0|4294967296*Math.sin(++Bl%Math.PI);function Wl(t){var e,r,n,o=[e=1732584193,r=4023233417,~e,~r],i=[],a=unescape(encodeURI(t))+"",s=a.length;for(t=--s/4+2|15,i[--t]=8*s;~s;)i[s>>2]|=a.charCodeAt(s)<<8*s--;for(Bl=a=0;Bl<t;Bl+=16){for(s=o;a<64;s=[n=s[3],e+((n=s[0]+[e&r|~e&n,n&e|~n&r,e^r^n,r^(e|~n)][s=a>>4]+Vl[a]+~~i[Bl|15&[a,5*a+1,3*a+5,7*a][s]])<<(s=[7,12,17,22,5,9,14,20,4,11,16,23,6,10,15,21][4*s+a++%4])|n>>>-s),e,r])e=0|s[1],r=s[2];for(a=4;a;)o[--a]+=s[a]}for(t="";a<32;)t+=(o[a>>3]>>4*(1^a++)&15).toString(16);return t}function Gl(t){var e,r,n,o,i,a=[],s=[r=1732584193,n=4023233417,~r,~n,3285377520],c=[],u=unescape(encodeURI(t))+"",l=u.length;for(c[t=--l/4+2|15]=8*l;~l;)c[l>>2]|=u.charCodeAt(l)<<8*~l--;for(e=l=0;e<t;e+=16){for(r=s;l<80;r=[r[4]+(a[l]=l<16?~~c[e+l]:2*u|u<0)+1518500249+[n&o|~n&i,u=341275144+(n^o^i),882459459+(n&o|n&i|o&i),u+1535694389][l++/5>>2]+((u=r[0])<<5|u>>>27),u,n<<30|n>>>2,o,i])u=a[l-3]^a[l-8]^a[l-14]^a[l-16],n=r[1],o=r[2],i=r[3];for(l=5;l;)s[--l]+=r[l]}for(u="";l<40;)u+=(s[l>>3]>>4*(7-l++)&15).toString(16);return u}for(var ql,Ql=18,zl=[],Hl=[];Ql>1;Ql--)for(ql=Ql;ql<320;)zl[ql+=Ql]=1;function Jl(t,e){return 4294967296*Math.pow(t,1/e)|0}for(ql=0;ql<64;)zl[++Ql]||(Hl[ql]=Jl(Ql,2),zl[ql++]=Jl(Ql,3));function Kl(t,e){return t>>>e|t<<-e}function $l(t){var e=Hl.slice(Ql=ql=0,8),r=[],n=unescape(encodeURI(t))+"",o=n.length;for(r[t=--o/4+2|15]=8*o;~o;)r[o>>2]|=n.charCodeAt(o)<<8*~o--;for(o=[];Ql<t;Ql+=16){for(Jl=e.slice();ql<64;Jl.unshift(n+(Kl(n=Jl[0],2)^Kl(n,13)^Kl(n,22))+(n&Jl[1]^Jl[1]&Jl[2]^Jl[2]&n)))Jl[3]+=n=0|(o[ql]=ql<16?~~r[ql+Ql]:(Kl(n=o[ql-2],17)^Kl(n,19)^n>>>10)+o[ql-7]+(Kl(n=o[ql-15],7)^Kl(n,18)^n>>>3)+o[ql-16])+Jl.pop()+(Kl(n=Jl[4],6)^Kl(n,11)^Kl(n,25))+(n&Jl[5]^~n&Jl[6])+zl[ql++];for(ql=8;ql;)e[--ql]+=Jl[ql]}for(n="";ql<64;)n+=(e[ql>>3]>>4*(7-ql++)&15).toString(16);return n}const Xl=new Map([[32,"md5"],[40,"sha1"],[64,"sha256"]]);function Yl(t){const e=Zl(t);return!!e&&Xl.has(e.length)}function Zl(t){const e=t.match(/(\s+)?[a-f0-9]{32,64}(\s+)?/gi);return e&&e.map(wl)[0]}function td(t){const e=t.toLowerCase();return{md5:Wl(e),sha1:Gl(e),sha256:$l(e)}}function ed(t){return/\S+(@|%40)\S+\.\S+/.test(t)}function rd(t){const e=t.match(/\S+(@|%40)\S+\.\S+/);return e&&e.map(wl)[0]}function nd(t){const e=function(t){const e=[],r=new RegExp("([\\w\\d.+-]+(@|%40)[\\w\\d-]+.[\\w\\d.-]+)","g");let n=r.exec(t);for(;n;)e.push(wl(n[1])),n=r.exec(t);return e}(t),r=[];let n=t;for(let t=0;t<e.length;t++){const o=e[t],i=td(o);n=n.replace(o,i.md5),r.push(i)}return{stringWithoutRawEmails:n,hashesFromOriginalString:r}}function od(t,e){return"string"==typeof e&&ed(wl(e))?"*********":e}function id(t){return function(t){return"false"!==t&&("true"===t||t)}(function(t){return"null"===t||"undefined"===t?null:t}(function(t){return isNaN(+t)?t:+t}(t)))}function ad(t,e){if(e in t){const r=t[e];return bl(r)?r.map((t=>id(cd(t)))):id(cd(r))}}function sd(t){let e,r,n;const o={};return t&&-1!==(e=t.indexOf("?"))&&(r=t.slice(e+1))&&(-1===(n=r.indexOf("#"))||(r=r.slice(0,n)))?(r.split("&").forEach((function(t){if(t){let e;const r=t.split("=");e=r[0];const n=2===r.length?r[1]:"true";if("[]"===e.slice(-2)&&(e=e.slice(0,-2)),e in o){const t=o[e];bl(t)?t.push(n):o[e]=[t,n]}else o[e]=n}})),o):o}function cd(t){return t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)}class ud{constructor(t){fl(this,"hash",void 0),fl(this,"host",void 0),fl(this,"hostname",void 0),fl(this,"pathname",void 0),fl(this,"port",void 0),fl(this,"protocol",void 0),fl(this,"search",void 0);const e=t.match(/^(https?\:\/\/)?(([^:\/?#]*)(?:\:([0-9]+))?)([\/]{0,1}[^?#]*)(\?[^#]*|)(#.*|)$/);if(null===e)throw new TypeError("Failed to parse URL: ".concat(t));this.protocol=e[1]||"",this.host=e[2]||"",this.hostname=e[3]||"",this.port=e[4]||"",this.pathname=e[5]||"",this.search=e[6]||"",this.hash=e[7]||""}toString(){return"".concat(this.protocol).concat(this.host).concat(this.pathname).concat(this.search).concat(this.hash)}}const ld=["items","itemids"],dd=["email","emailhash","hash","hashedemail"];const fd=[function(t){const e=t.eventSource||{},r=Object.keys(e);for(const n of r){const r=n.toLowerCase();if(dd.indexOf(r)>-1){const r=wl(ml(e[n])),o=rd(r),i=Zl(r);if(o){const e=td(cd(o));return hd({hashedEmail:[e.md5,e.sha1,e.sha256]},t)}if(i&&Yl(i))return hd({hashedEmail:[i.toLowerCase()]},t)}}return t},function(t){const e=t.eventSource||{};return Object.keys(e).forEach((t=>{const r=t.toLowerCase(),n=e[t];ld.indexOf(r)>-1&&bl(n)&&n.length>10&&(n.length=10)})),{}}];function hd(t,e){const r={};function n(t){return xl(t)?t:{}}function o(t){return Object.keys(t)}const i=n(t),a=n(e);return o(i).forEach((t=>{r[t]=i[t]})),o(a).forEach((t=>{r[t]=a[t]})),r}class pd{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];fl(this,"tuples",void 0),this.tuples=t}add(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{stripEmpty:n=!0,prepend:o=!1}=r;return""===t||n&&""===e?this:o?(this.tuples.unshift([t,e]),this):(this.tuples.push([t,e]),this)}addOptional(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return vl(e)?this.add(t,e,r):this}addParamsMap(t){return Object.keys(t).forEach((e=>{const r=t[e];vl(r)&&(bl(r)?r.forEach((t=>this.add(e,t))):this.add(e,r))})),this}copy(){return new pd(this.tuples.slice())}filteredCopy(t){return new pd(this.tuples.filter((e=>{let[r,n]=e;return t(r,n)})))}toQueryString(){let t="";return this.tuples.forEach((e=>{let[r,n]=e;const o=0===t.length?"?":"&";t="".concat(t).concat(o).concat(encodeURIComponent(r),"=").concat(encodeURIComponent(n))})),t}}function gd(t){return null===t?"":t}const md="full",vd="no_path";function yd(t){if(void 0===t.pageUrl||0===t.pageUrl.length)return["",!1,[]];if(function(t){return!(void 0!==t.urlCollectionMode&&t.urlCollectionMode!==md||void 0!==t.queryParametersFilter&&""!==t.queryParametersFilter)}(t))return[t.pageUrl,!1,[]];const e=new ud(t.pageUrl),r=function(t){const e=sd(t),r=[];return Object.keys(e).forEach((t=>{r.push([t,ad(e,t)])})),r}(e.search),n=function(t,e){return e.urlCollectionMode===vd&&t.pathname.length>1}(e,t),o=function(t,e){if(void 0===e.queryParametersFilter||""===e.queryParametersFilter)return[];const r=new RegExp(e.queryParametersFilter);return t.map((t=>t[0])).filter((t=>r.test(t)))}(r,t);return n&&(e.pathname="/"),o.length>0&&(e.search=function(t,e){const r=t.filter((t=>-1===e.indexOf(t[0]))).map((t=>"".concat(t[0],"=").concat(t[1])));return r.length>0?"?".concat(r.join("&")):""}(r,o)),[e.toString(),n,o]}function bd(t){if(0!==t.length){const e=new ud(t);return e.pathname="",e.search="",e.toString()}}const wd=["setemail","setemailhash","sethashedemail"];class Sd{constructor(t,e){fl(this,"data",void 0),fl(this,"eventBus",void 0),this.data=Sd.safeFiddle(t,e),this.eventBus=e}static safeFiddle(t,e){try{return xl((r=JSON.parse(JSON.stringify(t))).eventSource)?fd.reduce((function(t,e){return hd(t,e(t))}),r):r}catch(t){return console.error(t),e.emitErrorWithMessage("StateCombineWith","Error while extracting event data",t),{}}var r}combineWith(t){return new Sd(hd(this.data,t),this.eventBus)}sendsPixel(){const t=xl(this.data.eventSource)?this.data.eventSource:{},e=Object.keys(t).filter((t=>"eventname"===t.toLowerCase()||"event"===t.toLowerCase())),r=e&&e.length>=1&&e[0],n=r&&wl(t[r]);return!n||-1===wd.indexOf(n.toLowerCase())}asQuery(){var t,e,r;const n=this.data,o=(new pd).addOptional("aid",n.appId).addOptional("did",n.distributorId).addOptional("se",gl(n.eventSource,(t=>Ul(JSON.stringify(t,od))))).addOptional("duid",n.liveConnectId).addOptional("tv",n.trackerVersion);if(vl(n.pageUrl)){const[t,e,r]=yd(n);o.add("pu",t).addOptional("pu_rp",e?"1":void 0).add("pu_rqp",r.join(","))}return o.addOptional("ae",gl(n.errorDetails,(t=>Ul(JSON.stringify(t))))),bl(n.retrievedIdentifiers)&&n.retrievedIdentifiers.forEach((t=>o.add("ext_".concat(t.name),t.value))),bl(n.hashesFromIdentifiers)&&n.hashesFromIdentifiers.forEach((t=>o.add("scre","".concat(t.md5,",").concat(t.sha1,",").concat(t.sha256)))),o.addOptional("li_did",null===(t=n.decisionIds)||void 0===t?void 0:t.join(",")).addOptional("e",null===(e=n.hashedEmail)||void 0===e?void 0:e.join(",")).addOptional("us_privacy",n.usPrivacyString).addOptional("wpn",n.wrapperName).addOptional("gdpr",gl(n.gdprApplies,(t=>t?"1":"0"))).addOptional("gdpr_consent",n.gdprConsent).addOptional("refr",n.referrer).addOptional("gpp_s",n.gppString).addOptional("gpp_as",null===(r=n.gppApplicableSections)||void 0===r?void 0:r.join(",")).addOptional("cd",n.cookieDomain).addOptional("ic",gd(n.resolvedIdCookie),{stripEmpty:!1}).addOptional("c",n.contextElements),o}}function Od(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;return Id((()=>t.top.document.referrer))}function xd(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window;const e=Id((()=>t.location.ancestorOrigins))||[],r=[];let n,o=t;for(;o!==top;)r.push(o),o=o.parent;r.push(o);for(let t=r.length-1;t>=0&&!n;t--)n=Id((()=>r[t].location.href)),0!==t&&(n||(n=Id((()=>r[t-1].document.referrer))),n||(n=e[t-1]));return n}function Cd(t,e,r){if(!t&&e&&""!==e&&r){const t=function(t,e){const r=window.document.querySelectorAll(t);let n="";for(let t=0;t<r.length;t++){const o=n+nd(r[t].outerHTML).stringWithoutRawEmails;if(!(Ed(o)<=e))return n;n=o}return n}(e,r);return Ul(t)}return""}function Ed(t){return Math.ceil(4*new Blob([t]).size/3)}function Id(t){try{return t()}catch(t){return}}function kd(t){let e=[];t&&(bl(t)?e=t:Sl(t)&&(e=t.split(",")));for(let t=0;t<e.length;t++)e[t]=e[t].trim();return e}function jd(t,e){const r=[];let n=[];for(let o=0;o<t.length;o++){const i=t[o],a=e.getCookie(i)||e.getDataFromLocalStorage(i);if(a){const t=nd(ml(a));r.push({name:i,value:t.stringWithoutRawEmails}),n=n.concat(t.hashesFromOriginalString)}}return{retrievedIdentifiers:r,hashesFromIdentifiers:Ad(n)}}function Ad(t){const e=new Set,r=[];for(let n=0;n<t.length;n++)e.has(t[n].md5)||(r.push(t[n]),e.add(t[n].md5));return r}const Ld=t=>{var e;return{...t,privacyMode:!!t.gdprApplies||(null!==(e=t.gppApplicableSections)&&void 0!==e?e:[]).indexOf(2)>-1}};function Dd(t,e){if(t&&t.appId&&t.distributorId){const r=t.distributorId;delete t.distributorId,e.emitError("AppIdAndDistributorIdPresent",new Error("Event contains both appId: ".concat(t.appId," and distributorId: ").concat(r,". Ignoring distributorId")))}return t}const Pd="idCookie";class Fd{constructor(t,e,r){var n,o;fl(this,"eventBus",void 0),fl(this,"calls",void 0),fl(this,"idexConfig",void 0),fl(this,"externalIds",void 0),fl(this,"source",void 0),fl(this,"publisherId",void 0),fl(this,"url",void 0),fl(this,"timeout",void 0),fl(this,"requestedAttributes",void 0),fl(this,"query",void 0),fl(this,"privacyMode",void 0),fl(this,"resolvedIdCookie",void 0),fl(this,"generateIdCookie",void 0),fl(this,"peopleVerifiedId",void 0),fl(this,"pageUrl",void 0);const i=t||{identityResolutionConfig:{}};this.eventBus=r,this.calls=e,this.idexConfig=i.identityResolutionConfig||{},this.externalIds=i.retrievedIdentifiers||[],this.source=this.idexConfig.source||"unknown",this.publisherId=this.idexConfig.publisherId||"any",this.url=this.idexConfig.url||Fl,this.timeout=this.idexConfig.ajaxTimeout||i.ajaxTimeout||5e3,this.requestedAttributes=this.idexConfig.requestedAttributes||Ml,this.privacyMode=null!==(n=i.privacyMode)&&void 0!==n&&n,this.resolvedIdCookie=i.resolvedIdCookie,this.generateIdCookie="generated"===this.idexConfig.idCookieMode,this.peopleVerifiedId=i.peopleVerifiedId,this.pageUrl=i.pageUrl,this.query=(new pd).addOptional("duid",i.peopleVerifiedId).addOptional("us_privacy",i.usPrivacyString).addOptional("gdpr",gl(i.gdprApplies,(t=>t?1:0))).addOptional("gdpr_consent",i.gdprConsent).addOptional("did",i.distributorId).addOptional("gpp_s",i.gppString).addOptional("gpp_as",null===(o=i.gppApplicableSections)||void 0===o?void 0:o.join(",")).addOptional("cd",i.cookieDomain).addOptional("ic",gd(i.resolvedIdCookie),{stripEmpty:!1}).addOptional("pu",gl(i.pageUrl,bd)),this.externalIds.forEach((t=>{this.query.add(t.name,t.value)})),this.requestedAttributes.forEach((t=>{this.query.add("resolve",t)}))}attributeResolutionAllowed(t){return"uid2"===t?!this.privacyMode:t!==Pd}filterParams(t){return t.filteredCopy(((t,e)=>"resolve"!==t||!!Sl(e)&&this.attributeResolutionAllowed(e)))}enrichExtraIdentifiers(t,e){const r=e.tuples.filter((t=>{let[e]=t;return"resolve"===e})).map((t=>{let[,e]=t;return e}));const n={...t};var o;return o=Pd,r.indexOf(o)>-1&&(this.generateIdCookie&&this.peopleVerifiedId?n.idCookie=this.peopleVerifiedId:this.resolvedIdCookie&&(n.idCookie=this.resolvedIdCookie)),n}responseReceived(t,e){return(r,n)=>{let o={};if(r)try{const t=JSON.parse(r);xl(t)&&(o=t)}catch(t){console.error("Error parsing response",t),this.eventBus.emitError("IdentityResolverParser",t)}const i=function(t){if(xl(t)&&"getResponseHeader"in t&&Cl(t.getResponseHeader)){const e=t.getResponseHeader("expires");if(e)return new Date(e)}}(n);t(this.enrichExtraIdentifiers(o,e),{expiresAt:i})}}buildUrl(t){return"".concat(this.url,"/").concat(this.source,"/").concat(this.publisherId).concat(this.filterParams(t).toQueryString())}getUrl(t){const e=this.query.copy().addParamsMap(null!=t?t:{});return this.buildUrl(e)}resolve(t,e,r){try{const n=this.query.copy().addParamsMap(null!=r?r:{});this.calls.ajaxGet(this.buildUrl(n),this.responseReceived(t,n),e,this.timeout)}catch(t){console.error("IdentityResolve",t),e&&Cl(e)&&e(t),this.eventBus&&this.eventBus.emitError("IdentityResolve",t)}}}function Md(t){return new jl("number"==typeof t&&t>=0?t:5)}function Rd(t){Cl(t.emitErrorWithMessage)&&Cl(t.emitError)||(t.emitErrorWithMessage=function(e,r){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=Il(e,r,n);return t.emit(kl,o)},t.emitError=function(e,r){return t.emitErrorWithMessage(e,r.message,r)})}function Nd(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;return Md(t)}function Td(t){const e=window[t].eventBus||window.__li__evt_bus;return Rd(e),e}const _d="_li_dcdm_c";function Ud(t){const e=t.getCookie(_d);if(e)return e;const r=document.domain||document.location&&document.location.host||window&&window.location&&window.location.host||"localhost",n=r.split(".");for(let e=n.length;e>0;e--){const r=".".concat(n.slice(e-1,n.length).join("."));if(t.setCookie(_d,r,void 0,"Lax",r),t.getCookie(_d))return r}return".".concat(r)}const Vd="cookie",Bd="none",Wd="disabled",Gd=t=>{const e=t.privacyMode?Wd:t.storageStrategy||Vd;return{...t,storageStrategy:e}},qd=El(30),Qd="lidids.",zd=(t,e,r)=>r.indexOf(t)===e,Hd=t=>t&&wl(t).length>0;function Jd(t,e){return r=>{function n(t,r){try{return r()}catch(r){return e.emitErrorWithMessage("DecisionsResolve",t,r),[]}}const o=n("Error while extracting new decision ids",(()=>{var t,e;return[].concat(r.pageUrl&&(t=r.pageUrl,e="li_did",ad(sd(t),e))||[]).map(wl).filter(Hd).filter(yl).filter(zd)})),i=n("Error while retrieving stored decision ids",(()=>t.findSimilarCookies(Qd).map(wl).filter(Hd).filter(yl)));return o.forEach((n=>{try{(o=n)&&t.setCookie("".concat(Qd).concat(o),o,qd,"Lax",r.cookieDomain)}catch(t){e.emitErrorWithMessage("DecisionsResolve","Error while storing new decision id",t)}var o})),{...r,decisionIds:o.concat(i).filter(zd)}}}const Kd="0123456789ABCDEFGHJKMNPQRSTVWXYZ",$d=Kd.length,Xd=Math.pow(2,48)-1,Yd=function(){const t="undefined"!=typeof window?window:null,e=t&&(t.crypto||t.msCrypto);if(e)return()=>{const t=new Uint8Array(1);return e.getRandomValues(t),t[0]/255};return()=>Math.random()}();function Zd(t,e){if(t>Xd)throw function(t){const e=new Error(t);return e.source="Ulid",e}("cannot encode time greater than "+Xd);let r,n="";for(;e>0;e--)r=t%$d,n=Kd.charAt(r)+n,t=(t-r)/$d;return n}function tf(){let t=Math.floor(Yd()*$d);return t===$d&&(t=$d-1),Kd.charAt(t)}function ef(){return Zd(Date.now(),10)+function(t){let e="";for(;t>0;t--)e=tf()+e;return e}(16)}const rf="_lc2_fpi";function nf(t,e){return r=>{let n;const o=t.get(rf);if(o)n=o.data;else{const o=e.getCookie(rf);if(o)t.set(rf,o),n=o;else{var i;const e="".concat(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:12;return Gl(t.replace(/^\./,"")).substring(0,e)}(r.cookieDomain),"--").concat(ef()).toLocaleLowerCase();t.set(rf,e),n=null===(i=t.get(rf))||void 0===i?void 0:i.data}}return n&&e.setDataInLocalStorage(Pl,n),{...r,liveConnectId:n,peopleVerifiedId:n}}}const of={errorDetails:{message:"Unknown message",name:"Unknown name"}};function af(t){try{const e=1*t;return isNaN(e)?void 0:e}catch{}}function sf(t){try{return Sl(t)&&t.length&&t.length>120?"".concat(t.substr(0,120),"..."):"".concat(t)}catch{}}function cf(t){return xl(t)?{errorDetails:{message:sf(t.message)||"",name:sf(t.name)||"",stackTrace:sf(t.stack),lineNumber:af(t.lineNumber),columnNumber:af(t.columnNumber),fileName:sf(t.fileName)}}:of}const uf=()=>{};class lf{constructor(t,e,r){fl(this,"obj",void 0),fl(this,"name",void 0),fl(this,"errors",void 0),fl(this,"eventBus",void 0),this.obj=t,this.name=e,this.errors=[],this.eventBus=r}wrap(t){var e=this;if(xl(this.obj)){const r=this.obj[t];if(Cl(r))return function(){try{for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return r.call(e.obj,...o)}catch(r){e.eventBus.emitErrorWithMessage(e.name,"Failed calling ".concat(t),r)}}}return this.errors.push(t),uf}reportErrors(){this.errors.length>0&&this.eventBus.emitErrorWithMessage(this.name,"The functions '".concat(JSON.stringify(this.errors),"' were not provided"))}}const df=()=>{};function ff(t,e,r){return Ol(e,Wd)?df:t.wrap(r)}function hf(t,e,r){return Ol(e,Bd)?df:ff(t,e,r)}class pf{constructor(t,e){fl(this,"minimalFunctions",void 0),this.minimalFunctions={getCookie:ff(e,t,"getCookie"),getDataFromLocalStorage:ff(e,t,"getDataFromLocalStorage"),localStorageIsEnabled:hf(e,t,"localStorageIsEnabled")}}static make(t,e,r){const n=new lf(e,"ReadOnlyStorageHandler",r),o=new pf(t,n);return n.reportErrors(),o}localStorageIsEnabled(){return!!this.minimalFunctions.localStorageIsEnabled()}getCookie(t){return this.minimalFunctions.getCookie(t)||null}getDataFromLocalStorage(t){return this.minimalFunctions.getDataFromLocalStorage(t)||null}}class gf extends pf{constructor(t,e){super(t,e),fl(this,"storageStrategy",void 0),fl(this,"functions",void 0),this.storageStrategy=t,this.functions={setCookie:hf(e,t,"setCookie"),removeDataFromLocalStorage:hf(e,t,"removeDataFromLocalStorage"),setDataInLocalStorage:hf(e,t,"setDataInLocalStorage"),findSimilarCookies:ff(e,t,"findSimilarCookies")}}static make(t,e,r){const n=new lf(e,"StorageHandler",r),o=new gf(t,n);return n.reportErrors(),o}setCookie(t,e,r,n,o){this.functions.setCookie(t,e,r,n,o)}setDataInLocalStorage(t,e){this.functions.setDataInLocalStorage(t,e)}removeDataFromLocalStorage(t){this.functions.removeDataFromLocalStorage(t)}findSimilarCookies(t){return this.functions.findSimilarCookies(t)||[]}}class mf extends Error{constructor(t){super(t),this.name="ParseError"}}class vf{constructor(t){fl(this,"handler",void 0),fl(this,"cookieDomain",void 0),fl(this,"eventBus",void 0),this.handler=t.storageHandler,this.cookieDomain=t.cookieDomain,this.eventBus=t.eventBus}deleteCookie(t){this.handler.setCookie(t,"",new Date(0),"Lax",this.cookieDomain)}parseMetaRecord(t){const e=JSON.parse(t);if(!xl(e))throw new mf("Meta record is not an object");let r;if("e"in e&&(r=new Date(e.e),isNaN(r.getTime())))throw new mf("Invalid expiresAt");if(!("w"in e))throw new mf("Missing writtenAt");const n=new Date(e.w);if(isNaN(n.getTime()))throw new mf("Invalid writtenAt");return{expiresAt:r,writtenAt:n}}serializeMetaRecord(t){let e;return t.expiresAt&&(e=t.expiresAt.getTime()),JSON.stringify({w:t.writtenAt.getTime(),e:e})}getCookieRecord(t,e){const r=this.handler.getCookie(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from cookies",r),this.deleteCookie(t),this.deleteCookie(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return null;const i=this.handler.getCookie(t);return i?{data:i,meta:n}:null}getLSRecord(t,e){const r=this.handler.getDataFromLocalStorage(e);if(!r||0===r.length)return null;let n;try{n=this.parseMetaRecord(r)}catch(r){return this.eventBus.emitErrorWithMessage("Cache","Failed reading meta from ls",r),this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null}const o=n.expiresAt;if(o&&o.getTime()<=Date.now())return this.handler.removeDataFromLocalStorage(t),this.handler.removeDataFromLocalStorage(e),null;const i=this.handler.getDataFromLocalStorage(t);return i?{data:i,meta:n}:null}get(t){const e=yf(t),r=this.getCookieRecord(t,e),n=this.getLSRecord(t,e);return r&&n?r.meta.writtenAt.getTime()===n.meta.writtenAt.getTime()?r:r.meta.writtenAt>n.meta.writtenAt?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):r?(this.handler.setDataInLocalStorage(t,r.data),this.handler.setDataInLocalStorage(e,this.serializeMetaRecord(r.meta)),r):n?(this.handler.setCookie(t,n.data,n.meta.expiresAt,"Lax",this.cookieDomain),this.handler.setCookie(e,this.serializeMetaRecord(n.meta),n.meta.expiresAt,"Lax",this.cookieDomain),n):null}set(t,e,r){const n=yf(t),o=this.serializeMetaRecord({writtenAt:new Date,expiresAt:r});this.handler.setDataInLocalStorage(t,e),this.handler.setDataInLocalStorage(n,o);const i=r||El(730);this.handler.setCookie(t,e,i,"Lax",this.cookieDomain),this.handler.setCookie(n,o,i,"Lax",this.cookieDomain)}}function yf(t){return"".concat(t,"_meta")}const bf=()=>{};function wf(t,e,r){return e?bf:t.wrap(r)}class Sf{constructor(t,e,r){fl(this,"functions",void 0);const n=new lf(t,"CallHandler",e);this.functions={ajaxGet:wf(n,r,"ajaxGet"),pixelGet:wf(n,r,"pixelGet")},n.reportErrors()}ajaxGet(t,e,r,n){this.functions.ajaxGet(t,e,r,n)}pixelGet(t,e){this.functions.pixelGet(t,e)}}function Of(t){return e=>{var r,n,o,i;return"cookie"===(null===(r=e.idCookie)||void 0===r?void 0:r.strategy)&&"string"==typeof(null===(n=e.idCookie)||void 0===n?void 0:n.name)?{...e,resolvedIdCookie:t.getCookie(e.idCookie.name)}:"localStorage"===(null===(o=e.idCookie)||void 0===o?void 0:o.strategy)&&"string"==typeof(null===(i=e.idCookie)||void 0===i?void 0:i.name)?{...e,resolvedIdCookie:t.getDataFromLocalStorage(e.idCookie.name)}:e}}const xf={};function Cf(t,e,r,n){if(t&&xl(t))if("config"in t)n.emitErrorWithMessage("StrayConfig","Received a config after LC has already been initialised",new Error(JSON.stringify(t)));else{const o=new Sd(r,n),i=o.combineWith({eventSource:t});xf.hashedEmail=xf.hashedEmail||i.data.hashedEmail;const a=hd({eventSource:t},xf),s=()=>n.emit(Dl,"0"),c=()=>n.emit(Ll,r);e.sendAjax(o.combineWith(a),{onPreSend:s,onLoad:c})}else n.emitErrorWithMessage("EventNotAnObject","Received event was not an object",new Error(t))}function Ef(t,e,r,n){try{t.forEach((t=>{const o=t;bl(o)?o.forEach((t=>Cf(t,e,r,n))):Cf(o,e,r,n)}))}catch(t){console.error("Error sending events",t),n.emitErrorWithMessage("LCPush","Failed sending an event",t)}}function If(t,e,r,n){try{const i={...Dd(t,n),identifiersToResolve:t.identifiersToResolve||[],contextSelectors:t.contextSelectors||"",contextElementsLength:t.contextElementsLength||0},a=(o=Gd(Ld(i)),{...o,pageUrl:xd(),referrer:Od(),contextElements:Cd(o.privacyMode,o.contextSelectors,o.contextElementsLength)}),s=new Sf(r,n,a.privacyMode),c=gf.make(a.storageStrategy,e,n),u=function(t){return e=>({...e,cookieDomain:Ud(t)})}(c)(a),l=new vf({storageHandler:c,eventBus:n,cookieDomain:u.cookieDomain}),d=Of(c)(nf(l,c)(Jd(c,n)(function(t,e){return r=>{try{return{...r,...jd(kd(r.identifiersToResolve),t)}}catch(t){return e.emitError("IdentifiersEnricher",t),{...r,retrievedIdentifiers:[],hashesFromIdentifiers:[]}}}}(c,n)(u)))),f=new Al({collectorUrl:i.collectorUrl,ajaxTimeout:i.ajaxTimeout,eventBus:n,callHandler:s});!function(t,e,r){try{r.on(kl,(n=>{e.sendPixel(new Sd({...t,...cf(n)},r))}))}catch(t){console.error("handlers.error.register",t)}}(d,f,n);const h=new Fd(d,s,n),p=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Ef(e,f,d,n)};return{push:p,fire:()=>p({}),peopleVerifiedId:d.peopleVerifiedId,ready:!0,resolve:h.resolve.bind(h),resolutionCallUrl:h.getUrl.bind(h),config:i,eventBus:n,storageHandler:c,cache:l}}catch(t){console.error(t),n.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}var o}function kf(t,e,r,n){const o=window[t.globalVarName]||[],i=function(t){try{if(window&&window[t.globalVarName]&&window[t.globalVarName].ready){const e=window[t.globalVarName].config&&function(t,e){if(t.appId!==e.appId||t.wrapperName!==e.wrapperName||t.collectorUrl!==e.collectorUrl)return{appId:[t.appId,e.appId],wrapperName:[t.wrapperName,e.wrapperName],collectorUrl:[t.collectorUrl,e.collectorUrl]}}(window[t.globalVarName].config,t);if(e){const r=new Error;r.name="ConfigSent",r.message="Additional configuration received";const n=Td(t.globalVarName);window[t.globalVarName].eventBus=n,n.emitErrorWithMessage("LCDuplication",JSON.stringify(e),r)}return window[t.globalVarName]}}catch(t){console.error("Could not initialize error bus")}}(t)||If(t,e,r,n)||o;if(bl(o))for(let t=0;t<o.length;t++)i.push(o[t]);return window[i.config.globalVarName]=i,window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}function jf(t,e,r,n){const o=xl(t)&&t||{},i=n||Nd();let a;try{a=o.globalVarName?kf(o,e,r,i):function(t,e,r,n){const o=If(t,e,r,n);return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t),i.emitErrorWithMessage("LCConstruction","Failed to build LC",t)}return a}function Af(t,e){const r=bl(t)?t:ml(t).split(","),n=[];for(let t=0;t<r.length;t++){const i=wl(r[t]),a=e.getCookie(i)||e.getDataFromLocalStorage(i);!a||(o=ml(a),/\S+(@|%40)\S+\.\S+/.test(o))||ed(ml(a))||n.push({name:i,value:ml(a)})}var o;return n}function Lf(t,e,r,n,o){try{const i={...Dd(t,n),identifiersToResolve:t.identifiersToResolve||[]},a=Gd(Ld(i)),s=pf.make(a.storageStrategy,e,n),c=new Sf(r,n,a.privacyMode),u=function(t,e){return r=>{try{return{...r,retrievedIdentifiers:Af(r.identifiersToResolve,t)}}catch(t){return e.emitError("IdentifiersEnrich",t),{...r,retrievedIdentifiers:[]}}}}(s,n)(Of(s)(function(t,e){return r=>{try{return{...r,peopleVerifiedId:r.peopleVerifiedId||t.getDataFromLocalStorage(Pl)||void 0}}catch(t){return e.emitError("PeopleVerifiedEnrich",t),r}}}(s,n)(a))),l=new Fd(u,c,n);return{push:t=>o(t),fire:()=>o({}),peopleVerifiedId:u.peopleVerifiedId,ready:!0,resolve:l.resolve.bind(l),resolutionCallUrl:l.getUrl.bind(l),config:i,eventBus:n,storageHandler:s}}catch(t){console.error(t)}}function Df(t,e,r,n){const o=xl(t)&&t||{},i=n||Nd();try{return o.globalVarName?function(t,e,r,n){const o=window[t.globalVarName]=window[t.globalVarName]||[],i=Lf(t,e,r,n,o.push.bind(o));return window.liQ_instances=window.liQ_instances||[],0===window.liQ_instances.filter((t=>t.config.globalVarName===i.config.globalVarName)).length&&window.liQ_instances.push(i),i}(o,e,r,i):function(t,e,r,n){const o=Lf(t,e,r,n,(()=>{}));return window.liQ_instances=window.liQ_instances||[],window.liQ_instances.push(o),o}(o,e,r,i)}catch(t){console.error(t)}return{}}const Pf=function(t,e,r,n,o){const i="minimal"===n,a=o||Nd();return(i?Df:jf)(xl(t)&&t||{},e,r,a)};var Ff=r(34516),Mf=r(15164),Rf=r(9633),Nf=r(21138),Tf=r(93253),_f=r(25102);function Uf(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vf(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Uf(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Uf(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var Bf="pre_lips",Wf="liveIntentId",Gf="liveintent.com",qf=(0,Mf.df)({moduleType:Rf.y2,moduleName:Wf}),Qf={nonId:!0},zf={ajaxGet:function(t,e,r,n){(0,c.OI)(n)(t,{success:e,error:r},void 0,{method:"GET",withCredentials:!0})},pixelGet:function(t,e){return(0,s.triggerPixel)(t,e)}},Hf=!1,Jf=null;function Kf(){Hf=!0}function $f(t){function e(t){return Object.entries(t).flatMap((function(t){var e,r=(0,i.Z)(t,2),n=r[0],o=r[1];return"boolean"==typeof o&&o?[(e=n,"fpid"===e?"idCookie":e)]:[]}))}return"object"===(0,o.Z)(t)?e(Vf(Vf({},Qf),t)):e(Qf)}function Xf(t){if(Jf)return Jf;var e=(t=t||{}).fpid||{},r={publisherId:t.publisherId||"any",requestedAttributes:$f(t.requestedAttributesOverrides)};t.url&&(r.url=t.url),r.ajaxTimeout=t.ajaxTimeout||5e3;var n,o,i=(n=t.liCollectConfig,o={},(n=n||{}).appId&&(o.appId=n.appId),n.fpiStorageStrategy&&(o.storageStrategy=n.fpiStorageStrategy),n.fpiExpirationDays&&(o.expirationDays=n.fpiExpirationDays),n.collectorUrl&&(o.collectorUrl=n.collectorUrl),o.ajaxTimeout=n.ajaxTimeout||5e3,o);!i.appId&&t.distributorId?(i.distributorId=t.distributorId,r.source=t.distributorId):r.source=t.partner||"prebid",i.wrapperName="prebid",i.trackerVersion="8.52.2",i.identityResolutionConfig=r,i.identifiersToResolve=t.identifiersToResolve||[],i.fireEventDelay=t.fireEventDelay,i.idCookie={},i.idCookie.name=e.name,i.idCookie.strategy="html5"==e.strategy?"localStorage":e.strategy;var a=Ff.nX.getConsentData();a&&(i.usPrivacyString=a);var s=Ff.rp.getConsentData();s&&(i.gdprApplies=s.gdprApplies,i.gdprConsent=s.consentString);var c=Ff.TJ.getConsentData();return c&&(i.gppString=c.gppString,i.gppApplicableSections=c.applicableSections),Jf=Zf.getInitializer()(i,qf,zf),t.emailHash&&Jf.push({hash:t.emailHash}),Jf}function Yf(){if(!Hf&&Jf){var t=Jf.config.fireEventDelay||500;setTimeout((function(){window.liQ_instances.forEach((function(t){return t.eventBus.once(Bf,Kf)})),!Hf&&Jf&&Jf.fire()}),t)}}var Zf={moduleMode:"standard",name:Wf,setModuleMode:function(t){this.moduleMode=t},getInitializer:function(){var t=this;return function(e,r,n){return Pf(e,r,n,t.moduleMode)}},decode:function(t,e){var r=e&&e.params||{};return Jf||Xf(r),Yf(),function(t){var e={},r=t.nonId||t.unifiedId;if(r){var n=Vf(Vf({},t),{},{lipbid:r});delete n.unifiedId,e.lipb=n}return t.uid2&&(e.uid2={id:t.uid2,ext:{provider:Gf}}),t.bidswitch&&(e.bidswitch={id:t.bidswitch,ext:{provider:Gf}}),t.medianet&&(e.medianet={id:t.medianet,ext:{provider:Gf}}),t.magnite&&(e.magnite={id:t.magnite,ext:{provider:Gf}}),t.index&&(e.index={id:t.index,ext:{provider:Gf}}),t.openx&&(e.openx={id:t.openx,ext:{provider:Gf}}),t.pubmatic&&(e.pubmatic={id:t.pubmatic,ext:{provider:Gf}}),t.sovrn&&(e.sovrn={id:t.sovrn,ext:{provider:Gf}}),t.idCookie&&(Ff.VP.getCoppa()||(e.lipb=Vf(Vf({},e.lipb),{},{fpid:t.idCookie}),e.fpid={id:t.idCookie}),delete e.lipb.idCookie),t.thetradedesk&&(e.lipb=Vf(Vf({},e.lipb),{},{tdid:t.thetradedesk}),e.tdid={id:t.thetradedesk,ext:{rtiPartner:"TDID",provider:(0,_f.nH)().domain||Gf}},delete e.lipb.thetradedesk),e}(t)},getId:function(t){var e=Xf(t&&t.params||{});if(e){Yf();return{callback:function(t){e.resolve((function(e){t(e)}),(function(e){(0,s.logError)("".concat(Wf,": ID fetch encountered an error: "),e),t()}))}}}},eids:Vf(Vf(Vf({},Tf.u),Nf.l),{},{lipb:{getValue:function(t){return t.lipbid},source:"liveintent.com",atype:3,getEidExt:function(t){if(Array.isArray(t.segments)&&t.segments.length)return{segments:t.segments}}},bidswitch:{source:"bidswitch.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},medianet:{source:"media.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},magnite:{source:"rubiconproject.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},index:{source:"liveintent.indexexchange.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},openx:{source:"openx.net",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},pubmatic:{source:"pubmatic.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},sovrn:{source:"liveintent.sovrn.com",atype:3,getValue:function(t){return t.id},getUidExt:function(t){if(t.ext)return t.ext}},fpid:{source:"fpid.liveintent.com",atype:1,getValue:function(t){return t.id}}})};(0,u.Bx)("userId",Zf),(0,a.z)("liveIntentIdSystem")}},function(t){t.O(0,[85240,67292,25823,79270],(function(){return e=15424,t(t.s=e);var e}));t.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[18470],{20354:function(e,r,t){var i=t(78640),d=t(14699),n=t(24679),s=t(70059),a=t(20265),u={code:"logicad",supportedMediaTypes:[n.Mk,n.B5],isBidRequestValid:function(e){return!(!e.params||!e.params.tid)},buildRequests:function(e,r){for(var t=[],i=0,d=(e=(0,s.lY)(e)).length;i<d;i++){var n={method:"POST",url:"https://pb.ladsp.com/adrequest/prebid",data:JSON.stringify(o(e[i],r)),options:{},bidderRequest:r};t.push(n)}return t},interpretResponse:function(e,r){e=e.body;var t=[];if(!e||e.error)return t;e.seatbid.forEach((function(e){t.push(e.bid)}));var i=(0,a.Z)(e,"ext.fledgeAuctionConfigs")||[];return i.length?{bids:t,fledgeAuctionConfigs:i}:t},getUserSyncs:function(e,r){return r.length>0&&r[0].body.userSync&&e.pixelEnabled&&"image"==r[0].body.userSync.type?[{type:"image",url:r[0].body.userSync.url}]:[]}};function o(e,r){var t,i,d={adUnitCode:e.adUnitCode,bidId:e.bidId,transactionId:null===(t=e.ortb2Imp)||void 0===t||null===(i=t.ext)||void 0===i?void 0:i.tid,sizes:e.sizes,params:e.params,mediaTypes:e.mediaTypes};if((0,a.Z)(r,"fledgeEnabled")){var n=(0,a.Z)(e,"ortb2Imp.ext.ae");n&&(d.ae=n)}var s={auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,bids:[d],prebidJsVersion:"8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[18470],{20354:function(e,r,t){var i=t(78640),d=t(14699),n=t(24679),s=t(70059),a=t(20265),u={code:"logicad",supportedMediaTypes:[n.Mk,n.B5],isBidRequestValid:function(e){return!(!e.params||!e.params.tid)},buildRequests:function(e,r){for(var t=[],i=0,d=(e=(0,s.lY)(e)).length;i<d;i++){var n={method:"POST",url:"https://pb.ladsp.com/adrequest/prebid",data:JSON.stringify(o(e[i],r)),options:{},bidderRequest:r};t.push(n)}return t},interpretResponse:function(e,r){e=e.body;var t=[];if(!e||e.error)return t;e.seatbid.forEach((function(e){t.push(e.bid)}));var i=(0,a.Z)(e,"ext.fledgeAuctionConfigs")||[];return i.length?{bids:t,fledgeAuctionConfigs:i}:t},getUserSyncs:function(e,r){return r.length>0&&r[0].body.userSync&&e.pixelEnabled&&"image"==r[0].body.userSync.type?[{type:"image",url:r[0].body.userSync.url}]:[]}};function o(e,r){var t,i,d={adUnitCode:e.adUnitCode,bidId:e.bidId,transactionId:null===(t=e.ortb2Imp)||void 0===t||null===(i=t.ext)||void 0===i?void 0:i.tid,sizes:e.sizes,params:e.params,mediaTypes:e.mediaTypes};if((0,a.Z)(r,"fledgeEnabled")){var n=(0,a.Z)(e,"ortb2Imp.ext.ae");n&&(d.ae=n)}var s={auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,bids:[d],prebidJsVersion:"8.52.2",referrer:r.refererInfo.page,auctionStartTime:r.auctionStart,eids:e.userIdAsEids},u=(0,a.Z)(e,"ortb2.device.sua");u&&(s.sua=u);var o=(0,a.Z)(e,"ortb2.user.data");return o&&(s.userData=o),s}(0,d.dX)(u),(0,i.z)("logicadBidAdapter")}},function(e){e.O(0,[25823,79270],(function(){return r=20354,e(e.s=r);var r}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[41790],{75133:function(e,r,t){var i=t(78640),n=t(3193),d=t(14699),o=t(24679),a=t(70059),s={code:"loglylift",supportedMediaTypes:[o.Mk,o.B5],isBidRequestValid:function(e){return!(!e.params||!e.params.adspotId)},buildRequests:function(e,r){for(var t=[],i=0,n=(e=(0,a.lY)(e)).length;i<n;i++){var d={method:"POST",url:"https://bid.logly.co.jp/prebid/client/v1?adspot_id="+e[i].params.adspotId,data:JSON.stringify(u(e[i],r)),options:{},bidderRequest:r};t.push(d)}return t},interpretResponse:function(e,r){r.bidderRequest;e=e.body;var t=[];return!e||e.error||e.bids.forEach((function(e){t.push(e)})),t},getUserSyncs:function(e,r){var t=[];return e.iframeEnabled&&r.length>0&&r[0].body.bids[0].native&&t.push({type:"iframe",url:"https://sync.logly.co.jp/sync/sync.html"}),t}};function u(e,r){var t,i,d=n.vc.getConfig("currency"),o=d&&d.adServerCurrency||"USD";return{auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,transactionId:null===(t=e.ortb2Imp)||void 0===t||null===(i=t.ext)||void 0===i?void 0:i.tid,adUnitCode:e.adUnitCode,bidId:e.bidId,mediaTypes:e.mediaTypes,params:e.params,prebidJsVersion:"8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[41790],{75133:function(e,r,t){var i=t(78640),n=t(3193),d=t(14699),o=t(24679),a=t(70059),s={code:"loglylift",supportedMediaTypes:[o.Mk,o.B5],isBidRequestValid:function(e){return!(!e.params||!e.params.adspotId)},buildRequests:function(e,r){for(var t=[],i=0,n=(e=(0,a.lY)(e)).length;i<n;i++){var d={method:"POST",url:"https://bid.logly.co.jp/prebid/client/v1?adspot_id="+e[i].params.adspotId,data:JSON.stringify(u(e[i],r)),options:{},bidderRequest:r};t.push(d)}return t},interpretResponse:function(e,r){r.bidderRequest;e=e.body;var t=[];return!e||e.error||e.bids.forEach((function(e){t.push(e)})),t},getUserSyncs:function(e,r){var t=[];return e.iframeEnabled&&r.length>0&&r[0].body.bids[0].native&&t.push({type:"iframe",url:"https://sync.logly.co.jp/sync/sync.html"}),t}};function u(e,r){var t,i,d=n.vc.getConfig("currency"),o=d&&d.adServerCurrency||"USD";return{auctionId:e.auctionId,bidderRequestId:e.bidderRequestId,transactionId:null===(t=e.ortb2Imp)||void 0===t||null===(i=t.ext)||void 0===i?void 0:i.tid,adUnitCode:e.adUnitCode,bidId:e.bidId,mediaTypes:e.mediaTypes,params:e.params,prebidJsVersion:"8.52.2",url:window.location.href,domain:r.refererInfo.domain,referer:r.refererInfo.page,auctionStartTime:r.auctionStart,currency:o,timeout:n.vc.getConfig("bidderTimeout")}}(0,d.dX)(s),(0,i.z)("loglyliftBidAdapter")}},function(e){e.O(0,[25823,79270],(function(){return r=75133,e(e.s=r);var r}));e.O()}]);
|
package/dist/luceadBidAdapter.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[96167],{62423:function(e,i,n){var t=n(4942),r=n(78640),d=n(20919),o=n(14699),s=n(64358),l=n(96475),u=n(48928);function a(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,t)}return n}function c(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?a(Object(n),!0).forEach((function(i){(0,t.Z)(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}var p="lucead.com",v="https://".concat(p),b="https://s.".concat(p),f=v;function m(){return location.hash.includes("prebid-dev")}var _={code:"lucead",gvlid:1309,aliases:["adliveplus"],isBidRequestValid:function(e){var i;return!(null==e||null===(i=e.params)||void 0===i||!i.placementId)},buildRequests:function(e,i){var n,t,r=(null===(n=e[0])||void 0===n||null===(t=n.params)||void 0===t?void 0:t.region)||"eu";f="https://".concat(r,".").concat(p),m()&&(v=location.origin,b=v,f="".concat(v)),(0,s.logInfo)("buildRequests",{bidRequests:e,bidderRequest:i});var o={base_url:v,static_url:b,endpoint_url:f,request_id:i.bidderRequestId,prebid_version:"8.52.
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[96167],{62423:function(e,i,n){var t=n(4942),r=n(78640),d=n(20919),o=n(14699),s=n(64358),l=n(96475),u=n(48928);function a(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,t)}return n}function c(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?a(Object(n),!0).forEach((function(i){(0,t.Z)(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}var p="lucead.com",v="https://".concat(p),b="https://s.".concat(p),f=v;function m(){return location.hash.includes("prebid-dev")}var _={code:"lucead",gvlid:1309,aliases:["adliveplus"],isBidRequestValid:function(e){var i;return!(null==e||null===(i=e.params)||void 0===i||!i.placementId)},buildRequests:function(e,i){var n,t,r=(null===(n=e[0])||void 0===n||null===(t=n.params)||void 0===t?void 0:t.region)||"eu";f="https://".concat(r,".").concat(p),m()&&(v=location.origin,b=v,f="".concat(v)),(0,s.logInfo)("buildRequests",{bidRequests:e,bidderRequest:i});var o={base_url:v,static_url:b,endpoint_url:f,request_id:i.bidderRequestId,prebid_version:"8.52.2",bidRequests:e,bidderRequest:i,getUniqueIdentifierStr:s.getUniqueIdentifierStr,ortbConverter:d.x,deepSetValue:l.N,is_sra:!0,region:r};window.lucead_prebid_data=o;var u=window.lucead_prebid;return u&&"function"==typeof u&&u(o),{method:"POST",url:"".concat(f,"/go/prebid/sra"),data:JSON.stringify({request_id:i.bidderRequestId,domain:location.hostname,bid_requests:e.map((function(e){return{bid_id:e.bidId,sizes:e.sizes,media_types:e.mediaTypes,placement_id:e.params.placementId,schain:e.schain}}))}),options:{contentType:"text/plain",withCredentials:!1}}},interpretResponse:function(e,i){var n=null==e?void 0:e.body,r=JSON.parse(null==i?void 0:i.data),d=((null==n?void 0:n.bids)||[]).map((function(e){var i,n;return{requestId:(null==e?void 0:e.bid_id)||"1",cpm:(null==e?void 0:e.cpm)||0,width:(null==e?void 0:e.size)&&(null==e||null===(i=e.size)||void 0===i?void 0:i.width)||300,height:(null==e?void 0:e.size)&&(null==e||null===(n=e.size)||void 0===n?void 0:n.height)||250,currency:(null==e?void 0:e.currency)||"EUR",ttl:(null==e?void 0:e.ttl)||500,creativeId:null!=e&&e.ssp?"ssp:".concat(e.ssp):"".concat((null==e?void 0:e.ad_id)||0,":").concat((null==e?void 0:e.ig_id)||0),netRevenue:(null==e?void 0:e.net_revenue)||!0,ad:(null==e?void 0:e.ad)||"",meta:{advertiserDomains:(null==e?void 0:e.advertiser_domains)||[]}}}));return(0,s.logInfo)("interpretResponse",{serverResponse:e,bidRequest:i,bidRequestData:r,bids:d}),!1===(null==n?void 0:n.enable_pa)?d:{bids:d,fledgeAuctionConfigs:(n.bids||[]).map((function(e){return{bidId:null==e?void 0:e.bid_id,config:{seller:v,decisionLogicUrl:"".concat(v,"/js/ssp.js"),interestGroupBuyers:[v],requestedSize:null==e?void 0:e.size,auctionSignals:{size:null==e?void 0:e.size},perBuyerSignals:(0,t.Z)({},v,{prebid_paapi:!0,prebid_bid_id:null==e?void 0:e.bid_id,prebid_request_id:r.request_id,placement_id:e.placement_id,is_sra:!0,endpoint_url:f})}}}))}},onBidWon:function(e){var i;(0,s.logInfo)("Bid won",e);var n={bid_id:null==e?void 0:e.bidId,placement_id:e.params&&(null==e||null===(i=e.params[0])||void 0===i?void 0:i.placementId)||"0",spent:null==e?void 0:e.cpm,currency:null==e?void 0:e.currency};if(null!=e&&e.creativeId){var t=e.creativeId.toString().split(":");"ssp"===t[0]?n.ssp=t[1]:(n.ad_id=t[0],n.ig_id=t[1])}return function(e,i){return(0,u.he)("".concat(f,"/go/report/").concat(e),{body:JSON.stringify(c(c({},i),{},{domain:location.hostname})),method:"POST",contentType:"text/plain"})}("impression",n)},onTimeout:function(e){(0,s.logInfo)("Timeout from adapter",e)},isDevEnv:m};(0,o.dX)(_),(0,r.z)("luceadBidAdapter")}},function(e){e.O(0,[25823,85279,79270],(function(){return i=62423,e(e.s=i);var i}));e.O()}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.pbjsChunk=self.pbjsChunk||[]).push([[2903],{43238:function(e,t,n){var r=n(42982),i=n(70885),o=n(4942),a=n(78640),c=n(64358),s=n(20265),d=n(96475),u=n(64563),l=n(93304),f=n(62200),p=n(48928),b=n(3193),v=n(15164),g=n(9633),I=n(92797);function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E,U,O,w,k,A,S,T,C=(0,v.df)({moduleType:g._U,moduleName:"magnite"}),Z="mgniSession",j="Magnite Analytics",P=["rubicon"],R={1:"timeout-error",2:"input-error",3:"connect-error",4:"request-error",999:"generic-error"},B=0,N=(0,a.R)(),M=f.FP.AUCTION_INIT,L=f.FP.AUCTION_END,_=f.FP.BID_REQUESTED,q=f.FP.BID_RESPONSE,x=f.FP.BIDDER_DONE,F=f.FP.BID_TIMEOUT,W=f.FP.BID_WON,H=f.FP.BILLABLE_EVENT,V=f.FP.SEAT_NON_BID,z=f.FP.BID_REJECTED,J=function(){S={auctions:{},auctionOrder:[],timeouts:{},billing:{},pendingEvents:{},eventPending:!1,elementIdMap:{},sessionData:{},bidsCachedClientSide:new WeakSet},A={pvid:(0,c.generateUUID)().slice(0,8),analyticsEventDelay:500,analyticsBatchTimeout:5e3,analyticsProcessDelay:1,dmBilling:{enabled:!1,vendors:[],waitForAuction:!0}}};J(),b.vc.getConfig("rubicon",(function(e){(0,c.mergeDeep)(A,e.rubicon),!0===(0,s.Z)(e,"rubicon.updatePageView")&&(A.pvid=(0,c.generateUUID)().slice(0,8))})),b.vc.getConfig("s2sConfig",(function(e){var t=e.s2sConfig;T=t}));var G=function(){S.pendingEvents.trigger="batched-".concat(Object.keys(S.pendingEvents).sort().join("-")),$(S.pendingEvents),S.pendingEvents={},S.eventPending=!1},Q=function(e,t,n){S.auctions[t]&&!S.auctions[t].sent?S.auctions[t].pendingEvents=(0,c.mergeDeep)(S.auctions[t].pendingEvents,e):A.analyticsEventDelay>0?(S.pendingEvents=(0,c.mergeDeep)(S.pendingEvents,e),S.eventPending||(setTimeout(G,A.analyticsEventDelay),S.eventPending=!0)):(e.trigger="solo-".concat(n),$(e))},$=function(e){var t,n,r=D(D({},ee()),e);if(null!==(t=window.pbjs)&&void 0!==t&&null!==(n=t.rp)&&void 0!==n&&n.eventDispatcher){var i=new CustomEvent("beforeSendingMagniteAnalytics",{detail:r});window.pbjs.rp.eventDispatcher.dispatchEvent(i)}(0,p.hj)(w,null,JSON.stringify(r),{contentType:"application/json"})},K=function(e,t){var n=S.auctions[e],r=X(n.auction);n.sent=!0,$(D(D({auctions:[r]},n.pendingEvents||{}),{},{trigger:t}))},X=function(e){var t=(0,c.deepClone)(e);return t.samplingFactor=1,t.adUnits=Object.entries(t.adUnits).map((function(e){var t=(0,i.Z)(e,2),n=(t[0],t[1]);return n.bids=Object.entries(n.bids).map((function(e){var t=(0,i.Z)(e,2),r=(t[0],t[1]),o=["error","no-bid","success"];return o.indexOf(r.status)>o.indexOf(n.status)&&(n.status=r.status),r.pbsBidId&&(r.oldBidId=r.bidId,r.bidId=r.pbsBidId,delete r.pbsBidId),r})),n})),t},Y=function(e,t){var n=function(e){var t,n;if("number"==typeof(0,s.Z)(e,"floorData.cpmAfterAdjustments"))t=e.floorData.cpmAfterAdjustments,n=e.floorData.floorCurrency;else{if("string"==typeof e.currency&&"USD"===e.currency.toUpperCase())return Number(e.cpm);t=e.cpm,n=e.currency}if("USD"===n)return Number(t);try{return Number(N.convertCurrency(t,n,"USD"))}catch(r){return(0,c.logWarn)("".concat(j,": Could not determine the bidPriceUSD of the bid "),e),e.conversionError=!0,e.ogCurrency=n,e.ogPrice=t,0}}(e);return t&&t.bidPriceUSD>n?t:(0,c.pick)(e,["bidPriceUSD",function(){return n},"dealId",function(e){return e||void 0},"mediaType","dimensions",function(){var t=e.width||e.playerWidth,n=e.height||e.playerHeight;return t&&n?{width:t,height:n}:void 0},"floorValue",function(){return(0,s.Z)(e,"floorData.floorValue")},"floorRuleValue",function(){return(0,s.Z)(e,"floorData.floorRuleValue")},"floorRule",function(){return(0,c.debugTurnedOn)()?(0,s.Z)(e,"floorData.floorRule"):void 0},"adomains",function(){var t=(0,s.Z)(e,"meta.advertiserDomains"),n=Array.isArray(t)&&t.filter((function(e){return"string"==typeof e}));return n&&n.length>0?n.slice(0,10):void 0},"networkId",function(){var t=(0,s.Z)(e,"meta.networkId");return t&&t.toString()||void 0},"conversionError",function(e){return!0===e||void 0},"ogCurrency","ogPrice","rejectionReason"])},ee=function(){var e={channel:"web",integration:A.int_type||"pbjs",referrerUri:U,version:"8.52.1",referrerHostname:se.referrerHostname||te(U),timestamps:{timeSincePageLoad:performance.now(),eventTime:Date.now(),prebidLoaded:se.MODULE_INITIALIZED_TIME}};if(E&&(0,d.N)(e,A.pbaBrowserLocation||"client.browser",E),A.wrapperName){var t=A.rule_name;k&&(t=t?t.concat("_cookieless"):"cookieless"),e.wrapper={name:A.wrapperName,family:A.wrapperFamily,rule:t}}return S.sessionData&&(e.session=(0,c.pick)(S.sessionData,["id","pvid","start","expires"]),(0,c.isEmpty)(S.sessionData.fpkvs)||(e.fpkvs=Object.keys(S.sessionData.fpkvs).map((function(e){return{key:e,value:S.sessionData.fpkvs[e]}})))),e},te=function(e){try{se.referrerHostname=(0,c.parseUrl)(e,{noDecodeWholeURL:!0}).hostname}catch(t){(0,c.logError)("".concat(j,": Unable to parse hostname from supplied url: "),e,t),se.referrerHostname=""}return se.referrerHostname},ne=function(){var e=Date.now(),t=function(){var e=C.getDataFromLocalStorage(Z);if(e)try{return JSON.parse(window.atob(e))}catch(e){(0,c.logError)("".concat(j,": Unable to decode ").concat(Z," value: "),e)}return{}}();return(!Object.keys(t).length||e-t.lastSeen>18e5||t.expires<e)&&(t={id:(0,c.generateUUID)(),start:e,expires:e+216e5}),Object.keys(t).length&&(t.lastSeen=e,t.fpkvs=D(D({},t.fpkvs),re()),t.pvid=A.pvid,function(e){try{C.setDataInLocalStorage(Z,window.btoa(JSON.stringify(e)))}catch(e){(0,c.logError)("".concat(j,": Unable to encode ").concat(Z," value: "),e)}}(t)),t},re=function(){return A.fpkvs=Object.assign(A.fpkvs||{},function(){var e;try{e=(0,c.parseQS)((0,c.getWindowLocation)().search)}catch(t){e={}}return Object.keys(e).reduce((function(t,n){return n.match(/utm_/)&&(t[n.replace(/utm_/,"")]=e[n]),t}),{})}()),Object.keys(A.fpkvs).forEach((function(e){A.fpkvs[e]=A.fpkvs[e]+""})),A.fpkvs},ie=function(e){return{width:e.w||e[0],height:e.h||e[1]}},oe=function(e,t){var n,r={},i=m(S.auctionOrder);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=S.auctions[o].auction;for(var s in a.adUnits){var d=a.adUnits[s],u=void 0;try{u=e(d,a)}catch(e){(0,c.logWarn)("".concat(j,": Error running matches function: ").concat(t),e),u=!1}if(u&&(r={adUnit:d,auction:a},t))return r}}}catch(e){i.e(e)}finally{i.f()}return r},ae=function(e){var t=function(e){if(!b.vc.getConfig("useBidCache"))return{renderTransactionId:e.transactionId,renderAuctionId:e.auctionId};var t=oe((function(t,n){var r=(0,s.Z)(S,"auctions.".concat(n.auctionId,".gamRenders.").concat(t.transactionId));return t.adUnitCode===e.adUnitCode&&r}),!1),n=t.adUnit,r=t.auction;return{renderTransactionId:n&&n.transactionId||e.transactionId,renderAuctionId:r&&r.auctionId||e.auctionId}}(e),n=t.renderTransactionId,r=t.renderAuctionId,i=n!==e.transactionId;(0,c.logInfo)("".concat(j,": Bid Won : "),{isCachedBid:i,renderAuctionId:r,renderTransactionId:n,sourceAuctionId:e.auctionId,sourceTransactionId:e.transactionId});var o=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId,".bids.").concat(e.requestId)),a=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId)),d=D(D({},o),{},{sourceAuctionId:e.auctionId,renderAuctionId:r,transactionId:e.transactionId,sourceTransactionId:e.transactionId,bidId:o.pbsBidId||e.bidId||e.requestId,renderTransactionId:n,accountId:O,siteId:a.siteId,zoneId:a.zoneId,mediaTypes:a.mediaTypes,adUnitCode:a.adUnitCode,isCachedBid:i||void 0});return delete d.pbsBidId,d},ce=function(){window.googletag.pubads().addEventListener("slotRenderEnded",(function(e){var t=(0,c.isAdUnitCodeMatchingSlot)(e.slot),n=oe((function(e,n){var r=(S.elementIdMap[e.adUnitCode]||[e.adUnitCode]).some(t),i=(0,s.Z)(S,"auctions.".concat(n.auctionId,".gamRenders.").concat(e.transactionId));return r&&!i}),!0),r=n.adUnit,i=n.auction,o="".concat(e.slot.getAdUnitPath()," - ").concat(e.slot.getSlotElementId());if(r&&i){var a=i.auctionId;(0,c.logInfo)("".concat(j,": Gam Render: "),{slotName:o,transactionId:r.transactionId,auctionId:a,adUnit:r});var u=function(e,t,n){var r=(0,c.pick)(e,["advertiserId",function(e){return(0,c.isNumber)(e)?e:void 0},"creativeId",function(t){return(0,c.isNumber)(e.sourceAgnosticCreativeId)?e.sourceAgnosticCreativeId:(0,c.isNumber)(t)?t:void 0},"lineItemId",function(t){return(0,c.isNumber)(e.sourceAgnosticLineItemId)?e.sourceAgnosticLineItemId:(0,c.isNumber)(t)?t:void 0},"adSlot",function(){return e.slot.getAdUnitPath()},"isSlotEmpty",function(){return e.isEmpty||void 0}]);return r.auctionId=n.auctionId,r.transactionId=t.transactionId,r}(e,r,i);(0,d.N)(S,"auctions.".concat(a,".gamRenders.").concat(r.transactionId),!0),Q({gamRenders:[u]},a,"gam"),!S.auctions[a].sent&&Object.keys(S.auctions[a].gamRenders).every((function(e){return S.auctions[a].gamRenders[e]}))&&(clearTimeout(S.timeouts[a]),delete S.timeouts[a],A.analyticsEventDelay>0?setTimeout((function(){K(a,"gam-delayed")}),A.analyticsEventDelay):K(a,"gam"))}else(0,c.logInfo)("".concat(j,": Could not find matching adUnit for Gam Render: "),{slotName:o})}))},se=(0,u.ZP)({analyticsType:"endpoint"});function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;(w=(0,s.Z)(e,"options.endpoint"))||((0,c.logError)("".concat(j,": required endpoint missing")),t=!0),(O=Number((0,s.Z)(e,"options.accountId")))||((0,c.logError)("".concat(j,": required accountId missing")),t=!0),t||se.originEnableAnalytics(e),(0,c.isGptPubadsDefined)()?ce():(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){return ce()}))),(0,I.v5)("callPrebidCache").before(ue)}function ue(e,t,n,r,i){S.bidsCachedClientSide.add(n),e.call(this,t,n,r,i)}se.originEnableAnalytics=se.enableAnalytics;var le=function(e){var t=ae(e);Q({bidsWon:[t]},t.renderAuctionId,"bidWon")};se.enableAnalytics=de,se.originDisableAnalytics=se.disableAnalytics,se.disableAnalytics=function(){se._oldEnable=de,w=void 0,O=void 0,k=void 0,B=0,J(),(0,I.v5)("callPrebidCache").getHooks({hook:ue}).remove(),se.originDisableAnalytics()},se.onDataDeletionRequest=function(){if(!C.localStorageIsEnabled())throw Error("Unable to access local storage, no data deleted");C.removeDataFromLocalStorage(Z)},se.MODULE_INITIALIZED_TIME=Date.now(),se.referrerHostname="";var fe=function(e,t){var n=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction")),r=(0,s.Z)(n,"adUnits.".concat(e.transactionId)),i=r.bids[e.requestId];if(!i&&e.originalRequestId){var o=r.bids[e.originalRequestId];r.bids[e.requestId]=D(D({},o),{},{bidId:e.requestId,bidderDetail:e.targetingBidder}),i=r.bids[e.requestId]}if("boolean"!=typeof(0,s.Z)(n,"floors.enforcement")&&(0,s.Z)(e,"floorData.enforcements")&&((0,d.N)(n,"floors.enforcement",e.floorData.enforcements.enforceJS),(0,d.N)(n,"floors.dealsEnforced",e.floorData.enforcements.floorDeals)),!i&&e.seatBidId&&(i=r.bids[e.seatBidId]={bidder:e.bidderCode,source:"server",bidId:e.seatBidId,unknownBid:!0}),i){i.status=t;var a=pe(e,n.auctionStart);i.clientLatencyMillis=a.total,i.httpLatencyMillis=a.net,i.bidResponse=Y(e,i.bidResponse);var u=(0==e.pbsBidId?(0,c.generateUUID)():e.pbsBidId)||(0==e.seatBidId?(0,c.generateUUID)():e.seatBidId);u&&!S.bidsCachedClientSide.has(e)&&(i.pbsBidId=u)}else(0,c.logError)("".concat(j,": Could not find associated bid request for bid response with requestId: "),e.requestId)},pe=function(e,t){try{var n=e.metrics.getMetrics(),r=e.src||e.source;return{total:parseInt(n["adapter.".concat(r,".total")]),net:parseInt(Array.isArray(n["adapter.".concat(r,".net")])?n["adapter.".concat(r,".net")][n["adapter.".concat(r,".net")].length-1]:n["adapter.".concat(r,".net")])}}catch(e){var i=Date.now()-t;return{total:i,net:i}}};se.track=function(e){var t,n,i,o,a,u=e.eventType,p=e.args;switch(u){case M:B+=1,S.sessionData=C.localStorageIsEnabled()&&ne(),o=l.ZP.aliasRegistry,a=Object.keys(o).filter((function(e){return"rubicon"===o[e]})),P.push.apply(P,(0,r.Z)(a)),U=(0,s.Z)(p,"bidderRequests.0.refererInfo.page");var b=(0,c.pick)(p,["auctionId","timestamp as auctionStart","timeout as clientTimeoutMillis"]);if(b.accountId=O,b.auctionIndex=B,!E){var v=(0,s.Z)(p,"bidderRequests.0.ortb2.device.ua",navigator.userAgent)||"";E=function(e){var t=e.toLowerCase();return t.includes("edg")?"Edge":/opr|opera|opt/i.test(t)?"Opera":/chrome|crios/i.test(t)?"Chrome":/fxios|firefox/i.test(t)?"Firefox":t.includes("safari")&&!/chromium|ucbrowser/i.test(t)?"Safari":"OTHER"}(v)}b.bidderOrder=p.bidderRequests.map((function(e){return e.bidderCode}));var g=(0,s.Z)(p,"bidderRequests.0.bids.0.floorData");if(g&&(b.floors=function(e){return"noData"===e.location?(0,c.pick)(e,["location","fetchStatus","floorProvider as provider"]):(0,c.pick)(e,["location","modelVersion as modelName","modelWeight","modelTimestamp","skipped","enforcement",function(){return(0,s.Z)(e,"enforcements.enforceJS")},"dealsEnforced",function(){return(0,s.Z)(e,"enforcements.floorDeals")},"skipRate","fetchStatus","floorMin","floorProvider as provider"])}(g)),!k){var I=(0,s.Z)(p,"bidderRequests.0.ortb2.device.ext.cdep");!I||-1===I.indexOf("treatment")&&-1===I.indexOf("control_2")||(k=1,b.cdep=1)}var m=(0,s.Z)(p,"bidderRequests.0.gdprConsent");m&&(b.gdpr=(0,c.pick)(m,["gdprApplies as applies","consentString","apiVersion as version"]));var y=Object.keys((0,s.Z)(p,"bidderRequests.0.bids.0.userId",{})).map((function(e){return{provider:e,hasId:!0}}));y.length&&(b.user={ids:y}),T&&(b.serverTimeoutMillis=T.timeout);var h={};b.adUnits=p.adUnits.reduce((function(e,t){var n=(0,c.pick)(t,["code as adUnitCode","transactionId","mediaTypes",function(e){return Object.keys(e)},"sizes as dimensions",function(e){return(e||[[1,1]]).map(ie)}]);n.pbAdSlot=(0,s.Z)(t,"ortb2Imp.ext.data.pbadslot"),n.pattern=(0,s.Z)(t,"ortb2Imp.ext.data.aupname"),n.gpid=(0,s.Z)(t,"ortb2Imp.ext.gpid"),n.bids={},e[t.transactionId]=n,h[t.transactionId]=!1;var r=(0,s.Z)(t,"ortb2Imp.ext.data.elementid");r&&(S.elementIdMap[t.code]=S.elementIdMap[t.code]||[],("string"==typeof r?[r]:r).forEach((function(e){S.elementIdMap[t.code].includes(e)||S.elementIdMap[t.code].push(e)})));return e}),{}),S.auctions[p.auctionId]={auction:b,gamRenders:h,pendingEvents:{}};break;case _:p.bids.forEach((function(e){var t=(0,s.Z)(S,"auctions.".concat(p.auctionId,".auction.adUnits.").concat(e.transactionId));t.bids[e.bidId]=(0,c.pick)(e,["bidder","bidId","source",function(){return"s2s"===e.src?"server":"client"},"status",function(){return"no-bid"}]),"server"===t.bids[e.bidId].source&&(t.pbsRequest=1),t.siteId&&t.zoneId||-1===P.indexOf(e.bidder)||(0,s.Z)(e,"params.accountId")==O&&(t.accountId=parseInt(O),t.siteId=parseInt((0,s.Z)(e,"params.siteId")),t.zoneId=parseInt((0,s.Z)(e,"params.zoneId")))}));break;case q:fe(p,"success");break;case z:var D=p.rejectionReason===f.Gw.FLOOR_NOT_MET?"rejected-ipf":"rejected";fe(p,D);break;case V:be(p);break;case x:var w=(0,s.Z)(p,"serverErrors.0"),Z=p.serverResponseTimeMs;p.bids.forEach((function(e){var t=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId,".bids.").concat(e.bidId));if(void 0!==e.serverResponseTimeMs?t.serverLatencyMillis=e.serverResponseTimeMs:Z&&"s2s"===e.source&&(t.serverLatencyMillis=Z),!w||t.status&&-1===["no-bid","error"].indexOf(t.status)||(t.status="error",t.error={code:R[w.code]||R[999],description:w.message}),!t.clientLatencyMillis||!t.httpLatencyMillis){var n=pe(e,(0,s.Z)(S,"auctions.".concat(p.auctionId,".auction.auctionStart")));t.clientLatencyMillis=t.clientLatencyMillis||n.total,t.httpLatencyMillis=t.httpLatencyMillis||n.net}}));break;case W:A.analyticsProcessDelay>0?setTimeout((function(){le(p)}),A.analyticsProcessDelay):le(p);break;case L:var N=S.auctions[p.auctionId];if(!N)break;N.auction.auctionEnd=p.auctionEnd,S.auctionOrder.push(p.auctionId),p.adUnits&&p.adUnits.every((function(e){return function(e){return e.mediaTypes&&1===Object.keys(e.mediaTypes).length&&"instream"===(0,s.Z)(e,"mediaTypes.video.context")}(e)}))||0===A.analyticsBatchTimeout?K(p.auctionId,"solo-auction"):S.timeouts[p.auctionId]=setTimeout((function(){K(p.auctionId,"auctionEnd")}),A.analyticsBatchTimeout);break;case F:p.forEach((function(e){var t=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId,".bids.").concat(e.bidId),{});"error"!==t.status&&(t.status="error",t.error={code:"timeout-error",description:"prebid.js timeout"})}));break;case H:if(A.dmBilling.enabled&&(t=p,n=A.dmBilling.vendors.includes(t.vendor),i="boolean"!=typeof(0,s.Z)(S.billing,"".concat(t.vendor,".").concat(t.billingId)),"string"==typeof t.billingId&&n&&i)){(0,d.N)(S.billing,"".concat(p.vendor,".").concat(p.billingId),!1);var J=function(e){var t=(0,c.deepClone)(e);return t.type="string"==typeof e.type&&e.type||"general",t.accountId=O,(0,d.N)(S.billing,"".concat(e.vendor,".").concat(e.billingId),!0),t}(p);Q({billableEvents:[J]},p.auctionId,"billing")}else(0,c.logInfo)("".concat(j,": Billing event ignored"),p)}};var be=function(e){var t=e.seatnonbid,n=e.auctionId,r=(0,s.Z)(S,"auctions.".concat(n,".auction"));if(r){var i=r.adUnits;t.forEach((function(e){var t=e.seat;e.nonbid.forEach((function(e){try{var n=e.status,o=e.impid,a=Object.keys(i).find((function(e){return i[e].adUnitCode===o})),s=i[a],d=ve[n]||{status:"no-bid"};s.bids[(0,c.generateUUID)()]=D({bidder:t,source:"server",isSeatNonBid:!0,clientLatencyMillis:Date.now()-r.auctionStart},d)}catch(e){(0,c.logWarn)("Unable to match nonbid to adUnit")}}))}))}else(0,c.logWarn)("Unable to match nonbid to auction")},ve={0:{status:"no-bid"},100:{status:"error",error:{code:"request-error",description:"general error"}},101:{status:"error",error:{code:"timeout-error",description:"prebid server timeout"}},200:{status:"rejected"},202:{status:"rejected"},301:{status:"rejected-ipf"}};l.ZP.registerAnalyticsAdapter({adapter:se,code:"magnite",gvlid:52});(0,a.z)("magniteAnalyticsAdapter")}},function(e){e.O(0,[14861,25823,79270],(function(){return t=43238,e(e.s=t);var t}));e.O()}]);
|
|
1
|
+
(self.pbjsChunk=self.pbjsChunk||[]).push([[2903],{43238:function(e,t,n){var r=n(42982),i=n(70885),o=n(4942),a=n(78640),c=n(64358),s=n(20265),d=n(96475),u=n(64563),l=n(93304),f=n(62200),p=n(48928),b=n(3193),v=n(15164),g=n(9633),I=n(92797);function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var E,U,O,w,k,A,S,T,C=(0,v.df)({moduleType:g._U,moduleName:"magnite"}),Z="mgniSession",j="Magnite Analytics",P=["rubicon"],R={1:"timeout-error",2:"input-error",3:"connect-error",4:"request-error",999:"generic-error"},B=0,N=(0,a.R)(),M=f.FP.AUCTION_INIT,L=f.FP.AUCTION_END,_=f.FP.BID_REQUESTED,q=f.FP.BID_RESPONSE,x=f.FP.BIDDER_DONE,F=f.FP.BID_TIMEOUT,W=f.FP.BID_WON,H=f.FP.BILLABLE_EVENT,V=f.FP.SEAT_NON_BID,z=f.FP.BID_REJECTED,J=function(){S={auctions:{},auctionOrder:[],timeouts:{},billing:{},pendingEvents:{},eventPending:!1,elementIdMap:{},sessionData:{},bidsCachedClientSide:new WeakSet},A={pvid:(0,c.generateUUID)().slice(0,8),analyticsEventDelay:500,analyticsBatchTimeout:5e3,analyticsProcessDelay:1,dmBilling:{enabled:!1,vendors:[],waitForAuction:!0}}};J(),b.vc.getConfig("rubicon",(function(e){(0,c.mergeDeep)(A,e.rubicon),!0===(0,s.Z)(e,"rubicon.updatePageView")&&(A.pvid=(0,c.generateUUID)().slice(0,8))})),b.vc.getConfig("s2sConfig",(function(e){var t=e.s2sConfig;T=t}));var G=function(){S.pendingEvents.trigger="batched-".concat(Object.keys(S.pendingEvents).sort().join("-")),$(S.pendingEvents),S.pendingEvents={},S.eventPending=!1},Q=function(e,t,n){S.auctions[t]&&!S.auctions[t].sent?S.auctions[t].pendingEvents=(0,c.mergeDeep)(S.auctions[t].pendingEvents,e):A.analyticsEventDelay>0?(S.pendingEvents=(0,c.mergeDeep)(S.pendingEvents,e),S.eventPending||(setTimeout(G,A.analyticsEventDelay),S.eventPending=!0)):(e.trigger="solo-".concat(n),$(e))},$=function(e){var t,n,r=D(D({},ee()),e);if(null!==(t=window.pbjs)&&void 0!==t&&null!==(n=t.rp)&&void 0!==n&&n.eventDispatcher){var i=new CustomEvent("beforeSendingMagniteAnalytics",{detail:r});window.pbjs.rp.eventDispatcher.dispatchEvent(i)}(0,p.hj)(w,null,JSON.stringify(r),{contentType:"application/json"})},K=function(e,t){var n=S.auctions[e],r=X(n.auction);n.sent=!0,$(D(D({auctions:[r]},n.pendingEvents||{}),{},{trigger:t}))},X=function(e){var t=(0,c.deepClone)(e);return t.samplingFactor=1,t.adUnits=Object.entries(t.adUnits).map((function(e){var t=(0,i.Z)(e,2),n=(t[0],t[1]);return n.bids=Object.entries(n.bids).map((function(e){var t=(0,i.Z)(e,2),r=(t[0],t[1]),o=["error","no-bid","success"];return o.indexOf(r.status)>o.indexOf(n.status)&&(n.status=r.status),r.pbsBidId&&(r.oldBidId=r.bidId,r.bidId=r.pbsBidId,delete r.pbsBidId),r})),n})),t},Y=function(e,t){var n=function(e){var t,n;if("number"==typeof(0,s.Z)(e,"floorData.cpmAfterAdjustments"))t=e.floorData.cpmAfterAdjustments,n=e.floorData.floorCurrency;else{if("string"==typeof e.currency&&"USD"===e.currency.toUpperCase())return Number(e.cpm);t=e.cpm,n=e.currency}if("USD"===n)return Number(t);try{return Number(N.convertCurrency(t,n,"USD"))}catch(r){return(0,c.logWarn)("".concat(j,": Could not determine the bidPriceUSD of the bid "),e),e.conversionError=!0,e.ogCurrency=n,e.ogPrice=t,0}}(e);return t&&t.bidPriceUSD>n?t:(0,c.pick)(e,["bidPriceUSD",function(){return n},"dealId",function(e){return e||void 0},"mediaType","dimensions",function(){var t=e.width||e.playerWidth,n=e.height||e.playerHeight;return t&&n?{width:t,height:n}:void 0},"floorValue",function(){return(0,s.Z)(e,"floorData.floorValue")},"floorRuleValue",function(){return(0,s.Z)(e,"floorData.floorRuleValue")},"floorRule",function(){return(0,c.debugTurnedOn)()?(0,s.Z)(e,"floorData.floorRule"):void 0},"adomains",function(){var t=(0,s.Z)(e,"meta.advertiserDomains"),n=Array.isArray(t)&&t.filter((function(e){return"string"==typeof e}));return n&&n.length>0?n.slice(0,10):void 0},"networkId",function(){var t=(0,s.Z)(e,"meta.networkId");return t&&t.toString()||void 0},"conversionError",function(e){return!0===e||void 0},"ogCurrency","ogPrice","rejectionReason"])},ee=function(){var e={channel:"web",integration:A.int_type||"pbjs",referrerUri:U,version:"8.52.2",referrerHostname:se.referrerHostname||te(U),timestamps:{timeSincePageLoad:performance.now(),eventTime:Date.now(),prebidLoaded:se.MODULE_INITIALIZED_TIME}};if(E&&(0,d.N)(e,A.pbaBrowserLocation||"client.browser",E),A.wrapperName){var t=A.rule_name;k&&(t=t?t.concat("_cookieless"):"cookieless"),e.wrapper={name:A.wrapperName,family:A.wrapperFamily,rule:t}}return S.sessionData&&(e.session=(0,c.pick)(S.sessionData,["id","pvid","start","expires"]),(0,c.isEmpty)(S.sessionData.fpkvs)||(e.fpkvs=Object.keys(S.sessionData.fpkvs).map((function(e){return{key:e,value:S.sessionData.fpkvs[e]}})))),e},te=function(e){try{se.referrerHostname=(0,c.parseUrl)(e,{noDecodeWholeURL:!0}).hostname}catch(t){(0,c.logError)("".concat(j,": Unable to parse hostname from supplied url: "),e,t),se.referrerHostname=""}return se.referrerHostname},ne=function(){var e=Date.now(),t=function(){var e=C.getDataFromLocalStorage(Z);if(e)try{return JSON.parse(window.atob(e))}catch(e){(0,c.logError)("".concat(j,": Unable to decode ").concat(Z," value: "),e)}return{}}();return(!Object.keys(t).length||e-t.lastSeen>18e5||t.expires<e)&&(t={id:(0,c.generateUUID)(),start:e,expires:e+216e5}),Object.keys(t).length&&(t.lastSeen=e,t.fpkvs=D(D({},t.fpkvs),re()),t.pvid=A.pvid,function(e){try{C.setDataInLocalStorage(Z,window.btoa(JSON.stringify(e)))}catch(e){(0,c.logError)("".concat(j,": Unable to encode ").concat(Z," value: "),e)}}(t)),t},re=function(){return A.fpkvs=Object.assign(A.fpkvs||{},function(){var e;try{e=(0,c.parseQS)((0,c.getWindowLocation)().search)}catch(t){e={}}return Object.keys(e).reduce((function(t,n){return n.match(/utm_/)&&(t[n.replace(/utm_/,"")]=e[n]),t}),{})}()),Object.keys(A.fpkvs).forEach((function(e){A.fpkvs[e]=A.fpkvs[e]+""})),A.fpkvs},ie=function(e){return{width:e.w||e[0],height:e.h||e[1]}},oe=function(e,t){var n,r={},i=m(S.auctionOrder);try{for(i.s();!(n=i.n()).done;){var o=n.value,a=S.auctions[o].auction;for(var s in a.adUnits){var d=a.adUnits[s],u=void 0;try{u=e(d,a)}catch(e){(0,c.logWarn)("".concat(j,": Error running matches function: ").concat(t),e),u=!1}if(u&&(r={adUnit:d,auction:a},t))return r}}}catch(e){i.e(e)}finally{i.f()}return r},ae=function(e){var t=function(e){if(!b.vc.getConfig("useBidCache"))return{renderTransactionId:e.transactionId,renderAuctionId:e.auctionId};var t=oe((function(t,n){var r=(0,s.Z)(S,"auctions.".concat(n.auctionId,".gamRenders.").concat(t.transactionId));return t.adUnitCode===e.adUnitCode&&r}),!1),n=t.adUnit,r=t.auction;return{renderTransactionId:n&&n.transactionId||e.transactionId,renderAuctionId:r&&r.auctionId||e.auctionId}}(e),n=t.renderTransactionId,r=t.renderAuctionId,i=n!==e.transactionId;(0,c.logInfo)("".concat(j,": Bid Won : "),{isCachedBid:i,renderAuctionId:r,renderTransactionId:n,sourceAuctionId:e.auctionId,sourceTransactionId:e.transactionId});var o=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId,".bids.").concat(e.requestId)),a=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId)),d=D(D({},o),{},{sourceAuctionId:e.auctionId,renderAuctionId:r,transactionId:e.transactionId,sourceTransactionId:e.transactionId,bidId:o.pbsBidId||e.bidId||e.requestId,renderTransactionId:n,accountId:O,siteId:a.siteId,zoneId:a.zoneId,mediaTypes:a.mediaTypes,adUnitCode:a.adUnitCode,isCachedBid:i||void 0});return delete d.pbsBidId,d},ce=function(){window.googletag.pubads().addEventListener("slotRenderEnded",(function(e){var t=(0,c.isAdUnitCodeMatchingSlot)(e.slot),n=oe((function(e,n){var r=(S.elementIdMap[e.adUnitCode]||[e.adUnitCode]).some(t),i=(0,s.Z)(S,"auctions.".concat(n.auctionId,".gamRenders.").concat(e.transactionId));return r&&!i}),!0),r=n.adUnit,i=n.auction,o="".concat(e.slot.getAdUnitPath()," - ").concat(e.slot.getSlotElementId());if(r&&i){var a=i.auctionId;(0,c.logInfo)("".concat(j,": Gam Render: "),{slotName:o,transactionId:r.transactionId,auctionId:a,adUnit:r});var u=function(e,t,n){var r=(0,c.pick)(e,["advertiserId",function(e){return(0,c.isNumber)(e)?e:void 0},"creativeId",function(t){return(0,c.isNumber)(e.sourceAgnosticCreativeId)?e.sourceAgnosticCreativeId:(0,c.isNumber)(t)?t:void 0},"lineItemId",function(t){return(0,c.isNumber)(e.sourceAgnosticLineItemId)?e.sourceAgnosticLineItemId:(0,c.isNumber)(t)?t:void 0},"adSlot",function(){return e.slot.getAdUnitPath()},"isSlotEmpty",function(){return e.isEmpty||void 0}]);return r.auctionId=n.auctionId,r.transactionId=t.transactionId,r}(e,r,i);(0,d.N)(S,"auctions.".concat(a,".gamRenders.").concat(r.transactionId),!0),Q({gamRenders:[u]},a,"gam"),!S.auctions[a].sent&&Object.keys(S.auctions[a].gamRenders).every((function(e){return S.auctions[a].gamRenders[e]}))&&(clearTimeout(S.timeouts[a]),delete S.timeouts[a],A.analyticsEventDelay>0?setTimeout((function(){K(a,"gam-delayed")}),A.analyticsEventDelay):K(a,"gam"))}else(0,c.logInfo)("".concat(j,": Could not find matching adUnit for Gam Render: "),{slotName:o})}))},se=(0,u.ZP)({analyticsType:"endpoint"});function de(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1;(w=(0,s.Z)(e,"options.endpoint"))||((0,c.logError)("".concat(j,": required endpoint missing")),t=!0),(O=Number((0,s.Z)(e,"options.accountId")))||((0,c.logError)("".concat(j,": required accountId missing")),t=!0),t||se.originEnableAnalytics(e),(0,c.isGptPubadsDefined)()?ce():(window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){return ce()}))),(0,I.v5)("callPrebidCache").before(ue)}function ue(e,t,n,r,i){S.bidsCachedClientSide.add(n),e.call(this,t,n,r,i)}se.originEnableAnalytics=se.enableAnalytics;var le=function(e){var t=ae(e);Q({bidsWon:[t]},t.renderAuctionId,"bidWon")};se.enableAnalytics=de,se.originDisableAnalytics=se.disableAnalytics,se.disableAnalytics=function(){se._oldEnable=de,w=void 0,O=void 0,k=void 0,B=0,J(),(0,I.v5)("callPrebidCache").getHooks({hook:ue}).remove(),se.originDisableAnalytics()},se.onDataDeletionRequest=function(){if(!C.localStorageIsEnabled())throw Error("Unable to access local storage, no data deleted");C.removeDataFromLocalStorage(Z)},se.MODULE_INITIALIZED_TIME=Date.now(),se.referrerHostname="";var fe=function(e,t){var n=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction")),r=(0,s.Z)(n,"adUnits.".concat(e.transactionId)),i=r.bids[e.requestId];if(!i&&e.originalRequestId){var o=r.bids[e.originalRequestId];r.bids[e.requestId]=D(D({},o),{},{bidId:e.requestId,bidderDetail:e.targetingBidder}),i=r.bids[e.requestId]}if("boolean"!=typeof(0,s.Z)(n,"floors.enforcement")&&(0,s.Z)(e,"floorData.enforcements")&&((0,d.N)(n,"floors.enforcement",e.floorData.enforcements.enforceJS),(0,d.N)(n,"floors.dealsEnforced",e.floorData.enforcements.floorDeals)),!i&&e.seatBidId&&(i=r.bids[e.seatBidId]={bidder:e.bidderCode,source:"server",bidId:e.seatBidId,unknownBid:!0}),i){i.status=t;var a=pe(e,n.auctionStart);i.clientLatencyMillis=a.total,i.httpLatencyMillis=a.net,i.bidResponse=Y(e,i.bidResponse);var u=(0==e.pbsBidId?(0,c.generateUUID)():e.pbsBidId)||(0==e.seatBidId?(0,c.generateUUID)():e.seatBidId);u&&!S.bidsCachedClientSide.has(e)&&(i.pbsBidId=u)}else(0,c.logError)("".concat(j,": Could not find associated bid request for bid response with requestId: "),e.requestId)},pe=function(e,t){try{var n=e.metrics.getMetrics(),r=e.src||e.source;return{total:parseInt(n["adapter.".concat(r,".total")]),net:parseInt(Array.isArray(n["adapter.".concat(r,".net")])?n["adapter.".concat(r,".net")][n["adapter.".concat(r,".net")].length-1]:n["adapter.".concat(r,".net")])}}catch(e){var i=Date.now()-t;return{total:i,net:i}}};se.track=function(e){var t,n,i,o,a,u=e.eventType,p=e.args;switch(u){case M:B+=1,S.sessionData=C.localStorageIsEnabled()&&ne(),o=l.ZP.aliasRegistry,a=Object.keys(o).filter((function(e){return"rubicon"===o[e]})),P.push.apply(P,(0,r.Z)(a)),U=(0,s.Z)(p,"bidderRequests.0.refererInfo.page");var b=(0,c.pick)(p,["auctionId","timestamp as auctionStart","timeout as clientTimeoutMillis"]);if(b.accountId=O,b.auctionIndex=B,!E){var v=(0,s.Z)(p,"bidderRequests.0.ortb2.device.ua",navigator.userAgent)||"";E=function(e){var t=e.toLowerCase();return t.includes("edg")?"Edge":/opr|opera|opt/i.test(t)?"Opera":/chrome|crios/i.test(t)?"Chrome":/fxios|firefox/i.test(t)?"Firefox":t.includes("safari")&&!/chromium|ucbrowser/i.test(t)?"Safari":"OTHER"}(v)}b.bidderOrder=p.bidderRequests.map((function(e){return e.bidderCode}));var g=(0,s.Z)(p,"bidderRequests.0.bids.0.floorData");if(g&&(b.floors=function(e){return"noData"===e.location?(0,c.pick)(e,["location","fetchStatus","floorProvider as provider"]):(0,c.pick)(e,["location","modelVersion as modelName","modelWeight","modelTimestamp","skipped","enforcement",function(){return(0,s.Z)(e,"enforcements.enforceJS")},"dealsEnforced",function(){return(0,s.Z)(e,"enforcements.floorDeals")},"skipRate","fetchStatus","floorMin","floorProvider as provider"])}(g)),!k){var I=(0,s.Z)(p,"bidderRequests.0.ortb2.device.ext.cdep");!I||-1===I.indexOf("treatment")&&-1===I.indexOf("control_2")||(k=1,b.cdep=1)}var m=(0,s.Z)(p,"bidderRequests.0.gdprConsent");m&&(b.gdpr=(0,c.pick)(m,["gdprApplies as applies","consentString","apiVersion as version"]));var y=Object.keys((0,s.Z)(p,"bidderRequests.0.bids.0.userId",{})).map((function(e){return{provider:e,hasId:!0}}));y.length&&(b.user={ids:y}),T&&(b.serverTimeoutMillis=T.timeout);var h={};b.adUnits=p.adUnits.reduce((function(e,t){var n=(0,c.pick)(t,["code as adUnitCode","transactionId","mediaTypes",function(e){return Object.keys(e)},"sizes as dimensions",function(e){return(e||[[1,1]]).map(ie)}]);n.pbAdSlot=(0,s.Z)(t,"ortb2Imp.ext.data.pbadslot"),n.pattern=(0,s.Z)(t,"ortb2Imp.ext.data.aupname"),n.gpid=(0,s.Z)(t,"ortb2Imp.ext.gpid"),n.bids={},e[t.transactionId]=n,h[t.transactionId]=!1;var r=(0,s.Z)(t,"ortb2Imp.ext.data.elementid");r&&(S.elementIdMap[t.code]=S.elementIdMap[t.code]||[],("string"==typeof r?[r]:r).forEach((function(e){S.elementIdMap[t.code].includes(e)||S.elementIdMap[t.code].push(e)})));return e}),{}),S.auctions[p.auctionId]={auction:b,gamRenders:h,pendingEvents:{}};break;case _:p.bids.forEach((function(e){var t=(0,s.Z)(S,"auctions.".concat(p.auctionId,".auction.adUnits.").concat(e.transactionId));t.bids[e.bidId]=(0,c.pick)(e,["bidder","bidId","source",function(){return"s2s"===e.src?"server":"client"},"status",function(){return"no-bid"}]),"server"===t.bids[e.bidId].source&&(t.pbsRequest=1),t.siteId&&t.zoneId||-1===P.indexOf(e.bidder)||(0,s.Z)(e,"params.accountId")==O&&(t.accountId=parseInt(O),t.siteId=parseInt((0,s.Z)(e,"params.siteId")),t.zoneId=parseInt((0,s.Z)(e,"params.zoneId")))}));break;case q:fe(p,"success");break;case z:var D=p.rejectionReason===f.Gw.FLOOR_NOT_MET?"rejected-ipf":"rejected";fe(p,D);break;case V:be(p);break;case x:var w=(0,s.Z)(p,"serverErrors.0"),Z=p.serverResponseTimeMs;p.bids.forEach((function(e){var t=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId,".bids.").concat(e.bidId));if(void 0!==e.serverResponseTimeMs?t.serverLatencyMillis=e.serverResponseTimeMs:Z&&"s2s"===e.source&&(t.serverLatencyMillis=Z),!w||t.status&&-1===["no-bid","error"].indexOf(t.status)||(t.status="error",t.error={code:R[w.code]||R[999],description:w.message}),!t.clientLatencyMillis||!t.httpLatencyMillis){var n=pe(e,(0,s.Z)(S,"auctions.".concat(p.auctionId,".auction.auctionStart")));t.clientLatencyMillis=t.clientLatencyMillis||n.total,t.httpLatencyMillis=t.httpLatencyMillis||n.net}}));break;case W:A.analyticsProcessDelay>0?setTimeout((function(){le(p)}),A.analyticsProcessDelay):le(p);break;case L:var N=S.auctions[p.auctionId];if(!N)break;N.auction.auctionEnd=p.auctionEnd,S.auctionOrder.push(p.auctionId),p.adUnits&&p.adUnits.every((function(e){return function(e){return e.mediaTypes&&1===Object.keys(e.mediaTypes).length&&"instream"===(0,s.Z)(e,"mediaTypes.video.context")}(e)}))||0===A.analyticsBatchTimeout?K(p.auctionId,"solo-auction"):S.timeouts[p.auctionId]=setTimeout((function(){K(p.auctionId,"auctionEnd")}),A.analyticsBatchTimeout);break;case F:p.forEach((function(e){var t=(0,s.Z)(S,"auctions.".concat(e.auctionId,".auction.adUnits.").concat(e.transactionId,".bids.").concat(e.bidId),{});"error"!==t.status&&(t.status="error",t.error={code:"timeout-error",description:"prebid.js timeout"})}));break;case H:if(A.dmBilling.enabled&&(t=p,n=A.dmBilling.vendors.includes(t.vendor),i="boolean"!=typeof(0,s.Z)(S.billing,"".concat(t.vendor,".").concat(t.billingId)),"string"==typeof t.billingId&&n&&i)){(0,d.N)(S.billing,"".concat(p.vendor,".").concat(p.billingId),!1);var J=function(e){var t=(0,c.deepClone)(e);return t.type="string"==typeof e.type&&e.type||"general",t.accountId=O,(0,d.N)(S.billing,"".concat(e.vendor,".").concat(e.billingId),!0),t}(p);Q({billableEvents:[J]},p.auctionId,"billing")}else(0,c.logInfo)("".concat(j,": Billing event ignored"),p)}};var be=function(e){var t=e.seatnonbid,n=e.auctionId,r=(0,s.Z)(S,"auctions.".concat(n,".auction"));if(r){var i=r.adUnits;t.forEach((function(e){var t=e.seat;e.nonbid.forEach((function(e){try{var n=e.status,o=e.impid,a=Object.keys(i).find((function(e){return i[e].adUnitCode===o})),s=i[a],d=ve[n]||{status:"no-bid"};s.bids[(0,c.generateUUID)()]=D({bidder:t,source:"server",isSeatNonBid:!0,clientLatencyMillis:Date.now()-r.auctionStart},d)}catch(e){(0,c.logWarn)("Unable to match nonbid to adUnit")}}))}))}else(0,c.logWarn)("Unable to match nonbid to auction")},ve={0:{status:"no-bid"},100:{status:"error",error:{code:"request-error",description:"general error"}},101:{status:"error",error:{code:"timeout-error",description:"prebid server timeout"}},200:{status:"rejected"},202:{status:"rejected"},301:{status:"rejected-ipf"}};l.ZP.registerAnalyticsAdapter({adapter:se,code:"magnite",gvlid:52});(0,a.z)("magniteAnalyticsAdapter")}},function(e){e.O(0,[14861,25823,79270],(function(){return t=43238,e(e.s=t);var t}));e.O()}]);
|